/* =========================================================
   Zampa Sana – main stylesheet
   Design tokens derived from the logo and flyers:
   teal #4F9198, charcoal #383840, off-white / cream grounds,
   soft organic "blob" shapes, paw doodles.
   ========================================================= */
:root {
  --teal: #4f9198;
  --teal-dark: #2f6b72;
  --teal-deep: #245a60;
  --teal-bright: #1a9fb4;
  --teal-soft: #dcebe8;
  --teal-tint: #eef5f4;
  --charcoal: #383840;
  --ink: #2b2b31;
  --muted: #6b6b73;
  --line: #e4e1dc;
  --ground: #faf9f6;
  --cream: #fbf6ea;
  --sand: #d9d6d2;
  --white: #ffffff;
  --success: #2e7d5b;
  --error: #b3261e;
  --telegram: #229ed9;

  --font-head: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Nunito', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-script: 'Caveat', 'Segoe Script', cursive;

  --radius: 22px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(56, 56, 64, 0.08);
  --shadow-lg: 0 24px 50px rgba(56, 56, 64, 0.14);
  --container: 1180px;
  --header-h: 92px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.7s;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ground);
  overflow-x: hidden;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--charcoal); line-height: 1.2; margin: 0 0 0.6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--teal-dark); text-decoration: none; }
a:hover { color: var(--teal-deep); }
ul, ol { padding-left: 1.3em; }
strong { font-weight: 700; }
.icon { width: 1.15em; height: 1.15em; fill: currentColor; display: inline-block; vertical-align: -0.2em; flex-shrink: 0; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.container.narrow { max-width: 820px; }
.center { text-align: center; }
.center .hero-actions { justify-content: center; }

:focus-visible { outline: 3px solid var(--teal-bright); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: 1rem; top: -4rem; background: var(--charcoal); color: #fff; padding: 0.6rem 1rem; border-radius: 8px; z-index: 1000; transition: top 0.2s; }
.skip-link:focus { top: 1rem; }

/* Links inside text: animated underline */
.prose a, .footer-list a, .link-arrow, .nav-link {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 2px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.35s var(--ease), color 0.25s;
}
.prose a:hover, .footer-list a:hover, .link-arrow:hover, .nav-link:hover { background-size: 100% 2px; }

/* ---------- Typography helpers ---------- */
.eyebrow { font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-dark); margin: 0 0 0.8rem; display: inline-flex; align-items: center; gap: 0.4em; }
.script-accent { font-family: var(--font-script); font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--teal); margin: 0 0 0.2rem; line-height: 1.1; }
.section-title { margin-bottom: 0.7em; }
.section-subtitle { font-size: clamp(1.35rem, 2.4vw, 1.8rem); font-weight: 600; }
.lead { font-size: 1.2rem; color: var(--muted); }
.prose p:last-child { margin-bottom: 0; }
.prose ul, .prose ol { margin: 0 0 1em; }
.prose li { margin-bottom: 0.4em; }
.prose h2, .prose h3, .prose h4 { margin-top: 1.4em; }
.prose .ql-align-center { text-align: center; }
.prose .ql-align-right { text-align: right; }
.prose .ql-align-justify { text-align: justify; }
.note { background: var(--cream); border-left: 4px solid var(--teal); padding: 1rem 1.3rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 1.5rem auto; max-width: 820px; }
.note p:last-child { margin: 0; }

/* Checklist (used in rich text via class="checklist") */
.checklist, .prose ul.checklist, .checklist-wrap ul { list-style: none; padding: 0; display: grid; gap: 0.7rem; }
.checklist li, .checklist-wrap ul li { position: relative; padding-left: 2.2rem; }
.checklist li::before, .checklist-wrap ul li::before {
  content: ''; position: absolute; left: 0; top: 0.15em; width: 1.5rem; height: 1.5rem; border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/70% no-repeat;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5em; padding: 0.85rem 1.6rem; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; line-height: 1.2; border: 2px solid transparent; cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s, color 0.25s, border-color 0.25s;
  will-change: transform;
}
.btn .icon { transition: transform 0.3s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--charcoal); color: #fff; box-shadow: 0 8px 20px rgba(56, 56, 64, 0.22); }
.btn--primary:hover { background: var(--teal-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 28px rgba(47, 107, 114, 0.3); }
.btn--ghost { background: transparent; color: var(--teal-dark); border-color: var(--teal); }
.btn--ghost:hover { background: var(--teal); color: #fff; transform: translateY(-2px); }
.btn--telegram { background: var(--telegram); color: #fff; }
.btn--telegram:hover { background: #1b8ec2; color: #fff; transform: translateY(-2px); box-shadow: 0 12px 24px rgba(34, 158, 217, 0.3); }
.btn--lg { padding: 1rem 2rem; font-size: 1.08rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.4em; font-family: var(--font-head); font-weight: 600; color: var(--teal-dark); }
.link-arrow .icon { transition: transform 0.3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Blobs (organic shapes like the flyer) ---------- */
.blob { position: absolute; border-radius: 46% 54% 60% 40% / 50% 42% 58% 50%; pointer-events: none; z-index: 0; will-change: transform; }
.blob--1 { width: 62vw; max-width: 760px; aspect-ratio: 1.15; background: var(--sand); opacity: 0.55; top: -12%; right: -14%; animation: drift 24s ease-in-out infinite alternate; }
.blob--2 { width: 34vw; max-width: 420px; aspect-ratio: 1; background: var(--teal-soft); opacity: 0.9; bottom: -8%; left: -8%; animation: drift 30s ease-in-out infinite alternate-reverse; border-radius: 58% 42% 45% 55% / 45% 60% 40% 55%; }
.blob--3 { width: 22vw; max-width: 260px; aspect-ratio: 1; background: var(--teal); opacity: 0.16; top: 46%; left: 38%; animation: drift 20s ease-in-out infinite alternate; border-radius: 50% 50% 40% 60% / 60% 40% 60% 40%; }
.blob--services { width: 40vw; max-width: 520px; aspect-ratio: 1.1; background: var(--teal-soft); opacity: 0.7; top: 8%; left: -12%; }
.blob--about { width: 46vw; max-width: 560px; aspect-ratio: 1.2; background: var(--sand); opacity: 0.45; right: -12%; top: 10%; border-radius: 58% 42% 45% 55% / 45% 60% 40% 55%; }
.blob--cta { width: 70vw; max-width: 900px; aspect-ratio: 1.6; background: var(--teal-soft); opacity: 0.6; left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 48% 52% 55% 45% / 52% 46% 54% 48%; }
.blob--page { width: 50vw; max-width: 620px; aspect-ratio: 1.3; background: var(--teal-soft); opacity: 0.7; right: -10%; top: -20%; }
.blob--footer { width: 40vw; max-width: 480px; aspect-ratio: 1; background: var(--teal-soft); opacity: 0.35; left: -10%; bottom: -30%; }
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  50% { transform: translate3d(2%, -3%, 0) rotate(4deg) scale(1.04); }
  100% { transform: translate3d(-2%, 2%, 0) rotate(-3deg) scale(0.98); }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 249, 246, 0.85);
  transition: box-shadow 0.35s var(--ease), background-color 0.35s;
}
/* Blur lives on a pseudo-element: a backdrop-filter on the header itself would become the
   containing block of the fixed mobile navigation. */
.site-header::before { content: ''; position: absolute; inset: 0; z-index: -1; backdrop-filter: blur(12px) saturate(140%); -webkit-backdrop-filter: blur(12px) saturate(140%); opacity: 0; transition: opacity 0.35s; pointer-events: none; }
.site-header.is-scrolled { background: rgba(250, 249, 246, 0.72); box-shadow: 0 6px 24px rgba(56, 56, 64, 0.08); }
.site-header.is-scrolled::before { opacity: 1; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--header-h); transition: height 0.35s var(--ease); }
.site-header.is-scrolled .header-inner { height: 68px; }
.brand img { width: clamp(150px, 22vw, 230px); height: auto; transition: width 0.35s var(--ease); }
.site-header.is-scrolled .brand img { width: clamp(130px, 18vw, 180px); }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(0.6rem, 1.6vw, 1.6rem); }
.nav-link { font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; color: var(--charcoal); padding: 0.4rem 0.1rem; }
.nav-link.is-active { color: var(--teal-dark); background-size: 100% 2px; }
.nav-link--cta { background: var(--teal); color: #fff !important; padding: 0.55rem 1.1rem; border-radius: 999px; background-image: none; transition: background-color 0.25s, transform 0.25s; }
.nav-link--cta:hover, .nav-link--cta.is-active { background: var(--teal-dark); transform: translateY(-1px); }
.site-nav { display: flex; align-items: center; gap: 1.4rem; }
.lang-switch { display: flex; gap: 0.2rem; border: 1.5px solid var(--line); border-radius: 999px; padding: 0.15rem; background: #fff; }
.lang-link { font-family: var(--font-head); font-size: 0.78rem; font-weight: 700; padding: 0.3rem 0.6rem; border-radius: 999px; color: var(--muted); transition: background-color 0.25s, color 0.25s; }
.lang-link:hover { color: var(--teal-dark); background: var(--teal-tint); }
.lang-link.is-current { background: var(--charcoal); color: #fff; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer; padding: 10px; border-radius: 12px; flex-direction: column; justify-content: center; gap: 5px; }
.nav-toggle-bar { display: block; height: 2.5px; background: var(--charcoal); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s; transform-origin: center; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(3.5rem, 8vw, 6.5rem) 0; overflow: hidden; }
.section > .container { position: relative; z-index: 1; }
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section--welcome { padding-top: clamp(2.5rem, 6vw, 5rem); text-align: center; }
.section--welcome .prose { text-align: left; }
.section--services { background: linear-gradient(180deg, var(--ground) 0%, var(--cream) 100%); }
.section--nutrition { background: #fff; }
.section--about { background: var(--ground); }
.section--why { background: var(--teal-tint); }
.section--counters { background: var(--charcoal); color: #fff; padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section--reviews { background: var(--cream); }
.section--telegram { background: #fff; padding-bottom: clamp(2rem, 4vw, 3rem); }
.section--contact { overflow: visible; }
.section--cta { background: #fff; text-align: center; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(2rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem); min-height: calc(100vh - var(--header-h)); display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero-eyebrow { animation: fadeUp 0.7s var(--ease) both 0.1s; }
.hero-title { margin-bottom: 0.5em; }
.hero-title .w { display: inline-block; opacity: 0; transform: translateY(0.6em) rotate(2deg); animation: wordIn 0.8s var(--ease) forwards; }
.hero-title .w:nth-child(1) { animation-delay: 0.15s; }
.hero-title .w:nth-child(2) { animation-delay: 0.22s; }
.hero-title .w:nth-child(3) { animation-delay: 0.29s; }
.hero-title .w:nth-child(4) { animation-delay: 0.36s; }
.hero-title .w:nth-child(5) { animation-delay: 0.43s; }
.hero-title .w:nth-child(6) { animation-delay: 0.50s; }
.hero-title .w:nth-child(7) { animation-delay: 0.57s; }
.hero-title .w:nth-child(8) { animation-delay: 0.64s; }
.hero-title .w:nth-child(9) { animation-delay: 0.71s; }
.hero-title .w:nth-child(10) { animation-delay: 0.78s; }
.hero-title .w:nth-child(11) { animation-delay: 0.85s; }
.hero-title .w:nth-child(12) { animation-delay: 0.92s; }
.hero-title .w:nth-child(n+13) { animation-delay: 1s; }
.hero-sub { animation: fadeUp 0.8s var(--ease) both 0.9s; max-width: 560px; color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 1.6rem 0 1.2rem; animation: fadeUp 0.8s var(--ease) both 1.05s; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.5em; font-family: var(--font-head); font-size: 0.9rem; font-weight: 600; color: var(--teal-dark); background: #fff; padding: 0.5rem 1rem; border-radius: 999px; box-shadow: var(--shadow); animation: fadeUp 0.8s var(--ease) both 1.2s; margin: 0; }
.hero-badge .icon { color: var(--teal); }
.hero-media { position: relative; animation: fadeIn 1.2s var(--ease) both 0.3s; }
.hero-photo { position: relative; border-radius: 48% 52% 42% 58% / 55% 44% 56% 45%; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 0.85; max-width: 480px; margin-inline: auto; animation: morph 14s ease-in-out infinite alternate; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 30%; }
@keyframes morph {
  0% { border-radius: 48% 52% 42% 58% / 55% 44% 56% 45%; }
  100% { border-radius: 55% 45% 52% 48% / 46% 56% 44% 54%; }
}
.hero-card { position: absolute; display: flex; align-items: center; gap: 0.6em; background: #fff; padding: 0.7rem 1.1rem; border-radius: 999px; box-shadow: var(--shadow-lg); font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; color: var(--charcoal); white-space: nowrap; }
.hero-card .icon { color: var(--teal); width: 1.4em; height: 1.4em; }
/* Sits high on the photo on purpose: further down it lands on the animal's face. */
.hero-card--1 { left: -4%; top: 2%; animation: floatY 6s ease-in-out infinite; }
.hero-card--2 { right: -2%; bottom: 12%; animation: floatY 7s ease-in-out infinite reverse; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Paw trail: paws "walk in" one after another */
.paw-trail .paw { position: absolute; width: 34px; height: 34px; fill: var(--teal); opacity: 0; animation: pawIn 0.6s var(--ease) forwards; }
.paw-trail .paw-1 { left: 6%; bottom: 12%; transform: rotate(-20deg); animation-delay: 1.2s; }
.paw-trail .paw-2 { left: 11%; bottom: 20%; transform: rotate(-12deg); animation-delay: 1.5s; }
.paw-trail .paw-3 { left: 15%; bottom: 29%; transform: rotate(-16deg); animation-delay: 1.8s; }
.paw-trail .paw-4 { left: 20%; bottom: 37%; transform: rotate(-8deg); animation-delay: 2.1s; }
.paw-trail .paw-5 { left: 24%; bottom: 46%; transform: rotate(-14deg); animation-delay: 2.4s; }
@keyframes pawIn { from { opacity: 0; scale: 0.6; } to { opacity: 0.35; scale: 1; } }
@keyframes wordIn { to { opacity: 1; transform: translateY(0) rotate(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); will-change: transform; }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card-media { aspect-ratio: 4 / 3; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.card-body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.card-title { font-size: 1.15rem; margin: 0; }
.card-text { font-size: 0.98rem; color: var(--muted); flex: 1; }
.card-text p { margin: 0; }

/* ---------- Split layouts ---------- */
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split--reverse { grid-template-columns: 0.8fr 1.2fr; }
.photo-blob { border-radius: 58% 42% 45% 55% / 45% 60% 40% 55%; overflow: hidden; box-shadow: var(--shadow-lg); max-width: 440px; margin-inline: auto; aspect-ratio: 0.85; }
.photo-blob img { width: 100%; height: 100%; object-fit: cover; }
.portrait { position: relative; max-width: 380px; margin-inline: auto; }
.portrait img { border-radius: 50%; box-shadow: var(--shadow-lg); }
.portrait-paw { position: absolute; width: 90px; height: 90px; fill: var(--teal); right: -10px; bottom: 10px; opacity: 0.85; transform: rotate(15deg); }

/* ---------- Steps ---------- */
.steps-head { text-align: center; margin: clamp(3rem, 6vw, 5rem) 0 2rem; }
.steps { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; counter-reset: step; }
.step { position: relative; background: var(--ground); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 2.2rem 1.4rem 1.6rem; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--teal-soft); }
.step-num { position: absolute; top: -18px; left: 1.4rem; width: 40px; height: 40px; border-radius: 50%; background: var(--teal); color: #fff; font-family: var(--font-head); font-weight: 700; display: grid; place-items: center; box-shadow: 0 6px 14px rgba(79, 145, 152, 0.4); }
.step-title { font-size: 1.05rem; margin-bottom: 0.2rem; }
.step-meta { font-family: var(--font-script); font-size: 1.3rem; color: var(--teal); margin: 0 0 0.6rem; }
.step-text { font-size: 0.95rem; color: var(--muted); }

/* ---------- Foundations ---------- */
.foundations { margin-top: clamp(2.5rem, 5vw, 4rem); background: #fff; border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.5rem); box-shadow: var(--shadow); }
.foundations .checklist, .foundations .checklist-wrap ul { grid-template-columns: repeat(2, 1fr); gap: 0.9rem 2rem; }

/* ---------- Why us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.why-item { background: #fff; border-radius: var(--radius); padding: 2rem 1.6rem; box-shadow: var(--shadow); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.why-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.why-item h3 { font-size: 1.15rem; }
.why-item p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.why-icon { width: 72px; height: 72px; border-radius: 50%; background: var(--teal-tint); color: var(--teal-dark); display: grid; place-items: center; margin-bottom: 1.2rem; }
.why-icon svg { width: 44px; height: 44px; overflow: visible; }
.why-icon .ring, .why-icon .badge, .why-icon .heart, .why-icon .tick { stroke-dasharray: 200; stroke-dashoffset: 200; }
.is-visible .why-icon .ring, .is-visible .why-icon .badge, .is-visible .why-icon .heart { animation: draw 1.4s var(--ease) forwards 0.2s; }
.is-visible .why-icon .tick { animation: draw 0.8s var(--ease) forwards 1.1s; }
.why-icon .hand { transform-origin: 32px 32px; }
.is-visible .why-icon--years .hand { animation: tick 1.2s var(--ease) forwards 0.6s; }
.is-visible .why-icon--years .hand--short { animation: tick2 1.6s var(--ease) forwards 0.6s; }
.why-icon .mini-paw { fill: var(--teal); opacity: 0; transform-origin: 32px 27px; }
.is-visible .why-icon--heart .mini-paw { animation: pop 0.6s var(--ease) forwards 1.2s; }
.why-item:hover .why-icon--heart .heart { animation: pulse 1s ease-in-out infinite; transform-origin: center; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes tick { from { transform: rotate(-90deg); } to { transform: rotate(0); } }
@keyframes tick2 { from { transform: rotate(-200deg); } to { transform: rotate(0); } }
@keyframes pop { from { opacity: 0; transform: scale(0.3); } to { opacity: 1; transform: scale(1); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }

/* ---------- Counters ---------- */
.counters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; text-align: center; }
.counter-value { display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; color: #fff; }
.counter-num { font-variant-numeric: tabular-nums; }
.counter-label { display: block; margin-top: 0.4rem; color: rgba(255, 255, 255, 0.8); font-size: 1rem; }

/* ---------- Work in progress screen ---------- */
.page-wip { background: var(--cream); }
.wip { min-height: 100vh; display: grid; place-items: center; padding: 2rem 1.5rem; }
.wip-inner { max-width: 620px; text-align: center; }
.wip-logo { width: min(320px, 80%); height: auto; margin: 0 auto 1.5rem; }
.wip-paw { width: 54px; height: 54px; fill: var(--teal); opacity: 0.5; margin: 0 auto 1.2rem; }
.wip h1 { margin-bottom: 0.6em; }
.wip .prose { color: var(--muted); font-size: 1.12rem; }
.wip-contact { list-style: none; padding: 0; margin: 1.8rem 0 0; display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; justify-content: center; font-family: var(--font-head); font-weight: 600; }

/* ---------- Partners / Zusammenarbeit ---------- */
.section--partners { background: var(--white); }
.partner-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1.2rem; align-items: stretch; }
.partner { display: flex; }
.partner-inner {
  flex: 1; display: grid; place-items: center; min-height: 110px; padding: 1.2rem;
  background: var(--ground); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
a.partner-inner:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--teal-soft); }
.partner-inner img { max-height: 74px; width: auto; object-fit: contain; }
.partner-name { font-family: var(--font-head); font-weight: 600; color: var(--charcoal); text-align: center; }

/* ---------- Wide decorative photo banner ---------- */
.photo-banner { width: 100%; overflow: hidden; line-height: 0; }
.photo-banner img { width: 100%; height: clamp(180px, 26vw, 340px); object-fit: cover; object-position: center 55%; }

/* ---------- Reviews carousel ---------- */
.carousel { position: relative; max-width: 1180px; margin-inline: auto; --per-view: 3; }
.carousel-viewport { overflow: hidden; border-radius: var(--radius); }
.carousel-track { list-style: none; margin: 0; padding: 0; display: flex; transition: transform 0.6s var(--ease); will-change: transform; touch-action: pan-y; }
.carousel.is-dragging .carousel-track { transition: none; }
.carousel-slide { flex: 0 0 calc(100% / var(--per-view)); padding: 0.5rem; box-sizing: border-box; display: flex; }
.carousel-slide > .review { width: 100%; }
.review { margin: 0; background: #fff; border-radius: var(--radius); padding: clamp(1.4rem, 2.4vw, 2rem); box-shadow: var(--shadow); position: relative; height: 100%; display: flex; flex-direction: column; gap: 0.7rem; }
.review-text { flex: 1 1 auto; }
.review::before { content: '\201C'; position: absolute; top: 0.4rem; right: 1.4rem; font-family: var(--font-script); font-size: 6rem; color: var(--teal-soft); line-height: 1; }
.stars { display: flex; gap: 0.15rem; margin-bottom: 0.9rem; }
.stars .icon { width: 1.3rem; height: 1.3rem; fill: var(--line); }
.stars .icon.is-on { fill: #f0b53d; }
.review-text { font-size: 1.02rem; line-height: 1.7; }
.review-meta { font-family: var(--font-head); font-size: 0.92rem; color: var(--muted); }
.review-author { font-style: normal; font-weight: 600; color: var(--charcoal); }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.4rem; }
.carousel-btn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--charcoal); cursor: pointer; display: grid; place-items: center; transition: background-color 0.25s, color 0.25s, transform 0.25s; }
.carousel-btn:hover { background: var(--teal); color: #fff; border-color: var(--teal); }
.carousel-btn:active { transform: scale(0.94); }
.carousel-btn[disabled] { opacity: 0.35; cursor: default; }
.carousel-btn[disabled]:hover { background: #fff; color: var(--charcoal); border-color: var(--line); }
[data-carousel-prev] .icon { transform: rotate(180deg); }
.carousel-dots { display: flex; gap: 0.5rem; }
.carousel-dot { width: 10px; height: 10px; border-radius: 50%; border: 0; background: var(--sand); cursor: pointer; padding: 0; transition: transform 0.3s var(--ease), background-color 0.3s; }
.carousel-dot.is-active { background: var(--teal); transform: scale(1.35); }
.no-js .carousel-viewport { overflow-x: auto; scroll-snap-type: x mandatory; }
.no-js .carousel-slide { scroll-snap-align: start; }

/* ---------- Telegram box ---------- */
.tg-box { display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem; align-items: center; background: var(--teal-tint); border: 1.5px solid var(--teal-soft); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); }
.tg-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--telegram); color: #fff; display: grid; place-items: center; }
.tg-icon .icon { width: 36px; height: 36px; }
.tg-copy .section-subtitle { margin-bottom: 0.3rem; }
.tg-copy .prose { color: var(--muted); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(1.5rem, 3vw, 2.5rem); }
.page-hero .container { position: relative; z-index: 1; }
.page-title { margin-bottom: 0.4em; }
.page-hero--404 { padding-bottom: clamp(3rem, 8vw, 6rem); min-height: 60vh; display: flex; align-items: center; }
.lost-paws { position: relative; height: 70px; margin-bottom: 1rem; }
.lost-paws .paw { position: absolute; width: 40px; height: 40px; fill: var(--teal); opacity: 0; animation: pawIn 0.6s var(--ease) forwards; }
.lost-paws .paw-1 { left: calc(50% - 70px); top: 30px; transform: rotate(-20deg); animation-delay: 0.2s; }
.lost-paws .paw-2 { left: calc(50% - 20px); top: 5px; transform: rotate(10deg); animation-delay: 0.5s; }
.lost-paws .paw-3 { left: calc(50% + 35px); top: 28px; transform: rotate(35deg); animation-delay: 0.8s; }
.offline-paw { margin: 0 auto 1rem; opacity: 0.8; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-details { background: #fff; border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow); position: sticky; top: calc(var(--header-h) + 1rem); }
.detail-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 1rem; }
.detail-list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.detail-list .icon { width: 1.5rem; height: 1.5rem; color: var(--teal); margin-top: 0.15rem; }
.detail-list div { display: flex; flex-direction: column; }
.detail-label { font-family: var(--font-head); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.detail-sub { color: var(--muted); font-size: 0.95rem; }
.tg-mini { border-top: 1px solid var(--line); padding-top: 1.2rem; }
.tg-mini p { margin-bottom: 0.7rem; color: var(--muted); }
.contact-form-wrap { background: #fff; border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.4rem); box-shadow: var(--shadow); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; margin-top: 1.2rem; }
.field { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 0.35rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.field--half { grid-column: span 1; }
.field--third { grid-column: span 1; }
.field label, .field legend { font-family: var(--font-head); font-weight: 600; font-size: 0.93rem; color: var(--charcoal); padding: 0; }
.field legend { margin-bottom: 0.4rem; }
.req { color: var(--error); }
input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--ground); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 0.75rem 0.95rem; transition: border-color 0.25s, box-shadow 0.25s, background-color 0.25s;
}
input:focus, textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(79, 145, 152, 0.18); }
input[aria-invalid="true"], textarea[aria-invalid="true"], fieldset[aria-invalid="true"] .choice input { border-color: var(--error); }
textarea { resize: vertical; min-height: 120px; }
.choices { display: flex; flex-direction: column; gap: 0.5rem; }
.choices--inline { flex-direction: row; flex-wrap: wrap; gap: 0.5rem 1.2rem; }
.choice { display: flex; align-items: flex-start; gap: 0.6rem; font-family: var(--font-body); font-weight: 400; font-size: 1rem; cursor: pointer; }
.choice input { width: 1.25rem; height: 1.25rem; margin: 0.15rem 0 0; accent-color: var(--teal); flex-shrink: 0; cursor: pointer; }
.choice--consent { font-size: 0.93rem; color: var(--muted); }
.choice--consent a { text-decoration: underline; }
.field-error { color: var(--error); font-size: 0.88rem; margin: 0; font-weight: 600; }
.form-note { color: var(--muted); font-size: 0.88rem; margin: 1rem 0; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; gap: 0.9rem; align-items: flex-start; border-radius: var(--radius-sm); padding: 1rem 1.2rem; margin: 1.2rem 0; }
.alert p { margin: 0.2rem 0 0; }
.alert--success { background: #e6f4ec; color: #1d4d38; border: 1.5px solid #bfe3cf; }
.alert--success .icon { width: 1.8rem; height: 1.8rem; color: var(--success); }
.alert--error { background: #fdecea; color: #7a1a14; border: 1.5px solid #f5c6c2; flex-direction: column; gap: 0.2rem; }
.form-offline { background: var(--cream); border: 1.5px solid #f0d9a8; color: #6b4e0c; border-radius: var(--radius-sm); padding: 0.8rem 1rem; font-weight: 600; }

/* Questionnaire */
.q-section { border: 1.5px solid var(--line); border-radius: var(--radius); padding: clamp(1.2rem, 3vw, 2rem); margin: 0 0 1.5rem; background: #fff; box-shadow: var(--shadow); }
.q-section-title { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--teal-dark); padding: 0 0.5rem; }
.q-section-intro { color: var(--muted); margin: 0.3rem 0 0; font-size: 0.95rem; }
.q-heading { grid-column: 1 / -1; font-size: 1rem; margin: 0.6rem 0 -0.4rem; color: var(--teal-dark); padding-top: 0.8rem; border-top: 1px dashed var(--line); }
.form--questionnaire .form-grid { grid-template-columns: repeat(6, 1fr); }
.form--questionnaire .field--half { grid-column: span 3; }
.form--questionnaire .field--third { grid-column: span 2; }
.form--questionnaire .field--full, .form--questionnaire fieldset.field { grid-column: 1 / -1; }

/* ---------- Legal ---------- */
.legal { margin-bottom: 3rem; }
.legal h2 { padding-bottom: 0.4rem; border-bottom: 2px solid var(--teal-soft); }
.legal h3 { margin-top: 1.6em; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--teal-tint); border-top: 1px solid var(--teal-soft); padding: clamp(2.5rem, 5vw, 4rem) 0 1.5rem; }
.site-footer .container { position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2rem; }
.footer-brand img { width: 220px; }
.footer-tagline { margin: 1rem 0 0.5rem; color: var(--muted); max-width: 380px; }
.footer-title { font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: 1rem; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.footer-list a { color: var(--charcoal); display: inline-flex; align-items: center; gap: 0.5em; }
.footer-list .icon { color: var(--teal); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-top: 1px solid var(--teal-soft); padding-top: 1.2rem; font-size: 0.88rem; color: var(--muted); }
.footer-bottom p { margin: 0; }
.back-top { width: 42px; height: 42px; border-radius: 50%; background: var(--charcoal); color: #fff; display: grid; place-items: center; transition: transform 0.3s var(--ease), background-color 0.25s; }
.back-top .icon { transform: rotate(-90deg); }
.back-top:hover { background: var(--teal-dark); color: #fff; transform: translateY(-3px); }
.offline-banner { position: fixed; left: 50%; bottom: 1rem; transform: translateX(-50%); background: var(--charcoal); color: #fff; padding: 0.6rem 1.2rem; border-radius: 999px; font-size: 0.9rem; z-index: 200; box-shadow: var(--shadow-lg); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); transition-delay: var(--delay, 0ms); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal, .no-io .reveal { opacity: 1; transform: none; }
.stagger > .reveal:nth-child(2) { --delay: 100ms; }
.stagger > .reveal:nth-child(3) { --delay: 200ms; }
.stagger > .reveal:nth-child(4) { --delay: 300ms; }
.stagger > .reveal:nth-child(5) { --delay: 400ms; }
.stagger > .reveal:nth-child(6) { --delay: 500ms; }
.stagger > .reveal:nth-child(n+7) { --delay: 600ms; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 1.8rem 1.3rem; }
  .carousel { --per-view: 2; }
}
@media (max-width: 920px) {
  :root { --header-h: 76px; }
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed; top: var(--header-h); right: 0; bottom: 0; width: min(100%, 360px);
    flex-direction: column; align-items: stretch; gap: 1.5rem; padding: 1.5rem 1.5rem 2rem;
    background: var(--ground); box-shadow: -10px 0 40px rgba(56, 56, 64, 0.12);
    transform: translateX(105%); visibility: hidden; transition: transform 0.4s var(--ease), visibility 0s 0.4s; overflow-y: auto; z-index: 99;
  }
  .site-header.is-scrolled .site-nav { top: 68px; }
  .site-nav.is-open { transform: translateX(0); visibility: visible; transition: transform 0.4s var(--ease), visibility 0s; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0.2rem; }
  .nav-link { display: block; font-size: 1.15rem; padding: 0.7rem 0.4rem; border-bottom: 1px solid var(--line); background-image: none; }
  .nav-link--cta { text-align: center; margin-top: 0.8rem; border: 0; padding: 0.85rem 1rem; }
  .lang-switch { align-self: flex-start; }
  .hero { min-height: 0; }
  .hero-grid, .split, .split--reverse { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: -1; }
  .hero-media { max-width: 420px; margin-inline: auto; width: 100%; }
  .hero-card--1 { left: 0; }
  .hero-card--2 { right: 0; }
  .why-grid, .counters { grid-template-columns: 1fr; }
  .counters { gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-details { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .foundations .checklist, .foundations .checklist-wrap ul { grid-template-columns: 1fr; }
  .tg-box { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .cards, .steps { grid-template-columns: 1fr; }
  .carousel { --per-view: 1; }
  .form-grid, .form--questionnaire .form-grid { grid-template-columns: 1fr; }
  .field--half, .field--third, .form--questionnaire .field--half, .form--questionnaire .field--third { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-card { font-size: 0.8rem; padding: 0.55rem 0.9rem; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .paw-trail .paw-4, .paw-trail .paw-5 { display: none; }
  .review::before { font-size: 4rem; }
  .choices--inline { flex-direction: column; gap: 0.5rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal, .hero-title .w, .hero-sub, .hero-actions, .hero-badge, .hero-eyebrow, .hero-media, .paw-trail .paw, .lost-paws .paw { opacity: 1; transform: none; }
  .paw-trail .paw { opacity: 0.35; }
  .blob, .hero-photo, .hero-card { animation: none !important; }
  .why-icon .ring, .why-icon .badge, .why-icon .heart, .why-icon .tick { stroke-dashoffset: 0; }
  .why-icon .mini-paw { opacity: 1; }
}

/* ---------- Static mode (?static=1): no motion, used for screenshots / testing ---------- */
.no-anim *, .no-anim *::before, .no-anim *::after { animation: none !important; transition: none !important; }
.no-anim .reveal, .no-anim .hero-title .w, .no-anim .hero-sub, .no-anim .hero-actions, .no-anim .hero-badge, .no-anim .hero-eyebrow, .no-anim .hero-media, .no-anim .lost-paws .paw { opacity: 1; transform: none; }
.no-anim .paw-trail .paw { opacity: 0.35; }
.no-anim .hero { min-height: 0; }
.no-anim .why-icon .ring, .no-anim .why-icon .badge, .no-anim .why-icon .heart, .no-anim .why-icon .tick { stroke-dashoffset: 0; }
.no-anim .why-icon .mini-paw { opacity: 1; }

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .hero-bg, .blob, .btn, .carousel-controls, .offline-banner { display: none !important; }
  .reveal { opacity: 1; transform: none; }
  body { background: #fff; }
}
