/* ─── Atlas Radiation Medicine — UBNS-Inspired Style ──────────────────────
   Structure: UBNS layout patterns
   Color:     Atlas brand palette (teal/rust/cream from logo identity guide)
   ──────────────────────────────────────────────────────────────────────── */

:root {
  /* Atlas brand colors — from logo identity PDF */
  --teal-deep:   #356463;
  --teal:        #4d8b8a;
  --teal-light:  #7ab8b7;
  --rust:        #a8412e;
  --rust-light:  #c05a45;
  --gold:        #c9a14a;
  --cream:       #f4eee2;
  --cream-2:     #ece3d2;
  --paper:       #faf6ee;
  --char-2:      #55504a;
  --charcoal:    #2b2824;

  /* UBNS-style structural vars mapped to Atlas palette */
  --utility-bg:   var(--teal-deep);      /* top utility bar — UBNS blue → Atlas teal */
  --nav-bg:       #ffffff;
  --nav-text:     var(--charcoal);
  --primary:      var(--teal-deep);
  --primary-dark: #244746;
  --accent:       var(--rust);
  --section-bg:   #f0f5f5;              /* light teal-tinted gray — matches UBNS light-gray-blue */
  --card-bg:      #ffffff;
  --footer-bg:    var(--teal-deep);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'DM Sans', 'Open Sans', Arial, sans-serif;

  --radius:    3px;
  --radius-lg: 6px;
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
}

/* ─── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); color: var(--charcoal); font-size: 16px; line-height: 1.6; background: #fff; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }

/* ─── UBNS-Style Two-Tier Header ─────────────────────────────────────────── */

/* Tier 1: Utility Bar */
.utility-bar {
  background: var(--utility-bg);
  padding: 0;
  height: 42px;
  display: flex;
  align-items: center;
}
.utility-bar__inner {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.utility-bar__left {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  color: rgba(244,238,226,0.9);
}
.utility-bar__left a { color: rgba(244,238,226,0.9); transition: color 0.2s; }
.utility-bar__left a:hover { color: #fff; }
.utility-bar__contact { font-weight: 700; font-style: italic; color: #fff !important; }
.utility-bar__phone { font-weight: 700; }
.utility-bar__right {}
.utility-btn {
  background: var(--primary-dark);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0 20px;
  height: 42px;
  border: none;
  display: inline-flex;
  align-items: center;
  transition: background 0.2s;
}
.utility-btn:hover { background: #1a2e2d; color: #fff; }

/* Tier 2: Main Nav */
.main-nav {
  background: var(--nav-bg);
  border-bottom: 1px solid #e0e8e8;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: none;
  transition: box-shadow 0.3s;
}
.main-nav--scrolled { box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.main-nav__inner {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.nav-logo__atlas {
  font-family: var(--font-body);
  font-weight: 900;
  font-size: 26px;
  letter-spacing: -0.03em;
  color: var(--teal-deep);
}
.nav-logo__sub {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--char-2);
  margin-top: 1px;
}
.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0;
  height: 72px;
}
.nav-links li { height: 100%; }
.nav-links a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal);
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover { color: var(--teal-deep); border-bottom-color: var(--teal-deep); }
.nav-links a.active { color: var(--teal-deep); border-bottom-color: var(--teal-deep); }
.nav-links .nav-appt a {
  background: var(--teal-deep);
  color: #fff;
  padding: 0 22px;
  border-bottom: none;
  font-size: 12px;
  letter-spacing: 0.08em;
  margin-left: 8px;
  transition: background 0.2s;
}
.nav-links .nav-appt a:hover { background: var(--teal); color: #fff; border-bottom: none; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--charcoal); border-radius: 2px; }

/* Mobile Nav */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--charcoal);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a { font-size: 24px; font-weight: 700; color: #fff; letter-spacing: 0.06em; text-transform: uppercase; }
.nav-mobile-close { position: absolute; top: 24px; right: 24px; background: none; border: none; color: #fff; font-size: 28px; cursor: pointer; }

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  border-radius: var(--radius);
}
.btn--primary { background: var(--teal-deep); color: #fff; }
.btn--primary:hover { background: var(--teal); color: #fff; }
.btn--outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.6); }
.btn--outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn--white { background: #fff; color: var(--teal-deep); }
.btn--white:hover { background: var(--cream); }
.btn--rust { background: var(--rust); color: #fff; }
.btn--rust:hover { background: var(--rust-light); color: #fff; }

/* ─── UBNS-Style Hero ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--teal-deep); /* fallback */
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(35, 70, 69, 0.72) 0%,
      rgba(28, 55, 54, 0.82) 100%
    ),
    url('assets/images/hero-bg.jpg') center/cover no-repeat;
  /* SVG pattern as texture when no photo */
}
.hero__bg--pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: repeating-linear-gradient(
    45deg,
    var(--cream) 0px,
    var(--cream) 1px,
    transparent 1px,
    transparent 40px
  );
}
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  padding: 0 clamp(20px, 5vw, 60px);
}
.hero__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: block;
}
.hero__headline {
  font-family: var(--font-body);
  font-weight: 900;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 16px;
}
.hero__descriptor {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(18px, 2.5vw, 26px);
  color: rgba(244,238,226,0.7);
  margin-bottom: 40px;
  line-height: 1.4;
}
.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ─── Layout ─────────────────────────────────────────────────────────────── */
.container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
}
section { padding: clamp(56px, 8vw, 100px) 0; }

/* ─── UBNS-Style Section Headers ────────────────────────────────────────── */
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 12px;
  display: block;
}
.section-title {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(24px, 3.5vw, 40px);
  color: var(--charcoal);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.section-title--white { color: #fff; }
.section-title--teal { color: var(--teal-deep); }
.section-body {
  font-size: 16px;
  color: var(--char-2);
  line-height: 1.7;
  max-width: 600px;
}

/* ─── Quick Access Bar (UBNS "We Treat Everyone" equivalent) ─────────────── */
.quick-bar {
  background: var(--section-bg);
  border-top: 3px solid var(--teal-deep);
  padding: 0;
}
.quick-bar__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  divide-x: 1px solid #dde8e8;
}
.quick-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 24px;
  border-right: 1px solid #d4e0e0;
  transition: background 0.2s;
  gap: 12px;
}
.quick-item:last-child { border-right: none; }
.quick-item:hover { background: #e4f0f0; }
.quick-item__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--teal-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.quick-item__icon svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 1.8; }
.quick-item__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal);
  line-height: 1.3;
}
.quick-item__link {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-deep);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}
.quick-item:hover .quick-item__link { gap: 8px; }

/* ─── Content Cards (UBNS carousel style) ────────────────────────────────── */
.card-section { background: var(--section-bg); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, transform 0.25s;
  display: flex;
  flex-direction: column;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card__top {
  background: var(--teal-deep);
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.card__top::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold);
}
.card__icon { width: 44px; height: 44px; margin-bottom: 16px; }
.card__icon svg { width: 44px; height: 44px; stroke: rgba(244,238,226,0.6); fill: none; stroke-width: 1.5; }
.card__title { font-size: 18px; font-weight: 800; color: #fff; line-height: 1.2; }
.card__body { padding: 28px 32px; flex: 1; display: flex; flex-direction: column; gap: 16px; }
.card__text { font-size: 15px; color: var(--char-2); line-height: 1.7; flex: 1; }
.card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--teal-deep);
  padding: 10px 18px;
  border-radius: var(--radius);
  align-self: flex-start;
  transition: background 0.2s;
}
.card__cta:hover { background: var(--teal); color: #fff; }

/* ─── Why Atlas — dark section ───────────────────────────────────────────── */
.dark-section { background: var(--teal-deep); }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat-item {
  background: var(--charcoal);
  padding: 44px 36px;
  border-right: 1px solid rgba(255,255,255,0.06);
  transition: background 0.25s;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(53,100,99,0.3); }
.stat-num {
  font-family: var(--font-body);
  font-weight: 900;
  font-size: 48px;
  letter-spacing: -0.03em;
  color: var(--teal-light);
  line-height: 1;
  margin-bottom: 10px;
}
.stat-label { font-size: 14px; color: rgba(244,238,226,0.5); line-height: 1.5; font-weight: 500; }

/* ─── Physician Bio Card ─────────────────────────────────────────────────── */
.physician-card {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 0;
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.physician-card__photo {
  position: relative;
  background: var(--teal-deep);
}
.physician-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.physician-card__info {
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.physician-card__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-deep);
}
.physician-card__name {
  font-family: var(--font-body);
  font-weight: 900;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -0.02em;
  color: var(--charcoal);
  line-height: 1.1;
}
.physician-card__creds {
  font-size: 14px;
  color: var(--char-2);
  font-weight: 500;
  letter-spacing: 0.04em;
}
.physician-card__spec {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--teal-deep);
  line-height: 1.4;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--section-bg);
}
.physician-card__bio {
  font-size: 15px;
  color: var(--char-2);
  line-height: 1.75;
}
.physician-card__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 8px;
}

/* ─── Credential list ────────────────────────────────────────────────────── */
.cred-list { list-style: none; display: flex; flex-direction: column; gap: 0; }
.cred-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--section-bg);
  font-size: 14px;
  color: var(--char-2);
  line-height: 1.5;
}
.cred-list li:last-child { border-bottom: none; }
.cred-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-deep);
  flex-shrink: 0;
  margin-top: 5px;
}
.cred-dot--rust { background: var(--rust); }
.cred-list strong { color: var(--charcoal); font-weight: 700; }

/* ─── UBNS-style CTA Banner ──────────────────────────────────────────────── */
.cta-band {
  background: var(--teal-deep);
  padding: 64px 0;
}
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-band__text h2 {
  font-family: var(--font-body);
  font-weight: 900;
  font-size: clamp(22px, 3vw, 36px);
  color: #fff;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.cta-band__text p { font-size: 15px; color: rgba(244,238,226,0.7); max-width: 500px; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* ─── Page Hero (inner pages — UBNS dark navy banner style) ──────────────── */
.page-hero {
  background: var(--charcoal);
  padding: clamp(56px, 8vw, 96px) 0;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold);
}
.page-hero .section-label { color: var(--gold); }
.page-hero h1 {
  font-family: var(--font-body);
  font-weight: 900;
  font-size: clamp(32px, 5vw, 64px);
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 16px;
}
.page-hero p { font-size: 17px; color: rgba(244,238,226,0.65); max-width: 560px; line-height: 1.65; }

/* ─── Prose ──────────────────────────────────────────────────────────────── */
.prose h2 {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(20px, 2.5vw, 28px);
  color: var(--charcoal);
  margin-bottom: 12px;
  margin-top: 40px;
  letter-spacing: -0.01em;
}
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: 16px; color: var(--char-2); line-height: 1.75; margin-bottom: 18px; }
.prose ul { list-style: none; margin-bottom: 24px; }
.prose ul li {
  font-size: 16px;
  color: var(--char-2);
  line-height: 1.65;
  padding: 10px 0 10px 22px;
  position: relative;
  border-bottom: 1px solid var(--section-bg);
}
.prose ul li:last-child { border-bottom: none; }
.prose ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 2px;
  background: var(--teal-deep);
  border-radius: 2px;
}
.prose strong { color: var(--charcoal); font-weight: 700; }

/* ─── Quote Block ────────────────────────────────────────────────────────── */
.pull-quote {
  background: var(--teal-deep);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.pull-quote::before {
  content: '\201C';
  position: absolute;
  top: -12px;
  left: 20px;
  font-family: var(--font-display);
  font-size: 100px;
  color: rgba(244,238,226,0.07);
  line-height: 1;
  font-weight: 700;
}
.pull-quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(17px, 2vw, 22px);
  color: #fff;
  line-height: 1.55;
  position: relative;
  margin-bottom: 16px;
}
.pull-quote cite {
  font-size: 12px;
  color: rgba(244,238,226,0.4);
  letter-spacing: 0.06em;
  font-style: normal;
  position: relative;
}

/* ─── Contact Form ───────────────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--char-2); margin-bottom: 8px; }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #ccd8d8;
  border-radius: var(--radius);
  background: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--charcoal);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--teal-deep);
  box-shadow: 0 0 0 3px rgba(53,100,99,0.1);
}
.form-textarea { resize: vertical; min-height: 120px; }

/* ─── Footer — UBNS blue footer style ───────────────────────────────────── */
.footer { background: var(--footer-bg); color: rgba(244,238,226,0.7); padding: 64px 0 0; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer__brand-atlas { font-family: var(--font-body); font-weight: 900; font-size: 30px; letter-spacing: -0.03em; color: #fff; line-height: 1; }
.footer__brand-sub { font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(244,238,226,0.4); margin-bottom: 14px; }
.footer__tagline { font-family: var(--font-display); font-style: italic; font-size: 14px; color: rgba(244,238,226,0.45); margin-bottom: 20px; }
.footer__address { font-size: 14px; line-height: 1.9; color: rgba(244,238,226,0.55); font-style: normal; }
.footer__address a { color: rgba(244,238,226,0.55); transition: color 0.2s; }
.footer__address a:hover { color: #fff; }
.footer__col-title { font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer__links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__links a { font-size: 14px; color: rgba(244,238,226,0.55); transition: color 0.2s; }
.footer__links a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(244,238,226,0.1); padding: 24px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer__bottom p { font-size: 12px; color: rgba(244,238,226,0.3); }
.footer__disclaimer { font-size: 12px; color: rgba(244,238,226,0.25); line-height: 1.7; margin-bottom: 28px; }

/* ─── Gold accent bar ─────────────────────────────────────────────────────── */
.gold-bar { height: 4px; background: var(--gold); }

/* ─── CSS variables for old code compat ──────────────────────────────────── */
:root {
  --surface:    #f0f5f5;
  --border:     #d4e0e0;
  --text-muted: var(--char-2);
}

/* ─── Section Intro (centered heading block) ─────────────────────────────── */
.section-intro { margin-bottom: 52px; }
.section-intro h2 {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(24px, 3.5vw, 40px);
  color: var(--charcoal);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.section-intro p { font-size: 16px; color: var(--char-2); line-height: 1.7; max-width: 580px; }

/* ─── Badges ─────────────────────────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: var(--section-bg);
  color: var(--teal-deep);
  border: 1px solid #c0d4d4;
  border-radius: 2px;
}
.badge--gold { background: var(--gold); color: #fff; border-color: var(--gold); }

/* ─── Technology section (2-col grid) ────────────────────────────────────── */
.tech-section { background: var(--paper); }
.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.tech-content h2 {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(22px, 3vw, 36px);
  color: var(--charcoal);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.tech-content p { font-size: 16px; color: var(--char-2); line-height: 1.7; margin-bottom: 24px; }
.tech-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tech-visual {
  background: var(--charcoal);
  border-radius: var(--radius-lg);
  padding: 48px;
  position: relative;
  overflow: hidden;
}
.tech-visual::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gold);
}
.tech-visual__label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244,238,226,0.35);
  font-weight: 600;
  margin-bottom: 8px;
}
.tech-visual__name {
  font-family: var(--font-body);
  font-weight: 900;
  font-size: 64px;
  letter-spacing: -0.04em;
  color: var(--cream);
  line-height: 1;
  margin-bottom: 4px;
}
.tech-visual__sub {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-light);
  font-weight: 600;
  margin-bottom: 36px;
}
.tech-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,0.06); border-radius: var(--radius); overflow: hidden; }
.tech-spec { background: rgba(255,255,255,0.03); padding: 18px 16px; }
.tech-spec__val { font-weight: 800; font-size: 17px; color: var(--teal-light); margin-bottom: 3px; }
.tech-spec__key { font-size: 12px; color: rgba(244,238,226,0.35); line-height: 1.4; }

/* ─── Services grid (3-col on home) ─────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.service-card {
  background: var(--section-bg);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border-top: 3px solid var(--teal-deep);
  transition: box-shadow 0.25s, transform 0.25s;
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.service-card__icon {
  width: 48px;
  height: 48px;
  background: var(--teal-deep);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.service-card__icon svg { width: 24px; height: 24px; stroke: #fff; fill: none; }
.service-card h3 { font-size: 17px; font-weight: 800; color: var(--charcoal); margin-bottom: 10px; line-height: 1.3; }
.service-card p { font-size: 15px; color: var(--char-2); line-height: 1.7; margin-bottom: 16px; }
.service-card__link {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-deep);
  transition: color 0.2s;
}
.service-card__link:hover { color: var(--teal); }

/* ─── Why Atlas section ───────────────────────────────────────────────────── */
.why-section { background: var(--teal-deep); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}
.why-item { padding: 40px; background: rgba(255,255,255,0.04); border-radius: var(--radius-lg); border-top: 3px solid var(--teal-deep); }
.why-item__num {
  font-family: var(--font-body);
  font-weight: 900;
  font-size: 48px;
  letter-spacing: -0.04em;
  color: rgba(255,255,255,0.06);
  line-height: 1;
  margin-bottom: 12px;
}
.why-item h3 { font-size: 18px; font-weight: 800; color: var(--cream); margin-bottom: 10px; line-height: 1.3; }
.why-item p { font-size: 15px; color: rgba(244,238,226,0.55); line-height: 1.7; }

/* ─── Trust / quick bar items ────────────────────────────────────────────── */
.trust-bar { background: var(--section-bg); border-top: 3px solid var(--teal-deep); }
.trust-bar__inner {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  divide-x: 1px solid var(--border);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 28px 24px;
  border-right: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: 0.01em;
}
.trust-item:last-child { border-right: none; }
.trust-item__icon {
  width: 36px;
  height: 36px;
  background: var(--teal-deep);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-item__icon svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2; }

/* ─── Responsive additions ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .tech-grid { grid-template-columns: 1fr; gap: 48px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 24px; }
  .trust-bar__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
  .trust-bar__inner { grid-template-columns: 1fr; }
  .trust-item { border-right: none; border-bottom: 1px solid var(--border); }
  .why-grid { grid-template-columns: 1fr; }
}

/* ─── Scroll reveal ──────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .card-grid { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .physician-card { grid-template-columns: 280px 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .quick-bar__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .utility-bar__phone { display: none; }
  .card-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .physician-card { grid-template-columns: 1fr; }
  .physician-card__photo { height: 360px; }
  .quick-bar__inner { grid-template-columns: 1fr 1fr; }
  .cta-band__inner { flex-direction: column; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: center; }
}
@media (max-width: 480px) {
  .stat-grid { grid-template-columns: 1fr; }
  .quick-bar__inner { grid-template-columns: 1fr; }
}

/* ─── Nav Dropdown (Technology) ──────────────────────────────────────────── */
.nav-dropdown {
  position: relative;
  height: 100%;
}
.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 5px;
}
.nav-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s;
}
.nav-dropdown:hover > a::after { transform: rotate(-135deg) translateY(-2px); }
.nav-dropdown__menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 260px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.13);
  border-top: 3px solid var(--teal-deep);
  z-index: 200;
  padding: 8px 0;
}
.nav-dropdown:hover .nav-dropdown__menu { display: block; }
.nav-dropdown__menu a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--charcoal);
  border-bottom: none;
  line-height: 1.4;
  transition: background 0.15s;
}
.nav-dropdown__menu a:hover { background: #f0f5f5; color: var(--teal-deep); border-bottom: none; }
.nav-dropdown__menu a span { display: block; font-size: 11px; font-weight: 400; color: var(--char-2); margin-top: 2px; text-transform: none; letter-spacing: 0; }

/* ─── Patient Education Section ──────────────────────────────────────────── */
.patient-ed {
  background: var(--paper);
  padding: clamp(64px, 10vw, 112px) 0;
}
.patient-ed__header {
  text-align: center;
  margin-bottom: 56px;
}
.patient-ed__header h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--charcoal);
  margin-bottom: 16px;
}
.patient-ed__header p {
  font-size: 17px;
  color: var(--char-2);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}
.patient-ed__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
@media (max-width: 900px) { .patient-ed__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .patient-ed__grid { grid-template-columns: 1fr; } }

.ed-card {
  background: #fff;
  border-radius: 6px;
  border: 1px solid #e2eded;
  padding: 28px 24px;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
}
.ed-card:hover { box-shadow: 0 6px 24px rgba(53,100,99,0.12); transform: translateY(-2px); }
.ed-card__icon {
  width: 44px;
  height: 44px;
  background: #eef4f4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.ed-card__icon svg { width: 22px; height: 22px; stroke: var(--teal-deep); fill: none; stroke-width: 1.8; }
.ed-card h3 { font-size: 16px; font-weight: 700; color: var(--charcoal); margin-bottom: 8px; }
.ed-card p { font-size: 14px; color: var(--char-2); line-height: 1.6; margin-bottom: 14px; }
.ed-card__link { font-size: 13px; font-weight: 700; color: var(--teal-deep); letter-spacing: 0.04em; text-transform: uppercase; }

/* Accordion FAQ */
.faq-section {
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e2eded;
  overflow: hidden;
}
.faq-item {
  border-bottom: 1px solid #e8eeee;
}
.faq-item:last-child { border-bottom: none; }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--charcoal);
  text-align: left;
  cursor: pointer;
  transition: background 0.15s;
}
.faq-question:hover { background: #f7fafa; }
.faq-question .faq-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  background: #eef4f4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 16px;
  transition: background 0.2s, transform 0.3s;
}
.faq-question .faq-icon svg { width: 12px; height: 12px; stroke: var(--teal-deep); fill: none; stroke-width: 2.5; transition: transform 0.3s; }
.faq-item.open .faq-question { background: #f7fafa; color: var(--teal-deep); }
.faq-item.open .faq-question .faq-icon { background: var(--teal-deep); }
.faq-item.open .faq-question .faq-icon svg { stroke: #fff; transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--char-2);
  line-height: 1.75;
}
.faq-item.open .faq-answer { display: block; }

/* ─── AI Chat Widget ─────────────────────────────────────────────────────── */
.chat-bubble {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1000;
}
.chat-bubble__btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--teal-deep);
  border: none;
  box-shadow: 0 4px 20px rgba(53,100,99,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.chat-bubble__btn:hover { transform: scale(1.07); box-shadow: 0 6px 28px rgba(53,100,99,0.55); }
.chat-bubble__btn svg { width: 28px; height: 28px; stroke: #fff; fill: none; stroke-width: 1.8; }
.chat-bubble__badge {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 16px;
  height: 16px;
  background: var(--rust);
  border-radius: 50%;
  border: 2px solid #fff;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.8; }
}
.chat-window {
  display: none;
  position: absolute;
  bottom: 72px;
  right: 0;
  width: 360px;
  max-height: 520px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.18);
  overflow: hidden;
  flex-direction: column;
  animation: slideUp 0.25s ease;
}
.chat-window.open { display: flex; }
@keyframes slideUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 420px) {
  .chat-window { width: calc(100vw - 40px); right: -8px; }
}
.chat-header {
  background: var(--teal-deep);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.chat-header__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.chat-header__avatar svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 1.8; }
.chat-header__info { flex: 1; }
.chat-header__name { font-size: 14px; font-weight: 700; color: #fff; }
.chat-header__status { font-size: 11px; color: rgba(255,255,255,0.7); }
.chat-header__close { background: none; border: none; color: rgba(255,255,255,0.8); font-size: 20px; cursor: pointer; line-height: 1; padding: 0 0 0 8px; }
.chat-header__close:hover { color: #fff; }
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 340px;
}
.chat-msg {
  display: flex;
  flex-direction: column;
  max-width: 85%;
}
.chat-msg--bot { align-self: flex-start; }
.chat-msg--user { align-self: flex-end; }
.chat-msg__bubble {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.55;
}
.chat-msg--bot .chat-msg__bubble {
  background: #f0f5f5;
  color: var(--charcoal);
  border-bottom-left-radius: 4px;
}
.chat-msg--user .chat-msg__bubble {
  background: var(--teal-deep);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.chat-msg__disclaimer {
  font-size: 10.5px;
  color: #aaa;
  margin-top: 5px;
  line-height: 1.4;
}
.chat-typing {
  display: none;
  align-self: flex-start;
  padding: 10px 14px;
  background: #f0f5f5;
  border-radius: 14px;
  border-bottom-left-radius: 4px;
}
.chat-typing span {
  display: inline-block;
  width: 7px; height: 7px;
  background: var(--teal);
  border-radius: 50%;
  animation: typingDot 1.2s infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; margin: 0 3px; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingDot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-5px); opacity: 1; }
}
.chat-input-row {
  display: flex;
  padding: 12px 16px;
  gap: 8px;
  border-top: 1px solid #eee;
  background: #fff;
}
.chat-input-row input {
  flex: 1;
  border: 1px solid #dde8e8;
  border-radius: 20px;
  padding: 9px 16px;
  font-size: 13.5px;
  font-family: var(--font-body);
  color: var(--charcoal);
  outline: none;
  transition: border-color 0.2s;
}
.chat-input-row input:focus { border-color: var(--teal); }
.chat-input-row button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--teal-deep);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}
.chat-input-row button:hover { background: var(--teal); }
.chat-input-row button svg { width: 16px; height: 16px; stroke: #fff; fill: none; stroke-width: 2.5; }
.chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 16px 12px;
}
.chat-suggestion {
  font-size: 12px;
  padding: 5px 12px;
  border: 1px solid var(--teal);
  border-radius: 20px;
  color: var(--teal-deep);
  background: none;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.chat-suggestion:hover { background: var(--teal-deep); color: #fff; border-color: var(--teal-deep); }

/* ─── Technology Dropdown Page ───────────────────────────────────────────── */
.tech-hero-img {
  width: 100%;
  height: clamp(280px, 40vw, 480px);
  object-fit: cover;
  display: block;
}
.tech-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
@media (max-width: 800px) { .tech-benefit-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .tech-benefit-grid { grid-template-columns: 1fr; } }
.tech-benefit {
  background: var(--paper);
  border-radius: 6px;
  padding: 24px 20px;
  border-left: 3px solid var(--teal);
}
.tech-benefit h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; color: var(--charcoal); }
.tech-benefit p { font-size: 13.5px; color: var(--char-2); line-height: 1.6; }
