/* =========================================================
   Happy Pooch: styles
   Brand: green "Happy", orange "Pooch" (from the storefront sign)
   ========================================================= */

:root {
  --bg: #FBF8F3;
  --surface: #FFFFFF;
  --sand: #F4EFE6;
  --line: #E7DFD3;

  --green: #3F7D3A;
  --green-dark: #2C5A28;
  --green-deep: #1E2A1D;
  --green-tint: #E8F1E3;

  --orange: #E07A1F;
  --orange-ink: #B4570C;
  --orange-tint: #FCEBDA;

  --ink: #23201C;
  --ink-soft: #5E574F;

  --radius-sm: 14px;
  --radius: 20px;
  --radius-lg: 32px;
  --shadow-sm: 0 2px 8px rgba(35, 32, 28, .06);
  --shadow: 0 12px 32px rgba(35, 32, 28, .08);
  --shadow-lg: 0 24px 60px rgba(35, 32, 28, .14);

  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;

  --paw-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cellipse cx='32' cy='42' rx='14' ry='12'/%3E%3Cellipse cx='14' cy='27' rx='6' ry='8' transform='rotate(-20 14 27)'/%3E%3Cellipse cx='25' cy='15' rx='6' ry='8.5'/%3E%3Cellipse cx='39' cy='15' rx='6' ry='8.5'/%3E%3Cellipse cx='50' cy='27' rx='6' ry='8' transform='rotate(20 50 27)'/%3E%3C/svg%3E");
  --check-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  font-optical-sizing: auto;
  text-wrap: balance;
}
h1 { font-size: clamp(3rem, 8vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3rem); }
h3 { font-size: 1.6rem; }
h2 em, h1 em { font-style: italic; color: var(--green); }
p { margin: 0 0 1em; }

a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-dark); }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 6px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--ink); color: #fff;
  padding: 10px 16px; border-radius: 10px;
}
.skip-link:focus { top: 12px; color: #fff; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 640px) { .container { padding: 0 28px; } }

section { position: relative; padding: 104px 0; }
@media (max-width: 700px) { section { padding: 72px 0; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange-ink);
  margin-bottom: 1em;
}
.eyebrow::before {
  content: ""; width: 14px; height: 14px; flex: none;
  background: var(--orange);
  -webkit-mask: var(--paw-mask) center / contain no-repeat;
          mask: var(--paw-mask) center / contain no-repeat;
}

.section-head { text-align: center; max-width: 660px; margin: 0 auto 56px; }
.section-head p:not(.eyebrow) { color: var(--ink-soft); font-size: 1.125rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .55em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  color: #fff;
  background: var(--green);
  border: 1.5px solid var(--green);
  border-radius: 999px;
  padding: .95em 1.7em;
  box-shadow: 0 8px 20px rgba(63, 125, 58, .22);
  transition: background .25s, border-color .25s, color .25s, transform .25s var(--ease-out), box-shadow .25s;
  cursor: pointer;
  white-space: nowrap;
}
/* a little paw that trots in on hover */
.btn::after {
  content: "";
  width: 0; height: 1em;
  margin-left: -.55em;
  background: currentColor;
  -webkit-mask: var(--paw-mask) center / contain no-repeat;
          mask: var(--paw-mask) center / contain no-repeat;
  opacity: 0;
  transform: rotate(90deg) scale(.4);
  transition: width .3s var(--ease-out), margin .3s var(--ease-out), opacity .3s, transform .4s var(--ease-out);
}
.btn:hover { color: #fff; background: var(--green-dark); border-color: var(--green-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(63, 125, 58, .3); }
.btn:hover::after { width: 1em; margin-left: 0; opacity: 1; transform: rotate(90deg) scale(1); }
.btn:active { transform: translateY(0); }

.btn-outline {
  color: var(--ink);
  background: transparent;
  border-color: rgba(35, 32, 28, .2);
  box-shadow: none;
}
.btn-outline:hover { color: var(--green); background: var(--surface); border-color: var(--green); box-shadow: var(--shadow-sm); }

.btn-icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.btn-small { padding: .7em 1.3em; font-size: .95rem; box-shadow: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 243, .85);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
          backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(35, 32, 28, .05); }

.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }

.brand {
  display: inline-flex; align-items: center; gap: .6rem;
  text-decoration: none;
}
.brand-mark {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green);
  transition: transform .4s var(--ease-out);
}
.brand-mark svg { width: 22px; height: 22px; fill: #fff; }
.brand:hover .brand-mark { transform: rotate(-14deg); }
.brand-word {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: -.01em;
  color: #D06A12;
}
.brand-word em { font-style: italic; color: var(--green); }

.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a:not(.btn) {
  font-weight: 500; font-size: .98rem;
  color: var(--ink); text-decoration: none;
  position: relative; padding: 6px 0;
}
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 50%; bottom: -4px;
  width: 10px; height: 10px; margin-left: -5px;
  background: var(--orange);
  -webkit-mask: var(--paw-mask) center / contain no-repeat;
          mask: var(--paw-mask) center / contain no-repeat;
  opacity: 0; transform: translateY(4px) scale(.5);
  transition: opacity .25s, transform .3s var(--ease-out);
}
.site-nav a:not(.btn):hover::after,
.site-nav a.is-active::after { opacity: 1; transform: none; }
.site-nav a.is-active { color: var(--green); }

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  border: 0; background: transparent; cursor: pointer;
  border-radius: 12px;
  position: relative;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  position: absolute; left: 13px; width: 22px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform .3s var(--ease-out), background .2s;
}
.nav-toggle-bars { top: 50%; margin-top: -1px; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after  { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after  { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 16px 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(35, 32, 28, .08);
    display: none;
  }
  .site-nav.is-open { display: flex; animation: menu-in .3s var(--ease-out); }
  .site-nav a:not(.btn) { padding: 14px 4px; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  .site-nav a:not(.btn)::after { left: auto; right: 8px; top: 50%; bottom: auto; margin-top: -5px; }
  .site-nav .btn { margin-top: 16px; }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- Hero ---------- */
.hero {
  padding: 56px 0 104px;
  background: var(--bg);
  overflow: hidden;
}

.hero-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 56px;
}

.hero-title { margin-bottom: .35em; }
.hero-title .word {
  display: inline-block;
  animation: word-in .9s var(--ease-out) both;
}
.hero-title .word:nth-child(2) { animation-delay: .12s; }
.hero-title .word:nth-child(3) { animation-delay: .24s; }
.hero-title .word-accent { font-style: italic; color: var(--green); }
@media (min-width: 901px) {
  .hero-title { font-size: clamp(3.6rem, 6.4vw, 5.6rem); line-height: 1; }
  .hero-title .word { display: block; }
}
@keyframes word-in {
  from { opacity: 0; transform: translateY(.45em) rotate(3deg); }
}

.hero .lede {
  font-size: 1.2rem; color: var(--ink-soft); max-width: 40ch;
  animation: fade-up .9s .35s var(--ease-out) both;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px;
  animation: fade-up .9s .45s var(--ease-out) both;
}
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } }

.hero-facts {
  list-style: none; padding: 0; margin: 48px 0 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 560px;
  animation: fade-up .9s .55s var(--ease-out) both;
}
.hero-facts li {
  display: flex; flex-direction: column;
  padding: 0 22px;
  border-left: 1px solid var(--line);
  line-height: 1.35;
}
.hero-facts li:first-child { padding-left: 0; border-left: 0; }
.hero-facts strong { font-family: var(--font-head); font-weight: 600; font-size: 1.35rem; color: var(--ink); }
.hero-facts span { font-size: .9rem; color: var(--ink-soft); }

.hero-media { position: relative; margin: 0; justify-self: center; width: 100%; max-width: 460px; }
.hero-media::before {
  content: ""; position: absolute; inset: 28px -22px -22px 28px;
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  background: var(--orange-tint);
  z-index: -1;
  animation: fade-in 1s .3s both;
}
.hero-photo {
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg);
  animation: photo-in 1.2s .1s var(--ease-out) both;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
/* soft green glow anchored behind the photo (fades out before any edge) */
.hero-media::after {
  content: ""; position: absolute; inset: -18% -32%;
  background: radial-gradient(closest-side, rgba(232, 241, 227, .95), rgba(232, 241, 227, 0));
  z-index: -2;
  pointer-events: none;
}
@media (max-width: 1100px) {
  .hero-media::before { inset: 22px -12px -16px 22px; }
}
@keyframes photo-in {
  from { clip-path: inset(100% 0 0 0 round 999px 999px 32px 32px); }
  to   { clip-path: inset(0 0 0 0 round 999px 999px 32px 32px); }
}
@keyframes fade-in { from { opacity: 0; } }

.hero-badge {
  position: absolute; left: -28px; bottom: 36px;
  display: flex; align-items: center; gap: 12px;
  background: var(--surface);
  border-radius: 999px;
  padding: 10px 22px 10px 10px;
  box-shadow: var(--shadow);
  line-height: 1.25;
  animation: badge-in .8s 1s var(--ease-out) both;
}
.hero-badge strong { display: block; font-size: .98rem; }
.hero-badge small { color: var(--ink-soft); font-size: .85rem; }
.hero-badge-icon {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--orange);
}
.hero-badge-icon svg { width: 22px; height: 22px; fill: #fff; animation: wag 2.4s 2s ease-in-out infinite; }
@keyframes badge-in { from { opacity: 0; transform: translateY(16px) scale(.92); } }
@keyframes wag {
  0%, 60%, 100% { transform: rotate(0); }
  68% { transform: rotate(-16deg); }
  76% { transform: rotate(14deg); }
  84% { transform: rotate(-10deg); }
  92% { transform: rotate(6deg); }
}

/* Paw-print trail: a pup trots across the bottom of the hero */
.paw-trail { position: absolute; inset: 0; pointer-events: none; }
.paw-trail svg {
  position: absolute;
  width: 26px; height: 26px;
  fill: var(--green);
  opacity: 0;
  animation: step 7s linear infinite;
}
.paw-trail svg:nth-child(odd)  { bottom: 7%; }
.paw-trail svg:nth-child(even) { bottom: 11%; }
.paw-trail svg:nth-child(1) { left: 3%;  animation-delay: 0s; }
.paw-trail svg:nth-child(2) { left: 8%;  animation-delay: .4s; }
.paw-trail svg:nth-child(3) { left: 13%; animation-delay: .8s; }
.paw-trail svg:nth-child(4) { left: 18%; animation-delay: 1.2s; }
.paw-trail svg:nth-child(5) { left: 23%; animation-delay: 1.6s; }
.paw-trail svg:nth-child(6) { left: 28%; animation-delay: 2s; }
.paw-trail svg:nth-child(7) { left: 33%; animation-delay: 2.4s; }
.paw-trail svg:nth-child(8) { left: 38%; animation-delay: 2.8s; }
@keyframes step {
  0%   { opacity: 0;   transform: rotate(90deg) scale(.5); }
  4%   { opacity: .16; transform: rotate(90deg) scale(1); }
  45%  { opacity: .16; transform: rotate(90deg) scale(1); }
  65%  { opacity: 0;   transform: rotate(90deg) scale(1); }
  100% { opacity: 0; }
}

@media (max-width: 900px) {
  .hero { padding-top: 32px; padding-bottom: 88px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero .lede { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-facts { margin-left: auto; margin-right: auto; }
  .hero-facts li, .hero-facts li:first-child { padding: 0 12px; }
  .hero-media { max-width: 340px; }
  .hero-badge { left: 50%; bottom: -24px; transform: translateX(-50%); white-space: nowrap; animation-name: fade-in; }
  .paw-trail svg:nth-child(n+6) { display: none; }
}
@media (max-width: 480px) {
  .hero-actions .btn { width: 100%; }
  .hero-facts li, .hero-facts li:first-child { padding: 0 6px; }
  .hero-facts strong { font-size: 1.05rem; white-space: nowrap; }
  .hero-facts span { font-size: .78rem; }
  .hero-media::before { inset: 20px -12px -14px 20px; }
}

/* ---------- About ---------- */
.about { background: var(--surface); }

.about-inner {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.about-media { position: relative; margin: 0; }
.about-media img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.about-stamp {
  position: absolute; right: -24px; bottom: 40px;
  width: 116px; height: 116px; border-radius: 50%;
  display: grid; place-content: center; text-align: center;
  background: var(--orange);
  color: #fff;
  box-shadow: 0 0 0 8px var(--surface), var(--shadow);
  transform: rotate(-8deg);
  line-height: 1;
  transition: transform .5s var(--ease-out);
}
.about-media:hover .about-stamp { transform: rotate(4deg) scale(1.05); }
.about-stamp span { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.about-stamp strong { font-family: var(--font-head); font-size: 2.2rem; font-weight: 600; }

.about-copy > p { color: var(--ink-soft); font-size: 1.1rem; }

.checklist { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.checklist li { display: flex; align-items: flex-start; gap: 14px; font-weight: 500; }
.checklist svg {
  flex: none; width: 28px; height: 28px; padding: 5px; margin-top: -1px;
  border-radius: 50%;
  background: var(--green-tint);
  fill: none; stroke: var(--green); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
}

@media (max-width: 900px) {
  .about-inner { grid-template-columns: 1fr; gap: 56px; }
  .about-media { max-width: 440px; margin: 0 auto; width: 100%; }
  .about-stamp { right: -8px; width: 96px; height: 96px; }
  .about-stamp strong { font-size: 1.8rem; }
}

/* ---------- Services ---------- */
.services { background: var(--sand); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.card-icon {
  width: 60px; height: 60px; border-radius: 18px;
  display: grid; place-items: center;
  background: var(--green-tint);
  transition: transform .5s var(--ease-out);
}
.card-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card:hover .card-icon { transform: rotate(-10deg) scale(1.06); }
.card-num { font-family: var(--font-head); font-size: 2.6rem; font-weight: 500; color: var(--line); line-height: 1; }

.card-kicker {
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--orange-ink); margin-bottom: .3em;
}
.card p { color: var(--ink-soft); }

.card-list { list-style: none; margin: 22px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.card-list li { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: .98rem; }
.card-list li::before {
  content: ""; flex: none; width: 16px; height: 16px;
  background: var(--green);
  -webkit-mask: var(--check-mask) center / contain no-repeat;
          mask: var(--check-mask) center / contain no-repeat;
}

.card-featured { background: var(--green); border-color: var(--green); color: #fff; }
.card-featured p, .card-featured .card-list li { color: rgba(255, 255, 255, .88); }
.card-featured .card-kicker { color: #FFD3A6; }
.card-featured .card-icon { background: rgba(255, 255, 255, .14); }
.card-featured .card-icon svg { stroke: #fff; }
.card-featured .card-num { color: rgba(255, 255, 255, .22); }
.card-featured .card-list { border-color: rgba(255, 255, 255, .2); }
.card-featured .card-list li::before { background: #FFD3A6; }

/* Grooming "coming soon" note under the service cards */
.coming-soon {
  display: flex; align-items: center; gap: 18px;
  max-width: 760px; margin: 32px auto 0;
  padding: 18px 24px;
  background: var(--surface);
  border: 1.5px dashed var(--line);
  border-radius: var(--radius);
}
.coming-soon p { margin: 0; color: var(--ink-soft); }
.coming-soon strong { color: var(--ink); }
.coming-soon-icon {
  flex: none; width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--orange-tint);
}
.coming-soon-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--orange-ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 960px) {
  .cards { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}

/* ---------- Gallery ---------- */
.gallery { background: var(--surface); }

.g-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}
.g-feature { grid-column: span 2; grid-row: span 2; }
.g-tall    { grid-row: span 2; }

.g-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sand);
  isolation: isolate;
}
.g-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease-out);
}
.g-feature img { object-position: 50% 40%; }
.g-item img[src*="winter-coats"] { object-position: 50% 55%; }
.g-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20, 18, 15, .6), transparent 50%);
  opacity: 0; transition: opacity .4s;
}
.g-cap {
  position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1;
  display: flex; align-items: center; gap: 8px;
  color: #fff; font-weight: 600; font-size: .95rem;
  opacity: 0; transform: translateY(10px);
  transition: opacity .4s, transform .4s var(--ease-out);
}
.g-cap::before {
  content: ""; width: 14px; height: 14px; flex: none;
  background: var(--orange);
  -webkit-mask: var(--paw-mask) center / contain no-repeat;
          mask: var(--paw-mask) center / contain no-repeat;
}
.g-item:hover img, .g-item:focus-visible img { transform: scale(1.06); }
.g-item:hover::after, .g-item:focus-visible::after,
.g-item:hover .g-cap, .g-item:focus-visible .g-cap { opacity: 1; transform: none; }
@media (hover: none) {
  .g-item::after { opacity: 1; }
  .g-cap { opacity: 1; transform: none; font-size: .85rem; }
}

.gallery-more { text-align: center; margin: 36px 0 0; color: var(--ink-soft); }
.gallery-more[hidden], .gallery-more a[hidden] { display: none; }
.gallery-more a { font-weight: 600; }

@media (max-width: 760px) {
  .g-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 10px; }
  .g-item { border-radius: var(--radius-sm); }
}

/* Lightbox */
.lightbox {
  width: 100%; height: 100%;
  max-width: 100%; max-height: 100%;
  margin: 0; padding: 24px;
  border: 0; background: transparent;
  color: #fff;
}
.lightbox[open] {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  animation: fade-in .3s;
}
.lightbox::backdrop { background: rgba(20, 18, 15, .96); }
.lb-figure { margin: 0; display: flex; flex-direction: column; align-items: center; min-width: 0; }
.lb-img {
  max-width: 100%; max-height: calc(100vh - 140px);
  width: auto; height: auto;
  border-radius: var(--radius-sm);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
  animation: lb-in .4s var(--ease-out);
}
@keyframes lb-in { from { opacity: 0; transform: scale(.96); } }
.lb-caption { display: flex; gap: 16px; justify-content: center; align-items: baseline; margin-top: 16px; font-weight: 500; }
.lb-count { color: rgba(255, 255, 255, .55); font-size: .9rem; }

.lb-btn {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .08);
  color: #fff; cursor: pointer;
  transition: background .2s, transform .2s;
}
.lb-btn:hover { background: rgba(255, 255, 255, .2); }
.lb-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lb-prev svg { transform: rotate(180deg); }
.lb-close { position: absolute; top: 20px; right: 20px; z-index: 2; }

@media (max-width: 640px) {
  .lightbox { padding: 72px 12px 24px; }
  .lightbox[open] { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; }
  .lb-figure { grid-column: 1 / -1; grid-row: 1; }
  .lb-prev { grid-row: 2; justify-self: end; }
  .lb-next { grid-row: 2; justify-self: start; }
  .lb-close { top: 14px; right: 14px; }
}

/* ---------- Booking ---------- */
.booking { background: var(--surface); padding-top: 0; }

.booking-box {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px 56px;
  background:
    radial-gradient(500px 300px at 100% 0%, rgba(255, 255, 255, .08), transparent 70%),
    var(--green-dark);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px 64px;
  overflow: hidden;
}
.booking-paw {
  position: absolute; right: -30px; bottom: -40px;
  width: 220px; height: 220px; fill: #fff; opacity: .06;
  transform: rotate(-18deg); pointer-events: none;
}
.booking-copy { position: relative; }
.booking .eyebrow { color: #FFD3A6; }
.booking .eyebrow::before { background: #FFD3A6; }
.booking h2 { color: #fff; }
.booking-copy p:last-child { margin-bottom: 0; max-width: 54ch; color: rgba(255, 255, 255, .85); font-size: 1.1rem; }
.booking-actions { position: relative; display: flex; flex-direction: column; gap: 12px; }

.booking .btn { background: #fff; border-color: #fff; color: var(--green-dark); box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }
.booking .btn:hover { background: var(--orange-tint); border-color: var(--orange-tint); color: var(--green-dark); }
.booking .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); box-shadow: none; }
.booking .btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; color: #fff; }

.propet-slot {
  grid-column: 1 / -1;
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
}
.propet-slot iframe { width: 100%; height: 760px; border: 0; }

@media (max-width: 820px) {
  .booking-box { grid-template-columns: 1fr; padding: 44px 24px; text-align: center; }
  .booking-copy p:last-child { margin-left: auto; margin-right: auto; }
  .booking-actions { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .propet-slot iframe { height: 680px; }
}
@media (max-width: 480px) { .booking-actions .btn { width: 100%; } }

/* ---------- Contact ---------- */
.contact { background: var(--sand); }

.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 28px; align-items: stretch; }
.contact-list { display: flex; flex-direction: column; gap: 14px; }

.contact-item {
  display: flex; align-items: center; gap: 18px;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600; font-size: 1.08rem; line-height: 1.4;
  transition: border-color .3s, transform .3s var(--ease-out), box-shadow .3s;
  overflow-wrap: anywhere;
}
a.contact-item:hover { color: var(--ink); border-color: var(--green); transform: translateX(4px); box-shadow: var(--shadow-sm); }
.contact-item small {
  display: block;
  font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange-ink);
}
.contact-icon {
  flex: none;
  width: 50px; height: 50px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--green-tint);
}
.contact-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.social { display: flex; align-items: center; gap: 12px; padding: 6px 4px; }
.social[hidden], .social-link[hidden] { display: none; }
.social-label { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-ink); margin-right: 4px; }
.social-link {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line);
  color: var(--green);
  transition: transform .3s var(--ease-out), background .3s, color .3s;
}
.social-link:hover { color: #fff; background: var(--green); transform: translateY(-3px); }
.social-link svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 340px;
  background: var(--green-tint);
  border: 1px solid var(--line);
}
.map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; }

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-deep); color: rgba(255, 255, 255, .72); padding: 72px 0 0; font-size: .98rem; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: #FFD3A6; }

.footer-inner {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.brand-light .brand-word { color: #F2A65A; }
.brand-light .brand-word em { color: #9CCB8E; }
.footer-tag { margin: 14px 0 0; font-family: var(--font-head); font-style: italic; font-size: 1.15rem; color: rgba(255, 255, 255, .6); }

.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-contact p { margin: 0 0 14px; }

.social-footer { padding: 4px 0 0; }
.social-footer .social-link { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .15); color: #fff; }
.social-footer .social-link:hover { background: var(--orange); border-color: var(--orange); color: #fff; }

.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px;
  padding-top: 24px; padding-bottom: 28px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .88rem; color: rgba(255, 255, 255, .5);
}
.footer-bottom p { margin: 0; display: inline-flex; align-items: center; gap: .4em; }
.footer-paw { width: 14px; height: 14px; fill: var(--orange); }

@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 32px; }
  .footer-nav { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 10px 22px; }
  .social-footer { justify-content: center; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* ---------- 404 ---------- */
.not-found {
  min-height: 100vh;
  display: grid; place-items: center;
  text-align: center;
  padding: 48px 0;
}
.not-found .lede { margin: 0 auto; }
.not-found .hero-actions { justify-content: center; }

/* ---------- Reveal on scroll ----------
   Uses `translate` (not `transform`) so hover transforms still work. */
.js [data-reveal],
.js [data-reveal-group] > * {
  opacity: 0;
  translate: 0 28px;
  transition: opacity .8s var(--ease-out), translate .8s var(--ease-out);
}
.js [data-reveal].is-visible,
.js [data-reveal-group].is-visible > * { opacity: 1; translate: none; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .paw-trail { display: none; }
  .js [data-reveal], .js [data-reveal-group] > * { opacity: 1; translate: none; }
}
