/* =========================================================
   My Dog Walking — shared styles (photo-led, editorial look)
   ========================================================= */

:root {
  --cream: #f6f1e9;
  --paper: #fffdf9;
  --sand: #ebe2d3;
  --ink: #1b1d1a;
  --ink-soft: #5d615a;
  --line: rgba(27, 29, 26, 0.1);
  --accent: #c8642f;
  --accent-2: #e08a55;
  --forest: #2c4636;
  --forest-2: #3d5c49;
  --sage: #d5dccb;
  --gold: #e3b25c;
  --white: #ffffff;

  --radius: 24px;
  --radius-sm: 14px;
  --shadow: 0 30px 60px -30px rgba(27, 29, 26, 0.45);
  --shadow-soft: 0 14px 34px -18px rgba(27, 29, 26, 0.3);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --bounce: cubic-bezier(0.34, 1.4, 0.64, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body); background: var(--cream); color: var(--ink);
  line-height: 1.65; font-size: 17px; overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display); font-weight: 500; line-height: 1.05;
  letter-spacing: -0.025em; font-variation-settings: "opsz" 144;
}
h1 em, h2 em, h3 em { font-style: italic; color: var(--accent); font-weight: 400; }

.container { width: min(1240px, 92vw); margin-inline: auto; }
.section { padding: clamp(80px, 10vw, 140px) 0; position: relative; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: currentColor; }
.section-title { font-size: clamp(38px, 5.2vw, 68px); margin-bottom: 22px; }
.section-lead { font-size: clamp(17px, 1.3vw, 19px); color: var(--ink-soft); max-width: 620px; }
.text-center { text-align: center; }
.text-center .section-lead { margin-inline: auto; }
.text-center .eyebrow::after { content: ""; width: 26px; height: 1.5px; background: currentColor; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; }

.highlight { position: relative; white-space: nowrap; font-style: italic; color: var(--accent); font-weight: 400; }
.highlight svg { position: absolute; left: -2%; bottom: -0.12em; width: 104%; height: 0.3em; overflow: visible; }
.highlight svg path {
  stroke: var(--gold); stroke-width: 5; fill: none; stroke-linecap: round;
  stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 1.2s var(--ease) 0.4s;
}
.is-visible .highlight svg path, .highlight.is-visible svg path { stroke-dashoffset: 0; }

.ico { width: 22px; height: 22px; flex: none; }

/* ---------- Photos ---------- */
.photo { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--sand); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity 0.6s; }
/* photos inside stretched grid cells must not drive the cell height */
.featured .photo img, .area-card .photo img, .t-card .photo img { position: absolute; inset: 0; }
.photo:hover img { transform: scale(1.05); }
.photo-reveal { clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease); transition-delay: var(--d, 0s); }
.photo-reveal.is-visible { clip-path: inset(0 0 0 0); }
.photo-reveal img { transform: scale(1.25); transition: transform 1.6s var(--ease); transition-delay: var(--d, 0s); }
.photo-reveal.is-visible img { transform: scale(1); }
.photo-reveal.is-visible:hover img { transform: scale(1.05); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--white);
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 17px 30px; border-radius: 999px; background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 15.5px; overflow: hidden; isolation: isolate;
  transition: transform 0.4s var(--bounce), color 0.3s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent);
  border-radius: inherit; transform: translateY(101%); transition: transform 0.45s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn .arrow { transition: transform 0.35s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }
.btn--accent { --bg: var(--accent); }
.btn--accent::before { background: var(--ink); }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost:hover { color: var(--white); }
.btn--ghost::before { background: var(--ink); }
.btn--light { --bg: var(--paper); --fg: var(--ink); }
.btn--light::before { background: var(--gold); }
.btn--outline-light { --bg: transparent; --fg: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.6); }
.btn--outline-light::before { background: var(--white); }
.btn--outline-light:hover { color: var(--ink); }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
  width: min(1240px, 94vw); z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 10px 10px 22px; border-radius: 999px;
  background: rgba(255, 253, 249, 0.78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  transition: transform 0.5s var(--ease), box-shadow 0.3s, background 0.3s;
}
.header.is-scrolled { box-shadow: var(--shadow-soft); background: rgba(255, 253, 249, 0.92); }
.header.is-hidden { transform: translate(-50%, -140%); }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 21px; letter-spacing: -0.02em; }
.logo-mark { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; transition: transform 0.6s var(--bounce), background 0.3s; }
.logo:hover .logo-mark { transform: rotate(-20deg); background: var(--accent); }
.logo-mark svg { width: 21px; fill: var(--cream); }
.logo span em { font-style: italic; font-weight: 400; color: var(--accent); }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { position: relative; padding: 10px 16px; border-radius: 999px; font-weight: 500; font-size: 15px; transition: color 0.3s, background 0.3s; }
.nav a:not(.btn):hover { background: rgba(27, 29, 26, 0.06); }
.nav a.is-active { background: var(--ink); color: var(--white); }
.nav .btn { padding: 12px 22px; margin-left: 8px; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); position: relative; }
.menu-toggle span { position: absolute; left: 14px; width: 18px; height: 1.5px; background: var(--white); transition: transform 0.4s var(--ease), opacity 0.3s; }
.menu-toggle span:nth-child(1) { top: 17px; }
.menu-toggle span:nth-child(2) { top: 22.5px; }
.menu-toggle span:nth-child(3) { top: 28px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------- Page transition ---------- */
.page-transition { position: fixed; inset: 0; z-index: 1000; pointer-events: none; display: grid; place-items: center; }
.page-transition .pt-layer { position: absolute; inset: 0; transform-origin: bottom; transform: scaleY(1); }
.page-transition .pt-layer:nth-child(1) { background: var(--sand); }
.page-transition .pt-layer:nth-child(2) { background: var(--accent); }
.page-transition .pt-layer:nth-child(3) { background: var(--ink); }
.page-transition .pt-paw { position: relative; z-index: 2; width: 54px; fill: var(--cream); transition: opacity 0.3s, transform 0.5s var(--bounce); }
body.is-loaded .page-transition .pt-layer { transform: scaleY(0); transform-origin: top; transition: transform 0.8s var(--ease); }
body.is-loaded .page-transition .pt-layer:nth-child(1) { transition-delay: 0.2s; }
body.is-loaded .page-transition .pt-layer:nth-child(2) { transition-delay: 0.1s; }
body.is-loaded .page-transition .pt-paw { opacity: 0; transform: scale(0.5); }
body.is-leaving .page-transition .pt-layer { transform: scaleY(1); transform-origin: bottom; transition: transform 0.6s var(--ease); }
body.is-leaving .page-transition .pt-layer:nth-child(2) { transition-delay: 0.08s; }
body.is-leaving .page-transition .pt-layer:nth-child(3) { transition-delay: 0.16s; }
body.is-leaving .page-transition .pt-paw { opacity: 1; transform: scale(1); transition-delay: 0.4s; }

.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 101; background: var(--accent); transform-origin: left; transform: scaleX(0); }

.paw-print { position: fixed; width: 16px; height: 16px; pointer-events: none; z-index: 999; fill: var(--accent); opacity: 0.4; animation: pawFade 1.1s var(--ease) forwards; }
@keyframes pawFade {
  0% { opacity: 0.45; transform: translate(-50%, -50%) rotate(var(--r)) scale(0.4); }
  30% { opacity: 0.4; transform: translate(-50%, -50%) rotate(var(--r)) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) rotate(var(--r)) scale(0.8); }
}

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal="left"] { transform: translateX(-60px); }
[data-reveal="right"] { transform: translateX(60px); }
[data-reveal="scale"] { transform: scale(0.92); }
[data-reveal].is-visible { opacity: 1; transform: none; }
.split-line { display: block; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.06em; }
.split-line > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.is-visible .split-line > span, .split-line.is-visible > span { transform: none; }

/* ---------- Hero ---------- */
.hero { min-height: 100vh; padding: 140px 0 70px; position: relative; display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.hero h1 { font-size: clamp(48px, 6.8vw, 100px); margin-bottom: 28px; }
.rotator { display: inline-grid; overflow: hidden; vertical-align: bottom; padding-bottom: 0.12em; margin-bottom: -0.12em; font-style: italic; font-weight: 400; color: var(--accent); }
.rotator span { grid-area: 1 / 1; transform: translateY(140%); opacity: 0; transition: transform 0.8s var(--ease), opacity 0.5s; }
.rotator span.is-current { transform: none; opacity: 1; }
.rotator span.is-out { transform: translateY(-140%); opacity: 0; }
.hero p.lead { font-size: clamp(17px, 1.35vw, 20px); color: var(--ink-soft); max-width: 500px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 34px; margin-top: 50px; flex-wrap: wrap; padding-top: 30px; border-top: 1px solid var(--line); }
.hero-badge strong { font-family: var(--font-display); font-weight: 500; font-size: 38px; line-height: 1; display: block; letter-spacing: -0.03em; }
.hero-badge small { color: var(--ink-soft); font-size: 14px; }
.avatars { display: flex; align-items: center; }
.avatars img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 3px solid var(--cream); margin-left: -12px; }
.avatars img:first-child { margin-left: 0; }

.hero-art { position: relative; height: min(78vh, 680px); }
.hero-main { position: absolute; inset: 0 0 0 12%; border-radius: 200px 200px var(--radius) var(--radius); }
.hero-inset {
  position: absolute; left: 0; bottom: 8%; width: 38%; aspect-ratio: 3 / 4; border-radius: var(--radius);
  border: 6px solid var(--cream); box-shadow: var(--shadow); z-index: 2;
}
.hero-main, .hero-inset { will-change: transform; }
.float-chip {
  position: absolute; z-index: 3; background: rgba(255, 253, 249, 0.92); backdrop-filter: blur(10px);
  border-radius: 999px; padding: 10px 18px 10px 10px; display: flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 14px; box-shadow: var(--shadow-soft); animation: floaty 6s ease-in-out infinite;
}
.float-chip .dot { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--white); }
.float-chip .dot .ico { width: 18px; height: 18px; }
.float-chip small { display: block; font-weight: 500; color: var(--ink-soft); font-size: 12px; line-height: 1.2; }
.float-chip b { display: block; line-height: 1.2; }
.float-chip.c1 { top: 10%; right: -3%; }
.float-chip.c2 { bottom: 34%; right: -5%; animation-delay: -2s; }
.float-chip.c2 .dot { background: var(--accent); }
.float-chip.c3 { top: 30%; left: 2%; animation-delay: -4s; }
.float-chip.c3 .dot { background: var(--forest); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #3fae6a; display: inline-block; margin-right: 6px; animation: pulse 1.6s infinite; color: #3fae6a; }

/* ---------- Marquee ---------- */
.marquee { background: var(--ink); color: var(--cream); padding: 24px 0; overflow: hidden; position: relative; z-index: 3; }
.marquee.alt { background: var(--accent); }
.marquee-track { display: flex; gap: 46px; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: flex; align-items: center; gap: 46px; white-space: nowrap; font-family: var(--font-display); font-size: clamp(26px, 3.2vw, 42px); font-weight: 400; font-style: italic; }
.marquee-item svg { width: 26px; fill: var(--gold); }
.marquee.alt .marquee-item svg { fill: var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Service cards (photo) ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 60px; }
.service-card {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4.4;
  color: var(--white); display: flex; flex-direction: column; justify-content: flex-end; padding: 26px;
  isolation: isolate; transition: transform 0.6s var(--ease);
}
.service-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.service-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(20, 20, 18, 0.88) 100%);
  transition: background 0.5s;
}
.service-card:hover img { transform: scale(1.08); }
.service-card:hover::after { background: linear-gradient(180deg, rgba(200, 100, 47, 0.15) 0%, rgba(20, 20, 18, 0.92) 100%); }
.service-card .num { position: absolute; top: 22px; left: 24px; font-family: var(--font-display); font-style: italic; font-size: 18px; opacity: 0.9; }
.service-card .go {
  position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.2); backdrop-filter: blur(8px); display: grid; place-items: center;
  transition: transform 0.5s var(--bounce), background 0.3s;
}
.service-card:hover .go { transform: rotate(-45deg); background: var(--accent); }
.service-card h3 { font-size: 32px; margin-bottom: 8px; }
.service-card p { font-size: 15px; opacity: 0.85; max-height: 0; overflow: hidden; transition: max-height 0.6s var(--ease), opacity 0.4s; }
.service-card:hover p, .service-card:focus-visible p { max-height: 120px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 60px; }
.step { background: var(--paper); border-radius: var(--radius); padding: 38px 32px; border: 1px solid var(--line); transition: transform 0.5s var(--ease), background 0.4s, color 0.4s; }
.step:hover { transform: translateY(-8px); background: var(--forest); color: var(--cream); }
.step:hover p { color: rgba(246, 241, 233, 0.75); }
.step-num { font-family: var(--font-display); font-style: italic; font-size: 64px; line-height: 1; color: var(--accent); margin-bottom: 30px; display: block; }
.step:hover .step-num { color: var(--gold); }
.step h3 { font-size: 26px; margin-bottom: 10px; }
.step p { color: var(--ink-soft); transition: color 0.4s; }

/* ---------- Photo strip (scroll driven) ---------- */
.strip-section { background: var(--forest); color: var(--cream); overflow: hidden; border-radius: clamp(28px, 4vw, 56px); margin: 0 2vw; }
.strip-section .section-lead { color: rgba(246, 241, 233, 0.72); }
.photo-strip { display: flex; gap: 18px; margin-top: 60px; width: max-content; will-change: transform; padding-left: 4vw; }
.photo-strip .photo { width: clamp(240px, 26vw, 380px); aspect-ratio: 4 / 5; flex: none; border-radius: var(--radius); }
.photo-strip .photo:nth-child(even) { margin-top: 60px; }
.photo-strip figcaption { position: absolute; left: 16px; bottom: 16px; background: rgba(255, 253, 249, 0.92); color: var(--ink); padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.walk-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 70px; }
.walk-stat { border-top: 1px solid rgba(246, 241, 233, 0.2); padding-top: 22px; }
.walk-stat strong { font-family: var(--font-display); font-weight: 400; font-size: clamp(40px, 4.6vw, 62px); color: var(--gold); line-height: 1; display: block; letter-spacing: -0.03em; }
.walk-stat span { color: rgba(246, 241, 233, 0.72); font-size: 15px; }

/* ---------- Testimonials ---------- */
.testimonials { position: relative; margin-top: 50px; }
.t-viewport { overflow: hidden; border-radius: var(--radius); }
.t-track { display: flex; transition: transform 0.9s var(--ease); }
.t-slide { min-width: 100%; }
.t-card { background: var(--paper); border-radius: var(--radius); display: grid; grid-template-columns: 0.8fr 1.2fr; overflow: hidden; border: 1px solid var(--line); min-height: 420px; }
.t-card .photo { border-radius: 0; height: 100%; }
.t-body { padding: clamp(30px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.t-card blockquote { font-family: var(--font-display); font-size: clamp(22px, 2.3vw, 32px); font-weight: 400; line-height: 1.3; margin-bottom: 28px; letter-spacing: -0.015em; }
.t-card cite { font-style: normal; font-weight: 700; }
.t-card cite small { display: block; font-weight: 500; color: var(--ink-soft); }
.t-stars { color: var(--accent); letter-spacing: 4px; margin-bottom: 18px; font-size: 18px; }
.t-controls { display: flex; justify-content: space-between; align-items: center; margin-top: 26px; }
.t-dots { display: flex; gap: 8px; }
.t-dots button { width: 10px; height: 10px; border-radius: 999px; background: rgba(27, 29, 26, 0.2); transition: width 0.4s var(--ease), background 0.3s; }
.t-dots button.is-active { width: 36px; background: var(--accent); }
.t-arrows { display: flex; gap: 10px; }
.t-arrows button { width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; font-size: 20px; transition: background 0.3s, color 0.3s; }
.t-arrows button:hover { background: var(--ink); color: var(--white); }

/* ---------- CTA ---------- */
.cta { position: relative; border-radius: clamp(28px, 4vw, 56px); overflow: hidden; color: var(--white); min-height: 520px; display: flex; align-items: center; padding: clamp(40px, 7vw, 100px); isolation: isolate; }
.cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.1); will-change: transform; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20, 20, 18, 0.85) 0%, rgba(20, 20, 18, 0.35) 70%, rgba(20, 20, 18, 0.1) 100%); }
.cta h2 { font-size: clamp(40px, 5.4vw, 76px); margin-bottom: 20px; max-width: 640px; }
.cta h2 em { color: var(--gold); }
.cta p { font-size: 18px; opacity: 0.88; max-width: 470px; margin-bottom: 34px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--cream); padding: 90px 0 30px; margin-top: 100px; position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer .logo-mark { background: var(--accent); }
.footer p { color: rgba(246, 241, 233, 0.62); margin-top: 18px; max-width: 300px; font-size: 15px; }
.footer h4 { font-size: 13px; margin-bottom: 18px; color: var(--gold); font-family: var(--font-body); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer ul a { color: rgba(246, 241, 233, 0.8); transition: color 0.3s, padding 0.3s; font-size: 15.5px; }
.footer ul a:hover { color: var(--accent-2); padding-left: 6px; }
.footer-big { font-family: var(--font-display); font-weight: 400; font-style: italic; font-size: clamp(56px, 13vw, 210px); line-height: 0.95; letter-spacing: -0.04em; margin: 70px 0 30px; color: transparent; -webkit-text-stroke: 1px rgba(246, 241, 233, 0.22); white-space: nowrap; text-align: center; transition: color 0.6s; }
.footer-big:hover { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid rgba(246, 241, 233, 0.12); padding-top: 26px; font-size: 14px; color: rgba(246, 241, 233, 0.5); }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(246, 241, 233, 0.25); display: grid; place-items: center; transition: background 0.3s, transform 0.4s var(--bounce), border-color 0.3s; }
.socials a:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-4px); }
.socials svg { width: 17px; fill: currentColor; }
.back-top { position: absolute; top: -30px; right: 6vw; width: 60px; height: 60px; border-radius: 50%; background: var(--accent); color: var(--white); display: grid; place-items: center; font-size: 22px; box-shadow: var(--shadow); transition: transform 0.4s var(--bounce); }
.back-top:hover { transform: translateY(-6px); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 170px 0 70px; position: relative; }
.page-hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px; align-items: end; }
.page-hero h1 { font-size: clamp(50px, 7.6vw, 116px); margin-bottom: 26px; }
.page-hero .section-lead { font-size: clamp(17px, 1.4vw, 20px); }
.page-hero .photo { aspect-ratio: 4 / 4.4; border-radius: 220px 220px var(--radius) var(--radius); }
.crumbs { display: flex; gap: 10px; font-weight: 500; font-size: 14px; color: var(--ink-soft); margin-bottom: 26px; }
.crumbs a:hover { color: var(--accent); }

/* ---------- About ---------- */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.story-visual { position: relative; aspect-ratio: 4 / 4.6; }
.story-visual .photo { position: absolute; }
.story-visual .s1 { inset: 0 24% 16% 0; }
.story-visual .s2 { inset: 48% 0 0 40%; border: 6px solid var(--cream); box-shadow: var(--shadow); }
.story-badge { position: absolute; top: 8%; right: 4%; width: 150px; height: 150px; border-radius: 50%; background: var(--accent); color: var(--white); display: grid; place-items: center; text-align: center; z-index: 2; animation: spin 30s linear infinite; }
.story-badge strong { font-family: var(--font-display); font-weight: 400; font-size: 46px; line-height: 1; display: block; }
.story-badge span { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.story-badge > div { animation: spin 30s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.story-text p { color: var(--ink-soft); margin-bottom: 18px; font-size: 18px; }
.story-text p strong { color: var(--ink); font-weight: 600; }
.signature { font-family: var(--font-display); font-style: italic; font-size: 26px; color: var(--accent); margin-top: 10px; display: inline-block; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 60px; }
.value-card { background: var(--paper); border-radius: var(--radius); padding: 38px 32px; border: 1px solid var(--line); transition: transform 0.5s var(--ease), background 0.4s, color 0.4s; }
.value-card:hover { transform: translateY(-8px); background: var(--ink); color: var(--cream); }
.value-card:hover p { color: rgba(246, 241, 233, 0.72); }
.value-card .v-ico { width: 56px; height: 56px; border-radius: 50%; background: var(--sand); display: grid; place-items: center; margin-bottom: 26px; color: var(--accent); transition: transform 0.6s var(--bounce), background 0.4s; }
.value-card:hover .v-ico { transform: rotate(-12deg) scale(1.1); background: var(--accent); color: var(--white); }
.value-card h3 { font-size: 26px; margin-bottom: 12px; }
.value-card p { color: var(--ink-soft); transition: color 0.4s; font-size: 16px; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 60px; }
.team-card .photo { aspect-ratio: 3 / 4; margin-bottom: 18px; border-radius: 160px 160px var(--radius) var(--radius); transition: border-radius 0.6s var(--ease); }
.team-card:hover .photo { border-radius: var(--radius); }
.team-card .photo img { filter: grayscale(0.4); transition: transform 1.2s var(--ease), filter 0.6s; }
.team-card:hover .photo img { filter: none; }
.team-card h3 { font-size: 24px; }
.team-card p { color: var(--ink-soft); font-size: 15px; }

.timeline { position: relative; margin-top: 70px; max-width: 900px; margin-inline: auto; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--line); transform: translateX(-50%); }
.timeline-fill { position: absolute; left: 50%; top: 0; width: 2px; background: var(--accent); transform: translateX(-50%); height: 0; }
.tl-item { display: grid; grid-template-columns: 1fr 80px 1fr; align-items: center; margin-bottom: 44px; }
.tl-item .tl-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--cream); border: 3px solid var(--accent); margin: auto; position: relative; z-index: 1; transition: background 0.4s, transform 0.5s var(--bounce); }
.tl-item.is-visible .tl-dot { background: var(--accent); transform: scale(1.2); }
.tl-card { background: var(--paper); border-radius: var(--radius-sm); padding: 26px 28px; border: 1px solid var(--line); }
.tl-card .year { font-family: var(--font-display); font-style: italic; color: var(--accent); font-size: 20px; }
.tl-card h4 { font-size: 22px; margin: 4px 0 8px; }
.tl-card p { color: var(--ink-soft); font-size: 15.5px; }
.tl-item:nth-child(odd) .tl-card { grid-column: 1; grid-row: 1; }
.tl-item .tl-dot { grid-column: 2; grid-row: 1; }
.tl-item:nth-child(even) .tl-card { grid-column: 3; grid-row: 1; }

/* ---------- Services page ---------- */
.service-tabs {
  position: sticky; top: 92px; z-index: 50; display: flex; gap: 4px; justify-content: center; flex-wrap: wrap;
  padding: 6px; background: rgba(255, 253, 249, 0.9); backdrop-filter: blur(12px); border: 1px solid var(--line);
  border-radius: 999px; width: max-content; max-width: 94vw; margin: 0 auto; box-shadow: var(--shadow-soft);
}
.service-tabs a { padding: 11px 20px; border-radius: 999px; font-weight: 500; font-size: 15px; display: flex; align-items: center; gap: 8px; transition: background 0.3s, color 0.3s; }
.service-tabs a .ico { width: 18px; height: 18px; }
.service-tabs a:hover { background: var(--sand); }
.service-tabs a.is-active { background: var(--ink); color: var(--white); }

.service-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; scroll-margin-top: 170px; }
.service-detail.reverse .sd-visual { order: 2; }
.sd-visual { position: relative; }
.sd-visual .photo { aspect-ratio: 4 / 4.6; }
.sd-visual .tag {
  position: absolute; z-index: 2; background: rgba(255, 253, 249, 0.94); backdrop-filter: blur(8px);
  padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; display: flex; gap: 8px; align-items: center;
  box-shadow: var(--shadow-soft); animation: floaty 6s ease-in-out infinite;
}
.sd-visual .tag .ico { width: 18px; height: 18px; color: var(--accent); }
.sd-content h2 { font-size: clamp(38px, 4.4vw, 60px); margin-bottom: 18px; }
.sd-content > p { color: var(--ink-soft); font-size: 18px; margin-bottom: 26px; }
.check-list { list-style: none; display: grid; gap: 14px; margin-bottom: 30px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list li::before { content: "✓"; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--forest); color: var(--white); display: grid; place-items: center; font-weight: 700; font-size: 13px; margin-top: 2px; }
.price-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.price-pill { background: var(--paper); border-radius: var(--radius-sm); padding: 14px 20px; border: 1px solid var(--line); }
.price-pill small { display: block; color: var(--ink-soft); font-size: 13px; font-weight: 500; }
.price-pill strong { font-family: var(--font-display); font-weight: 500; font-size: 28px; }
.price-pill strong span { font-family: var(--font-body); font-size: 14px; font-weight: 500; color: var(--ink-soft); }

.food-flow { background: var(--ink); color: var(--cream); border-radius: var(--radius); padding: clamp(30px, 5vw, 64px); }
.food-flow h3 { font-size: clamp(30px, 3.2vw, 46px); margin-bottom: 10px; }
.food-flow h3 em { color: var(--gold); }
.food-flow > p { color: rgba(246, 241, 233, 0.7); margin-bottom: 40px; max-width: 640px; }
.flow-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.flow-step { background: rgba(246, 241, 233, 0.05); border: 1px solid rgba(246, 241, 233, 0.1); border-radius: var(--radius-sm); padding: 26px 22px; position: relative; transition: background 0.4s, transform 0.5s var(--ease); }
.flow-step:hover { background: var(--accent); transform: translateY(-8px); }
.flow-step .fs-icon { width: 48px; height: 48px; border-radius: 50%; background: rgba(246, 241, 233, 0.1); display: grid; place-items: center; margin-bottom: 18px; color: var(--gold); }
.flow-step:hover .fs-icon { color: var(--white); background: rgba(255, 255, 255, 0.2); }
.flow-step .fs-n { position: absolute; top: 20px; right: 22px; font-family: var(--font-display); font-style: italic; opacity: 0.4; font-size: 26px; }
.flow-step h4 { font-size: 21px; margin-bottom: 6px; }
.flow-step p { font-size: 15px; color: rgba(246, 241, 233, 0.7); }
.flow-step:hover p { color: var(--white); }

.estimator { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; margin-top: 60px; }
.est-panel { background: var(--paper); border-radius: var(--radius); padding: clamp(28px, 4vw, 50px); border: 1px solid var(--line); }
.est-group { margin-bottom: 30px; }
.est-group > label, .est-label { font-weight: 600; display: block; margin-bottom: 12px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 11px 18px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 500; font-size: 15px; transition: all 0.3s var(--ease); background: var(--cream); user-select: none; display: inline-flex; align-items: center; gap: 8px; }
.chip .ico { width: 17px; height: 17px; }
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); color: var(--white); border-color: var(--ink); }
input[type="range"] { width: 100%; accent-color: var(--accent); }
.range-out { font-family: var(--font-display); font-size: 22px; color: var(--accent); }
.est-result { background: var(--forest); color: var(--cream); border-radius: var(--radius); padding: clamp(28px, 4vw, 50px); display: flex; flex-direction: column; justify-content: space-between; }
.est-result .total { font-family: var(--font-display); font-size: clamp(60px, 7vw, 96px); font-weight: 400; color: var(--gold); line-height: 1; margin: 10px 0; letter-spacing: -0.03em; }
.est-result .breakdown { list-style: none; display: grid; gap: 8px; margin: 20px 0 30px; font-size: 15px; color: rgba(246, 241, 233, 0.78); }
.est-result .breakdown li { display: flex; justify-content: space-between; border-bottom: 1px dashed rgba(246, 241, 233, 0.15); padding-bottom: 8px; }
.est-note { font-size: 13px; color: rgba(246, 241, 233, 0.55); margin-top: 14px; }

.faq { max-width: 860px; margin: 60px auto 0; display: grid; gap: 10px; }
.faq-item { background: var(--paper); border-radius: var(--radius-sm); border: 1px solid var(--line); overflow: hidden; }
.faq-q { width: 100%; text-align: left; padding: 24px 28px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-family: var(--font-display); font-weight: 500; font-size: 20px; }
.faq-q .plus { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--sand); position: relative; transition: background 0.3s, transform 0.5s var(--ease); }
.faq-q .plus::before, .faq-q .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); transition: transform 0.4s var(--ease); }
.faq-q .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.is-open .plus { background: var(--accent); transform: rotate(180deg); }
.faq-item.is-open .plus::before, .faq-item.is-open .plus::after { background: var(--white); }
.faq-item.is-open .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 28px 26px; color: var(--ink-soft); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }

/* ---------- Gallery ---------- */
.featured { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; background: var(--ink); color: var(--cream); border-radius: var(--radius); overflow: hidden; }
.featured .photo { border-radius: 0; min-height: 520px; }
.featured-body { padding: clamp(30px, 5vw, 70px); display: flex; flex-direction: column; justify-content: center; }
.featured-body h2 { font-size: clamp(42px, 5vw, 72px); margin-bottom: 8px; }
.featured-body h2 em { color: var(--gold); }
.featured-body .breed { color: rgba(246, 241, 233, 0.6); margin-bottom: 26px; }
.featured-body p { color: rgba(246, 241, 233, 0.8); margin-bottom: 28px; font-size: 17px; }
.medal { display: inline-flex; align-items: center; gap: 10px; background: var(--gold); color: var(--ink); padding: 8px 16px 8px 10px; border-radius: 999px; font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 26px; width: max-content; }
.medal .ico { width: 18px; height: 18px; }
.fact-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 30px; }
.fact { border: 1px solid rgba(246, 241, 233, 0.15); border-radius: var(--radius-sm); padding: 14px 16px; }
.fact small { display: block; color: rgba(246, 241, 233, 0.55); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; }
.fact strong { font-family: var(--font-display); font-weight: 500; font-size: 20px; }

.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 40px; }
.filter-bar .chip { background: transparent; }
.filter-bar .chip.is-on { background: var(--ink); color: var(--white); }
.filter-bar .chip .count { font-size: 12px; opacity: 0.6; }
.masonry { columns: 3 300px; column-gap: 16px; margin-top: 34px; }
.g-item {
  break-inside: avoid; margin-bottom: 16px; position: relative; border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in;
  background: var(--sand); display: block; width: 100%;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.g-item img { width: 100%; height: auto; transition: transform 1s var(--ease); }
.g-item:hover img { transform: scale(1.06); }
.g-item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 50px 18px 16px; color: var(--white);
  background: linear-gradient(180deg, transparent, rgba(20, 20, 18, 0.8));
  display: flex; justify-content: space-between; align-items: end; gap: 10px;
  opacity: 0; transform: translateY(10px); transition: opacity 0.4s, transform 0.5s var(--ease);
}
.g-item:hover figcaption, .g-item:focus-visible figcaption { opacity: 1; transform: none; }
.g-item figcaption strong { font-family: var(--font-display); font-weight: 500; font-size: 20px; display: block; line-height: 1.1; }
.g-item figcaption small { opacity: 0.8; font-size: 13px; }
.g-item .zoom { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, 0.25); backdrop-filter: blur(6px); display: grid; place-items: center; flex: none; }
.g-item.is-hidden { display: none; }
.g-item.is-entering { opacity: 0; transform: scale(0.94); }

.lightbox { position: fixed; inset: 0; z-index: 900; background: rgba(15, 15, 13, 0.94); display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity 0.4s; }
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox figure { max-width: min(1100px, 90vw); text-align: center; color: var(--cream); }
.lightbox img { max-height: 78vh; max-width: 100%; margin: 0 auto; border-radius: var(--radius-sm); transform: scale(0.94); transition: transform 0.5s var(--ease), opacity 0.3s; }
.lightbox.is-open img { transform: none; }
.lightbox figcaption { margin-top: 18px; }
.lightbox figcaption strong { font-family: var(--font-display); font-weight: 500; font-size: 26px; display: block; }
.lightbox figcaption span { color: rgba(246, 241, 233, 0.6); font-size: 14px; }
.lb-btn { position: absolute; width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(246, 241, 233, 0.3); color: var(--cream); display: grid; place-items: center; font-size: 22px; transition: background 0.3s, color 0.3s; }
.lb-btn:hover { background: var(--cream); color: var(--ink); }
.lb-close { top: 24px; right: 24px; }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; top: 34px; left: 30px; color: rgba(246, 241, 233, 0.6); font-size: 14px; letter-spacing: 0.1em; }

.vote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 50px; }
.vote-card { background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform 0.5s var(--ease), box-shadow 0.5s; }
.vote-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.vote-card .photo { aspect-ratio: 4 / 3.4; border-radius: 0; }
.vote-card .rank { position: absolute; top: 14px; left: 14px; background: rgba(255, 253, 249, 0.94); padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: 13px; z-index: 2; transition: background 0.3s, color 0.3s; }
.vote-card.is-leader .rank { background: var(--gold); }
.vote-body { padding: 22px 24px 24px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.vote-body h3 { font-size: 24px; }
.vote-body small { color: var(--ink-soft); font-size: 14px; }
.vote-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; font-size: 15px; transition: all 0.3s var(--ease); flex: none; }
.vote-btn .ico { width: 18px; height: 18px; transition: transform 0.5s var(--bounce); }
.vote-btn:hover { border-color: var(--accent); color: var(--accent); }
.vote-btn.is-voted { background: var(--accent); border-color: var(--accent); color: var(--white); }
.vote-btn.is-voted .ico { fill: currentColor; transform: scale(1.2); }
.vote-btn.pop .ico { animation: heartPop 0.6s var(--bounce); }
@keyframes heartPop { 0% { transform: scale(1); } 40% { transform: scale(1.7); } 100% { transform: scale(1.2); } }
.vote-bar { height: 4px; background: var(--sand); }
.vote-bar span { display: block; height: 100%; background: var(--accent); width: 0; transition: width 0.8s var(--ease); }
.vote-note { text-align: center; color: var(--ink-soft); font-size: 14px; margin-top: 22px; }

.share-card { margin-top: 30px; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; background: var(--sage); border-radius: var(--radius); padding: clamp(30px, 4vw, 54px); }
.share-card h3 { font-size: clamp(28px, 3vw, 42px); margin-bottom: 8px; }
.share-card p { color: var(--ink-soft); max-width: 560px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 30px; align-items: start; }
.info-stack { display: grid; gap: 12px; }
.info-card { background: var(--paper); border-radius: var(--radius-sm); padding: 20px 22px; display: flex; gap: 16px; align-items: center; border: 1px solid var(--line); transition: transform 0.4s var(--ease), background 0.4s, color 0.4s; }
a.info-card:hover { transform: translateX(8px); background: var(--ink); color: var(--cream); }
a.info-card:hover small { color: rgba(246, 241, 233, 0.6); }
a.info-card:hover .ic { background: var(--accent); color: var(--white); }
.info-card .ic { flex: none; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); color: var(--accent); transition: background 0.4s, color 0.4s; }
.info-card small { display: block; color: var(--ink-soft); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; transition: color 0.4s; }
.info-card strong { font-size: 16.5px; font-weight: 600; }
.hours { background: var(--forest); color: var(--cream); border-radius: var(--radius-sm); padding: 28px; }
.hours h4 { font-size: 22px; margin-bottom: 16px; }
.hours ul { list-style: none; display: grid; gap: 10px; }
.hours li { display: flex; justify-content: space-between; border-bottom: 1px dashed rgba(246, 241, 233, 0.18); padding-bottom: 10px; font-size: 15px; }
.open-now { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 600; font-size: 14px; color: var(--gold); }
.open-now i { width: 9px; height: 9px; border-radius: 50%; background: currentColor; animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 currentColor; } 100% { box-shadow: 0 0 0 10px transparent; } }

.form-card { background: var(--paper); border-radius: var(--radius); padding: clamp(28px, 4vw, 54px); box-shadow: var(--shadow); position: relative; overflow: hidden; border: 1px solid var(--line); }
.form-steps { display: flex; gap: 6px; margin-bottom: 34px; }
.form-steps span { flex: 1; height: 4px; border-radius: 4px; background: var(--sand); overflow: hidden; position: relative; }
.form-steps span::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease); }
.form-steps span.is-done::after { transform: scaleX(1); }
.form-step { display: none; animation: stepIn 0.6s var(--ease); }
.form-step.is-active { display: block; }
@keyframes stepIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
.form-step h3 { font-size: 32px; margin-bottom: 6px; }
.form-step > p { color: var(--ink-soft); margin-bottom: 26px; }
.svc-pick { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 10px; }
.svc-option { position: relative; }
.svc-option input { position: absolute; opacity: 0; pointer-events: none; }
.svc-option label { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); cursor: pointer; transition: all 0.3s var(--ease); background: var(--cream); }
.svc-option label .e { width: 46px; height: 46px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; color: var(--accent); flex: none; transition: transform 0.5s var(--bounce), background 0.3s, color 0.3s; }
.svc-option label strong { display: block; font-size: 16.5px; font-weight: 600; }
.svc-option label small { color: var(--ink-soft); font-size: 13.5px; }
.svc-option label:hover { border-color: var(--ink); }
.svc-option input:checked + label { border-color: var(--accent); background: #fbeee4; }
.svc-option input:checked + label .e { transform: rotate(-10deg); background: var(--accent); color: var(--white); }
.svc-option input:focus-visible + label { outline: 3px solid var(--gold); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; }
.field.full { grid-column: 1 / -1; }
.field input, .field select, .field textarea { width: 100%; padding: 26px 18px 10px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--cream); transition: border-color 0.3s, background 0.3s, box-shadow 0.3s; outline: none; font-size: 16px; }
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; cursor: pointer; }
.field label { position: absolute; left: 20px; top: 18px; color: var(--ink-soft); pointer-events: none; font-size: 16px; transition: all 0.25s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); background: var(--white); box-shadow: 0 0 0 4px rgba(200, 100, 47, 0.12); }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label, .field select + label { top: 7px; font-size: 12px; font-weight: 600; color: var(--accent); letter-spacing: 0.04em; }
.field.is-invalid input, .field.is-invalid select { border-color: #d0453b; animation: shake 0.4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.food-extra { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.6s var(--ease); }
.food-extra > div { overflow: hidden; }
.food-extra.is-open { grid-template-rows: 1fr; margin-top: 20px; }
.food-box { background: #fbeee4; border: 1.5px dashed var(--accent); border-radius: var(--radius-sm); padding: 22px; }
.food-box h4 { font-size: 21px; margin-bottom: 4px; display: flex; gap: 10px; align-items: center; }
.food-box h4 .ico { color: var(--accent); }
.food-box > p { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 16px; }
.food-box .field input, .food-box .field select { background: var(--white); }
.form-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 30px; gap: 12px; }
.form-error { color: #d0453b; font-weight: 600; font-size: 14px; min-height: 20px; margin-top: 10px; }
.summary { background: var(--cream); border-radius: var(--radius-sm); padding: 22px; display: grid; gap: 10px; font-size: 15.5px; }
.summary div { display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px dashed var(--line); padding-bottom: 8px; }
.summary div:last-child { border: none; padding: 0; }
.summary span { color: var(--ink-soft); }
.summary strong { text-align: right; font-weight: 600; }
.form-success { display: none; text-align: center; padding: 30px 0; animation: stepIn 0.6s var(--ease); }
.form-success.is-active { display: block; }
.success-badge { width: 110px; height: 110px; border-radius: 50%; background: var(--forest); color: var(--white); margin: 0 auto 26px; display: grid; place-items: center; font-size: 50px; animation: popIn 0.8s var(--bounce); }
@keyframes popIn { from { transform: scale(0) rotate(-90deg); } to { transform: none; } }
.form-success h3 { font-size: 38px; margin-bottom: 10px; }
.form-success p { color: var(--ink-soft); max-width: 420px; margin: 0 auto 26px; }
.confetti { position: absolute; width: 9px; height: 13px; top: -20px; pointer-events: none; animation: confetti 2.4s var(--ease) forwards; }
@keyframes confetti { to { transform: translate(var(--x), 700px) rotate(var(--rot)); opacity: 0; } }

.area-card { margin-top: 70px; border-radius: var(--radius); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; background: var(--sage); }
.area-card .area-body { padding: clamp(30px, 5vw, 64px); }
.area-card h3 { font-size: clamp(30px, 3.4vw, 46px); margin-bottom: 14px; }
.area-card p { color: var(--ink-soft); margin-bottom: 20px; }
.area-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.area-tags span { background: var(--paper); padding: 8px 16px; border-radius: 999px; font-weight: 500; font-size: 14px; }
.area-card .photo { border-radius: 0; min-height: 360px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services-grid, .team-grid, .flow-steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .vote-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  body { font-size: 16px; }
  .menu-toggle { display: block; }
  .nav { position: fixed; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--paper); border-radius: var(--radius); padding: 14px; gap: 2px; box-shadow: var(--shadow); opacity: 0; transform: translateY(-14px) scale(0.98); pointer-events: none; transition: all 0.4s var(--ease); }
  .nav a { padding: 15px 20px; font-size: 18px; }
  .nav .btn { margin: 8px 0 0; justify-content: center; }
  .menu-open .nav { opacity: 1; transform: none; pointer-events: auto; }
  .hero { padding-top: 120px; }
  .hero-grid, .page-hero-grid, .story-grid, .service-detail, .estimator, .contact-grid, .featured, .area-card, .t-card, .share-card { grid-template-columns: 1fr; }
  .service-detail { gap: 40px; }
  .service-detail.reverse .sd-visual { order: 0; }
  .hero-art { height: 520px; }
  .page-hero .photo { aspect-ratio: 4 / 3.4; }
  .steps { grid-template-columns: 1fr; }
  .walk-stats { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
  .t-card .photo { height: 280px; }
  .featured .photo { min-height: 360px; }
  .timeline::before, .timeline-fill { left: 11px; }
  .tl-item { grid-template-columns: 22px 1fr; gap: 22px; }
  .tl-item .tl-dot { grid-column: 1; }
  .tl-item .tl-card, .tl-item:nth-child(odd) .tl-card, .tl-item:nth-child(even) .tl-card { grid-column: 2; }
  .service-tabs { top: 80px; border-radius: 20px; }
  .service-tabs a { padding: 9px 12px; font-size: 14px; }
  .cta { min-height: 460px; }
}
@media (max-width: 600px) {
  .services-grid, .team-grid, .flow-steps, .footer-grid, .svc-pick, .field-grid, .vote-grid, .fact-row { grid-template-columns: 1fr; }
  .service-card p { max-height: 120px; }
  .float-chip { font-size: 12px; }
  .float-chip.c1 { right: 0; }
  .float-chip.c2 { right: 0; }
  .form-nav { flex-direction: column-reverse; align-items: stretch; }
  .form-nav .btn { justify-content: center; }
  .lb-prev, .lb-next { top: auto; bottom: 24px; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  [data-reveal], .split-line > span { opacity: 1; transform: none; }
  .photo-reveal { clip-path: none; }
}
