/* ============================================================
   LEGACY FAMILY MEDICAL CLINIC — Main Stylesheet
   Brand: Teal #3DBFBB · Black #1A1A1A · White #FFFFFF
   Font:  Poppins (headings) + Inter (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,600;0,700;0,800;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* ── Brand Variables ── */
:root {
  --teal:        #3DBFBB;
  --teal-dark:   #2a9994;
  --teal-darker: #1e7370;
  --teal-light:  #e8f7f7;
  --teal-mid:    #c2ecea;
  --black:       #1A1A1A;
  --black-soft:  #2d2d2d;
  --text:        #2c2c2c;
  --text-mid:    #555555;
  --text-light:  #777777;
  --white:       #ffffff;
  --off-white:   #f8fafa;
  --grey-light:  #f2f4f4;
  --border:      #d8ecec;
  --success:     #22c55e;
  --shadow-sm:   0 2px 12px rgba(61,191,187,0.10);
  --shadow:      0 8px 32px rgba(61,191,187,0.14);
  --shadow-lg:   0 20px 56px rgba(61,191,187,0.18);
  --shadow-dark: 0 8px 32px rgba(0,0,0,0.14);
  --radius:      18px;
  --radius-sm:   10px;
  --radius-pill: 50px;
  --ease:        cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text); background: var(--white);
  overflow-x: hidden; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; }

/* ── Accessibility ── */
.skip-link {
  position: absolute; top: -50px; left: 8px; z-index: 9999;
  background: var(--teal); color: white;
  padding: 9px 18px; border-radius: 0 0 10px 10px;
  font-weight: 600; font-size: 0.85rem; transition: top 0.2s;
}
.skip-link:focus { top: 0; }
*:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
  background: var(--black); color: white;
  padding: 9px 5%; font-size: 0.82rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px;
}
.topbar-left { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.topbar-item { display: flex; align-items: center; gap: 7px; color: rgba(255,255,255,0.78); }
.topbar-item svg { width: 13px; height: 13px; fill: var(--teal); flex-shrink: 0; }
.topbar-item a { color: rgba(255,255,255,0.78); transition: color 0.2s; }
.topbar-item a:hover { color: var(--teal); }
.topbar-right { display: flex; align-items: center; gap: 14px; }
.topbar-badge {
  background: var(--teal); color: var(--black);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em;
  padding: 4px 11px; border-radius: 20px;
  display: flex; align-items: center; gap: 5px;
}
.topbar-badge::before { content: ''; width: 6px; height: 6px; background: var(--black); border-radius: 50%; animation: tb-pulse 1.8s infinite; }
@keyframes tb-pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }

/* ============================================================
   NAVBAR
   ============================================================ */
#site-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--white);
  border-bottom: 2px solid var(--teal-light);
  box-shadow: 0 2px 20px rgba(61,191,187,0.08);
  transition: box-shadow 0.3s;
}
#site-header.scrolled { box-shadow: var(--shadow); }

.header-inner {
  max-width: 1240px; margin: 0 auto; padding: 0 5%;
  height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
}

/* Logo */
.site-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.logo-img { height: 54px; width: auto; object-fit: contain; }
.logo-fallback { display: flex; align-items: center; gap: 12px; }
.logo-icon-wrap {
  width: 48px; height: 48px; background: var(--teal);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-icon-wrap svg { width: 28px; height: 28px; fill: white; }
.logo-words strong {
  display: block; font-family: 'Poppins', sans-serif;
  font-size: 1rem; font-weight: 800; color: var(--black); line-height: 1.1;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.logo-words span {
  font-size: 0.68rem; font-weight: 600; color: var(--teal);
  text-transform: uppercase; letter-spacing: 0.12em;
}

/* Nav */
.primary-nav { display: flex; align-items: center; gap: 6px; }
.primary-nav a {
  font-size: 0.875rem; font-weight: 500; color: var(--text-mid);
  padding: 8px 14px; border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.primary-nav a:hover { color: var(--teal-dark); background: var(--teal-light); }
.nav-book {
  background: var(--teal) !important; color: white !important;
  padding: 10px 22px !important; border-radius: var(--radius-pill) !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 16px rgba(61,191,187,0.35);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s !important;
}
.nav-book:hover { background: var(--teal-dark) !important; transform: translateY(-1px); box-shadow: 0 6px 22px rgba(61,191,187,0.45) !important; }

/* Hamburger */
.menu-toggle {
  display: none; background: none; border: none;
  flex-direction: column; gap: 5px; padding: 6px; cursor: pointer;
}
.menu-toggle span { display: block; width: 24px; height: 2.5px; background: var(--black); border-radius: 2px; transition: all 0.3s; }
.menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: calc(100vh - 76px - 44px);
  background: var(--black);
  position: relative; overflow: hidden;
  display: flex; align-items: center;
}

/* ECG / heartbeat SVG background line */
.hero-ecg-bg {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 200px; z-index: 1; pointer-events: none; opacity: 0.07;
}
.hero-ecg-bg path { stroke: var(--teal); stroke-width: 2; fill: none; }

.hero-glow-l {
  position: absolute; left: -120px; top: 10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(61,191,187,0.18) 0%, transparent 65%);
  border-radius: 50%; z-index: 1; pointer-events: none;
}
.hero-glow-r {
  position: absolute; right: -80px; bottom: -60px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(61,191,187,0.10) 0%, transparent 65%);
  border-radius: 50%; z-index: 1; pointer-events: none;
}
/* Grid dots */
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero-inner {
  position: relative; z-index: 2;
  max-width: 1240px; margin: 0 auto; padding: 80px 5%;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px;
  align-items: center;
}

/* Hero left */
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid rgba(61,191,187,0.4);
  background: rgba(61,191,187,0.1);
  padding: 7px 18px; border-radius: var(--radius-pill); margin-bottom: 26px;
}
.hero-eyebrow .dot {
  width: 7px; height: 7px; background: var(--teal); border-radius: 50%;
  animation: glow-pulse 2s ease-in-out infinite; flex-shrink: 0;
}
@keyframes glow-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(61,191,187,0.6); }
  50% { box-shadow: 0 0 0 7px rgba(61,191,187,0); }
}
.hero-eyebrow span { font-size: 0.76rem; font-weight: 600; color: var(--teal); letter-spacing: 0.12em; text-transform: uppercase; }

.hero-h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 800; line-height: 1.1; color: white;
  margin-bottom: 24px; letter-spacing: -0.02em;
}
.hero-h1 em { font-style: normal; color: var(--teal); }

/* Heartbeat underline on key phrase */
.hero-h1 .underline-ecg { position: relative; display: inline-block; }
.hero-h1 .underline-ecg::after {
  content: '';
  position: absolute; left: 0; bottom: -4px; right: 0; height: 3px;
  background: var(--teal); border-radius: 2px;
}

.hero-lead { color: rgba(255,255,255,0.7); font-size: 1.05rem; line-height: 1.75; margin-bottom: 36px; max-width: 500px; }

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.btn-teal {
  background: var(--teal); color: var(--black);
  padding: 15px 32px; border-radius: var(--radius-pill);
  font-weight: 700; font-size: 0.95rem;
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 22px rgba(61,191,187,0.45);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
}
.btn-teal:hover { background: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(61,191,187,0.55); }
.btn-outline-w {
  border: 2px solid rgba(255,255,255,0.3); color: white;
  padding: 13px 28px; border-radius: var(--radius-pill);
  font-weight: 600; font-size: 0.95rem;
  display: inline-flex; align-items: center; gap: 8px;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline-w:hover { border-color: var(--teal); background: rgba(61,191,187,0.08); color: var(--teal); }

/* Hero stat pills */
.hero-stats {
  display: flex; gap: 12px; flex-wrap: wrap;
}
.stat-pill {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
  padding: 12px 18px; border-radius: 14px;
}
.stat-pill-icon { width: 36px; height: 36px; background: rgba(61,191,187,0.18); border-radius: 9px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.stat-pill-icon svg { width: 18px; height: 18px; fill: var(--teal); }
.stat-pill-num { font-family: 'Poppins', sans-serif; font-size: 1.25rem; font-weight: 800; color: white; line-height: 1; }
.stat-pill-lbl { font-size: 0.72rem; color: rgba(255,255,255,0.5); margin-top: 2px; }

/* Hero right — Info Card */
.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(61,191,187,0.25);
  border-radius: 22px; padding: 36px 32px;
  backdrop-filter: blur(12px);
  position: relative; overflow: hidden;
}
.hero-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--teal), #7EDED9, var(--teal));
}
.hero-card-logo { margin-bottom: 22px; }
.hero-card-logo img { height: 52px; width: auto; object-fit: contain; filter:  opacity: 0.9; } /*brightness(0) invert(1);*/
.hero-card-title { font-family: 'Poppins', sans-serif; font-size: 1.1rem; font-weight: 700; color: white; margin-bottom: 20px; line-height: 1.3; }
.hcard-rows { display: flex; flex-direction: column; gap: 15px; margin-bottom: 24px; }
.hcard-row { display: flex; align-items: flex-start; gap: 12px; }
.hcard-icon {
  width: 34px; height: 34px; flex-shrink: 0;
  background: rgba(61,191,187,0.18); border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
}
.hcard-icon svg { width: 16px; height: 16px; fill: var(--teal); }
.hcard-label { font-size: 0.68rem; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; }
.hcard-val { font-size: 0.88rem; color: rgba(255,255,255,0.85); line-height: 1.5; margin-top: 2px; }
.hcard-val strong { color: white; }
.hcard-val a { color: var(--teal); }
.hero-card-cta {
  display: flex; width: 100%; background: var(--teal); color: var(--black);
  padding: 14px; border-radius: var(--radius-pill);
  font-weight: 700; font-size: 0.9rem;
  align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 4px 16px rgba(61,191,187,0.35);
  transition: background 0.2s, transform 0.2s;
}
.hero-card-cta:hover { background: var(--teal-dark); transform: translateY(-2px); }
.hero-card-cta svg { width: 16px; height: 16px; fill: var(--black); }
.hero-card-status {
  display: flex; align-items: center; gap: 8px; margin-top: 14px; justify-content: center;
}
.hero-card-status .sdot { width: 8px; height: 8px; background: var(--success); border-radius: 50%; animation: glow-pulse 1.5s infinite; }
.hero-card-status span { font-size: 0.8rem; color: rgba(255,255,255,0.6); }

/* ============================================================
   TRUST / SERVICES RIBBON
   ============================================================ */
.trust-ribbon {
  background: var(--teal); padding: 20px 5%;
  overflow: hidden; position: relative;
}
.trust-ribbon-inner {
  max-width: 1240px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: 0; flex-wrap: wrap;
}
.trust-chip {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 24px; color: var(--black); font-weight: 600; font-size: 0.84rem;
  border-right: 1px solid rgba(0,0,0,0.15);
}
.trust-chip:last-child { border-right: none; }
.trust-chip svg { width: 16px; height: 16px; fill: var(--black); opacity: 0.7; }

/* ============================================================
   SECTION GLOBALS
   ============================================================ */
.section { padding: 90px 0; }
.section-inner { max-width: 1240px; margin: 0 auto; padding: 0 5%; }
.section-tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.71rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--teal-dark); background: var(--teal-light);
  padding: 5px 14px; border-radius: 20px; margin-bottom: 12px;
}
.section-tag::before { content: ''; width: 5px; height: 5px; background: var(--teal); border-radius: 50%; }
.section-heading {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800;
  line-height: 1.15; color: var(--black); margin-bottom: 14px; letter-spacing: -0.02em;
}
.section-heading em { font-style: normal; color: var(--teal); }
.section-lead { font-size: 1rem; color: var(--text-light); line-height: 1.74; max-width: 540px; }
.section-hdr { margin-bottom: 54px; }
.section-hdr.center { text-align: center; }
.section-hdr.center .section-lead { margin: 0 auto; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-section { background: var(--off-white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.about-visual { position: relative; }
.about-visual-frame {
  background: linear-gradient(145deg, var(--teal-light), #d4f4f2);
  border-radius: 24px; padding: 32px; min-height: 400px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.about-visual-frame::before {
  content: '';
  position: absolute; bottom: -30px; right: -30px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(61,191,187,0.2), transparent);
  border-radius: 50%;
}
/* ECG decoration inside frame */
.about-ecg-deco {
  position: absolute; top: 14px; left: 14px; right: 14px;
  height: 40px; opacity: 0.18;
}
.about-ecg-deco path { stroke: var(--teal-dark); stroke-width: 2; fill: none; }

.about-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; z-index: 1; position: relative; }
.acard {
  background: white; border-radius: 16px; padding: 22px 16px;
  text-align: center; box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.acard:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.acard svg { width: 36px; height: 36px; margin: 0 auto 10px; fill: var(--teal); }
.acard p { font-size: 0.78rem; font-weight: 700; color: var(--black); line-height: 1.3; }

.about-float-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--black); color: white; border-radius: 16px;
  padding: 16px 20px; text-align: center; box-shadow: var(--shadow-dark);
  z-index: 2;
}
.about-float-badge strong { display: block; font-family: 'Poppins', sans-serif; font-size: 1.8rem; font-weight: 800; color: var(--teal); line-height: 1; }
.about-float-badge span { font-size: 0.72rem; color: rgba(255,255,255,0.7); margin-top: 4px; display: block; }

.about-text p { color: var(--text-light); line-height: 1.78; font-size: 0.96rem; margin-bottom: 16px; }
.about-checks { margin: 24px 0; display: flex; flex-direction: column; gap: 14px; }
.check-item { display: flex; align-items: flex-start; gap: 12px; }
.check-ic {
  width: 36px; height: 36px; flex-shrink: 0;
  background: var(--teal-light); border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
}
.check-ic svg { width: 17px; height: 17px; fill: var(--teal); }
.check-item strong { display: block; font-size: 0.9rem; font-weight: 600; color: var(--black); margin-bottom: 1px; }
.check-item span { font-size: 0.83rem; color: var(--text-light); }
.accepting-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: #e6f9f0; border: 1.5px solid #7dd4a8;
  padding: 10px 18px; border-radius: 12px; margin-top: 22px;
}
.green-dot { width: 9px; height: 9px; background: var(--success); border-radius: 50%; animation: glow-pulse 1.5s infinite; }
.accepting-badge span { color: #166534; font-weight: 600; font-size: 0.86rem; }

/* ============================================================
   SERVICES
   ============================================================ */
.services-section { background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.srv-card {
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 26px;
  position: relative; overflow: hidden;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.srv-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--teal); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.srv-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.srv-card:hover::after { transform: scaleX(1); }
.srv-number {
  font-family: 'Poppins', sans-serif; font-size: 3rem; font-weight: 800;
  color: var(--teal-light); line-height: 1; margin-bottom: 14px; user-select: none;
  transition: color 0.3s;
}
.srv-card:hover .srv-number { color: rgba(61,191,187,0.15); }
.srv-icon {
  width: 54px; height: 54px; background: var(--teal-light);
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; transition: background 0.3s;
}
.srv-icon svg { width: 28px; height: 28px; fill: var(--teal); transition: fill 0.3s; }
.srv-card:hover .srv-icon { background: var(--teal); }
.srv-card:hover .srv-icon svg { fill: white; }
.srv-card h3 { font-family: 'Poppins', sans-serif; font-size: 1rem; font-weight: 700; color: var(--black); margin-bottom: 9px; }
.srv-card p { font-size: 0.855rem; color: var(--text-light); line-height: 1.64; }

/* ============================================================
   LOCATION SECTION
   ============================================================ */
.location-section { background: var(--black); }
.location-section .section-tag { background: rgba(61,191,187,0.18); color: var(--teal); }
.location-section .section-tag::before { background: var(--teal); }
.location-section .section-heading { color: white; }
.location-section .section-heading em { color: var(--teal); }
.location-section .section-lead { color: rgba(255,255,255,0.55); }

.location-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 42px; align-items: start; margin-top: 48px; }

/* Main Location Card */
.loc-main-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(61,191,187,0.2);
  border-radius: 22px; padding: 40px; position: relative; overflow: hidden;
}
.loc-main-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--teal), #7EDED9, var(--teal));
}
.loc-clinic-name {
  font-family: 'Poppins', sans-serif; font-size: 1.45rem; font-weight: 800;
  color: white; margin-bottom: 26px; line-height: 1.2; letter-spacing: -0.01em;
}
.loc-rows { display: flex; flex-direction: column; gap: 17px; margin-bottom: 30px; }
.loc-row { display: flex; align-items: flex-start; gap: 13px; }
.loc-row-ic {
  width: 38px; height: 38px; flex-shrink: 0;
  background: rgba(61,191,187,0.18); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.loc-row-ic svg { width: 17px; height: 17px; fill: var(--teal); }
.loc-row-lbl { font-size: 0.67rem; color: rgba(255,255,255,0.38); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; margin-bottom: 3px; }
.loc-row-val { font-size: 0.88rem; color: rgba(255,255,255,0.8); line-height: 1.55; }
.loc-row-val strong { color: white; font-weight: 600; }
.loc-row-val a { color: var(--teal); transition: opacity 0.2s; }
.loc-row-val a:hover { opacity: 0.8; }
.loc-btns { display: flex; gap: 12px; }
.btn-teal-solid {
  flex: 1; background: var(--teal); color: var(--black);
  padding: 13px 18px; border-radius: var(--radius-pill); font-weight: 700; font-size: 0.88rem;
  display: flex; align-items: center; justify-content: center; gap: 7px;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 4px 14px rgba(61,191,187,0.3);
}
.btn-teal-solid svg { width: 15px; height: 15px; fill: var(--black); }
.btn-teal-solid:hover { background: var(--teal-dark); transform: translateY(-2px); }
.btn-ghost-w {
  flex: 1; border: 1px solid rgba(255,255,255,0.18); color: white;
  padding: 13px 18px; border-radius: var(--radius-pill); font-weight: 600; font-size: 0.88rem;
  display: flex; align-items: center; justify-content: center; gap: 7px;
  transition: background 0.2s, border-color 0.2s;
}
.btn-ghost-w svg { width: 15px; height: 15px; fill: white; }
.btn-ghost-w:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.35); }

/* Hours Card */
.hours-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 22px; padding: 36px;
}
.hours-card h3 {
  font-family: 'Poppins', sans-serif; font-size: 1.1rem; font-weight: 700;
  color: white; margin-bottom: 22px;
  display: flex; align-items: center; gap: 10px;
}
.hours-card h3 svg { width: 20px; height: 20px; fill: var(--teal); }
.hours-list { display: flex; flex-direction: column; }
.hour-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,0.07);
}
.hour-row:last-child { border-bottom: none; }
.hour-day { font-size: 0.84rem; color: rgba(255,255,255,0.58); }
.hour-time { font-size: 0.84rem; font-weight: 600; color: white; }
.hour-time.closed { color: rgba(255,255,255,0.28); font-weight: 400; }
.map-box {
   background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08); border-radius: 14px;
  height: 160px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
}
.map-box svg { width: 34px; height: 34px; fill: rgba(255,255,255,0.18); }
.map-box a {
  font-size: 0.8rem; color: var(--teal); font-weight: 600;
  display: flex; align-items: center; gap: 5px;
}
.map-box a svg { width: 13px; height: 13px; fill: var(--teal); }

/* ============================================================
   DOCTOR / TEAM
   ============================================================ */
.team-section { background: var(--off-white); }
.doctor-grid { display: grid; grid-template-columns: 300px 1fr; gap: 72px; align-items: center; }
.doctor-photo-wrap { position: relative; }
.doctor-photo {
  width: 100%; aspect-ratio: 4/5; border-radius: 22px;
  background: linear-gradient(160deg, var(--teal-light) 0%, var(--teal) 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; box-shadow: var(--shadow);
}
.doctor-photo > svg { width: 80px; height: 80px; fill: rgba(255,255,255,0.35); }
.doctor-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 22px; }
.doctor-cred-badge {
  position: absolute; bottom: -18px; left: 50%; transform: translateX(-50%);
  background: white; border-radius: 14px; padding: 12px 20px;
  box-shadow: var(--shadow-dark); white-space: nowrap;
  display: flex; align-items: center; gap: 9px;
}
.doctor-cred-badge svg { width: 18px; height: 18px; fill: var(--teal); }
.doctor-cred-badge span { font-size: 0.8rem; font-weight: 700; color: var(--black); }

.doctor-name { font-family: 'Poppins', sans-serif; font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; margin: 18px 0 5px; }
.doctor-title { color: var(--teal-dark); font-weight: 600; font-size: 0.9rem; margin-bottom: 18px; }
.doctor-bio { color: var(--text-light); line-height: 1.78; font-size: 0.95rem; margin-bottom: 26px; }
.spec-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.spec-tag {
  background: var(--teal-light); color: var(--teal-darker);
  padding: 6px 16px; border-radius: var(--radius-pill);
  font-size: 0.8rem; font-weight: 600; transition: background 0.2s, color 0.2s;
}
.spec-tag:hover { background: var(--teal); color: white; }
.doctor-quote {
  background: white; border-left: 4px solid var(--teal);
  border-radius: 0 14px 14px 0; padding: 18px 22px;
  font-style: italic; font-size: 1rem; color: var(--text-mid); line-height: 1.6;
  position: relative;
}

/* ============================================================
   WHY US
   ============================================================ */
.why-section { background: white; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-card {
  background: var(--off-white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px 24px;
  display: flex; flex-direction: column; gap: 13px;
  position: relative; overflow: hidden;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.why-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); background: white; }
.why-card-num {
  position: absolute; top: 14px; right: 18px;
  font-family: 'Poppins', sans-serif; font-size: 3.5rem; font-weight: 800;
  color: rgba(61,191,187,0.08); line-height: 1; user-select: none;
}
.why-ic { width: 48px; height: 48px; border-radius: 13px; display: flex; align-items: center; justify-content: center; }
.why-ic svg { width: 24px; height: 24px; }
.ic-t { background: var(--teal-light); } .ic-t svg { fill: var(--teal); }
.ic-b { background: #e8eeff; } .ic-b svg { fill: #2d5be3; }
.ic-g { background: #e6f9f0; } .ic-g svg { fill: #16a34a; }
.ic-p { background: #f0ebff; } .ic-p svg { fill: #7c3aed; }
.ic-r { background: #fff0f0; } .ic-r svg { fill: #dc2626; }
.ic-o { background: #fff7ed; } .ic-o svg { fill: #ea580c; }
.why-card h3 { font-family: 'Poppins', sans-serif; font-size: 0.97rem; font-weight: 700; color: var(--black); }
.why-card p { font-size: 0.84rem; color: var(--text-light); line-height: 1.65; }

/* ============================================================
   HOURS BAND
   ============================================================ */
.hours-band { padding: 0 5% 90px; }
.hours-band-inner {
  max-width: 1240px; margin: 0 auto;
  background: var(--black); border-radius: 26px; overflow: hidden;
  box-shadow: var(--shadow-dark);
  display: grid; grid-template-columns: 1fr 1fr;
}
/* Left */
.hb-left {
  padding: 52px 52px; position: relative; overflow: hidden;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.hb-left::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(61,191,187,0.1), transparent);
  border-radius: 50%;
}
.hb-left h2 {
  font-family: 'Poppins', sans-serif; font-size: 1.8rem; font-weight: 800;
  color: white; margin-bottom: 8px; position: relative;
}
.hb-left h2 em { font-style: normal; color: var(--teal); }
.hb-left .sub { color: rgba(255,255,255,0.55); margin-bottom: 30px; font-size: 0.94rem; position: relative; }
.hb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; position: relative; }
.hb-item {}
.hb-day { font-size: 0.72rem; color: rgba(255,255,255,0.42); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; }
.hb-time { font-size: 0.9rem; font-weight: 600; color: white; margin-top: 3px; }
.hb-time.closed { color: rgba(255,255,255,0.25); font-weight: 400; }
/* Right */
.hb-right { padding: 52px 52px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.hb-right p { color: rgba(255,255,255,0.58); font-size: 0.92rem; margin-bottom: 28px; line-height: 1.7; max-width: 280px; }
.btn-teal-lg {
  background: var(--teal); color: var(--black);
  padding: 16px 38px; border-radius: var(--radius-pill);
  font-weight: 700; font-size: 1rem; display: inline-flex; align-items: center; gap: 9px;
  box-shadow: 0 4px 22px rgba(61,191,187,0.4);
  transition: background 0.2s, transform 0.2s;
}
.btn-teal-lg:hover { background: var(--teal-dark); transform: translateY(-2px); }
.btn-teal-lg svg { width: 18px; height: 18px; fill: var(--black); }
.hb-note { font-size: 0.78rem; color: rgba(255,255,255,0.35); margin-top: 16px; display: flex; align-items: center; gap: 6px; justify-content: center; }
.hb-note svg { width: 13px; height: 13px; fill: rgba(255,255,255,0.3); }

/* ============================================================
   CONTACT / APPOINTMENT
   ============================================================ */
.contact-section { background: var(--off-white); }
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 52px; align-items: start; }

/* Form */
.appt-form {
  background: white; border: 1px solid var(--border);
  border-radius: 22px; padding: 44px; box-shadow: var(--shadow-sm);
}
.appt-form-title { font-family: 'Poppins', sans-serif; font-size: 1.45rem; font-weight: 800; color: var(--black); margin-bottom: 28px; letter-spacing: -0.02em; }
.form-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--black); margin-bottom: 7px; letter-spacing: 0.01em; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 15px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-size: 0.9rem; color: var(--text); background: var(--off-white);
  outline: none; appearance: none; -webkit-appearance: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--teal); background: white;
  box-shadow: 0 0 0 3px rgba(61,191,187,0.12);
}
.field textarea { height: 110px; resize: none; }
.form-submit {
  width: 100%; background: var(--teal); color: var(--black);
  border: none; padding: 15px; border-radius: var(--radius-pill);
  font-size: 0.96rem; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 9px;
  box-shadow: 0 4px 18px rgba(61,191,187,0.35);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  margin-top: 4px;
}
.form-submit svg { width: 17px; height: 17px; fill: var(--black); }
.form-submit:hover { background: var(--teal-dark); transform: translateY(-1px); box-shadow: 0 8px 26px rgba(61,191,187,0.45); }
.form-note { text-align: center; font-size: 0.76rem; color: var(--text-light); margin-top: 12px; }

/* Sidebar */
.contact-sidebar { display: flex; flex-direction: column; gap: 18px; }
.info-panel {
  background: var(--black); border-radius: 20px;
  padding: 28px 30px; color: white;
}
.info-panel h4 {
  font-family: 'Poppins', sans-serif; font-size: 1rem; font-weight: 700;
  color: white; margin-bottom: 18px;
  display: flex; align-items: center; gap: 9px;
}
.info-panel h4 svg { width: 17px; height: 17px; fill: var(--teal); }
.ci-row { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 13px; }
.ci-row:last-child { margin-bottom: 0; }
.ci-row svg { width: 15px; height: 15px; fill: rgba(255,255,255,0.38); flex-shrink: 0; margin-top: 3px; }
.ci-row span { font-size: 0.85rem; color: rgba(255,255,255,0.72); line-height: 1.55; }
.ci-row strong { color: white; display: block; margin-bottom: 1px; }
.ci-row a { color: var(--teal); }
.emergency-note {
  background: rgba(61,191,187,0.1); border: 1px solid rgba(61,191,187,0.25);
  border-radius: 16px; padding: 20px 22px;
  display: flex; gap: 14px; align-items: flex-start;
}
.emergency-note > svg { width: 24px; height: 24px; fill: var(--teal); flex-shrink: 0; margin-top: 2px; }
.emergency-note p { font-size: 0.83rem; color: var(--text-mid); line-height: 1.62; }
.emergency-note strong { display: block; color: var(--black); font-weight: 700; margin-bottom: 4px; font-size: 0.88rem; }

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer { background: var(--black); padding: 64px 5% 0; }
.footer-grid {
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 30px;
}
.footer-logo-img { height: 46px; width: auto; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.85; margin-bottom: 14px; }
.footer-brand-desc { color: rgba(255,255,255,0.48); font-size: 0.85rem; line-height: 1.74; margin-bottom: 22px; }
.footer-socials { display: flex; gap: 9px; }
.f-social { width: 36px; height: 36px; background: rgba(255,255,255,0.08); border-radius: 9px; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.f-social:hover { background: var(--teal); }
.f-social svg { width: 17px; height: 17px; fill: rgba(255,255,255,0.6); }
.f-social:hover svg { fill: var(--black); }
.footer-col h5 { color: white; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.09em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { color: rgba(255,255,255,0.48); font-size: 0.84rem; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--teal); }
.footer-col .f-addr { color: rgba(255,255,255,0.48); font-size: 0.84rem; line-height: 1.68; }

.footer-bottom {
  max-width: 1240px; margin: 48px auto 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
}
.footer-bottom p { color: rgba(255,255,255,0.3); font-size: 0.77rem; }
.footer-bottom a { color: rgba(255,255,255,0.42); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--teal); }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.rd1{transition-delay:0.08s} .rd2{transition-delay:0.16s} .rd3{transition-delay:0.24s}
.rd4{transition-delay:0.32s} .rd5{transition-delay:0.40s} .rd6{transition-delay:0.48s}

/* ============================================================
   INNER PAGES
   ============================================================ */
.page-banner {
  background: var(--black); padding: 120px 5% 60px;
  text-align: center; position: relative; overflow: hidden;
}
.page-banner::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(61,191,187,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}
.page-banner h1 { font-family: 'Poppins', sans-serif; font-size: clamp(2rem,4vw,3rem); font-weight: 800; color: white; margin-bottom: 12px; position: relative; letter-spacing: -0.02em; }
.page-banner p { color: rgba(255,255,255,0.6); font-size: 1.05rem; position: relative; }
.entry-content { max-width: 820px; margin: 0 auto; padding: 64px 5%; }
.entry-content h2 { font-family: 'Poppins', sans-serif; font-size: 1.75rem; font-weight: 800; margin: 36px 0 14px; }
.entry-content h3 { font-size: 1.2rem; font-weight: 700; margin: 26px 0 10px; }
.entry-content p { margin-bottom: 18px; line-height: 1.78; color: var(--text-light); }
.entry-content a { color: var(--teal-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner, .about-grid, .doctor-grid, .contact-grid, .location-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { max-width: 460px; }
  .services-grid, .why-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .hours-band-inner { grid-template-columns: 1fr; }
  .hb-right { border-top: 1px solid rgba(255,255,255,0.08); }
  .topbar { display: none; }
}
@media (max-width: 768px) {
  .primary-nav {
    display: none; position: fixed;
    top: 76px; left: 0; right: 0; bottom: 0;
    background: white; flex-direction: column; align-items: flex-start;
    padding: 32px 5%; gap: 6px; z-index: 999; border-top: 2px solid var(--teal-light);
    overflow-y: auto;
  }
  .primary-nav.open { display: flex; }
  .primary-nav a { font-size: 1.1rem; width: 100%; padding: 12px 16px; }
  .nav-book { text-align: center !important; justify-content: center; }
  .menu-toggle { display: flex; }
  .services-grid, .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hb-left, .hb-right { padding: 36px 28px; }
  .hb-grid { grid-template-columns: 1fr; }
  .form-pair { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 10px; }
  .trust-ribbon-inner { gap: 0; }
  .trust-chip { border-right: none; border-bottom: 1px solid rgba(0,0,0,0.1); width: 100%; justify-content: center; }
  .trust-chip:last-child { border-bottom: none; }
}
@media (max-width: 480px) {
  .hero-h1 { font-size: 2.1rem; }
  .appt-form { padding: 28px 20px; }
  .loc-main-card, .hours-card { padding: 28px 22px; }
  .hours-band-inner { border-radius: 18px; }
}
.admin-bar #site-header { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar #site-header { top: 46px; } }

/* ============================================================
   FORM UPDATE — Purpose Toggle + Booking Fields
   INSTRUCTIONS: Paste this entire block at the very bottom
   of  assets/css/main.css  (inside your legacy-medical theme)
   ============================================================ */

/* ── Purpose Radio Toggle ── */
.purpose-toggle {
  display: flex; gap: 12px; flex-wrap: wrap;
}
.purpose-opt {
  position: relative; flex: 1; min-width: 150px; cursor: pointer;
}
.purpose-opt input[type="radio"] {
  position: absolute; opacity: 0;
  width: 100%; height: 100%;
  margin: 0; cursor: pointer; z-index: 1;
}
.purpose-pill {
  display: flex; align-items: center; gap: 9px;
  padding: 13px 18px; border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  background: var(--off-white); color: var(--text-mid);
  font-size: 0.875rem; font-weight: 600;
  transition: border-color 0.22s ease, background 0.22s ease, color 0.22s ease;
  user-select: none; pointer-events: none;
}
.purpose-pill svg {
  width: 18px; height: 18px; fill: var(--text-light);
  flex-shrink: 0; transition: fill 0.22s ease;
}
/* Selected state */
.purpose-opt input:checked + .purpose-pill {
  border-color: var(--teal);
  background: var(--teal-light);
  color: var(--teal-darker);
  box-shadow: 0 0 0 3px rgba(61,191,187,0.12);
}
.purpose-opt input:checked + .purpose-pill svg { fill: var(--teal); }
/* Hover state */
.purpose-opt:hover .purpose-pill { border-color: var(--teal-mid); }
/* Focus visible for keyboard nav */
.purpose-opt input:focus-visible + .purpose-pill {
  outline: 3px solid var(--teal); outline-offset: 2px;
}

/* ── Booking Fields — animated show/hide ── */
.booking-fields {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    max-height 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    opacity    0.35s ease,
    transform  0.35s ease,
    margin-top 0.3s ease;
  margin-top: 0;
  pointer-events: none;
}
.booking-fields.open {
  max-height: 1000px;
  opacity: 1;
  transform: translateY(0);
  margin-top: 6px;
  pointer-events: all;
}

/* ── Booking Fields Header Bar ── */
.booking-fields-header {
  display: flex; align-items: center; gap: 9px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem; font-weight: 700;
  color: var(--teal-darker); letter-spacing: 0.01em;
  background: var(--teal-light);
  border: 1px solid var(--teal-mid);
  border-radius: var(--radius-sm);
  padding: 11px 16px; margin-bottom: 20px;
}
.booking-fields-header svg { width: 17px; height: 17px; fill: var(--teal); flex-shrink: 0; }

/* ── Required fields note ── */
.booking-fields [required]:invalid {
  border-color: var(--border); /* don't show red until submit attempted */
}
.form-attempted .booking-fields.open [required]:invalid {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220,38,38,0.08);
}

/* ── Submit button label change ── */
.form-submit .submit-label { transition: opacity 0.2s; }
