/* ===================================================================
   Brad Baldridge — College Financial Planning
   Custom CSS  |  Navy + Teal  |  Light/Dark
   =================================================================== */

/* --- Custom Properties ------------------------------------------- */
:root {
  --bg: #fafbfc;
  --bg-alt: #f0f2f5;
  --bg-card: #ffffff;
  --text: #1a2332;
  --text-muted: #5a6577;
  --primary: #1e3a5f;
  --primary-light: #2d5a8e;
  --accent: #2a7a6e;
  --accent-light: #3a9a8e;
  --border: #dde1e7;
  --shadow: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.04);
  --shadow-lg: 0 10px 30px rgba(0,0,0,.08), 0 4px 8px rgba(0,0,0,.04);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: .25s ease;
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #0f1318;
  --bg-alt: #171c24;
  --bg-card: #1e2430;
  --text: #e2e6ec;
  --text-muted: #8a92a2;
  --primary: #4a7ab0;
  --primary-light: #5e92cc;
  --accent: #4aaa9e;
  --accent-light: #5ec4b8;
  --border: #2e3440;
  --shadow: 0 1px 3px rgba(0,0,0,.2), 0 1px 2px rgba(0,0,0,.15);
  --shadow-md: 0 4px 12px rgba(0,0,0,.25), 0 2px 4px rgba(0,0,0,.15);
  --shadow-lg: 0 10px 30px rgba(0,0,0,.3), 0 4px 8px rgba(0,0,0,.15);
  color-scheme: dark;
}

/* --- Reset & Base ------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale; padding-bottom: 2.25rem; }

/* FOUC prevention */
body.no-fouc { opacity: 0; }
body.no-fouc.ready { opacity: 1; transition: opacity .15s ease; }

img { display: block; max-width: 100%; height: auto; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}

h1 { font-size: clamp(2.25rem, 1.8rem + 2.25vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 1.4rem + 1.75vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + 0.75vw, 1.625rem); }
h4 { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.375rem); }

p + p { margin-top: 1em; }

/* --- Layout ------------------------------------------------------ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: clamp(3rem, 2rem + 5vw, 6rem) 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
}

.section-header p {
  margin-top: .75rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.label {
  display: inline-block;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .5rem;
}

/* --- Grid Utilities ---------------------------------------------- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* --- Buttons ----------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: .9375rem;
  padding: .75rem 1.5rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.4;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-light);
  color: #fff;
}

.btn-accent {
  background: var(--accent);
  color: #fff;
}
.btn-accent:hover {
  background: var(--accent-light);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-ghost {
  background: transparent;
  color: var(--primary);
  padding: .5rem .75rem;
}
.btn-ghost:hover {
  background: var(--bg-alt);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* --- Card -------------------------------------------------------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  color: var(--primary);
}

[data-theme="dark"] .card-icon {
  background: rgba(74, 122, 176, .12);
}

.card h3 {
  margin-bottom: .5rem;
}

.card p {
  color: var(--text-muted);
  font-size: .95rem;
}

/* --- Navigation -------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.nav.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  font-family: 'Source Serif 4', serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
  text-decoration: none;
  white-space: nowrap;
}
.nav-logo:hover { color: var(--primary); }

.nav-links {
  display: none;
  list-style: none;
  gap: .25rem;
}

.nav-links a {
  display: block;
  padding: .5rem .875rem;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: var(--bg-alt);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.nav-phone {
  display: none;
  font-weight: 600;
  font-size: .875rem;
  color: var(--primary);
  white-space: nowrap;
}

.nav-phone svg {
  width: 16px;
  height: 16px;
  margin-right: .25rem;
  vertical-align: middle;
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
}

.theme-toggle:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .icon-moon { display: block; }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
}

.hamburger:hover {
  border-color: var(--primary);
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: all var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 72px 0 0 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 1.5rem;
  z-index: 99;
  overflow-y: auto;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: .875rem 0;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu-phone {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1.5rem;
  padding: .875rem 1.25rem;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 600;
  justify-content: center;
}

.mobile-menu-phone:hover { color: #fff; }

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-phone { display: inline-flex; align-items: center; }
  .hamburger { display: none; }
}

/* --- Hero -------------------------------------------------------- */
.hero {
  padding: clamp(4rem, 3rem + 6vw, 8rem) 0 clamp(3rem, 2rem + 5vw, 6rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 1.5rem + 3vw, 4rem);
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.hero h1 {
  margin-bottom: 1rem;
}

.hero h1 .highlight {
  color: var(--accent);
}

.hero-lead {
  font-size: clamp(1.05rem, 1rem + .25vw, 1.2rem);
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  color: var(--text-muted);
}

.hero-trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

/* Cost Comparison Stack */
.cost-stack {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.5rem, 1.25rem + 1.5vw, 2.5rem);
  max-width: 420px;
  margin: 0 auto;
}

.cost-stack-label {
  font-size: .8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  margin-bottom: .375rem;
}

.cost-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.cost-row:last-of-type {
  border-bottom: none;
}

.cost-row-label {
  font-size: .9375rem;
  color: var(--text-muted);
}

.cost-amount-high {
  font-family: 'Source Serif 4', serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 1.5rem + 1.25vw, 2.5rem);
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-color: #c0392b;
  text-decoration-thickness: 3px;
  opacity: .65;
}

.cost-amount-low {
  font-family: 'Source Serif 4', serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 1.5rem + 1.25vw, 2.5rem);
  color: var(--accent);
}

.cost-stack-footer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px solid var(--accent);
  text-align: center;
}

.cost-savings {
  font-family: 'Source Serif 4', serif;
  font-weight: 700;
  font-size: clamp(1rem, .9rem + .5vw, 1.25rem);
  color: var(--accent);
}

.cost-savings-note {
  font-size: .8125rem;
  color: var(--text-muted);
  margin-top: .25rem;
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* --- Services ---------------------------------------------------- */
.service-card .card-icon svg {
  width: 24px;
  height: 24px;
}

.service-card a {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-weight: 600;
  font-size: .875rem;
  margin-top: 1rem;
  color: var(--primary);
}

.service-card a svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition);
}

.service-card a:hover svg {
  transform: translateX(3px);
}

/* --- Objection Intercept ----------------------------------------- */
.objection-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  box-shadow: var(--shadow);
}

.objection-card .objection-q {
  font-family: 'Source Serif 4', serif;
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--primary);
  margin-bottom: .75rem;
  display: flex;
  align-items: flex-start;
  gap: .625rem;
}

.objection-q svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: .125rem;
  color: var(--accent);
}

.objection-card .objection-a {
  color: var(--text-muted);
  font-size: .95rem;
  padding-left: 2.125rem;
}

/* --- Process ----------------------------------------------------- */
.process-grid {
  counter-reset: step;
}

.process-step {
  position: relative;
  padding-left: 4rem;
  padding-bottom: 2.5rem;
}

.process-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  font-family: 'Source Serif 4', serif;
  font-weight: 700;
  font-size: 1.125rem;
  border-radius: 50%;
}

.process-step::after {
  content: '';
  position: absolute;
  left: 1.4375rem;
  top: 3rem;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.process-step:last-child::after {
  display: none;
}

.process-step:last-child {
  padding-bottom: 0;
}

.process-step h3 {
  margin-bottom: .375rem;
}

.process-step p {
  color: var(--text-muted);
  font-size: .95rem;
}

/* --- Testimonials ------------------------------------------------ */
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  box-shadow: var(--shadow);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: .75rem;
  color: #d4a017;
}

.testimonial-stars svg { width: 18px; height: 18px; }

.testimonial-text {
  font-size: .95rem;
  color: var(--text);
  margin-bottom: 1rem;
  font-style: italic;
}

.testimonial-author {
  font-weight: 600;
  font-size: .875rem;
  color: var(--text);
}

.testimonial-role {
  font-size: .8125rem;
  color: var(--text-muted);
}

/* --- FAQ --------------------------------------------------------- */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: .75rem;
  background: var(--bg-card);
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 1.25rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  gap: 1rem;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--text-muted);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 1.25rem 1.25rem;
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.7;
}

/* --- CTA Section ------------------------------------------------- */
.cta-section {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: clamp(3rem, 2rem + 5vw, 5rem) 0;
}

.cta-section h2 {
  color: #fff;
  margin-bottom: .75rem;
}

.cta-section p {
  color: rgba(255,255,255,.8);
  max-width: 560px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

.cta-section .btn-accent {
  font-size: 1.0625rem;
  padding: 1rem 2rem;
}

.cta-phone {
  margin-top: 1rem;
  font-size: .9375rem;
  color: rgba(255,255,255,.7);
}

.cta-phone a {
  color: #fff;
  font-weight: 600;
}

/* --- Contact Form ------------------------------------------------ */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: .875rem;
  margin-bottom: .375rem;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: .9375rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30, 58, 95, .12);
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group select:focus,
[data-theme="dark"] .form-group textarea:focus {
  box-shadow: 0 0 0 3px rgba(74, 122, 176, .2);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0 1.25rem;
  }
}

.form-status {
  padding: 1rem;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: .9375rem;
  margin-top: 1rem;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(42, 122, 110, .1);
  color: var(--accent);
  border: 1px solid var(--accent);
}

.form-status.error {
  display: block;
  background: rgba(192, 57, 43, .08);
  color: #c0392b;
  border: 1px solid #c0392b;
}

/* --- About Image ------------------------------------------------- */
.about-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* --- Service Detail ---------------------------------------------- */
.service-hero {
  padding: clamp(3rem, 2rem + 5vw, 5rem) 0;
  background: var(--bg-alt);
}

.service-hero .label {
  margin-bottom: .75rem;
}

.service-content {
  max-width: 760px;
}

.service-content h2 {
  margin-top: 2.5rem;
  margin-bottom: .75rem;
}

.service-content p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.service-content ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
}

.service-content ul li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: .625rem;
  color: var(--text-muted);
}

.service-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .55em;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

.service-sidebar {
  position: sticky;
  top: 96px;
}

.service-sidebar .card {
  margin-bottom: 1.5rem;
}

.service-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 960px) {
  .service-layout {
    grid-template-columns: 1fr 340px;
  }
}

/* --- Footer ------------------------------------------------------ */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: clamp(2.5rem, 2rem + 3vw, 4rem) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

.footer-brand {
  max-width: 320px;
}

.footer-brand .nav-logo {
  display: inline-block;
  margin-bottom: .75rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: .9375rem;
}

.footer h4 {
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
}

.footer-links {
  list-style: none;
}

.footer-links li { margin-bottom: .5rem; }

.footer-links a {
  color: var(--text-muted);
  font-size: .9375rem;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.25rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem;
  font-size: .8125rem;
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--text-muted);
}
.footer-bottom a:hover { color: var(--primary); }

/* --- Disclaimer Bar ---------------------------------------------- */
.disclaimer-bar { position:fixed;bottom:0;left:0;right:0;z-index:101;background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 1rem 0;
  font-size: .75rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.6;}

/* --- Reveal Animation -------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Page Header (for sub-pages) --------------------------------- */
.page-header {
  background: var(--bg-alt);
  padding: clamp(3rem, 2rem + 4vw, 5rem) 0;
  text-align: center;
}

.page-header p {
  margin-top: .75rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.05rem;
}

/* --- Breadcrumb -------------------------------------------------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .375rem;
  font-size: .8125rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  justify-content: center;
}

.breadcrumb a {
  color: var(--text-muted);
}
.breadcrumb a:hover { color: var(--primary); }

.breadcrumb span { color: var(--text-muted); }

/* --- Contact Info ------------------------------------------------ */
.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.contact-info-card:last-child {
  border-bottom: none;
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  border-radius: var(--radius);
  color: var(--primary);
  flex-shrink: 0;
}

.contact-info-icon svg { width: 20px; height: 20px; }

.contact-info-text h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: .9375rem;
  margin-bottom: .125rem;
}

.contact-info-text p,
.contact-info-text a {
  color: var(--text-muted);
  font-size: .9375rem;
}

/* --- Skip to content --------------------------------------------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: .5rem 1rem;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 600;
  z-index: 200;
  transition: top .2s ease;
}

.skip-link:focus {
  top: .5rem;
  color: #fff;
}

/* --- Misc -------------------------------------------------------- */
.text-center { text-align: center; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }

@media (max-width: 767px) {
  .hide-mobile { display: none; }
}

/* --- Whimsy Animations ------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-trust-item svg {
    animation: gentle-bounce 2.4s ease-in-out infinite;
  }
  .hero-trust-item:nth-child(2) svg { animation-delay: .3s; }
  .hero-trust-item:nth-child(3) svg { animation-delay: .6s; }

  @keyframes gentle-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
  }

  .cost-savings {
    animation: subtle-pulse 3s ease-in-out infinite;
  }

  @keyframes subtle-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .75; }
  }
}

/* --- Print ------------------------------------------------------- */
@media print {
  .nav, .footer, .cta-section, .theme-toggle, .hamburger, .mobile-menu { display: none; }
  body { background: #fff; color: #000; }
  .section { padding: 1.5rem 0; }
}
