/* ==========================================================================
   BIAFRA HOSPITAL — MAIN STYLESHEET
   Brand: Blue (#0072BB) + Medical Green (#6DBD42) + White
   Font: Montserrat
   ========================================================================== */

:root {
  --blue: #0072BB;
  --blue-dark: #052C46;
  --blue-mid: #0A5A94;
  --blue-pale: #E7F3FB;
  --green: #6DBD42;
  --green-dark: #4C8A2C;
  --green-light: #8ED659;
  --green-pale: #F0FAE8;
  --white: #FFFFFF;
  --off-white: #F6FAF9;
  --text-dark: #10242F;
  --text-mid: #3D5566;
  --text-light: #7891A0;
  --border: rgba(0,114,187,0.16);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 4px 14px rgba(5,44,70,0.08);
  --shadow-md: 0 14px 34px rgba(5,44,70,0.12);
  --shadow-lg: 0 24px 60px rgba(5,44,70,0.16);
  --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  font-family:'Montserrat', sans-serif;
  font-weight:400;
  color:var(--text-dark);
  background:var(--white);
  overflow-x:hidden;
  line-height:1.6;
}
a { text-decoration:none; color:inherit; }
ul { list-style:none; }
img { max-width:100%; display:block; }
button { font-family:inherit; cursor:pointer; border:none; background:none; }
input, select, textarea { font-family:inherit; }
:focus-visible { outline:3px solid var(--green); outline-offset:2px; }
.container { max-width:1280px; margin:0 auto; padding:0 40px; }
.skip-link { position:absolute; left:-999px; top:0; background:var(--blue); color:var(--white); padding:12px 20px; z-index:9999; }
.skip-link:focus { left:10px; top:10px; }

/* ---------- Typography ---------- */
h1,h2,h3,h4 { font-family:'Montserrat', sans-serif; color:var(--blue-dark); line-height:1.2; }
.eyebrow {
  display:inline-flex; align-items:center; gap:10px;
  background:var(--green-pale); border:1px solid rgba(109,189,66,0.35);
  padding:7px 16px; border-radius:20px; margin-bottom:20px;
}
.eyebrow-dot { width:6px; height:6px; border-radius:50%; background:var(--green-dark); animation:pulse 2s infinite; }
.eyebrow span { font-size:11px; letter-spacing:2px; text-transform:uppercase; color:var(--green-dark); font-weight:700; }
.section-title { font-size:36px; font-weight:700; margin-bottom:16px; }
.section-sub { font-size:15.5px; color:var(--text-mid); max-width:640px; line-height:1.75; }
.section-head { margin-bottom:48px; }
.section-head.center { text-align:center; margin-left:auto; margin-right:auto; }
.section-head.center .section-sub { margin-left:auto; margin-right:auto; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:0.5;transform:scale(0.8);} }

/* ---------- Buttons ---------- */
.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; font-weight:600; font-size:14px; padding:15px 28px; border-radius:var(--radius-sm); transition:all .2s ease; white-space:nowrap; }
.btn-primary { background:var(--blue); color:var(--white); box-shadow:0 10px 24px rgba(0,114,187,0.28); }
.btn-primary:hover { background:var(--blue-mid); transform:translateY(-2px); }
.btn-secondary { background:var(--white); color:var(--blue-dark); border:1.5px solid var(--border); }
.btn-secondary:hover { border-color:var(--blue); color:var(--blue); }
.btn-outline-light { border:1.5px solid rgba(255,255,255,0.45); color:var(--white); }
.btn-outline-light:hover { background:rgba(255,255,255,0.12); border-color:var(--green-light); }
.btn-green { background:var(--green); color:var(--blue-dark); box-shadow:0 10px 24px rgba(109,189,66,0.3); }
.btn-green:hover { background:var(--green-dark); color:var(--white); }
.btn-sm { padding:10px 18px; font-size:13px; }
.btn-block { width:100%; }
.btn[disabled] { opacity:0.6; cursor:not-allowed; transform:none !important; }

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
.topbar { background:var(--blue-dark); font-size:12.5px; }
.topbar .container { display:flex; justify-content:space-between; align-items:center; padding-top:8px; padding-bottom:8px; flex-wrap:wrap; gap:8px; }
.topbar-left { display:flex; gap:26px; flex-wrap:wrap; }
.topbar-item { display:flex; align-items:center; gap:7px; color:rgba(255,255,255,0.68); }
.topbar-item a { color:rgba(255,255,255,0.68); }
.topbar-item a:hover { color:var(--green-light); }
.topbar-social { display:flex; gap:10px; }
.topbar-social a { width:26px; height:26px; border-radius:50%; background:rgba(255,255,255,0.08); display:flex; align-items:center; justify-content:center; color:rgba(255,255,255,0.7); font-size:12px; transition:.2s; }
.topbar-social a:hover { background:var(--green); color:var(--blue-dark); }

.site-header { position:sticky; top:0; z-index:500; background:var(--white); border-bottom:3px solid var(--green); box-shadow:0 2px 16px rgba(0,0,0,0.05); transition:box-shadow .25s ease; }
.site-header.is-compact { box-shadow:0 6px 24px rgba(5,44,70,0.12); }
.nav-inner { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:14px 0; transition:padding .25s ease; }
.site-header.is-compact .nav-inner { padding:8px 0; }
.brand { display:flex; align-items:center; gap:12px; }
.brand-logo { width:60px; height:60px; border-radius:50%; overflow:hidden; flex-shrink:0; transition:width .25s ease, height .25s ease; }
.site-header.is-compact .brand-logo { width:46px; height:46px; }
.brand-logo img { width:100%; height:100%; object-fit:cover; }
.brand-text { display:flex; flex-direction:column; }
.brand-name { font-family:'Montserrat',sans-serif; font-weight:700; font-size:19px; color:var(--blue-dark); line-height:1.1; }
.brand-sub { font-size:10px; letter-spacing:1.5px; text-transform:uppercase; color:var(--green-dark); font-weight:600; margin-top:2px; }

.main-nav { display:flex; align-items:center; gap:2px; }
.main-nav > a, .nav-drop > button.nav-drop-toggle { font-weight:500; font-size:13.5px; letter-spacing:.3px; color:var(--text-mid); padding:10px 14px; border-radius:var(--radius-sm); transition:.2s; display:flex; align-items:center; gap:5px; }
.main-nav > a:hover, .main-nav > a.active, .nav-drop:hover > button.nav-drop-toggle { color:var(--blue); background:var(--blue-pale); }
.nav-drop { position:relative; }
.nav-drop-menu {
  position:absolute; top:100%; left:0; background:var(--white); border-radius:var(--radius-md);
  box-shadow:var(--shadow-lg); border:1px solid var(--border); padding:10px;
  display:grid; grid-template-columns:1fr 1fr; gap:2px; width:520px;
  opacity:0; visibility:hidden; transform:translateY(8px); transition:all .2s ease; z-index:50;
}
.nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu { opacity:1; visibility:visible; transform:translateY(0); }
.nav-drop-menu a { display:block; padding:10px 14px; border-radius:8px; font-size:13.5px; font-weight:500; color:var(--text-mid); }
.nav-drop-menu a:hover { background:var(--blue-pale); color:var(--blue); }

.nav-right { display:flex; align-items:center; gap:18px; }
.nav-phone { display:flex; align-items:center; gap:10px; }
.nav-phone-icon { width:38px; height:38px; border-radius:50%; background:var(--blue-pale); color:var(--blue); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.nav-phone-label { font-size:10px; letter-spacing:1px; text-transform:uppercase; color:var(--text-light); line-height:1.2; }
.nav-phone-num { font-weight:700; font-size:14.5px; color:var(--blue-dark); line-height:1.2; }
.nav-toggle { display:none; width:44px; height:44px; align-items:center; justify-content:center; border-radius:8px; border:1px solid var(--border); }
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { content:''; display:block; width:20px; height:2px; background:var(--blue-dark); position:relative; transition:.25s; }
.nav-toggle::before { position:absolute; transform:translateY(-6px); }
.nav-toggle::after { position:absolute; transform:translateY(6px); }
.nav-toggle.is-open span { background:transparent; }
.nav-toggle.is-open::before { transform:rotate(45deg); }
.nav-toggle.is-open::after { transform:rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav { display:none; }
@media (max-width: 980px) {
  .main-nav, .nav-phone { display:none; }
  .nav-toggle { display:flex; }
  .mobile-nav {
    display:block; position:fixed; inset:0 0 0 auto; width:min(340px, 86vw); height:100vh;
    background:var(--white); z-index:900; padding:24px; box-shadow:-10px 0 40px rgba(0,0,0,0.2);
    transform:translateX(100%); transition:transform .3s ease; overflow-y:auto;
  }
  .mobile-nav.is-open { transform:translateX(0); }
  .mobile-nav-close { width:40px; height:40px; border-radius:8px; border:1px solid var(--border); margin-bottom:20px; }
  .mobile-nav a { display:block; padding:14px 6px; border-bottom:1px solid var(--border); font-weight:500; color:var(--text-dark); }
  .mobile-nav .mobile-sub { padding-left:16px; }
  .mobile-nav .mobile-sub a { border-bottom:none; padding:10px 6px; font-size:13.5px; color:var(--text-mid); }
  .mobile-nav-cta { margin-top:20px; }
  .mobile-backdrop { position:fixed; inset:0; background:rgba(5,44,70,0.5); z-index:850; opacity:0; visibility:hidden; transition:.25s; }
  .mobile-backdrop.is-open { opacity:1; visibility:visible; }
}

/* ==========================================================================
   HERO — full-bleed background image with overlay
   ========================================================================== */
.hero {
  position:relative; overflow:hidden; min-height:100vh; display:flex; align-items:center;
  background-size:cover; background-position:center;
}
.hero-bg { position:absolute; inset:0; z-index:0; }
.hero-bg img { width:100%; height:100%; object-fit:cover; object-position:center; }
.hero-overlay {
  position:absolute; inset:0; z-index:1;
  background:
    linear-gradient(100deg, rgba(5,44,70,0.92) 0%, rgba(5,44,70,0.80) 38%, rgba(5,44,70,0.42) 68%, rgba(5,44,70,0.18) 100%),
    linear-gradient(180deg, rgba(5,44,70,0.35) 0%, rgba(5,44,70,0) 30%, rgba(5,44,70,0) 65%, rgba(5,44,70,0.55) 100%);
}
.hero-inner { position:relative; z-index:2; padding:150px 0 110px; max-width:680px; }
.hero-title { font-size:52px; font-weight:700; line-height:1.14; margin-bottom:22px; color:#fff; }
.hero-title em { font-style:italic; font-weight:500; color:var(--green-light); }
.hero-desc { font-size:16.5px; color:rgba(255,255,255,0.85); max-width:520px; margin-bottom:34px; line-height:1.7; }
.hero-btns { display:flex; gap:14px; flex-wrap:wrap; align-items:center; margin-bottom:26px; }
.hero-emergency { display:flex; align-items:center; gap:10px; font-size:13.5px; color:rgba(255,255,255,0.82); }
.hero-emergency a { font-weight:700; color:var(--green-light); }

.hero-features { position:relative; z-index:3; padding:0 40px; margin-top:-64px; }
.hero-features-inner { max-width:1200px; margin:0 auto; background:var(--white); border-radius:var(--radius-md); box-shadow:var(--shadow-lg); display:grid; grid-template-columns:repeat(4,1fr); padding:30px 10px; border-top:4px solid var(--green); }
.hf-item { display:flex; gap:14px; align-items:flex-start; padding:0 22px; border-right:1px solid var(--border); }
.hf-item:last-child { border-right:none; }
.hf-icon { width:44px; height:44px; border-radius:10px; background:var(--blue-pale); color:var(--blue); display:flex; align-items:center; justify-content:center; font-size:19px; flex-shrink:0; }
.hf-title { font-size:14.5px; font-weight:700; color:var(--blue-dark); margin-bottom:4px; }
.hf-desc { font-size:12.5px; color:var(--text-light); line-height:1.4; }
.hero-spacer { height:78px; background:var(--white); }

/* ==========================================================================
   PAGE HEADER (sub-pages)
   ========================================================================== */
.page-header { background:linear-gradient(160deg, var(--blue-dark) 0%, #0A3A5C 55%, var(--blue-mid) 100%); padding:70px 0 60px; position:relative; overflow:hidden; }
.page-header::before { content:''; position:absolute; inset:0; background:radial-gradient(ellipse 700px 500px at 90% 10%, rgba(109,189,66,0.14) 0%, transparent 65%); }
.page-header .container { position:relative; z-index:2; }
.breadcrumbs { display:flex; gap:8px; align-items:center; font-size:13px; color:rgba(255,255,255,0.6); margin-bottom:16px; }
.breadcrumbs a { color:rgba(255,255,255,0.8); }
.breadcrumbs a:hover { color:var(--green-light); }
.page-header h1 { color:var(--white); font-size:42px; margin-bottom:14px; }
.page-header p { color:rgba(255,255,255,0.7); max-width:600px; font-size:15.5px; line-height:1.7; }
.page-header .btn-row { display:flex; gap:14px; margin-top:26px; flex-wrap:wrap; }

/* ==========================================================================
   GENERIC SECTION SPACING
   ========================================================================== */
section { position:relative; }
.section { padding:90px 0; }
.section.tight { padding:60px 0; }
.bg-light { background:var(--off-white); }
.bg-dark { background:var(--blue-dark); color:var(--white); }
.bg-dark .section-title, .bg-dark h2, .bg-dark h3 { color:var(--white); }
.bg-dark .section-sub { color:rgba(255,255,255,0.65); }

/* ==========================================================================
   TRUST / FEATURE STRIP (standalone, non-hero use)
   ========================================================================== */
.trust-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.trust-card { background:var(--white); border:1px solid var(--border); border-radius:var(--radius-md); padding:30px 24px; text-align:center; box-shadow:var(--shadow-sm); transition:.25s; }
.trust-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-md); }
.trust-icon { width:56px; height:56px; border-radius:14px; background:var(--blue-pale); color:var(--blue); display:flex; align-items:center; justify-content:center; font-size:24px; margin:0 auto 16px; }
.trust-card h3 { font-size:16px; margin-bottom:8px; }
.trust-card p { font-size:13px; color:var(--text-mid); }

/* ==========================================================================
   VISION / MISSION / VALUES — v2 card style (photo banner + floating cards)
   ========================================================================== */
.vmv2-banner { height:220px; overflow:hidden; }
.vmv2-banner img { width:100%; height:100%; object-fit:cover; }
.vmv2-wrap { position:relative; margin-top:-90px; margin-bottom:40px; z-index:2; }
.vmv2-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.vmv2-card { background:var(--white); border-radius:var(--radius-lg); box-shadow:var(--shadow-lg); padding:38px 30px; text-align:center; border:1px solid var(--border); }
.vmv2-card.mission { background:var(--blue); color:#fff; border-color:var(--blue); }
.vmv2-icon-circle { width:58px; height:58px; border-radius:50%; border:2px solid var(--green); display:flex; align-items:center; justify-content:center; margin:0 auto 20px; color:var(--green-dark); font-size:24px; }
.vmv2-card.mission .vmv2-icon-circle { border-color:var(--green-light); color:var(--green-light); }
.vmv2-card h3 { font-size:21px; color:var(--green-dark); margin-bottom:14px; }
.vmv2-card.mission h3 { color:#fff; }
.vmv2-card p { font-size:14.5px; color:var(--text-mid); line-height:1.7; }
.vmv2-card.mission p { color:rgba(255,255,255,0.9); }
.vmv2-values-list { text-align:left; }
.vmv2-values-list li { display:flex; align-items:center; gap:10px; font-size:14px; color:var(--text-dark); padding:6px 0; }
.vmv2-check { width:18px; height:18px; border-radius:50%; background:var(--blue); color:#fff; font-size:10px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }

/* ==========================================================================
   OLD VISION / MISSION / VALUES (still used as fallback on inner pages)
   ========================================================================== */
.vmv-section {
  background:
    linear-gradient(160deg, rgba(5,44,70,0.94) 0%, rgba(10,58,92,0.90) 55%, rgba(10,90,148,0.88) 100%),
    url('../images/team-hallway.jpg');
  background-size:cover; background-position:center; overflow:hidden; color:var(--white);
}
.vmv-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:2px; }
.vmv-card { padding:44px 36px; border:1px solid rgba(255,255,255,0.08); }
.vmv-card.vision { background:rgba(109,189,66,0.1); border-top:3px solid var(--green); }
.vmv-card.mission { background:rgba(0,114,187,0.12); border-top:3px solid var(--blue); }
.vmv-card.values { background:rgba(255,255,255,0.045); border-top:3px solid var(--green-light); }
.vmv-icon { font-size:26px; display:block; margin-bottom:16px; }
.vmv-card h3 { font-size:23px; color:var(--white); margin-bottom:14px; }
.vmv-card p { font-size:14.5px; line-height:1.75; color:rgba(255,255,255,0.7); }
.vmv-values-list li { font-size:14px; color:rgba(255,255,255,0.7); padding:7px 0; display:flex; gap:10px; align-items:center; }
.vmv-values-list li::before { content:'✦'; color:var(--green-light); font-size:10px; }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about-layout { display:grid; grid-template-columns:0.9fr 1.1fr; gap:70px; align-items:center; }
.about-photo { border:1px solid var(--border); border-radius:var(--radius-md); overflow:hidden; position:relative; box-shadow:var(--shadow-md); }
.about-photo img { width:100%; height:420px; object-fit:cover; }
.about-tag { position:absolute; bottom:0; left:0; background:var(--green); color:var(--blue-dark); font-size:12px; font-weight:700; letter-spacing:1.5px; text-transform:uppercase; padding:12px 22px; }
.about-body p { font-size:15px; color:var(--text-mid); margin-bottom:18px; }
.about-stats { display:grid; grid-template-columns:repeat(2,1fr); gap:14px; margin-top:26px; }
.about-stat { background:var(--blue-pale); border-radius:var(--radius-sm); padding:18px 20px; }
.about-stat .num { font-size:22px; font-weight:700; color:var(--blue); display:block; }
.about-stat .lbl { font-size:12.5px; color:var(--text-mid); }

/* ==========================================================================
   WHY CHOOSE US
   ========================================================================== */
.why-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.why-card { background:var(--white); border:1px solid var(--border); border-radius:var(--radius-md); padding:32px 28px; box-shadow:var(--shadow-sm); transition:.25s; border-top:3px solid transparent; }
.why-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-md); border-top-color:var(--green); }
.why-icon { width:52px; height:52px; border-radius:14px; background:var(--green-pale); color:var(--green-dark); display:flex; align-items:center; justify-content:center; font-size:23px; margin-bottom:18px; }
.why-card h3 { font-size:17.5px; margin-bottom:10px; }
.why-card p { font-size:13.5px; color:var(--text-mid); line-height:1.65; }

/* ==========================================================================
   SERVICES GRID
   ========================================================================== */
.services-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.service-card { background:var(--white); border:1px solid var(--border); border-radius:var(--radius-md); padding:30px 26px; box-shadow:var(--shadow-sm); transition:.25s; position:relative; }
.service-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-md); }
.service-icon { width:50px; height:50px; border-radius:12px; background:var(--blue-pale); color:var(--blue); display:flex; align-items:center; justify-content:center; font-size:22px; margin-bottom:18px; }
.service-card h3 { font-size:17.5px; margin-bottom:9px; }
.service-card p { font-size:13.5px; color:var(--text-mid); line-height:1.6; margin-bottom:16px; }
.service-link { font-size:13px; font-weight:700; color:var(--blue); display:inline-flex; align-items:center; gap:6px; }
.service-link:hover { color:var(--green-dark); gap:10px; }

/* Featured services (large image + text) */
.featured-service { display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; }
.featured-service.reverse .fs-image { order:2; }
.fs-image { border-radius:var(--radius-md); overflow:hidden; box-shadow:var(--shadow-md); }
.fs-image img { width:100%; height:340px; object-fit:cover; }
.featured-service + .featured-service { margin-top:70px; }

/* ==========================================================================
   DOCTORS
   ========================================================================== */
.doctors-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.doctor-card { background:var(--white); border:1px solid var(--border); border-radius:var(--radius-md); overflow:hidden; box-shadow:var(--shadow-sm); transition:.25s; text-align:center; }
.doctor-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-md); }
.doctor-photo { height:200px; background:linear-gradient(160deg,var(--blue-pale),var(--off-white)); display:flex; align-items:center; justify-content:center; font-size:44px; color:var(--blue); }
.doctor-info { padding:20px; }
.doctor-info h3 { font-size:15.5px; margin-bottom:4px; }
.doctor-info .spec { font-size:12px; color:var(--green-dark); font-weight:700; text-transform:uppercase; letter-spacing:.6px; margin-bottom:10px; display:block; }
.doctor-info p { font-size:12.5px; color:var(--text-mid); margin-bottom:14px; }
.doctor-actions { display:flex; gap:8px; }
.doctor-actions .btn { flex:1; padding:9px 8px; font-size:11.5px; }

/* ==========================================================================
   SPECIALISTS LIST (pills, with bg photo)
   ========================================================================== */
.specialists-section {
  background:
    linear-gradient(160deg, rgba(5,44,70,0.93) 0%, rgba(10,58,92,0.90) 100%),
    url('../images/doctor-portrait.jpg');
  background-size:cover; background-position:center 20%; color:var(--white);
}
.spec-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin-top:36px; }
.spec-pill { background:rgba(255,255,255,0.05); border:1px solid rgba(109,189,66,0.16); border-left:3px solid var(--green); padding:14px 18px; font-size:13.5px; color:rgba(255,255,255,0.8); transition:.2s; }
.spec-pill:hover { background:rgba(109,189,66,0.12); transform:translateX(4px); }

/* ==========================================================================
   STATS COUNTER
   ========================================================================== */
.stats-band { background:linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%); }
.stats-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:2px; }
.stats-cell { padding:56px 20px; text-align:center; border-right:1px solid rgba(255,255,255,0.14); }
.stats-cell:last-child { border-right:none; }
.stats-num { font-size:44px; font-weight:700; color:var(--white); display:block; }
.stats-label { font-size:12px; letter-spacing:1.5px; text-transform:uppercase; color:rgba(255,255,255,0.75); margin-top:8px; display:block; }

/* ==========================================================================
   EMERGENCY BANNER
   ========================================================================== */
.emergency-banner {
  background: linear-gradient(120deg, var(--blue-dark), #0A3A5C);
  border-radius: var(--radius-lg);
  padding: 50px 56px;
  display:flex; align-items:center; justify-content:space-between; gap:40px; flex-wrap:wrap;
  position:relative; overflow:hidden;
}
.emergency-banner::before { content:''; position:absolute; inset:0; background:radial-gradient(ellipse 500px 400px at 90% 20%, rgba(109,189,66,0.18), transparent 70%); }
.emergency-content { position:relative; z-index:2; max-width:560px; }
.emergency-content h2 { color:var(--white); font-size:28px; margin-bottom:10px; }
.emergency-content p { color:rgba(255,255,255,0.7); font-size:14.5px; }
.emergency-actions { position:relative; z-index:2; display:flex; gap:14px; flex-wrap:wrap; }

/* ==========================================================================
   TESTIMONIALS CAROUSEL
   ========================================================================== */
.testimonial-carousel { position:relative; max-width:760px; margin:0 auto; }
.testimonial-track { overflow:hidden; }
.testimonial-slides { display:flex; transition:transform .45s ease; }
.testimonial-slide { flex:0 0 100%; padding:6px; }
.test-card { background:var(--white); border:1px solid var(--border); border-top:3px solid var(--green); border-radius:var(--radius-md); padding:40px; box-shadow:var(--shadow-sm); text-align:center; }
.test-stars { color:var(--green-dark); font-size:15px; margin-bottom:16px; letter-spacing:2px; }
.test-quote { font-size:15.5px; color:var(--text-mid); line-height:1.8; font-style:italic; margin-bottom:22px; }
.test-person { display:flex; align-items:center; justify-content:center; gap:12px; }
.test-avatar { width:46px; height:46px; border-radius:50%; background:var(--blue-pale); display:flex; align-items:center; justify-content:center; font-size:18px; color:var(--blue); font-weight:700; }
.test-name { font-size:14.5px; font-weight:700; color:var(--blue-dark); }
.test-role { font-size:12px; color:var(--text-light); }
.carousel-controls { display:flex; justify-content:center; align-items:center; gap:20px; margin-top:26px; }
.carousel-arrow { width:42px; height:42px; border-radius:50%; border:1.5px solid var(--border); display:flex; align-items:center; justify-content:center; color:var(--blue); transition:.2s; }
.carousel-arrow:hover { background:var(--blue); color:var(--white); border-color:var(--blue); }
.carousel-dots { display:flex; gap:8px; }
.carousel-dot { width:8px; height:8px; border-radius:50%; background:var(--border); transition:.2s; }
.carousel-dot.active { background:var(--green); width:22px; border-radius:5px; }

/* ==========================================================================
   RESOURCES / FAQ
   ========================================================================== */
.resource-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.resource-card { background:var(--white); border:1px solid var(--border); border-radius:var(--radius-md); overflow:hidden; box-shadow:var(--shadow-sm); transition:.25s; }
.resource-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-md); }
.resource-img { height:130px; background:linear-gradient(160deg,var(--blue-pale),var(--green-pale)); display:flex; align-items:center; justify-content:center; font-size:30px; }
.resource-body { padding:20px; }
.resource-body h3 { font-size:15px; margin-bottom:8px; }
.resource-body p { font-size:12.5px; color:var(--text-mid); }

.faq-item { border-bottom:1px solid var(--border); }
.faq-question { display:flex; align-items:center; justify-content:space-between; width:100%; padding:20px 4px; text-align:left; font-weight:600; font-size:15px; color:var(--blue-dark); }
.faq-icon { transition:.25s; flex-shrink:0; color:var(--green-dark); }
.faq-item.is-open .faq-icon { transform:rotate(45deg); }
.faq-answer { max-height:0; overflow:hidden; transition:max-height .3s ease; }
.faq-item.is-open .faq-answer { max-height:300px; }
.faq-answer p { padding:0 4px 20px; font-size:14px; color:var(--text-mid); line-height:1.7; }

/* ==========================================================================
   APPOINTMENT FORM
   ========================================================================== */
.apt-layout { display:grid; grid-template-columns:0.85fr 1.15fr; gap:50px; }
.apt-info { background:var(--blue-dark); color:var(--white); padding:44px; border-radius:var(--radius-md); border-left:4px solid var(--green); height:fit-content; }
.apt-info h3 { color:var(--white); font-size:22px; margin-bottom:14px; }
.apt-info p { font-size:14px; color:rgba(255,255,255,0.65); line-height:1.75; margin-bottom:22px; }
.apt-hours { display:flex; justify-content:space-between; font-size:13.5px; color:rgba(255,255,255,0.75); padding:11px 0; border-bottom:1px solid rgba(255,255,255,0.1); gap:12px; }
.apt-hours:last-child { border-bottom:none; }
.apt-form { background:var(--off-white); border:1px solid var(--border); border-radius:var(--radius-md); padding:40px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:16px; }
.form-group { margin-bottom:16px; }
.form-group label { font-size:12px; font-weight:600; letter-spacing:0.6px; text-transform:uppercase; color:var(--text-mid); margin-bottom:6px; display:block; }
.form-group .req { color:var(--blue); }
.apt-form input, .apt-form select, .apt-form textarea {
  width:100%; padding:13px 14px; border:1.5px solid var(--border); border-radius:var(--radius-sm);
  font-size:14px; background:var(--white); color:var(--text-dark); transition:border-color .2s;
}
.apt-form input:focus, .apt-form select:focus, .apt-form textarea:focus { border-color:var(--blue); }
.apt-form input.field-error, .apt-form select.field-error, .apt-form textarea.field-error { border-color:#D64545; }
.field-error-msg { font-size:11.5px; color:#D64545; margin-top:5px; display:none; }
.form-group.has-error .field-error-msg { display:block; }
.apt-form textarea { resize:vertical; min-height:90px; }
.gender-row { display:flex; gap:20px; }
.gender-option { display:flex; align-items:center; gap:8px; font-size:13.5px; color:var(--text-mid); }
.gender-option input { width:auto; }
.apt-note { font-size:12px; color:var(--text-light); margin-top:14px; }
.form-status { display:none; padding:14px 18px; border-radius:var(--radius-sm); font-size:13.5px; margin-bottom:18px; align-items:center; gap:10px; }
.form-status.is-visible { display:flex; }
.form-status.success { background:var(--green-pale); color:var(--green-dark); border:1px solid rgba(109,189,66,0.35); }
.form-status.error { background:#FBEAEA; color:#B33; border:1px solid rgba(214,69,69,0.3); }
.spinner { width:16px; height:16px; border:2px solid rgba(255,255,255,0.5); border-top-color:var(--white); border-radius:50%; animation:spin .7s linear infinite; display:none; }
.btn.is-loading .spinner { display:inline-block; }
.btn.is-loading .btn-label { opacity:0.7; }
@keyframes spin { to { transform:rotate(360deg); } }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-grid { display:grid; grid-template-columns:0.8fr 1.2fr; gap:50px; }
.contact-info-card { background:var(--white); border:1px solid var(--border); border-radius:var(--radius-md); padding:34px; box-shadow:var(--shadow-sm); margin-bottom:18px; }
.contact-info-card .ci-icon { width:44px; height:44px; border-radius:12px; background:var(--blue-pale); color:var(--blue); display:flex; align-items:center; justify-content:center; font-size:19px; margin-bottom:14px; }
.contact-info-card h3 { font-size:15.5px; margin-bottom:6px; }
.contact-info-card p { font-size:13.5px; color:var(--text-mid); line-height:1.6; }
.map-embed { border-radius:var(--radius-md); overflow:hidden; border:1px solid var(--border); height:340px; }
.map-embed iframe { width:100%; height:100%; border:0; }
.map-placeholder { width:100%; height:100%; background:var(--blue-pale); display:flex; align-items:center; justify-content:center; color:var(--text-light); font-size:13px; text-align:center; padding:20px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background:var(--blue-dark); color:var(--white); }
.footer-top { display:grid; grid-template-columns:1.3fr 1fr 1fr 1fr; gap:50px; padding:64px 0 40px; border-bottom:1px solid rgba(255,255,255,0.08); }
.footer-brand-row { display:flex; align-items:center; gap:12px; margin-bottom:16px; }
.footer-logo { width:44px; height:44px; border-radius:50%; overflow:hidden; background:var(--white); }
.footer-logo img { width:100%; height:100%; object-fit:cover; }
.footer-brand-name { font-weight:700; font-size:21px; color:var(--white); }
.footer-desc { font-size:13.5px; color:rgba(255,255,255,0.55); line-height:1.7; margin-bottom:18px; max-width:320px; }
.footer-line { font-size:13px; color:rgba(255,255,255,0.6); margin-bottom:9px; display:flex; gap:8px; }
.footer-line a:hover { color:var(--green-light); }
.footer-col-title { font-size:11.5px; letter-spacing:1.8px; text-transform:uppercase; color:var(--green-light); margin-bottom:18px; font-weight:700; }
.footer-links li { font-size:13.5px; margin-bottom:11px; }
.footer-links a { color:rgba(255,255,255,0.6); }
.footer-links a:hover { color:var(--green-light); }
.footer-bottom { display:flex; justify-content:space-between; align-items:center; padding:26px 0; flex-wrap:wrap; gap:14px; }
.footer-bottom span { font-size:12px; color:rgba(255,255,255,0.4); }
.footer-bottom-links { display:flex; gap:16px; }
.footer-bottom-links a { font-size:12px; color:rgba(255,255,255,0.5); }
.footer-bottom-links a:hover { color:var(--green-light); }
.footer-social { display:flex; gap:10px; }
.footer-social a { width:32px; height:32px; border-radius:50%; background:rgba(255,255,255,0.08); display:flex; align-items:center; justify-content:center; color:rgba(255,255,255,0.65); font-size:13px; transition:.2s; }
.footer-social a:hover { background:var(--green); color:var(--blue-dark); }

/* ==========================================================================
   FLOATING ACTIONS
   ========================================================================== */
.floating-actions { position:fixed; right:22px; bottom:22px; z-index:400; display:flex; flex-direction:column; gap:12px; align-items:flex-end; }
.fab { width:54px; height:54px; border-radius:50%; display:flex; align-items:center; justify-content:center; box-shadow:var(--shadow-md); font-size:22px; color:var(--white); transition:transform .2s; }
.fab:hover { transform:scale(1.08); }
.fab.fab-whatsapp { background:#25D366; }
.fab.fab-call { background:var(--blue); }
.fab.fab-book { background:var(--green); color:var(--blue-dark); width:auto; height:auto; padding:13px 20px; border-radius:30px; font-size:13px; font-weight:700; gap:8px; display:flex; align-items:center; }
.back-to-top { width:44px; height:44px; border-radius:50%; background:var(--blue-dark); color:var(--white); display:flex; align-items:center; justify-content:center; box-shadow:var(--shadow-sm); opacity:0; visibility:hidden; transition:.25s; }
.back-to-top.is-visible { opacity:1; visibility:visible; }

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
.reveal { opacity:0; transform:translateY(24px); transition:opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity:1; transform:translateY(0); }
.reveal-delay-1 { transition-delay:.1s; }
.reveal-delay-2 { transition-delay:.2s; }
.reveal-delay-3 { transition-delay:.3s; }

/* ==========================================================================
   SERVICE DETAIL PAGE v2 (Reliance-style pattern, original copy)
   ========================================================================== */
.sd-hero {
  position:relative; overflow:hidden; min-height:420px; display:flex; align-items:center;
  background:linear-gradient(120deg, rgba(5,44,70,0.92), rgba(10,58,92,0.82));
}
.sd-hero-bg { position:absolute; inset:0; z-index:0; }
.sd-hero-bg img { width:100%; height:100%; object-fit:cover; }
.sd-hero-overlay { position:absolute; inset:0; z-index:1; background:linear-gradient(100deg, rgba(5,44,70,0.92) 30%, rgba(5,44,70,0.55) 75%); }
.sd-hero-content { position:relative; z-index:2; max-width:640px; padding:70px 0; }
.sd-hero-content .breadcrumbs { color:rgba(255,255,255,0.6); }
.sd-hero-content .breadcrumbs a { color:rgba(255,255,255,0.85); }
.sd-hero-content h1 { color:#fff; font-size:40px; margin-bottom:16px; }
.sd-hero-content p { color:rgba(255,255,255,0.78); font-size:15.5px; line-height:1.7; margin-bottom:26px; }

.sd-intro-split { display:grid; grid-template-columns:1fr 1fr; min-height:420px; }
.sd-intro-text { background:var(--blue-mid); color:#fff; display:flex; flex-direction:column; justify-content:center; padding:60px; border-left:6px solid var(--green); }
.sd-intro-text h2 { color:#fff; font-size:28px; margin-bottom:18px; }
.sd-intro-text p { color:rgba(255,255,255,0.85); font-size:14.5px; line-height:1.8; margin-bottom:14px; }
.sd-intro-photo { position:relative; }
.sd-intro-photo img { width:100%; height:100%; object-fit:cover; min-height:320px; }

.sd-centered-band { background:var(--blue-mid); color:#fff; text-align:center; padding:56px 0; }
.sd-centered-band h2 { color:#fff; font-size:26px; margin-bottom:10px; }
.sd-centered-band h2 .accent { color:var(--green-light); }
.sd-centered-band .rule { width:70px; height:3px; background:var(--green); margin:0 auto 22px; border-radius:2px; }
.sd-centered-band p { color:rgba(255,255,255,0.82); max-width:820px; margin:0 auto; font-size:14.5px; line-height:1.8; }

.sd-offer-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:20px; }
.sd-offer-card { background:var(--white); border:1px solid var(--border); border-left:4px solid var(--green); border-radius:var(--radius-sm); padding:22px 24px; box-shadow:var(--shadow-sm); }
.sd-offer-card h3 { font-size:15.5px; margin-bottom:8px; }
.sd-offer-card ul { margin:0; padding-left:0; }
.sd-offer-card li { font-size:13.5px; color:var(--text-mid); line-height:1.6; padding-left:18px; position:relative; margin-bottom:4px; }
.sd-offer-card li::before { content:'•'; color:var(--green-dark); position:absolute; left:0; font-weight:700; }

.sd-disciplines-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
.sd-discipline-card { background:var(--blue); color:#fff; border-radius:var(--radius-sm); padding:24px 26px; }
.sd-discipline-icon { width:44px; height:44px; border-radius:50%; border:2px solid rgba(255,255,255,0.5); display:flex; align-items:center; justify-content:center; font-size:19px; margin-bottom:14px; }
.sd-discipline-card h3 { color:#fff; font-size:16px; margin-bottom:8px; }
.sd-discipline-card p { color:rgba(255,255,255,0.82); font-size:13px; line-height:1.6; }

.sd-why-panel { background:var(--off-white); border:1px solid var(--border); border-radius:var(--radius-md); padding:34px; }
.sd-why-panel h3 { font-size:17px; margin-bottom:16px; }

.sd-howto { display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:stretch; }
.sd-howto-card { border:2px solid var(--green); border-radius:var(--radius-lg); padding:44px; display:flex; flex-direction:column; justify-content:center; }
.sd-howto-card h2 { font-size:26px; margin-bottom:14px; }
.sd-howto-card > p { color:var(--text-mid); font-size:14.5px; margin-bottom:20px; }
.sd-howto-steps { counter-reset:sdstep; margin-bottom:26px; }
.sd-howto-steps li { counter-increment:sdstep; display:flex; gap:14px; margin-bottom:14px; font-size:14px; color:var(--text-dark); line-height:1.6; }
.sd-howto-steps li::before { content:counter(sdstep); flex-shrink:0; width:26px; height:26px; border-radius:50%; background:var(--blue); color:#fff; font-size:12px; font-weight:700; display:flex; align-items:center; justify-content:center; }
.sd-howto-photo { border-radius:var(--radius-lg); overflow:hidden; }
.sd-howto-photo img { width:100%; height:100%; object-fit:cover; min-height:320px; }

.sd-faq-wrap { max-width:820px; margin:0 auto; }
.sd-faq-header { background:var(--blue); color:#fff; font-size:20px; font-weight:700; padding:16px 24px; display:inline-block; margin-bottom:0; border-radius:4px 4px 0 0; }

/* ==========================================================================
   SERVICE DETAIL PAGE (legacy v1 — still used by a couple of simple sections)
   ========================================================================== */
.service-detail-intro { display:grid; grid-template-columns:1.1fr 0.9fr; gap:60px; align-items:center; }
.service-detail-intro img { border-radius:var(--radius-md); box-shadow:var(--shadow-md); width:100%; height:360px; object-fit:cover; }
.sub-services-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:22px; }
.sub-service-card { background:var(--white); border:1px solid var(--border); border-radius:var(--radius-md); padding:26px; box-shadow:var(--shadow-sm); }
.sub-service-card h3 { font-size:16px; margin-bottom:8px; }
.sub-service-card p { font-size:13.5px; color:var(--text-mid); line-height:1.6; }
.detail-why-layout { display:grid; grid-template-columns:1fr 0.9fr; gap:60px; align-items:center; }
.detail-why-layout img { border-radius:var(--radius-md); box-shadow:var(--shadow-md); width:100%; height:380px; object-fit:cover; }
.check-list li { display:flex; gap:14px; align-items:flex-start; padding:12px 0; border-bottom:1px solid var(--border); font-size:14.5px; color:var(--text-dark); font-weight:500; }
.check-list li::before { content:'✓'; width:22px; height:22px; border-radius:50%; background:var(--green-pale); color:var(--green-dark); font-weight:700; font-size:11px; display:flex; align-items:center; justify-content:center; flex-shrink:0; margin-top:2px; }
.related-services { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.related-service-pill { background:var(--white); border:1px solid var(--border); border-radius:var(--radius-sm); padding:16px 18px; font-size:13.5px; font-weight:600; color:var(--blue-dark); text-align:center; transition:.2s; }
.related-service-pill:hover { background:var(--blue-dark); color:var(--white); }

/* ==========================================================================
   LEGAL PAGE PROSE
   ========================================================================== */
.legal-prose h3 { font-size:18px; margin:30px 0 10px; color:var(--blue-dark); }
.legal-prose h3:first-child { margin-top:0; }
