/* =========================================================
   Perro Andaluz — Pet Hospital, Tijuana
   Brand: terracotta #CC9781 · tan #CA9C72 · brown #976A4B
   Type: Poppins (display) + Plus Jakarta Sans (text)
   ========================================================= */

:root {
  --terracotta: #cc9781;
  --terracotta-600: #b97c64;
  --terracotta-100: #f4e4dc;
  --tan: #ca9c72;
  --sand: #cca481;
  --brown: #976a4b;
  --brown-800: #5c3f2c;
  --ink: #1e1e1e;
  --ink-2: #33373d;
  --muted: #69727d;
  --cream: #fbf6f1;
  --paper: #ffffff;
  --line: #ecdfd6;

  --font-display: 'Poppins', system-ui, sans-serif;
  --font-text: 'Plus Jakarta Sans', system-ui, sans-serif;

  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 36px;
  --shadow-sm: 0 2px 10px rgba(92, 63, 44, .08);
  --shadow: 0 18px 40px -18px rgba(92, 63, 44, .35);
  --shadow-lg: 0 30px 70px -30px rgba(92, 63, 44, .45);

  --container: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  transition: opacity .16s ease;
}
body.lang-fade main, body.lang-fade .site-header .main-nav { opacity: .35; transition: opacity .16s ease; }
body.menu-open { overflow: hidden; }

img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3rem); font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
strong { color: var(--ink); font-weight: 700; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.center { text-align: center; }

.skip-link { position: absolute; left: 1rem; top: -100px; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 8px; z-index: 1000; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--brown); outline-offset: 3px; border-radius: 6px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 500; font-size: .85rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--brown);
  margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.eyebrow.light { color: #fff; }

.section-head { max-width: 760px; margin: 0 auto 3rem; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section-head.light h2, .section-head.light p { color: #fff; }
.section-head.light .eyebrow { color: #fff; }

/* ---------------- Buttons ---------------- */
.btn {
  --bg: var(--terracotta); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  background: var(--bg); color: var(--fg);
  font-family: var(--font-display); font-weight: 500; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn .i { width: 1.2em; height: 1.2em; fill: currentColor; flex: none; }
.btn-primary { --bg: var(--terracotta); }
.btn-primary:hover { --bg: var(--terracotta-600); }
.btn-dark { --bg: var(--ink); }
.btn-dark:hover { --bg: #000; }
.btn-cream { --bg: var(--cream); --fg: var(--ink); }
.btn-outline { --bg: transparent; --fg: var(--brown); border-color: var(--terracotta); }
.btn-outline:hover { --bg: var(--terracotta); --fg: #fff; }
.btn-glass { --bg: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .5); backdrop-filter: blur(8px); }
.btn-glass:hover { --bg: #fff; --fg: var(--ink); }
.btn-ghost-dark { --bg: transparent; --fg: var(--ink); border-color: var(--line); }
.btn-sm { padding: .6rem 1.1rem; font-size: .92rem; }
.btn-lg { padding: 1rem 1.8rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

.text-link { color: var(--brown); font-weight: 600; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ---------------- Utility bar ---------------- */
.topbar { background: var(--brown-800); color: rgba(255, 255, 255, .88); font-size: .85rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; }
.topbar-status { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; }
.topbar-links { display: flex; gap: 1.4rem; }
.topbar a { display: inline-flex; align-items: center; gap: .4rem; text-decoration: none; color: inherit; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 15px; height: 15px; fill: var(--terracotta); }

.status-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #bbb; }
.is-open .status-dot { background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .7); animation: pulse 2s infinite; }
.is-closed .status-dot { background: #ef4444; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(251, 246, 241, .9);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  color: var(--ink);
  transition: box-shadow .35s var(--ease);
}
.site-header.scrolled { box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(92, 63, 44, .4); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand img { width: 48px; height: 48px; border-radius: 50%; transition: transform .4s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.05); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: inherit; }
.brand-text small { font-size: .78rem; color: var(--muted); letter-spacing: .04em; }

.main-nav ul { list-style: none; display: flex; gap: .3rem; margin: 0; padding: 0; }
.main-nav ul a {
  position: relative; display: block; padding: .5rem .85rem; border-radius: 999px;
  text-decoration: none; font-family: var(--font-display); font-weight: 500; font-size: .95rem;
  transition: background-color .2s;
}
.main-nav ul a:hover { background: var(--terracotta-100); }
.main-nav ul a.active::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--terracotta); }
.nav-mobile-extra { display: none; }

.header-actions { display: flex; align-items: center; gap: .6rem; }
.lang-switch { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.lang-switch button {
  border: 0; background: transparent; color: inherit; cursor: pointer;
  font: 600 .8rem/1 var(--font-display); letter-spacing: .06em;
  padding: .48rem .7rem; border-radius: 999px; transition: background-color .25s, color .25s;
}
.lang-switch button[aria-pressed="true"] { background: var(--terracotta); color: #fff; }

.icon-btn { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); transition: background-color .2s; }
.icon-btn:hover { background: var(--terracotta); color: #fff; border-color: var(--terracotta); }
.icon-btn svg { width: 18px; height: 18px; fill: currentColor; }

.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: inherit; cursor: pointer; padding: 10px; border-radius: 50%; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------- Hero ----------------
   Split layout: copy left / playful media right (blob video + pet stickers) */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--terracotta-100); padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(7rem, 10vw, 9rem); }
.hero-deco { position: absolute; inset: 0; z-index: -1; background: url(../assets/img/bg/pattern-3.webp) center / 1100px repeat; opacity: .35; filter: sepia(1) saturate(2) hue-rotate(-20deg) brightness(.75); mix-blend-mode: multiply; }
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }

.hero-eyebrow { display: flex; align-items: center; gap: .75rem; margin: 0 0 1.2rem; font-family: var(--font-display); font-weight: 600; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brown); }
.hero-eyebrow .line { width: 36px; height: 2px; background: currentColor; }
.hero-title { font-size: clamp(2.5rem, 1.3rem + 4vw, 4.5rem); font-weight: 700; line-height: 1.02; letter-spacing: -.025em; margin: 0 0 1.3rem; }
.hero-title > span, .hero-title > em { display: block; }
.hero-title em { position: relative; width: fit-content; font-style: normal; color: var(--terracotta-600); }
.scribble { position: absolute; left: 0; right: 0; bottom: -.08em; width: 100%; height: .28em; overflow: visible; }
.scribble path { fill: none; stroke: var(--terracotta); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw 1.1s .6s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-sub { font-size: clamp(1.05rem, .95rem + .45vw, 1.25rem); max-width: 34rem; color: var(--ink-2); margin-bottom: 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2.4rem; }

.hero-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.2rem; }
.hero-trust > * + * { padding-left: 1.2rem; border-left: 1px solid rgba(151, 106, 75, .25); }
.trust-reviews { display: flex; align-items: center; gap: .8rem; text-decoration: none; }
.avatars { display: flex; }
.avatars img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 3px solid var(--terracotta-100); margin-left: -12px; }
.avatars img:first-child { margin-left: 0; }
.trust-text, .trust-item { display: flex; flex-direction: column; line-height: 1.25; }
.hero-trust strong { font-family: var(--font-display); font-size: 1rem; }
.hero-trust small { font-size: .82rem; color: var(--muted); }
.trust-reviews:hover small { color: var(--brown); text-decoration: underline; }

/* media */
.hero-visual { position: relative; aspect-ratio: 1 / 1; max-width: 560px; width: 100%; justify-self: center; }
.hero-blob {
  position: absolute; inset: 6% 4% 6% 8%; overflow: hidden; background: var(--brown);
  border-radius: 58% 42% 48% 52% / 46% 54% 46% 54%;
  border: 8px solid #fff; box-shadow: var(--shadow-lg);
  animation: morph 14s ease-in-out infinite;
}
.hero-blob video { width: 100%; height: 100%; object-fit: cover; }
@keyframes morph {
  50% { border-radius: 44% 56% 58% 42% / 56% 44% 56% 44%; }
}
.video-toggle { position: absolute; left: 14%; bottom: 40%; z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-sm); }
.video-toggle svg { width: 18px; height: 18px; fill: currentColor; }
.video-toggle .ic-play, .video-toggle.is-paused .ic-pause { display: none; }
.video-toggle.is-paused .ic-play { display: block; }

/* sticker pets (white die-cut outline like stickers) */
.sticker { position: absolute; z-index: 2; height: auto; filter: drop-shadow(3px 0 0 #fff) drop-shadow(-3px 0 0 #fff) drop-shadow(0 3px 0 #fff) drop-shadow(0 -3px 0 #fff) drop-shadow(0 12px 16px rgba(92, 63, 44, .35)); animation: bob 6s ease-in-out infinite; }
.s-dog { width: 40%; left: -6%; bottom: -4%; transform: rotate(-6deg); }
.s-cat { width: 30%; right: -4%; bottom: 4%; animation-delay: -2s; }
.s-flag { width: 18%; right: 0; top: 34%; animation-delay: -4s; }
@keyframes bob { 50% { translate: 0 -10px; } }

.handwrite { position: absolute; z-index: 2; left: -8%; top: -10%; width: 92%; overflow: visible; }
.handwrite text { font-family: 'Caveat', cursive; font-size: 27px; font-weight: 700; fill: var(--brown); }
.doodle-arrow { position: absolute; z-index: 2; right: -4%; top: -6%; width: 12%; overflow: visible; }
.doodle-arrow path { fill: none; stroke: var(--terracotta-600); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }

.float-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: .75rem; padding: .75rem 1.1rem; border-radius: 18px; background: rgba(255, 255, 255, .95); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); line-height: 1.25; }
.float-card strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: .98rem; }
.float-card small { color: var(--muted); font-size: .8rem; }
.card-status { left: 2%; top: 22%; animation: rise .9s .5s var(--ease) both; }

.hero-copy > * { animation: rise .9s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; }
.hero-copy > :nth-child(5) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.torn-edge { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 46px; fill: var(--cream); }

/* ---------------- Consult card (overlaps hero edge) ---------------- */
.consult { position: relative; z-index: 2; margin-top: clamp(-6rem, -8vw, -4.5rem); }
.consult-card { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(1.2rem, 3vw, 2.5rem); padding: clamp(1.2rem, 2.5vw, 2rem); border-radius: var(--radius-lg); background: var(--paper); border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--terracotta); }
.consult-main { display: flex; flex-direction: column; }
.consult-head { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; margin-bottom: 1rem; }
.consult-head h2 { font-size: 1.35rem; margin: 0; }
.consult-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--terracotta-100); }
.consult-icon svg { width: 22px; height: 22px; fill: var(--terracotta-600); }
.consult-badge { margin-left: auto; padding: .3rem .75rem; border-radius: 999px; background: var(--brown); color: #fff; font-size: .75rem; font-weight: 700; }
.checks { list-style: none; padding: 0; margin: 0 0 1.3rem; display: grid; gap: .55rem; }
.checks li { position: relative; padding-left: 1.9rem; font-size: .96rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .15em; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: #22c55e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 70% no-repeat; }
.consult-main .btn { margin-top: auto; }

.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.quick-grid a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; padding: 1rem .5rem; border-radius: var(--radius); background: var(--cream); text-decoration: none; text-align: center; transition: transform .3s var(--ease), background-color .3s, box-shadow .3s; }
.quick-grid a:hover { transform: translateY(-4px); background: var(--terracotta-100); box-shadow: var(--shadow-sm); }
.quick-grid span { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: #fff; overflow: hidden; }
.quick-grid img { width: 84%; height: 84%; object-fit: contain; transition: transform .4s var(--ease); }
.quick-grid a:hover img { transform: scale(1.12) rotate(-5deg); }
.quick-grid b { font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--ink); }
.q-promo { background: var(--brown) !important; }
.q-promo b { color: #fff; }
.q-promo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* ---------------- Mobile action bar ---------------- */
.mobile-bar { display: none; }

/* ---------------- Clients marquee ---------------- */
.clients { padding: 5rem 0 5rem; overflow: hidden; }
.marquee { position: relative; margin-bottom: 2.5rem; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 1.1rem; width: max-content; animation: marquee 70s linear infinite; padding: 1rem 0; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track figure { margin: 0; flex: none; width: clamp(180px, 20vw, 250px); aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transform: rotate(-1.5deg); transition: transform .4s var(--ease); cursor: zoom-in; }
.marquee-track figure:nth-child(even) { transform: rotate(1.5deg) translateY(14px); }
.marquee-track figure:hover { transform: rotate(0) scale(1.04); }
.marquee-track img { width: 100%; height: 100%; object-fit: cover; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } .marquee { overflow-x: auto; } }

/* ---------------- About ---------------- */
.about { padding: 5rem 0 7rem; }
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.about-text p { color: var(--ink-2); }
.directions-card { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.3rem; margin: 1.8rem 0 1.4rem; border-radius: var(--radius); background: var(--terracotta); color: #fff; box-shadow: var(--shadow); }
.directions-card strong { display: block; color: #fff; font-family: var(--font-display); font-weight: 500; }
.directions-card span { font-size: .92rem; opacity: .9; }

.socials { display: flex; gap: .6rem; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--terracotta); color: var(--terracotta); transition: background-color .25s, color .25s, transform .25s var(--ease); }
.socials a:hover { background: var(--terracotta); color: #fff; transform: translateY(-3px); }
.socials svg { width: 20px; height: 20px; fill: currentColor; }
.socials.light a { border-color: rgba(255, 255, 255, .6); color: #fff; }
.socials.light a:hover { background: #fff; color: var(--terracotta-600); }

.about-media { position: relative; }
.stack { position: relative; aspect-ratio: 5 / 5.2; }
.stack img { position: absolute; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.stack-a { inset: 0 18% 18% 0; width: 82%; height: 82%; transition: opacity .25s ease, transform .5s var(--ease); }
.stack-a.swap { opacity: 0; transform: scale(.98); }
.stack-b { right: 0; bottom: 0; width: 52%; height: 48%; border: 8px solid var(--cream); }
.badge-float { position: absolute; left: -1rem; bottom: 10%; display: flex; align-items: center; gap: .7rem; padding: .7rem 1.1rem .7rem .7rem; border-radius: 999px; background: var(--paper); box-shadow: var(--shadow); font-family: var(--font-display); font-weight: 500; font-size: .92rem; color: var(--ink); animation: float 5s ease-in-out infinite; }
.badge-float img { position: static; width: 44px; height: 44px; border-radius: 50%; box-shadow: none; }
@keyframes float { 50% { transform: translateY(-10px); } }
.thumbs { display: flex; gap: .6rem; margin-top: 1.2rem; }
.thumbs button { padding: 0; border: 3px solid transparent; border-radius: 14px; overflow: hidden; width: 74px; height: 56px; cursor: pointer; background: none; opacity: .6; transition: opacity .2s, border-color .2s; }
.thumbs button.active, .thumbs button:hover { opacity: 1; border-color: var(--terracotta); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* ---------------- Services ---------------- */
.services { position: relative; padding: 7rem 0; background: var(--terracotta); isolation: isolate; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.services-bg { position: absolute; inset: 0; z-index: -1; background: url(../assets/img/bg/pattern-1.webp) center / 1200px repeat; opacity: .9; border-radius: inherit; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-bottom: 3rem; }
.service-card {
  position: relative; padding: 1.6rem 1.4rem 1.5rem; border-radius: var(--radius); background: rgba(255, 255, 255, .96);
  box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease); overflow: hidden;
}
.service-card::after { content: ""; position: absolute; inset: auto -30% -60% auto; width: 180px; height: 180px; border-radius: 50%; background: var(--terracotta-100); z-index: -1; transition: transform .5s var(--ease); }
.service-card { z-index: 0; }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-card:hover::after { transform: scale(1.6); }
.service-icon { width: 96px; height: 96px; margin-bottom: 1rem; border-radius: 50%; background: var(--cream); display: grid; place-items: center; overflow: hidden; }
.service-icon img { width: 86%; height: 86%; object-fit: contain; transition: transform .5s var(--ease); }
.service-card:hover .service-icon img { transform: scale(1.1) rotate(-4deg); }
.service-card h3 { margin-bottom: .4rem; }
.service-card p { color: var(--muted); font-size: .96rem; margin: 0; }

.team-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .6rem; margin-bottom: 3rem; scrollbar-width: thin; }
.team-strip img { scroll-snap-align: start; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); width: 100%; box-shadow: var(--shadow); }

/* ---------------- Offers ---------------- */
.offers { padding: 0 0 6rem; background: linear-gradient(var(--terracotta) 0 50%, var(--cream) 50%); }
.offers-card { background: var(--brown); border-radius: var(--radius-lg); padding: clamp(2rem, 4vw, 3.5rem); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; isolation: isolate; }
.offers-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url(../assets/img/bg/pattern-3.webp) center / 1100px repeat; opacity: .5; }
.offers-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.offers-head h2 { color: #fff; margin: 0; max-width: 18ch; }
.carousel-nav { display: flex; gap: .6rem; }
.round-btn { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .5); background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; transition: background-color .2s, color .2s; }
.round-btn:hover { background: #fff; color: var(--brown); }
.round-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.offers-track { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 24%, 290px); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: .5rem .2rem 1.5rem; margin-bottom: 1.2rem; scrollbar-width: none; }
.offers-track::-webkit-scrollbar { display: none; }
.promo { scroll-snap-align: start; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius); overflow: hidden; aspect-ratio: 9 / 16; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6); transition: transform .4s var(--ease); }
.promo:hover { transform: translateY(-6px) rotate(-1deg); }
.promo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------------- Why us ---------------- */
.why { padding: 6rem 0; }
.why-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; }
.why-card { text-align: center; padding: 2rem 1.2rem; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .35s; }
.why-card img { width: 110px; height: 110px; object-fit: contain; margin: 0 auto 1.2rem; transition: transform .5s var(--ease); }
.why-card h3 { font-size: 1.02rem; font-weight: 500; margin: 0; }
.why-card:hover { transform: translateY(-6px); background: var(--terracotta); box-shadow: var(--shadow); }
.why-card:hover h3 { color: #fff; }
.why-card:hover img { transform: scale(1.08) rotate(4deg); }

/* ---------------- FAQ ---------------- */
.faq { position: relative; padding: 6rem 0; background: var(--sand); isolation: isolate; }
.faq-bg { position: absolute; inset: 0; z-index: -1; background: url(../assets/img/bg/pattern-1.webp) center / 1200px repeat; opacity: .8; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.faq-side { position: sticky; top: calc(var(--header-h) + 2rem); }
.faq-side h2, .faq-side .eyebrow { color: #fff; }
.hours-card { background: var(--paper); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.hours-card h3 { margin-bottom: .8rem; }
.hours-list { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.hours-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem .8rem; border-radius: 12px; font-size: .98rem; }
.hours-list li + li { border-top: 1px dashed var(--line); }
.hours-list li.today { background: var(--terracotta-100); border-color: transparent; font-weight: 700; color: var(--ink); }
.hours-list li.today + li { border-color: transparent; }
.hours-ctas { display: flex; gap: .6rem; flex-wrap: wrap; }

.faq-list { display: grid; gap: .8rem; }
.faq-list details { background: var(--paper); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); overflow: hidden; transition: box-shadow .3s; }
.faq-list details[open] { box-shadow: var(--shadow); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 1.3rem; font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; color: var(--ink); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--terracotta-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23976a4b' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .3s var(--ease), background-color .3s; }
.faq-list details[open] summary::after { transform: rotate(135deg); background-color: var(--terracotta); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E"); }
.faq-a { padding: 0 1.3rem 1.3rem; color: var(--muted); animation: open .35s var(--ease); }
.faq-a p:last-child { margin-bottom: 0; }
.faq-a .text-link { display: inline-block; margin-top: .6rem; }
.plain { margin: 0; padding-left: 1.1rem; }
@keyframes open { from { opacity: 0; transform: translateY(-6px); } }

/* ---------------- Contact ---------------- */
.contact { padding: 6rem 0; }
.contact-card { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.5rem, 4vw, 3.5rem); padding: clamp(2rem, 4vw, 3.5rem); border-radius: var(--radius-lg); background: var(--terracotta); color: #fff; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; isolation: isolate; }
.contact-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url(../assets/img/bg/pattern-3.webp) center / 1100px repeat; opacity: .6; }
.contact-info h2 { color: #fff; }
.contact-info > p { opacity: .92; font-size: 1.1rem; }
.contact-list { list-style: none; padding: 0; margin: 1.8rem 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; align-items: center; gap: 1rem; }
.contact-list small { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.contact-list a { color: #fff; text-decoration: none; font-weight: 600; }
.contact-list a:hover { text-decoration: underline; }
.ci { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--sand); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .3); }
.ci svg { width: 22px; height: 22px; fill: #fff; }

.contact-form { background: var(--paper); color: var(--ink-2); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow); }
.form-intro { color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: block; margin-bottom: 1rem; }
.field > span { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .35rem; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: .8rem 1rem; border-radius: 12px; border: 1.5px solid var(--line); background: var(--cream);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--terracotta); background: #fff; box-shadow: 0 0 0 4px var(--terracotta-100); }
.form-note { font-size: .85rem; color: var(--muted); text-align: center; margin: .8rem 0 0; }
.form-error { color: #b42318; font-weight: 600; text-align: center; margin: .6rem 0 0; }

.map-wrap { position: relative; margin-top: 2rem; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); height: 420px; background: var(--terracotta-100); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: saturate(.85) sepia(.12); }
.map-btn { position: absolute; left: 50%; bottom: 1.4rem; transform: translateX(-50%); }
.map-btn:hover { transform: translateX(-50%) translateY(-2px); }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .75); padding: 4rem 0 1.5rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-brand img { width: 72px; height: 72px; border-radius: 50%; }
.footer-brand strong { display: block; color: #fff; font-family: var(--font-display); font-weight: 500; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem 1rem; align-content: start; }
.footer-nav a, .footer-contact a { color: rgba(255, 255, 255, .75); text-decoration: none; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--terracotta); }
.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.5rem; font-size: .85rem; }
.footer-bottom a { color: rgba(255, 255, 255, .75); }

/* ---------------- Floating WhatsApp ---------------- */
.fab-wa { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 90; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6); transition: transform .3s var(--ease); }
.fab-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ring 2.4s infinite; }
.fab-wa:hover { transform: scale(1.08); }
.fab-wa svg { width: 30px; height: 30px; fill: currentColor; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }

/* ---------------- Lightbox ---------------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 560px); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(20, 12, 8, .82); backdrop-filter: blur(6px); }
.lightbox img { max-height: 88vh; width: auto; margin: auto; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lb-close { position: absolute; top: -18px; right: -18px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: var(--shadow); }
.lightbox[open] { animation: zoom .3s var(--ease); }
@keyframes zoom { from { opacity: 0; transform: scale(.94); } }

/* ---------------- Reveal ---------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1080px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .main-nav ul a { padding: .5rem .6rem; }
}

@media (max-width: 920px) {
  .menu-toggle { display: block; }
  .hide-sm { display: none !important; }
  .main-nav {
    position: fixed; inset: 0; z-index: 99; padding-top: calc(var(--header-h) + 3.5rem) !important;
    background: var(--cream); color: var(--ink);
    padding: 2rem 1.5rem; display: flex; flex-direction: column; gap: 2rem;
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .main-nav.open { opacity: 1; visibility: visible; transform: none; }
  .main-nav ul { flex-direction: column; gap: .2rem; }
  .main-nav ul a { font-size: 1.6rem; padding: .7rem 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav ul a:hover { background: none; color: var(--terracotta-600); }
  .main-nav ul a.active::after { display: none; }
  .nav-mobile-extra { display: grid; gap: .8rem; }
  body.menu-open .site-header { background: var(--cream); }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; margin-top: 1.5rem; }

  .about-grid, .faq-grid, .contact-card { grid-template-columns: 1fr; }
  .faq-side { position: static; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --header-h: 66px; }
  body { font-size: 1rem; }
  .brand-text small { display: none; }
  .brand img { width: 42px; height: 42px; }
  .hide-xs { display: none !important; }
  .topbar { font-size: .8rem; }
  .topbar-links { display: none; }
  .topbar-inner { justify-content: center; }
  .handwrite { left: 2%; width: 88%; top: -12%; }
  .doodle-arrow { right: 0; top: -9%; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-trust > .trust-item { display: none; }
  .handwrite text { font-size: 24px; }
  .card-status { top: 14%; left: 0; }
  .consult-card { grid-template-columns: 1fr; box-shadow: 6px 6px 0 var(--terracotta); }
  .quick-grid span { width: 56px; height: 56px; }
  .quick-grid b { font-size: .8rem; }
  .fab-wa { display: none; }
  body { padding-bottom: 76px; }
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: .5rem;
    padding: .6rem .7rem calc(.6rem + env(safe-area-inset-bottom)); background: rgba(251, 246, 241, .94);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line);
  }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: .4rem; padding: .75rem .4rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; font: 600 .92rem/1 var(--font-display); }
  .mobile-bar svg { width: 18px; height: 18px; fill: currentColor; }
  .mobile-bar .mb-primary { background: var(--terracotta); border-color: var(--terracotta); color: #fff; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { display: grid; grid-template-columns: 72px 1fr; column-gap: 1rem; align-items: center; padding: 1.1rem; }
  .service-icon { width: 72px; height: 72px; margin: 0; grid-row: span 2; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .why-card:last-child { grid-column: span 2; }
  .why-card { padding: 1.4rem .8rem; }
  .why-card img { width: 80px; height: 80px; }
  .offers-head { flex-direction: column; align-items: start; }
  .offers-track { grid-auto-columns: 72%; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .directions-card { flex-direction: column; align-items: start; }
  .badge-float { left: .5rem; font-size: .82rem; }
  .map-wrap { height: 340px; }
}

/* ---------------- Legal page ---------------- */
.legal-main { max-width: 820px; padding: 3rem 0 5rem; }
.legal-main h1 { font-size: clamp(2rem, 1.4rem + 2vw, 2.8rem); }
.legal-note { color: var(--muted); padding: 1rem 1.2rem; border-radius: var(--radius-sm); background: var(--terracotta-100); }
.legal-body h2 { font-size: 1.3rem; margin-top: 2.2rem; }
.legal-body p { color: var(--ink-2); }
