/* =========================================================
   Impulse Healing by Dave Nash — stylesheet
   Palette: sage green, cream, warm gold accent
   ========================================================= */

:root {
  /* Site is designed light-only. Stops phone browsers (e.g. Samsung Internet,
     Chrome auto dark) from recolouring text and leaving it unreadable. */
  color-scheme: light only;
  --sage-900: #3f4a37;
  --sage-800: #4c5a43;
  --sage-700: #5f6f52;
  --sage-600: #74886a;
  --sage-400: #a2b294;
  --sage-200: #d7e0cd;
  --cream: #f8f4ea;
  --cream-2: #f1ead9;
  --ink: #3a362e;
  --ink-soft: #63594c;
  --gold: #c9a875;
  --white: #ffffff;

  --font-display: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-script: "Alex Brush", "Great Vibes", cursive;
  --font-body: "Jost", "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;

  --max-width: 1180px;
  --radius: 18px;
  --shadow-soft: 0 18px 40px -18px rgba(63, 74, 55, 0.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

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

section { position: relative; }

.section-pad { padding: 96px 0; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; color: var(--sage-900); margin: 0 0 .5em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .72rem;
  font-weight: 500;
  color: var(--sage-700);
  margin-bottom: 14px;
}
.eyebrow::before, .eyebrow::after {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--sage-400);
}

.section-title {
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  margin-bottom: 18px;
}

.section-lede {
  max-width: 640px;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.center { text-align: center; margin-left: auto; margin-right: auto; }

.script {
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--sage-700);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .95rem;
  letter-spacing: .02em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--sage-700);
  color: var(--cream);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { background: var(--sage-800); }

.btn-outline {
  background: transparent;
  color: var(--sage-800);
  border-color: var(--sage-400);
}
.btn-outline:hover { background: var(--sage-200); }

.btn-ghost {
  background: rgba(255,255,255,.14);
  color: var(--cream);
  border-color: rgba(255,255,255,.4);
}
.btn-ghost:hover { background: rgba(255,255,255,.24); }

.btn-whatsapp {
  background: #25D366;
  color: #0b3d1e;
  box-shadow: var(--shadow-soft);
}
.btn-whatsapp:hover { background: #1fb957; }
.icon-fill { fill: currentColor; stroke: none; width: 22px; height: 22px; }

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Icons ---------- */
.icon { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.4; }
.icon-lg { width: 34px; height: 34px; }

/* ---------- Decorative leaf divider ---------- */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 10px 0 28px;
  color: var(--sage-500);
}
.divider .line { width: 48px; height: 1px; background: var(--sage-400); }

/* =========================================================
   Header / Nav
   ========================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: padding .3s ease, background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  padding: 12px 0;
  background: rgba(248, 244, 234, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px -12px rgba(63,74,55,.25);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-script);
  font-size: 1.7rem;
  color: var(--sage-900);
}
.site-header.scrolled .brand,
.site-header:not(.on-hero) .brand { color: var(--sage-900); }
.brand small {
  font-family: var(--font-body);
  font-size: .58rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sage-700);
  font-weight: 500;
}

.on-hero .brand,
.on-hero .nav-links a,
.on-hero .nav-toggle span { color: var(--white); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: .85rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  font-weight: 500;
}
.nav-links a { position: relative; color: var(--sage-900); padding: 4px 0; }
.nav-links a::after {
  content: "";
  position: absolute; left: 0; bottom: -3px;
  width: 0; height: 1px;
  background: currentColor;
  transition: width .25s ease;
}
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  margin-left: 8px;
  padding: 13px 30px;
  font-size: .78rem;
  letter-spacing: .01em;
  white-space: nowrap;
  line-height: 1;
}
.nav-cta::after { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--sage-900);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease, background .3s;
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 150px 0 90px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 15%, rgba(255,255,255,.10), transparent 55%),
    linear-gradient(155deg, var(--sage-900) 0%, var(--sage-700) 52%, var(--sage-600) 100%);
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(1.5px 1.5px at 20% 30%, rgba(255,255,255,.55) 40%, transparent 41%),
    radial-gradient(1.5px 1.5px at 70% 20%, rgba(255,255,255,.4) 40%, transparent 41%),
    radial-gradient(1.5px 1.5px at 40% 70%, rgba(255,255,255,.5) 40%, transparent 41%),
    radial-gradient(1.5px 1.5px at 85% 60%, rgba(255,255,255,.35) 40%, transparent 41%),
    radial-gradient(1.5px 1.5px at 60% 85%, rgba(255,255,255,.4) 40%, transparent 41%),
    radial-gradient(1.5px 1.5px at 10% 80%, rgba(255,255,255,.3) 40%, transparent 41%);
  animation: twinkle 6s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes twinkle { from { opacity: .35; } to { opacity: 1; } }

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .75fr;
  gap: 60px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .72rem;
  color: var(--sage-200);
  margin-bottom: 22px;
}
.hero-eyebrow::before { content: ""; width: 30px; height: 1px; background: var(--sage-200); }

.hero h1 {
  color: var(--white);
  font-size: clamp(2.6rem, 5.2vw, 4.4rem);
  line-height: 1.05;
  margin-bottom: 6px;
}
.hero h1 .script { display: block; font-size: 1.3em; color: var(--cream-2); line-height: 1; margin-top: 4px; }

.hero-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--sage-200);
  margin: 18px 0 20px;
}

.hero-copy {
  max-width: 480px;
  color: rgba(255,255,255,.86);
  font-size: 1.02rem;
  margin-bottom: 34px;
}

.hero-figure {
  position: relative;
  justify-self: center;
}
.hero-figure .frame {
  width: min(340px, 78vw);
  border-radius: 200px 200px 24px 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.45);
  border: 6px solid rgba(255,255,255,.18);
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/4.6; }

.hero-figure .badge {
  position: absolute;
  bottom: -18px; left: -30px;
  background: var(--cream);
  color: var(--sage-800);
  padding: 18px 20px;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  font-size: .8rem;
  max-width: 210px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.hero-figure .badge .icon { color: var(--gold); flex-shrink: 0; margin-top: 2px; }

.hero-stats {
  position: relative;
  z-index: 2;
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  border-top: 1px solid rgba(255,255,255,.22);
  padding-top: 30px;
}
.hero-stats .stat { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.92); font-size: .85rem; }
.hero-stats .icon { color: var(--gold); }

.scroll-cue {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,.7);
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.scroll-cue .line { width: 1px; height: 34px; background: rgba(255,255,255,.5); animation: pulse-line 2s ease-in-out infinite; }
@keyframes pulse-line { 0%,100% { transform: scaleY(1); opacity: .5; } 50% { transform: scaleY(1.3); opacity: 1; } }

/* =========================================================
   About
   ========================================================= */
.about { background: var(--cream); }
.about-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 70px;
  align-items: center;
}
.about-portrait { position: relative; }
.about-portrait .frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.about-portrait .frame img { width: 100%; aspect-ratio: 2/3; object-fit: cover; object-position: center 60%; }
.about-portrait .ring {
  position: absolute;
  top: -26px; right: -26px;
  width: 90px; height: 90px;
  border: 1px solid var(--sage-400);
  border-radius: 50%;
  z-index: -1;
}
.certificate-pill {
  position: absolute;
  bottom: -22px; right: 20px;
  background: var(--sage-800);
  color: var(--cream);
  padding: 14px 20px;
  border-radius: 14px;
  font-size: .78rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 240px;
}
.certificate-pill .icon { color: var(--gold); flex-shrink: 0; }

.about-copy p { color: var(--ink-soft); margin: 0 0 18px; }
.about-copy p:last-of-type { margin-bottom: 26px; }

.approach-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.approach-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink);
  font-size: .96rem;
}
.approach-list .icon { color: var(--sage-700); flex-shrink: 0; margin-top: 2px; }

/* =========================================================
   Services
   ========================================================= */
.services { background: var(--sage-900); color: var(--cream); }
.services .eyebrow { color: var(--sage-200); }
.services .eyebrow::before, .services .eyebrow::after { background: var(--sage-400); }
.services .section-title { color: var(--white); }
.services .section-lede { color: rgba(255,255,255,.78); }

.service-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  margin-top: 50px;
}
.service-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: 38px 34px;
  transition: transform .3s ease, background .3s ease;
}
.service-card:hover { transform: translateY(-6px); background: rgba(255,255,255,.1); }
.service-card .icon-wrap {
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(201,168,117,.16);
  color: var(--gold);
  margin-bottom: 22px;
}
.service-card h3 { color: var(--white); font-size: 1.4rem; margin-bottom: 10px; }
.service-card p { color: rgba(255,255,255,.78); font-size: .95rem; margin: 0; }

.who-i-help {
  margin-top: 64px;
  padding-top: 54px;
  border-top: 1px solid rgba(255,255,255,.16);
}
.who-i-help h3 { color: var(--white); font-size: 1.5rem; margin-bottom: 30px; }
.help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.help-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  font-size: .92rem;
  color: rgba(255,255,255,.9);
}
.help-chip .icon { color: var(--gold); flex-shrink: 0; }

/* =========================================================
   Animal Healing
   ========================================================= */
.animals {
  background: linear-gradient(155deg, var(--sage-800) 0%, #5a5233 60%, #6b6038 100%);
  color: var(--cream);
}
.animals .eyebrow { color: var(--sage-200); }
.animals .eyebrow::before, .animals .eyebrow::after { background: var(--sage-400); }
.animals .section-title { color: var(--white); }
.animals .section-lede { color: rgba(255,255,255,.78); }
.animals .who-i-help { border-top-color: rgba(255,255,255,.16); }
.animals .who-i-help h3 { color: var(--white); }

.animal-gallery {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.animal-gallery figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  position: relative;
}
.animal-gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3.4; transition: transform .5s ease; display: block; }
.animal-gallery figure:hover img { transform: scale(1.06); }
.animal-gallery figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(0deg, rgba(0,0,0,.6), transparent);
  color: var(--white);
  font-size: .82rem;
  font-weight: 500;
}

/* =========================================================
   Benefits
   ========================================================= */
.benefits { background: var(--cream-2); }
.benefit-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 26px;
}
.benefit-item { text-align: center; padding: 10px; }
.benefit-item .icon-wrap {
  width: 68px; height: 68px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  color: var(--sage-700);
  box-shadow: 0 12px 26px -14px rgba(63,74,55,.3);
}
.benefit-item h4 { font-size: 1.1rem; margin-bottom: 6px; }
.benefit-item p { color: var(--ink-soft); font-size: .88rem; margin: 0; }

.gallery-strip {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery-strip figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-soft);
}
.gallery-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-strip figure:hover img { transform: scale(1.06); }

/* =========================================================
   Testimonials
   ========================================================= */
.testimonials { background: var(--cream); }
.t-track-wrap { position: relative; margin-top: 50px; overflow: hidden; }
.t-track {
  display: flex;
  gap: 26px;
  transition: transform .55s cubic-bezier(.65,0,.35,1);
}
.t-card {
  flex: 0 0 100%;
  min-width: 0;
  background: var(--white);
  border-radius: var(--radius);
  padding: 42px 40px;
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
}
@media (min-width: 760px) {
  .t-card { flex-basis: calc(50% - 13px); }
}
.t-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--sage-200);
  color: var(--sage-800);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  flex-shrink: 0;
}
.t-quote-icon { color: var(--sage-400); margin-bottom: 10px; }
.t-card > div { min-width: 0; }
.t-card p.quote { color: var(--ink); font-size: .98rem; margin: 0 0 16px; overflow-wrap: break-word; }
@media (max-width: 759px) {
  .t-card { grid-template-columns: 1fr; gap: 14px; padding: 30px 24px; }
  .t-avatar { width: 48px; height: 48px; font-size: 1.1rem; }
}
.t-name { font-weight: 600; color: var(--sage-900); font-size: .95rem; }
.t-context { color: var(--ink-soft); font-size: .8rem; }

.t-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 34px;
}
.t-dots { display: flex; gap: 9px; }
.t-dots button {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--sage-400);
  border: none;
  cursor: pointer;
  padding: 0;
  opacity: .5;
  transition: opacity .25s, transform .25s;
}
.t-dots button.active { opacity: 1; transform: scale(1.25); background: var(--sage-700); }
.t-arrow {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--sage-400);
  background: var(--white);
  color: var(--sage-800);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .25s;
}
.t-arrow:hover { background: var(--sage-200); }

/* =========================================================
   Booking / Hours
   ========================================================= */
.booking {
  background: linear-gradient(160deg, var(--sage-700), var(--sage-800));
  color: var(--cream);
}
.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.booking .eyebrow { color: var(--sage-200); }
.booking .eyebrow::before, .booking .eyebrow::after { background: rgba(255,255,255,.4); }
.booking .section-title { color: var(--white); }
.booking-copy p { color: rgba(255,255,255,.85); }

.hours-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  padding: 34px 36px;
}
.hours-card h3 { color: var(--white); font-size: 1.2rem; margin-bottom: 20px; display:flex; align-items:center; gap:10px; }
.hours-card h3 .icon { color: var(--gold); }
.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
  font-size: .92rem;
}
.hours-row:last-of-type { border-bottom: none; }
.hours-row .day { color: rgba(255,255,255,.92); font-weight: 500; }
.hours-row .time { color: rgba(255,255,255,.75); }
.hours-note {
  margin-top: 18px;
  font-size: .82rem;
  color: rgba(255,255,255,.7);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.hours-note .icon { flex-shrink: 0; color: var(--gold); margin-top: 2px; width: 18px; height: 18px; }

/* =========================================================
   Contact
   ========================================================= */
.contact { background: var(--cream-2); }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}
.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 30px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform .3s ease;
}
.contact-card:hover { transform: translateY(-6px); }
.contact-card .icon-wrap {
  width: 60px; height: 60px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--sage-200);
  color: var(--sage-800);
  display: flex; align-items: center; justify-content: center;
}
.contact-card h4 { margin-bottom: 8px; }
.contact-card a.value { color: var(--sage-800); font-weight: 500; word-break: break-word; }
.contact-card p.hint { color: var(--ink-soft); font-size: .82rem; margin: 6px 0 0; }

.contact-whatsapp { text-align: center; margin-top: 40px; }
.contact-whatsapp p { color: var(--ink-soft); margin: 0 0 14px; }

.social-row {
  margin-top: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.social-row a {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--sage-200);
  display: flex; align-items: center; justify-content: center;
  color: var(--sage-800);
  box-shadow: var(--shadow-soft);
  transition: background .25s, color .25s, transform .25s;
}
.social-row a:hover { background: var(--sage-700); color: var(--white); transform: translateY(-3px); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--sage-900);
  color: rgba(255,255,255,.75);
  padding: 56px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.footer-brand { font-family: var(--font-script); font-size: 1.6rem; color: var(--white); margin-bottom: 12px; }
.footer-grid p { font-size: .88rem; color: rgba(255,255,255,.65); max-width: 320px; }
.footer-col h5 {
  color: var(--white);
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .76rem;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .88rem; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .78rem;
  color: rgba(255,255,255,.5);
}

.back-to-top {
  position: fixed;
  right: 26px; bottom: 26px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--sage-700);
  color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease;
  z-index: 90;
  cursor: pointer;
  border: none;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* =========================================================
   Reveal on scroll
   ========================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal-stagger.in-view > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in-view > *:nth-child(1) { transition-delay: .05s; }
.reveal-stagger.in-view > *:nth-child(2) { transition-delay: .15s; }
.reveal-stagger.in-view > *:nth-child(3) { transition-delay: .25s; }
.reveal-stagger.in-view > *:nth-child(4) { transition-delay: .35s; }
.reveal-stagger.in-view > *:nth-child(5) { transition-delay: .45s; }
.reveal-stagger.in-view > *:nth-child(6) { transition-delay: .55s; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { margin-left: auto; margin-right: auto; }
  .hero-figure { order: -1; margin-bottom: 10px; }
  .hero-figure .badge { left: 50%; transform: translateX(-50%); bottom: -26px; }
  .btn-row { justify-content: center; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); justify-items: center; }
  .about-grid { grid-template-columns: 1fr; }
  .about-portrait { max-width: 340px; margin: 0 auto; }
  .service-cards { grid-template-columns: 1fr; }
  .help-grid { grid-template-columns: 1fr 1fr; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-strip { grid-template-columns: 1fr 1fr; }
  .animal-gallery { grid-template-columns: 1fr 1fr; }
  .booking-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 760px) {
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--cream);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 40px;
    gap: 26px;
    transform: translateX(100%);
    transition: transform .35s ease;
    box-shadow: -10px 0 40px rgba(0,0,0,.15);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a, .on-hero .nav-links a { color: var(--sage-900) !important; font-size: 1rem; }
  .nav-cta { margin-left: 0; }
  .nav-toggle { display: flex; z-index: 200; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .on-hero .nav-toggle span { background: var(--white); }
  .nav-toggle.open span { background: var(--sage-900) !important; }
  .section-pad { padding: 70px 0; }
  .help-grid { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: 1fr 1fr; }
  .gallery-strip { grid-template-columns: 1fr; }
  .animal-gallery { grid-template-columns: 1fr; }
}
