/* ============================================================
   DogPulse — landing aplikacji mobilnej
   Aesthetic: ciepły editorial / dziennik zdrowia
   ============================================================ */

:root {
  --ink:        #213c39;   /* główny tekst — głęboki petrol */
  --green:      #2f4f4a;   /* brand green */
  --green-dk:   #1d3835;   /* ciemniejszy petrol */
  --cream:      #fff7ee;   /* ciepły papier */
  --cream-2:    #fdf0e2;   /* cieplejszy */
  --paper:      #fffaf4;
  --salmon:     #e89b7a;   /* akcent CTA */
  --salmon-dk:  #d4876a;
  --mint:       #6ec1b2;   /* akcent UI */
  --muted:      #6b7b78;
  --line:       rgba(33,60,57,.12);

  --maxw: 1180px;
  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;

  --ff-display: "Fraunces", Georgia, serif;
  --ff-body: "Hanken Grotesk", system-ui, sans-serif;

  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* paper grain overlay */
.grain {
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: .035; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- typografia helpers ---------- */
.eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--salmon-dk);
}
.eyebrow--light { color: var(--mint); }
.ink-salmon { color: var(--salmon); font-style: italic; }

.section-title {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -.01em;
  color: var(--green);
  max-width: 16ch;
}
.section-title--light { color: var(--cream); max-width: 18ch; }
.empathy .section-title, .funkcje .section-title, .why .section-title,
.pricing .section-title { margin-inline: auto; text-align: center; }

.section-sub {
  font-size: 1.15rem; color: var(--muted); max-width: 56ch;
  margin: 18px auto 0; text-align: center;
}
.section-sub em { color: var(--ink); font-style: italic; }
.section-sub--light { color: rgba(255,247,238,.82); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; padding: 14px 26px; border-radius: 999px;
  cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  border: 2px solid transparent; white-space: nowrap;
}
.btn--solid {
  background: var(--salmon); color: #fff;
  box-shadow: 0 10px 24px -10px rgba(232,155,122,.9);
}
.btn--solid:hover { background: var(--salmon-dk); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(232,155,122,.95); }
.btn--ghost { background: transparent; color: var(--green); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--green); transform: translateY(-2px); }

/* store badges */
.store-badge {
  display: inline-flex; align-items: center; gap: 11px;
  background: var(--green); color: #fff;
  padding: 11px 20px 11px 16px; border-radius: 14px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  box-shadow: 0 12px 28px -14px rgba(29,56,53,.8);
}
.store-badge:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -14px rgba(29,56,53,.9); }
.store-badge svg { width: 26px; height: 26px; }
.store-badge__txt { display: flex; flex-direction: column; line-height: 1.1; }
.store-badge__txt small { font-size: .68rem; opacity: .8; font-weight: 500; }
.store-badge__txt strong { font-size: 1.05rem; font-weight: 700; }
.store-badge--lg { padding: 14px 26px 14px 20px; }
.store-badge--lg svg { width: 30px; height: 30px; }

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease);
  padding: 18px 0;
}
.nav.scrolled {
  background: rgba(255,247,238,.86);
  backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line);
  padding: 10px 0;
}
.nav__inner { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__logo { display: flex; align-items: center; border-radius: 999px; transition: background .3s var(--ease), padding .3s var(--ease); }
.nav__logo img { height: 38px; width: auto; display: block; }
/* nad ciemnym hero — logo na kremowym chipie (czytelny ciemny wordmark) */
.nav:not(.scrolled) .nav__logo { background: rgba(255,247,238,.94); padding: 6px 14px; box-shadow: 0 8px 22px -12px rgba(0,0,0,.45); }
.nav__links { display: flex; gap: 30px; margin-left: auto; }
.nav__links a { font-weight: 600; font-size: .98rem; color: var(--ink); position: relative; opacity: .8; transition: opacity .2s, color .3s; }
/* nad ciemnym hero — jasne linki */
.nav:not(.scrolled) .nav__links a { color: rgba(255,247,238,.92); }
.nav:not(.scrolled) .nav__burger span { background: #fff; }
/* aktywna sekcja (scroll-spy) */
.nav__links a.active { opacity: 1; }
.nav__links a.active::after { width: 100%; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -5px; height: 2px; width: 0;
  background: var(--salmon); transition: width .25s var(--ease); }
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after { width: 100%; }
.nav__cta { padding: 10px 20px; font-size: .95rem; }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s var(--ease); }
.nav.open .nav__burger span:first-child { transform: translateY(7px) rotate(45deg); }
.nav.open .nav__burger span:last-child { transform: translateY(-7px) rotate(-45deg); }

/* ============ HERO (parallax + lewitujący telefon) ============ */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  overflow: hidden; color: var(--cream); padding: 132px 0 80px; isolation: isolate;
}
.hero__photo {
  position: absolute; left: 0; right: 0; top: -25%; height: 150%; z-index: -2;
  background: url("assets/photos/hero-golden.jpg") center 26%/cover no-repeat;
  will-change: transform;
}
.hero__veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(102deg, rgba(18,35,33,.95) 0%, rgba(20,38,36,.82) 34%, rgba(20,38,36,.40) 64%, rgba(20,38,36,.58) 100%),
    linear-gradient(to top, rgba(18,35,33,.78) 0%, rgba(18,35,33,0) 28%);
}
.hero__inner {
  display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center;
}
.hero__copy { min-width: 0; }
.hero__title {
  font-family: var(--ff-display); font-weight: 600;
  font-size: clamp(2.1rem, 4.6vw, 3.9rem); line-height: 1.05; letter-spacing: -.015em;
  color: #fff; margin: 20px 0 0; max-width: 17ch; text-shadow: 0 2px 26px rgba(0,0,0,.3);
}
.hero__lead { font-size: 1.18rem; color: rgba(255,247,238,.9); max-width: 52ch; margin-top: 22px; }
.hero__cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero__note { font-size: .92rem; color: rgba(255,247,238,.72); margin-top: 18px; }

.hero__phone { position: relative; justify-self: center; will-change: transform; }
.hero__phone img {
  width: min(429px, 88vw); height: auto; display: block;
  filter: drop-shadow(0 50px 64px rgba(0,0,0,.55));
  animation: levit 6.5s ease-in-out infinite;
}
@keyframes levit { 0%,100% { transform: translateY(0) rotate(-1.2deg); } 50% { transform: translateY(-18px) rotate(1.2deg); } }

.hero__scroll {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 1;
  color: rgba(255,247,238,.7); animation: bob 2.2s ease-in-out infinite;
}
.hero__scroll svg { width: 30px; height: 30px; }
@keyframes bob { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,8px); } }

.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; }
.blob--mint { width: 420px; height: 420px; background: var(--mint); top: -80px; left: -100px; }
.blob--salmon { width: 480px; height: 480px; background: var(--salmon); bottom: -160px; right: -120px; opacity: .42; }

.float-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.97); color: var(--ink); font-weight: 600;
  font-size: .8rem; line-height: 1.25; text-align: left;
  padding: 9px 13px; border-radius: 13px; max-width: 184px;
  box-shadow: 0 18px 38px -16px rgba(0,0,0,.5);
  border: 1px solid var(--green); backdrop-filter: blur(3px);
  animation: floaty 5.5s ease-in-out infinite; z-index: 2;
}
.float-chip svg {
  width: 17px; height: 17px; flex: none; fill: none; stroke: var(--mint);
  stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round;
}
.float-chip--a { top: 1%;   left: -82px;  animation-delay: 0s; }
.float-chip--b { top: 33%;  left: -100px; animation-delay: .9s; }
.float-chip--c { bottom: 13%; left: -74px; animation-delay: 1.8s; }
.float-chip--d { top: 5%;   right: -78px; animation-delay: .5s; }
.float-chip--e { top: 38%;  right: -96px; animation-delay: 1.4s; }
.float-chip--f { bottom: 7%; right: -66px; animation-delay: 2.3s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ============ STATS ============ */
.stats { background: var(--green); color: var(--cream); padding: 40px 0; }
.stats__inner { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.stat { text-align: center; }
.stat b { display: block; font-family: var(--ff-display); font-size: 2.6rem; font-weight: 600; color: #fff; line-height: 1; }
.stat span { display: block; margin-top: 8px; font-size: .92rem; color: rgba(255,247,238,.72); }

/* ============ EMPATIA ============ */
.empathy { padding: 100px 0; background: var(--cream); }
.empathy__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 56px; }
.pain {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 36px 30px; text-align: center; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.pain:hover { transform: translateY(-6px); box-shadow: 0 24px 44px -26px rgba(29,56,53,.4); }
.feat-ico {
  width: 58px; height: 58px; margin: 0 auto 18px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(110,193,178,.16); color: var(--green);
}
.feat-ico svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pain h3 { font-family: var(--ff-display); font-weight: 600; font-size: 1.45rem; color: var(--green); margin: 16px 0 8px; }
.pain p { color: var(--muted); }

/* ============ STORY ============ */
.story { position: relative; padding: 130px 0; color: var(--cream); overflow: hidden; }
.story__photo {
  position: absolute; inset: 0; z-index: 0;
  background: url("assets/photos/vet-visit.jpg") center 30%/cover no-repeat;
  background-attachment: fixed;
}
.story__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(105deg, rgba(20,38,36,.93) 0%, rgba(29,56,53,.82) 48%, rgba(29,56,53,.45) 100%);
}
.story__inner { position: relative; z-index: 2; max-width: 720px; }
.story__title { font-family: var(--ff-display); font-weight: 600; font-size: clamp(2.2rem,5vw,3.6rem);
  line-height: 1.02; margin: 14px 0 28px; }
.story__body p { font-size: 1.15rem; color: rgba(255,247,238,.88); margin-bottom: 18px; max-width: 60ch; }
.story__body strong { color: #fff; }
.story__sign { font-family: var(--ff-display); font-style: italic; font-size: 1.15rem; color: var(--mint); margin-top: 26px; }

/* ============ FUNKCJE chips ============ */
.funkcje { padding: 100px 0 80px; background: var(--cream-2); }
.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 880px; margin: 48px auto 0; }
.chip {
  --c: var(--green);
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid var(--line);
  border-left: 4px solid var(--c);
  padding: 10px 16px; border-radius: 10px; font-weight: 600; font-size: .96rem;
  box-shadow: 0 6px 16px -12px rgba(29,56,53,.5);
  transition: transform .2s var(--ease);
}
.chip:hover { transform: translateY(-3px) rotate(-1deg); }

/* ============ FEATURE BLOCKS ============ */
.blocks { padding: 60px 0 110px; background: var(--cream-2); }
.block { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 50px 0; }
.block--rev .block__media { order: 2; }
.block__media { border-radius: var(--r-lg); overflow: hidden; border: 6px solid #fff;
  box-shadow: 0 36px 70px -34px rgba(29,56,53,.5); }
.block__media img { width: 100%; height: 480px; object-fit: cover; }
.block__num { font-family: var(--ff-display); font-size: 1rem; font-weight: 600; color: var(--salmon);
  letter-spacing: .1em; }
.block__copy h3 { font-family: var(--ff-display); font-weight: 600; font-size: clamp(1.8rem,3.5vw,2.6rem);
  color: var(--green); line-height: 1.05; margin: 8px 0 16px; }
.block__copy p { color: var(--muted); font-size: 1.1rem; }
.ticks { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; font-weight: 500; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--mint);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/14px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/14px no-repeat;
  background: var(--green);
}

/* ============ CHOROBY ============ */
.diseases { padding: 110px 0; background: var(--green-dk); position: relative; }
.diseases .eyebrow, .diseases .section-title, .diseases .section-sub { text-align: center; }
.diseases .eyebrow { display: block; }
.diseases .section-title { margin-inline: auto; }
.diseases__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 54px; }
.disease {
  --c: var(--mint);
  background: rgba(255,247,238,.05); border: 1px solid rgba(255,247,238,.12);
  border-top: 3px solid var(--c);
  border-radius: var(--r-md); padding: 30px 28px;
  transition: transform .3s var(--ease), background .3s;
}
.disease:hover { transform: translateY(-6px); background: rgba(255,247,238,.09); }
.disease h4 { font-family: var(--ff-display); font-weight: 600; font-size: 1.5rem; color: #fff; margin-bottom: 10px; }
.disease h4::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%;
  background: var(--c); margin-right: 10px; vertical-align: middle; }
.disease p { color: rgba(255,247,238,.72); font-size: .98rem; }

/* ============ WHY ============ */
.why { padding: 110px 0; background: var(--cream); }
.why__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; margin-top: 54px; }
.why__card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 34px 26px; text-align: center; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.why__card:hover { transform: translateY(-6px); box-shadow: 0 26px 46px -28px rgba(29,56,53,.45); }
.why__card h3 { font-family: var(--ff-display); font-weight: 600; font-size: 1.35rem; color: var(--green); margin: 14px 0 8px; }
.why__card p { color: var(--muted); font-size: .98rem; }

/* ============ PRICING ============ */
.pricing { padding: 110px 0; background: var(--cream-2); }
.plans { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 56px; align-items: stretch; }
.plan { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 38px 32px; display: flex; flex-direction: column; position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.plan:hover { transform: translateY(-6px); box-shadow: 0 30px 56px -30px rgba(29,56,53,.4); }
.plan--featured { background: var(--green); color: var(--cream); border-color: transparent;
  box-shadow: 0 40px 70px -34px rgba(29,56,53,.7); transform: scale(1.03); }
.plan--featured:hover { transform: scale(1.03) translateY(-6px); }
.plan__badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--salmon); color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .04em;
  padding: 6px 16px; border-radius: 999px; white-space: nowrap; }
.plan__name { font-family: var(--ff-display); font-weight: 600; font-size: 1.5rem; }
.plan--featured .plan__name { color: #fff; }
.plan__price { margin: 14px 0 4px; }
.plan__price b { font-family: var(--ff-display); font-size: 2.8rem; font-weight: 600; color: var(--green); }
.plan--featured .plan__price b { color: #fff; }
.plan__price span { color: var(--muted); font-size: 1rem; margin-left: 6px; }
.plan--featured .plan__price span { color: rgba(255,247,238,.7); }
.plan__for { font-size: .95rem; color: var(--muted); margin-bottom: 22px; }
.plan--featured .plan__for { color: rgba(255,247,238,.78); }
.plan__save { font-size: .85rem; font-weight: 700; color: var(--salmon); margin: -14px 0 20px; }
.plan--featured .plan__save { color: var(--mint); }
.plan__list { list-style: none; display: grid; gap: 11px; margin-bottom: 28px; flex: 1; }
.plan__list li { position: relative; padding-left: 26px; font-size: .98rem; }
.plan__list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--mint);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/12px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/12px no-repeat; }
.plan--featured .plan__list li::before { background: var(--mint); }
.plan .btn { width: 100%; }
.plan--featured .btn--solid { box-shadow: none; }
.pricing__note { text-align: center; color: var(--muted); margin-top: 36px; font-size: .95rem; }

/* ============ DOWNLOAD ============ */
.download { position: relative; padding: 120px 0; background: var(--green); color: var(--cream); overflow: hidden; text-align: center; }
.download__photo {
  position: absolute; inset: 0; z-index: 0;
  background: url("assets/photos/footer-dogs.jpg") center/cover fixed no-repeat;
}
.download__veil {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(rgba(20,38,36,.82) 0%, rgba(29,56,53,.9) 100%);
}
.download__inner { position: relative; z-index: 2; }
.download h2 { font-family: var(--ff-display); font-weight: 600; font-size: clamp(2.1rem,4.6vw,3.4rem);
  line-height: 1.06; color: #fff; max-width: 20ch; margin: 0 auto; }
.download p { font-size: 1.15rem; color: rgba(255,247,238,.82); max-width: 52ch; margin: 22px auto 0; }
.download .download__free { font-size: .98rem; color: rgba(255,247,238,.68); max-width: 48ch; margin: 26px auto 0; }
.download__cta { display: flex; gap: 16px; justify-content: center; margin-top: 38px; flex-wrap: wrap; }
.download .store-badge { background: #fff; color: var(--green); }
.download .store-badge__txt small { opacity: .65; }
.download .store-badge svg path[fill="#fff"] { fill: var(--green); }
.download__eu { display: inline-block; margin-top: 34px; color: var(--mint); font-weight: 600;
  border-bottom: 1px solid transparent; transition: border-color .2s; }
.download__eu:hover { border-color: var(--mint); }

/* ============ FOOTER ============ */
.footer { background: var(--green-dk); color: rgba(255,247,238,.8); padding: 64px 0 28px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; align-items: start; }
.footer__logo { height: 40px; width: auto; margin-bottom: 16px; background: var(--cream); padding: 8px 13px; border-radius: 12px; box-sizing: content-box; }
.footer__brand p { max-width: 32ch; font-size: .96rem; }
.footer__nav { display: flex; flex-direction: column; gap: 12px; }
.footer__nav a, .footer__contact a { opacity: .82; transition: opacity .2s; }
.footer__nav a:hover, .footer__contact a:hover { opacity: 1; }
.footer__contact { display: flex; flex-direction: column; gap: 14px; }
.footer__social { display: flex; gap: 18px; }
.footer__bottom { max-width: var(--maxw); margin: 48px auto 0; padding: 22px 24px 0;
  border-top: 1px solid rgba(255,247,238,.12);
  display: flex; justify-content: space-between; align-items: center; font-size: .88rem; opacity: .7; }
.footer__bottom div { display: flex; gap: 22px; }

/* ============ REVEAL ANIMATIONS ============ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-chip, .hero__phone img, .hero__scroll { animation: none; }
  html { scroll-behavior: auto; }
  .story__photo, .download__photo { background-attachment: scroll; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .hero { min-height: auto; padding: 116px 0 64px; }
  .hero__inner { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .hero__title, .hero__lead { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero__cta { justify-content: center; }
  .hero__phone { order: -1; }
  .hero__phone img { width: min(343px, 78vw); }
  .hero__scroll { display: none; }
  .float-chip { display: none; }
  .stats__inner { grid-template-columns: repeat(2,1fr); gap: 30px; }
  .block, .block--rev { grid-template-columns: 1fr; gap: 28px; }
  .block--rev .block__media { order: 0; }
  .block__media img { height: 380px; }
  .diseases__grid, .why__grid, .plans { grid-template-columns: 1fr 1fr; }
  .plan--featured { transform: none; }
  .plan--featured:hover { transform: translateY(-6px); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav.open .nav__links {
    display: flex; flex-direction: column; gap: 18px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); padding: 24px; box-shadow: 0 20px 40px -20px rgba(29,56,53,.4);
    margin: 0;
  }
  .nav.open .nav__links a { font-size: 1.1rem; color: var(--ink); }
  .empathy__grid, .why__grid, .diseases__grid, .plans { grid-template-columns: 1fr; }
  .empathy, .story, .funkcje, .why, .pricing, .diseases, .download { padding: 76px 0; }
  .empathy__grid, .why__grid { gap: 18px; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; gap: 14px; text-align: center; }
}

@media (max-width: 420px) {
  body { font-size: 16px; }
  .stats__inner { grid-template-columns: 1fr 1fr; }
  .hero__cta { gap: 10px; }
  .store-badge { padding: 10px 16px; }
}
