/* ============================================================
   Margate Medical Centre MMC — Shared Stylesheet
   Warm, friendly, family-focused medical design system
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Mulish:wght@400;500;600;700&display=swap');

:root{
  /* Brand — calm medical blue + warm teal wellness accent */
  --blue:        #0e6bb0;
  --blue-700:    #0a5993;
  --blue-800:    #084673;
  --blue-soft:   #e8f2fb;
  --blue-softer: #f3f8fd;

  --teal:        #15a394;
  --teal-700:    #0f8576;
  --teal-soft:   #e3f5f1;

  --sand:        #fbf3e8;
  --gold:        #d99b4e;

  /* Neutrals — subtly warm */
  --bg:          #fbfaf7;
  --surface:     #ffffff;
  --ink:         #15303f;
  --ink-soft:    #3a5260;
  --muted:       #647784;
  --line:        #e6edf2;
  --line-soft:   #f0f4f7;

  --emergency:   #c8453f;
  --emergency-soft:#fcebea;

  /* System */
  --maxw: 1480px;
  --radius:   18px;
  --radius-lg: 28px;
  --radius-sm: 12px;
  --shadow:   0 2px 6px rgba(16,52,82,.05), 0 12px 30px rgba(16,52,82,.07);
  --shadow-sm:0 1px 3px rgba(16,52,82,.06), 0 6px 16px rgba(16,52,82,.05);
  --shadow-lg:0 8px 24px rgba(16,52,82,.10), 0 30px 60px rgba(16,52,82,.12);

  --head: 'Poppins', system-ui, sans-serif;
  --body: 'Mulish', system-ui, sans-serif;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; overflow-x:hidden; }
body{
  margin:0;
  font-family:var(--body);
  color:var(--ink);
  background:var(--bg);
  font-size:17px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img{ max-width:100%; display:block; }
a{ color:var(--blue-700); text-decoration:none; }

h1,h2,h3,h4{ font-family:var(--head); color:var(--ink); margin:0; line-height:1.12; letter-spacing:-0.02em; font-weight:600; }
h1{ font-size:clamp(2.1rem, 4.4vw, 3.5rem); }
h2{ font-size:clamp(1.7rem, 3vw, 2.5rem); }
h3{ font-size:clamp(1.2rem, 1.8vw, 1.5rem); }
p{ margin:0 0 1rem; color:var(--ink-soft); text-wrap:pretty; }
p:last-child{ margin-bottom:0; }

.wrap{ max-width:var(--maxw); margin:0 auto; padding:0 40px; }
.section{ padding:84px 0; }
.section-sm{ padding:56px 0; }
.center{ text-align:center; }
.eyebrow{
  font-family:var(--head); font-weight:600; font-size:.82rem; letter-spacing:.14em;
  text-transform:uppercase; color:var(--teal-700); margin:0 0 14px;
  display:inline-flex; align-items:center; gap:9px;
}
.eyebrow::before{ content:""; width:26px; height:2px; background:var(--teal); border-radius:2px; }
.center .eyebrow{ justify-content:center; }
.lede{ font-size:1.18rem; color:var(--ink-soft); max-width:64ch; }
.center .lede{ margin-left:auto; margin-right:auto; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  font-family:var(--head); font-weight:600; font-size:1rem;
  padding:14px 26px; border-radius:999px; cursor:pointer; border:2px solid transparent;
  transition:transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space:nowrap;
}
.btn:active{ transform:translateY(1px); }
.btn-primary{ background:var(--blue); color:#fff; box-shadow:0 8px 20px rgba(14,107,176,.28); }
.btn-primary:hover{ background:var(--blue-700); box-shadow:0 10px 26px rgba(14,107,176,.36); transform:translateY(-2px); }
.btn-teal{ background:var(--teal); color:#fff; box-shadow:0 8px 20px rgba(21,163,148,.28); }
.btn-teal:hover{ background:var(--teal-700); transform:translateY(-2px); }
.btn-ghost{ background:#fff; color:var(--blue-700); border-color:var(--line); }
.btn-ghost:hover{ border-color:var(--blue); color:var(--blue); transform:translateY(-2px); box-shadow:var(--shadow-sm); }
.btn-outline-light{ background:rgba(255,255,255,.08); color:#fff; border-color:rgba(255,255,255,.55); }
.btn-outline-light:hover{ background:rgba(255,255,255,.16); border-color:#fff; transform:translateY(-2px); }
.btn-lg{ padding:17px 34px; font-size:1.06rem; }
.btn .ic{ width:18px; height:18px; display:block; }

/* ---------- Image placeholders ---------- */
.ph{
  position:relative; border-radius:var(--radius); overflow:hidden;
  background:
    repeating-linear-gradient(135deg, var(--blue-soft) 0 14px, var(--blue-softer) 14px 28px);
  display:flex; align-items:flex-end; justify-content:flex-start;
  border:1px solid var(--line);
}
.ph::after{
  content:attr(data-label);
  font-family:'SFMono-Regular', ui-monospace, Menlo, Consolas, monospace;
  font-size:.72rem; letter-spacing:.04em; color:var(--blue-700);
  background:rgba(255,255,255,.82); backdrop-filter:blur(2px);
  padding:6px 11px; margin:12px; border-radius:8px; border:1px solid var(--line);
}
.ph.teal{ background:repeating-linear-gradient(135deg, var(--teal-soft) 0 14px, #effaf7 14px 28px); }
.ph.teal::after{ color:var(--teal-700); }

/* ---------- Cards ---------- */
.card{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius);
  box-shadow:var(--shadow-sm); transition:transform .2s ease, box-shadow .2s ease, border-color .2s;
}

/* ---------- Header ---------- */
.topbar{ background:var(--blue-800); color:#dbe9f5; font-size:.88rem; }
.topbar .wrap{ display:flex; justify-content:space-between; align-items:center; min-height:42px; gap:16px; }
.topbar a{ color:#dbe9f5; display:inline-flex; align-items:center; gap:7px; }
.topbar a:hover{ color:#fff; }
.topbar .tb-left{ display:flex; gap:22px; align-items:center; }
.topbar .tb-right{ display:flex; gap:22px; align-items:center; }
.topbar .ic{ width:15px; height:15px; opacity:.85; }
.topbar .pill{ background:var(--teal); color:#fff; padding:3px 12px; border-radius:999px; font-weight:600; font-family:var(--head); font-size:.78rem; letter-spacing:.02em; }

.site-header{ position:sticky; top:0; z-index:60; background:rgba(255,255,255,.92); backdrop-filter:blur(10px); border-bottom:1px solid var(--line); }
.nav{ display:flex; align-items:center; justify-content:space-between; min-height:78px; gap:16px; }
.brand{ display:flex; align-items:center; gap:13px; flex-shrink:0; }
.brand .mark{ width:46px; height:46px; flex-shrink:0; }
.brand .bt{ display:flex; flex-direction:column; line-height:1.05; }
.brand .bt b{ font-family:var(--head); font-weight:700; font-size:1.1rem; color:var(--ink); letter-spacing:-0.02em; white-space:nowrap; }
.brand .bt span{ font-size:.74rem; color:var(--muted); letter-spacing:.16em; text-transform:uppercase; font-family:var(--head); font-weight:500; }

.menu{ display:flex; align-items:center; gap:2px; list-style:none; margin:0; padding:0; }
.menu > li > a{ display:block; padding:9px 10px; border-radius:10px; color:var(--ink-soft); font-family:var(--head); font-weight:500; font-size:.92rem; transition:.15s; white-space:nowrap; }
.menu > li > a:hover{ background:var(--blue-soft); color:var(--blue-700); }
.menu > li > a.active{ color:var(--blue); background:var(--blue-soft); }

/* Dropdown */
.dropdown { position: relative; display: inline-block; }
.dropdown-content { 
  visibility: hidden; opacity: 0; position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px); 
  background-color: #fff; min-width: 220px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); border-radius: 14px; 
  padding: 8px; z-index: 100; transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); list-style: none; margin: 0; 
}
.dropdown:hover .dropdown-content, .dropdown:focus-within .dropdown-content { 
  visibility: visible; opacity: 1; transform: translateX(-50%) translateY(0); 
}
.dropdown-content li { margin: 0; padding: 0; display: block; }
.dropdown-content a { 
  padding: 10px 16px; border-radius: 8px; display: block; color: var(--ink-soft); font-family: var(--head); 
  font-weight: 500; font-size: 0.95rem; text-align: left; transition: .15s; white-space:nowrap;
}
.dropdown-content a:hover { background: var(--blue-soft); color: var(--blue-700); }
.dropdown-content a.active { color: var(--blue); background: var(--blue-soft); font-weight: 600; }

.nav-cta{ display:flex; align-items:center; gap:10px; flex-shrink:0; }
.nav-cta .btn{ padding:11px 20px; font-size:.95rem; }
.nav-cta .btn-call{ display:none; }
.hamburger{ display:none; background:none; border:0; cursor:pointer; width:46px; height:46px; border-radius:12px; align-items:center; justify-content:center; }
.hamburger:hover{ background:var(--blue-soft); }
.hamburger svg{ width:26px; height:26px; color:var(--ink); }

/* Mobile drawer */
.drawer-back{ position:fixed; inset:0; background:rgba(16,52,82,.45); z-index:80; opacity:0; pointer-events:none; transition:.25s; }
.drawer-back.open{ opacity:1; pointer-events:auto; }
.drawer{ position:fixed; top:0; right:0; height:100%; width:min(340px,86vw); background:#fff; z-index:90; transform:translateX(100%); transition:transform .3s cubic-bezier(.4,0,.2,1); display:flex; flex-direction:column; box-shadow:var(--shadow-lg); }
.drawer.open{ transform:translateX(0); }
.drawer-top{ display:flex; justify-content:space-between; align-items:center; padding:20px 22px; border-bottom:1px solid var(--line); }
.drawer-top .close{ background:none; border:0; cursor:pointer; width:42px; height:42px; border-radius:10px; }
.drawer-top .close:hover{ background:var(--blue-soft); }
.drawer nav{ padding:14px 16px; display:flex; flex-direction:column; gap:2px; overflow:auto; }
.drawer nav a{ padding:14px 16px; border-radius:12px; color:var(--ink); font-family:var(--head); font-weight:500; font-size:1.05rem; }
.drawer nav a:hover, .drawer nav a.active{ background:var(--blue-soft); color:var(--blue-700); }
.drawer-foot{ margin-top:auto; padding:18px 20px; border-top:1px solid var(--line); display:flex; flex-direction:column; gap:10px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero{ background:linear-gradient(135deg, var(--blue-800), var(--blue-700)); color:#fff; position:relative; overflow:hidden; }
.page-hero::before{ content:""; position:absolute; right:-90px; top:-90px; width:380px; height:380px; border-radius:50%; background:radial-gradient(circle, rgba(21,163,148,.4), transparent 70%); }
.page-hero::after{ content:""; position:absolute; left:-60px; bottom:-120px; width:320px; height:320px; border-radius:50%; background:radial-gradient(circle, rgba(255,255,255,.08), transparent 70%); }
.page-hero .wrap{ position:relative; z-index:1; padding-top:74px; padding-bottom:74px; }
.page-hero .crumbs{ font-size:.9rem; color:#bcd6ec; margin-bottom:18px; display:flex; gap:8px; align-items:center; font-family:var(--head); }
.page-hero .crumbs a{ color:#bcd6ec; } .page-hero .crumbs a:hover{ color:#fff; }
.page-hero h1{ color:#fff; max-width:18ch; }
.page-hero p{ color:#d7e7f4; font-size:1.18rem; max-width:58ch; margin-top:16px; }

/* ---------- Footer ---------- */
.site-footer{ background:var(--blue-800); color:#c5d8ea; padding:64px 0 0; margin-top:20px; }
.foot-grid{ display:grid; grid-template-columns:1.5fr 1fr 1.2fr; gap:48px; padding-bottom:48px; }
.site-footer h4{ color:#fff; font-size:1.05rem; margin-bottom:18px; font-family:var(--head); }
.site-footer p{ color:#a9c2da; font-size:.96rem; }
.site-footer .brand .bt b{ color:#fff; } .site-footer .brand .bt span{ color:#8fb0cf; }
.foot-links{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:11px; }
.foot-links a{ color:#bcd2e6; font-size:.97rem; } .foot-links a:hover{ color:#fff; }
.foot-contact{ display:flex; flex-direction:column; gap:14px; font-size:.97rem; }
.foot-contact .row{ display:flex; gap:12px; align-items:flex-start; color:#bcd2e6; }
.foot-contact .ic{ width:18px; height:18px; color:var(--teal); flex-shrink:0; margin-top:3px; }
.foot-bottom{ border-top:1px solid rgba(255,255,255,.12); padding:22px 0; font-size:.84rem; color:#90aece; }
.foot-bottom .wrap{ display:flex; justify-content:space-between; gap:18px; flex-wrap:wrap; }
.foot-disclaimer{ background:rgba(0,0,0,.16); border-radius:14px; padding:16px 20px; font-size:.86rem; color:#a9c2da; margin-bottom:30px; }
.foot-disclaimer b{ color:#fff; }

/* ---------- Sticky mobile action bar ---------- */
.action-bar{ position:fixed; bottom:0; left:0; right:0; z-index:70; display:none; gap:10px; padding:11px 14px calc(11px + env(safe-area-inset-bottom)); background:rgba(255,255,255,.96); backdrop-filter:blur(10px); border-top:1px solid var(--line); box-shadow:0 -6px 20px rgba(16,52,82,.08); }
.action-bar .btn{ flex:1; padding:13px; }

/* ---------- Emergency strip ---------- */
.emergency{ background:var(--emergency-soft); border:1px solid #f3cdca; border-radius:var(--radius); padding:22px 26px; display:flex; gap:18px; align-items:center; }
.emergency .badge{ width:50px; height:50px; border-radius:14px; background:var(--emergency); color:#fff; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.emergency .badge svg{ width:26px; height:26px; }
.emergency h3{ color:var(--emergency); font-size:1.15rem; margin-bottom:3px; }
.emergency p{ margin:0; color:var(--ink-soft); font-size:.97rem; }
.emergency a{ color:var(--emergency); font-weight:700; }

/* ---------- Utility chips & badges ---------- */
.chip{ display:inline-flex; align-items:center; gap:8px; background:#fff; border:1px solid var(--line); border-radius:999px; padding:8px 16px; font-family:var(--head); font-weight:500; font-size:.9rem; color:var(--ink-soft); box-shadow:var(--shadow-sm); }
.chip .dot{ width:9px; height:9px; border-radius:50%; background:var(--teal); }

/* ---------- Inner-page shared components ---------- */
.prose{ max-width:68ch; }
.prose p{ font-size:1.05rem; margin-bottom:1.1rem; }
.prose h2{ margin:2.2rem 0 1rem; }
.lead-grid{ display:grid; grid-template-columns:1.4fr 1fr; gap:56px; align-items:start; }
@media (max-width:880px){ .lead-grid{ grid-template-columns:1fr; gap:36px; } }

/* sidebar callout card */
.sidecard{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow-sm); padding:28px; position:sticky; top:104px; }
.sidecard h3{ font-size:1.15rem; margin-bottom:14px; }
.sidecard.accent{ background:var(--blue-800); color:#fff; }
.sidecard.accent h3{ color:#fff; } .sidecard.accent p{ color:#cfe0f0; }
.sidecard .btn{ width:100%; margin-top:8px; }

/* check list */
.checks{ list-style:none; margin:0; padding:0; display:grid; gap:14px; }
.checks li{ display:flex; gap:13px; align-items:flex-start; font-size:1.02rem; color:var(--ink-soft); }
.checks li svg{ width:24px; height:24px; flex-shrink:0; color:var(--teal); margin-top:1px; }
.checks.cols{ grid-template-columns:1fr 1fr; gap:14px 30px; }
@media (max-width:680px){ .checks.cols{ grid-template-columns:1fr; } }

/* feature/why cards */
.why-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
@media (max-width:860px){ .why-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .why-grid{ grid-template-columns:1fr; } }
.why-card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:28px 26px; box-shadow:var(--shadow-sm); }
.why-card .ico{ width:50px; height:50px; border-radius:13px; background:var(--blue-soft); color:var(--blue); display:flex; align-items:center; justify-content:center; margin-bottom:16px; }
.why-card .ico svg{ width:26px; height:26px; }
.why-card h3{ font-size:1.1rem; margin-bottom:6px; }
.why-card p{ font-size:.95rem; margin:0; }

/* detailed service blocks (modern card style) */
.svc-detail {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  padding: 30px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 110px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.svc-detail:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--blue);
}
.svc-detail .ico {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--blue-soft);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.svc-detail .ico svg { width: 32px; height: 32px; }
.svc-detail h2 { font-size: 1.35rem; margin: 0 0 10px 0; color: var(--ink); font-family: var(--head); font-weight: 600; }
.svc-detail p { font-size: 0.98rem; margin: 0 0 10px 0; color: var(--ink-soft); line-height: 1.6; }
.svc-detail p:last-child { margin-bottom: 0; }

.svc-detail.featured {
  grid-column: span 2;
  background: linear-gradient(140deg, var(--blue-softer) 0%, #ffffff 100%);
  border-color: var(--blue);
  box-shadow: var(--shadow-sm), 0 10px 25px rgba(14,107,176,.05);
  padding: 40px;
}
.svc-detail.featured:hover {
  border-color: var(--blue-700);
  box-shadow: var(--shadow);
}
.svc-detail.featured .ico {
  width: 76px;
  height: 76px;
  border-radius: 20px;
  background: var(--blue);
  color: #fff;
}
.svc-detail.featured .ico svg { width: 38px; height: 38px; }
.svc-detail.featured h2 { font-size: 1.75rem; color: var(--blue-700); }
.svc-detail.featured p { font-size: 1.08rem; }

@media (max-width:600px){ 
  .svc-detail { grid-template-columns: 1fr; gap: 14px; padding: 24px 20px; } 
  .svc-detail.featured { padding: 28px 20px; }
}

/* anchor nav (sticky chips) */
.anchor-nav{ position:sticky; top:78px; z-index:40; background:rgba(255,255,255,.94); backdrop-filter:blur(8px); border-bottom:1px solid var(--line); padding:14px 0; overflow:hidden; }
.marquee-wrap{ overflow:hidden; mask-image:linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%); -webkit-mask-image:linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%); }
.marquee-track{ display:flex; gap:10px; width:max-content; animation:marqueeScroll 20s linear infinite; }
.marquee-track:hover{ animation-play-state:paused; }
@keyframes marqueeScroll{ 0%{ transform:translateX(0); } 100%{ transform:translateX(-50%); } }
.anchor-nav .wrap{ display:flex; gap:10px; overflow-x:auto; -webkit-overflow-scrolling:touch; }
.anchor-nav a{ white-space:nowrap; padding:8px 16px; border-radius:999px; background:var(--blue-softer); color:var(--blue-700); font-family:var(--head); font-weight:500; font-size:.9rem; border:1px solid var(--line); transition:.15s; }
.anchor-nav a:hover{ background:var(--blue); color:#fff; border-color:var(--blue); }

/* info / notice panels */
.panel{ border-radius:var(--radius); padding:26px 30px; }
.panel.soft{ background:var(--blue-softer); border:1px solid var(--line); }
.panel.tealsoft{ background:var(--teal-soft); border:1px solid #cfeae3; }
.panel.sand{ background:var(--sand); border:1px solid #f0e2cf; }
.panel h3{ font-size:1.2rem; margin-bottom:10px; }
.panel p:last-child{ margin-bottom:0; }
.panel .ic-row{ display:flex; gap:13px; align-items:flex-start; }
.panel .ic-row svg{ width:26px; height:26px; color:var(--blue); flex-shrink:0; margin-top:2px; }

/* steps */
.steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; counter-reset:s; }
@media (max-width:760px){ .steps{ grid-template-columns:1fr; } }
.step{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:28px 26px; box-shadow:var(--shadow-sm); position:relative; }
.step .num{ width:42px; height:42px; border-radius:12px; background:var(--blue); color:#fff; font-family:var(--head); font-weight:700; font-size:1.2rem; display:flex; align-items:center; justify-content:center; margin-bottom:16px; }
.step h3{ font-size:1.1rem; margin-bottom:6px; }
.step p{ font-size:.95rem; margin:0; }

/* contact cards row */
.contact-cards{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
@media (max-width:760px){ .contact-cards{ grid-template-columns:1fr; } }
.cc{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:30px 28px; box-shadow:var(--shadow-sm); text-align:center; }
.cc .ico{ width:56px; height:56px; border-radius:15px; background:var(--blue-soft); color:var(--blue); display:flex; align-items:center; justify-content:center; margin:0 auto 16px; }
.cc .ico svg{ width:28px; height:28px; }
.cc h3{ font-size:1.12rem; margin-bottom:6px; }
.cc p{ font-size:.96rem; margin-bottom:14px; }
.cc a.line{ font-family:var(--head); font-weight:600; color:var(--blue); }

/* form */
.form-card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); box-shadow:var(--shadow); padding:38px 40px; }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-bottom:18px; }
@media (max-width:600px){ .form-row{ grid-template-columns:1fr; } }
.field{ display:flex; flex-direction:column; gap:7px; margin-bottom:18px; }
.field label{ font-family:var(--head); font-weight:500; font-size:.92rem; color:var(--ink); }
.field label .req{ color:var(--emergency); }
.field input, .field select, .field textarea{ font-family:var(--body); font-size:1rem; padding:13px 15px; border:1.5px solid var(--line); border-radius:12px; background:#fff; color:var(--ink); transition:border-color .15s, box-shadow .15s; width:100%; }
.field input:focus, .field select:focus, .field textarea:focus{ outline:none; border-color:var(--blue); box-shadow:0 0 0 3px rgba(14,107,176,.12); }
.field textarea{ resize:vertical; min-height:110px; }
.field .hint{ font-size:.82rem; color:var(--muted); }
.form-note{ font-size:.86rem; color:var(--muted); margin-top:6px; }
.form-success{ display:none; text-align:center; padding:30px; }
.form-success.show{ display:block; }
.form-success .ok{ width:70px; height:70px; border-radius:50%; background:var(--teal-soft); color:var(--teal-700); display:flex; align-items:center; justify-content:center; margin:0 auto 18px; }
.form-success .ok svg{ width:38px; height:38px; }

/* pill toggle group */
.choice-row{ display:flex; flex-wrap:wrap; gap:10px; }
.choice{ position:relative; }
.choice input{ position:absolute; opacity:0; width:0; height:0; }
.choice label{ display:block; padding:10px 18px; border:1.5px solid var(--line); border-radius:999px; font-family:var(--head); font-weight:500; font-size:.92rem; color:var(--ink-soft); cursor:pointer; transition:.15s; }
.choice input:checked + label{ background:var(--blue); border-color:var(--blue); color:#fff; }
.choice label:hover{ border-color:var(--blue); }

/* ---------- Location / hours (shared) ---------- */
.loc-grid{ display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:stretch; }
@media (max-width:880px){ .loc-grid{ grid-template-columns:1fr; gap:30px; } }
.hours-card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow-sm); overflow:hidden; }
.hours-card .hc-head{ background:var(--blue); color:#fff; padding:22px 28px; display:flex; align-items:center; gap:12px; }
.hours-card .hc-head svg{ width:24px; height:24px; }
.hours-card .hc-head h3{ color:#fff; margin:0; font-size:1.2rem; }
.hours-row{ display:flex; justify-content:space-between; padding:15px 28px; border-bottom:1px solid var(--line-soft); font-size:1rem; }
.hours-row:last-child{ border-bottom:0; }
.hours-row.today{ background:var(--teal-soft); }
.hours-row .day{ font-family:var(--head); font-weight:500; color:var(--ink); }
.hours-row .time{ color:var(--ink-soft); }
.hours-row.closed .time{ color:var(--muted); }
.hours-row .now-tag{ font-size:.72rem; background:var(--teal); color:#fff; padding:2px 8px; border-radius:999px; margin-left:8px; font-family:var(--head); font-weight:600; }
.loc-map{ position:relative; border-radius:var(--radius); overflow:hidden; min-height:380px; border:1px solid var(--line); box-shadow:var(--shadow-sm); }
.loc-map iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; display:block; }
.loc-actions{ display:flex; gap:12px; margin-top:20px; flex-wrap:wrap; }
image-slot{ display:block; }

/* reveal on scroll */
.reveal{ opacity:0; transform:translateY(22px); transition:opacity .6s ease, transform .6s ease; }
.reveal.in{ opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){ .reveal{ opacity:1; transform:none; transition:none; } }
@media print{ .reveal{ opacity:1 !important; transform:none !important; } }
/* safety: if JS fails to run, content still appears */
.no-reveal-js .reveal{ opacity:1; transform:none; }

/* ---------- Responsive ---------- */
@media (max-width:1240px){
  .menu{ display:none; }
  .hamburger{ display:flex; }
}
@media (max-width:1000px){
  .foot-grid{ grid-template-columns:1fr 1fr; gap:36px; }
}
@media (max-width:760px){
  body{ font-size:16px; }
  .section{ padding:60px 0; }
  .section-sm{ padding:40px 0; }
  .wrap{ padding:0 20px; }
  .topbar{ display:none; }
  .site-header{ position:sticky; top:0; }
  .nav-cta .btn-book{ display:none; }
  .nav-cta .btn-call{ display:inline-flex; }
  .action-bar{ display:flex; }
  .site-footer{ padding-bottom:84px; }
  .foot-grid{ grid-template-columns:1fr; gap:30px; }
  .page-hero .wrap{ padding-top:52px; padding-bottom:52px; }
  .page-hero h1{ font-size:1.6rem; }
  .page-hero p{ font-size:1rem; }
  .form-card{ padding:24px 20px; }
  .form-row{ grid-template-columns:1fr; }
  .emergency{ flex-direction:column; text-align:center; padding:20px; }
  .emergency .badge{ margin:0 auto; }
  .anchor-nav{ top:60px; }
  .sidecard{ position:static; }
  .loc-map{ min-height:260px; }
}
@media (max-width:480px){
  h1{ font-size:1.6rem; }
  h2{ font-size:1.35rem; }
  .btn-lg{ padding:14px 24px; font-size:.95rem; }
  .foot-bottom .wrap{ flex-direction:column; text-align:center; gap:6px; }
  .foot-disclaimer{ font-size:.8rem; padding:14px 16px; }
}

/* ---------- Additional GP Services Section (Homepage) ---------- */
.add-svc-section { background: var(--blue-softer); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 80px 0; }
.add-svc-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.add-svc-info h2 { font-size: 2rem; margin-bottom: 18px; color: var(--ink); }
.add-svc-info .lede { font-size: 1.1rem; color: var(--ink-soft); margin-bottom: 16px; line-height: 1.6; }
.add-svc-info p { font-size: 1.02rem; color: var(--muted); margin-bottom: 28px; line-height: 1.6; }
.add-svc-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.add-cards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.add-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s; text-decoration: none; display: block; color: inherit; }
.add-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--teal); }
.add-card .ico { width: 44px; height: 44px; border-radius: 11px; background: var(--teal-soft); color: var(--teal-700); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.add-card .ico svg { width: 22px; height: 22px; }
.add-card h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--ink); font-family: var(--head); font-weight: 600; }
.add-card p { font-size: .88rem; margin: 0; color: var(--muted); line-height: 1.5; }

/* Responsive tweaks */
@media (max-width: 960px) {
  .add-svc-grid { grid-template-columns: 1fr; gap: 40px; }
  .add-svc-info { text-align: center; }
  .add-svc-cta { justify-content: center; }
}
@media (max-width: 540px) {
  .add-cards-grid { grid-template-columns: 1fr; gap: 16px; }
  .add-svc-section { padding: 60px 0; }
}

/* ---------- Services Page Redesign & Grids ---------- */
.svc-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

/* Highlighted Procedural Section */
.procedural-section {
  background: var(--sand);
  border-top: 1.5px solid #ebd8c0;
  border-bottom: 1.5px solid #ebd8c0;
  padding: 80px 0;
  margin-top: 60px;
}
.procedural-section .prose {
  max-width: 820px;
  margin: 0 auto 52px;
  text-align: center;
}
.procedural-section .prose h2 {
  font-size: 2.1rem;
  color: var(--ink);
  margin-bottom: 16px;
}
.procedural-section .prose .eyebrow {
  justify-content: center;
}
.procedural-section .svc-grid-2col .svc-detail {
  border-color: #ebd8c0;
}
.procedural-section .svc-grid-2col .svc-detail:hover {
  border-color: var(--teal);
}
.procedural-section .svc-grid-2col .svc-detail .ico {
  background: var(--teal-soft);
  color: var(--teal-700);
}

/* Bottom full-width CTA banner */
.svc-bottom-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--blue-800), var(--blue-700));
  color: #fff;
  text-align: center;
  border-top: 1px solid var(--blue-700);
}
.svc-bottom-cta-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}
.svc-bottom-cta h3 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 14px;
  font-family: var(--head);
}
.svc-bottom-cta p {
  font-size: 1.12rem;
  color: #cfe0f0;
  margin-bottom: 32px;
  line-height: 1.6;
}
.svc-bottom-cta .btn-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.svc-bottom-cta .panel.tealsoft {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
  text-align: left;
  max-width: 580px;
  margin: 0 auto;
  box-shadow: none;
}
.svc-bottom-cta .panel.tealsoft b {
  color: var(--teal-soft);
  font-size: 1.05rem;
}
.svc-bottom-cta .panel.tealsoft p {
  color: #d7e7f4;
  margin: 0;
  font-size: .95rem;
  line-height: 1.5;
}

/* Responsive adjustments for services redesign */
@media (max-width: 880px) {
  .svc-grid-2col {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .svc-detail.featured {
    grid-column: span 1;
  }
  .procedural-section {
    padding: 60px 0;
    margin-top: 40px;
  }
  .svc-bottom-cta {
    padding: 60px 0;
  }
}

/* ---------- Opportunity Pages (Join Us) ---------- */
.opp-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
}
.opp-row:last-child {
  margin-bottom: 0;
}
.opp-row.reverse {
  direction: rtl;
}
.opp-row.reverse > * {
  direction: ltr;
}
.opp-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 100%;
  min-height: 380px;
  position: relative;
  border: 1px solid var(--line);
}
.opp-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.opp-content h2 {
  font-size: 2rem;
  color: var(--teal-700);
  margin-bottom: 16px;
  line-height: 1.3;
}
.opp-content h3 {
  font-size: 1.6rem;
  color: var(--blue-800);
  margin-bottom: 14px;
}
.opp-content p {
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin-bottom: 14px;
  line-height: 1.6;
}
.opp-content ul {
  padding-left: 20px;
  margin-bottom: 14px;
  color: var(--ink-soft);
  font-size: 1.05rem;
}
.opp-content li {
  margin-bottom: 6px;
}
@media (max-width: 860px) {
  .opp-row {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .opp-row.reverse {
    direction: ltr;
  }
  .opp-img {
    min-height: 280px;
    order: -1;
  }
}

.opp-form-section {
  background: var(--blue-softer);
  border-top: 1px solid var(--line);
  padding: 80px 0;
  margin-top: 80px;
}
