/* ============================================
   A Better Health Group — Design System
   ============================================ */

:root {
  /* Brand palette derived from logo */
  --navy: #0f2b5b;
  --navy-deep: #0a1f42;
  --navy-soft: #1a3a72;
  --blue: #1e5aa8;
  --blue-bright: #2a7ac9;
  --blue-tint: #e6f0fb;
  --blue-tint-2: #f3f8fd;
  --emerald: #2ba888;
  --emerald-deep: #1f8a6e;
  --emerald-soft: #e6f5f0;
  --gold: #e8a63a;

  --ink: #0f1a2e;
  --ink-2: #2a3548;
  --muted: #5b6879;
  --muted-2: #8a95a5;
  --line: #e3e8ef;
  --line-soft: #eef2f7;
  --bg: #ffffff;
  --bg-soft: #f6f9fc;
  --bg-cool: #f2f6fa;

  /* Type */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Fraunces", "Playfair Display", Georgia, serif;

  /* Radius + shadow */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 28px;
  --r-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(15, 43, 91, 0.06);
  --shadow-sm: 0 4px 14px rgba(15, 43, 91, 0.06), 0 1px 2px rgba(15, 43, 91, 0.04);
  --shadow-md: 0 10px 30px rgba(15, 43, 91, 0.08), 0 2px 6px rgba(15, 43, 91, 0.04);
  --shadow-lg: 0 24px 60px rgba(15, 43, 91, 0.14), 0 6px 16px rgba(15, 43, 91, 0.06);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--emerald-deep); }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy-deep);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); font-weight: 600; }
p { text-wrap: pretty; }

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}
@media (max-width: 640px) { .container { padding: 0 20px; } }

/* Eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--emerald-deep);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--emerald);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid transparent;
  transition: all .25s var(--ease);
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;
}
.btn-primary {
  background: var(--navy-deep);
  color: #fff;
  box-shadow: 0 6px 20px rgba(15, 43, 91, 0.28);
}
.btn-primary:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(15, 43, 91, 0.32);
}
.btn-accent {
  background: var(--emerald);
  color: #fff;
  box-shadow: 0 6px 20px rgba(43, 168, 136, 0.32);
}
.btn-accent:hover {
  background: var(--emerald-deep);
  color: #fff;
  transform: translateY(-2px);
}
.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: rgba(255,255,255,0.5);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.95);
  color: var(--navy-deep);
  border-color: #fff;
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--navy-deep);
  border-color: var(--navy-deep);
}
.btn-outline:hover {
  background: var(--navy-deep);
  color: #fff;
}
.btn .arr {
  width: 16px; height: 16px;
  transition: transform .25s var(--ease);
}
.btn:hover .arr { transform: translateX(4px); }

/* ============================================
   Header
   ============================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: all .35s var(--ease);
  padding: 18px 0;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid rgba(15, 43, 91, 0.08);
  padding: 12px 0;
  box-shadow: 0 4px 20px rgba(15, 43, 91, 0.05);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand img {
  height: 46px;
  width: auto;
  transition: height .3s var(--ease);
}
.site-header.scrolled .brand img { height: 40px; }
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  color: #fff;
  transition: color .35s var(--ease);
}
.site-header.scrolled .brand-text { color: var(--navy-deep); }
.brand-text strong {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.brand-text span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.75;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
  font-size: 14.5px;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  transition: all .2s var(--ease);
}
.site-header.scrolled .nav a { color: var(--ink-2); }
.nav a:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.site-header.scrolled .nav a:hover {
  background: var(--blue-tint);
  color: var(--navy-deep);
}
.nav .btn {
  margin-left: 12px;
  padding: 11px 22px;
  font-size: 14px;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #fff;
  padding: 8px;
  border-radius: 8px;
}
.site-header.scrolled .nav-toggle { color: var(--navy-deep); }

@media (max-width: 960px) {
  .nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(340px, 85vw);
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 96px 24px 24px;
    gap: 4px;
    box-shadow: -20px 0 50px rgba(15,43,91,0.15);
    transform: translateX(100%);
    transition: transform .35s var(--ease);
  }
  .nav.open { transform: translateX(0); }
  .nav a { color: var(--ink-2); padding: 14px 18px; }
  .nav a:hover { background: var(--blue-tint); }
  .nav .btn { margin: 12px 0 0; }
  .nav-toggle { display: inline-flex; }
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("assets/hero-consultation.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(115deg, rgba(10, 31, 66, 0.88) 0%, rgba(15, 43, 91, 0.72) 45%, rgba(30, 90, 168, 0.35) 100%),
    linear-gradient(180deg, rgba(10,31,66,0.5) 0%, rgba(10,31,66,0.2) 40%, rgba(10,31,66,0.5) 100%);
}
.hero-inner {
  position: relative;
  max-width: 780px;
}
.hero .eyebrow {
  color: #7fd8b8;
  animation: fadeUp .8s var(--ease) both;
}
.hero .eyebrow::before { background: #7fd8b8; }
.hero h1 {
  color: #fff;
  font-weight: 500;
  margin-bottom: 20px;
  animation: fadeUp .8s var(--ease) .1s both;
}
.hero-sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 1.9vw, 1.5rem);
  color: rgba(255,255,255,0.92);
  margin: 0 0 22px;
  font-weight: 300;
  animation: fadeUp .8s var(--ease) .2s both;
}
.hero-support {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,0.88);
  max-width: 640px;
  margin: 0 0 36px;
  animation: fadeUp .8s var(--ease) .3s both;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp .8s var(--ease) .4s both;
}
.hero-badges {
  margin-top: 60px;
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  animation: fadeUp .8s var(--ease) .5s both;
}
.hero-badge {
  display: flex;
  flex-direction: column;
}
.hero-badge strong {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: #fff;
  font-weight: 500;
  line-height: 1;
}
.hero-badge span {
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-top: 6px;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   Section base
   ============================================ */
section { padding: 110px 0; }
@media (max-width: 720px) { section { padding: 72px 0; } }

.section-head {
  max-width: 780px;
  margin: 0 auto 64px;
  text-align: center;
}
.section-head p {
  color: var(--muted);
  font-size: 18px;
  margin: 0;
}
.section-head.left { text-align: left; margin-left: 0; }

/* ============================================
   About
   ============================================ */
.about {
  background: var(--bg);
  position: relative;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
}
.about-body p {
  color: var(--ink-2);
  font-size: 17.5px;
  line-height: 1.75;
  margin: 0 0 18px;
}
.about-body p:last-child { margin-bottom: 0; }
.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.about-stat {
  padding: 24px;
  background: var(--blue-tint-2);
  border-radius: var(--r-md);
  border-left: 3px solid var(--emerald);
}
.about-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--navy-deep);
  font-weight: 500;
  line-height: 1;
}
.about-stat span {
  font-size: 14px;
  color: var(--muted);
  margin-top: 6px;
  display: block;
}
.about-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.about-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10,31,66,0.35) 100%);
}
.about-card {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  padding: 22px 24px;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
}
.about-card strong {
  font-family: var(--font-display);
  color: var(--navy-deep);
  font-size: 20px;
  font-weight: 500;
  display: block;
}
.about-card span {
  color: var(--muted);
  font-size: 14px;
}

/* ============================================
   Patients section
   ============================================ */
.patients {
  background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%);
}
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
}
.split.reverse { grid-template-columns: 1fr 1.05fr; }
@media (max-width: 960px) {
  .split, .split.reverse { grid-template-columns: 1fr; gap: 48px; }
  .split.reverse .split-visual { order: -1; }
}
.split-visual {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 5/6;
  box-shadow: var(--shadow-lg);
}
.split-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.split-visual .float-tag {
  position: absolute;
  top: 24px;
  left: 24px;
  padding: 10px 16px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-deep);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}
.split-visual .float-tag .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 4px rgba(43, 168, 136, 0.2);
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.benefit-item {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 20px;
  align-items: start;
  padding: 4px 0;
}
.benefit-icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--emerald-soft), var(--blue-tint));
  color: var(--emerald-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.benefit-icon svg { width: 22px; height: 22px; }
.benefit-body h4 {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy-deep);
  margin: 0 0 4px;
  letter-spacing: -0.005em;
}
.benefit-body p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.6;
}

/* ============================================
   Physicians section
   ============================================ */
.physicians {
  background: var(--navy-deep);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.physicians::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(43,168,136,0.18), transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(30,90,168,0.25), transparent 55%);
  pointer-events: none;
}
.physicians .container { position: relative; }
.physicians h2 { color: #fff; }
.physicians .eyebrow { color: #7fd8b8; }
.physicians .eyebrow::before { background: #7fd8b8; }
.physicians .section-head p { color: rgba(255,255,255,0.75); }

.phys-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 80px;
}
@media (max-width: 960px) {
  .phys-intro { grid-template-columns: 1fr; gap: 40px; }
}
.phys-intro-copy p {
  color: rgba(255,255,255,0.82);
  font-size: 17.5px;
  line-height: 1.75;
  margin: 0 0 16px;
}
.phys-visual {
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.phys-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}
.icon-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 24px;
  border-radius: var(--r-md);
  transition: all .3s var(--ease);
  backdrop-filter: blur(6px);
}
.icon-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(127,216,184,0.4);
  transform: translateY(-4px);
}
.icon-card .ic {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(43,168,136,0.25), rgba(30,90,168,0.25));
  color: #7fd8b8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.icon-card .ic svg { width: 20px; height: 20px; }
.icon-card h4 {
  font-family: var(--font-sans);
  color: #fff;
  font-size: 15.5px;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.005em;
}

/* Counters */
.counters {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 40px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-xl);
  backdrop-filter: blur(6px);
}
@media (max-width: 860px) {
  .counters { grid-template-columns: repeat(2, 1fr); padding: 28px; gap: 24px; }
}
.counter {
  text-align: left;
  padding: 8px 12px;
  border-left: 2px solid rgba(127,216,184,0.4);
}
.counter .num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 500;
  color: #fff;
  line-height: 1;
  display: flex;
  align-items: baseline;
}
.counter .num .suf {
  font-size: 0.55em;
  color: #7fd8b8;
  margin-left: 4px;
}
.counter .lbl {
  color: rgba(255,255,255,0.72);
  font-size: 13.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 10px;
  font-weight: 500;
}

/* ============================================
   Technology section
   ============================================ */
.tech {
  background: var(--bg-soft);
  position: relative;
  overflow: hidden;
}
.tech::before {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(43,168,136,0.06), transparent 70%);
  border-radius: 50%;
}
.tech .container { position: relative; }

.tech-showcase {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 960px) { .tech-showcase { grid-template-columns: 1fr; gap: 48px; } }

.tech-visual {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
}
.tech-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 65% center;
}
.tech-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 40%, rgba(10,31,66,0.55) 100%);
}
.tech-visual .stat-chip {
  position: absolute;
  padding: 16px 20px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 14px;
}
.tech-visual .stat-chip.a { top: 24px; right: 24px; }
.tech-visual .stat-chip.b { bottom: 24px; left: 24px; }
.stat-chip .chip-ic {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--emerald-soft), var(--blue-tint));
  color: var(--emerald-deep);
  display: flex; align-items: center; justify-content: center;
}
.stat-chip .chip-ic svg { width: 20px; height: 20px; }
.stat-chip .chip-text strong {
  display: block;
  font-family: var(--font-display);
  color: var(--navy-deep);
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
}
.stat-chip .chip-text span {
  color: var(--muted);
  font-size: 12.5px;
  letter-spacing: 0.03em;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.tech-card {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: all .3s var(--ease);
}
.tech-card:hover {
  border-color: var(--emerald);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.tech-card .ic {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy-deep), var(--blue));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.tech-card .ic svg { width: 22px; height: 22px; }
.tech-card h4 {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-deep);
  margin: 0 0 6px;
}
.tech-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

/* ============================================
   Why choose section
   ============================================ */
.why {
  background: #fff;
  position: relative;
  overflow: hidden;
}
.why-hero {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 21/9;
  margin-bottom: 60px;
  box-shadow: var(--shadow-lg);
}
.why-hero img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.why-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,31,66,0.85) 0%, rgba(10,31,66,0.4) 55%, transparent 100%);
}
.why-hero-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 clamp(28px, 6vw, 72px);
  max-width: 640px;
  color: #fff;
}
.why-hero-copy .eyebrow { color: #7fd8b8; }
.why-hero-copy .eyebrow::before { background: #7fd8b8; }
.why-hero-copy h2 { color: #fff; margin-bottom: 12px; }
.why-hero-copy p {
  color: rgba(255,255,255,0.88);
  font-size: 17px;
  margin: 0;
}
@media (max-width: 720px) {
  .why-hero { aspect-ratio: 4/5; }
  .why-hero::after {
    background: linear-gradient(180deg, rgba(10,31,66,0.55) 0%, rgba(10,31,66,0.9) 100%);
  }
  .why-hero-copy { justify-content: flex-end; padding-bottom: 32px; }
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.why-card {
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: all .35s var(--ease);
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--emerald), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.why-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}
.why-card:hover::before { transform: scaleX(1); }
.why-card .ic {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-tint), var(--emerald-soft));
  color: var(--navy-deep);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  transition: all .3s var(--ease);
}
.why-card:hover .ic {
  background: linear-gradient(135deg, var(--navy-deep), var(--blue));
  color: #fff;
}
.why-card .ic svg { width: 24px; height: 24px; }
.why-card h4 {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy-deep);
  margin: 0 0 8px;
}
.why-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ============================================
   CTA banner
   ============================================ */
.cta-banner {
  padding: 100px 0;
  background: linear-gradient(120deg, var(--navy-deep) 0%, var(--blue) 60%, var(--emerald-deep) 130%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.08), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(127,216,184,0.15), transparent 40%);
}
.cta-inner {
  position: relative;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}
.cta-inner h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 20px;
}
.cta-inner p {
  color: rgba(255,255,255,0.9);
  font-size: 18px;
  margin: 0 0 36px;
  line-height: 1.6;
}
.cta-inner .btn-primary {
  background: #fff;
  color: var(--navy-deep);
  padding: 18px 36px;
  font-size: 16px;
}
.cta-inner .btn-primary:hover {
  background: var(--emerald);
  color: #fff;
}

/* ============================================
   Contact section
   ============================================ */
.contact {
  background: var(--bg-soft);
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
.contact-info h2 { margin-bottom: 16px; }
.contact-info > p {
  color: var(--muted);
  font-size: 17px;
  margin: 0 0 32px;
  line-height: 1.7;
}
.contact-tiles {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-tile {
  display: flex;
  gap: 16px;
  padding: 20px 22px;
  background: #fff;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  align-items: center;
  transition: all .25s var(--ease);
}
.contact-tile:hover {
  border-color: var(--emerald);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}
.contact-tile .tile-ic {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue-tint), var(--emerald-soft));
  color: var(--navy-deep);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-tile .tile-ic svg { width: 20px; height: 20px; }
.contact-tile .tile-body {
  display: flex; flex-direction: column;
  min-width: 0;
}
.contact-tile .tile-body span {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.contact-tile .tile-body a,
.contact-tile .tile-body strong {
  color: var(--navy-deep);
  font-weight: 600;
  font-size: 16px;
  margin-top: 2px;
  word-break: break-word;
}

.form-card {
  background: #fff;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line-soft);
}
.form-card h3 {
  font-size: 22px;
  margin: 0 0 6px;
}
.form-card .form-sub {
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 28px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}
.form-field { position: relative; margin-bottom: 16px; }
.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}
.form-field label .req { color: var(--emerald-deep); }
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  transition: all .2s var(--ease);
  resize: vertical;
}
.form-field textarea { min-height: 130px; }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(30, 90, 168, 0.12);
}
.form-submit {
  width: 100%;
  padding: 16px;
  font-size: 15.5px;
  margin-top: 8px;
}
.form-note {
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
}
.form-success {
  padding: 16px 20px;
  background: var(--emerald-soft);
  color: var(--emerald-deep);
  border-radius: var(--r-sm);
  font-size: 14.5px;
  font-weight: 500;
  display: none;
  margin-bottom: 20px;
  border-left: 3px solid var(--emerald);
}
.form-success.show { display: block; animation: fadeUp .4s var(--ease); }

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 32px;
  position: relative;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(127,216,184,0.4), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand img {
  height: 52px;
  width: auto;
  margin-bottom: 20px;
  background: #fff;
  padding: 8px 12px;
  border-radius: 10px;
}
.footer-brand p {
  color: rgba(255,255,255,0.65);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 24px;
  max-width: 340px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: all .25s var(--ease);
}
.footer-social a:hover {
  background: var(--emerald);
  color: #fff;
  transform: translateY(-3px);
}
.footer-social a svg { width: 18px; height: 18px; }
.footer-col h5 {
  font-family: var(--font-sans);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 20px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col a {
  color: rgba(255,255,255,0.7);
  font-size: 14.5px;
  transition: color .2s var(--ease);
}
.footer-col a:hover { color: #7fd8b8; }
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: rgba(255,255,255,0.5);
}
.footer-bottom-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

/* ============================================
   Reveal animation
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: .1s; }
.reveal.delay-2 { transition-delay: .2s; }
.reveal.delay-3 { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
}

/* ============================================
   Contact page-specific
   ============================================ */
.contact-hero {
  padding: 180px 0 90px;
  background:
    linear-gradient(115deg, rgba(10,31,66,0.92) 0%, rgba(15,43,91,0.82) 60%, rgba(43,168,136,0.5) 100%),
    url("assets/community-campus.jpg") center/cover;
  color: #fff;
  text-align: center;
}
.contact-hero h1 {
  color: #fff;
  margin-bottom: 18px;
}
.contact-hero p {
  color: rgba(255,255,255,0.88);
  font-size: 18.5px;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
}
.contact-hero .eyebrow { color: #7fd8b8; justify-content: center; }
.contact-hero .eyebrow::before { background: #7fd8b8; }
.contact-hero-inner {
  max-width: 780px;
  margin: 0 auto;
}

/* Section anchor offset for sticky header */
section[id] { scroll-margin-top: 80px; }
