/* =========================================================
   ARISE Treatment Center — Design System & Global Styles
   Clean modern. Navy + warm gray foundation, yellow as a small accent.
   ========================================================= */

/* ---------- Scroll animations ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd, ul, ol {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

img, svg, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ---------- Design tokens ---------- */
:root {
  /* Brand colors */
  --color-navy:        #243a7c;
  --color-navy-dark:   #1a2c5c;
  --color-yellow:      #fdb727;
  --color-yellow-dark: #e2a11a;
  --color-warm-gray:   #8e8978;

  /* Neutrals */
  --color-off-white:   #f7f8f9;
  --color-white:       #ffffff;
  --color-text:        #2b2b2b;
  --color-text-muted:  #5d6c7b;
  --color-border:      #e3e6eb;

  /* Spacing scale */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  24px;
  --space-6:  32px;
  --space-7:  48px;
  --space-8:  64px;
  --space-9:  96px;
  --space-10: 128px;

  /* Typography */
  --font-sans: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --fs-display: 52px;
  --fs-h1:      44px;
  --fs-h2:      34px;
  --fs-h3:      22px;
  --fs-body:    17px;
  --fs-small:   14px;

  --lh-tight: 1.2;
  --lh-body:  1.65;

  --fw-regular:  400;
  --fw-medium:   500;
  --fw-semibold: 600;
  --fw-bold:     700;
  --fw-black:    900;

  /* Layout */
  --container-max: 1200px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  /* Elevation — subtle, not marketing-y */
  --shadow-sm: 0 1px 2px rgba(36, 58, 124, 0.06);
  --shadow-md: 0 2px 8px rgba(36, 58, 124, 0.08);
  --shadow-lg: 0 8px 24px rgba(36, 58, 124, 0.10);

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

@media (max-width: 640px) {
  :root {
    --fs-display: 34px;
    --fs-h1:      30px;
    --fs-h2:      24px;
    --fs-h3:      20px;
    --fs-body:    16px;
  }
}

/* ---------- Base ---------- */
body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  line-height: var(--lh-tight);
  color: var(--color-navy);
  font-weight: var(--fw-medium);
  letter-spacing: -0.01em;
}

h1 { font-size: var(--fs-h1); font-weight: var(--fw-bold); }
h2 { font-size: var(--fs-h2); font-weight: var(--fw-bold); }
h3 { font-size: var(--fs-h3); font-weight: var(--fw-semibold); }

p { color: var(--color-text); }

a {
  color: var(--color-navy);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s var(--ease);
}
a:hover { color: var(--color-yellow-dark); }

:focus-visible {
  outline: 2px solid var(--color-yellow);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Accessibility helpers */
.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;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-navy);
  color: var(--color-white);
  padding: var(--space-3) var(--space-5);
  z-index: 1000;
}
.skip-link:focus {
  left: var(--space-4);
  top: var(--space-4);
}

/* ---------- Layout utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-5);
}

.section {
  padding-block: var(--space-8);
}

@media (min-width: 1025px) {
  .section { padding-block: var(--space-9); }
}

.section--navy {
  background: var(--color-navy);
  color: var(--color-white);
}
.section--navy h1,
.section--navy h2,
.section--navy h3 { color: var(--color-white); }
.section--navy p { color: rgba(255, 255, 255, 0.9); }

.section--off-white { background: var(--color-off-white); }
.section--white     { background: var(--color-white); }
.section--cream     { background: var(--color-off-white); }
.section--sand      { background: var(--color-off-white); }
.section--sky       { background: #eef2fa; }
.section--mist      { background: #e9ecef; }
.section--gradient-warm {
  background: linear-gradient(135deg, #fdf6e3 0%, #fbeac6 100%);
}
.section--gradient-cool {
  background: linear-gradient(180deg, #eef2fa 0%, #f7f8fb 100%);
}

/* ARISE wordmark emphasis inside body copy */
.brand-arise {
  font-weight: var(--fw-black);
  letter-spacing: 0.04em;
  color: var(--color-yellow-dark);
}
.section--navy .brand-arise,
.testimonial .brand-arise,
.hero .brand-arise { color: var(--color-yellow); }

.text-center { text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}
.section--navy .eyebrow { color: rgba(255, 255, 255, 0.75); }
.hero .eyebrow { color: rgba(255, 255, 255, 0.90); }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: var(--fw-medium);
  text-decoration: none;
  letter-spacing: 0.01em;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.2s var(--ease), box-shadow 0.25s var(--ease);
  cursor: pointer;
  line-height: 1.2;
  overflow: hidden;
  isolation: isolate;
}
.btn i { transition: transform 0.25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover i { transform: translateX(3px); }
.btn:active { transform: translateY(0); }

/* Yellow: primary action. Navy text on yellow meets AA contrast. */
.btn-primary {
  background: var(--color-yellow);
  color: var(--color-navy);
  border-color: var(--color-yellow);
  font-weight: var(--fw-bold);
  box-shadow: 0 1px 2px rgba(253, 183, 39, 0.2);
}
.btn-primary:hover {
  background: var(--color-yellow-dark);
  border-color: var(--color-yellow-dark);
  color: var(--color-navy);
  box-shadow: 0 6px 16px rgba(253, 183, 39, 0.35);
}

.btn-secondary {
  background: var(--color-navy);
  color: var(--color-white);
  border-color: var(--color-navy);
}
.btn-secondary:hover {
  background: var(--color-navy-dark);
  border-color: var(--color-navy-dark);
  color: var(--color-white);
  box-shadow: 0 6px 16px rgba(36, 58, 124, 0.3);
}

/* Outline: "fill from left" animation on hover */
.btn-outline {
  background: transparent;
  color: var(--color-navy);
  border-color: var(--color-navy);
  position: relative;
}
.btn-outline::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-navy);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s var(--ease);
  z-index: -1;
}
.btn-outline:hover::before { transform: scaleX(1); }
.btn-outline:hover { color: var(--color-white); }

.section--navy .btn-outline,
.hero .btn-outline,
.cta-inline .btn-outline {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.6);
}
.section--navy .btn-outline::before,
.hero .btn-outline::before,
.cta-inline .btn-outline::before { background: var(--color-white); }
.section--navy .btn-outline:hover,
.hero .btn-outline:hover,
.cta-inline .btn-outline:hover {
  color: var(--color-navy);
  border-color: var(--color-white);
}

/* Reduced motion: keep color changes, drop movement */
@media (prefers-reduced-motion: reduce) {
  .btn, .btn i, .btn-outline::before { transition: background 0.2s, color 0.2s, border-color 0.2s; transform: none !important; }
  .btn:hover { transform: none; }
  .btn-outline::before { display: none; }
  .btn-outline:hover { background: var(--color-navy); color: var(--color-white); }
}

/* ---------- Card ---------- */
.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.card:hover {
  border-color: var(--color-navy);
  box-shadow: var(--shadow-md);
}
.card__icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-navy);
  background: var(--color-off-white);
  border-radius: var(--radius-sm);
  font-size: 20px;
  margin-bottom: var(--space-5);
}
.card__title {
  margin-bottom: var(--space-3);
  color: var(--color-navy);
}
.card__body {
  color: var(--color-text-muted);
  flex: 1;
  margin-bottom: var(--space-5);
  font-size: 16px;
  line-height: 1.6;
}
.card__link {
  font-weight: var(--fw-medium);
  color: var(--color-navy);
  text-decoration: none;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1.5px solid var(--color-yellow);
  padding-bottom: 2px;
  align-self: flex-start;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.card__link i { transition: transform 0.25s var(--ease); }
.card:hover .card__link { color: var(--color-yellow-dark); }
.card:hover .card__link i { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) {
  .card__link i, .split__media img { transition: none; transform: none !important; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding-block: var(--space-3);
}
.site-header__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.site-header__logo img {
  height: 44px;
  width: auto;
}

.site-nav {
  display: none;
}
.site-nav ul {
  display: flex;
  gap: var(--space-6);
}
.site-nav a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: var(--fw-medium);
  font-size: 15px;
  padding: var(--space-2) 0;
  position: relative;
  transition: color 0.2s var(--ease);
}
.site-nav a:hover { color: var(--color-navy); }
.site-nav a[aria-current="page"] {
  color: var(--color-navy);
}
.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--color-yellow);
}

.site-header__cta { display: none; }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: var(--radius-sm);
}
.nav-toggle:hover { background: var(--color-off-white); }
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-navy);
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  padding: var(--space-5);
}
.mobile-nav[aria-hidden="false"] { display: block; }
.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-nav a {
  display: block;
  padding: var(--space-4) 0;
  color: var(--color-text);
  font-weight: var(--fw-medium);
  text-decoration: none;
  border-bottom: 1px solid var(--color-border);
}
.mobile-nav a[aria-current="page"] { color: var(--color-navy); }
.mobile-nav__cta { margin-top: var(--space-5); width: 100%; }

@media (min-width: 1025px) {
  .site-nav { display: block; }
  .site-header__cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
  .site-header__logo img { height: 52px; }
}

/* ---------- Hero ---------- */
.hero {
  background-color: var(--color-navy);
  background-image: linear-gradient(rgba(26, 40, 85, 0.55), rgba(26, 40, 85, 0.45)),
                    url("../images/photos/pexels-ilya-perelude-85999447-8936769.jpg");
  background-size: cover;
  background-position: center 60%;
  color: var(--color-white);
  padding-block: var(--space-9);
  position: relative;
  overflow: hidden;
}
.hero__inner {
  position: relative;
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}
.hero__display {
  font-size: var(--fs-display);
  font-weight: var(--fw-bold);
  line-height: 1.15;
  color: var(--color-white);
  margin-bottom: var(--space-5);
  letter-spacing: -0.015em;
}
.hero__lede {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-7);
  line-height: 1.6;
  max-width: 640px;
  margin-inline: auto;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
}

@media (min-width: 1025px) {
  .hero { padding-block: var(--space-10); }
  .hero__lede { font-size: 19px; }
}

/* ---------- Image + text split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  align-items: center;
}
@media (min-width: 1025px) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .split--reverse .split__media { order: 2; }
}
.split__media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}
.split:hover .split__media img { transform: scale(1.03); }
.split__media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
  pointer-events: none;
}
.split__body h2 { margin-bottom: var(--space-5); }
.split__body p { color: var(--color-text-muted); font-size: 17px; margin-bottom: var(--space-4); }
.split__body .eyebrow { margin-bottom: var(--space-4); }

/* ---------- Trust band (CARF / ASAM / area) ---------- */
.trust-band {
  background: linear-gradient(135deg, #243a7c 0%, #1a2c5c 100%);
  color: var(--color-white);
  padding-block: var(--space-6);
}
.trust-band .trust-item__label { color: rgba(255, 255, 255, 0.75); }
.trust-band .trust-item__value { color: var(--color-white); }
.trust-band .trust-item__icon {
  background: rgba(253, 183, 39, 0.15);
  color: var(--color-yellow);
  border-color: rgba(255, 255, 255, 0.2);
}
.trust-band__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  text-align: center;
  align-items: center;
}
@media (min-width: 641px) {
  .trust-band__inner { grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}
.trust-item__label {
  font-size: 12px;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
}
.trust-item__value {
  font-size: 19px;
  font-weight: var(--fw-bold);
  color: var(--color-navy);
  letter-spacing: -0.005em;
}
.trust-item__icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  color: var(--color-yellow-dark);
  border-radius: 50%;
  font-size: 20px;
  margin-bottom: var(--space-2);
  border: 1px solid var(--color-border);
}

/* ---------- Mission pillars (3-across values row) ---------- */
.mission {
  position: relative;
  overflow: hidden;
}
.mission::before,
.mission::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.mission::before {
  top: -180px;
  left: -180px;
  background: radial-gradient(circle, rgba(253, 183, 39, 0.18) 0%, transparent 70%);
}
.mission::after {
  bottom: -180px;
  right: -180px;
  background: radial-gradient(circle, rgba(36, 58, 124, 0.10) 0%, transparent 70%);
}
.mission > .container { position: relative; z-index: 1; }

.pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin-top: var(--space-7);
}
@media (min-width: 641px) {
  .pillars { grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
}
.pillar {
  text-align: center;
  padding: var(--space-6) var(--space-5);
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.pillar:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.pillar__icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-off-white);
  color: var(--color-navy);
  border-radius: var(--radius-md);
  font-size: 20px;
  margin-bottom: var(--space-4);
}
.pillar__title {
  color: var(--color-navy);
  margin-bottom: var(--space-2);
  font-size: 18px;
  font-weight: var(--fw-bold);
}
.pillar__body {
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* ---------- Section heading block ---------- */
.section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-7);
}
.section-heading p {
  color: var(--color-text-muted);
  margin-top: var(--space-4);
  font-size: 17px;
}
.section--navy .section-heading p { color: rgba(255, 255, 255, 0.85); }

/* ---------- Service grid ---------- */
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 641px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1025px) {
  .service-grid { grid-template-columns: repeat(4, 1fr); gap: var(--space-5); }
}

/* ---------- Insurance strip ---------- */
.insurance {
  background: var(--color-off-white);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.insurance__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin-block: var(--space-6) var(--space-5);
}
.insurance__list li {
  font-weight: var(--fw-semibold);
  font-size: 15px;
  color: var(--color-navy);
  padding: 10px 20px;
  background: var(--color-white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.insurance__list li:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.insurance__note {
  text-align: center;
  color: var(--color-text-muted);
  font-size: var(--fs-small);
}

/* ---------- Testimonial ---------- */
.testimonial {
  background-color: var(--color-navy);
  background-image: linear-gradient(rgba(36, 58, 124, 0.88), rgba(36, 58, 124, 0.92)),
                    url("../images/photos/pexels-minan1398-853168.jpg");
  background-size: cover;
  background-position: center;
  color: var(--color-white);
  padding-block: var(--space-9);
}
.testimonial blockquote {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.testimonial blockquote::before {
  content: "\201C";
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 96px;
  line-height: 1;
  color: var(--color-yellow);
  margin-bottom: var(--space-3);
}
.testimonial q {
  display: block;
  font-size: 19px;
  font-style: italic;
  font-weight: var(--fw-regular);
  line-height: 1.5;
  color: var(--color-white);
  margin-bottom: var(--space-5);
  quotes: none;
}
.testimonial q::before,
.testimonial q::after { content: none; }
.testimonial cite {
  font-style: normal;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.05em;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
}
@media (min-width: 1025px) {
  .testimonial q { font-size: 22px; }
}

/* ---------- Inline CTA strip (mid-page) ---------- */
.cta-inline {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-dark) 100%);
  color: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-6) var(--space-6);
  margin-top: var(--space-7);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.cta-inline::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(253, 183, 39, 0.25) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inline h3 {
  color: var(--color-white);
  font-size: 24px;
  font-weight: var(--fw-bold);
  margin: 0;
  letter-spacing: -0.01em;
}
.cta-inline p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  margin: 0;
  max-width: 520px;
}
.cta-inline__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}
@media (min-width: 1025px) {
  .cta-inline { padding: var(--space-7) var(--space-8); }
  .cta-inline h3 { font-size: 28px; }
}

/* ---------- Page hero (smaller than home hero) ---------- */
.page-hero {
  background: linear-gradient(135deg, rgba(26, 40, 85, 0.88), rgba(36, 58, 124, 0.80));
  color: var(--color-white);
  padding-block: var(--space-8) var(--space-7);
  position: relative;
  overflow: hidden;
}
.page-hero--photo {
  background-image: linear-gradient(135deg, rgba(26, 40, 85, 0.85), rgba(36, 58, 124, 0.75)),
                    var(--page-hero-photo, none);
  background-size: cover;
  background-position: center;
}
.page-hero__inner {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.page-hero__eyebrow { color: var(--color-yellow); }
.page-hero h1 {
  color: var(--color-white);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: var(--fw-bold);
  letter-spacing: -0.015em;
  margin-bottom: var(--space-4);
}
.page-hero p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  max-width: 640px;
  margin-inline: auto;
  line-height: 1.6;
}

/* Breadcrumb-style mini nav on page hero */
.page-hero__crumbs {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: var(--space-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.page-hero__crumbs a { color: rgba(255, 255, 255, 0.75); }
.page-hero__crumbs a:hover { color: var(--color-yellow); }

/* ---------- Value grid (reused on About, Program) ---------- */
.value-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 641px) {
  .value-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1025px) {
  .value-grid { grid-template-columns: repeat(5, 1fr); gap: var(--space-4); }
}
.value-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  text-align: center;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.value-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-yellow);
  box-shadow: var(--shadow-md);
}
.value-card__icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-navy);
  color: var(--color-yellow);
  border-radius: 50%;
  font-size: 18px;
  margin-bottom: var(--space-3);
}
.value-card__title {
  color: var(--color-navy);
  font-size: 16px;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-2);
}
.value-card__body { font-size: 14px; color: var(--color-text-muted); line-height: 1.5; }

/* ---------- Commitments list (About) ---------- */
.commits {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 641px) {
  .commits { grid-template-columns: repeat(2, 1fr); }
}
.commit {
  background: var(--color-white);
  border-left: 4px solid var(--color-yellow);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--space-5) var(--space-5) var(--space-5) var(--space-5);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.commit:hover { transform: translateX(3px); box-shadow: var(--shadow-md); }
.commit h3 {
  color: var(--color-navy);
  font-size: 18px;
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-2);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.commit h3 i { color: var(--color-yellow-dark); font-size: 18px; }
.commit p { color: var(--color-text-muted); font-size: 15px; line-height: 1.55; margin: 0; }

/* ---------- Timeline (Program) ---------- */
.timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  position: relative;
}
@media (min-width: 1025px) {
  .timeline {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-5);
  }
  .timeline--3 {
    grid-template-columns: repeat(3, 1fr);
    max-width: 900px;
    margin-inline: auto;
  }
  .timeline::before {
    content: "";
    position: absolute;
    top: 28px;
    left: 8%; right: 8%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--color-yellow) 0 8px, transparent 8px 14px);
    z-index: 0;
  }
}
.timeline__step {
  position: relative;
  text-align: center;
  padding: var(--space-5) var(--space-4);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  z-index: 1;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.timeline__step:hover {
  transform: translateY(-3px);
  border-color: var(--color-yellow);
  box-shadow: var(--shadow-md);
}
.timeline__number {
  width: 56px; height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-navy);
  color: var(--color-yellow);
  border-radius: 50%;
  font-size: 20px;
  font-weight: var(--fw-black);
  margin-bottom: var(--space-3);
}
.timeline__step h3 {
  color: var(--color-navy);
  font-size: 17px;
  margin-bottom: var(--space-2);
}
.timeline__step p { color: var(--color-text-muted); font-size: 14px; line-height: 1.5; margin: 0; }

/* ---------- Dos / Donts columns (Admissions) ---------- */
.dos-donts {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 801px) {
  .dos-donts { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
}
.dos-donts__col {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
}
.dos-donts__header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-4);
}
.dos-donts__header i {
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 15px;
}
.dos-donts__col--do .dos-donts__header i { background: #d1e7dd; color: #0f5132; }
.dos-donts__col--dont .dos-donts__header i { background: #f8d7da; color: #842029; }
.dos-donts__header h3 { font-size: 22px; color: var(--color-navy); margin: 0; }
.dos-donts__item { margin-bottom: var(--space-4); }
.dos-donts__item:last-child { margin-bottom: 0; }
.dos-donts__item strong { display: block; color: var(--color-navy); font-size: 15px; margin-bottom: 4px; }
.dos-donts__item p { color: var(--color-text-muted); font-size: 14px; line-height: 1.5; margin: 0; }

/* ---------- House rules grid ---------- */
.rules-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
@media (min-width: 641px) {
  .rules-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1025px) {
  .rules-grid { grid-template-columns: repeat(3, 1fr); }
}
.rule {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  color: var(--color-white);
}
.rule h3 {
  color: var(--color-yellow);
  font-size: 14px;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-3);
}
.rule p { color: rgba(255, 255, 255, 0.88); font-size: 15px; line-height: 1.55; margin: 0; }

/* ---------- Checkable prep list (Admissions) ---------- */
.prep-list { display: flex; flex-direction: column; gap: var(--space-5); }
.prep-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--space-4);
  padding: var(--space-5);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.prep-item:hover { border-color: var(--color-yellow); box-shadow: var(--shadow-sm); }
.prep-item__num {
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-yellow);
  color: var(--color-navy);
  border-radius: 50%;
  font-weight: var(--fw-black);
  font-size: 18px;
}
.prep-item h3 { color: var(--color-navy); margin-bottom: var(--space-2); font-size: 18px; }
.prep-item p { color: var(--color-text-muted); font-size: 15px; line-height: 1.6; margin: 0; }

/* ---------- Insurance grid (on Insurance page) ---------- */
.ins-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}
@media (min-width: 641px) { .ins-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1025px) { .ins-grid { grid-template-columns: repeat(4, 1fr); } }
.ins-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-weight: var(--fw-medium);
  color: var(--color-navy);
  text-align: center;
  font-size: 14px;
  min-height: 64px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.ins-card:hover { border-color: var(--color-yellow); background: #fffdf4; }

/* ---------- Sticky mobile call button (floating FAB) ---------- */
.sticky-call {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: var(--color-yellow);
  color: var(--color-navy);
  font-weight: var(--fw-bold);
  font-size: 15px;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(36, 58, 124, 0.35), 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.sticky-call:hover {
  background: var(--color-yellow-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(36, 58, 124, 0.45), 0 3px 8px rgba(0, 0, 0, 0.18);
  color: var(--color-navy);
}
.sticky-call i {
  font-size: 16px;
  animation: sticky-pulse 2.2s ease-in-out infinite;
}
@keyframes sticky-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.15); }
}
@media (min-width: 1025px) {
  .sticky-call { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .sticky-call i { animation: none; }
}

/* ---------- Final CTA (above footer) ---------- */
.cta-band {
  background: var(--color-off-white);
  color: var(--color-text);
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-block: var(--space-7);
}
.cta-band > .container { position: relative; z-index: 1; }

.cta-band .eyebrow { color: var(--color-text-muted); }
.cta-band h2 {
  color: var(--color-navy);
  margin-bottom: var(--space-4);
}
.cta-band p {
  color: var(--color-text-muted);
  max-width: 600px;
  margin-inline: auto;
  font-size: 17px;
}
.cta-band__phone {
  font-size: 26px;
  font-weight: var(--fw-bold);
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-block: var(--space-5);
  color: var(--color-navy);
  text-decoration: none;
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}
.cta-band__phone i {
  font-size: 24px;
  color: var(--color-yellow-dark);
}
.cta-band__phone:hover {
  color: var(--color-navy-dark);
  transform: translateY(-1px);
}
.cta-band__phone:hover i { color: var(--color-yellow-dark); }
.cta-band__available {
  display: block;
  font-size: 13px;
  font-weight: var(--fw-regular);
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
}

/* ---------- Contact / map ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  align-items: start;
}
@media (min-width: 1025px) {
  .contact-grid { grid-template-columns: 1fr 1.4fr; gap: var(--space-7); }
}
.contact-info h3 { margin-bottom: var(--space-2); }
.contact-info p,
.contact-info address {
  font-style: normal;
  color: var(--color-text-muted);
  margin-bottom: var(--space-5);
  line-height: 1.7;
}
.contact-info a { color: var(--color-navy); font-weight: var(--fw-medium); }
.contact-info i { color: var(--color-yellow-dark); width: 18px; text-align: center; margin-right: 6px; }

.map-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.85);
  padding-block: var(--space-7) var(--space-4);
  font-size: 14px;
  line-height: 1.6;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-yellow) 0%, var(--color-yellow-dark) 50%, var(--color-yellow) 100%);
}
.site-footer p,
.site-footer li,
.site-footer span { color: rgba(255, 255, 255, 0.85); }
.site-footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.site-footer a:hover { color: var(--color-yellow); }

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}
@media (min-width: 1025px) {
  .site-footer__grid { grid-template-columns: 1.8fr 1fr 1fr 1.2fr; gap: var(--space-6); }
}

.site-footer__brand {
  display: inline-block;
  margin-bottom: var(--space-3);
}
.site-footer__brand img {
  height: 38px;
  width: auto;
}
.site-footer__seals {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-5);
}
.site-footer__seals img {
  height: 64px;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

.site-footer__tagline {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: var(--space-3);
  font-style: italic;
}

.site-footer h3 {
  color: var(--color-white);
  font-size: 11px;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: var(--space-4);
  position: relative;
  padding-bottom: var(--space-2);
}
.site-footer h3::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 24px;
  height: 2px;
  background: var(--color-yellow);
}

.site-footer ul { display: flex; flex-direction: column; gap: 10px; }
.site-footer ul a { font-size: 14px; }

.site-footer__contact { display: flex; flex-direction: column; gap: var(--space-2); }
.site-footer__contact-line {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: 14px;
}
.site-footer__contact-line i {
  color: var(--color-yellow);
  width: 16px;
  margin-top: 4px;
  font-size: 13px;
}
.site-footer__contact-line a { color: rgba(255, 255, 255, 0.85); }

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}
.site-footer__bottom span { color: rgba(255, 255, 255, 0.55); }
.site-footer__bottom-links {
  display: flex;
  gap: var(--space-4);
}
.site-footer__bottom-links a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}
