/* NABR Health - rebuilt from the Wix site (2026-12). One stylesheet for every page. */

:root {
  --peach: #FEEEE3;
  --lavender: #C0C1EA;
  --lavender-deep: #B0B2E4;
  --navy: #2C2F83;
  --navy-bright: #3F44BC;
  --orange: #FC5C24;
  --ink: #1C1E3F;
  --head: "Avenir Next", Avenir, "Nunito Sans", "Segoe UI", sans-serif;
  --body: Helvetica, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0; background: var(--peach); color: var(--navy);
  font: 18px/1.65 var(--body); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:hover { color: var(--navy-bright); }
h1, h2, h3, h4, h5 { font-family: var(--head); font-weight: 800; line-height: 1.15; margin: 0 0 .5em; color: var(--navy); }
h1 { font-size: clamp(2.2rem, 4.5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); }
h4 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.3em; }
li { margin: .2em 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; margin-left: auto; margin-right: auto; }
.center { text-align: center; }
.lead { font-size: 1.15rem; }
.small { font-size: .9rem; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: var(--peach);
  border-bottom: 1px solid rgba(44, 47, 131, .08);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 96px; }
.brand img { width: 136px; }
.nav { margin-left: auto; }
.nav > ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; align-items: center; }
.nav a, .nav button {
  font: 16px/1 var(--body); letter-spacing: .03em; color: var(--navy); text-decoration: none;
  background: none; border: 0; padding: 10px 10px; cursor: pointer; display: block;
}
.nav a:hover, .nav button:hover, .nav a[aria-current="page"] { color: var(--orange); }
.has-sub { position: relative; }
.has-sub > .sub {
  position: absolute; left: 50%; top: 100%; transform: translateX(-50%);
  list-style: none; margin: 0; padding: 10px 0; min-width: 300px; background: #fff;
  box-shadow: 0 10px 30px rgba(28, 30, 63, .15); display: none; text-align: center;
}
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.open > .sub { display: block; }
.sub a { padding: 11px 18px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--navy); margin: 6px 0; }

@media (max-width: 960px) {
  .site-header .wrap { min-height: 76px; }
  .brand img { width: 110px; }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--peach);
         box-shadow: 0 12px 24px rgba(28, 30, 63, .12); }
  .nav.open { display: block; }
  .nav > ul { flex-direction: column; align-items: stretch; padding: 8px 0 16px; }
  .nav a, .nav button { padding: 14px 24px; width: 100%; text-align: left; }
  .has-sub > .sub { position: static; transform: none; box-shadow: none; display: none; background: rgba(255,255,255,.55); text-align: left; min-width: 0; }
  .has-sub:hover > .sub { display: none; }
  .has-sub.open > .sub { display: block; }
  .sub a { padding-left: 40px; }
}

/* ---------- sections ---------- */
.section { padding: 72px 0; }
.section.tight { padding: 44px 0; }
.bg-lavender { background: var(--lavender); }
.bg-navy { background: var(--navy); color: #fff; }
.bg-navy h2, .bg-navy h3, .bg-navy a { color: #fff; }
.bg-photo { background-size: cover; background-position: center; }

/* hero: full-width photo with a translucent peach panel */
.hero { position: relative; background-size: cover; background-position: center; padding: 36px 24px; }
.hero .panel {
  max-width: 720px; margin: 0 auto; background: rgba(254, 238, 227, .86);
  padding: 40px 48px; text-align: center;
}
.hero.left .panel { text-align: left; max-width: 860px; }
.hero h1 { margin-bottom: .2em; }
.hero-home { min-height: 340px; display: flex; align-items: center; }
.hero-home .panel { padding: 24px 40px 18px; }
.hero-home .panel img { width: 260px; margin: 0 auto 6px; }
.hero-home h2 { font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 600; margin-bottom: .6em; }
.big-phone { font-family: var(--body); font-size: clamp(1.6rem, 3vw, 2.2rem); text-decoration: none; display: inline-block; margin-bottom: 4px; }
.review-link { display: block; text-align: right; font-size: .85rem; }

/* full-bleed photo banner */
.banner { width: 100%; height: clamp(240px, 36vw, 480px); object-fit: cover; }

/* split block: image on one side, peach card on the other, sitting on lavender */
.split { display: grid; grid-template-columns: 1fr 1fr; background: var(--peach); }
.split.wide-text { grid-template-columns: 2fr 1fr; }
.split > .media { min-height: 320px; }
.split > .media img { width: 100%; height: 100%; object-fit: cover; }
.split > .text { padding: 56px clamp(28px, 6vw, 96px); align-self: center; }
.split.flip > .media { order: 2; }
.stack > .split + .split { margin-top: 40px; }
@media (max-width: 820px) {
  .split, .split.wide-text { grid-template-columns: 1fr; }
  .split.flip > .media { order: 0; }
  .split > .media { min-height: 240px; max-height: 360px; }
  .split > .text { padding: 36px 24px; }
}

/* generic grids */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 64px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
@media (max-width: 820px) { .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 32px; } }

/* service circles (Services page) */
.circles { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px 90px; max-width: 900px; margin: 40px auto 0; }
.circle { width: 220px; text-align: center; text-decoration: underline; font-family: var(--head); font-weight: 700; font-size: 1.15rem; }
.circle .disc { width: 106px; height: 106px; border-radius: 50%; overflow: hidden; margin: 0 auto 30px; background: #000; }
.circle .disc img, .circle .disc svg { width: 100%; height: 100%; object-fit: cover; }

/* icon features (For Patients) */
.feature { display: grid; grid-template-columns: 48px 1fr; gap: 22px; align-items: start; }
.feature svg { width: 40px; height: 40px; margin-top: 4px; }
.feature h3 { font-size: 1.2rem; margin-bottom: .6em; }
.feature p { font-size: 1rem; }

/* reviews: screenshots of Google reviews on a dune photo */
.reviews { padding: 64px 24px; background: url(img/dunes.jpg) center/cover; }
.reviews .board { max-width: 860px; margin: 0 auto; background: #18202b; border-radius: 10px; padding: 24px; columns: 2 380px; column-gap: 24px; }
.reviews .board img { width: 100%; margin: 0 0 18px; break-inside: avoid; border-radius: 4px; }

/* About: centered portrait with name/title, bio below */
.portrait { width: 280px; max-width: 80%; margin: 8px auto 36px; text-align: center; }
.portrait img { width: 100%; }
.portrait figcaption { background: var(--peach); width: 86%; margin: -26px auto 0; position: relative; padding: 8px 12px 4px; }
.portrait figcaption strong { font-family: var(--head); font-size: 1.2rem; display: block; }
.portrait figcaption span { font-size: .85rem; line-height: 1.35; display: block; }
.bio { text-align: center; font-size: 1rem; }

/* contact cards */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { margin: 0 0 1.2em; }
.contact-list .label { display: block; font-weight: 700; }
.notice { background: #fff; border-left: 4px solid var(--orange); padding: 16px 20px; font-size: .95rem; }
.btn {
  display: inline-block; background: var(--navy); color: #fff; text-decoration: none;
  font-family: var(--head); font-weight: 700; padding: 14px 26px; border-radius: 2px;
}
.btn:hover { background: var(--navy-bright); color: #fff; }
.btn.ghost { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; }

/* cases carousel -> simple scroll-snap row (no JS needed) */
.cases { display: grid; grid-auto-flow: column; grid-auto-columns: min(640px, 86vw); gap: 24px;
         overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 4px 20px;
         scrollbar-color: rgba(255,255,255,.45) rgba(255,255,255,.08); }
.case { scroll-snap-align: center; background: rgba(255,255,255,.07); padding: 34px 36px; font-family: var(--head); font-weight: 600; font-size: 1.15rem; line-height: 1.5; }
.cases-hint { font-size: .85rem; opacity: .8; }

.checks { list-style: none; padding: 0; }
.checks li::before { content: "\2714\FE0E  "; color: var(--orange); }
.tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; }
.tags li { background: #fff; padding: 6px 14px; border-radius: 999px; font-size: .9rem; margin: 0; }
.legal h2 { font-size: 1.35rem; margin-top: 1.6em; }
.legal { font-size: 1rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--peach); border-top: 1px solid rgba(44, 47, 131, .12); padding: 34px 0 40px; text-align: center; font-size: .95rem; }
.site-footer .edu { font-family: var(--head); font-weight: 700; font-size: 1.1rem; }
.site-footer p { margin: .4em 0; }
