/* ============================================================
   CatCareHub — Playful Cat Theme
   Baloo 2 (display) + Quicksand (body) · peach / cream / mint
   ============================================================ */

:root {
  --primary: #FF9466;
  --primary-600: #F2773D;
  --secondary: #FFC58A;
  --accent: #5FC9B7;
  --accent-600: #34B19C;
  --berry: #FF7E9D;

  --bg: #FFF6EE;
  --bg-soft: #FFFDFB;
  --surface: rgba(255, 255, 255, 0.74);
  --surface-solid: #ffffff;
  --border: rgba(120, 78, 52, 0.12);
  --border-strong: rgba(120, 78, 52, 0.2);

  --text: #3A2A22;
  --text-soft: #6E5B50;
  --text-muted: #9C8779;

  --shadow-sm: 0 2px 6px rgba(140, 90, 60, .08);
  --shadow-md: 0 12px 28px rgba(150, 95, 60, .12);
  --shadow-lg: 0 26px 60px rgba(150, 95, 60, .18);
  --glow: 0 12px 30px rgba(255, 148, 102, .38);

  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 30px;
  --radius-pill: 999px;

  --maxw: 1140px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --bounce: cubic-bezier(.34, 1.56, .64, 1);

  --grad-warm: linear-gradient(135deg, #FF9466 0%, #FFC58A 100%);
  --grad-cool: linear-gradient(135deg, #5FC9B7 0%, #8FE0D3 100%);
  --grad-mix: linear-gradient(120deg, #FF9466 0%, #FFB877 50%, #5FC9B7 120%);
}

[data-theme="dark"] {
  --primary: #FFA277;
  --primary-600: #FFB68F;
  --secondary: #FFCB95;
  --accent: #6FD8C5;
  --bg: #211711;
  --bg-soft: #2A1E16;
  --surface: rgba(48, 35, 27, 0.66);
  --surface-solid: #2C2019;
  --border: rgba(255, 235, 220, 0.1);
  --border-strong: rgba(255, 235, 220, 0.2);
  --text: #FCEFE6;
  --text-soft: #DCC9BC;
  --text-muted: #A8968A;
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, .4);
  --shadow-md: 0 12px 30px rgba(0, 0, 0, .5);
  --shadow-lg: 0 28px 64px rgba(0, 0, 0, .6);
  --glow: 0 12px 32px rgba(255, 148, 102, .26);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Quicksand', system-ui, -apple-system, Segoe UI, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16.5px;
  font-weight: 500;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .4s var(--ease), color .3s var(--ease);
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(58vw 58vw at 10% -10%, rgba(255, 148, 102, .18), transparent 60%),
    radial-gradient(48vw 48vw at 95% 4%, rgba(95, 201, 183, .16), transparent 60%),
    radial-gradient(44vw 44vw at 78% 102%, rgba(255, 197, 138, .18), transparent 60%);
  animation: drift 24s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate3d(0, -3%, 0) scale(1.06); } }

h1, h2, h3, h4 { font-family: 'Baloo 2', cursive; font-weight: 700; line-height: 1.16; color: var(--text); letter-spacing: -.01em; }
a { color: var(--primary-600); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--accent-600); }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }

.skip-link { position: absolute; left: 14px; top: -60px; z-index: 200; background: var(--primary); color: #fff; padding: 11px 18px; border-radius: var(--radius-sm); font-weight: 700; font-family: 'Baloo 2'; transition: top .2s var(--ease); }
.skip-link:focus { top: 14px; color: #fff; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

/* ============ paw decorations ============ */
.paw { position: absolute; color: var(--primary); opacity: .12; z-index: 0; animation: floatPaw 9s ease-in-out infinite; }
[data-theme="dark"] .paw { opacity: .16; }
.paw.p1 { top: 26px; right: 7%; width: 80px; transform: rotate(18deg); }
.paw.p2 { bottom: -8px; left: 4%; width: 54px; color: var(--accent); animation-delay: 1.4s; }
.paw.p3 { top: 120px; right: 24%; width: 40px; color: var(--secondary); animation-delay: 2.8s; }
@keyframes floatPaw { 0%,100% { transform: translateY(0) rotate(12deg);} 50% { transform: translateY(-18px) rotate(12deg);} }

/* ============================================================
   HEADER  (rounded pill nav + cat-face logo)
   ============================================================ */
.site-header { position: sticky; top: 0; z-index: 100; padding-top: 12px; }
.site-header .nav {
  display: flex; align-items: center; gap: 16px; height: 66px;
  background: var(--surface);
  backdrop-filter: saturate(170%) blur(16px); -webkit-backdrop-filter: saturate(170%) blur(16px);
  border: 1px solid var(--border); border-radius: var(--radius-pill);
  padding: 0 12px 0 18px; box-shadow: var(--shadow-sm);
}
.brand { display: flex; align-items: center; gap: 11px; font-family: 'Baloo 2'; font-weight: 800; font-size: 1.32rem; color: var(--text); }
.brand:hover { color: var(--text); }
.brand .logo {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; background: var(--grad-warm); box-shadow: var(--glow);
  color: #fff; transition: transform .4s var(--bounce);
}
.brand .logo svg { width: 25px; height: 25px; }
.brand:hover .logo { transform: rotate(-12deg) scale(1.08); }
.brand b { background: var(--grad-mix); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav-links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-links a { color: var(--text-soft); font-weight: 700; font-size: .95rem; padding: 9px 14px; border-radius: var(--radius-pill); }
.nav-links a:hover { color: var(--primary-600); background: rgba(255, 148, 102, .12); }

.nav-actions { display: flex; align-items: center; gap: 9px; }
.theme-toggle, .nav-toggle {
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  border: 2px solid var(--border-strong); background: var(--surface-solid); color: var(--text);
  display: grid; place-items: center; transition: transform .3s var(--bounce), border-color .25s, background .25s;
}
.theme-toggle:hover, .nav-toggle:hover { transform: translateY(-2px) scale(1.05); border-color: var(--primary); }
.theme-toggle svg, .nav-toggle svg { width: 21px; height: 21px; }
.theme-toggle .moon { display: none; }
[data-theme="dark"] .theme-toggle .sun { display: none; }
[data-theme="dark"] .theme-toggle .moon { display: block; }
.nav-toggle { display: none; }

@media (max-width: 880px) {
  .nav-links {
    position: fixed; inset: 92px 14px auto 14px; flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--surface-solid); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 14px; box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-12px) scale(.98);
    transition: opacity .3s var(--ease), transform .3s var(--bounce), visibility .3s;
  }
  .nav-links.open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0) scale(1); }
  .nav-links a { padding: 13px 16px; font-size: 1.05rem; }
  .nav-toggle { display: grid; }
}

/* ============================================================
   PAGE HERO + breadcrumbs
   ============================================================ */
.page-hero { position: relative; padding: 54px 0 26px; overflow: hidden; }
.page-hero .container { position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-family: 'Baloo 2'; font-weight: 700;
  font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; color: var(--primary-600);
  background: rgba(255, 148, 102, .14); padding: 8px 16px; border-radius: var(--radius-pill); margin-bottom: 16px;
}
.eyebrow::before { content: "🐾"; font-size: .9em; }
.page-hero h1 { font-size: clamp(2.2rem, 5.6vw, 3.4rem); font-weight: 800; max-width: 20ch; }
.page-hero .lede { margin-top: 14px; font-size: 1.14rem; color: var(--text-soft); max-width: 60ch; }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: 7px; font-size: .85rem; color: var(--text-muted); margin-bottom: 18px; font-weight: 600; }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--primary-600); }
.breadcrumbs span[aria-current] { color: var(--text); font-weight: 700; }
.breadcrumbs .sep { opacity: .5; }

/* whisker divider */
.whiskers { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 8px 0 4px; color: var(--primary); }
.whiskers::before, .whiskers::after { content: ""; height: 3px; flex: 1; max-width: 120px; border-radius: 3px; background: linear-gradient(90deg, transparent, var(--secondary)); }
.whiskers::after { background: linear-gradient(90deg, var(--secondary), transparent); }

/* ============================================================
   PHOTO SLOTS (fill with your own images)
   ============================================================ */
.photo { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: #FFE3CC; box-shadow: var(--shadow-md); aspect-ratio: 4 / 3; border: 3px solid var(--surface-solid); }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo.ratio-wide { aspect-ratio: 16 / 9; }
.photo.ratio-square { aspect-ratio: 1 / 1; }
.photo.ratio-tall { aspect-ratio: 3 / 4; }

/* ============================================================
   MAIN / cards / prose
   ============================================================ */
.main { padding: 14px 0 64px; }
.card {
  background: var(--surface); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  padding: clamp(24px, 4vw, 46px);
}
.prose { max-width: 74ch; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font-size: 1.55rem; font-weight: 700; margin-top: 2em; display: flex; align-items: center; gap: 12px; scroll-margin-top: 100px; }
.prose h2::before { content: ""; width: 12px; height: 24px; border-radius: 8px; background: var(--grad-warm); flex: none; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; margin-top: 1.6em; }
.prose p, .prose li { color: var(--text-soft); }
.prose strong { color: var(--text); font-weight: 700; }
.prose a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-top: .5em; }
.prose ul li::marker { content: "🐾 "; }
.prose ol { list-style: none; counter-reset: step; padding-left: 0; }
.prose ol li { counter-increment: step; position: relative; padding-left: 44px; margin-top: .9em; }
.prose ol li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; background: var(--grad-warm); color: #fff; font-family: 'Baloo 2'; font-weight: 700; display: grid; place-items: center; font-size: .95rem; box-shadow: var(--glow); }
.prose hr { border: none; border-top: 2px dashed var(--border); margin: 2.2em 0; }

.callout { border-radius: var(--radius); padding: 18px 20px; border: 2px solid var(--secondary); background: linear-gradient(135deg, rgba(255,148,102,.1), rgba(95,201,183,.08)); display: flex; gap: 14px; align-items: flex-start; margin-top: 1.4em; }
.callout .ic { flex: none; width: 26px; height: 26px; color: var(--primary-600); }
.callout p { margin: 0; font-size: .96rem; }

.meta-row { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; font-size: .9rem; color: var(--text-muted); }
.meta-row .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--text-muted); opacity: .5; }

.toc { border: 2px dashed var(--border-strong); border-radius: var(--radius); padding: 20px 22px; background: var(--surface-solid); margin-bottom: 26px; }
.toc h2 { font-family: 'Baloo 2'; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); margin: 0 0 12px; }
.toc ol { margin: 0; padding-left: 1.2em; columns: 2; column-gap: 28px; }
.toc li { margin: 6px 0; }
.toc a { color: var(--text-soft); font-weight: 600; font-size: .94rem; }
.toc a:hover { color: var(--primary-600); }
@media (max-width: 600px) { .toc ol { columns: 1; } }

.split { display: grid; grid-template-columns: 1.4fr .9fr; gap: 28px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* founder / about */
.founder { text-align: center; }
.founder .avatar { width: 116px; height: 116px; border-radius: 50%; margin: 0 auto 16px; background: var(--grad-cool); display: grid; place-items: center; font-family: 'Baloo 2'; font-weight: 800; font-size: 2.2rem; color: #fff; box-shadow: 0 16px 38px rgba(95,201,183,.4); border: 5px solid var(--surface-solid); }
.founder h3 { margin-bottom: 2px; }
.founder .role { color: var(--primary-600); font-weight: 700; font-size: .92rem; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stat { border: 2px solid var(--border); border-radius: var(--radius); padding: 18px 12px; background: var(--surface-solid); text-align: center; transition: transform .3s var(--bounce); }
.stat:hover { transform: translateY(-5px) rotate(-1.5deg); }
.stat .num { font-family: 'Baloo 2'; font-weight: 800; font-size: 1.7rem; background: var(--grad-mix); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .lbl { font-size: .82rem; color: var(--text-muted); }
@media (max-width: 520px) { .stat-grid { grid-template-columns: 1fr; } }

.value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 1.4em; }
.value { border: 2px solid var(--border); border-radius: var(--radius); padding: 22px; background: var(--surface-solid); transition: transform .3s var(--bounce), border-color .3s; }
.value:hover { transform: translateY(-6px); border-color: var(--secondary); }
.value .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-warm); color: #fff; margin-bottom: 13px; }
.value .ic svg { width: 24px; height: 24px; }
.value h3 { font-size: 1.06rem; margin-bottom: 5px; }
.value p { font-size: .92rem; color: var(--text-soft); margin: 0; }

/* ============================================================
   FORMS / BUTTONS
   ============================================================ */
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 7px; font-family: 'Baloo 2'; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm); font: inherit; font-weight: 600;
  border: 2px solid var(--border-strong); background: var(--surface-solid); color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(255,148,102,.18); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-family: 'Baloo 2'; font-weight: 700; font-size: 1rem; cursor: pointer; padding: 13px 26px; border-radius: var(--radius-pill); border: 2px solid transparent; transition: transform .25s var(--bounce), box-shadow .25s, background .25s; }
.btn-primary { background: var(--grad-warm); color: #fff; box-shadow: var(--glow); }
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 20px 44px rgba(255,148,102,.46); color: #fff; }
.btn-ghost { background: var(--surface-solid); color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-600); transform: translateY(-3px); }
.btn-sm { padding: 9px 18px; font-size: .9rem; }

.contact-tiles { display: grid; gap: 14px; }
.ctile { display: flex; gap: 14px; align-items: center; padding: 18px; border: 2px solid var(--border); border-radius: var(--radius); background: var(--surface-solid); transition: transform .3s var(--bounce), border-color .3s; }
.ctile:hover { transform: translateX(5px); border-color: var(--accent); }
.ctile .ic { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-cool); color: #fff; }
.ctile .ic svg { width: 22px; height: 22px; }
.ctile .lbl { font-size: .76rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.ctile a, .ctile strong { font-family: 'Baloo 2'; font-weight: 700; color: var(--text); }
.ctile a:hover { color: var(--primary-600); }

/* ============================================================
   HOMEPAGE
   ============================================================ */
.home-hero { position: relative; padding: 56px 0 40px; overflow: hidden; }
.home-hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
@media (max-width: 900px) { .home-hero .container { grid-template-columns: 1fr; } }
.home-hero h1 { font-size: clamp(2.5rem, 6.2vw, 4rem); font-weight: 800; line-height: 1.04; max-width: 15ch; }
.home-hero h1 .grad { background: var(--grad-mix); -webkit-background-clip: text; background-clip: text; color: transparent; }
.home-hero .lede { margin-top: 16px; font-size: 1.18rem; color: var(--text-soft); max-width: 52ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.counters { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 38px; }
.counter .num { font-family: 'Baloo 2'; font-weight: 800; font-size: 2.1rem; background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent; }
.counter .lbl { font-size: .88rem; color: var(--text-muted); font-weight: 600; }

/* hero photo with cat ears */
.hero-photo { position: relative; }
.hero-photo .photo { aspect-ratio: 4/5; transform: rotate(2deg); transition: transform .5s var(--bounce); }
.hero-photo:hover .photo { transform: rotate(0); }
.hero-photo::before, .hero-photo::after { content: ""; position: absolute; top: -22px; width: 0; height: 0; border-left: 30px solid transparent; border-right: 30px solid transparent; border-bottom: 46px solid var(--primary); z-index: 2; filter: drop-shadow(0 -3px 0 var(--surface-solid)); }
.hero-photo::before { left: 30px; transform: rotate(-14deg); }
.hero-photo::after { right: 30px; transform: rotate(14deg); }
.hero-badge { position: absolute; bottom: -16px; left: -16px; background: var(--surface-solid); border: 2px solid var(--border); border-radius: var(--radius); padding: 12px 16px; box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 10px; z-index: 3; }
.hero-badge .e { font-size: 1.6rem; }
.hero-badge b { font-family: 'Baloo 2'; display: block; font-size: 1rem; }
.hero-badge span { font-size: .78rem; color: var(--text-muted); }

.section { padding: 48px 0; }
.section-head { margin-bottom: 28px; max-width: 60ch; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 800; }
.section-head p { color: var(--text-soft); margin-top: 6px; font-size: 1.05rem; }
.section.alt { background: var(--surface); border-block: 2px dashed var(--border); }

/* calculator cards with cat ears */
.calc-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; }
.cc-link { text-decoration: none; color: inherit; }
.cc { position: relative; display: flex; flex-direction: column; gap: 11px; padding: 26px; border: 2px solid var(--border); border-radius: var(--radius-lg); background: var(--surface-solid); box-shadow: var(--shadow-sm); transition: transform .35s var(--bounce), box-shadow .35s, border-color .3s; overflow: visible; margin-top: 14px; }
.cc::before, .cc::after { content: ""; position: absolute; top: -13px; width: 0; height: 0; border-left: 17px solid transparent; border-right: 17px solid transparent; border-bottom: 26px solid var(--secondary); transition: border-bottom-color .3s; }
.cc::before { left: 26px; transform: rotate(-16deg); }
.cc::after { left: 52px; transform: rotate(16deg); }
.cc:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.cc:hover::before, .cc:hover::after { border-bottom-color: var(--primary); }
.cc .ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--grad-warm); color: #fff; box-shadow: var(--glow); }
.cc .ic svg { width: 27px; height: 27px; }
.cc h3 { font-size: 1.2rem; }
.cc p { color: var(--text-soft); font-size: .94rem; flex: 1; }
.cc-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.cc .uses { font-size: .82rem; color: var(--text-muted); display: inline-flex; align-items: center; gap: 5px; font-weight: 600; }
.cc .uses b { color: var(--primary-600); font-family: 'Baloo 2'; }
.cc .go { font-family: 'Baloo 2'; font-weight: 700; font-size: .92rem; color: var(--accent-600); display: inline-flex; align-items: center; gap: 5px; }
.cc:hover .go { color: var(--primary-600); }

/* breed photo cards */
.breed-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.breed { text-decoration: none; color: inherit; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-solid); border: 2px solid var(--border); box-shadow: var(--shadow-sm); transition: transform .35s var(--bounce), box-shadow .35s, border-color .3s; }
.breed:hover { transform: translateY(-7px) rotate(-1deg); box-shadow: var(--shadow-lg); border-color: var(--secondary); color: inherit; }
.breed .photo { aspect-ratio: 4/3; border-radius: 0; border: none; box-shadow: none; }
.breed .b-body { padding: 16px 18px; }
.breed h3 { font-size: 1.1rem; margin-bottom: 3px; }
.breed p { font-size: .85rem; color: var(--text-muted); margin: 0; }

.mini-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.mini { border: 2px solid var(--border); border-radius: var(--radius); padding: 22px; background: var(--surface-solid); text-decoration: none; color: inherit; transition: transform .3s var(--bounce), border-color .3s; }
.mini:hover { transform: translateY(-5px) rotate(1.5deg); border-color: var(--accent); color: inherit; }
.mini .emoji { font-size: 1.9rem; }
.mini h3 { font-size: 1.04rem; margin: 8px 0 4px; }
.mini p { font-size: .85rem; color: var(--text-muted); margin: 0; }

.cta-band { margin-top: 30px; border-radius: var(--radius-lg); padding: clamp(30px,5vw,54px); background: var(--grad-mix); color: #fff; text-align: center; box-shadow: var(--glow); position: relative; overflow: hidden; }
.cta-band::after { content: "🐾"; position: absolute; font-size: 9rem; right: 4%; top: 50%; transform: translateY(-50%) rotate(-12deg); opacity: .18; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem,4vw,2.3rem); }
.cta-band p { color: rgba(255,255,255,.92); margin-top: 8px; }
.cta-band .btn { margin-top: 20px; background: #fff; color: var(--primary-600); }
.cta-band .btn:hover { transform: translateY(-3px) scale(1.03); }

/* ============================================================
   CALCULATOR PAGES
   ============================================================ */
.calc-shell { display: grid; grid-template-columns: 1fr 300px; gap: 30px; align-items: start; }
@media (max-width: 940px) { .calc-shell { grid-template-columns: 1fr; } }
.calc-page-lede { font-size: 1.12rem; line-height: 1.75; color: var(--text-soft); max-width: 70ch; margin: 4px 0 26px; border-left: 5px solid var(--secondary); padding: 6px 0 6px 18px; }
.calc-page-lede strong { color: var(--text); }

.calc { position: relative; background: var(--surface); backdrop-filter: blur(8px); border: 2px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: clamp(22px,3vw,34px); margin-bottom: 28px; }
.calc h2 { font-size: 1.35rem; margin-bottom: 4px; }
.calc .calc-intro { color: var(--text-soft); font-size: .96rem; margin-bottom: 20px; }
.calc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px 16px; }
.calc .btn-primary[data-go] { margin-top: 18px; width: 100%; }

.calc-result { margin-top: 4px; }
.calc-result.filled { margin-top: 24px; padding-top: 24px; border-top: 2px dashed var(--border-strong); animation: rise .5s var(--bounce); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.calc-warn { color: var(--primary-600); font-weight: 700; }

.result-hero { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 8px; }
.result-big { font-family: 'Baloo 2'; font-weight: 800; font-size: clamp(2.6rem,8vw,3.6rem); line-height: 1; background: var(--grad-mix); -webkit-background-clip: text; background-clip: text; color: transparent; }
.result-unit { font-size: .9rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; margin-top: 6px; }
.result-sub { text-align: center; color: var(--text-soft); margin: 10px auto 18px; max-width: 50ch; }
.result-note { font-size: .86rem; color: var(--text-muted); margin-top: 16px; border-left: 4px solid var(--secondary); padding-left: 12px; }
.result-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 16px; }
.rcard { border: 2px solid var(--border); border-radius: var(--radius); padding: 15px 16px; background: var(--surface-solid); }
.rcard h4 { font-family: 'Baloo 2'; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 5px; }
.rcard p { margin: 0; font-weight: 700; color: var(--text); font-size: 1rem; }
.rcard a { font-weight: 700; }

.chart-bars { display: grid; gap: 12px; margin: 18px 0 6px; }
.cbar { display: grid; grid-template-columns: 96px 1fr auto; align-items: center; gap: 12px; }
.cbar-label { font-size: .86rem; color: var(--text-soft); font-weight: 600; }
.cbar-track { height: 16px; border-radius: var(--radius-pill); background: var(--border); overflow: hidden; }
.cbar-fill { display: block; height: 100%; border-radius: var(--radius-pill); animation: grow 1s var(--ease); }
.cbar-val { font-size: .84rem; font-weight: 700; font-family: 'Baloo 2'; white-space: nowrap; }
@keyframes grow { from { width: 0 !important; } }

.range-bar { margin: 22px 0 10px; }
.range-track { position: relative; height: 18px; border-radius: var(--radius-pill); background: var(--border); }
.range-healthy { position: absolute; top: 0; height: 100%; border-radius: var(--radius-pill); background: linear-gradient(90deg, var(--accent), var(--primary)); }
.range-marker { position: absolute; top: -7px; width: 5px; height: 32px; border-radius: 4px; background: var(--text); transform: translateX(-50%); }
.range-marker span { position: absolute; top: -27px; left: 50%; transform: translateX(-50%); font-size: .76rem; font-weight: 700; font-family: 'Baloo 2'; white-space: nowrap; background: var(--text); color: var(--bg); padding: 2px 8px; border-radius: 8px; }
.range-scale { display: flex; justify-content: space-between; font-size: .78rem; color: var(--text-muted); margin-top: 10px; font-weight: 600; }

.line-chart { width: 100%; height: auto; margin: 16px 0 6px; }
.line-chart .cx { fill: var(--text-muted); font-size: 10px; font-family: 'Quicksand'; text-anchor: middle; }

.stage-track { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 6px 0 12px; }
.stage-seg { font-size: .76rem; padding: 6px 13px; border-radius: var(--radius-pill); background: var(--border); color: var(--text-muted); font-weight: 700; }
.stage-seg.on { background: var(--grad-warm); color: #fff; box-shadow: var(--glow); }

.tl-title { font-family: 'Baloo 2'; margin: 22px 0 12px; font-size: 1.08rem; }
.timeline { display: grid; gap: 8px; }
.tl-item { display: grid; grid-template-columns: 86px 1fr; gap: 12px; padding: 12px 15px; border-radius: var(--radius); border: 2px solid var(--border); background: var(--surface-solid); opacity: .6; }
.tl-item.done { opacity: 1; border-color: var(--secondary); }
.tl-week { font-family: 'Baloo 2'; font-weight: 700; font-size: .82rem; color: var(--primary-600); }
.tl-text { font-size: .9rem; color: var(--text-soft); }

.calc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.calc-aside { display: grid; gap: 18px; position: sticky; top: 96px; }
.ad-slot { border: 2px dashed var(--border-strong); border-radius: var(--radius); min-height: 250px; display: grid; place-items: center; text-align: center; color: var(--text-muted); font-size: .82rem; background: var(--surface); padding: 16px; font-weight: 600; }
.related-box { border: 2px solid var(--border); border-radius: var(--radius); background: var(--surface-solid); padding: 20px; box-shadow: var(--shadow-sm); }
.related-box h3 { font-family: 'Baloo 2'; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; }
.related-box ul { list-style: none; padding: 0; display: grid; gap: 4px; }
.related-box a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: var(--radius-sm); color: var(--text-soft); font-weight: 600; font-size: .92rem; transition: background .2s, color .2s; }
.related-box a:hover { background: rgba(255,148,102,.1); color: var(--primary-600); }
.related-box a .ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--grad-warm); color: #fff; flex: none; }
.related-box a .ic svg { width: 16px; height: 16px; }
@media (max-width: 940px) { .calc-aside { position: static; } }

.faq { display: grid; gap: 10px; }
.faq details { border: 2px solid var(--border); border-radius: var(--radius); background: var(--surface-solid); overflow: hidden; }
.faq summary { cursor: pointer; padding: 16px 18px; font-family: 'Baloo 2'; font-weight: 700; font-size: 1rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "🐾"; font-size: 1rem; transition: transform .3s var(--bounce); }
.faq details[open] summary::after { transform: rotate(90deg) scale(1.1); }
.faq details[open] summary { border-bottom: 2px dashed var(--border); }
.faq .faq-a { padding: 14px 18px 18px; color: var(--text-soft); }
.faq .faq-a a { font-weight: 700; }

/* ============================================================
   FOOTER  (detailed, cat-themed)
   ============================================================ */
.site-footer { margin-top: 44px; position: relative; background: var(--surface); border-top: 3px dotted var(--border-strong); }
.footer-newsletter { background: var(--grad-mix); color: #fff; }
.footer-newsletter .inner { max-width: var(--maxw); margin-inline: auto; padding: 40px 22px; display: grid; grid-template-columns: 1fr auto; gap: 22px; align-items: center; }
@media (max-width: 760px) { .footer-newsletter .inner { grid-template-columns: 1fr; text-align: center; } }
.footer-newsletter h3 { color: #fff; font-size: 1.5rem; }
.footer-newsletter p { color: rgba(255,255,255,.9); font-size: .95rem; }
.nl-form { display: flex; gap: 10px; flex-wrap: wrap; }
.nl-form input { flex: 1; min-width: 200px; padding: 13px 18px; border-radius: var(--radius-pill); border: none; font: inherit; font-weight: 600; }
.nl-form .btn { background: #fff; color: var(--primary-600); }

.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; padding: 50px 0 28px; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { color: var(--text-soft); font-size: .94rem; max-width: 34ch; }
.footer-col h4 { font-family: 'Baloo 2'; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 9px; }
.footer-col a { color: var(--text-soft); font-size: .94rem; font-weight: 600; }
.footer-col a:hover { color: var(--primary-600); }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.socials { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--border-strong); background: var(--surface-solid); color: var(--text-soft); transition: transform .3s var(--bounce), background .25s, color .25s, border-color .25s; }
.socials a:hover { transform: translateY(-4px) scale(1.08); color: #fff; background: var(--grad-warm); border-color: transparent; }
.socials svg { width: 19px; height: 19px; }

.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; padding: 20px 0 40px; border-top: 2px dashed var(--border); font-size: .88rem; color: var(--text-muted); font-weight: 600; }
.footer-bottom .legal-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--primary-600); }
.to-top { position: fixed; right: 20px; bottom: 20px; width: 50px; height: 50px; border-radius: 50%; background: var(--grad-warm); color: #fff; border: none; cursor: pointer; box-shadow: var(--glow); display: grid; place-items: center; opacity: 0; pointer-events: none; transform: translateY(20px) scale(.8); transition: all .4s var(--bounce); z-index: 90; }
.to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
.to-top:hover { transform: translateY(-4px) scale(1.08) rotate(-8deg); }
.to-top svg { width: 22px; height: 22px; }

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner { position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 150%); width: min(680px, calc(100% - 32px)); z-index: 150; background: var(--surface-solid); border: 2px solid var(--border-strong); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 20px 22px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; transition: transform .5s var(--bounce); }
.cookie-banner.show { transform: translate(-50%, 0); }
.cookie-banner .ctxt { flex: 1 1 280px; font-size: .92rem; color: var(--text-soft); }
.cookie-banner .ctxt strong { color: var(--text); font-family: 'Baloo 2'; }
.cookie-banner .cbtns { display: flex; gap: 10px; }
.cookie-banner .btn { padding: 10px 18px; font-size: .9rem; }
@media (max-width: 520px) { .cookie-banner .cbtns { width: 100%; } .cookie-banner .btn { flex: 1; } }

.reveal { opacity: 0; transform: translateY(18px); animation: rise2 .7s var(--ease) forwards; }
.reveal.d1 { animation-delay: .08s; } .reveal.d2 { animation-delay: .16s; } .reveal.d3 { animation-delay: .24s; }
@keyframes rise2 { to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

@media print {
  .site-header, .site-footer, .footer-newsletter, .cookie-banner, .calc-aside, .calc-grid, .calc .btn-primary[data-go], .calc-actions, .paw, .hero-cta, .to-top { display: none !important; }
  body::before { display: none; }
  .calc, .card { box-shadow: none; border: 1px solid #ddd; }
}
