:root {
  --brand: #2e7d4f;
  --brand-strong: #1f5e3a;
  --brand-soft: #e6f4ec;
  --navy: #14324a;
  --ink: #17212b;
  --muted: #637381;
  --line: #dce6df;
  --bg: #f5f9f6;
  --surface: #ffffff;
  --surface-2: #eef4f0;
  --amber: #b8801a;
  --amber-soft: #fbf1da;
  --coral: #c9574b;
  --coral-soft: #fdecea;
  --blue: #2f6bba;
  --blue-soft: #e8f0ff;
  --violet: #6f5bb8;
  --violet-soft: #f0ecff;
  --green: #2d8556;
  --shadow: 0 16px 42px rgba(20, 50, 74, 0.12);
  --shadow-soft: 0 10px 26px rgba(20, 50, 74, 0.08);
  --radius: 8px;
  --radius-sm: 6px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
}

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }

.page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% 0%, rgba(46, 125, 79, 0.09), transparent 26%),
    radial-gradient(circle at 92% 10%, rgba(20, 50, 74, 0.07), transparent 24%),
    var(--bg);
}

.utility { background: var(--navy); color: #e9f3f6; font-size: 13px; }

.utility-inner, .nav-inner, .section-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.utility-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.utility-left, .utility-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.utility-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #ffffff;
}

.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #5cd09d;
  box-shadow: 0 0 0 4px rgba(92, 208, 157, 0.16);
  flex: 0 0 auto;
}

.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand { display: flex; align-items: center; gap: 10px; min-width: 180px; }

.brand-mark {
  width: 40px; height: 40px;
  border-radius: var(--radius);
  display: block;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

.brand-copy strong { display: block; font-size: 17px; line-height: 1.1; }
.brand-copy span { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }

.nav-links { display: flex; align-items: center; justify-content: center; gap: 4px; flex: 1; }

.nav-links a {
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  color: #344452;
  font-size: 14px;
  font-weight: 650;
}

.nav-links a:hover, .nav-links a.active { background: var(--brand-soft); color: var(--brand-strong); }

.nav-actions { display: flex; align-items: center; gap: 8px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--brand-strong);
  font-weight: 750;
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover { border-color: var(--brand); background: var(--brand-soft); }
.btn.primary { border-color: var(--brand); background: var(--brand); color: #ffffff; }
.btn.primary:hover { background: var(--brand-strong); }
.btn.danger { border-color: #d98376; background: var(--coral); color: #ffffff; }
.btn.admin-login { border-color: var(--blue); background: var(--blue); color: #ffffff; }
.btn.admin-login:hover { background: #24548f; }

.hero { padding: 22px 0 0; }

.hero-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 344px;
  gap: 18px;
  align-items: stretch;
}

.carousel {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.slide {
  position: absolute; inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  padding: 42px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
}

.slide.active { opacity: 1; pointer-events: auto; }

.slide-bg {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
  background:
    radial-gradient(circle at 78% 30%, rgba(46, 125, 79, 0.12), transparent 18%),
    radial-gradient(circle at 66% 75%, rgba(20, 50, 74, 0.1), transparent 20%);
}

.slide-bg svg { width: 100%; height: 100%; display: block; transform-origin: 72% 42%; }

.ad-network-line { stroke-dasharray: 7 11; animation: adNetworkFlow 22s linear infinite; }
.ad-orbit { transform-box: fill-box; transform-origin: center; animation: adOrbitBreathe 10s ease-in-out infinite; }
.ad-orbit-dashed { stroke-dasharray: 10 12; transform-box: fill-box; transform-origin: center; animation: adOrbitDash 24s linear infinite; }
.ad-pulse-dot { transform-box: fill-box; transform-origin: center; animation: adPulseDot 4.8s ease-in-out infinite; }
.ad-spark { transform-box: fill-box; transform-origin: center; animation: adSparkTwinkle 7s ease-in-out infinite; }
.ad-float-card { transform: translate3d(0, 0, 0); }

.slide-content, .hero-card { position: relative; z-index: 1; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 10px;
  border: 1px solid rgba(46, 125, 79, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--brand-strong);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.slide h1 {
  margin: 18px 0 14px;
  max-width: 520px;
  color: var(--navy);
  font-size: clamp(21px, 2.7vw, 32px);
  line-height: 1.16;
}

.slide p { max-width: 500px; margin: 0; color: #435564; font-size: 13.5px; line-height: 1.58; }

.hero-cta { display: flex; align-items: center; gap: 10px; margin-top: 28px; flex-wrap: wrap; }

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
  max-width: 620px;
}

.metric {
  min-height: 78px;
  padding: 12px;
  border: 1px solid rgba(220, 230, 223, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
}

.metric strong { display: block; color: var(--navy); font-size: 20px; }
.metric span { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.35; }

.hero-card {
  align-self: center;
  border: 1px solid rgba(220, 230, 223, 0.92);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.hero-card-head { padding: 16px; border-bottom: 1px solid var(--line); background: rgba(238, 244, 240, 0.72); }
.hero-card-head small { display: block; color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.hero-card-head strong { display: block; margin-top: 4px; color: var(--navy); font-size: 18px; }

.schedule-list { padding: 14px; display: grid; gap: 10px; }

.schedule-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #ffffff;
}

.avatar {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: var(--radius);
  color: var(--brand-strong);
  background: var(--brand-soft);
  font-weight: 850;
  font-size: 13px;
}

.schedule-item strong { display: block; color: var(--navy); font-size: 14px; }
.schedule-item span { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }

.carousel-controls { position: absolute; left: 42px; bottom: 28px; z-index: 3; display: flex; align-items: center; gap: 8px; }
.carousel-dot { width: 30px; height: 6px; border: 0; border-radius: 999px; background: rgba(20, 50, 74, 0.2); cursor: pointer; }
.carousel-dot.active { background: var(--brand); }

@keyframes adNetworkFlow { 0% { stroke-dashoffset: 0; opacity: 0.32; } 50% { opacity: 0.48; } 100% { stroke-dashoffset: -46; opacity: 0.32; } }
@keyframes adOrbitBreathe { 0%, 100% { opacity: 0.22; } 50% { opacity: 0.42; } }
@keyframes adOrbitDash { 0% { stroke-dashoffset: 0; opacity: 0.18; } 50% { opacity: 0.34; } 100% { stroke-dashoffset: -60; opacity: 0.18; } }
@keyframes adPulseDot { 0%, 100% { transform: scale(0.94); opacity: 0.38; } 50% { transform: scale(1.08); opacity: 0.76; } }
@keyframes adSparkTwinkle { 0%, 100% { transform: scale(0.75); opacity: 0.28; } 45% { transform: scale(1.02); opacity: 0.5; } }

.portal-panel {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 540px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.portal-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 10px;
  gap: 6px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}

.portal-tabs button {
  min-height: 34px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.portal-tabs button.active {
  border-color: var(--line);
  background: #ffffff;
  color: var(--brand-strong);
  box-shadow: 0 4px 12px rgba(20, 50, 74, 0.06);
}

.portal-state { display: none; padding: 18px; }
.portal-state.active { display: block; }
.portal-state h2 { margin: 0 0 6px; color: var(--navy); font-size: 21px; }
.portal-state p { margin: 0; color: var(--muted); line-height: 1.5; font-size: 14px; }

.portal-actions { display: grid; gap: 10px; margin-top: 18px; }

.portal-action {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.portal-action:hover { border-color: rgba(46, 125, 79, 0.46); }

.portal-action .iconbox {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: var(--radius-sm);
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 850;
  font-size: 12px;
}

.portal-action strong { display: block; color: var(--navy); font-size: 14px; }
.portal-action span { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; line-height: 1.35; }
.portal-action small { color: var(--brand-strong); font-size: 12px; font-weight: 850; }

.portal-footer { padding: 14px 18px; border-top: 1px solid var(--line); background: #fbfdfc; }
.portal-footer .btn { width: 100%; }

section { padding: 46px 0; }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.section-kicker { color: var(--brand-strong); font-size: 12px; font-weight: 850; text-transform: uppercase; }
.section-head h2 { margin: 7px 0 0; color: var(--navy); font-size: clamp(25px, 3vw, 38px); line-height: 1.1; }
.section-head p { max-width: 560px; margin: 0; color: var(--muted); line-height: 1.55; }

.quick-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }

.quick-card, .service-card, .doctor-card, .location-card, .news-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.quick-card {
  min-height: 132px;
  padding: 15px;
  display: grid;
  align-content: space-between;
  transition: transform 160ms ease, border-color 160ms ease;
}

.quick-card:hover { transform: translateY(-2px); border-color: rgba(46, 125, 79, 0.46); }

.mini-icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: var(--radius-sm);
  font-weight: 850;
  font-size: 12px;
}

.quick-card:nth-child(1) .mini-icon, .service-card:nth-child(1) .mini-icon { background: var(--brand-soft); color: var(--brand-strong); }
.quick-card:nth-child(2) .mini-icon, .service-card:nth-child(2) .mini-icon { background: var(--blue-soft); color: var(--blue); }
.quick-card:nth-child(3) .mini-icon, .service-card:nth-child(3) .mini-icon { background: var(--amber-soft); color: var(--amber); }
.quick-card:nth-child(4) .mini-icon, .service-card:nth-child(4) .mini-icon { background: var(--coral-soft); color: var(--coral); }
.quick-card:nth-child(5) .mini-icon, .service-card:nth-child(5) .mini-icon { background: var(--violet-soft); color: var(--violet); }
.quick-card:nth-child(6) .mini-icon, .service-card:nth-child(6) .mini-icon { background: #e8f7ed; color: var(--green); }
.service-card:nth-child(7) .mini-icon { background: var(--brand-soft); color: var(--brand-strong); }
.service-card:nth-child(8) .mini-icon { background: var(--blue-soft); color: var(--blue); }

.quick-card strong { display: block; color: var(--navy); font-size: 15px; line-height: 1.25; }
.quick-card span { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.35; }

.services-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }

.service-card { padding: 18px; min-height: 188px; display: grid; align-content: start; gap: 14px; }
.service-card h3 { margin: 0; color: var(--navy); font-size: 18px; }
.service-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.service-card a { margin-top: 2px; color: var(--brand-strong); font-size: 13px; font-weight: 850; }

.doctor-search {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(160px, 0.8fr) minmax(160px, 0.8fr) auto;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  margin-bottom: 14px;
}

.doctor-search input, .doctor-search select {
  min-height: 42px; width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 12px;
  background: #ffffff;
  color: var(--ink);
}

.doctor-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }

.doctor-card { padding: 16px; display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 12px; align-items: start; }

.doctor-avatar {
  width: 60px; height: 60px;
  display: grid; place-items: center;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--brand-soft), #ffffff);
  border: 1px solid rgba(46, 125, 79, 0.22);
  color: var(--brand-strong);
  font-weight: 850;
}

.doctor-card h3 { margin: 2px 0 5px; color: var(--navy); font-size: 17px; }
.doctor-card p { margin: 0 0 10px; color: var(--muted); font-size: 13px; line-height: 1.45; }

.badge-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }

.badge {
  display: inline-flex; align-items: center;
  min-height: 24px; padding: 0 8px;
  border-radius: 999px;
  background: var(--surface-2);
  color: #435564;
  font-size: 12px;
  font-weight: 750;
}

.badge.open { background: #e8f7ed; color: var(--green); }

.ops-showcase { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr); gap: 16px; align-items: stretch; }

.ops-card { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-soft); overflow: hidden; }

.ops-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 16px; border-bottom: 1px solid var(--line); background: #f7faf8; }
.ops-card-head h3 { margin: 0; color: var(--navy); font-size: 18px; }
.ops-card-head p { margin: 5px 0 0; color: var(--muted); font-size: 13px; line-height: 1.45; }

.module-count { flex: 0 0 auto; min-width: 86px; padding: 8px 10px; border-radius: var(--radius-sm); background: var(--navy); color: #ffffff; text-align: center; }
.module-count strong { display: block; font-size: 24px; line-height: 1; }
.module-count span { display: block; margin-top: 3px; color: #bfe0d3; font-size: 11px; font-weight: 800; text-transform: uppercase; }

.ops-preview { padding: 16px; }

.flow-shell { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 12px; }

.doc-preview {
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, #f7faf8, #eef5f0);
  display: grid; place-items: center;
  position: relative; overflow: hidden;
  padding: 14px;
}

.doc-sheet {
  width: 128px; height: 176px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(20, 50, 74, 0.12);
  padding: 14px 12px;
  position: relative;
}

.doc-sheet .doc-crest { width: 26px; height: 26px; border-radius: 50%; background: var(--brand-soft); border: 2px solid var(--brand); margin: 0 auto 8px; }
.doc-sheet .doc-line { height: 6px; border-radius: 4px; background: #dbe5df; margin: 5px auto; }
.doc-sheet .doc-line.w1 { width: 78%; } .doc-sheet .doc-line.w2 { width: 92%; } .doc-sheet .doc-line.w3 { width: 64%; }
.doc-sheet .doc-qr {
  position: absolute; right: 12px; bottom: 12px;
  width: 34px; height: 34px; border-radius: 4px;
  background:
    repeating-linear-gradient(90deg, var(--navy) 0 3px, #fff 3px 6px),
    repeating-linear-gradient(0deg, var(--navy) 0 3px, #fff 3px 6px);
  background-blend-mode: multiply;
  border: 2px solid var(--navy);
}
.doc-stamp {
  position: absolute; left: 10px; bottom: 16px;
  width: 46px; height: 46px; border-radius: 50%;
  border: 2px dashed var(--coral);
  color: var(--coral); font-size: 8px; font-weight: 900;
  display: grid; place-items: center; text-align: center;
  transform: rotate(-14deg);
  opacity: .85;
}

.soap-preview { display: grid; gap: 8px; }

.soap-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px; align-items: start;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #ffffff;
}

.soap-row b { width: 28px; height: 28px; border-radius: 6px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-strong); font-size: 13px; }
.soap-row strong { display: block; color: var(--navy); font-size: 13px; }
.soap-row span { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; line-height: 1.35; }

.workspace-mini { display: grid; gap: 10px; }

.station-strip { display: flex; gap: 8px; flex-wrap: wrap; padding: 10px; border-radius: var(--radius-sm); background: var(--navy); color: #ffffff; }
.station-strip span { display: inline-flex; min-height: 28px; align-items: center; padding: 0 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.14); font-size: 12px; font-weight: 750; }
.station-strip .active { background: #ffffff; color: var(--navy); }

.workspace-switcher { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 7px; }

.workspace-chip { min-height: 54px; padding: 8px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #ffffff; color: var(--navy); font-size: 12px; font-weight: 850; line-height: 1.2; }
.workspace-chip small { display: block; margin-top: 4px; color: var(--muted); font-size: 10.5px; font-weight: 700; }

.pin-preview { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 10px; align-items: stretch; }

.operator-list { display: grid; gap: 7px; }
.operator-list div, .pin-pad-preview { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #ffffff; }
.operator-list div { padding: 9px; font-size: 12px; color: var(--muted); }
.operator-list strong { display: block; color: var(--navy); font-size: 13px; }

.pin-pad-preview { padding: 10px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.pin-pad-preview span { min-height: 30px; display: grid; place-items: center; border-radius: 6px; background: #eef4f0; color: var(--navy); font-size: 12px; font-weight: 850; }

.ops-actions { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 16px 16px; }

.journey { background: var(--surface); border-block: 1px solid var(--line); }
.journey-steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }

.step { position: relative; min-height: 146px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #ffffff; }
.step-number { width: 30px; height: 30px; display: grid; place-items: center; border-radius: var(--radius-sm); background: var(--navy); color: #ffffff; font-size: 12px; font-weight: 850; }
.step strong { display: block; margin-top: 14px; color: var(--navy); font-size: 15px; line-height: 1.25; }
.step span { display: block; margin-top: 7px; color: var(--muted); font-size: 12px; line-height: 1.4; }

.locations-news { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 16px; }

.location-card { padding: 18px; min-height: 365px; }

.map-visual { height: 180px; border: 1px solid var(--line); border-radius: var(--radius); background: #f1f7f3; overflow: hidden; margin-bottom: 14px; }
.map-visual svg { width: 100%; height: 100%; display: block; }

.branch-list { display: grid; gap: 10px; }
.branch { display: flex; justify-content: space-between; gap: 12px; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #ffffff; }
.branch strong, .news-card strong { color: var(--navy); font-size: 14px; }
.branch span, .news-card span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.35; }

.news-list { display: grid; gap: 12px; }
.news-card { padding: 15px; display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; align-items: center; }
.news-thumb { height: 72px; border-radius: var(--radius-sm); background: linear-gradient(135deg, rgba(46, 125, 79, 0.15), rgba(20, 50, 74, 0.14)), #ffffff; border: 1px solid var(--line); }

.stakeholder-band { padding: 34px 0; background: var(--navy); color: #ffffff; }
.stakeholder-shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 430px); gap: 24px; align-items: center; }
.stakeholder-shell h2 { margin: 8px 0 10px; font-size: clamp(26px, 3vw, 40px); line-height: 1.1; }
.stakeholder-shell p { margin: 0; max-width: 680px; color: #c6d7df; line-height: 1.6; }
.stakeholder-cards { display: grid; gap: 10px; }
.stakeholder-card { padding: 13px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius); background: rgba(255, 255, 255, 0.08); }
.stakeholder-card strong { display: block; font-size: 14px; }
.stakeholder-card span { display: block; margin-top: 4px; color: #c6d7df; font-size: 12px; line-height: 1.35; }

.demo-cta { padding: 30px 0 34px; }
.demo-cta-shell {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 420px); gap: 24px; align-items: center;
  padding: 44px 56px; border-radius: 28px;
  background: linear-gradient(135deg, rgba(20, 50, 74, 0.98), rgba(31, 94, 58, 0.96)), var(--navy);
  color: #ffffff; box-shadow: var(--shadow);
}
.demo-cta-shell .section-kicker { color: #8fe6b6; }
.demo-cta-shell h2 { margin: 12px 0 0; color: #ffffff; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.08; }
.demo-cta-shell p { margin: 16px 0 0; color: #dcefe4; max-width: 680px; line-height: 1.65; }
.demo-cta-actions { display: grid; gap: 12px; }
.demo-cta-actions .btn { min-height: 54px; justify-content: flex-start; padding: 0 26px; border-radius: 999px; font-size: 15px; }
.demo-cta-actions .btn:not(.primary) { border-color: rgba(255, 255, 255, 0.36); background: rgba(255, 255, 255, 0.08); color: #ffffff; }

.footer { padding: 34px 0; background: #ffffff; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 24px; }
.footer h3, .footer h4 { margin: 0 0 10px; color: var(--navy); }
.footer p, .footer a { display: block; margin: 0 0 8px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.footer a:hover { color: var(--brand-strong); }

@media (max-width: 1040px) {
  .hero-shell, .slide, .ops-showcase, .stakeholder-shell, .demo-cta-shell, .locations-news { grid-template-columns: 1fr; }
  .carousel, .portal-panel { min-height: auto; }
  .slide { position: relative; display: none; min-height: 620px; }
  .slide.active { display: grid; }
  .quick-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .services-grid, .flow-shell, .doctor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journey-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav-links { display: none; }
}

@media (max-width: 720px) {
  .utility-inner, .nav-inner, .section-inner, .hero-shell { width: min(100% - 24px, 1180px); }
  .utility-inner, .nav-inner, .section-head, .footer-grid { align-items: stretch; flex-direction: column; grid-template-columns: 1fr; }
  .nav-inner { padding: 10px 0; }
  .nav-actions { width: 100%; }
  .nav-actions .btn { flex: 1; }
  .slide { min-height: 720px; padding: 24px; }
  .slide h1 { font-size: 24px; line-height: 1.18; }
  .hero-metrics, .quick-grid, .services-grid, .doctor-grid, .flow-shell, .pin-preview, .workspace-switcher, .journey-steps, .doctor-search { grid-template-columns: 1fr; }
  .carousel-controls { left: 24px; }
  .doctor-card, .news-card { grid-template-columns: 1fr; }
  .demo-cta-shell { padding: 30px 22px; border-radius: 18px; }
}
