/* ============================================================
   Crown Veterinary Clinic — stylesheet
   Palette grounded in real signage + logo (CLAUDE-DESIGN.md):
   warm terracotta-orange + dark warm brown on cream, sky-blue accents.
   Mobile-first. WCAG AA. prefers-reduced-motion respected.
   ============================================================ */

:root {
  --bg:        #FBF7F2;
  --bg-2:      #F4EADF;
  --surface:   #FFFFFF;
  --text:      #3A2A22;
  --muted:     #7A6A60;
  --primary:   #E2541F;
  --primary-d: #C5430F;
  --secondary: #2C7A9E;
  --secondary-d:#235F7B;
  --accent:    #F2A03D;
  --accent-d:  #DB8A26;
  --whatsapp:  #1FA855;
  --border:    #ECE0D5;
  --focus:     #2C7A9E;

  --ink-on-primary: #FFF8F3;

  --maxw: 1180px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);

  --r-sm: 12px;
  --r:    18px;
  --r-lg: 26px;
  --r-xl: 34px;

  --shadow-sm: 0 1px 2px rgba(58,42,34,.04), 0 2px 8px rgba(58,42,34,.05);
  --shadow:    0 4px 14px rgba(58,42,34,.07), 0 12px 30px rgba(58,42,34,.06);
  --shadow-lg: 0 18px 50px rgba(58,42,34,.13);

  --font-head: 'Nunito', system-ui, sans-serif;
  --font-body: 'Mulish', system-ui, sans-serif;

  --header-h: 70px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: clamp(1rem, .96rem + .25vw, 1.08rem);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.1;
  letter-spacing: -.01em;
  color: var(--text);
  text-wrap: balance;
}
p { text-wrap: pretty; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 6vw, 4rem); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary);
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; background: var(--primary); border-radius: 2px;
}
.section-head { max-width: 640px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head h2 { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3rem); font-weight: 800; margin-top: .7rem; }
.section-head p { color: var(--muted); margin-top: 1rem; font-size: 1.08rem; }
.center { text-align: center; margin-inline: auto; }
.center .eyebrow { justify-content: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 800;
  padding: .85rem 1.4rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  min-height: 48px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn i { font-size: 1.25em; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--primary); color: var(--ink-on-primary); box-shadow: 0 8px 20px rgba(226,84,31,.28); }
.btn--primary:hover { background: var(--primary-d); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(226,84,31,.34); }
.btn--accent { background: var(--accent); color: #3A2410; box-shadow: 0 8px 20px rgba(242,160,61,.3); }
.btn--accent:hover { background: var(--accent-d); transform: translateY(-2px); }
.btn--wa { background: var(--whatsapp); color: #fff; box-shadow: 0 8px 20px rgba(31,168,85,.28); }
.btn--wa:hover { background: #178c46; transform: translateY(-2px); }
.btn--ghost { background: var(--surface); color: var(--text); border-color: var(--border); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.btn--light { background: rgba(255,255,255,.16); color: #fff; border-color: rgba(255,255,255,.32); }
.btn--light:hover { background: rgba(255,255,255,.26); }
.btn--lg { padding: 1rem 1.7rem; font-size: 1.05rem; min-height: 54px; }
.btn--block { width: 100%; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,247,242,.82);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 20px rgba(58,42,34,.05);
}
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: .6rem; min-width: 0; }
.brand img { height: 42px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.brand-text strong { font-family: var(--font-head); font-weight: 900; font-size: 1.05rem; color: var(--text); letter-spacing: -.02em; }
.brand-text span { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); font-weight: 700; }

.nav { display: none; }
.nav ul { list-style: none; display: flex; gap: .3rem; padding: 0; }
.nav a {
  display: block; padding: .55rem .8rem; border-radius: 10px;
  color: var(--text); font-weight: 700; font-family: var(--font-head); font-size: .96rem;
  transition: background .15s ease, color .15s ease;
}
.nav a:hover { background: var(--bg-2); color: var(--primary); }
.header-cta { display: none; align-items: center; gap: .6rem; }

.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  box-shadow: var(--shadow-sm);
}
.menu-toggle i { font-size: 1.5rem; }

@media (min-width: 940px) {
  .nav { display: block; }
  .header-cta { display: flex; }
  .menu-toggle { display: none; }
  .brand img { height: 46px; }
}

/* mobile drawer */
.mobile-menu {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(58,42,34,.45);
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(86%, 360px);
  background: var(--surface); padding: 1.1rem var(--gutter) 2rem;
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .3s cubic-bezier(.4,0,.2,1);
  box-shadow: var(--shadow-lg); overflow-y: auto;
}
.mobile-menu.open .mobile-panel { transform: translateX(0); }
.mobile-panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.mobile-panel nav ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .2rem; }
.mobile-panel nav a {
  display: flex; align-items: center; gap: .8rem;
  padding: .95rem .6rem; border-radius: 12px;
  font-family: var(--font-head); font-weight: 800; font-size: 1.18rem; color: var(--text);
  border-bottom: 1px solid var(--border);
}
.mobile-panel nav a i { color: var(--primary); font-size: 1.3rem; }
.mobile-panel nav a:hover { background: var(--bg-2); }
.mobile-panel .btn { margin-top: .7rem; }
.mobile-panel .panel-ctas { margin-top: auto; padding-top: 1.5rem; display: grid; gap: .7rem; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; padding-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: clamp(3rem, 7vw, 5rem); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 50% at 88% 12%, rgba(242,160,61,.16), transparent 70%),
    radial-gradient(50% 55% at 8% 90%, rgba(44,122,158,.10), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.hero .paws { position: absolute; inset: 0; z-index: 0; color: var(--primary); opacity: .07; pointer-events: none; }
.hero .paws i { position: absolute; }
.hero-grid {
  position: relative; z-index: 1;
  display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  padding: .45rem .9rem .45rem .55rem; border-radius: 999px;
  font-weight: 800; font-family: var(--font-head); font-size: .82rem; color: var(--text);
}
.hero-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--whatsapp); box-shadow: 0 0 0 4px rgba(31,168,85,.18); }
.hero h1 {
  font-size: clamp(2.2rem, 1.5rem + 4vw, 4rem);
  font-weight: 900; margin-top: 1.2rem; letter-spacing: -.025em;
}
.hero h1 .accentword { color: var(--primary); display: inline-block; }
.hero .lead { font-size: clamp(1.08rem, 1rem + .5vw, 1.3rem); color: var(--muted); margin-top: 1.2rem; max-width: 30ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 2rem; }
.hero-meta .item { display: flex; align-items: center; gap: .6rem; font-weight: 700; font-size: .95rem; }
.hero-meta .item i { color: var(--secondary); font-size: 1.4rem; }
.hero-meta .item small { display: block; color: var(--muted); font-weight: 600; font-size: .78rem; letter-spacing: .02em; }

/* hero visual */
.hero-visual { position: relative; justify-self: center; width: 100%; max-width: 460px; }
.hero-brandcard {
  position: relative; z-index: 2; border-radius: var(--r-xl);
  overflow: hidden; box-shadow: var(--shadow-lg); border: 6px solid var(--surface);
  aspect-ratio: 4/5; display: grid; place-items: center; padding: 2rem;
  background:
    radial-gradient(120% 85% at 50% 8%, #ffffff 0%, var(--bg) 46%, var(--bg-2) 100%);
}
.hero-brandcard::after {
  content: ""; position: absolute; inset: 14px; border-radius: calc(var(--r-xl) - 12px);
  border: 1.5px solid var(--border); pointer-events: none;
}
.brandcard-logo {
  position: relative; z-index: 2; width: 80%; max-width: 320px; height: auto;
  filter: drop-shadow(0 14px 28px rgba(226,84,31,.16));
}
.brandcard-paws { position: absolute; inset: 0; z-index: 1; color: var(--primary); opacity: .08; pointer-events: none; }
.brandcard-paws i { position: absolute; }
.hero-disc {
  position: absolute; z-index: 4; inset: auto;
  background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow);
  padding: .8rem 1rem; display: flex; align-items: center; gap: .7rem;
}
.hero-disc.top { top: 8%; left: -6%; }
.hero-disc.bottom { bottom: 7%; right: -4%; }
.hero-disc .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; flex: none; }
.hero-disc .ic.orange { background: var(--primary); }
.hero-disc .ic.blue { background: var(--secondary); }
.hero-disc i { font-size: 1.4rem; }
.hero-disc strong { display: block; font-family: var(--font-head); font-weight: 800; font-size: .95rem; line-height: 1.1; }
.hero-disc span { font-size: .78rem; color: var(--muted); }
.hero-blob {
  position: absolute; z-index: 1; width: 78%; aspect-ratio: 1; border-radius: 48% 52% 58% 42%;
  background: linear-gradient(135deg, var(--accent), var(--primary)); opacity: .16;
  top: -8%; right: -10%; filter: blur(2px);
}

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; }
  .hero .lead { max-width: 38ch; }
}

/* ============================================================
   MARQUEE / trust strip
   ============================================================ */
.trustbar { background: var(--text); color: var(--ink-on-primary); }
.trustbar .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2.2rem; justify-content: center; padding-block: 1.1rem; }
.trustbar .item { display: flex; align-items: center; gap: .6rem; font-family: var(--font-head); font-weight: 700; font-size: .95rem; }
.trustbar .item i { color: var(--accent); font-size: 1.3rem; }

/* ============================================================
   WHY / value cards
   ============================================================ */
.why-grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
.value-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 1.6rem; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.value-card .vic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 1rem; }
.value-card .vic i { font-size: 1.7rem; }
.value-card h3 { font-size: 1.2rem; font-weight: 800; }
.value-card p { color: var(--muted); margin-top: .5rem; font-size: .98rem; }
.tint-orange { background: rgba(226,84,31,.12); color: var(--primary); }
.tint-blue { background: rgba(44,122,158,.12); color: var(--secondary); }
.tint-amber { background: rgba(242,160,61,.16); color: var(--accent-d); }
.tint-green { background: rgba(31,168,85,.13); color: var(--whatsapp); }

@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }

/* ============================================================
   SERVICES
   ============================================================ */
.services { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.svc-grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
.svc-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 1.5rem; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative; overflow: hidden;
}
.svc-card::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--primary); transform: scaleY(0); transform-origin: top; transition: transform .25s ease;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.svc-card:hover::after { transform: scaleY(1); }
.svc-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1rem; }
.svc-ic i { font-size: 1.6rem; }
.svc-card h3 { font-size: 1.15rem; font-weight: 800; }
.svc-card p { color: var(--muted); margin-top: .45rem; font-size: .95rem; }

@media (min-width: 600px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 940px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }

.svc-note { margin-top: 1.6rem; font-size: .9rem; color: var(--muted); display: flex; gap: .5rem; align-items: flex-start; }
.svc-note i { color: var(--secondary); font-size: 1.1rem; margin-top: .1rem; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.about-media { position: relative; }
.about-media .frame {
  border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg);
  border: 6px solid var(--surface); background: var(--bg-2);
}
.about-media .frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 5/4; }
.about-media .cap { position: absolute; bottom: 1rem; left: 1rem; right: 1rem;
  background: rgba(58,42,34,.78); color: #fff; backdrop-filter: blur(4px);
  padding: .6rem .9rem; border-radius: 12px; font-size: .82rem; display: flex; align-items: center; gap: .5rem; }
.about-media .cap i { color: var(--accent); font-size: 1.1rem; }
.about-body h2 { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 2.9rem); font-weight: 800; margin-top: .7rem; }
.about-body p { color: var(--muted); margin-top: 1.1rem; font-size: 1.05rem; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.8rem; }
.about-stats .st { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 1rem; box-shadow: var(--shadow-sm); }
.about-stats .st strong { display: block; font-family: var(--font-head); font-weight: 900; font-size: 1.7rem; color: var(--primary); line-height: 1; }
.about-stats .st span { font-size: .82rem; color: var(--muted); font-weight: 600; }

@media (min-width: 860px) { .about-grid { grid-template-columns: 1fr 1.05fr; } }

/* ============================================================
   TEAM
   ============================================================ */
.team { background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%); }
.team-grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
.doc-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.doc-photo {
  aspect-ratio: 1; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 35%, var(--bg-2), #e7d9cb);
  color: var(--primary); position: relative;
}
.doc-photo i { font-size: 4.5rem; opacity: .55; }
.doc-photo .soon { position: absolute; bottom: .8rem; left: 50%; transform: translateX(-50%);
  background: rgba(255,255,255,.9); color: var(--muted); font-size: .72rem; font-weight: 700;
  padding: .3rem .7rem; border-radius: 999px; white-space: nowrap; letter-spacing: .03em; }
.doc-body { padding: 1.2rem 1.3rem 1.4rem; }
.doc-body h3 { font-size: 1.1rem; font-weight: 800; }
.doc-body .role { color: var(--primary); font-weight: 700; font-size: .9rem; }
.doc-body p { color: var(--muted); font-size: .92rem; margin-top: .5rem; }
.team-cta { margin-top: 2rem; text-align: center; }

@media (min-width: 620px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 940px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }

/* ============================================================
   LOCATIONS
   ============================================================ */
.loc-grid { display: grid; gap: 1.4rem; grid-template-columns: 1fr; }
.loc-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.loc-map {
  position: relative; aspect-ratio: 16/9; background:
    repeating-linear-gradient(45deg, var(--bg-2) 0 18px, #efe3d6 18px 36px);
  display: grid; place-items: center; color: var(--muted); overflow: hidden;
}
.loc-map img { width: 100%; height: 100%; object-fit: cover; }
.loc-map .map-ph { text-align: center; padding: 1rem; }
.loc-map .map-ph i { font-size: 2.4rem; color: var(--primary); }
.loc-map .map-ph span { display: block; font-family: var(--font-head); font-weight: 700; margin-top: .4rem; font-size: .92rem; }
.loc-map .map-ph small { font-size: .76rem; }
.loc-badge { position: absolute; top: .9rem; left: .9rem; background: var(--primary); color: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: .76rem; letter-spacing: .04em; text-transform: uppercase;
  padding: .35rem .75rem; border-radius: 999px; }
.loc-badge.new { background: var(--secondary); }
.loc-body { padding: 1.5rem; display: flex; flex-direction: column; gap: .9rem; flex: 1; }
.loc-body h3 { font-size: 1.3rem; font-weight: 800; }
.loc-row { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; }
.loc-row i { color: var(--secondary); font-size: 1.25rem; flex: none; margin-top: .05rem; }
.loc-row span small { display: block; color: var(--muted); font-size: .82rem; }
.loc-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: auto; padding-top: .4rem; }
.loc-actions .btn { flex: 1; min-width: 130px; }

@media (min-width: 860px) { .loc-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   CONTACT / BOOK
   ============================================================ */
.contact { background: linear-gradient(165deg, var(--text) 0%, #2a1d16 100%); color: var(--ink-on-primary); position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; inset: 0;
  background: radial-gradient(50% 50% at 85% 0%, rgba(226,84,31,.4), transparent 70%),
              radial-gradient(40% 45% at 0% 100%, rgba(44,122,158,.3), transparent 70%); opacity: .55; }
.contact .wrap { position: relative; z-index: 1; }
.contact .section-head h2 { color: #fff; }
.contact .section-head p { color: rgba(255,248,243,.72); }
.contact .eyebrow { color: var(--accent); }
.contact .eyebrow::before { background: var(--accent); }
.contact-grid { display: grid; gap: clamp(1.8rem, 4vw, 3rem); align-items: start; }

.contact-info { display: flex; flex-direction: column; gap: 1rem; }
.cinfo-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r);
  padding: 1.1rem 1.2rem; display: flex; gap: .9rem; align-items: center; transition: background .2s ease; }
a.cinfo-card:hover { background: rgba(255,255,255,.13); }
.cinfo-card .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex: none; color: #fff; }
.cinfo-card .ic.wa { background: var(--whatsapp); }
.cinfo-card .ic.call { background: var(--accent); color: #3A2410; }
.cinfo-card .ic.mail { background: var(--secondary); }
.cinfo-card .ic.clock { background: rgba(255,255,255,.16); }
.cinfo-card .ic i { font-size: 1.5rem; }
.cinfo-card .tx strong { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; color: #fff; }
.cinfo-card .tx span { font-size: .88rem; color: rgba(255,248,243,.72); }

/* form */
.form-card { background: var(--surface); color: var(--text); border-radius: var(--r-lg); padding: clamp(1.4rem, 3vw, 2.1rem); box-shadow: var(--shadow-lg); }
.form-card h3 { font-size: 1.4rem; font-weight: 800; }
.form-card > p { color: var(--muted); font-size: .92rem; margin-top: .3rem; margin-bottom: 1.3rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-family: var(--font-head); font-weight: 700; font-size: .88rem; margin-bottom: .35rem; }
.field label .req { color: var(--primary); }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem .9rem; border-radius: 12px; border: 1.5px solid var(--border);
  background: var(--bg); font: inherit; color: var(--text); transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--secondary); box-shadow: 0 0 0 3px rgba(44,122,158,.15); }
.field-row { display: grid; gap: 1rem; }
@media (min-width: 520px) { .field-row { grid-template-columns: 1fr 1fr; } }
.form-card .btn { margin-top: .4rem; }
.form-hint { font-size: .8rem; color: var(--muted); margin-top: .9rem; display: flex; gap: .5rem; align-items: flex-start; }
.form-hint i { color: var(--whatsapp); font-size: 1rem; margin-top: .1rem; }

@media (min-width: 900px) { .contact-grid { grid-template-columns: .95fr 1.05fr; } }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 760px; margin-inline: auto; display: flex; flex-direction: column; gap: .8rem; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 1.1rem 1.3rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; color: var(--text); }
.faq-q i { color: var(--primary); font-size: 1.3rem; transition: transform .25s ease; flex: none; }
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 1.3rem 1.2rem; color: var(--muted); font-size: .97rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--text); color: rgba(255,248,243,.78); padding-block: clamp(2.5rem, 5vw, 3.5rem) 7rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.footer-brand img { height: 56px; width: auto; filter: brightness(0) invert(1); opacity: .95; }
.footer-brand p { margin-top: 1rem; max-width: 32ch; font-size: .92rem; }
.footer-col h4 { color: #fff; font-size: 1rem; font-weight: 800; margin-bottom: .9rem; }
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .55rem; }
.footer-col a { color: rgba(255,248,243,.78); font-size: .92rem; }
.footer-col a:hover { color: var(--accent); }
.footer-social { display: flex; gap: .6rem; margin-top: 1rem; }
.footer-social a { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.1); display: grid; place-items: center; color: #fff; transition: background .2s ease; }
.footer-social a:hover { background: var(--primary); }
.footer-social i { font-size: 1.3rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.5rem; font-size: .82rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; color: rgba(255,248,243,.6); }
.footer-bottom .legal { max-width: 60ch; }

@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }

/* ============================================================
   STICKY MOBILE ACTION BAR
   ============================================================ */
.mobile-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--surface); border-top: 1px solid var(--border);
  box-shadow: 0 -6px 24px rgba(58,42,34,.12);
  padding: .55rem .6rem calc(.55rem + env(safe-area-inset-bottom)); gap: .55rem;
}
.mobile-bar a {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 50px; border-radius: 14px; font-family: var(--font-head); font-weight: 800; font-size: 1rem;
}
.mobile-bar .m-call { background: var(--accent); color: #3A2410; }
.mobile-bar .m-wa { background: var(--whatsapp); color: #fff; }
.mobile-bar a i { font-size: 1.4rem; }
@media (min-width: 940px) { .mobile-bar { display: none; } }

/* toast */
.toast { position: fixed; left: 50%; bottom: 84px; transform: translate(-50%, 220%); z-index: 300;
  opacity: 0; visibility: hidden; pointer-events: none;
  background: var(--text); color: #fff; padding: .9rem 1.3rem; border-radius: 14px; box-shadow: var(--shadow-lg);
  font-weight: 700; font-family: var(--font-head); display: flex; align-items: center; gap: .6rem; max-width: 90vw;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .3s ease, visibility .3s ease; }
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.toast i { color: var(--whatsapp); font-size: 1.3rem; }
@media (min-width: 940px) { .toast { bottom: 28px; } }

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* utility */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
