/* ==========================================================================
   Vitals — Medical & Dental Practice Template
   Custom design layer over Bootstrap 5
   Identity: calming clinical teal-green + deep teal-ink, humanist sans
   ========================================================================== */

:root {
  /* Brand palette */
  --v-teal:       #12a19a;   /* primary — fresh medical teal-green */
  --v-teal-600:   #0e857f;
  --v-teal-700:   #0b6a65;
  --v-teal-soft:  #e6f5f3;   /* tinted fills */
  --v-teal-mist:  #f2faf9;   /* page-soft backgrounds */
  --v-ink:        #0d2b2c;   /* deep teal-ink headings */
  --v-ink-700:    #143d3e;
  --v-body:       #46605f;   /* muted body text */
  --v-muted:      #7c928f;
  --v-line:       #e2ecea;   /* hairlines */
  --v-white:      #ffffff;
  --v-coral:      #ff6b5e;   /* emergency accent only */
  --v-coral-700:  #e2534a;
  --v-amber:      #f4b740;   /* stars / small accents */

  /* Typography */
  --v-head: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --v-body-font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Shape & depth */
  --v-radius:   18px;
  --v-radius-lg: 26px;
  --v-radius-pill: 999px;
  --v-shadow-sm: 0 2px 10px rgba(13,43,44,.05);
  --v-shadow:    0 14px 40px -18px rgba(13,43,44,.22);
  --v-shadow-lg: 0 30px 70px -30px rgba(13,43,44,.32);
  --v-ring: 0 0 0 4px rgba(18,161,154,.20);

  --v-container: 1180px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
* { box-sizing: border-box; }

body {
  font-family: var(--v-body-font);
  color: var(--v-body);
  background: var(--v-white);
  line-height: 1.7;
  font-size: 1.0125rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6, .display-head {
  font-family: var(--v-head);
  color: var(--v-ink);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -.02em;
}

p { margin-bottom: 1rem; }

a { color: var(--v-teal-600); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--v-teal-700); }

img { max-width: 100%; height: auto; }

.container { max-width: var(--v-container); }

::selection { background: var(--v-teal); color: #fff; }

:focus-visible {
  outline: none;
  box-shadow: var(--v-ring);
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  background: var(--v-ink);
  color: #fff;
  padding: .6rem 1rem;
  border-radius: 10px;
  z-index: 2000;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; color: #fff; }

/* Section rhythm */
.section { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.section-tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.bg-mist { background: var(--v-teal-mist); }
.bg-soft { background: var(--v-teal-soft); }

/* Eyebrow / kicker */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--v-head);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--v-teal-600);
  background: var(--v-teal-soft);
  padding: .38rem .85rem;
  border-radius: var(--v-radius-pill);
}
.kicker::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--v-teal);
}

.section-head { max-width: 640px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  margin: 1rem 0 .75rem;
}
.section-head p { color: var(--v-body); font-size: 1.075rem; margin-bottom: 0; }

.text-teal { color: var(--v-teal-600) !important; }
.lead-muted { color: var(--v-body); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  font-family: var(--v-head);
  font-weight: 600;
  border-radius: var(--v-radius-pill);
  padding: .8rem 1.6rem;
  border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  letter-spacing: -.01em;
}
.btn:focus-visible { box-shadow: var(--v-ring); }

.btn-primary,
.btn-teal {
  background: var(--v-teal);
  border-color: var(--v-teal);
  color: #fff;
  box-shadow: 0 12px 26px -12px rgba(18,161,154,.75);
}
.btn-primary:hover,
.btn-teal:hover {
  background: var(--v-teal-600);
  border-color: var(--v-teal-600);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -14px rgba(18,161,154,.85);
}

.btn-outline-teal {
  background: transparent;
  border-color: var(--v-line);
  color: var(--v-ink);
}
.btn-outline-teal:hover {
  border-color: var(--v-teal);
  color: var(--v-teal-700);
  background: var(--v-teal-mist);
  transform: translateY(-2px);
}

.btn-light-teal {
  background: #fff;
  color: var(--v-teal-700);
  border-color: #fff;
}
.btn-light-teal:hover { background: var(--v-teal-soft); color: var(--v-teal-700); transform: translateY(-2px); }

.btn-coral {
  background: var(--v-coral);
  border-color: var(--v-coral);
  color: #fff;
}
.btn-coral:hover { background: var(--v-coral-700); border-color: var(--v-coral-700); color:#fff; transform: translateY(-2px); }

.btn-lg { padding: .95rem 2rem; font-size: 1.05rem; }
.btn-sm { padding: .55rem 1.1rem; font-size: .88rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--v-head);
  font-weight: 600;
  color: var(--v-teal-600);
}
.link-arrow svg { transition: transform .18s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Top bar
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--v-ink);
  color: #cfe4e2;
  font-size: .86rem;
}
.topbar a { color: #eafaf8; }
.topbar a:hover { color: #fff; }
.topbar .topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .55rem 0;
  flex-wrap: wrap;
}
.topbar-left { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.topbar-item { display: inline-flex; align-items: center; gap: .45rem; }
.topbar-item svg { color: var(--v-teal); flex: none; }
.topbar-emerg {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  color: #fff;
}
.pulse-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--v-coral);
  position: relative;
  flex: none;
}
.pulse-dot::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--v-coral);
  animation: v-pulse 1.8s ease-out infinite;
}
@keyframes v-pulse {
  0%   { transform: scale(1); opacity: .7; }
  100% { transform: scale(3.2); opacity: 0; }
}

/* --------------------------------------------------------------------------
   Navbar
   -------------------------------------------------------------------------- */
.site-nav {
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease, background .25s ease;
  position: sticky;
  top: 0;
  z-index: 1030;
}
.site-nav.scrolled {
  box-shadow: 0 8px 30px -18px rgba(13,43,44,.35);
  border-bottom-color: var(--v-line);
  background: rgba(255,255,255,.96);
}
.site-nav .navbar { padding: .85rem 0; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--v-head);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--v-ink);
  letter-spacing: -.03em;
}
.brand:hover { color: var(--v-ink); }
.brand-mark {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--v-teal), var(--v-teal-700));
  display: grid; place-items: center;
  color: #fff;
  box-shadow: 0 10px 20px -10px rgba(18,161,154,.85);
  flex: none;
}
.brand span { color: var(--v-teal-600); }

.nav-links { display: flex; align-items: center; gap: .35rem; }
.nav-links .nav-link {
  font-family: var(--v-head);
  font-weight: 600;
  font-size: .98rem;
  color: var(--v-ink-700);
  padding: .5rem .9rem;
  border-radius: 10px;
  position: relative;
  transition: color .18s ease, background .18s ease;
}
.nav-links .nav-link:hover,
.nav-links .nav-link.active { color: var(--v-teal-700); background: var(--v-teal-mist); }

.nav-cta { display: flex; align-items: center; gap: .75rem; }

/* Hamburger */
.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--v-line);
  background: #fff;
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 20px; height: 2px;
  background: var(--v-ink);
  border-radius: 2px;
  transform: translate(-50%,-50%);
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle span::before { transform: translate(-50%,-7px); }
.nav-toggle span::after  { transform: translate(-50%,5px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translate(-50%,-50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translate(-50%,-50%) rotate(-45deg); }

@media (max-width: 991.98px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(340px, 86vw);
    background: #fff;
    box-shadow: var(--v-shadow-lg);
    padding: 5.5rem 1.5rem 2rem;
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    transform: translateX(105%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    z-index: 1050;
    overflow-y: auto;
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-links { flex-direction: column; align-items: stretch; gap: .25rem; }
  .nav-links .nav-link { padding: .8rem 1rem; font-size: 1.05rem; }
  .nav-cta { flex-direction: column; align-items: stretch; }
  .nav-cta .btn { width: 100%; }
  .nav-backdrop {
    position: fixed; inset: 0;
    background: rgba(13,43,44,.5);
    opacity: 0; visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
    z-index: 1040;
  }
  .nav-backdrop.show { opacity: 1; visibility: visible; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 520px at 88% -8%, var(--v-teal-soft) 0%, transparent 60%),
    linear-gradient(180deg, var(--v-teal-mist) 0%, #ffffff 78%);
  overflow: hidden;
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .55rem;
  background: #fff;
  border: 1px solid var(--v-line);
  border-radius: var(--v-radius-pill);
  padding: .4rem .9rem .4rem .5rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--v-ink-700);
  box-shadow: var(--v-shadow-sm);
}
.hero-badge .stars { color: var(--v-amber); letter-spacing: -1px; }
.hero-badge b { color: var(--v-ink); }

.hero h1 {
  font-size: clamp(2.35rem, 5vw, 3.75rem);
  margin: 1.25rem 0 1.1rem;
  line-height: 1.06;
}
.hero h1 .accent {
  color: var(--v-teal-600);
  position: relative;
  white-space: nowrap;
}
.hero-lead {
  font-size: 1.15rem;
  max-width: 34rem;
  color: var(--v-body);
  margin-bottom: 1.75rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; }

.hero-trust {
  display: flex;
  gap: 1.75rem;
  margin-top: 2.25rem;
  flex-wrap: wrap;
}
.hero-trust .ht {
  display: flex; flex-direction: column;
}
.hero-trust .ht b {
  font-family: var(--v-head);
  font-size: 1.65rem;
  color: var(--v-ink);
  line-height: 1;
}
.hero-trust .ht span { font-size: .85rem; color: var(--v-muted); margin-top: .3rem; }

/* Hero media + booking card */
.hero-media { position: relative; }

/* Appointment mini-form */
.appt-card {
  background: #fff;
  border-radius: var(--v-radius-lg);
  box-shadow: var(--v-shadow-lg);
  border: 1px solid var(--v-line);
  padding: 1.5rem;
}
.appt-card h3 {
  font-size: 1.2rem;
  margin-bottom: .35rem;
}
.appt-card .appt-sub { font-size: .9rem; color: var(--v-muted); margin-bottom: 1.1rem; }

.form-field { margin-bottom: .85rem; }
.form-field label {
  display: block;
  font-family: var(--v-head);
  font-weight: 600;
  font-size: .82rem;
  color: var(--v-ink-700);
  margin-bottom: .35rem;
}
.form-control, .form-select {
  border: 1.5px solid var(--v-line);
  border-radius: 12px;
  padding: .7rem .9rem;
  font-size: .95rem;
  color: var(--v-ink);
  background-color: #fff;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.form-control::placeholder { color: #a9bcb9; }
.form-control:focus, .form-select:focus {
  border-color: var(--v-teal);
  box-shadow: var(--v-ring);
  outline: none;
}
textarea.form-control { min-height: 120px; }

.field-error {
  display: none;
  color: var(--v-coral-700);
  font-size: .78rem;
  margin-top: .3rem;
}
.form-field.invalid .form-control,
.form-field.invalid .form-select { border-color: var(--v-coral); }
.form-field.invalid .field-error { display: block; }

.form-note {
  font-size: .78rem; color: var(--v-muted);
  margin-top: .5rem; text-align: center;
}
.form-success {
  display: none;
  background: var(--v-teal-soft);
  border: 1px solid #bfe6e2;
  color: var(--v-teal-700);
  border-radius: 12px;
  padding: .85rem 1rem;
  font-size: .9rem;
  margin-bottom: 1rem;
  align-items: center;
  gap: .5rem;
}
.form-success.show { display: flex; }

/* --------------------------------------------------------------------------
   Stat band
   -------------------------------------------------------------------------- */
.stat-band { background: var(--v-ink); color: #fff; }
.stat-band .stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.stat-cell { text-align: center; padding: .5rem; }
.stat-cell .num {
  font-family: var(--v-head);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.9rem);
  color: #fff;
  line-height: 1;
  display: flex; align-items: baseline; justify-content: center; gap: 2px;
}
.stat-cell .num .suffix { color: var(--v-teal); }
.stat-cell .lbl { color: #a8c6c3; font-size: .92rem; margin-top: .55rem; }
.stat-band .divide { border-left: 1px solid rgba(255,255,255,.08); }

/* --------------------------------------------------------------------------
   Cards / grids
   -------------------------------------------------------------------------- */
.card-grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Department / service card */
.svc-card {
  background: #fff;
  border: 1px solid var(--v-line);
  border-radius: var(--v-radius-lg);
  padding: 1.75rem;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  height: 100%;
  display: flex; flex-direction: column;
}
.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--v-shadow);
  border-color: transparent;
}
.svc-ic {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: var(--v-teal-soft);
  color: var(--v-teal-600);
  margin-bottom: 1.15rem;
  transition: background .22s ease, color .22s ease;
}
.svc-card:hover .svc-ic { background: var(--v-teal); color: #fff; }
.svc-card h3 { font-size: 1.22rem; margin-bottom: .5rem; }
.svc-card p { font-size: .96rem; margin-bottom: 1.1rem; flex: 1; }
.svc-card .svc-meta {
  font-size: .82rem; color: var(--v-muted);
  display: flex; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap;
}
.svc-card .svc-meta span { display: inline-flex; align-items: center; gap: .35rem; }

/* Why choose / feature */
.feature-item {
  display: flex; gap: 1.1rem;
  align-items: flex-start;
}
.feature-ic {
  width: 56px; height: 56px; border-radius: 16px; flex: none;
  display: grid; place-items: center;
  background: var(--v-teal-soft); color: var(--v-teal-600);
}
.feature-item h3 { font-size: 1.18rem; margin-bottom: .4rem; }
.feature-item p { font-size: .96rem; margin-bottom: 0; }

.why-media {
  border-radius: var(--v-radius-lg);
  overflow: hidden;
  box-shadow: var(--v-shadow);
  aspect-ratio: 4 / 3.4;
}
.why-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.check-list { list-style: none; padding: 0; margin: 1.4rem 0 0; }
.check-list li {
  display: flex; gap: .65rem; align-items: flex-start;
  margin-bottom: .7rem; color: var(--v-ink-700); font-weight: 500;
}
.check-list li svg { color: var(--v-teal); flex: none; margin-top: 3px; }

/* --------------------------------------------------------------------------
   Doctors
   -------------------------------------------------------------------------- */
.doc-card {
  background: #fff;
  border: 1px solid var(--v-line);
  border-radius: var(--v-radius-lg);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
  height: 100%;
}
.doc-card:hover { transform: translateY(-6px); box-shadow: var(--v-shadow); }
.doc-photo { aspect-ratio: 1 / 1; overflow: hidden; background: var(--v-teal-soft); position: relative; }
.doc-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.doc-social {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex; justify-content: center; gap: .5rem;
  padding: .9rem;
  background: linear-gradient(0deg, rgba(13,43,44,.55), transparent);
  opacity: 0; transform: translateY(8px);
  transition: opacity .22s ease, transform .22s ease;
}
.doc-card:hover .doc-social { opacity: 1; transform: none; }
.doc-social a {
  width: 34px; height: 34px; border-radius: 50%;
  background: #fff; color: var(--v-teal-700);
  display: grid; place-items: center;
}
.doc-social a:hover { background: var(--v-teal); color: #fff; }
.doc-body { padding: 1.15rem 1.25rem 1.35rem; }
.doc-body h3 { font-size: 1.14rem; margin-bottom: .15rem; }
.doc-spec { color: var(--v-teal-600); font-weight: 600; font-size: .9rem; font-family: var(--v-head); }
.doc-cred { color: var(--v-muted); font-size: .84rem; margin: .5rem 0 0; }

/* --------------------------------------------------------------------------
   Booking steps timeline
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 32px; left: 12%; right: 12%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--v-line) 0 10px, transparent 10px 18px);
  z-index: 0;
}
.step { position: relative; z-index: 1; text-align: center; }
.step-num {
  width: 64px; height: 64px; border-radius: 20px;
  margin: 0 auto 1.1rem;
  display: grid; place-items: center;
  background: #fff;
  border: 2px solid var(--v-teal-soft);
  color: var(--v-teal-600);
  font-family: var(--v-head);
  font-weight: 800;
  font-size: 1.4rem;
  box-shadow: var(--v-shadow-sm);
  transition: transform .22s ease;
}
.step:hover .step-num { transform: translateY(-4px); background: var(--v-teal); color: #fff; border-color: var(--v-teal); }
.step h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.step p { font-size: .92rem; margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Testimonials slider
   -------------------------------------------------------------------------- */
.tslider { position: relative; max-width: 900px; margin-inline: auto; }
.tslider.ready .tslider-track {
  overflow: hidden;
}
.tslide {
  min-width: 100%;
  padding: 0 .5rem;
  transition: opacity .4s ease;
}
/* No-JS fallback: all slides visible, stacked. Once JS marks the slider
   .ready, only the active slide is shown. */
.tslider.ready .tslide { opacity: 0; }
.tslider.ready .tslide[aria-hidden="false"] { opacity: 1; }
.tslider:not(.ready) .tslide + .tslide { margin-top: 1.25rem; }
.tquote {
  background: #fff;
  border: 1px solid var(--v-line);
  border-radius: var(--v-radius-lg);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: var(--v-shadow);
  text-align: center;
}
.tquote .qmark { color: var(--v-teal); opacity: .35; margin-bottom: .75rem; }
.tquote .stars { color: var(--v-amber); letter-spacing: 1px; margin-bottom: 1rem; }
.tquote blockquote {
  font-size: clamp(1.1rem, 2.1vw, 1.4rem);
  color: var(--v-ink);
  font-family: var(--v-head);
  font-weight: 500;
  line-height: 1.5;
  margin: 0 0 1.5rem;
  letter-spacing: -.01em;
}
.tperson { display: flex; align-items: center; justify-content: center; gap: .8rem; }
.tperson img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.tperson b { display: block; color: var(--v-ink); font-family: var(--v-head); }
.tperson span { font-size: .85rem; color: var(--v-muted); }

.tnav { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.75rem; }
.tarrow {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid var(--v-line); background: #fff;
  color: var(--v-ink); cursor: pointer;
  display: grid; place-items: center;
  transition: all .18s ease;
}
.tarrow:hover { border-color: var(--v-teal); color: var(--v-teal-700); background: var(--v-teal-mist); }
.tdots { display: flex; gap: .5rem; }
.tdot {
  width: 9px; height: 9px; border-radius: 50%;
  border: none; background: var(--v-line); cursor: pointer; padding: 0;
  transition: background .18s ease, transform .18s ease;
}
.tdot[aria-selected="true"] { background: var(--v-teal); transform: scale(1.25); }

/* --------------------------------------------------------------------------
   Insurance / partner chips
   -------------------------------------------------------------------------- */
.chip-row {
  display: flex; flex-wrap: wrap; gap: .75rem;
  justify-content: center;
}
.chip {
  display: inline-flex; align-items: center; gap: .5rem;
  background: #fff;
  border: 1px solid var(--v-line);
  border-radius: var(--v-radius-pill);
  padding: .55rem 1.15rem;
  font-family: var(--v-head);
  font-weight: 600;
  font-size: .92rem;
  color: var(--v-ink-700);
  transition: border-color .18s ease, color .18s ease, transform .18s ease;
}
.chip svg { color: var(--v-teal); }
.chip:hover { border-color: var(--v-teal); color: var(--v-teal-700); transform: translateY(-2px); }

/* --------------------------------------------------------------------------
   Blog teasers
   -------------------------------------------------------------------------- */
.post-card {
  background: #fff;
  border: 1px solid var(--v-line);
  border-radius: var(--v-radius-lg);
  overflow: hidden;
  height: 100%;
  display: flex; flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--v-shadow); }
.post-thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--v-teal-soft); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.post-card:hover .post-thumb img { transform: scale(1.05); }
.post-body { padding: 1.4rem; display: flex; flex-direction: column; flex: 1; }
.post-cat {
  align-self: flex-start;
  font-family: var(--v-head);
  font-weight: 600; font-size: .74rem;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--v-teal-700);
  background: var(--v-teal-soft);
  padding: .3rem .7rem; border-radius: var(--v-radius-pill);
  margin-bottom: .85rem;
}
.post-body h3 { font-size: 1.16rem; line-height: 1.35; margin-bottom: .55rem; }
.post-body h3 a { color: var(--v-ink); }
.post-body h3 a:hover { color: var(--v-teal-700); }
.post-body p { font-size: .93rem; flex: 1; margin-bottom: 1rem; }
.post-meta { font-size: .82rem; color: var(--v-muted); display: flex; align-items: center; gap: .5rem; }

/* --------------------------------------------------------------------------
   FAQ accordion (native details)
   -------------------------------------------------------------------------- */
.faq-list { max-width: 780px; margin-inline: auto; }
.faq {
  background: #fff;
  border: 1px solid var(--v-line);
  border-radius: var(--v-radius);
  margin-bottom: .85rem;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq[open] { border-color: #cfe6e3; box-shadow: var(--v-shadow-sm); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 1.35rem;
  font-family: var(--v-head);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--v-ink);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .faq-plus {
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--v-teal-soft); color: var(--v-teal-600);
  display: grid; place-items: center; flex: none;
  transition: transform .25s ease, background .2s ease, color .2s ease;
}
.faq[open] summary .faq-plus { transform: rotate(45deg); background: var(--v-teal); color: #fff; }
.faq-body { padding: 0 1.35rem 1.25rem; color: var(--v-body); font-size: .97rem; }
.faq-body p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  background: linear-gradient(135deg, var(--v-teal-700) 0%, var(--v-teal) 100%);
  color: #fff;
  border-radius: var(--v-radius-lg);
  padding: clamp(2.5rem, 5vw, 4rem);
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 320px; height: 320px; border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.cta-band::after {
  content: "";
  position: absolute;
  left: -60px; bottom: -100px;
  width: 260px; height: 260px; border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.cta-band .cta-inner { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: .75rem; }
.cta-band p { color: rgba(255,255,255,.9); font-size: 1.1rem; margin-bottom: 0; }
.cta-phone {
  display: inline-flex; align-items: center; gap: .6rem;
  color: #fff; font-family: var(--v-head); font-weight: 700; font-size: 1.35rem;
}
.cta-phone:hover { color: #fff; }
.cta-phone .cta-ph-ic {
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.15); display: grid; place-items: center;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer h4 {
  color: #fff; font-size: 1.02rem; font-family: var(--v-head);
  margin-bottom: 1.15rem; letter-spacing: .01em;
}
.site-footer a { color: #a8c6c3; }
.site-footer a:hover { color: #fff; }
.footer-brand .brand { color: #fff; margin-bottom: 1rem; }
.footer-brand .brand span { color: var(--v-teal); }
.footer-about { font-size: .93rem; color: #96b7b4; max-width: 300px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .6rem; }
.footer-links a { font-size: .93rem; }
.footer-hours { list-style: none; padding: 0; margin: 0; font-size: .93rem; }
.footer-hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.footer-hours li span:last-child { color: #fff; font-weight: 600; }
.footer-contact { list-style: none; padding: 0; margin: 0; font-size: .93rem; }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .8rem; }
.footer-contact li svg { color: var(--v-teal); flex: none; margin-top: 3px; }
.footer-social { display: flex; gap: .6rem; margin-top: 1.25rem; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,.06);
  display: grid; place-items: center; color: #cfe4e2;
}
.footer-social a:hover { background: var(--v-teal); color: #fff; }
.footer-bottom {
  margin-top: clamp(2rem,4vw,3rem);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.4rem 0;
  font-size: .86rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.footer-bottom a { color: #cfe4e2; }

/* --------------------------------------------------------------------------
   Page header (departments)
   -------------------------------------------------------------------------- */
.page-hero {
  background:
    radial-gradient(900px 400px at 85% -20%, var(--v-teal-soft) 0%, transparent 60%),
    linear-gradient(180deg, var(--v-teal-mist), #fff);
  padding: clamp(2.75rem, 5vw, 4.5rem) 0 clamp(2.5rem, 4vw, 3.5rem);
  text-align: center;
}
.page-hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); margin: 1rem 0 .85rem; }
.page-hero p { max-width: 620px; margin: 0 auto; font-size: 1.1rem; color: var(--v-body); }
.breadcrumbs { font-size: .88rem; color: var(--v-muted); }
.breadcrumbs a { color: var(--v-teal-600); }
.breadcrumbs span { margin: 0 .35rem; }

/* Department detail row (departments.html) */
.dept-row {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 1.5rem;
  align-items: center;
  background: #fff;
  border: 1px solid var(--v-line);
  border-radius: var(--v-radius-lg);
  padding: 1.5rem 1.75rem;
  transition: box-shadow .22s ease, border-color .22s ease, transform .22s ease;
}
.dept-row:hover { box-shadow: var(--v-shadow); border-color: transparent; transform: translateY(-3px); }
.dept-row .svc-ic { margin-bottom: 0; width: 72px; height: 72px; }
.dept-row h3 { font-size: 1.3rem; margin-bottom: .35rem; }
.dept-row p { margin-bottom: .6rem; font-size: .96rem; }
.dept-row .svc-meta { margin-bottom: 0; }
.dept-price {
  text-align: right; min-width: 130px;
}
.dept-price .from { font-size: .78rem; color: var(--v-muted); display: block; }
.dept-price .amt { font-family: var(--v-head); font-weight: 800; font-size: 1.5rem; color: var(--v-ink); }

/* Booking form panel (departments) */
.book-panel {
  background: #fff;
  border: 1px solid var(--v-line);
  border-radius: var(--v-radius-lg);
  box-shadow: var(--v-shadow);
  padding: clamp(1.75rem, 4vw, 2.5rem);
}
.book-aside {
  background: var(--v-ink);
  color: #cfe4e2;
  border-radius: var(--v-radius-lg);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  height: 100%;
}
.book-aside h3 { color: #fff; }
.book-aside .ba-item { display: flex; gap: .8rem; align-items: flex-start; margin-top: 1.4rem; }
.book-aside .ba-item .fic {
  width: 46px; height: 46px; border-radius: 12px; flex: none;
  background: rgba(255,255,255,.08); color: var(--v-teal);
  display: grid; place-items: center;
}
.book-aside .ba-item b { color: #fff; display: block; font-family: var(--v-head); }
.book-aside .ba-item span { font-size: .9rem; color: #a8c6c3; }

/* --------------------------------------------------------------------------
   Reveal animations (progressive enhancement)
   -------------------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .08s; }
.js .reveal-d2 { transition-delay: .16s; }
.js .reveal-d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .pulse-dot::after { animation: none; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 520px; margin-inline: auto; width: 100%; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
  .steps::before { display: none; }
  .stat-band .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
  .stat-band .divide { border-left: none; }
  .dept-row { grid-template-columns: 72px 1fr; }
  .dept-row .dept-price { grid-column: 1 / -1; text-align: left; display: flex; align-items: center; justify-content: space-between; }
}

@media (max-width: 767.98px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .cta-band { text-align: center; }
  .cta-band .cta-inner { flex-direction: column; }
  .footer-bottom { justify-content: center; text-align: center; }
  .topbar-left { gap: 1rem; }
  .hero-trust { gap: 1.25rem; }
}

@media (max-width: 575.98px) {
  .stat-band .stat-grid { grid-template-columns: 1fr 1fr; }
  .topbar .topbar-emerg .lbl-full { display: none; }
}
