/* ============================================
   Roseville Tax Pro — Global Styles
   A Taxes Served Corp company
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0d1f2d;
  --navy2: #152736;
  --navy-dark: #070e14;
  --teal: #1a9e76;
  --teal-mid: #0f6e56;
  --teal-light: #e2f5ee;
  --teal-pale: #f0faf6;
  --teal-accent: #5dcaa5;
  --off: #f7f6f2;
  --white: #ffffff;
  --text-dark: #0d1f2d;
  --text-mid: #4a5568;
  --text-light: #8a9ab0;
  --border: #e2e8f0;
  --border-dark: rgba(255,255,255,0.08);
  --amber: #e8a800;
  --red: #e24b4a;
}

html { scroll-behavior: smooth; }

/* ---- CONTENT CONTAINER ---- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

/* All sections constrain their direct content to max-width */
.section > *,
.page-hero > *:not(.deco-circle),
.trust-bar-inner,
.nav-inner,
.cta-band > *,
.footer-top,
.footer-bottom {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

body {
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: system-ui, sans-serif; }
input, select, textarea { font-family: system-ui, sans-serif; }

/* ---- TYPOGRAPHY ---- */
.sans { font-family: system-ui, -apple-system, sans-serif; }
.serif { font-family: Georgia, serif; }
.mono { font-family: 'Courier New', monospace; }

.eyebrow {
  font-family: system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1.5px;
  background: currentColor;
}
.eyebrow.white { color: var(--teal-accent); }
.eyebrow.plain::before { display: none; }

/* ---- NAVIGATION ---- */
.nav {
  background: var(--navy);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 62px;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-inner {
  max-width: 1100px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo-name {
  font-family: Georgia, serif;
  font-size: 17px;
  font-weight: normal;
  color: #fff;
  letter-spacing: 0.01em;
}
.nav-logo-name span { color: var(--teal-accent); }
.nav-logo-sub {
  font-family: system-ui, sans-serif;
  font-size: 10px;
  color: #8a9ab0;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-top: 2px;
}
.nav-links { display: flex; gap: 0; align-items: stretch; }
.nav-links a {
  font-family: system-ui, sans-serif;
  font-size: 13px;
  color: #c8d6e3;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--teal-accent); }
.nav-links a.active { border-bottom: 1.5px solid var(--teal-accent); padding-bottom: 2px; }

/* ---- DROPDOWN NAV ---- */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item > a, .nav-item > .nav-drop-trigger {
  font-family: system-ui, sans-serif; font-size: 13px;
  color: #c8d6e3; text-decoration: none; cursor: pointer;
  padding: 0 16px; height: 62px; display: flex; align-items: center;
  gap: 5px; background: none; border: none; white-space: nowrap;
  transition: color 0.2s;
}
.nav-item > a:hover,
.nav-item > .nav-drop-trigger:hover,
.nav-item.open > .nav-drop-trigger { color: #5dcaa5; }
.nav-item > a.active { color: #5dcaa5; border-bottom: 2px solid #5dcaa5; }
.nav-drop-trigger i { font-size: 12px; transition: transform 0.2s; }
.nav-item.open .nav-drop-trigger i { transform: rotate(180deg); }
.nav-dropdown {
  display: none; position: absolute; top: 100%; left: 0;
  min-width: 220px; background: #0a1822;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px; overflow: hidden;
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
  z-index: 200;
}
.nav-item.open .nav-dropdown { display: block; }
.nav-dropdown a {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 16px; text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.15s;
}
.nav-dropdown a:last-child { border-bottom: none; }
.nav-dropdown a:hover { background: rgba(255,255,255,0.05); }
.nav-dropdown-icon {
  width: 32px; height: 32px; border-radius: 7px;
  background: rgba(93,202,165,0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-dropdown-icon i { font-size: 16px; color: #5dcaa5; }
.nav-dropdown-label {
  font-family: system-ui, sans-serif; font-size: 13px;
  font-weight: 600; color: #fff; margin-bottom: 2px;
}
.nav-dropdown-desc {
  font-family: system-ui, sans-serif; font-size: 11px;
  color: #8a9ab0; line-height: 1.45;
}
.nav-btn {
  font-size: 13px;
  font-weight: 500;
  padding: 9px 22px;
  border-radius: 6px;
  border: 1.5px solid var(--teal-accent);
  color: var(--teal-accent);
  background: transparent;
  transition: background 0.2s, color 0.2s;
}
.nav-btn:hover { background: var(--teal-accent); color: var(--navy); }

.mobile-menu-btn { display: none; background: none; border: none; color: #fff; font-size: 22px; }
.mobile-nav { display: none; } /* hidden globally; shown only by JS toggle on mobile */

/* ---- TOPBAR ---- */
.topbar {
  background: var(--teal-mid);
  padding: 8px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.topbar-inner {
  max-width: 1100px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.topbar-text {
  font-family: system-ui, sans-serif;
  font-size: 12px;
  color: var(--teal-light);
  letter-spacing: 0.02em;
}
.topbar-cta {
  font-family: system-ui, sans-serif;
  font-size: 12px;
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 6px;
  border: none;
  transition: opacity 0.2s, transform 0.1s;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { opacity: 0.9; }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--teal); color: #fff; }
.btn-ghost-dark { background: transparent; border: 1.5px solid rgba(255,255,255,0.25); color: #fff; }
.btn-ghost-dark:hover { background: rgba(255,255,255,0.08); opacity: 1; }
.btn-ghost-teal { background: transparent; border: 1.5px solid var(--teal); color: var(--teal); }
.btn-ghost-teal:hover { background: var(--teal-pale); opacity: 1; }
.btn-sm { font-size: 13px; padding: 9px 20px; }
.btn-full { width: 100%; }

/* ---- HERO ---- */
.page-hero {
  background: var(--navy);
  padding: 72px 40px 80px;
  position: relative;
  overflow: hidden;
}
.page-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.page-hero .deco-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.page-hero .deco-1 {
  right: -60px; top: 20px;
  width: 380px; height: 380px;
  background: rgba(26,158,118,0.06);
}
.page-hero .deco-2 {
  right: 80px; bottom: -100px;
  width: 220px; height: 220px;
  background: rgba(26,158,118,0.04);
}
.hero-h1 {
  font-family: Georgia, serif;
  font-size: 42px;
  font-weight: normal;
  line-height: 1.18;
  color: #fff;
  margin-bottom: 20px;
  max-width: 580px;
}
.hero-h1 em { font-style: italic; color: var(--teal-accent); }
.hero-sub {
  font-family: system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.72;
  color: #a8bccf;
  max-width: 500px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats {
  display: flex;
  gap: 44px;
  flex-wrap: wrap;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat-num {
  font-family: Georgia, serif;
  font-size: 26px;
  color: #fff;
  margin-bottom: 2px;
}
.hero-stat-label {
  font-family: system-ui, sans-serif;
  font-size: 12px;
  color: var(--text-light);
}

/* ---- TRUST BAR ---- */
.trust-bar {
  background: #0a1822;
  padding: 16px 40px;
  display: flex;
  justify-content: center;
}
.trust-bar-inner {
  max-width: 1100px;
  width: 100%;
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: system-ui, sans-serif;
  font-size: 12px;
  color: var(--text-light);
}
.trust-item i { font-size: 14px; color: var(--teal-accent); }

/* ---- SECTIONS ---- */
.section { padding: 72px 40px; }
.section .container { max-width: 1100px; margin-left: auto; margin-right: auto; }
.section-alt { background: var(--off); }
.section-dark { background: var(--navy); }
.section-h2 {
  font-family: Georgia, serif;
  font-size: 34px;
  font-weight: normal;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.section-h2 em { font-style: italic; color: var(--teal-mid); }
.section-h2.white { color: #fff; }
.section-h2.white em { color: var(--teal-accent); }
.section-sub {
  font-family: system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.72;
  color: var(--text-mid);
  max-width: 520px;
  margin-bottom: 40px;
}
.section-sub.light { color: #a8bccf; }

/* ---- CARDS ---- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 24px;
}
.card-off { background: var(--off); border: none; border-radius: 12px; padding: 22px 24px; }
.card-dark { background: var(--navy); border-radius: 12px; padding: 22px 24px; }
.card-teal { background: var(--teal-pale); border: 1px solid #b2dfd0; border-radius: 12px; padding: 22px 24px; }
.card-glass { background: rgba(255,255,255,0.05); border: 1px solid var(--border-dark); border-radius: 12px; padding: 22px 24px; }

.card-label {
  font-family: system-ui, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.card-label.gray { color: var(--text-light); }
.card-label.teal { color: var(--teal-mid); }
.card-label.white { color: var(--teal-accent); }

/* ---- GRIDS ---- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.split.center { align-items: center; }

/* ---- BADGE / CHIP ---- */
.badge {
  display: inline-block;
  font-family: system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 20px;
}
.badge-teal { background: var(--teal-light); color: var(--teal-mid); }
.chip {
  display: inline-block;
  font-family: system-ui, sans-serif;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid #b2dfd0;
  color: var(--teal-mid);
}
.chips { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---- CHECK / ARROW LISTS ---- */
.check-list { list-style: none; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: system-ui, sans-serif;
  font-size: 13.5px;
  color: var(--text-mid);
  line-height: 1.65;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before { content: '✓'; color: var(--teal); font-size: 13px; margin-top: 2px; font-weight: 700; flex-shrink: 0; }
.check-list.dark li { border-bottom-color: var(--border-dark); color: #c8d6e3; }

.arrow-list { list-style: none; }
.arrow-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: system-ui, sans-serif;
  font-size: 13.5px;
  color: var(--text-mid);
  line-height: 1.65;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
}
.arrow-list li:last-child { border-bottom: none; }
.arrow-list li::before { content: '→'; color: var(--teal); font-size: 12px; margin-top: 3px; flex-shrink: 0; }
.arrow-list.dark li { border-bottom-color: var(--border-dark); color: #c8d6e3; }
.arrow-list.dark li::before { color: var(--teal-accent); }

/* ---- CTA BAND ---- */
.cta-band {
  background: var(--navy);
  padding: 72px 40px;
  text-align: center;
}
.cta-band-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.cta-band-h2 {
  font-family: Georgia, serif;
  font-size: 36px;
  font-weight: normal;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.2;
}
.cta-band-h2 em { font-style: italic; color: var(--teal-accent); }
.cta-band-sub {
  font-family: system-ui, sans-serif;
  font-size: 15px;
  color: #a8bccf;
  margin-bottom: 32px;
  line-height: 1.7;
}
.cta-band-note {
  font-family: system-ui, sans-serif;
  font-size: 12px;
  color: var(--text-light);
  margin-top: 16px;
}
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---- FOOTER ---- */
.footer { background: var(--navy-dark); padding: 44px 40px 24px; }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-logo { font-family: Georgia, serif; font-size: 16px; color: #fff; }
.footer-logo span { color: var(--teal-accent); }
.footer-tagline {
  font-family: system-ui, sans-serif;
  font-size: 12px;
  color: var(--text-light);
  margin-top: 6px;
  line-height: 1.7;
}
.footer-parent {
  font-family: system-ui, sans-serif;
  font-size: 11px;
  color: #5a6e7f;
  margin-top: 8px;
  letter-spacing: 0.04em;
}
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a {
  font-family: system-ui, sans-serif;
  font-size: 13px;
  color: #8a9ab0;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--teal-accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 22px;
}
.footer-legal, .footer-lic {
  font-family: system-ui, sans-serif;
  font-size: 11px;
  color: #5a6e7f;
}

/* ---- FORMS ---- */
.form-label {
  display: block;
  font-family: system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 6px;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  font-family: system-ui, sans-serif;
  font-size: 14px;
  padding: 11px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(26,158,118,0.12);
}
.form-textarea { resize: vertical; min-height: 110px; line-height: 1.6; }
.form-select { appearance: none; cursor: pointer; }
.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.form-note {
  font-family: system-ui, sans-serif;
  font-size: 11px;
  color: var(--text-light);
  margin-top: 10px;
  line-height: 1.6;
  text-align: center;
}
.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: system-ui, sans-serif;
  font-size: 13px;
  color: var(--text-mid);
  cursor: pointer;
}
.form-check input { width: 15px; height: 15px; accent-color: var(--teal); }
.form-check-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }

/* ---- STAT BOXES ---- */
.stat-box {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-dark);
  border-radius: 10px;
  padding: 20px;
}
.stat-n {
  font-family: Georgia, serif;
  font-size: 30px;
  color: #fff;
  margin-bottom: 4px;
}
.stat-n span { color: var(--teal-accent); }
.stat-l {
  font-family: system-ui, sans-serif;
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.5;
}
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ---- HOURS ---- */
.hours-row {
  display: flex;
  justify-content: space-between;
  font-family: system-ui, sans-serif;
  font-size: 13px;
  color: var(--text-mid);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.hours-row:last-child { border-bottom: none; }
.hours-row .day { color: var(--text-light); }
.hours-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--teal-light);
  color: var(--teal-mid);
  margin-bottom: 12px;
}
.dot-live { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.closed { color: var(--red) !important; }

/* ---- FAQ ---- */
.faq-card {
  background: var(--off);
  border-radius: 10px;
  padding: 22px;
}
.faq-q {
  font-family: system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.4;
}
.faq-a {
  font-family: system-ui, sans-serif;
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.72;
}

/* ---- REVIEWS ---- */
.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}
.review-stars { color: var(--amber); font-size: 14px; letter-spacing: 2px; margin-bottom: 12px; }
.review-quote {
  font-family: Georgia, serif;
  font-size: 15px;
  line-height: 1.72;
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 16px;
}
.review-author {
  font-family: system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dark);
}
.review-since {
  font-family: system-ui, sans-serif;
  font-size: 11px;
  color: var(--text-light);
  margin-top: 2px;
}

/* ---- MOBILE ---- */
@media (max-width: 768px) {
  .nav { padding: 0 20px; }
  .nav-links, .nav-btn { display: none !important; }
  .mobile-menu-btn { display: block !important; }

  /* Mobile drawer */
  .mobile-nav {
    display: none;
    position: fixed;
    top: 62px; left: 0; right: 0; bottom: 0;
    background: var(--navy);
    z-index: 98;
    overflow-y: auto;
    padding: 16px 0 32px;
    border-top: 1px solid rgba(255,255,255,0.07);
  }
  .mobile-nav-open .mobile-nav { display: block; }
  .mobile-nav-open { overflow: hidden; } /* prevent body scroll */

  /* Mobile nav links */
  .mobile-nav-link {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 24px;
    font-family: system-ui, sans-serif; font-size: 15px; font-weight: 500;
    color: #c8d6e3; text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    cursor: pointer; background: none; border-left: none; border-right: none; border-top: none;
    width: 100%; text-align: left;
  }
  .mobile-nav-link:hover, .mobile-nav-link.active { color: var(--teal-accent); }
  .mobile-nav-link i { font-size: 14px; transition: transform 0.2s; }
  .mobile-nav-link.open i { transform: rotate(180deg); }

  /* Mobile accordion */
  .mobile-nav-group { border-bottom: 1px solid rgba(255,255,255,0.05); }
  .mobile-nav-group .mobile-nav-link { border-bottom: none; }
  .mobile-nav-sub {
    display: none;
    background: rgba(0,0,0,0.2);
    padding: 8px 0;
  }
  .mobile-nav-sub.open { display: block; }
  .mobile-nav-sub a {
    display: flex; align-items: center; gap: 12px;
    padding: 11px 28px;
    font-family: system-ui, sans-serif; font-size: 14px;
    color: #a8bccf; text-decoration: none;
    transition: color 0.15s;
  }
  .mobile-nav-sub a:hover { color: var(--teal-accent); }
  .mobile-nav-sub a i { font-size: 15px; color: var(--teal-accent); }

  /* Mobile CTA */
  .mobile-nav-cta {
    margin: 20px 24px 0;
  }
  .mobile-nav-cta a {
    display: block; text-align: center;
    padding: 13px; border-radius: 8px;
    background: var(--teal); color: #fff;
    font-family: system-ui, sans-serif; font-size: 15px; font-weight: 600;
    text-decoration: none;
  }

  .topbar { padding: 8px 20px; flex-direction: column; gap: 4px; text-align: center; }
  .page-hero { padding: 48px 20px 56px; }
  .hero-h1 { font-size: 30px; }
  .section { padding: 48px 20px; }
  .split, .grid-2 { grid-template-columns: 1fr; gap: 32px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 28px; }
  .trust-bar { padding: 14px 20px; gap: 16px; }
  .footer { padding: 36px 20px 20px; }
  .footer-top { flex-direction: column; }
  .cta-band { padding: 48px 20px; }
  .cta-band-h2 { font-size: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .map-inner { grid-template-columns: 1fr; }
  .map-visual { height: 220px; }
}

@media (max-width: 480px) {
  .hero-h1 { font-size: 26px; }
  .section-h2 { font-size: 26px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .cta-row { flex-direction: column; align-items: center; }
}

/* ---- FULL-WIDTH SECTION INNER CONSTRAINT ---- */
/* Applied to all major layout sections across all pages */
.story-section > .split,
.team-section > .team-grid,
.team-section > .section-h2,
.team-section > .section-sub,
.team-section > .eyebrow,
.parent-section > .split,
.parent-section > .parent-inner,
.values-section > .grid-4,
.values-section > .section-h2,
.values-section > .eyebrow,
.creds-section > .grid-3,
.creds-section > .section-h2,
.creds-section > .eyebrow,
.contact-main > .contact-grid,
.contact-main > .eyebrow,
.map-section > .map-inner,
.faq-section > .faq-grid,
.faq-section > .section-h2,
.faq-section > .section-sub,
.faq-section > .eyebrow,
.svc-block > .svc-inner,
.svc-block > .svc-inner.flip {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

/* Page-hero inner content constraint */
.page-hero > .eyebrow,
.page-hero > h1,
.page-hero > .hero-h1,
.page-hero > .hero-sub,
.page-hero > .hero-actions,
.page-hero > .hero-stats,
.page-hero > .svc-tabs {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- UNIVERSAL CONTAINER CONSTRAINT ---- */
/* All page-specific full-bleed blocks constrain their content */
.story-section,
.team-section,
.parent-section,
.values-section,
.creds-section,
.contact-main,
.map-section,
.faq-section,
.svc-block,
.cta-band,
.footer {
  padding-left: 40px;
  padding-right: 40px;
}

.story-section > *:not(style),
.team-section > *:not(style),
.parent-section > *:not(style),
.values-section > *:not(style),
.creds-section > *:not(style),
.contact-main > *:not(style),
.map-section > *:not(style),
.faq-section > *:not(style),
.svc-block > *:not(style),
.cta-band > *:not(style),
.footer-top,
.footer-bottom {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

/* Page hero content constraint */
.page-hero {
  padding-left: 40px;
  padding-right: 40px;
}
.page-hero > *:not(.deco-circle):not(style) {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .story-section,
  .team-section,
  .parent-section,
  .values-section,
  .creds-section,
  .contact-main,
  .map-section,
  .faq-section,
  .svc-block,
  .cta-band,
  .footer,
  .page-hero {
    padding-left: 20px;
    padding-right: 20px;
  }
}
