/* =========================================================
   NirvanaMed — Design System & Site Styles
   Primary Care & Internal Medicine | Yonkers, NY
   ========================================================= */

/* ---------- 1. Design Tokens ---------- */
:root{
  /* Brand colors */
  --navy:        #0B2C4D;   /* Deep Blue — primary brand color */
  --navy-700:    #123A60;
  --navy-dark:   #07203A;   /* darkest navy — footer / dark sections */
  --blue:        #1F6FA8;   /* interactive blue — links, secondary buttons */
  --blue-light:  #E8F1F8;
  --teal:        #129C95;   /* accent teal */
  --teal-dark:   #0E7A75;
  --teal-light:  #E3F4F2;

  --white:       #FFFFFF;
  --gray-50:     #F6F8FA;   /* soft gray section background */
  --gray-100:    #EDF1F4;
  --gray-200:    #E1E7EB;
  --gray-300:    #D7DEE3;
  --gray-500:    #8696A3;
  --gray-600:    #5B6B79;   /* muted body text */
  --gray-900:    #1C2630;   /* near-black body text */

  --success:     #1A7F4B;
  --error:       #B3261E;

  /* Typography */
  --font-heading: 'Lora', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --max-width: 1180px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(11,44,77,0.08);
  --shadow-md: 0 8px 24px rgba(11,44,77,0.10);
  --shadow-lg: 0 16px 48px rgba(11,44,77,0.16);

  --header-height: 84px;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }

html, body {
  -webkit-text-size-adjust: 100%;
}

body{
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce){
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* ---------- 3. Accessibility helpers ---------- */
.skip-link{
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 12px 20px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
  font-weight: 600;
}
.skip-link:focus{
  left: 0;
}
.sr-only{
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
:focus-visible{
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}
a:focus-visible, button:focus-visible{
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (forced-colors: active){
  .btn, .card, .nav__link{ border: 1px solid CanvasText; }
}

/* ---------- 4. Typography ---------- */
h1, h2, h3, h4{
  font-family: var(--font-heading);
  color: var(--navy);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
h1{ font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
h2{ font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3{ font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4{ font-size: 1.125rem; }

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 12px;
}
.eyebrow::before{
  content: "";
  width: 22px; height: 3px;
  background: var(--teal);
  border-radius: 2px;
  display: inline-block;
}

.lede{
  font-size: 1.15rem;
  color: var(--gray-600);
  max-width: 62ch;
}
p{ color: var(--gray-900); }
.text-muted{ color: var(--gray-600); }
.text-center{ text-align: center; }

/* ---------- 5. Layout helpers ---------- */
.container{
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.section{ padding: 88px 0; }
.section--sm{ padding: 56px 0; }
.section--gray{ background: var(--gray-50); }
.section--teal{ background: var(--teal-light); }
.section--navy{ background: var(--navy); color: var(--white); }
.section--navy h2, .section--navy h3{ color: var(--white); }
.section-head{
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head.align-left{ margin: 0 0 40px; text-align: left; }

.grid{
  display: grid;
  gap: 28px;
}
.grid-2{ grid-template-columns: repeat(2, 1fr); }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-4{ grid-template-columns: repeat(4, 1fr); }

@media (max-width: 980px){
  .grid-4{ grid-template-columns: repeat(2, 1fr); }
  .grid-3{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px){
  .grid-2, .grid-3, .grid-4{ grid-template-columns: 1fr; }
  .section{ padding: 56px 0; }
}

.flex{ display: flex; }
.flex-between{ display: flex; align-items: center; justify-content: space-between; }
.flex-center{ display: flex; align-items: center; justify-content: center; }
.gap-12{ gap: 12px; } .gap-16{ gap: 16px; } .gap-24{ gap: 24px; }

/* ---------- 6. Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn svg{ width: 18px; height: 18px; flex-shrink: 0; }
.btn--primary{
  background: var(--teal);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover{ background: var(--teal-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--secondary{
  background: var(--white);
  color: var(--navy);
  border-color: var(--gray-300);
}
.btn--secondary:hover{ border-color: var(--navy); transform: translateY(-1px); }
.btn--outline-light{
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn--outline-light:hover{ background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn--navy{
  background: var(--navy);
  color: var(--white);
}
.btn--navy:hover{ background: var(--navy-700); transform: translateY(-1px); }
.btn--block{ width: 100%; }
.btn--lg{ padding: 16px 32px; font-size: 1.05rem; }
.btn--sm{ padding: 10px 18px; font-size: 0.9rem; }
.btn[disabled]{ opacity: 0.6; cursor: not-allowed; transform: none !important; }

.link-arrow{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--blue);
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, gap 0.15s ease;
}
.link-arrow:hover{ border-color: var(--blue); gap: 9px; }
.link-arrow svg{ width: 16px; height: 16px; }

/* ---------- 7. Header / Navigation ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255,255,255,0.97);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--gray-200);
}
.topbar{
  background: var(--navy-dark);
  color: #CFE0EC;
  font-size: 0.85rem;
}
.topbar .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar a{ color: #CFE0EC; }
.topbar a:hover{ color: var(--white); }
.topbar__item{ display: inline-flex; align-items: center; gap: 6px; }
.topbar__item svg{ width: 14px; height: 14px; }
.topbar__right{ display: flex; gap: 18px; flex-wrap: wrap; }

.navbar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}
.brand{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand svg{ height: 38px; width: auto; }
.brand img{ height: 44px; width: auto; display: block; }
.brand__tag{
  display: none;
  font-size: 0.72rem;
  color: var(--gray-600);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  border-left: 1px solid var(--gray-300);
  padding-left: 10px;
}

.nav{
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__item{ position: relative; }
.nav__link{
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--navy);
  border-radius: var(--radius-sm);
  /* reset button defaults so dropdown triggers look identical to links */
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  line-height: inherit;
  letter-spacing: inherit;
}
.nav__link:hover, .nav__link[aria-current="page"]{ color: var(--teal-dark); background: var(--teal-light); }
.nav__link svg{ width: 14px; height: 14px; transition: transform 0.15s ease; }
.nav__item.is-open .nav__link svg{ transform: rotate(180deg); }

.dropdown{
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 240px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  display: none;
  z-index: 50;
}
.nav__item.is-open .dropdown{ display: block; }
.dropdown a{
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--navy);
}
.dropdown a:hover{ background: var(--gray-50); color: var(--teal-dark); }
.dropdown a small{ display: block; font-weight: 400; color: var(--gray-600); font-size: 0.8rem; margin-top: 2px; }

.nav-actions{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-toggle{
  display: none;
  background: none;
  border: none;
  padding: 8px;
  border-radius: var(--radius-sm);
}
.nav-toggle svg{ width: 28px; height: 28px; color: var(--navy); }


/* Medium screens: compact nav links so wider real logo doesn't crowd */
@media (min-width: 1081px) and (max-width: 1279px){
  .nav__link{ padding: 8px 10px; font-size: 0.875rem; }
  .brand img{ height: 38px; }
  .nav-actions .btn--primary{ padding: 10px 14px; font-size: 0.875rem; }
}

@media (max-width: 1080px){
  .nav{
    position: fixed;
    inset: var(--header-height) 0 0 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    padding: 12px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    gap: 2px;
  }
  body.nav-open .nav{ transform: translateX(0); }
  .nav__link{ width: 100%; justify-content: space-between; padding: 14px 16px; font-size: 1.05rem; }
  .dropdown{
    position: static;
    box-shadow: none;
    border: none;
    display: none;
    background: var(--gray-50);
    margin: 2px 0 8px;
  }
  .nav__item.is-open .dropdown{ display: block; }
  .nav-toggle{ display: inline-flex; }
  .nav-actions .btn--primary{ padding: 11px 18px; font-size: 0.9rem; }
  .nav-actions .call-btn span{ display: none; }
}

.call-btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 999px;
  border: 2px solid var(--gray-300);
}
.call-btn:hover{ border-color: var(--navy); }
.call-btn svg{ width: 18px; height: 18px; color: var(--teal); }

.nav-overlay{
  display: none;
}
body.nav-open .nav-overlay{
  display: block;
  position: fixed;
  inset: 0;
  background: rgba(7,32,58,0.4);
  z-index: 490;
}

/* ---------- 8. Hero ---------- */
.hero{
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, #103E66 55%, var(--teal-dark) 100%);
  color: var(--white);
  overflow: hidden;
}
.hero::after{
  content: "";
  position: absolute;
  inset: auto -10% -40% -10%;
  height: 60%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.10), transparent 70%);
  pointer-events: none;
}
.hero .container{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 56px;
  padding-top: 72px;
  padding-bottom: 72px;
  position: relative;
  z-index: 2;
}
.hero__badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 22px;
}
.hero h1{ color: var(--white); margin-bottom: 20px; }
.hero p.lede{ color: #E3EEF5; margin-bottom: 32px; }
.hero__actions{ display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero__meta{
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: #C9DCE9;
}
.hero__meta strong{ color: var(--white); display: block; font-family: var(--font-heading); font-size: 1.4rem; }
.hero__art{
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero__art img{ width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 900px){
  .hero .container{ grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 48px; }
  .hero__art{ max-width: 380px; margin: 0 auto; }
}

/* ---------- 9. Trust badges / Insurance strip ---------- */
.trust-strip{
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 28px 0;
}
.trust-strip__row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.trust-item{
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.92rem;
}
.trust-item svg{ width: 26px; height: 26px; color: var(--teal); flex-shrink: 0; }

.insurance-pills{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.pill{
  background: var(--white);
  border: 1px solid var(--gray-300);
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
}

/* ---------- 10. Cards ---------- */
.card{
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  height: 100%;
}
.card:hover{ box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card__icon{
  width: 54px; height: 54px;
  border-radius: var(--radius-sm);
  background: var(--teal-light);
  color: var(--teal-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card__icon svg{ width: 28px; height: 28px; }
.card h3{ margin-bottom: 10px; }
.card p{ color: var(--gray-600); margin-bottom: 16px; }

.icon-list{ list-style: none; display: grid; gap: 16px; }
.icon-list li{ display: flex; gap: 14px; align-items: flex-start; }
.icon-list svg{
  width: 22px; height: 22px; flex-shrink: 0; color: var(--teal); margin-top: 3px;
}

.why-card{
  text-align: center;
  padding: 36px 26px;
}
.why-card .card__icon{ margin: 0 auto 18px; }

/* Service cards grid specific */
.service-card{ display: flex; flex-direction: column; }
.service-card .link-arrow{ margin-top: auto; }

/* ---------- 11. Stats ---------- */
.stats{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat strong{
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  color: var(--white);
}
.stat span{ color: #C9DCE9; font-size: 0.92rem; }
@media (max-width: 720px){ .stats{ grid-template-columns: repeat(2, 1fr); } }

/* ---------- 12. Testimonials ---------- */
.testimonial{
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  padding: 32px;
  height: 100%;
}
.testimonial__stars{ color: var(--teal); display: flex; gap: 3px; margin-bottom: 14px; }
.testimonial__stars svg{ width: 18px; height: 18px; }
.testimonial p{ font-style: italic; color: var(--gray-900); margin-bottom: 18px; }
.testimonial__author{ font-weight: 700; color: var(--navy); font-size: 0.95rem; }
.testimonial__note{ color: var(--gray-500); font-size: 0.85rem; }
.testimonial-disclaimer{
  text-align: center;
  color: var(--gray-500);
  font-size: 0.85rem;
  margin-top: 28px;
}

/* ---------- 13. FAQ / Accordion (native details/summary) ---------- */
.accordion{ border-top: 1px solid var(--gray-200); }
.accordion details{
  border-bottom: 1px solid var(--gray-200);
  padding: 18px 0;
}
.accordion summary{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  list-style: none;
  padding-right: 8px;
}
.accordion summary::-webkit-details-marker{ display: none; }
.accordion summary .plus{
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--teal-light);
  color: var(--teal-dark);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.accordion summary .plus::before, .accordion summary .plus::after{
  content: "";
  position: absolute;
  background: var(--teal-dark);
}
.accordion summary .plus::before{ width: 12px; height: 2px; }
.accordion summary .plus::after{ width: 2px; height: 12px; transition: transform 0.2s ease; }
.accordion details[open] summary .plus::after{ transform: rotate(90deg) scaleY(0); }
.accordion .accordion-body{ padding-top: 14px; color: var(--gray-600); max-width: 70ch; }

/* Service detail accordions reuse same component with anchor targets */
.service-detail{
  border-top: 1px solid var(--gray-200);
  padding: 28px 0;
}
.service-detail:target{
  background: var(--teal-light);
  border-radius: var(--radius-md);
  padding: 28px;
  margin: 0 -28px;
}
.service-detail__head{ display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.service-detail__head .card__icon{ margin: 0; width: 44px; height: 44px; }
.service-detail__head .card__icon svg{ width: 22px; height: 22px; }

/* ---------- 14. Timeline (About page) ---------- */
.timeline{ position: relative; padding-left: 40px; }
.timeline::before{
  content: "";
  position: absolute;
  left: 9px; top: 6px; bottom: 6px;
  width: 2px;
  background: var(--gray-300);
}
.timeline__item{ position: relative; padding-bottom: 36px; }
.timeline__item:last-child{ padding-bottom: 0; }
.timeline__dot{
  position: absolute;
  left: -40px; top: 2px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--teal);
  border: 4px solid var(--teal-light);
}
.timeline__year{
  display: inline-block;
  font-weight: 800;
  color: var(--teal-dark);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.timeline__item h4{ margin-bottom: 6px; }
.timeline__item p{ color: var(--gray-600); }

/* ---------- 15. Profile / About layout ---------- */
.profile-hero{
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: center;
}
.profile-hero__photo{ border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.profile-hero__credentials{
  display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 22px;
}
.credential-pill{
  background: var(--blue-light);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 7px 14px;
  border-radius: 999px;
}
@media (max-width: 860px){
  .profile-hero{ grid-template-columns: 1fr; text-align: center; }
  .profile-hero__photo{ max-width: 280px; margin: 0 auto; }
  .profile-hero__credentials{ justify-content: center; }
}

.content-block{ max-width: 760px; }
.content-block.center{ margin: 0 auto; }

/* ---------- 16. Provider / Location cards ---------- */
.provider-card{
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.provider-card__photo{ aspect-ratio: 1/1; overflow: hidden; }
.provider-card__photo img{ width: 100%; height: 100%; object-fit: cover; }
.provider-card__body{ padding: 24px; }
.provider-card__role{ color: var(--teal-dark); font-weight: 700; font-size: 0.88rem; margin-bottom: 6px; }
.provider-card__tags{ display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.provider-card__tags span{
  background: var(--gray-100); color: var(--gray-600);
  font-size: 0.78rem; font-weight: 600; padding: 5px 10px; border-radius: 6px;
}
.provider-card.is-future{
  border-style: dashed;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--gray-500);
  padding: 40px 24px;
}
.provider-card.is-future svg{ width: 40px; height: 40px; margin: 0 auto 14px; color: var(--gray-400); }

.location-card{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.location-card__photo{ height: 100%; min-height: 260px; }
.location-card__photo img{ width: 100%; height: 100%; object-fit: cover; }
.location-card__body{ padding: 36px; }
.location-card__badge{
  display: inline-block;
  background: var(--teal-light);
  color: var(--teal-dark);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
@media (max-width: 760px){
  .location-card{ grid-template-columns: 1fr; }
  .location-card__photo{ min-height: 200px; }
}
.location-card.is-future{
  grid-template-columns: 1fr;
  border-style: dashed;
  text-align: center;
  padding: 40px;
  color: var(--gray-500);
}

/* ---------- 17. Forms ---------- */
.form-card{
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.form-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 20px 20px; }
@media (max-width: 640px){ .form-grid{ grid-template-columns: 1fr; } }
.form-field--full{ grid-column: 1 / -1; }
.form-field{ display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.form-field label{ font-weight: 700; font-size: 0.92rem; color: var(--navy); }
.form-field .req{ color: var(--error); }
.form-field input,
.form-field select,
.form-field textarea{
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  font-size: 1rem;
  color: var(--gray-900);
  background: var(--white);
  width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus{
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(18,156,149,0.15);
  outline: none;
}
.form-field small{ color: var(--gray-500); font-size: 0.82rem; }
.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea{ border-color: var(--error); }
.form-error-msg{ color: var(--error); font-size: 0.85rem; display: none; }
.form-field.has-error .form-error-msg{ display: block; }

.form-note{
  background: var(--blue-light);
  border: 1px solid #C9DCEC;
  color: var(--navy);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: 0.92rem;
  margin-bottom: 28px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.form-note svg{ width: 20px; height: 20px; flex-shrink: 0; color: var(--blue); margin-top: 2px; }

.form-status{
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin-bottom: 24px;
  font-weight: 600;
  display: none;
}
.form-status.is-success{ display: flex; gap: 10px; background: #E7F6ED; color: var(--success); }
.form-status.is-error{ display: flex; gap: 10px; background: #FBEAE9; color: var(--error); }

/* honeypot field — hidden from sighted users and screen readers but present for bots */
.hp-field{ position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- 18. Map ---------- */
.map-frame{
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 16/9;
  background: var(--gray-100);
}
.map-frame iframe{ width: 100%; height: 100%; border: 0; }

/* ---------- 19. CTA band ---------- */
.cta-band{
  background: linear-gradient(120deg, var(--navy), var(--teal-dark));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2{ color: var(--white); margin-bottom: 8px; }
.cta-band p{ color: #DCEAF1; }
@media (max-width: 760px){ .cta-band{ padding: 36px; text-align: center; justify-content: center; } }

/* ---------- 20. Breadcrumb / page header ---------- */
.page-header{
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  padding: 44px 0;
}
.breadcrumb{
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.85rem;
  color: var(--gray-600);
  margin-bottom: 14px;
}
.breadcrumb a{ color: var(--gray-600); font-weight: 600; }
.breadcrumb a:hover{ color: var(--teal-dark); }
.page-header p.lede{ margin-top: 12px; }

/* ---------- 21. Policy / list pages ---------- */
.policy-list{ list-style: none; display: grid; gap: 14px; }
.policy-list li{
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--teal);
}

.resource-card{
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
}
.resource-card svg{ width: 30px; height: 30px; color: var(--teal); flex-shrink: 0; }

/* ---------- 22. Footer ---------- */
.site-footer{
  background: var(--navy-dark);
  color: #BFD2DE;
  padding-top: 64px;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand svg{ height: 34px; margin-bottom: 16px; }
.footer-brand img{ height: 44px; width: auto; display: block; background: #fff; border-radius: 6px; padding: 5px 12px; margin-bottom: 16px; }
.footer-brand p{ color: #9FB6C5; max-width: 32ch; }
.footer-social{ display: flex; gap: 10px; margin-top: 18px; }
.footer-social a{
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover{ background: var(--teal); }
.footer-social svg{ width: 18px; height: 18px; color: #BFD2DE; }
.footer-social a:hover svg{ color: var(--white); }

.footer-col h4{ color: var(--white); font-size: 1rem; margin-bottom: 18px; font-family: var(--font-body); }
.footer-col ul{ list-style: none; display: grid; gap: 11px; }
.footer-col a{ color: #BFD2DE; font-size: 0.94rem; }
.footer-col a:hover{ color: var(--white); }
.footer-contact li{ display: flex; gap: 10px; align-items: flex-start; font-size: 0.94rem; }
.footer-contact svg{ width: 18px; height: 18px; color: var(--teal); flex-shrink: 0; margin-top: 2px; }

.footer-bottom{
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 24px 0 28px;
  font-size: 0.85rem;
  color: #8AA2B1;
}
.footer-bottom a{ color: #8AA2B1; }
.footer-bottom a:hover{ color: var(--white); }
.footer-bottom-links{ display: flex; gap: 18px; flex-wrap: wrap; }

@media (max-width: 980px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px){
  .footer-grid{ grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom{ flex-direction: column; text-align: center; }
}

/* ---------- 23. Utility spacing ---------- */
.mt-0{margin-top:0} .mt-8{margin-top:8px} .mt-16{margin-top:16px} .mt-24{margin-top:24px} .mt-32{margin-top:32px} .mt-48{margin-top:48px}
.mb-0{margin-bottom:0} .mb-8{margin-bottom:8px} .mb-16{margin-bottom:16px} .mb-24{margin-bottom:24px} .mb-32{margin-bottom:32px} .mb-48{margin-bottom:48px}

/* ---------- 24. Print ---------- */
@media print{
  .site-header, .nav-toggle, .topbar, .hero__actions, .site-footer{ display: none; }
}
