/* ===== Villariña — custom styles (Tailwind handles the rest) ===== */
:root {
  --ink: #12213A;
  --teal: #2F7A80;
  --green: #18BE6E;
  --mint: #E8F6EE;
  --cream: #F7FAF8;
  --indigo: #5450A0;
}

html { -webkit-tap-highlight-color: transparent; }
body { overflow-x: hidden; }
body.is-loading { overflow: hidden; }

/* Buttons */
.btn-primary, .btn-ghost, .btn-green {
  display: inline-flex; align-items: center; gap: .6rem;
  border-radius: 999px; padding: .7rem 1.3rem;
  font-size: .875rem; font-weight: 500; letter-spacing: .01em;
  transition: background-color .3s, color .3s, border-color .3s, box-shadow .3s;
  will-change: transform;
}
.btn-lg { padding: 1rem 1.8rem; font-size: .95rem; }
.btn-primary { background: var(--ink); color: var(--cream); }
.btn-primary:hover { background: linear-gradient(90deg, var(--indigo), var(--teal) 55%, var(--green)); box-shadow: 0 12px 30px -10px rgba(47,122,128,.6); }
.btn-ghost { border: 1px solid rgba(18,33,58,.15); color: var(--ink); background: rgba(255,255,255,.5); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn-green { background: var(--green); color: var(--ink); }
.btn-green:hover { background: var(--cream); }

/* Nav */
.header-brand { min-width: 0; }
.header-logo { flex: none; width: 2.75rem; height: 2.75rem; }
.header-descriptor { font-size: .6875rem; line-height: 1.2; letter-spacing: .075em; }
@media (max-width: 639px) {
  .header-brand { gap: .5rem; }
  #nav > div > :last-child { flex-shrink: 0; }
}
@media (min-width: 1024px) {
  .header-logo { width: 3rem; height: 3rem; }
}
@media (min-width: 1200px) {
  #nav nav, #nav .header-phone { font-size: .9375rem; }
}
#nav.scrolled { background: rgba(247,250,248,.8); backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(18,33,58,.06); }
#nav.scrolled > div { padding-top: .7rem; padding-bottom: .7rem; }
.nav-link { position: relative; color: rgba(18,33,58,.75); transition: color .3s; }
.nav-link::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 1px; width: 100%; background: var(--teal); transform: scaleX(0); transform-origin: right; transition: transform .4s cubic-bezier(.7,0,.2,1); }
.nav-link:hover { color: var(--teal); }
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }
.link-underline { background: linear-gradient(currentColor,currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s; }
.link-underline:hover { background-size: 100% 1px; }

/* Hero */
.hero-content { padding-top: clamp(7rem, 9vw, 8rem); }
.hero-fade { background:
  linear-gradient(90deg, var(--cream) 0%, rgba(247,250,248,.85) 35%, rgba(247,250,248,0) 70%),
  linear-gradient(0deg, var(--cream) 0%, rgba(247,250,248,0) 25%); }
@media (max-width: 1023px) {
  .hero-fade { background: linear-gradient(0deg, var(--cream) 10%, rgba(247,250,248,.7) 55%, rgba(247,250,248,.3) 100%); }
}
.hero-title .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.hero-title .word > span { display: inline-block; }
.pill-card { display: flex; align-items: center; justify-content: center; gap: .5rem; border-radius: 1rem; border: 1px solid rgba(18,33,58,.08); background: rgba(255,255,255,.6); backdrop-filter: blur(10px); padding: .9rem .5rem; font-size: .85rem; }
.pill-dot { height: .5rem; width: .5rem; border-radius: 999px; }
.scroll-line { animation: scrollLine 2s cubic-bezier(.7,0,.3,1) infinite; }
@keyframes scrollLine { 0% { transform: translateY(-100%); } 100% { transform: translateY(250%); } }

/* Section typography */
.eyebrow { font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--teal); margin-bottom: 1.25rem; display: flex; align-items: center; gap: .75rem; }
.eyebrow::before { content: ""; height: 1px; width: 2rem; background: currentColor; opacity: .6; }
.section-title { font-family: Fraunces, Georgia, serif; font-weight: 300; font-size: clamp(2.2rem, 4.8vw, 4rem); line-height: 1.04; letter-spacing: -.02em; color: var(--ink); }

.split-text .w { display: inline-block; opacity: .15; }

/* Stats */
.stat { border-top: 1px solid rgba(18,33,58,.12); padding-top: 1.25rem; }
.stat-num { font-family: Fraunces, serif; font-size: clamp(2.5rem, 5vw, 3.6rem); font-weight: 300; color: var(--teal); line-height: 1; }
.stat-label { margin-top: .6rem; font-size: .85rem; color: rgba(18,33,58,.6); }

/* Stacking cards */
.stack-card { position: sticky; top: var(--top, 6rem); }
.card-inner { border-radius: 2rem; padding: 2rem; min-height: 26rem; box-shadow: 0 30px 80px -40px rgba(18,33,58,.35); transform-origin: center top; will-change: transform; }
@media (min-width: 640px) { .card-inner { padding: 3rem; } }
.card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2.5rem; }
.card-index { font-family: Fraunces, serif; font-size: 1rem; color: rgba(18,33,58,.35); }
.card-icon { display: grid; place-items: center; height: 3.5rem; width: 3.5rem; border-radius: 1rem; }
.card-icon svg { height: 1.6rem; width: 1.6rem; }
.card-title { font-family: Fraunces, serif; font-weight: 300; font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1; letter-spacing: -.02em; }
.card-copy { margin-top: 1.25rem; max-width: 28rem; font-size: 1.05rem; line-height: 1.7; color: rgba(18,33,58,.7); }
.service-list li { display: flex; align-items: center; gap: .9rem; padding: .85rem 0; border-bottom: 1px solid rgba(18,33,58,.08); font-size: .98rem; }
.service-list li::before { content: ""; flex: none; height: .4rem; width: .4rem; border-radius: 999px; background: var(--green); }
.service-list--dark li { border-color: rgba(247,250,248,.1); color: rgba(247,250,248,.85); }

/* Dentures feature */
.feature-tile { border-radius: 1.5rem; border: 1px solid rgba(247,250,248,.1); background: rgba(247,250,248,.04); backdrop-filter: blur(10px); padding: 1.75rem; transition: border-color .4s, background .4s; }
.feature-tile:hover { border-color: rgba(24,190,110,.5); background: rgba(24,190,110,.08); }
.feature-k { font-family: Fraunces, serif; font-size: 1.6rem; font-weight: 300; color: var(--green); }
.feature-v { margin-top: .5rem; font-size: .92rem; line-height: 1.6; color: rgba(247,250,248,.65); }

/* Journey */
.step { position: relative; }
.step-dot { position: relative; z-index: 1; display: grid; place-items: center; height: 3rem; width: 3rem; border-radius: 999px; background: var(--cream); border: 1px solid var(--teal); color: var(--teal); font-family: Fraunces, serif; font-size: 1.1rem; }
.step-title { margin-top: 1.5rem; font-family: Fraunces, serif; font-size: 1.6rem; font-weight: 400; }
.step-copy { margin-top: .6rem; color: rgba(18,33,58,.65); line-height: 1.65; max-width: 18rem; }

/* FAQ */
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.6rem 0; font-family: Fraunces, serif; font-size: clamp(1.15rem, 2.2vw, 1.5rem); font-weight: 400; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; height: 2.2rem; width: 2.2rem; border-radius: 999px; border: 1px solid rgba(18,33,58,.15); font-family: Inter, sans-serif; font-weight: 300; font-size: 1.2rem; transition: transform .4s, background .3s, color .3s; }
.faq[open] summary::after { transform: rotate(45deg); background: var(--ink); color: var(--cream); }
.faq p { padding: 0 3rem 1.6rem 0; color: rgba(18,33,58,.65); line-height: 1.7; }

/* Contact */
.contact-row { display: grid; grid-template-columns: 6rem 1fr; gap: 1rem; border-top: 1px solid rgba(18,33,58,.1); padding-top: 1.2rem; }
.contact-row dt { font-size: .72rem; letter-spacing: .25em; text-transform: uppercase; color: var(--teal); padding-top: .25rem; }
.contact-row dd { font-size: 1.05rem; line-height: 1.6; }
.field { display: flex; flex-direction: column; gap: .45rem; font-size: .78rem; letter-spacing: .05em; color: rgba(18,33,58,.6); }
.field input, .field select, .field textarea { width: 100%; border-radius: .9rem; border: 1px solid rgba(18,33,58,.12); background: var(--cream); padding: .85rem 1rem; font-size: .95rem; color: var(--ink); letter-spacing: 0; outline: none; transition: border-color .3s, box-shadow .3s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(24,190,110,.15); }
[data-book] select[hidden], [data-book] input[hidden], .booking-select-options[hidden] { display: none; }
.booking-select { position: relative; }
[data-book] .field select, .booking-select-trigger {
  -webkit-appearance: none;
  appearance: none;
  padding-inline-end: 2.75rem;
  border-color: rgba(18,33,58,.35);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m3.5 6 4.5 4.5L12.5 6' stroke='%232F7A80' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right 1rem center;
  background-repeat: no-repeat;
  background-size: 1rem;
  cursor: pointer;
}
.booking-select-trigger {
  display: block;
  width: 100%;
  border-width: 1px;
  border-style: solid;
  border-radius: .9rem;
  padding: .85rem 2.75rem .85rem 1rem;
  background-color: var(--cream);
  color: var(--ink);
  font-size: .95rem;
  letter-spacing: 0;
  text-align: start;
}
[data-book] .field select:hover,
[data-book] .field select:focus,
.booking-select-trigger:hover,
.booking-select-trigger[aria-expanded="true"] { border-color: var(--teal); }
[data-book] .field select:focus-visible,
.booking-select-trigger:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.booking-select-options {
  position: absolute;
  z-index: 10;
  inset-inline: 0;
  top: calc(100% + .35rem);
  max-height: min(18rem, 45vh);
  overflow-y: auto;
  padding: .3rem;
  border: 1px solid rgba(47,122,128,.3);
  border-radius: .9rem;
  background: #fff;
  box-shadow: 0 16px 32px -12px rgba(18,33,58,.35);
}
.booking-select-options [role="option"] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  width: 100%;
  min-height: 44px;
  padding: .55rem .7rem;
  border-radius: .55rem;
  color: var(--ink);
  font-size: .95rem;
  letter-spacing: 0;
  text-align: start;
}
.booking-select-options [aria-selected="true"] { background: var(--mint); font-weight: 600; }
.booking-select-options [aria-selected="true"]::after { content: "✓" / ""; color: var(--teal); }
.booking-select-options [role="option"]:hover,
.booking-select-options [role="option"]:focus { background: var(--ink); color: var(--cream); outline: none; }
.booking-select-options [aria-selected="true"]:focus::after,
.booking-select-options [aria-selected="true"]:hover::after { color: var(--mint); }
.booking-date-trigger {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%232F7A80' stroke-width='1.4' stroke-linecap='round'%3E%3Crect x='2' y='3.5' width='12' height='11' rx='2'/%3E%3Cpath d='M5 2v3m6-3v3M2 7h12'/%3E%3C/svg%3E");
}
.booking-calendar {
  margin: auto;
  width: min(23rem, calc(100% - 1.25rem));
  max-height: calc(100dvh - 1.25rem);
  overflow: auto;
  padding: clamp(.65rem, 3vw, 1.1rem);
  border: 1px solid rgba(47,122,128,.3);
  border-radius: 1.1rem;
  background: white;
  box-shadow: 0 16px 48px -12px rgba(18,33,58,.4);
  color: var(--ink);
}
.booking-calendar::backdrop { background: rgba(18,33,58,.35); }
.booking-calendar-header, .booking-calendar-actions { display: flex; align-items: center; justify-content: space-between; gap: .35rem; }
.booking-calendar-header h3 { font: 500 1.25rem Fraunces, Georgia, serif; text-align: center; }
.booking-calendar-header button { width: 2.75rem; font-size: 1.4rem; }
.booking-calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; margin-block: .65rem; }
.booking-calendar-grid span { padding-block: .3rem; text-align: center; color: var(--teal); }
.booking-calendar button { min-height: 2.5rem; border-radius: .6rem; }
.booking-calendar-actions button { padding-inline: .65rem; color: var(--teal); font-weight: 600; }
.booking-calendar button:hover { background: var(--mint); }
.booking-calendar button[aria-current="date"] { box-shadow: inset 0 0 0 1px var(--teal); }
.booking-calendar button[aria-pressed="true"] { background: var(--ink); color: var(--cream); font-weight: 600; }
.booking-calendar button:focus-visible { outline: 2px solid var(--teal); outline-offset: 1px; }
@media (forced-colors: active) {
  [data-book] .field select {
    -webkit-appearance: auto;
    appearance: auto;
    padding-inline-end: 1rem;
    background-image: none;
  }
}

/* Brand gradient (from the logo: indigo → teal → green) */
.text-brand-gradient { background: linear-gradient(90deg, var(--indigo), var(--teal) 50%, var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bg-brand-gradient { background: linear-gradient(90deg, var(--indigo), var(--teal) 50%, var(--green)); }

/* Preloader */
#pre-bar { background: linear-gradient(90deg, var(--indigo), var(--teal), var(--green)); }
.pre-logo-fill { clip-path: inset(100% 0 0 0); }

/* ===== MapLibre — blended into the brand ===== */
#map { background: #F4F0E6; }
#map .maplibregl-canvas { opacity: 0; transition: opacity 1.2s ease; }
#map.is-ready .maplibregl-canvas { opacity: 1; }
.map-wrap::after { content: ""; pointer-events: none; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(18,33,58,.04), inset 0 -80px 80px -60px rgba(47,122,128,.18); }
.map-card { box-shadow: 0 20px 50px -25px rgba(18,33,58,.35); border: 1px solid rgba(18,33,58,.06); z-index: 2; }
.maplibregl-ctrl-group { border-radius: 14px !important; overflow: hidden; box-shadow: 0 10px 30px -12px rgba(18,33,58,.3) !important; background: rgba(247,250,248,.92) !important; backdrop-filter: blur(8px); }
.maplibregl-ctrl-group button + button { border-top-color: rgba(18,33,58,.08) !important; }
.maplibregl-ctrl-attrib { background: rgba(247,250,248,.8) !important; font-size: 10px; color: rgba(18,33,58,.6); }
.maplibregl-ctrl-attrib a { color: var(--teal) !important; }
.maplibregl-cooperative-gesture-screen { background: rgba(18,33,58,.55) !important; font-family: Inter, sans-serif; }

.vm-marker { position: relative; display: grid; place-items: center; width: 64px; height: 64px; cursor: pointer; background: none; border: 0; }
.vm-pin { position: relative; z-index: 2; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 999px; background: var(--green);
  border: 2px solid var(--ink); box-shadow: 0 0 0 2px white, 0 14px 30px -8px rgba(18,33,58,.45); transition: transform .3s; }
.vm-pin img { width: 34px; height: 34px; padding: 3px; border-radius: 50%; background: white; }
.vm-marker:hover .vm-pin { transform: scale(1.08); }
.vm-pulse { position: absolute; inset: 0; border-radius: 999px; background: radial-gradient(circle, rgba(24,190,110,.35), rgba(84,80,160,.15) 60%, transparent 70%);
  animation: vmPulse 2.6s cubic-bezier(.2,.6,.3,1) infinite; }
.vm-pulse--2 { animation-delay: 1.3s; }
@keyframes vmPulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .split-text .w { opacity: 1; }
}

/* =====================================================================
   Multi-page components
   ===================================================================== */

/* Page transition overlay (covers page until JS reveals it) */
#page-transition { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center;
  background: linear-gradient(120deg, var(--indigo), var(--teal) 50%, var(--green)); pointer-events: none; }
#page-transition img { width: 72px; height: 72px; opacity: .95; }

/* Nav active + hamburger */
.nav-link.is-active { color: var(--teal); }
.nav-link.is-active::after { transform: scaleX(1); }
.m-link.is-active { color: var(--green); }
#menu-btn .bar { display: block; height: 1px; width: 16px; background: var(--ink); transition: transform .35s; }
#menu-btn .bar + .bar { margin-top: 5px; }
#menu-btn.is-open .bar:first-child { transform: translateY(3px) rotate(45deg); }
#menu-btn.is-open .bar:last-child { transform: translateY(-3px) rotate(-45deg); }
#menu-btn.is-open { position: relative; z-index: 60; border-color: rgba(247,250,248,.3); }
#menu-btn.is-open .bar { background: var(--cream); }

/* Inner page hero */
.breadcrumb a { transition: color .3s; }
.breadcrumb a:hover { color: var(--teal); }
.chip { display: inline-flex; align-items: center; gap: .5rem; border-radius: 999px; border: 1px solid rgba(18,33,58,.12);
  background: rgba(255,255,255,.65); backdrop-filter: blur(8px); padding: .55rem 1rem; font-size: .85rem; color: var(--ink);
  transition: border-color .3s, color .3s, background .3s; cursor: pointer; }
.chip:hover { border-color: var(--teal); color: var(--teal); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--cream); }

/* Buttons (extra) */
.btn-outline-light { display: inline-flex; align-items: center; gap: .6rem; border-radius: 999px; padding: 1rem 1.8rem; font-size: .95rem; font-weight: 500;
  border: 1px solid rgba(255,255,255,.45); color: #fff; transition: background .3s, color .3s; will-change: transform; }
.btn-outline-light:hover { background: #fff; color: var(--ink); }
.btn-white { display: inline-flex; align-items: center; gap: .6rem; border-radius: 999px; padding: 1rem 1.8rem; font-size: .95rem; font-weight: 500;
  background: #fff; color: var(--ink); transition: box-shadow .3s; will-change: transform; }
.btn-white:hover { box-shadow: 0 14px 34px -12px rgba(18,33,58,.5); }
.text-link { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 500; color: var(--teal); }
.text-link svg { width: 1rem; height: 1rem; transition: transform .3s; }
.text-link:hover svg { transform: translateX(4px); }

/* Service cards */
.svc-card { position: relative; border-radius: 1.5rem; background: #fff; padding: 1.75rem; border: 1px solid rgba(18,33,58,.06);
  box-shadow: 0 20px 50px -35px rgba(18,33,58,.35); transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s, border-color .5s; overflow: hidden; }
.svc-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--accent, var(--teal)); transform: scaleX(0); transform-origin: left; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(18,33,58,.4); border-color: transparent; }
.svc-card:hover::before { transform: scaleX(1); }
.svc-icon { display: grid; place-items: center; height: 3rem; width: 3rem; border-radius: .9rem; color: var(--accent, var(--teal));
  background: color-mix(in srgb, var(--accent, var(--teal)) 12%, transparent); }
.svc-icon svg { height: 1.4rem; width: 1.4rem; }
.svc-title { margin-top: 1.4rem; font-family: Fraunces, serif; font-size: 1.4rem; font-weight: 400; line-height: 1.2; }
.svc-copy { margin-top: .6rem; font-size: .95rem; line-height: 1.65; color: rgba(18,33,58,.65); }
.svc-card .text-link { margin-top: 1.1rem; color: var(--accent, var(--teal)); }

/* Services discipline sections */
.discipline-num { font-family: Fraunces, serif; font-size: clamp(5rem, 12vw, 9rem); font-weight: 300; line-height: .8;
  background: linear-gradient(180deg, var(--accent), transparent); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .5; }
.discipline-tag { display: inline-flex; align-items: center; gap: .5rem; font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--accent); }
.discipline-tag::before { content: ""; height: .5rem; width: .5rem; border-radius: 999px; background: var(--accent); }

/* Sticky sub-nav */
.subnav { position: sticky; top: 4.4rem; z-index: 30; }
.subnav-inner { display: inline-flex; gap: .25rem; padding: .35rem; border-radius: 999px; background: rgba(255,255,255,.8); backdrop-filter: blur(14px);
  border: 1px solid rgba(18,33,58,.08); box-shadow: 0 14px 40px -24px rgba(18,33,58,.4); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav a { white-space: nowrap; border-radius: 999px; padding: .55rem 1.1rem; font-size: .85rem; color: rgba(18,33,58,.7); transition: background .35s, color .35s; }
.subnav a:hover { color: var(--ink); }
.subnav a.is-active { background: var(--ink); color: var(--cream); }

/* Value / info tiles */
.tile { border-radius: 1.5rem; padding: 1.75rem; background: #fff; border: 1px solid rgba(18,33,58,.06); }
.tile-k { font-family: Fraunces, serif; font-size: 1.5rem; font-weight: 400; }
.tile-v { margin-top: .5rem; font-size: .95rem; line-height: 1.65; color: rgba(18,33,58,.65); }
.tile-icon { display: grid; place-items: center; height: 2.75rem; width: 2.75rem; border-radius: .8rem; margin-bottom: 1.25rem;
  background: linear-gradient(135deg, rgba(84,80,160,.12), rgba(24,190,110,.14)); color: var(--teal); }
.tile-icon svg { height: 1.3rem; width: 1.3rem; }

/* Logo story */
.logo-stage { position: relative; aspect-ratio: 1; border-radius: 2rem; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 30%, #fff, var(--mint)); overflow: hidden; }
.logo-stage img { width: 62%; filter: drop-shadow(0 30px 40px rgba(47,122,128,.25)); }
.logo-stage .ring { position: absolute; inset: 12%; border-radius: 999px; border: 1px dashed rgba(47,122,128,.25); animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.legend-item { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; padding: 1.5rem 0; border-top: 1px solid rgba(18,33,58,.1); }
.legend-dot { margin-top: .45rem; height: .75rem; width: .75rem; border-radius: 999px; }

/* Team placeholders */
.team-card { border-radius: 1.75rem; overflow: hidden; background: #fff; border: 1px solid rgba(18,33,58,.06); }
.team-photo { aspect-ratio: 4/5; display: grid; place-items: center; position: relative;
  background: linear-gradient(150deg, rgba(84,80,160,.18), rgba(47,122,128,.14) 50%, rgba(24,190,110,.2)); }
.team-photo img { width: 34%; opacity: .55; }

/* Comparison table */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .95rem; }
.compare th, .compare td { padding: 1.1rem 1.25rem; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(18,33,58,.08); }
.compare thead th { font-family: Fraunces, serif; font-weight: 400; font-size: 1.2rem; border-bottom: 1px solid rgba(18,33,58,.15); }
.compare tbody th { font-weight: 500; color: rgba(18,33,58,.55); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; width: 22%; }
.compare .col-hi { background: linear-gradient(180deg, rgba(24,190,110,.08), rgba(24,190,110,.03)); }
.compare thead .col-hi { color: var(--teal); border-top-left-radius: 1rem; border-top-right-radius: 1rem; }

/* Vertical timeline */
.vtimeline { position: relative; }
.vtimeline-track, .vtimeline-progress { position: absolute; left: 1.45rem; top: .5rem; bottom: .5rem; width: 2px; border-radius: 2px; }
.vtimeline-track { background: rgba(18,33,58,.08); }
.vtimeline-progress { background: linear-gradient(180deg, var(--indigo), var(--teal), var(--green)); }
.vstep { position: relative; display: grid; grid-template-columns: 3rem 1fr; gap: 1.5rem; padding-bottom: 3rem; }
.vstep:last-child { padding-bottom: 0; }
.vstep-dot { position: relative; z-index: 1; display: grid; place-items: center; height: 3rem; width: 3rem; border-radius: 999px; background: var(--cream);
  border: 1px solid var(--teal); color: var(--teal); font-family: Fraunces, serif; font-size: 1.1rem; }
.vstep h3 { font-family: Fraunces, serif; font-size: 1.6rem; font-weight: 400; padding-top: .45rem; }
.vstep p { margin-top: .5rem; color: rgba(18,33,58,.65); line-height: 1.7; max-width: 34rem; }
.vstep .meta { display: inline-block; margin-top: .75rem; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--teal); }

/* Checklist */
.checklist li { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(18,33,58,.08); line-height: 1.6; }
.checklist li svg { flex: none; margin-top: .2rem; height: 1.25rem; width: 1.25rem; padding: .2rem; border-radius: 999px; color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--green)); }
.checklist--dark li { border-color: rgba(247,250,248,.1); color: rgba(247,250,248,.85); }

/* FAQ page */
.faq[hidden] { display: none; }
.faq-cat { display: inline-block; margin-right: .75rem; font-family: Inter, sans-serif; font-size: .65rem; letter-spacing: .2em; text-transform: uppercase; color: var(--teal); vertical-align: middle; }
.search-field { position: relative; }
.search-field svg { position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%); height: 1.1rem; width: 1.1rem; color: rgba(18,33,58,.4); }
.search-field input { width: 100%; border-radius: 999px; border: 1px solid rgba(18,33,58,.12); background: #fff; padding: 1rem 1.25rem 1rem 3rem; font-size: 1rem; outline: none; transition: border-color .3s, box-shadow .3s; }
.search-field input:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(24,190,110,.15); }

/* Contact method cards */
.method { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 2.5rem; border-radius: 1.5rem; padding: 1.75rem; min-height: 13rem;
  background: #fff; border: 1px solid rgba(18,33,58,.06); overflow: hidden; transition: transform .5s cubic-bezier(.2,.7,.2,1), color .4s; isolation: isolate; }
.method::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, var(--indigo), var(--teal) 55%, var(--green));
  opacity: 0; transition: opacity .5s; }
.method:hover { transform: translateY(-6px); color: #fff; }
.method:hover::after { opacity: 1; }
.method:hover .method-sub { color: rgba(255,255,255,.8); }
.method:hover .tile-icon { background: rgba(255,255,255,.2); color: #fff; }
.method-title { font-family: Fraunces, serif; font-size: 1.5rem; font-weight: 400; }
.method-sub { margin-top: .25rem; font-size: .9rem; color: rgba(18,33,58,.6); transition: color .4s; }

/* Hours table */
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid rgba(18,33,58,.08); }
.hours li span:last-child { color: rgba(18,33,58,.65); }
.hours--dark li { border-color: rgba(247,250,248,.1); }
.hours--dark li span:last-child { color: rgba(247,250,248,.7); }

/* Brand CTA card */
.cta-card { position: relative; overflow: hidden; border-radius: 2.25rem; color: #fff; padding: 3rem 1.75rem;
  background: linear-gradient(120deg, var(--indigo), var(--teal) 55%, var(--green)); }
@media (min-width: 768px) { .cta-card { padding: 4.5rem 4rem; } }
.cta-card .watermark { position: absolute; right: -6%; bottom: -18%; width: 22rem; opacity: .14; pointer-events: none; }

/* Footer */
.footer-h { font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--green); margin-bottom: 1.1rem; }
.footer-links li + li { margin-top: .6rem; }
.footer-links a { color: rgba(247,250,248,.7); transition: color .3s; }
.footer-links a:hover { color: #fff; }
#map { scroll-margin-top: 7rem; }
.text-link + .text-link { margin-left: 1.5rem; }

/* =====================================================================
   Homepage hero — full-height photo washed in brand colours, fading into the page
   ===================================================================== */
.hero-bg { position: absolute; inset: 0 0 0 auto; width: 62%; overflow: hidden; pointer-events: none; }
.hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 8% 30%;
  filter: grayscale(.85) contrast(.92) brightness(1.12); }
/* Pale teal/indigo wash, like a tinted monochrome print */
.hero-bg-wash { position: absolute; inset: 0; opacity: .55;
  background: linear-gradient(160deg, var(--indigo), var(--teal) 55%, var(--green));
  mix-blend-mode: color; }
.hero-bg-wash::after { content: ""; position: absolute; inset: 0; background: rgba(232,246,238,.28); }
/* Soften the photo's left edge so it melts into the cream background */
.hero-bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--cream) 0%, rgba(247,250,248,.6) 22%, rgba(247,250,248,0) 50%); }
@media (max-width: 1023px) {
  .hero-bg { width: 100%; }
  .hero-bg::after { background: none; }
}
