/* =========================================================
   Ubezpieczenia Wróbel - style główne
   Mobile-first. Paleta marki: petrol #006d87 + pomarańcz #ed6c04
   (odwzorowana z oryginalnej strony klienta).
   ========================================================= */

:root {
  /* kolory marki (z oryginalnej strony) */
  --brand: #006d87;        /* petrol - główny */
  --brand-600: #00596f;
  --brand-700: #024456;
  --brand-deep: #001b21;   /* bardzo ciemny petrol - nagłówki hero, ciemne tła */
  --accent: #ed6c04;       /* pomarańcz - CTA */
  --accent-600: #cf5d02;
  --accent-dark: #893e02;
  --accent-soft: #ffd8b0;

  /* neutralne */
  --bg: #f5f8f9;
  --bg-alt: #e8eff1;
  --surface: #ffffff;
  --ink: #17242a;          /* prawie czarny tekst */
  --ink-soft: #4a5860;
  --line: #d9e3e6;
  --line-strong: #c3d1d6;

  /* system */
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(0,27,33,.06), 0 2px 8px rgba(0,27,33,.05);
  --shadow-md: 0 10px 30px rgba(0,27,33,.10);
  --shadow-lg: 0 24px 60px rgba(0,27,33,.16);

  --maxw: 1160px;
  --maxw-narrow: 760px;
  --gap: clamp(1rem, 2.5vw, 1.75rem);
  --section-y: clamp(3.5rem, 8vw, 6rem);

  --font-head: 'Lora', Georgia, 'Times New Roman', serif;
  --font-body: 'Mulish', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* ---------- Lenis (płynne scrollowanie) ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  color: var(--brand-deep);
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 700; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.4rem, 5vw, 2.2rem); }
.container-narrow { max-width: var(--maxw-narrow); }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--brand); color: #fff; padding: .7rem 1.1rem; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* ---------- scroll progress ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; background: transparent; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--brand), var(--accent)); }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--brand); --btn-fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem; line-height: 1;
  padding: .95rem 1.5rem; min-height: 52px;
  border: 1.5px solid transparent; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  cursor: pointer; overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  box-shadow: var(--shadow-sm);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn .ico { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn-sm { min-height: 44px; padding: .6rem 1.1rem; font-size: .95rem; }
.btn-block { width: 100%; }

.btn-primary { --btn-bg: var(--brand); --btn-fg: #fff; }
.btn-primary:hover { background: var(--brand-600); }
.btn-accent { --btn-bg: var(--accent); --btn-fg: #fff; }
.btn-accent:hover { background: var(--accent-600); }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--brand); border-color: var(--line-strong); }
.btn-ghost:hover { background: #fff; border-color: var(--brand); }
.btn-ghost-light { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost-light:hover { background: rgba(255,255,255,.14); border-color: #fff; }
.btn-light { --btn-bg: #fff; --btn-fg: var(--brand); }

/* shine na głównych przyciskach */
.btn-accent::after, .btn-primary::after, .btn-light::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg); transition: left .6s ease;
}
.btn-accent:hover::after, .btn-primary:hover::after, .btn-light:hover::after { left: 130%; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245,248,249,.88); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s ease, border-color .3s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; }
.brand-logo { height: 42px; width: auto; }
.brand-text { font-family: var(--font-head); font-size: 1.15rem; color: var(--brand-deep); line-height: 1.05; }
.brand-text strong { color: var(--accent-dark); display: block; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; font-family: var(--font-body); }

.main-nav { display: flex; align-items: center; }
.nav-menu { display: none; }
.nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; justify-content: center; width: 46px; height: 46px; padding: 0 11px; background: transparent; border: 1px solid var(--line-strong); border-radius: 12px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--brand-deep); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-menu.open {
  display: flex; flex-direction: column; gap: .25rem;
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--surface); border-bottom: 1px solid var(--line);
  padding: 1rem clamp(1.1rem, 4vw, 2.2rem) 1.4rem; box-shadow: var(--shadow-md);
}
.nav-menu.open li a:not(.btn) { display: block; padding: .8rem .2rem; font-weight: 600; color: var(--brand-deep); border-bottom: 1px solid var(--line); }
.nav-menu.open .nav-cta { margin-top: .6rem; }
.nav-menu.open .nav-cta .btn { width: 100%; }

/* ---------- hero (split z realnym zdjęciem klienta) ---------- */
/* MOBILE: samo zdjęcie (bez wtopionego bloku koloru) + niebieska przesłona.
   Dzięki temu biały tekst jest czytelny, a kadr wygląda naturalnie. */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    linear-gradient(180deg, rgba(0,27,33,.86) 0%, rgba(0,74,92,.84) 45%, rgba(0,109,135,.90) 100%),
    url("../assets/img/hero-photo.jpg") center center / cover no-repeat,
    var(--brand);
}
/* uwaga: tylko padding-block - skrót "padding: X 0" kasował boczne odstępy z .container */
.hero-inner { position: relative; z-index: 1; padding-block: clamp(3rem, 9vw, 6.5rem); }
.hero-copy { max-width: 640px; }
.hero-since { font-weight: 700; color: var(--accent-soft); margin-bottom: 1rem; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 6vw, 3.6rem); margin-bottom: 1rem; }
.hero h1 .accent { color: var(--accent-soft); }
.hero-lead { font-size: clamp(1.05rem, 2.4vw, 1.25rem); color: rgba(255,255,255,.92); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 1.4rem; }
.hero-cta .btn { flex: 0 1 auto; min-width: 210px; }
.hero-rating { display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 1.2rem; padding: .5rem .9rem; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #fff; font-size: .95rem; transition: background .25s ease; }
.hero-rating:hover { background: rgba(255,255,255,.2); }
.hero-rating .stars { color: var(--accent-soft); letter-spacing: .08em; }
.hero-rating strong { color: #fff; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; color: rgba(255,255,255,.92); font-size: .98rem; font-weight: 600; }
.hero-badges li { display: inline-flex; align-items: center; gap: .5rem; }
.hero-badges svg { width: 18px; height: 18px; fill: none; stroke: var(--accent-soft); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- stats ---------- */
.stats { background: var(--brand-deep); color: #fff; }
/* MOBILE: jeden rząd, samo-przewijający ticker (można też przewinąć palcem) */
.stats-grid {
  display: flex; gap: 1.4rem; overflow-x: auto; padding-block: clamp(2rem, 5vw, 2.8rem);
  scrollbar-width: none; -ms-overflow-style: none; overscroll-behavior-x: contain;
}
.stats-grid::-webkit-scrollbar { display: none; }
.stat { flex: 0 0 auto; min-width: 44vw; text-align: center; }
.stat-num { display: block; font-family: var(--font-head); font-weight: 600; font-size: clamp(2.2rem, 7vw, 3rem); color: var(--accent-soft); line-height: 1; }
.stat-label { display: block; margin-top: .5rem; font-size: .95rem; color: rgba(255,255,255,.82); }

/* ---------- sections ---------- */
.section { padding-block: var(--section-y); }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin: 0 auto clamp(2rem, 5vw, 3rem); text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 4.5vw, 2.6rem); color: var(--brand); }
.section-sub { color: var(--ink-soft); font-size: 1.08rem; margin: 0; }

/* ---------- grids ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: var(--gap); }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: var(--gap); }

/* ---------- cards (oferta) ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.5rem; box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand); }
.card-ico { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 14px; margin-bottom: 1rem; background: linear-gradient(145deg, var(--brand), var(--brand-deep)); transition: transform .3s ease; }
.card:hover .card-ico { transform: rotate(-4deg) scale(1.05); }
.card-ico svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 1.25rem; }
.card p { color: var(--ink-soft); margin: 0; font-size: 1rem; }
.card-cta { background: linear-gradient(160deg, var(--brand), var(--brand-deep)); color: #fff; display: flex; flex-direction: column; justify-content: center; text-align: left; border-color: var(--brand-deep); }
.card-cta h3 { color: #fff; }
.card-cta p { color: rgba(255,255,255,.85); margin-bottom: 1.2rem; }

/* ---------- care band (rodzina + dom) ---------- */
.care { display: grid; grid-template-columns: 1fr; gap: clamp(1.5rem,4vw,2.5rem); align-items: center; }
/* mobile: najpierw tekst, potem obrazek */
.care-text { order: 1; }
.care-img { order: 2; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow-sm); }
.care-img img { width: 100%; height: auto; border-radius: 10px; }
.care h2 { font-size: clamp(1.7rem,4.5vw,2.4rem); color: var(--brand); }
.care p { color: var(--ink-soft); }

/* ---------- features (dlaczego) ---------- */
.feature { display: flex; gap: 1.1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow-sm); }
.feature-ico { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: #fff; border: 1.5px solid var(--brand); }
.feature-ico svg { width: 26px; height: 26px; fill: none; stroke: var(--brand); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 1.2rem; margin-bottom: .3rem; }
.feature p { color: var(--ink-soft); margin: 0; }

/* ---------- o nas ---------- */
.about { display: grid; grid-template-columns: 1fr; gap: clamp(1.8rem, 5vw, 3rem); align-items: center; }
/* mobile: najpierw tekst, potem grafika (mniejsza) */
.about-text { order: 1; }
.about-visual { order: 2; display: flex; justify-content: center; }
.about-monogram { width: min(230px, 58vw); aspect-ratio: 4/5; border-radius: var(--radius); background: linear-gradient(160deg, var(--brand), var(--brand-deep)); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--brand-700); position: relative; }
.about-monogram::after { content:""; position:absolute; inset:12px; border:1px solid rgba(255,216,176,.5); border-radius:10px; }
.about-monogram span { font-family: var(--font-head); font-size: clamp(3rem, 12vw, 4.4rem); color: var(--accent-soft); font-weight: 600; }
.about-monogram small { color: rgba(255,255,255,.85); font-size: .95rem; margin-top: .4rem; padding: 0 1rem; letter-spacing: .02em; }
.about-text h2 { font-size: clamp(1.8rem, 4.5vw, 2.6rem); color: var(--brand); }
.about-text .lead { font-size: 1.15rem; color: var(--ink); }
.about-text p { color: var(--ink-soft); }
.about-text .btn { margin-top: .6rem; }

/* ---------- opinie (karuzela: auto + ręczne przewijanie) ---------- */
.reviews-wrap { position: relative; display: flex; align-items: center; gap: .5rem; max-width: var(--maxw); margin: 0 auto 2rem; padding-inline: clamp(1.1rem, 4vw, 2.2rem); }
.reviews-viewport {
  flex: 1 1 auto; display: flex; gap: var(--gap); overflow-x: auto; align-items: stretch;
  padding: .6rem .2rem 1.2rem;
  scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent;
  overscroll-behavior-x: contain;
}
.reviews-viewport:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 12px; }
.reviews-viewport::-webkit-scrollbar { height: 8px; }
.reviews-viewport::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 999px; }
.reviews-viewport::-webkit-scrollbar-track { background: transparent; }
.review {
  margin: 0; flex: 0 0 auto; width: min(340px, 82vw);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.review-head { display: flex; align-items: center; gap: .7rem; margin-bottom: .8rem; }
.review-avatar { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--a, var(--brand)); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; text-transform: uppercase; }
.review-name { display: block; font-style: normal; font-weight: 700; color: var(--brand-deep); font-size: .98rem; line-height: 1.2; }
.review .stars { color: var(--accent); letter-spacing: .1em; font-size: .95rem; margin-top: .1rem; }
.review-text { color: var(--ink); font-style: italic; margin: 0; }
.review-text.clamp { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.review-more { align-self: flex-start; margin-top: .55rem; background: none; border: 0; padding: 0; cursor: pointer; font: inherit; font-weight: 700; font-size: .9rem; color: var(--brand); border-bottom: 1px solid var(--accent-soft); }
.review-more:hover { color: var(--accent-dark); }
.reviews-arrow { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--brand); cursor: pointer; display: none; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); transition: background .2s ease, border-color .2s ease, transform .15s ease; }
.reviews-arrow:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.reviews-arrow:active { transform: scale(.92); }
.reviews-arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.reviews-cta { text-align: center; }
.reviews-cta .ico { fill: var(--accent); }
@media (min-width: 720px) { .reviews-arrow { display: inline-flex; } }

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: transparent; border: 0; cursor: pointer; text-align: left; font-family: var(--font-body); font-weight: 700; font-size: 1.08rem; color: var(--brand-deep); padding: 1.15rem .2rem; }
.faq-plus { position: relative; flex: none; width: 20px; height: 20px; }
.faq-plus::before, .faq-plus::after { content:""; position:absolute; top:50%; left:50%; transform: translate(-50%,-50%); background: var(--accent); border-radius: 2px; }
.faq-plus::before { width: 16px; height: 2px; }
.faq-plus::after { width: 2px; height: 16px; transition: transform .3s ease; }
.faq-q[aria-expanded="true"] .faq-plus::after { transform: translate(-50%,-50%) scaleY(0); }
.faq-a { overflow: hidden; height: 0; transition: height .3s ease; }
.faq-a p { color: var(--ink-soft); padding: 0 .2rem 1.2rem; margin: 0; }

/* ---------- kontakt (formularz + dane) ---------- */
.contact { display: grid; grid-template-columns: 1fr; gap: clamp(1.5rem, 4vw, 2.5rem); align-items: start; }
.contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.5rem; box-shadow: var(--shadow-sm); }
.contact-form h3 { color: var(--brand); font-size: 1.3rem; }
.form-row { margin-bottom: .9rem; }
.form-two { display: grid; grid-template-columns: 1fr; gap: .9rem; }
.contact-form label { display: block; font-weight: 700; font-size: .92rem; color: var(--brand-deep); margin-bottom: .35rem; }
.contact-form input, .contact-form textarea { width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); padding: .8rem .9rem; transition: border-color .2s ease, box-shadow .2s ease; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0,109,135,.15); }
.contact-form textarea { min-height: 120px; resize: vertical; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .85rem; color: var(--ink-soft); margin: .2rem 0 0; }
.form-msg { margin-top: .9rem; padding: .8rem 1rem; border-radius: var(--radius-sm); font-size: .95rem; display: none; }
.form-msg.show { display: block; }
.form-msg.info { background: #eaf3f5; border: 1px solid var(--brand); color: var(--brand-700); }
.form-msg.error { background: #fdece0; border: 1px solid var(--accent); color: var(--accent-dark); }

.contact-info { }
.contact-list { display: grid; gap: 1.1rem; margin-bottom: 1.4rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-ico { flex: none; display: inline-flex; align-items:center; justify-content:center; width: 46px; height: 46px; border-radius: 12px; background: #fff; border: 1.5px solid var(--brand); }
.contact-ico svg { width: 22px; height: 22px; fill: none; stroke: var(--brand); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.contact-list strong { color: var(--brand-deep); }
.protect-mail, .protect-tel { color: var(--brand); font-weight: 700; border-bottom: 1px solid var(--accent-soft); }
.protect-mail:hover, .protect-tel:hover { color: var(--accent-dark); }
.contact-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.contact-actions .btn { flex: 1 1 auto; min-width: 180px; }
.contact-map { grid-column: 1 / -1; }
.map-consent, .map-frame { width: 100%; min-height: 320px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map-consent { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: .7rem; background: linear-gradient(160deg, #fff, var(--bg-alt)); padding: 2rem 1.5rem; }
.map-consent svg { width: 40px; height: 40px; fill: none; stroke: var(--brand); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.map-consent p { color: var(--ink-soft); max-width: 320px; margin: 0; }
.map-consent small { color: var(--ink-soft); font-size: .82rem; }
.map-frame iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* ---------- cta band ---------- */
.cta-band { background: linear-gradient(160deg, var(--brand), var(--brand-deep)); color: #fff; padding-block: clamp(3rem, 7vw, 4.5rem); }
.cta-band-inner { text-align: center; max-width: 720px; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 4.5vw, 2.5rem); }
.cta-band p { color: rgba(255,255,255,.85); font-size: 1.1rem; margin-bottom: 1.6rem; }
.cta-band-btns { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }
.cta-band-btns .btn { flex: 1 1 auto; min-width: 220px; max-width: 340px; }

/* ---------- footer ---------- */
.site-footer { background: var(--brand-deep); color: rgba(255,255,255,.8); }
.footer-inner { display: grid; grid-template-columns: 1fr; gap: 1.1rem; padding-block: clamp(1.5rem, 3.5vw, 2rem); }
.footer-brand { display: flex; gap: .8rem; align-items: flex-start; }
.footer-logo-chip { flex: none; background: #fff; border-radius: 9px; padding: .4rem .5rem; display: inline-flex; }
.footer-logo-chip img { height: 30px; width: auto; }
.footer-brand strong { color: #fff; display: block; margin-bottom: .25rem; font-family: var(--font-head); font-weight: 600; font-size: 1rem; }
.footer-brand p { color: rgba(255,255,255,.7); font-size: .9rem; margin: 0 0 .3rem; }
.footer-mail a { color: var(--accent-soft); border-bottom: 1px solid rgba(237,108,4,.4); }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-links a, .linklike { color: rgba(255,255,255,.85); font-weight: 600; font-size: .92rem; }
.linklike { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; }
.footer-links a:hover, .linklike:hover { color: var(--accent-soft); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom-inner { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; align-items: center; justify-content: space-between; padding-block: .8rem; }
.footer-bottom p { font-size: .82rem; color: rgba(255,255,255,.55); margin: 0; }
.footer-credit a { color: rgba(255,255,255,.75); border-bottom: 1px solid rgba(237,108,4,.5); }
.footer-credit a:hover { color: var(--accent-soft); }

/* ---------- floating action button (telefon) ---------- */
.fab { position: fixed; right: 16px; bottom: 16px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: var(--accent); color: #fff; box-shadow: 0 10px 24px rgba(0,0,0,.25); display: inline-flex; align-items: center; justify-content: center; transition: transform .25s ease; }
.fab:hover { transform: scale(1.06); }
.fab svg { width: 28px; height: 28px; fill: #fff; }

/* ---------- cookie banner ---------- */
.cookie-banner { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 150; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 1.2rem 1.3rem; transform: translateY(140%); transition: transform .4s ease; max-width: 560px; margin-inline: auto; }
.cookie-banner.show { transform: translateY(0); }
.cookie-banner h3 { font-size: 1.15rem; color: var(--brand); }
.cookie-banner p { font-size: .95rem; color: var(--ink-soft); margin-bottom: 1rem; }
.cookie-banner a { color: var(--accent-dark); border-bottom: 1px solid var(--accent-soft); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.cookie-actions .btn { flex: 1 1 auto; min-width: 130px; }
.cookie-cats { display: grid; gap: .6rem; margin-bottom: 1rem; }
.cookie-cat { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: .7rem .8rem; background: var(--bg-alt); border-radius: var(--radius-sm); }
.cookie-cat small { display: block; color: var(--ink-soft); font-size: .85rem; }
.cookie-cat strong { color: var(--brand-deep); }
.switch { position: relative; flex: none; width: 46px; height: 26px; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .track { position: absolute; inset: 0; background: var(--line-strong); border-radius: 999px; transition: background .25s ease; cursor: pointer; }
.switch .track::before { content:""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; background: #fff; border-radius: 50%; transition: transform .25s ease; box-shadow: var(--shadow-sm); }
.switch input:checked + .track { background: var(--brand); }
.switch input:checked + .track::before { transform: translateX(20px); }
.switch input:disabled + .track { background: var(--brand-700); opacity: .6; cursor: not-allowed; }
.cookie-settings-view { display: none; }
.cookie-banner.settings .cookie-intro-view { display: none; }
.cookie-banner.settings .cookie-settings-view { display: block; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE (min-width, mobile-first)
   ========================================================= */
@media (min-width: 620px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem 1rem; overflow: visible; }
  .stat { min-width: 0; }
  .form-two { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1.6fr 1fr; align-items: start; }
  .footer-links { justify-content: flex-end; }
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav-menu { display: flex; align-items: center; gap: 1.8rem; }
  .nav-menu li a:not(.btn) { font-weight: 600; color: var(--brand-deep); position: relative; padding: .3rem 0; }
  .nav-menu li a:not(.btn)::after { content:""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px; background: var(--accent); transition: right .3s ease; }
  .nav-menu li a:not(.btn):hover::after { right: 0; }
  .nav-cta { margin-left: .4rem; }

  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .cards.grid-3 { grid-template-columns: repeat(3, 1fr); }
  .contact { grid-template-columns: 1.1fr .9fr; }
  .fab { display: none; }

  /* DESKTOP: hero wraca do układu split (kolor po lewej, zdjęcie po prawej) */
  .hero {
    background:
      linear-gradient(100deg, var(--brand) 0%, var(--brand) 34%, rgba(0,109,135,.86) 48%, rgba(0,109,135,.15) 66%, rgba(0,109,135,.05) 100%),
      url("../assets/img/hero-people.png") center right / cover no-repeat,
      var(--brand);
  }

  /* DESKTOP: grafika wraca po lewej stronie tekstu */
  .care { grid-template-columns: 1fr 1.1fr; }
  .care-img { order: 0; }
  .care-text { order: 0; }
  .about { grid-template-columns: .9fr 1.1fr; }
  .about-visual { order: 0; }
  .about-text { order: 0; }
  .about-monogram { width: min(320px, 80vw); }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .reviews-track { animation: none !important; }
  .btn:hover { transform: none; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
