/* =========================================================================
   PDSCGH Design System
   -------------------------------------------------------------------------
   TABLE OF CONTENTS
   1. Design tokens (CSS variables)
   2. Reset & base
   3. Typography & fluid scale
   4. Layout primitives (container, grid, section)
   5. Buttons & links
   6. Header / navigation / mega menu / drawer / search
   7. Cards (department, doctor, facility, blog, package, testimonial)
   8. Components (badges, breadcrumbs, accordion, forms, stats, tabs,
      pagination, skeletons, lightbox, back-to-top)
   9. Sections (hero, page-hero, CTA bands, footer)
   10. Animations & reveal system
   11. Utilities
   12. Responsive overrides
   ========================================================================= */

/* ------------------------------------------------------------------ */
/* 1. DESIGN TOKENS                                                    */
/* ------------------------------------------------------------------ */
:root {
  /* Brand colors — fresh PDSCGH palette (teal + coral + gold) */
  --c-primary: #0e7c7b;
  --c-primary-dark: #0a5f5e;
  --c-primary-deep: #073b3a;
  --c-primary-soft: #e3f2f1;
  --c-primary-tint: #f2faf9;
  --c-accent: #f4735f;
  --c-accent-dark: #d95642;
  --c-accent-soft: #fdeeea;
  --c-gold: #f2b33d;
  --c-gold-soft: #fdf3dd;
  --c-emergency: #d93a3a;
  --c-emergency-dark: #b32626;

  /* Neutrals */
  --c-ink: #14302f;
  --c-body: #4c5f5e;
  --c-muted: #7b8b8a;
  --c-line: #dfeae9;
  --c-bg: #ffffff;
  --c-bg-soft: #f6fbfa;
  --c-bg-warm: #fff9f2;

  /* Typography */
  --font-display: "Outfit", "Segoe UI", system-ui, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;

  /* Fluid type scale */
  --fs-xs: clamp(0.72rem, 0.7rem + 0.1vw, 0.78rem);
  --fs-sm: clamp(0.82rem, 0.79rem + 0.15vw, 0.9rem);
  --fs-base: clamp(0.95rem, 0.9rem + 0.25vw, 1.05rem);
  --fs-md: clamp(1.05rem, 1rem + 0.35vw, 1.2rem);
  --fs-lg: clamp(1.25rem, 1.15rem + 0.6vw, 1.55rem);
  --fs-xl: clamp(1.55rem, 1.35rem + 1.1vw, 2.1rem);
  --fs-2xl: clamp(1.9rem, 1.6rem + 1.8vw, 2.8rem);
  --fs-hero: clamp(2.1rem, 1.6rem + 2.8vw, 3.6rem);

  /* Spacing scale */
  --sp-1: 0.25rem; --sp-2: 0.5rem; --sp-3: 0.75rem; --sp-4: 1rem;
  --sp-5: 1.5rem; --sp-6: 2rem; --sp-7: 3rem; --sp-8: 4rem;
  --sp-section: clamp(3.5rem, 3rem + 3vw, 6rem);

  /* Radius */
  --r-sm: 8px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px; --r-full: 999px;

  /* Shadows */
  --sh-sm: 0 2px 8px rgba(7, 59, 58, 0.06);
  --sh-md: 0 8px 24px rgba(7, 59, 58, 0.09);
  --sh-lg: 0 18px 48px rgba(7, 59, 58, 0.14);
  --sh-primary: 0 10px 26px rgba(14, 124, 123, 0.28);
  --sh-accent: 0 10px 26px rgba(244, 115, 95, 0.32);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.35s;

  /* Layout */
  --container: 1200px;
  --header-h: 76px;
}

/* ------------------------------------------------------------------ */
/* 2. RESET & BASE                                                     */
/* ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 100px); }
body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--c-body);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, picture, svg, video { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
ul[class], ol[class] { list-style: none; padding: 0; }
a { color: var(--c-primary); text-decoration: none; }
a:hover { color: var(--c-primary-dark); }
:focus-visible {
  outline: 3px solid var(--c-gold);
  outline-offset: 2px;
  border-radius: 4px;
}
::selection { background: var(--c-primary); color: #fff; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--c-primary-deep); color: #fff;
  padding: var(--sp-3) var(--sp-5); border-radius: 0 0 var(--r-md) 0;
}
.skip-link:focus { left: 0; color: #fff; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ------------------------------------------------------------------ */
/* 3. TYPOGRAPHY                                                       */
/* ------------------------------------------------------------------ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--c-ink);
  line-height: 1.2;
  font-weight: 700;
  text-wrap: balance;
}
h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-lg); }
h4 { font-size: var(--fs-md); }
p + p { margin-top: var(--sp-4); }
.lead { font-size: var(--fs-md); color: var(--c-body); }

/* Section title block */
.section-head { max-width: 720px; margin-bottom: var(--sp-6); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-family: var(--font-display); font-weight: 600;
  font-size: var(--fs-sm); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--c-accent-dark); margin-bottom: var(--sp-3);
}
.section-head .eyebrow::before {
  content: ""; width: 28px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--c-accent), var(--c-gold));
}
.section-head.center .eyebrow::after {
  content: ""; width: 28px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--c-gold), var(--c-accent));
}
.section-head h2 { margin-bottom: var(--sp-3); }
.section-head p { color: var(--c-muted); }

/* ------------------------------------------------------------------ */
/* 4. LAYOUT PRIMITIVES                                                */
/* ------------------------------------------------------------------ */
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.section { padding-block: var(--sp-section); }
.section.soft { background: var(--c-bg-soft); }
.section.warm { background: var(--c-bg-warm); }
.section.deep { background: var(--c-primary-deep); }
.section.deep h2, .section.deep h3 { color: #fff; }
.section.deep p { color: rgba(255, 255, 255, 0.75); }

.grid { display: grid; gap: var(--sp-5); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-7); align-items: center; }

/* ------------------------------------------------------------------ */
/* 5. BUTTONS                                                          */
/* ------------------------------------------------------------------ */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-sm);
  padding: 0.85em 1.7em; border-radius: var(--r-full);
  border: 2px solid transparent;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              background-color var(--dur) var(--ease), color var(--dur) var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--c-primary); color: #fff; box-shadow: var(--sh-primary); }
.btn-primary:hover { background: var(--c-primary-dark); color: #fff; }
.btn-accent { background: var(--c-accent); color: #fff; box-shadow: var(--sh-accent); }
.btn-accent:hover { background: var(--c-accent-dark); color: #fff; }
.btn-outline { border-color: var(--c-primary); color: var(--c-primary); background: transparent; }
.btn-outline:hover { background: var(--c-primary); color: #fff; }
.btn-white { background: #fff; color: var(--c-primary-dark); box-shadow: var(--sh-md); }
.btn-white:hover { color: var(--c-primary); }
.btn-ghost-white { border-color: rgba(255,255,255,0.55); color: #fff; }
.btn-ghost-white:hover { background: #fff; color: var(--c-primary-deep); }
.btn-emergency { background: var(--c-emergency); color: #fff; box-shadow: 0 8px 22px rgba(217,58,58,0.35); }
.btn-emergency:hover { background: var(--c-emergency-dark); color: #fff; }
.btn-lg { padding: 1em 2.2em; font-size: var(--fs-base); }
.btn-sm { padding: 0.55em 1.2em; font-size: var(--fs-xs); }

/* Ripple (attached by JS) */
.ripple {
  position: absolute; border-radius: 50%; pointer-events: none;
  background: rgba(255, 255, 255, 0.45); transform: scale(0);
  animation: ripple 0.6s ease-out forwards;
}
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

.link-arrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-sm);
  color: var(--c-primary);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ------------------------------------------------------------------ */
/* 6. HEADER & NAVIGATION                                              */
/* ------------------------------------------------------------------ */
.topbar {
  background: var(--c-primary-deep); color: rgba(255,255,255,0.85);
  font-size: var(--fs-xs);
}
.topbar .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-4); padding-block: 0.45rem;
}
.topbar a { color: rgba(255,255,255,0.9); display: inline-flex; align-items: center; gap: 0.4rem; }
.topbar a:hover { color: var(--c-gold); }
.topbar svg { width: 14px; height: 14px; }
.topbar-group { display: flex; gap: var(--sp-5); align-items: center; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.site-header.scrolled { box-shadow: var(--sh-md); border-color: var(--c-line); }
.site-header .container {
  display: flex; align-items: center; gap: var(--sp-5);
  height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 0.7rem; flex: none; }
.brand img, .brand svg { width: 46px; height: 46px; }
.brand-text { line-height: 1.15; }
.brand-text .brand-name {
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  color: var(--c-primary-deep); display: block;
}
.brand-text .brand-sub { font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-muted); }

.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; gap: 0.2rem; }
.main-nav .nav-item { position: relative; }
.main-nav .nav-link {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-sm);
  color: var(--c-ink); padding: 0.6rem 0.85rem; border-radius: var(--r-full);
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.main-nav .nav-link svg { width: 14px; height: 14px; transition: transform var(--dur) var(--ease); }
.main-nav .nav-item:hover > .nav-link,
.main-nav .nav-item:focus-within > .nav-link,
.main-nav .nav-link.active { color: var(--c-primary); background: var(--c-primary-soft); }
.main-nav .nav-item:hover > .nav-link svg,
.main-nav .nav-item:focus-within > .nav-link svg { transform: rotate(180deg); }

/* Mega menu */
.mega {
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-lg);
  border: 1px solid var(--c-line);
  padding: var(--sp-5);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
  width: max-content; max-width: min(92vw, 860px);
}
.mega::before { /* hover bridge */
  content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px;
}
.nav-item:hover .mega, .nav-item:focus-within .mega {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.mega-grid { display: grid; grid-template-columns: repeat(3, minmax(200px, 1fr)); gap: 0.35rem; }
.mega-grid.cols-2 { grid-template-columns: repeat(2, minmax(220px, 1fr)); }
.mega a {
  display: flex; gap: 0.7rem; align-items: flex-start;
  padding: 0.65rem 0.8rem; border-radius: var(--r-md);
  transition: background-color var(--dur) var(--ease);
}
.mega a:hover { background: var(--c-primary-tint); }
.mega .mi-icon {
  flex: none; width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--c-primary-soft); color: var(--c-primary);
}
.mega .mi-icon svg { width: 18px; height: 18px; }
.mega .mi-title { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-sm); color: var(--c-ink); display: block; }
.mega .mi-desc { font-size: var(--fs-xs); color: var(--c-muted); }
.mega-footer {
  margin-top: var(--sp-4); padding-top: var(--sp-4);
  border-top: 1px solid var(--c-line);
  display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4);
  font-size: var(--fs-sm);
}

.header-actions { display: flex; align-items: center; gap: var(--sp-3); flex: none; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--c-ink); background: var(--c-bg-soft);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.icon-btn:hover { background: var(--c-primary-soft); color: var(--c-primary); transform: translateY(-2px); }
.icon-btn svg { width: 20px; height: 20px; }
.nav-toggle { display: none; }

/* Mobile drawer */
.drawer-backdrop {
  position: fixed; inset: 0; z-index: 190;
  background: rgba(7, 59, 58, 0.5); backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; transition: opacity var(--dur) var(--ease), visibility var(--dur);
}
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 200;
  width: min(86vw, 360px); background: #fff;
  transform: translateX(100%); transition: transform 0.45s var(--ease);
  display: flex; flex-direction: column;
  box-shadow: var(--sh-lg); overflow-y: auto;
}
body.drawer-open { overflow: hidden; }
body.drawer-open .drawer { transform: translateX(0); }
body.drawer-open .drawer-backdrop { opacity: 1; visibility: visible; }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--sp-4) var(--sp-5); border-bottom: 1px solid var(--c-line);
}
.drawer-nav { padding: var(--sp-4) var(--sp-5); flex: 1; }
.drawer-nav .d-link {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--c-ink);
  padding: 0.8rem 0.4rem; border-bottom: 1px solid var(--c-line); text-align: left;
}
.drawer-nav .d-link svg { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.drawer-nav .d-item.open .d-link svg { transform: rotate(180deg); }
.drawer-sub { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.d-item.open .drawer-sub { max-height: 600px; }
.drawer-sub a { display: block; padding: 0.55rem 1rem; font-size: var(--fs-sm); color: var(--c-body); border-bottom: 1px dashed var(--c-line); }
.drawer-sub a:hover { color: var(--c-primary); }
.drawer-foot { padding: var(--sp-5); border-top: 1px solid var(--c-line); display: grid; gap: var(--sp-3); }

/* Search modal */
.search-modal {
  position: fixed; inset: 0; z-index: 210;
  background: rgba(7, 59, 58, 0.72); backdrop-filter: blur(6px);
  display: grid; place-items: start center; padding: 12vh var(--sp-4) var(--sp-4);
  opacity: 0; visibility: hidden; transition: opacity var(--dur) var(--ease), visibility var(--dur);
}
.search-modal.open { opacity: 1; visibility: visible; }
.search-panel {
  width: min(640px, 100%); background: #fff; border-radius: var(--r-lg);
  box-shadow: var(--sh-lg); overflow: hidden;
  transform: translateY(-16px); transition: transform var(--dur) var(--ease);
}
.search-modal.open .search-panel { transform: translateY(0); }
.search-input-row { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-4) var(--sp-5); border-bottom: 1px solid var(--c-line); }
.search-input-row svg { width: 20px; height: 20px; color: var(--c-muted); flex: none; }
.search-input-row input { flex: 1; border: none; outline: none; font-size: var(--fs-md); background: transparent; }
.search-results { max-height: 46vh; overflow-y: auto; padding: var(--sp-3); }
.search-results a {
  display: flex; gap: var(--sp-3); align-items: center; padding: 0.7rem 0.9rem;
  border-radius: var(--r-md); color: var(--c-ink);
}
.search-results a:hover { background: var(--c-primary-tint); }
.search-results .sr-type {
  flex: none; font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--c-primary); background: var(--c-primary-soft); border-radius: var(--r-full); padding: 0.15rem 0.6rem;
}
.search-empty { padding: var(--sp-5); text-align: center; color: var(--c-muted); font-size: var(--fs-sm); }

/* ------------------------------------------------------------------ */
/* 7. CARDS                                                            */
/* ------------------------------------------------------------------ */
.card {
  background: #fff; border-radius: var(--r-lg); border: 1px solid var(--c-line);
  box-shadow: var(--sh-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: transparent; }

/* Department card */
.dept-card { padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-3); position: relative; overflow: hidden; }
.dept-card .dc-icon {
  width: 58px; height: 58px; border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--c-primary-soft), #fff);
  color: var(--c-primary); border: 1px solid var(--c-line);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.dept-card .dc-icon svg { width: 28px; height: 28px; }
.dept-card:hover .dc-icon { background: var(--c-primary); color: #fff; transform: scale(1.06) rotate(-3deg); }
.dept-card h3 { font-size: var(--fs-md); }
.dept-card p { font-size: var(--fs-sm); color: var(--c-muted); flex: 1; }
.dept-card::after {
  content: ""; position: absolute; inset: auto -30px -30px auto; width: 110px; height: 110px;
  border-radius: 50%; background: var(--c-primary-tint);
  transition: transform var(--dur) var(--ease); z-index: -1;
}
.dept-card:hover::after { transform: scale(1.5); }

/* Doctor card */
.doctor-card { overflow: hidden; display: flex; flex-direction: column; }
.doctor-card .img-wrap { aspect-ratio: 4 / 4.4; overflow: hidden; background: var(--c-primary-soft); position: relative; }
.doctor-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.doctor-card:hover .img-wrap img { transform: scale(1.07); }
.doctor-card .dr-body { padding: var(--sp-4) var(--sp-5) var(--sp-5); display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.doctor-card .dr-dept {
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-accent-dark);
}
.doctor-card h3 { font-size: var(--fs-md); }
.doctor-card .dr-quals { font-size: var(--fs-xs); color: var(--c-muted); }
.doctor-card .dr-role { font-size: var(--fs-sm); color: var(--c-body); flex: 1; }
.doctor-card .dr-foot { margin-top: var(--sp-3); display: flex; gap: var(--sp-2); }

/* Facility card */
.facility-card { padding: var(--sp-5); text-align: center; display: flex; flex-direction: column; align-items: center; gap: var(--sp-3); }
.facility-card .fc-icon {
  width: 66px; height: 66px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--c-accent-soft); color: var(--c-accent-dark);
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.facility-card .fc-icon svg { width: 30px; height: 30px; }
.facility-card:hover .fc-icon { background: var(--c-accent); color: #fff; transform: scale(1.08); }
.facility-card h3 { font-size: var(--fs-md); }
.facility-card p { font-size: var(--fs-sm); color: var(--c-muted); }

/* Blog card */
.blog-card { overflow: hidden; display: flex; flex-direction: column; }
.blog-card .img-wrap { aspect-ratio: 16 / 10; overflow: hidden; }
.blog-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.blog-card:hover .img-wrap img { transform: scale(1.06); }
.blog-card .bc-body { padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-3); flex: 1; }
.blog-card .bc-meta { display: flex; gap: var(--sp-3); align-items: center; font-size: var(--fs-xs); color: var(--c-muted); }
.blog-card h3 { font-size: var(--fs-md); }
.blog-card h3 a { color: inherit; }
.blog-card h3 a:hover { color: var(--c-primary); }
.blog-card p { font-size: var(--fs-sm); color: var(--c-muted); flex: 1; }

/* Package card */
.package-card { padding: var(--sp-6) var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-4); position: relative; }
.package-card.popular { border: 2px solid var(--c-primary); box-shadow: var(--sh-md); }
.package-card .pk-tag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--c-primary); color: #fff; font-size: var(--fs-xs); font-weight: 700;
  padding: 0.3rem 1rem; border-radius: var(--r-full); white-space: nowrap;
}
.package-card h3 { text-align: center; }
.package-card .pk-sub { text-align: center; color: var(--c-accent-dark); font-weight: 600; font-size: var(--fs-sm); }
.package-card ul { display: grid; gap: 0.55rem; flex: 1; }
.package-card li { display: flex; gap: 0.6rem; font-size: var(--fs-sm); align-items: flex-start; }
.package-card li svg { width: 18px; height: 18px; color: var(--c-primary); flex: none; margin-top: 2px; }
.package-card .pk-note { font-size: var(--fs-xs); color: var(--c-muted); text-align: center; }

/* Testimonial card */
.testimonial-card {
  background: #fff; border-radius: var(--r-lg); padding: var(--sp-6);
  box-shadow: var(--sh-sm); border: 1px solid var(--c-line);
  display: flex; flex-direction: column; gap: var(--sp-4); height: 100%;
}
.testimonial-card .tc-quote { color: var(--c-gold); }
.testimonial-card .tc-quote svg { width: 34px; height: 34px; }
.testimonial-card p { flex: 1; font-size: var(--fs-base); color: var(--c-ink); }
.testimonial-card .tc-person { display: flex; align-items: center; gap: var(--sp-3); }
.testimonial-card .tc-avatar {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  display: grid; place-items: center; color: #fff; font-weight: 700; font-family: var(--font-display);
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-dark));
}
.testimonial-card .tc-name { font-family: var(--font-display); font-weight: 700; color: var(--c-ink); font-size: var(--fs-sm); }
.testimonial-card .tc-context { font-size: var(--fs-xs); color: var(--c-muted); }

/* Info / value card */
.value-card { padding: var(--sp-5); display: flex; gap: var(--sp-4); }
.value-card .vc-icon {
  flex: none; width: 54px; height: 54px; border-radius: 14px;
  display: grid; place-items: center; background: var(--c-gold-soft); color: #b07b12;
}
.value-card .vc-icon svg { width: 26px; height: 26px; }
.value-card h3 { font-size: var(--fs-md); margin-bottom: 0.3rem; }
.value-card p { font-size: var(--fs-sm); color: var(--c-muted); }

/* ------------------------------------------------------------------ */
/* 8. COMPONENTS                                                       */
/* ------------------------------------------------------------------ */
/* Badges */
.badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-xs);
  padding: 0.35rem 0.9rem; border-radius: var(--r-full);
}
.badge svg { width: 14px; height: 14px; }
.badge-primary { background: var(--c-primary-soft); color: var(--c-primary-dark); }
.badge-accent { background: var(--c-accent-soft); color: var(--c-accent-dark); }
.badge-gold { background: var(--c-gold-soft); color: #a06f0a; }
.badge-white { background: rgba(255,255,255,0.16); color: #fff; border: 1px solid rgba(255,255,255,0.3); }

/* Breadcrumbs */
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; font-size: var(--fs-xs); }
.breadcrumbs a { color: rgba(255,255,255,0.75); }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs .sep { color: rgba(255,255,255,0.4); }
.breadcrumbs .current { color: var(--c-gold); font-weight: 600; }

/* Accordion */
.accordion { display: grid; gap: var(--sp-3); }
.acc-item { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md); overflow: hidden; transition: box-shadow var(--dur) var(--ease); }
.acc-item.open { box-shadow: var(--sh-md); }
.acc-trigger {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5); text-align: left;
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-base); color: var(--c-ink);
}
.acc-trigger .acc-chev {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--c-primary-soft); color: var(--c-primary);
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.acc-trigger .acc-chev svg { width: 16px; height: 16px; }
.acc-item.open .acc-chev { transform: rotate(180deg); background: var(--c-primary); color: #fff; }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease); }
.acc-panel-inner { padding: 0 var(--sp-5) var(--sp-5); color: var(--c-body); font-size: var(--fs-sm); }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-sm); color: var(--c-ink); }
.form-field label .req { color: var(--c-accent-dark); }
.form-field input, .form-field select, .form-field textarea {
  border: 1.5px solid var(--c-line); border-radius: var(--r-md);
  padding: 0.75rem 1rem; background: #fff; font-size: var(--fs-sm);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  width: 100%;
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 4px var(--c-primary-soft);
}
.form-field .error-msg { display: none; font-size: var(--fs-xs); color: var(--c-emergency); }
.form-field.invalid input, .form-field.invalid select, .form-field.invalid textarea { border-color: var(--c-emergency); }
.form-field.invalid .error-msg { display: block; }
.form-success {
  display: none; text-align: center; padding: var(--sp-6);
  background: var(--c-primary-tint); border: 1px dashed var(--c-primary); border-radius: var(--r-lg);
}
.form-success svg { width: 52px; height: 52px; color: var(--c-primary); margin: 0 auto var(--sp-3); }

/* Stats / counters */
.stats-band { position: relative; }
.stat { text-align: center; padding: var(--sp-4); }
.stat .stat-value {
  font-family: var(--font-display); font-weight: 700;
  font-size: var(--fs-2xl); color: #fff; line-height: 1;
  display: flex; align-items: baseline; justify-content: center; gap: 0.1em;
}
.stat .stat-value .suffix { color: var(--c-gold); font-size: 0.65em; }
.stat .stat-label { font-family: var(--font-display); font-weight: 600; color: #fff; margin-top: 0.5rem; }
.stat .stat-note { font-size: var(--fs-xs); color: rgba(255,255,255,0.65); margin-top: 0.2rem; }

/* Tabs / filter pills */
.filter-row { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-bottom: var(--sp-6); }
.filter-pill {
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-xs);
  padding: 0.5rem 1.1rem; border-radius: var(--r-full);
  background: #fff; border: 1.5px solid var(--c-line); color: var(--c-body);
  transition: all var(--dur) var(--ease);
}
.filter-pill:hover { border-color: var(--c-primary); color: var(--c-primary); }
.filter-pill.active { background: var(--c-primary); border-color: var(--c-primary); color: #fff; box-shadow: var(--sh-primary); }

/* Pagination */
.pagination { display: flex; gap: var(--sp-2); justify-content: center; margin-top: var(--sp-7); }
.page-btn {
  min-width: 42px; height: 42px; border-radius: var(--r-md);
  display: grid; place-items: center; padding-inline: 0.6rem;
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-sm);
  background: #fff; border: 1.5px solid var(--c-line); color: var(--c-body);
  transition: all var(--dur) var(--ease);
}
.page-btn:hover { border-color: var(--c-primary); color: var(--c-primary); }
.page-btn.active { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }

/* Skeletons */
.skeleton {
  position: relative; overflow: hidden; background: var(--c-primary-soft); border-radius: var(--r-md);
}
.skeleton::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.65), transparent);
  transform: translateX(-100%); animation: shimmer 1.4s infinite;
}
@keyframes shimmer { to { transform: translateX(100%); } }
img.lazy-img { background: var(--c-primary-soft); }

/* Slider (testimonials) */
.slider { position: relative; }
.slider-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * var(--sp-5)) / 3);
  gap: var(--sp-5); overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: var(--sp-3); scrollbar-width: none;
}
.slider-track::-webkit-scrollbar { display: none; }
.slider-track > * { scroll-snap-align: start; }
.slider-controls { display: flex; gap: var(--sp-3); justify-content: center; margin-top: var(--sp-5); }
.slider-btn {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; border: 1.5px solid var(--c-line); color: var(--c-primary);
  transition: all var(--dur) var(--ease);
}
.slider-btn:hover { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.slider-btn svg { width: 20px; height: 20px; }

/* Gallery & lightbox */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
.gallery-item {
  position: relative; border-radius: var(--r-lg); overflow: hidden; cursor: zoom-in;
  aspect-ratio: 4 / 3; border: none; padding: 0; display: block; width: 100%;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item .g-cap {
  position: absolute; inset: auto 0 0 0; padding: 2.2rem var(--sp-4) var(--sp-4);
  background: linear-gradient(transparent, rgba(7,59,58,0.85));
  color: #fff; font-size: var(--fs-sm); font-family: var(--font-display); font-weight: 600;
  text-align: left; opacity: 0; transform: translateY(8px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.gallery-item:hover .g-cap, .gallery-item:focus-visible .g-cap { opacity: 1; transform: translateY(0); }
.lightbox {
  position: fixed; inset: 0; z-index: 220; background: rgba(7,59,58,0.92);
  display: grid; place-items: center; padding: var(--sp-5);
  opacity: 0; visibility: hidden; transition: opacity var(--dur) var(--ease), visibility var(--dur);
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-height: 80vh; max-width: 100%; border-radius: var(--r-lg); box-shadow: var(--sh-lg); }
.lightbox .lb-cap { color: #fff; text-align: center; margin-top: var(--sp-3); font-size: var(--fs-sm); }
.lightbox .lb-close { position: absolute; top: var(--sp-5); right: var(--sp-5); color: #fff; }
.lightbox .lb-close svg { width: 30px; height: 30px; }
.lightbox .lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255,255,255,0.12); color: #fff;
  transition: background var(--dur) var(--ease);
}
.lightbox .lb-nav:hover { background: rgba(255,255,255,0.28); }
.lightbox .lb-prev { left: var(--sp-4); } .lightbox .lb-next { right: var(--sp-4); }
.lightbox .lb-nav svg { width: 22px; height: 22px; }

/* Back to top */
.to-top {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--c-primary); color: #fff; display: grid; place-items: center;
  box-shadow: var(--sh-primary);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all var(--dur) var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--c-primary-dark); transform: translateY(-3px); }
.to-top svg { width: 20px; height: 20px; }

/* Emergency float (mobile) */
.emergency-float {
  position: fixed; left: 1.4rem; bottom: 1.4rem; z-index: 90;
  display: none; align-items: center; gap: 0.5rem;
  background: var(--c-emergency); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-sm);
  padding: 0.7rem 1.2rem; border-radius: var(--r-full);
  box-shadow: 0 8px 22px rgba(217,58,58,0.4);
}
.emergency-float svg { width: 18px; height: 18px; }
.emergency-float:hover { color: #fff; background: var(--c-emergency-dark); }

/* ------------------------------------------------------------------ */
/* 9. SECTIONS                                                         */
/* ------------------------------------------------------------------ */
/* Homepage hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 80% at 85% 20%, rgba(242,179,61,0.12), transparent),
    radial-gradient(ellipse 70% 90% at 10% 90%, rgba(244,115,95,0.1), transparent),
    linear-gradient(160deg, var(--c-primary-tint) 0%, #ffffff 55%, var(--c-bg-warm) 100%);
}
.hero .container {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--sp-7);
  align-items: center; padding-block: var(--sp-8) var(--sp-7); min-height: 560px;
}
.hero-copy h1 { margin: var(--sp-4) 0; }
.hero-copy h1 .hl { color: var(--c-primary); position: relative; white-space: nowrap; }
.hero-copy h1 .hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.05em; height: 0.28em;
  background: var(--c-gold-soft); z-index: -1; border-radius: 4px;
}
.hero-copy .lead { max-width: 52ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-6); }
.hero-trust { display: flex; flex-wrap: wrap; gap: var(--sp-4); margin-top: var(--sp-6); }
.hero-trust .ht-item { display: flex; align-items: center; gap: 0.5rem; font-size: var(--fs-sm); font-weight: 600; color: var(--c-ink); font-family: var(--font-display); }
.hero-trust svg { width: 20px; height: 20px; color: var(--c-primary); }
.hero-visual { position: relative; }
.hero-visual .hv-img {
  border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg);
  aspect-ratio: 4 / 4.3; background: var(--c-primary-soft);
}
.hero-visual .hv-img img { width: 100%; height: 100%; object-fit: cover; }
.hv-card {
  position: absolute; background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-lg);
  padding: var(--sp-4); display: flex; align-items: center; gap: var(--sp-3);
  animation: floaty 5s ease-in-out infinite;
}
.hv-card .hv-icon {
  flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
}
.hv-card .hv-icon svg { width: 22px; height: 22px; }
.hv-card strong { display: block; font-family: var(--font-display); color: var(--c-ink); font-size: var(--fs-sm); line-height: 1.3; }
.hv-card span { font-size: var(--fs-xs); color: var(--c-muted); }
.hv-card-1 { top: 8%; left: -9%; animation-delay: 0s; }
.hv-card-1 .hv-icon { background: var(--c-primary-soft); color: var(--c-primary); }
.hv-card-2 { bottom: 12%; right: -7%; animation-delay: 1.6s; }
.hv-card-2 .hv-icon { background: var(--c-accent-soft); color: var(--c-accent-dark); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Quick appointment strip */
.quick-strip { margin-top: calc(-1 * var(--sp-6)); position: relative; z-index: 5; }
.quick-strip .qs-card {
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-lg);
  border: 1px solid var(--c-line);
  display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden;
}
.qs-item { display: flex; gap: var(--sp-4); padding: var(--sp-5); align-items: center; }
.qs-item + .qs-item { border-left: 1px solid var(--c-line); }
.qs-item .qs-icon {
  flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--c-primary-soft); color: var(--c-primary);
}
.qs-item.em .qs-icon { background: #fdeaea; color: var(--c-emergency); }
.qs-item .qs-icon svg { width: 25px; height: 25px; }
.qs-item strong { display: block; font-family: var(--font-display); color: var(--c-ink); }
.qs-item span, .qs-item a.qs-link { font-size: var(--fs-sm); color: var(--c-muted); }
.qs-item a.qs-link { color: var(--c-primary); font-weight: 600; }

/* Page hero (inner pages) */
.page-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 50% 90% at 90% 10%, rgba(242,179,61,0.16), transparent),
    linear-gradient(150deg, var(--c-primary-deep), var(--c-primary-dark));
  color: #fff; padding-block: var(--sp-7) var(--sp-8);
}
.page-hero::after {
  content: ""; position: absolute; right: -120px; bottom: -140px; width: 380px; height: 380px;
  border-radius: 50%; border: 60px solid rgba(255,255,255,0.05);
}
.page-hero h1 { color: #fff; margin-top: var(--sp-4); font-size: var(--fs-2xl); }
.page-hero .ph-sub { color: rgba(255,255,255,0.78); max-width: 62ch; margin-top: var(--sp-3); font-size: var(--fs-md); }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  background:
    radial-gradient(ellipse 50% 100% at 100% 0%, rgba(242,179,61,0.22), transparent),
    linear-gradient(135deg, var(--c-primary), var(--c-primary-dark));
  color: #fff; padding: var(--sp-7);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--sp-6); align-items: center;
}
.cta-band h2 { color: #fff; margin-bottom: var(--sp-3); }
.cta-band p { color: rgba(255,255,255,0.8); }
.cta-band .cta-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: flex-end; }
.cta-band::before {
  content: ""; position: absolute; left: -60px; bottom: -80px; width: 240px; height: 240px;
  border-radius: 50%; border: 40px solid rgba(255,255,255,0.07);
}

/* Emergency band */
.em-band {
  border-radius: var(--r-xl); overflow: hidden; position: relative;
  background: linear-gradient(120deg, #7c1f1f, var(--c-emergency));
  color: #fff; padding: var(--sp-6) var(--sp-7);
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-5);
}
.em-band .em-pulse {
  flex: none; width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255,255,255,0.15); position: relative;
}
.em-band .em-pulse::after {
  content: ""; position: absolute; inset: -8px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.5); animation: pulse-ring 2s ease-out infinite;
}
.em-band .em-pulse svg { width: 30px; height: 30px; }
@keyframes pulse-ring { 0% { transform: scale(0.8); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
.em-band h2 { color: #fff; font-size: var(--fs-xl); }
.em-band p { color: rgba(255,255,255,0.85); }
.em-band .em-cta { margin-left: auto; }

/* About split image stack */
.img-stack { position: relative; }
.img-stack .is-main { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); aspect-ratio: 4/3.4; }
.img-stack .is-main img { width: 100%; height: 100%; object-fit: cover; }
.img-stack .is-badge {
  position: absolute; right: -14px; bottom: -18px;
  background: var(--c-accent); color: #fff; border-radius: var(--r-lg);
  padding: var(--sp-4) var(--sp-5); box-shadow: var(--sh-accent); text-align: center;
}
.img-stack .is-badge strong { display: block; font-family: var(--font-display); font-size: var(--fs-xl); line-height: 1; }
.img-stack .is-badge span { font-size: var(--fs-xs); }

/* Checklist */
.checklist { display: grid; gap: var(--sp-3); }
.checklist li { display: flex; gap: 0.7rem; align-items: flex-start; }
.checklist svg { width: 22px; height: 22px; color: var(--c-primary); flex: none; margin-top: 2px; }
.checklist strong { color: var(--c-ink); font-family: var(--font-display); }

/* Insurance chips */
.chip-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-full);
  padding: 0.6rem 1.2rem; font-family: var(--font-display); font-weight: 600; font-size: var(--fs-sm);
  color: var(--c-body); box-shadow: var(--sh-sm);
}
.chip svg { width: 16px; height: 16px; color: var(--c-primary); }

/* Contact info list */
.info-list { display: grid; gap: var(--sp-4); }
.info-list .il-item { display: flex; gap: var(--sp-4); align-items: flex-start; }
.info-list .il-icon {
  flex: none; width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center; background: var(--c-primary-soft); color: var(--c-primary);
}
.info-list .il-icon svg { width: 22px; height: 22px; }
.info-list strong { display: block; font-family: var(--font-display); color: var(--c-ink); }
.info-list a, .info-list span { font-size: var(--fs-sm); color: var(--c-body); }

/* Map embed */
.map-frame { border: 0; width: 100%; height: 380px; border-radius: var(--r-lg); box-shadow: var(--sh-md); }

/* Article (blog post) */
.article { max-width: 760px; margin-inline: auto; }
.article .art-img { border-radius: var(--r-lg); overflow: hidden; margin-block: var(--sp-6); box-shadow: var(--sh-md); }
.article p { margin-bottom: var(--sp-4); font-size: var(--fs-md); line-height: 1.8; }
.article .art-meta { display: flex; gap: var(--sp-3); align-items: center; font-size: var(--fs-sm); color: var(--c-muted); margin-top: var(--sp-3); flex-wrap: wrap; }

/* Notice */
.notice {
  display: flex; gap: var(--sp-3); align-items: flex-start;
  background: var(--c-gold-soft); border: 1px solid #f0d9a5; border-radius: var(--r-md);
  padding: var(--sp-4) var(--sp-5); font-size: var(--fs-sm); color: #6b4d09;
}
.notice svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }

/* Footer */
.site-footer { background: var(--c-primary-deep); color: rgba(255,255,255,0.75); }
.footer-top { padding-block: var(--sp-8) var(--sp-6); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--sp-6); }
.site-footer h4 { color: #fff; font-size: var(--fs-base); margin-bottom: var(--sp-4); position: relative; padding-bottom: 0.6rem; }
.site-footer h4::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 3px;
  border-radius: 2px; background: linear-gradient(90deg, var(--c-gold), var(--c-accent));
}
.footer-links { display: grid; gap: 0.55rem; }
.footer-links a { color: rgba(255,255,255,0.72); font-size: var(--fs-sm); display: inline-flex; gap: 0.45rem; align-items: center; transition: color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.footer-links a:hover { color: var(--c-gold); transform: translateX(3px); }
.footer-links svg { width: 12px; height: 12px; }
.footer-brand { display: flex; align-items: center; gap: 0.7rem; margin-bottom: var(--sp-4); }
.footer-brand svg, .footer-brand img { width: 44px; height: 44px; }
.footer-brand .fb-name { font-family: var(--font-display); font-weight: 700; color: #fff; line-height: 1.2; }
.footer-about { font-size: var(--fs-sm); max-width: 40ch; }
.footer-contact { display: grid; gap: var(--sp-3); font-size: var(--fs-sm); }
.footer-contact .fc-row { display: flex; gap: 0.7rem; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; color: var(--c-gold); flex: none; margin-top: 3px; }
.footer-contact a { color: rgba(255,255,255,0.8); } .footer-contact a:hover { color: var(--c-gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-block: var(--sp-4); font-size: var(--fs-xs); }
.footer-bottom .container { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: space-between; }
.footer-note {
  margin-top: var(--sp-5); background: rgba(255,255,255,0.06); border: 1px dashed rgba(255,255,255,0.2);
  border-radius: var(--r-md); padding: var(--sp-3) var(--sp-4); font-size: var(--fs-xs);
}

/* ------------------------------------------------------------------ */
/* 10. ANIMATIONS & REVEAL                                             */
/* ------------------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.fade { transform: none; }
.reveal.left { transform: translateX(-32px); }
.reveal.right { transform: translateX(32px); }
.reveal.left.in, .reveal.right.in { transform: translateX(0); }
[data-stagger] > * { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
[data-stagger].in > * { opacity: 1; transform: translateY(0); }

body { animation: page-in 0.5s var(--ease); }
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }

/* ------------------------------------------------------------------ */
/* 11. UTILITIES                                                       */
/* ------------------------------------------------------------------ */
.text-center { text-align: center; }
.mt-4 { margin-top: var(--sp-4); } .mt-6 { margin-top: var(--sp-6); } .mt-7 { margin-top: var(--sp-7); }
.mb-4 { margin-bottom: var(--sp-4); } .mb-6 { margin-bottom: var(--sp-6); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
.center-cta { display: flex; justify-content: center; margin-top: var(--sp-6); }

/* ------------------------------------------------------------------ */
/* 12. RESPONSIVE                                                      */
/* ------------------------------------------------------------------ */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .slider-track { grid-auto-columns: calc((100% - var(--sp-5)) / 2); }
  .hv-card-1 { left: 0; } .hv-card-2 { right: 0; }
}

@media (max-width: 920px) {
  .main-nav { display: none; }
  .nav-toggle { display: grid; }
  .hero .container { grid-template-columns: 1fr; min-height: 0; padding-block: var(--sp-7); }
  .hero-visual { max-width: 520px; }
  .split { grid-template-columns: 1fr; gap: var(--sp-6); }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .qs-card { grid-template-columns: 1fr !important; }
  .qs-item + .qs-item { border-left: none; border-top: 1px solid var(--c-line); }
  .cta-band { grid-template-columns: 1fr; }
  .cta-band .cta-actions { justify-content: flex-start; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .em-band .em-cta { margin-left: 0; }
  .emergency-float { display: inline-flex; }
  .topbar .hide-mobile { display: none; }
}

@media (max-width: 560px) {
  :root { --header-h: 66px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .slider-track { grid-auto-columns: 92%; }
  .brand-text .brand-name { font-size: 0.9rem; }
  .brand img, .brand svg { width: 38px; height: 38px; }
  .hero-ctas .btn { flex: 1 1 auto; }
  .topbar-group.right { display: none; }
  .hv-card { display: none; }
  .img-stack .is-badge { right: var(--sp-4); }
  .cta-band, .em-band { padding: var(--sp-5); }
}
