/* ============================================================
   PROSPERITY LIFE & FINANCIAL SOLUTIONS
   Brand: Deep Purple & Sage Green
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&display=swap');

/* ---------- Design Tokens ---------- */
:root {
  /* ── New Brand Colors ── */
  --purple:        #4e2c94;
  --purple-dark:   #3a1f70;
  --purple-mid:    #5e38b0;
  --purple-xlight: #ede8f7;
  --green:         #389F72;
  --green-dark:    #2a7a58;
  --green-light:   #e6f5ee;
  --gold:          #b8962a;
  --gold-light:    #fdf4dc;

  /* ── Backward-Compatible Aliases (keeps inline styles working) ── */
  --navy:          #4e2c94;
  --navy-dark:     #3a1f70;
  --navy-light:    #5e38b0;
  --blue:          #4e2c94;
  --blue-light:    #ede8f7;
  --amber:         #389F72;
  --amber-dark:    #2a7a58;
  --amber-light:   #e6f5ee;

  /* ── Text ── */
  --text:          #151414;
  --text-muted:    #574f6b;
  --text-light:    #9690a8;

  /* ── Surfaces ── */
  --bg:            #EDF7F2;
  --white:         #ffffff;

  /* ── Borders ── */
  --border:        #b8d9cc;
  --border-light:  #d2eae0;

  /* ── Shadows (purple-tinted) ── */
  --shadow-sm:     0 1px 4px rgba(78,44,148,0.08);
  --shadow-md:     0 4px 20px rgba(78,44,148,0.13);
  --shadow-lg:     0 16px 48px rgba(78,44,148,0.18);

  /* ── Shape & Motion ── */
  --radius-sm:     8px;
  --radius-md:     14px;
  --radius-lg:     20px;
  --max-width:     1140px;
  --ease:          0.22s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }
a  { color: var(--purple); }

/* ---------- Layout ---------- */
.container {
  max-width: 1280px;
  width: 92%;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
@media (min-width: 1440px) {
  .container { max-width: 1400px; }
}

section { padding: 80px 0; }

.section-header {
  max-width: 1100px;
  margin: 0 auto 40px auto;
  text-align: center;
}

.section-header h2 {
  font-size: 42px;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.2;
}

.section-sub {
  font-size: 18px;
  color: #6b7280;
  margin-top: 12px;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-dark);
  background: var(--green-light);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 800; letter-spacing: -0.01em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--ease), border-color var(--ease), transform var(--ease), box-shadow var(--ease);
  white-space: nowrap;
  line-height: 1;
}

.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-lg   { padding: 15px 30px; font-size: 1rem; }
.btn-full { width: 100%; display: flex; }
.btn-hero { padding: 19px 48px; font-size: 1.13rem; }

.btn-primary {
  background: var(--purple);
  color: var(--white);
  border-color: var(--purple);
}
.btn-primary:hover {
  background: var(--purple-dark);
  border-color: var(--purple-dark);
  box-shadow: 0 4px 16px rgba(78,44,148,0.35);
}

/* btn-amber is the green accent button (alias kept for HTML compat) */
.btn-amber {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-amber:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  box-shadow: 0 4px 16px rgba(56,159,114,0.35);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.9);
}
.btn-outline-primary {
  background: transparent;
  color: var(--purple);
  border-color: var(--purple);
}
.btn-outline-primary:hover {
  background: var(--purple);
  color: var(--white);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 2px 16px rgba(78,44,148,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 0;
  height: 100px;
  padding-top: 0;
  padding-bottom: 0;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

/* Full logo image (place file at assets/images/logo.png) */
.logo-img {
  height: 68px;
  width: auto;
  display: block;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--purple-dark), var(--purple-mid));
  color: var(--white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(78,44,148,0.3);
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 11px;
  line-height: 1;
}

.logo-name {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--purple-dark);
  letter-spacing: -0.01em;
}

.logo-sub {
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Desktop nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: flex-end;
  flex-wrap: nowrap;
  margin-left: 40px;
  margin-right: 24px;
}

.main-nav a {
  padding: 7px 13px;
  font-size: 17px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 6px;
  transition: background var(--ease), color var(--ease);
  white-space: nowrap;
}

.main-nav a:hover {
  background: var(--purple-xlight);
  color: var(--purple);
}

.main-nav a.active {
  background: var(--purple-xlight);
  color: var(--purple);
  font-weight: 600;
}

/* ---------- Dropdown Nav ---------- */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 7px 13px;
  font-size: 17px;
  font-weight: 500;
  color: var(--text-muted);
  background: none;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--ease), color var(--ease);
  font-family: inherit;
}

.nav-dropdown-toggle:hover,
.nav-dropdown:hover .nav-dropdown-toggle {
  background: var(--purple-xlight);
  color: var(--purple);
}

.nav-caret {
  font-size: 10px;
  opacity: 0.6;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
  border: 1px solid #e5e7eb;
  min-width: 220px;
  z-index: 9999;
  padding: 6px 0;
}

.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
  border-radius: 0;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-dropdown-menu a:hover {
  background: var(--purple-xlight);
  color: var(--purple);
}

/* Mobile nav labels */
.header-phone {
  flex-shrink: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
  margin-right: 12px;
  transition: color var(--ease);
}

.header-phone:hover {
  color: var(--purple);
}

@media (max-width: 900px) {
  .header-phone { display: none; }
}

.mobile-nav-label {
  display: block;
  padding: 10px 20px 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #9ca3af;
}

.phone-btn {
  flex-shrink: 0;
  background-color: #4e2c94;
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.phone-btn i {
  color: #ffffff;
  margin-right: 6px;
}

.phone-btn:hover {
  background-color: #3d2375;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--purple);
  border-radius: 2px;
  transition: transform 0.22s, opacity 0.22s;
}

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

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border-light);
  padding: 8px 24px 20px;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  padding: 12px 8px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border-light);
  transition: color var(--ease);
}

.mobile-nav a:hover  { color: var(--purple); }
.mobile-nav a:last-child { border-bottom: none; }

.mobile-nav .mobile-cta {
  margin-top: 12px;
  background: var(--purple);
  color: var(--white);
  text-align: center;
  border-radius: var(--radius-sm);
  padding: 13px;
  border-bottom: none;
  font-weight: 700;
}

/* ---------- Hero Video ---------- */
/* Reusable responsive video wrapper — pairs with the padding-top ratio trick */
.video-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.hero-video-wrap {
  width: 100%;
  max-width: 900px;
  margin: 2rem auto 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0,0,0,0.18);
  background: #000;
}

/* Responsive 16:9 video wrapper — padding-bottom trick for broad iOS/tablet compatibility */
.homepage-vimeo-video {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  border-radius: 18px;
}

.homepage-vimeo-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Desktop only: shift iframe up to clip Vimeo's title bar overlay */
@media (min-width: 769px) {
  .homepage-vimeo-video iframe {
    top: -42px;
    height: calc(100% + 42px);
  }
  .homepage-vimeo-video::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 42px;
    z-index: 2;
    pointer-events: none;
  }
}

.hero-video-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.01em;
  margin-bottom: 24px;
  text-align: left;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}
.hero-video-label:hover {
  color: #ffffff;
  text-shadow: 0 0 14px rgba(255,255,255,0.4);
}

.hero-video-card {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(0,0,0,0.28);
  cursor: pointer;
  background: #000;
}

.hero-video-thumb {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  border: 0;
}

.hero-play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 68px; height: 68px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: rgba(78,44,148,0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  transition: transform 0.2s ease, background 0.2s ease;
  z-index: 2;
}

.hero-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: rgba(56,159,114,0.92);
}

.hero-video-card iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

@media (max-width: 640px) {
  .hero-video-wrap {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 18px;
    margin-bottom: 24px;
  }
  .hero-video-label { text-align: center; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, #3a1f70, #4e2c94);
  padding: 52px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 70% at 80% 45%, rgba(255,255,255,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
}

.hero-content { min-width: 0; }

/* Advisor trust badge in hero */
.hero-advisor {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 22px;
}

.hero-advisor-img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 2.5px solid rgba(255,255,255,0.38);
  box-shadow: 0 4px 14px rgba(0,0,0,0.22);
  flex-shrink: 0;
}

/* Placeholder circle when no photo yet */
.hero-advisor-placeholder {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  border: 2px dashed rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.hero-advisor-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.hero-advisor-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
}

.hero-advisor-title {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.65);
}

.hero-preheadline {
  display: inline-block;
  margin-bottom: 20px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.11);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.5px;
  line-height: 1.5;
  color: #ffffff;
  max-width: 540px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.88);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero-title {
  font-family: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(2.3rem, 4.2vw, 3.1rem);
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: #ffffff;
  margin: 0 0 20px;
  max-width: 620px;
  letter-spacing: -0.01em;
}

.hero-subtext {
  font-size: 18px;
  line-height: 1.75;
  color: rgba(255,255,255,0.86);
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 1.13rem;
  font-weight: 500;
  color: #ffffff;
}

.hero-trust span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Hero form */
.hero-form-wrap {
  width: 100%;
  max-width: 420px;
  justify-self: end;
}

.lead-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  border: none;
}

.form-header { margin-bottom: 22px; }

.form-header h3 {
  font-size: 1.2rem;
  color: var(--purple-dark);
  margin-bottom: 4px;
  font-weight: 700;
}

.form-header p {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.form-group { margin-bottom: 11px; }

.form-row {
  display: flex;
  gap: 12px;
}

.form-row .half {
  flex: 1;
}

@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
    gap: 0;
  }
}

.name-row {
  display: flex;
  gap: 12px;
}

.name-row input {
  width: 100%;
}

.name-row .form-group {
  flex: 1;
  min-width: 0;
}

/* Mobile */
@media (max-width: 600px) {
  .name-row {
    flex-direction: column;
  }
}

.form-group input,
.form-group select,
.form-group textarea,
.guide-form input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--ease), box-shadow var(--ease);
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.guide-form input:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(78,44,148,0.12);
}

.form-group input::placeholder,
.guide-form input::placeholder { color: var(--text-light); }

.lead-form .form-group select {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 14px 16px;
}

/* 2-step form */
.form-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 20px;
}
.form-step-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
  transition: background 0.2s;
}
.form-step-dot.active {
  background: var(--purple);
}
.form-step-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  margin: 0 6px;
}
.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Checkbox pill multi-select */
.check-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.check-pill {
  display: flex;
  align-items: center;
  cursor: pointer;
}
.check-pill input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.check-pill span {
  display: inline-block;
  padding: 6px 12px;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--white);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  user-select: none;
}
.check-pill input[type="checkbox"]:checked + span {
  background: var(--purple-xlight);
  border-color: var(--purple);
  color: var(--purple);
  font-weight: 600;
}
.check-pill:hover span {
  border-color: var(--purple);
  color: var(--purple);
}

.form-privacy {
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--text-light);
  text-align: center;
}

.form-message { margin-top: 10px; font-size: 0.88rem; }
.form-message.success,
.form-message:not(:empty) { color: var(--green-dark); }
.form-message.error { color: #c0392b; }

.form-error-message {
  color: #c62828;
  font-size: 12px;
  margin-top: 6px;
}
.input-error {
  border-color: #c62828 !important;
}

/* ---------- Form Consent & Policy Links ---------- */
.form-consent {
  width: 100%;
  margin: 12px 0 16px;
}

.consent-label {
  display: grid !important;
  grid-template-columns: 16px 1fr !important;
  column-gap: 10px !important;
  align-items: start !important;
  width: 100% !important;
  margin: 0 !important;
}

.consent-label input[type="checkbox"] {
  width: 16px !important;
  height: 16px !important;
  margin: 2px 0 0 0 !important;
  display: block !important;
  justify-self: start !important;
}

.consent-text {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  font-size: 12px;
  line-height: 1.5;
}

.consent-text a {
  word-break: normal;
}

/* A2P SMS consent — used on other forms (hero consultation form) */
.sms-consent {
  display: flex !important;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  line-height: 1.5;
  color: #444;
  cursor: pointer;
  margin-top: 10px;
}

.sms-consent input[type="checkbox"] {
  appearance: auto;
  -webkit-appearance: checkbox;
  width: 14px;
  height: 14px;
  min-width: 14px;
  margin-top: 3px;
  flex-shrink: 0;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  cursor: pointer;
  opacity: 1 !important;
  position: static !important;
}

.sms-consent span {
  display: block;
}

.form-consent a,
.policy-links a {
  color: #389F72;
  text-decoration: underline;
}

.policy-links {
  margin-top: 8px;
  font-size: 13px;
}

/* ---------- Trust Bar ---------- */
.trust-bar {
  background: var(--white);
  padding: 44px 20px;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.trust-container {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 0;
}

.trust-item {
  background: var(--bg);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px 18px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--ease), transform var(--ease);
}

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

.trust-item h3 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
  color: var(--purple-dark);
}

.trust-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
}

/* ---------- Hero States ---------- */
.hero-states {
  margin-top: 16px;
  font-size: 16px;
  color: #ffffff;
  line-height: 1.6;
  text-align: left;
}
.hero-states-label {
  font-weight: 600;
  color: #ffffff;
}

/* ---------- Services ---------- */
.services-section {
  background-color: #E8F6F2;
  padding: 90px 0;
}

.services-section .section-header {
  max-width: 1100px;
}

.services-section h2 {
  font-size: 56px;
  font-weight: 800;
  color: #111827;
  line-height: 1.15;
  text-align: center;
}

.services-section p {
  font-size: 26px;
  font-weight: 500;
  color: #1f2937;
  text-align: center;
  max-width: 900px;
  margin: 20px auto 60px auto;
}

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

.service-card {
  background: white;
  border-radius: 10px;
  padding: 36px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: left;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.service-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}

.service-icon--blue   { background: var(--purple-xlight); color: var(--purple); }
.service-icon--green  { background: var(--green-light);   color: var(--green-dark); }
.service-icon--amber  { background: var(--gold-light);    color: var(--gold); }
.service-icon--purple { background: var(--purple-xlight); color: var(--purple); }

.service-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: #1a1145;
  margin-bottom: 8px;
  text-align: left;
}

.service-card p {
  font-size: 17px;
  color: #3d3d4d;
  line-height: 1.6;
  margin-bottom: 16px;
  text-align: left;
}

.service-card .service-link {
  text-align: left;
  display: inline-block;
}

.service-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--purple);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease;
}

.service-link:hover { color: var(--purple-dark); text-decoration: underline; }

/* ---------- Process ---------- */
.process-section { background: var(--bg); }

.process-section .section-header { margin-bottom: 64px; }

.process-steps {
  display: flex;
  align-items: stretch;
  gap: 16px;
  margin-bottom: 52px;
}

.process-step {
  flex: 1;
  text-align: center;
  padding: 42px 30px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-light);
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
}

.step-num {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--purple), var(--purple-mid));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  font-weight: 800;
  margin: 0 auto 20px;
  box-shadow: 0 4px 14px rgba(78,44,148,0.28);
}

.process-step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--purple-dark);
  margin-bottom: 10px;
}

.process-step p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.process-arrow {
  font-size: 1.6rem;
  color: var(--purple);
  align-self: center;
  flex-shrink: 0;
  line-height: 1;
  margin-top: -10px;
  opacity: 0.35;
}

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

.process-cta .btn-lg {
  padding: 17px 42px;
  font-size: 1.05rem;
}

.btn-process-cta {
  padding: 18px 48px !important;
  font-size: 1.08rem !important;
  transition: background 0.2s ease, box-shadow 0.2s ease !important;
}

.btn-process-cta:hover {
  background: var(--purple-dark) !important;
  box-shadow: 0 6px 20px rgba(78,44,148,0.3) !important;
}

/* ---------- Create Your Own Pension Section ---------- */
.income-section {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 80px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 20px;
}

.income-section .text-content {
  max-width: 720px;
}

.income-section .text-content p {
  font-size: 20px;
  line-height: 1.8;
  margin-bottom: 26px;
}

.income-section .info-card {
  justify-self: end;
  max-width: 320px;
}

/* Retirement Income Challenge Card Improvements */
.income-highlight-card {
  width: 340px;
  padding: 24px 22px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(0,0,0,0.15);
  text-align: left;
  margin: 0;
}

.income-highlight-card .card-label {
  font-size: 11px;
  letter-spacing: 1.2px;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 6px;
}

.income-highlight-card .challenge-number {
  font-size: 40px;
  font-weight: 700;
  color: #5b3df5;
  line-height: 1.1;
  margin-bottom: 6px;
}

.challenge-stat {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  line-height: 1.5;
  margin-bottom: 10px;
}

.income-highlight-card p {
  font-size: 15px;
  line-height: 1.45;
  margin-bottom: 10px;
  color: #374151;
}

.income-highlight-card hr {
  margin: 14px 0;
  border: none;
  border-top: 1px solid #e5e7eb;
}

/* Fix spacing inside the Retirement Income Planning section */
.retirement-income-section p {
  margin-bottom: 14px;
  line-height: 1.55;
}

.retirement-income-section p:first-of-type {
  margin-bottom: 12px;
}

.retirement-income-section p:last-of-type {
  margin-bottom: 12px;
}

.retirement-income-section ul {
  margin-top: 10px;
}

.retirement-income-section li {
  margin-bottom: 6px;
}

/* Tighten paragraph spacing ONLY in the income text column */
.retirement-income-text p {
  margin-top: 0;
  margin-bottom: 12px;
  line-height: 1.5;
}

.retirement-income-text ul {
  margin-top: 10px;
}

.retirement-income-text li {
  margin-bottom: 6px;
}

.income-highlight-card {
  text-align: left !important;
}

.income-highlight-card p {
  text-align: left !important;
}

/* Larger booking button in Retirement Income section */
.retirement-income-section .btn,
.retirement-income-section .book-review-btn {
  background: #34c38f;
  color: #ffffff;
  font-size: 17px;
  font-weight: 600;
  padding: 18px 36px;
  border-radius: 10px;
  display: inline-block;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  transition: all 0.25s ease;
}

.retirement-income-section .btn:hover,
.retirement-income-section .book-review-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.25);
}

/* Retirement Income Section CTA Button */
.income-section .btn,
.income-section a.btn {
  background: #2ecc71;
  color: white;
  font-weight: 600;
  font-size: 16px;
  padding: 16px 32px;
  border-radius: 10px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
  transition: all .25s ease;
}

.income-section .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(0,0,0,0.2);
}

#pension-section .why-content,
#pension-section .why-content h2,
#pension-section .why-content h3,
#pension-section .why-content p,
#pension-section .why-content ul,
#pension-section .why-content li,
#pension-section .why-content .section-tag,
#pension-section .why-content a {
  text-align: left;
}

/* Move the white info box down */
.income-section .info-card,
.challenge-card,
.opportunity-card {
  margin-top: 60px;
}

/* Make "RETIREMENT INCOME STRATEGY" larger */
.retirement-income-strategy,
.section-label,
.strategy-label {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* ---------- Reusable Trust/Section Typography ---------- */
.trust-label {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #4f46e5;
  margin-bottom: 12px;
}
.trust-heading {
  font-size: 36px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 20px;
}
/* WHY CLIENTS TRUST LORETTA label */
.trust-section span,
.trust-section .label,
.trust-section small {
  font-size: 20px !important;
  font-weight: 800 !important;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #4f46e5;
  margin-bottom: 12px;
  display: block;
}

/* Background of Loretta section */
.trust-section {
  background-color: #EAF7F3;
  padding: 90px 0;
}

/* ===== Home Trust Section ===== */
.home-trust-section {
  background-color: #4e2c94;
  padding: 80px 0;
}

.home-trust-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 72px;
}

/* Left: text content */
.home-trust-content {
  flex: 1;
  min-width: 0;
}

.trust-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #6ee7c0;
  margin: 0 0 14px;
}

.home-trust-content h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.15rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  margin: 0 0 18px;
}

.trust-copy {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
  margin: 0 0 24px;
}

.trust-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.trust-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.97rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}

.trust-bullets li::before {
  content: "✔";
  flex-shrink: 0;
  color: #6ee7c0;
  font-size: 0.85rem;
  margin-top: 1px;
}

.trust-cta {
  display: inline-block;
  background: #38bf72;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.97rem;
  padding: 13px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
}
.trust-cta:hover {
  background: #2a9a5a;
}

/* Right: photo */
.home-trust-image-wrap {
  flex-shrink: 0;
  width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.home-trust-image {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
  aspect-ratio: 3 / 4;
  border-radius: 20px;
  box-shadow: 0 16px 56px rgba(0, 0, 0, 0.35);
  border: 3px solid rgba(255, 255, 255, 0.12);
}

.trust-image-caption {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.trust-image-caption strong {
  color: #ffffff;
  font-size: 1rem;
}

.trust-image-caption span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.83rem;
  line-height: 1.5;
}

/* ---------- Why Section ---------- */
.why-section {
  background: #EAF7F3;
  padding: 90px 0;
}

.why-section .section-tag {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #6b7280;
  text-transform: uppercase;
  margin-bottom: 10px;
  background: none;
  padding: 0;
  border-radius: 0;
}

.why-inner {
  display: flex;
  gap: 72px;
  align-items: center;
}

.why-content { flex: 1; min-width: 0; }

.why-content h2 {
  font-size: 36px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 20px;
}

.why-lead {
  font-size: 1.13rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.8;
}

.why-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.why-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 1.06rem;
  color: var(--text);
}

.check-icon {
  width: 22px;
  height: 22px;
  min-width: 22px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 800;
  margin-top: 1px;
}

/* Callout card */
.why-callout {
  width: 320px;
  flex-shrink: 0;
}

.callout-card {
  background: linear-gradient(140deg, var(--purple-dark), var(--purple-mid));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
}

.callout-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.callout-quote {
  font-size: 5.5rem;
  line-height: 0.55;
  color: rgba(255,255,255,0.15);
  font-family: 'DM Serif Display', Georgia, serif;
  margin-bottom: 18px;
  display: block;
}

.callout-card p {
  font-size: 1.02rem;
  line-height: 1.72;
  color: rgba(255,255,255,0.88);
  margin-bottom: 22px;
  font-style: italic;
  position: relative;
}

.callout-name  { font-weight: 700; font-size: 0.95rem; color: var(--white); }
.callout-title { font-size: 0.78rem; color: rgba(255,255,255,0.52); margin-top: 3px; }

/* ---------- Lead Magnet ---------- */
.lead-magnet-section {
  background: var(--purple-xlight);
  border-top: 1px solid rgba(78,44,148,0.12);
  border-bottom: 1px solid rgba(78,44,148,0.12);
  padding: 60px 0;
}

.lead-magnet-inner {
  display: flex;
  gap: 36px;
  align-items: center;
}

.lead-magnet-icon {
  width: 78px;
  height: 78px;
  background: var(--purple);
  color: var(--white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(78,44,148,0.3);
}

.lead-magnet-copy { flex: 1; min-width: 0; }

.lead-magnet-badge {
  display: inline-block;
  background: var(--purple);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.lead-magnet-copy h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  color: var(--purple-dark);
  margin-bottom: 8px;
}

.lead-magnet-copy p {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.guide-form {
  min-width: 270px;
  width: 340px;
  flex-shrink: 0;
}

.guide-form input {
  margin-bottom: 10px;
  border-color: rgba(78,44,148,0.2);
}

.guide-form input:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(78,44,148,0.12);
}

.guide-privacy {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 8px;
  text-align: center;
}

/* ---------- Guide capture section ---------- */
.guide-section {
  background: linear-gradient(135deg, #1a1145 0%, #2d1b6e 60%, #1e3a5f 100%);
  padding: 80px 0;
}

.guide-inner {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 64px;
  align-items: center;
}

/* Left copy */
.guide-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  color: #f0c060;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.guide-headline {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 18px;
}

.guide-desc {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
  margin-bottom: 28px;
}

.guide-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.guide-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255,255,255,0.88);
  font-size: 0.95rem;
  line-height: 1.5;
}

.guide-checklist li::before {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  min-width: 18px;
  background: #f0c060;
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%231a1145' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 2px;
}

/* Right form card */
.guide-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}

.guide-card-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--purple-dark);
  margin-bottom: 6px;
}

.guide-card-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 22px;
  line-height: 1.5;
}

#guide-form input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  margin-bottom: 11px;
  outline: none;
  transition: border-color var(--ease), box-shadow var(--ease);
}

#guide-form input:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(78,44,148,0.12);
}

#guide-form input::placeholder { color: var(--text-light); }

.guide-name-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.guide-btn {
  display: block;
  width: 100%;
  padding: 14px;
  background: #e8900a;
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s;
  margin-top: 4px;
}

.guide-btn:hover {
  background: #c97a08;
  box-shadow: 0 4px 16px rgba(232,144,10,0.35);
}

.guide-privacy {
  font-size: 0.78rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 12px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .guide-inner { grid-template-columns: 1fr; gap: 40px; }
  .guide-headline { font-size: 1.6rem; }
}

/* ---------- Calculators ---------- */
.calc-section { background: #4E2C94; padding-top: 100px; padding-bottom: 110px; }

.calculator-preview { padding: 100px 20px; background: #4b2e83; text-align: center; }
.calculator-heading { font-size: 40px; font-weight: 700; color: white; margin-bottom: 15px; }
.calculator-subtext { font-size: 19px; max-width: 760px; margin: 0 auto 55px auto; color: #e7e3f3; line-height: 1.6; }
.calculator-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

.calculator-title {
  font-size: 40px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  text-align: center;
}

.calculator-subtitle {
  font-size: 18px;
  color: #F3F4F6;
  text-align: center;
  max-width: 650px;
  margin: 0 auto 50px auto;
}

.calc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 340px));
  gap: 18px;
  justify-content: center;
}

.calc-card {
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 34px 30px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.calc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.08);
  border-color: var(--purple);
}

.calc-card-icon {
  width: 46px;
  height: 46px;
  background: var(--purple-xlight);
  color: var(--purple);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  flex-shrink: 0;
}

.calc-card h3 {
  font-size: 0.98rem;
  font-weight: 700;
  color: #1F2937;
  margin-bottom: 6px;
}

.calc-card p {
  font-size: 0.86rem;
  color: #4B5563;
  line-height: 1.55;
  margin-bottom: 16px;
  flex: 1;
}

.calc-link {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--purple-dark);
}

.calculator-card { background: white; border-radius: 12px; padding: 40px 35px; text-align: left; box-shadow: 0 12px 30px rgba(0,0,0,0.08); transition: all 0.25s ease; }
.calculator-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,0,0,0.15); }
.card-icon { width: 50px; height: 50px; background: #efe9fb; color: #4b2e83; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 18px; }
.calculator-card h3 { font-size: 23px; font-weight: 700; margin-bottom: 12px; color: #1e1e1e; }
.calculator-card p { font-size: 17px; line-height: 1.6; color: #555; margin-bottom: 18px; }
.card-link { font-size: 17px; font-weight: 600; color: #4b2e83; text-decoration: none; }
.card-link:hover { text-decoration: underline; }

/* ---------- Quiz CTA Block (inside calc section) ---------- */
.quiz-cta-block {
  margin-top: 60px;
  text-align: center;
  padding: 48px 24px;
  background: rgba(255,255,255,0.08);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.14);
}

.quiz-cta-headline {
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
}

.quiz-cta-text {
  font-size: 1rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto 28px;
}

.quiz-hook {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 18px;
  color: #ffffff;
  opacity: 0.9;
  text-align: center;
}

.quiz-cta-button {
  font-size: 20px;
  padding: 16px 34px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.25s ease;
}

.quiz-cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

.quiz-cta-block .btn {
  font-size: 20px;
  font-weight: 600;
  padding: 18px 36px;
  border-radius: 10px;
  transition: transform 0.2s ease, background var(--ease), box-shadow var(--ease);
}

.quiz-cta-block .btn:hover {
  transform: scale(1.05);
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: linear-gradient(135deg, #3a1f70, #4e2c94);
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(255,255,255,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  max-width: 620px;
  margin: 0 auto;
}

.cta-inner h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  margin-bottom: 16px;
}

.cta-inner p {
  color: rgba(255,255,255,0.78);
  font-size: 1.05rem;
  margin-bottom: 36px;
  line-height: 1.65;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 18px;
}

.cta-reassurance {
  color: rgba(255,255,255,0.42);
  font-size: 0.88rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(135deg, #3a1f70, #4e2c94);
  color: rgba(255,255,255,0.65);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 56px;
  padding-top: 64px;
  padding-bottom: 56px;
}

.footer-logo {
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.3;
}

.footer-tagline {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 16px;
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
}

.footer-links-group {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-links-group h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  margin-bottom: 14px;
}

.footer-links-group a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  padding: 5px 0;
  transition: color var(--ease);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
}

/* ---------- Responsive (Homepage) ---------- */
@media (max-width: 1060px) {
  .services-grid    { grid-template-columns: repeat(2, 1fr); }
  .calc-grid        { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .main-nav   { display: none; }
  .nav-toggle { display: flex; }

  /* Phone button has an inline style="display:inline-flex" — !important is required to override it.
     At tablet/mobile widths, collapse it to an icon-only tap target so it fits the header. */
  .phone-btn {
    display: inline-flex !important;
    font-size: 0 !important;          /* hides "414-441-1177" number text */
    padding: 9px 11px !important;
    gap: 0 !important;
  }
  .phone-btn i {
    font-size: 1rem !important;
    margin-right: 0 !important;
  }

  .hero-inner     { grid-template-columns: 1fr; gap: 36px; padding: 0 24px; }
  .hero-form-wrap { justify-self: center; width: 100%; max-width: 460px; margin-left: auto; margin-right: auto; }
  .hero-lead      { max-width: none; }

  .why-inner   { flex-direction: column; gap: 40px; }
  .why-callout { width: 100%; max-width: 500px; }
  .home-trust-container { flex-direction: column; gap: 40px; }
  .home-trust-image-wrap { width: 100%; max-width: 360px; }

  /* Pension section uses an inline style="display:grid; grid-template-columns:2fr 1fr"
     which normal CSS cannot override — !important is required here only */
  #pension-section .why-inner {
    display: flex !important;
    flex-direction: column !important;
    gap: 32px !important;
  }
  #pension-section .why-content {
    max-width: 100% !important;
    min-width: 0 !important;
    width: 100% !important;
  }
  #pension-section .why-callout {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    justify-self: unset !important;
  }

  .lead-magnet-inner { flex-wrap: wrap; }
  .guide-form        { width: 100%; }

  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  section { padding: 56px 0; }
  .section-header { margin-bottom: 36px; }

  .hero-title   { font-size: 2.4rem; }
  .hero-subtext { font-size: 16px; }

  .trust-container { grid-template-columns: repeat(2, 1fr); }
  .services-grid   { grid-template-columns: 1fr; }
  .calc-grid       { grid-template-columns: 1fr 1fr; }

  .process-steps { flex-direction: column; }
  .process-arrow { display: none; }
  .process-step  { width: 100%; }

  .hero-ctas      { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }

  .cta-buttons      { flex-direction: column; align-items: center; }
  .cta-buttons .btn { width: 100%; max-width: 340px; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: 1; }

  .lead-magnet-icon { display: none; }
}

/* ---------- Mobile header (768px and below) ---------- */
@media (max-width: 768px) {

  /* Prevent the sticky header from being wider than the viewport */
  .site-header { overflow-x: hidden; }

  /* Reduce header bar height — desktop is 100px, too tall for phones */
  .header-inner {
    height: auto !important;
    min-height: 60px !important;
    padding: 8px 16px !important;
    box-sizing: border-box !important;
    gap: 8px !important;
  }

  /* Scale logo image down from 68px */
  .logo-img  { height: 40px !important; }

  /* Tighten gap between logo image and text */
  .logo-text { gap: 3px !important; }

  /* Scale logo wordmark */
  .logo-name { font-size: 1.05rem !important; letter-spacing: 0 !important; }
  .logo-sub  { font-size: 0.68rem !important; }

  /* Mobile nav drawer — ensure it doesn't overflow */
  .mobile-nav {
    padding: 6px 16px 16px !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  /* Tappable link rows */
  .mobile-nav a {
    padding: 13px 8px !important;
    font-size: 1rem !important;
  }

  /* Section labels in mobile nav */
  .mobile-nav-label {
    padding: 14px 8px 4px !important;
  }

  /* Book Consultation CTA button in mobile nav */
  .mobile-nav .mobile-cta {
    margin-top: 14px !important;
    padding: 14px !important;
    font-size: 1rem !important;
  }
}

/* ---------- Homepage mobile fixes (768px and below) ---------- */
@media (max-width: 768px) {

  /* Prevent horizontal scroll */
  html, body {
    overflow-x: hidden;
    max-width: 100%;
  }

  /* All iframes stay within the viewport */
  iframe {
    max-width: 100% !important;
  }

  /* Homepage: all inputs, selects, buttons stay inside the screen */
  .homepage input,
  .homepage select,
  .homepage textarea,
  .homepage button {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  /* Homepage: all buttons/CTAs stay inside the screen */
  .homepage .btn,
  .homepage a.btn {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  /* Homepage: generic labels wrap normally */
  .homepage label {
    white-space: normal !important;
    overflow-wrap: break-word !important;
  }

  /* SMS consent: checkbox left, text right
     Must use #lead in selector to beat .homepage #lead input { width:100% !important }
     (ID specificity outranks class specificity) */
  .homepage #lead .sms-consent {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .homepage #lead .sms-consent input[type="checkbox"] {
    flex: 0 0 18px !important;
    width: 18px !important;
    max-width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    margin-top: 3px !important;
  }
  .homepage #lead .sms-consent span {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: 100% !important;
    font-size: 11px !important;
    line-height: 1.5 !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
    writing-mode: horizontal-tb !important;
  }

  /* ── Hero CTA button and video spacing ─────────────────────────
     .homepage-vimeo-video = video wrapper
     .hero-ctas             = div wrapping the CTA button
     .btn-hero              = the CTA button itself */
  .homepage-vimeo-video {
    margin-bottom: 18px !important;
  }
  .homepage .hero-ctas {
    margin-top: 0 !important;
    margin-bottom: 24px !important;
  }
  .homepage .btn-hero {
    width: 92% !important;
    max-width: 92% !important;
    font-size: 1rem !important;
    line-height: 1.3 !important;
    padding: 14px 18px !important;
    text-align: center !important;
    white-space: normal !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }
  .homepage .hero-content {
    padding-bottom: 10px !important;
  }

  /* ── 1. CONSULTATION FORM SECTION ──────────────────────────────
     .hero-form-wrap  = transparent grid column wrapping the white card
     .lead-form / #lead = the white card itself
     960px rule sets: max-width:460px; justify-self:center — clear both */
  .homepage .hero-form-wrap {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    justify-self: unset !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .homepage .lead-form,
  .homepage #lead {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 16px !important;
    box-sizing: border-box !important;
  }
  .homepage .lead-form input,
  .homepage .lead-form select,
  .homepage .lead-form textarea,
  .homepage .lead-form button,
  .homepage #lead input,
  .homepage #lead select,
  .homepage #lead textarea,
  .homepage #lead button {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  /* Submit button — .btn base has white-space:nowrap & line-height:1 which clips text on mobile */
  .homepage #lead button[type="button"],
  .homepage #lead-continue {
    display: block !important;
    white-space: normal !important;
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
    line-height: 1.25 !important;
    font-size: 0.93rem !important;
    padding: 14px 16px !important;
    text-align: center !important;
    margin-top: 4px !important;
  }
  /* First/last name row — stacks to single column on mobile */
  .homepage .name-row {
    flex-direction: column !important;
  }

  /* ── 2. CTA BUTTON SECTION ─────────────────────────────────────
     .process-cta = centered div wrapping the button
     .btn-process-cta = "Book Your Free Retirement Consultation" button
     Base CSS: padding: 18px 48px !important — too wide on phones */
  .process-cta {
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
  }
  .btn-process-cta {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 16px 20px !important;
    box-sizing: border-box !important;
    text-align: center !important;
    white-space: normal !important;
    word-break: normal !important;
  }

  /* ── 3. RETIREMENT INCOME PLANNING SECTION ─────────────────────
     id="pension-section" class="services-section"
     .why-inner has INLINE style="display:grid; grid-template-columns:2fr 1fr; gap:100px"
     !important required throughout to override inline styles */
  #pension-section {
    overflow-x: hidden !important;
  }
  #pension-section .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
  }
  #pension-section .why-inner {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  /* .why-content: inline style="max-width:760px" */
  #pension-section .why-content {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    grid-column: 1 !important;
    box-sizing: border-box !important;
  }
  /* .why-callout: inline style="justify-self:end; width:340px" */
  #pension-section .why-callout {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    grid-column: 1 !important;
    justify-self: unset !important;
    box-sizing: border-box !important;
  }
  /* .income-highlight-card: CSS width:340px */
  #pension-section .income-highlight-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  #pension-section h2,
  #pension-section h3,
  #pension-section p,
  #pension-section li,
  #pension-section .section-tag,
  #pension-section .why-lead {
    overflow-wrap: break-word !important;
    word-break: normal !important;
    white-space: normal !important;
    max-width: 100% !important;
  }

  /* ── 4. VIMEO VIDEO (hero section) ─────────────────────────────
     .homepage-vimeo-video = div wrapping the iframe inside .hero-content */
  .homepage-vimeo-video {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding-bottom: 56.25% !important;
    height: 0 !important;
    overflow: hidden !important;
    border-radius: 18px !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .homepage-vimeo-video iframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    border: 0 !important;
  }
}

@media (max-width: 900px) {
  .calculator-cards { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
  .calc-grid        { grid-template-columns: 1fr; }
  .hero-preheadline { font-size: 13px; padding: 7px 12px; }
  .hero-title       { font-size: 2rem; }
  .trust-container  { grid-template-columns: 1fr; }
}

/* ---------- AI chat widget: reduce footprint on mobile ---------- */
@media (max-width: 768px) {
  /* Launcher button — bottom-right corner, does not float over content */
  #plfs-ai-launcher {
    width: 46px;
    height: 46px;
    right: 10px;
    bottom: 10px;
    font-size: 19px;
  }
  /* Preview bubble — narrow so it does not cover form or video */
  #plfs-ai-nudge {
    right: 10px;
    bottom: 64px;
    max-width: 140px;
    font-size: 12px;
    line-height: 1.35;
  }
  /* Chat panel — full-width minus safe insets */
  #plfs-ai-panel {
    right: 8px;
    left: 8px;
    bottom: 64px;
    width: auto;
    border-radius: 16px;
  }
}

/* ============================================================
   INTERIOR PAGE STYLES
   ============================================================ */

/* Page Hero */
.page-hero {
  background: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple) 60%, var(--purple-mid) 100%);
  padding: 60px 0 72px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 75% 50%, rgba(255,255,255,0.04), transparent 70%);
  pointer-events: none;
}

.page-hero-inner { position: relative; max-width: 740px; }

.page-hero-tag {
  display: inline-block;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}

.page-hero h1 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin-bottom: 16px;
  line-height: 1.15;
}

.page-hero p {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 600px;
}

.page-hero .hero-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Page Layout */
.page-main { padding: 60px 0 80px; }

.page-layout {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 52px;
  align-items: start;
}

/* Sticky Sidebar */
.sidebar-cta {
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  position: sticky;
  top: 84px;
  box-shadow: var(--shadow-sm);
}

.sidebar-cta h3 { font-size: 1.05rem; color: var(--purple-dark); margin-bottom: 8px; }
.sidebar-cta p  { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 16px; line-height: 1.6; }
.sidebar-cta .btn { width: 100%; margin-bottom: 8px; text-align: center; }

.sidebar-links {
  list-style: none;
  margin-top: 18px;
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sidebar-links li {
  font-size: 0.86rem;
  color: var(--text-muted);
  padding: 7px 0;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-links li:last-child { border-bottom: none; }

.sidebar-links a { color: var(--purple); text-decoration: none; font-weight: 500; }
.sidebar-links a:hover { text-decoration: underline; }

/* Content Sections */
.content-section { margin-bottom: 52px; }

.content-section h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--purple-dark);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border-light);
}

.content-section h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--purple-dark);
  margin: 22px 0 8px;
}

.content-section p {
  font-size: 0.97rem;
  color: var(--text);
  line-height: 1.78;
  margin-bottom: 12px;
}

.content-section ul,
.content-section ol {
  margin: 10px 0 14px 20px;
  color: var(--text);
  font-size: 0.97rem;
  line-height: 1.78;
}

.content-section li { margin-bottom: 6px; }

/* Info Card Grid */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.info-card {
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: box-shadow var(--ease), border-color var(--ease);
}

.info-card:hover { box-shadow: var(--shadow-sm); border-color: var(--purple); }

.info-card-icon {
  width: 42px;
  height: 42px;
  background: var(--purple-xlight);
  color: var(--purple);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.info-card h3 { font-size: 1rem;   color: var(--purple-dark); margin: 0 0 8px; }
.info-card p  { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* Highlight Boxes */
.highlight-box {
  background: var(--purple-xlight);
  border-left: 4px solid var(--purple);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin: 18px 0;
}

.highlight-box p { margin: 0; font-size: 0.97rem; color: var(--purple-dark); font-weight: 500; line-height: 1.65; }

.highlight-amber {
  background: var(--green-light);
  border-left-color: var(--green);
}

.highlight-amber p { color: var(--green-dark); }

/* Check List */
.check-list {
  list-style: none;
  margin: 12px 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.97rem;
  color: var(--text);
  line-height: 1.65;
}

.check-list li::before {
  content: '✓';
  width: 20px;
  height: 20px;
  min-width: 20px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  margin-top: 2px;
}

/* Step List */
.step-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  counter-reset: steps;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.step-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  counter-increment: steps;
  font-size: 0.97rem;
  color: var(--text);
  line-height: 1.7;
}

.step-list li::before {
  content: counter(steps);
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: var(--purple);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  margin-top: 2px;
}

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 10px; list-style: none; padding: 0; margin: 0; }

.faq-item {
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 16px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--purple-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: background var(--ease);
}

.faq-question:hover { background: var(--purple-xlight); }
.faq-item.open .faq-question { background: var(--purple-xlight); color: var(--purple); }

.faq-chevron { font-size: 1.1rem; color: var(--text-muted); transition: transform 0.2s; flex-shrink: 0; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }

.faq-answer { display: none; padding: 0 20px 16px; font-size: 0.94rem; color: var(--text); line-height: 1.75; }
.faq-answer p { margin: 0 0 8px; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-item.open .faq-answer { display: block; }

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--purple-dark), var(--purple));
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  margin-top: 56px;
  box-shadow: 0 8px 32px rgba(78,44,148,0.22);
}

.cta-banner h2 { color: #fff; margin-bottom: 12px; font-size: 1.55rem; }
.cta-banner p  { color: rgba(255,255,255,0.78); margin-bottom: 26px; line-height: 1.65; }
.cta-banner .btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.cta-banner-light {
  background: #ffffff;
  box-shadow: none;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  padding-top: 56px;
  padding-bottom: 56px;
}
.cta-banner-light h2 { color: var(--purple-dark); }
.cta-banner-light p  { color: var(--text); }

.calculator-cta {
  background: #ffffff;
  padding: 70px 20px;
  text-align: center;
}
.cta-container {
  max-width: 720px;
  margin: 0 auto;
}
.cta-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 18px;
  color: #2c2c2c;
}
.cta-text {
  font-size: 18px;
  max-width: 720px;
  margin: 0 auto 30px auto;
  line-height: 1.6;
  color: #555;
}
.cta-button {
  display: inline-block;
  background-color: #3aa76d;
  color: white;
  font-size: 18px;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.25s ease;
}
.cta-button:hover {
  background-color: #2f8c5a;
}

.calculator-tabs {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 20px;
  margin-bottom: 30px;
}
.calculator-tabs a {
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  color: #4b2e83;
}

/* Two-column text */
.two-col-text { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 14px 0; }

/* Comparison Table */
.comparison-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 0.92rem; }

.comparison-table th,
.comparison-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border-light); }

.comparison-table th { background: var(--purple-dark); color: #fff; font-weight: 600; }
.comparison-table tr:nth-child(even) td { background: var(--bg); }

/* Myth card */
.myth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 16px 0; }

.myth-card {
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
}

.myth-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 10px;
}

.myth-label.myth { background: #fdecea; color: #c0392b; }
.myth-label.fact { background: var(--green-light); color: var(--green-dark); }

.myth-card p { font-size: 0.92rem; color: var(--text); line-height: 1.65; margin: 0; }

/* Book page */
.book-layout {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 56px;
  align-items: start;
  padding: 64px 0 80px;
}

.book-why h2 { color: var(--purple-dark); margin-bottom: 16px; font-size: 1.5rem; }
.book-why p  { color: var(--text-muted); line-height: 1.75; margin-bottom: 14px; font-size: 0.97rem; }

/* ---------- Guide Section ---------- */
.guide-section {
  background: var(--bg);
  padding: 72px 0;
}

.guide-layout {
  display: flex;
  gap: 56px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.guide-copy {
  flex: 1;
  min-width: 280px;
}

.guide-label {
  display: inline-block;
  background: var(--amber);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.guide-headline {
  color: var(--purple-dark);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.25;
  max-width: 680px;
  margin-bottom: 10px;
}

.guide-byline {
  font-size: 0.88rem;
  color: #6b7280;
  font-style: italic;
  margin-bottom: 18px;
}

.guide-intro {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 640px;
  margin-bottom: 24px;
}

.guide-bullets li div {
  font-size: 1.05rem;
  line-height: 1.65;
}

.guide-form-wrap {
  flex-shrink: 0;
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.10);
  padding: 32px 28px;
}

.guide-form-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--purple-dark);
  margin-bottom: 6px;
}

.guide-form-sub {
  font-size: 0.92rem;
  color: #6b7280;
  margin-bottom: 20px;
}

.guide-submit-btn {
  margin-top: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 18px 20px;
}

.form-primary-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 8px;
  padding: 18px 20px;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: inherit;
  color: #fff;
  background: var(--green, #389f72);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.18s, transform 0.12s, box-shadow 0.18s;
  box-shadow: 0 4px 14px rgba(56,159,114,0.28);
  white-space: normal;
  word-break: keep-all;
  box-sizing: border-box;
}
.form-primary-btn:hover {
  background: var(--green-dark, #2a9a5a);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(56,159,114,0.35);
}
.form-primary-btn:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .guide-layout { flex-direction: column; }
  .guide-headline { font-size: 1.5rem; line-height: 1.25; }

  /* Form card */
  .guide-form-wrap {
    max-width: 100%;
    padding: 24px 20px;
    box-sizing: border-box;
  }

  /* Form card title — longer title needs smaller size on mobile */
  .guide-form-title {
    font-size: 1.2rem;
    line-height: 1.25;
  }

  /* Supporting text */
  .guide-form-sub {
    font-size: 0.92rem;
    line-height: 1.6;
  }

  /* All inputs/selects inside the guide form */
  .guide-form-wrap input,
  .guide-form-wrap select,
  .guide-form-wrap textarea {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  /* Submit button — .btn base has white-space:nowrap which clips text */
  .guide-form-wrap .guide-submit-btn,
  .guide-form-wrap button[type="submit"] {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: break-word;
    line-height: 1.25;
    font-size: 0.95rem;
    padding: 14px 16px;
    text-align: center;
    box-sizing: border-box;
  }

  /* SMS consent row inside guide form */
  .guide-form-wrap .sms-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .guide-form-wrap .sms-consent input[type="checkbox"] {
    flex: 0 0 18px;
    width: 18px;
    max-width: 18px;
    min-width: 18px;
    height: 18px;
    margin-top: 3px;
  }
  .guide-form-wrap .sms-consent span {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    max-width: 100%;
    font-size: 11px;
    line-height: 1.5;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
    writing-mode: horizontal-tb;
  }
}

.book-form-wrap {
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 30px 30px;
  position: sticky;
  top: 100px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.book-calendar-card h2   { color: var(--purple-dark); margin-bottom: 6px; font-size: 1.25rem; }
.book-calendar-card .book-sub { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 20px; }

.calendar-placeholder {
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light, #f8f8fb);
}
.calendar-placeholder-inner {
  text-align: center;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text);
}

.book-form-wrap h2   { color: var(--purple-dark); margin-bottom: 6px; font-size: 1.25rem; }
.book-form-wrap .book-sub { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 22px; }

.book-form label { display: block; font-size: 0.86rem; font-weight: 600; color: var(--text); margin-bottom: 5px; }

.book-form input:not([type="checkbox"]),
.book-form select,
.book-form textarea {
  width: 100%;
  height: 42px;
  padding: 0 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  outline: none;
  appearance: none;
  transition: border-color var(--ease);
  margin-bottom: 12px;
}

.book-form input:focus,
.book-form select:focus,
.book-form textarea:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(78,44,148,0.1); }

.book-form button[type="submit"],
.book-form .btn {
  height: 48px;
  font-weight: 600;
  width: 100%;
}

/* Resources */
.resources-hero {
  background: linear-gradient(135deg, var(--purple-dark), var(--purple));
  padding: 52px 0;
  text-align: center;
}

.resources-hero h1 { color: #fff; margin-bottom: 10px; }
.resources-hero p  { color: rgba(255,255,255,0.78); font-size: 1.05rem; }
.resources-body    { padding: 60px 0; }

.resource-category { margin-bottom: 56px; }

.resource-category-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--border-light);
}

.resource-category-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.resource-category-header h2 { font-size: 1.3rem; color: var(--purple-dark); margin: 0; }

.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.resource-card {
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.resource-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--purple); }

.resource-card-type { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--purple); margin-bottom: 8px; }
.resource-card h3   { font-size: 0.97rem; font-weight: 700; color: var(--purple-dark); margin-bottom: 8px; line-height: 1.4; }
.resource-card p    { font-size: 0.86rem; color: var(--text-muted); line-height: 1.6; flex: 1; margin: 0 0 14px; }
.resource-card-link { font-size: 0.84rem; font-weight: 600; color: var(--purple); }

/* ============================================================
   CALCULATOR PAGE STYLES
   ============================================================ */

.calc-page-hero {
  background: linear-gradient(135deg, var(--purple-dark), var(--purple));
  padding: 52px 0;
  text-align: center;
}

.calc-page-hero h1 { color: #fff; margin-bottom: 10px; }
.calc-page-hero p  { color: rgba(255,255,255,0.78); font-size: 1.2rem; }

.calc-trust-strip {
  background: var(--white);
  border-bottom: 1px solid #e5e7eb;
  padding: 18px 0;
  text-align: center;
}
.calc-trust-headline {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--purple-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.calc-trust-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 28px;
  margin: 0;
  padding: 0;
}
.calc-trust-list li {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 7px;
}
.calc-trust-list li i {
  color: var(--green);
  font-size: 0.95rem;
}

/* ── Calculators page — mobile fixes (768px and below) ─────────── */
@media (max-width: 768px) {

  /* Hero — tighten padding and scale h1 down to a clean readable size.
     No font-size is set on .calc-page-hero h1 in base CSS so the browser
     UA default (~2em) applies; setting it explicitly removes the awkward break. */
  .calc-page-hero {
    padding: 36px 0;
  }
  .calc-page-hero h1 {
    font-size: 1.9rem;
    line-height: 1.1;
    margin-bottom: 12px;
  }
  .calc-page-hero p {
    font-size: 1rem;
    line-height: 1.55;
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
  }

  /* Trust strip — desktop uses flex-wrap:wrap + center which causes uneven rows on mobile
     because "Serving Clients in Wisconsin…" is long enough to sit alone on a row.
     Stack items into a single left-aligned column instead. */
  .calc-trust-strip {
    padding: 20px 0;
  }
  .calc-trust-headline {
    text-align: center;
    margin-bottom: 14px;
  }
  .calc-trust-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 0 4px;
  }
  .calc-trust-list li {
    align-items: flex-start;
    gap: 10px;
    text-align: left;
    line-height: 1.45;
  }
  /* Pin the icon so it never stretches or shifts when text wraps */
  .calc-trust-list li i {
    flex-shrink: 0;
    margin-top: 3px;
  }

  /* ── Calculator tab nav ──────────────────────────────────────────
     Problem 1: .calculator-tabs (homepage class also on this nav) adds
       margin-top:20px, margin-bottom:30px, gap:40px, justify-content:center
       which creates gaps exposing the sage-green page background behind the
       white sticky bar — the "decorative bleed" effect.
     Problem 2: overflow-x:auto is on the outer nav but the actual flex
       children live in .calc-nav-inner, so scrolling was broken.
     Problem 3: each .calc-tab-link is padding:20px 36px at 1.15rem —
       three tabs total ~570px, far wider than a 375px phone.
     Problem 4: sticky top:64px is 4px off from the new 60px mobile header. */

  /* Strip the homepage-targeted margins/centering from the nav wrapper */
  .calc-nav-tabs {
    top: 60px !important;      /* match mobile header min-height */
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    overflow-x: hidden;        /* scroll lives on .calc-nav-inner below */
  }

  /* Move the scroll behaviour to the inner container that holds the tabs */
  .calc-nav-inner {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;          /* Firefox */
    -ms-overflow-style: none;       /* IE/Edge */
    padding: 0 12px;
    gap: 0;                         /* cancel any inherited gap */
    justify-content: flex-start;    /* don't centre — start from left edge */
  }
  .calc-nav-inner::-webkit-scrollbar { display: none; }

  /* Compact each tab link so all three fit without scrolling on most phones,
     and scroll smoothly on the narrowest devices if still needed */
  .calc-tab-link {
    flex: 0 0 auto;                 /* never shrink or stretch */
    padding: 14px 14px !important;
    font-size: 0.88rem !important;
    letter-spacing: 0;
  }
}

.calc-nav-tabs {
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  overflow-x: auto;
  position: sticky;
  top: 64px;
  z-index: 50;
}

.calc-nav-inner {
  display: flex;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.calc-tab-link {
  padding: 20px 36px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 4px solid transparent;
  white-space: nowrap;
  transition: color var(--ease), border-color var(--ease);
  display: block;
  letter-spacing: 0.01em;
}

.calc-tab-link:hover  { color: var(--purple); }
.calc-tab-link.active { color: var(--purple); border-bottom-color: var(--purple); }

.calc-section-block { padding: 64px 0; }
.calc-section-block:nth-child(even) { background: var(--white); }

.calc-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}

.calc-form-panel {
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.calc-form-panel h2 { font-size: 1.45rem; color: var(--purple-dark); margin-bottom: 6px; }

.calc-desc { font-size: 1.02rem; color: var(--text-muted); margin-bottom: 22px; line-height: 1.6; }

.calc-field { margin-bottom: 15px; }

.calc-field label { display: block; font-size: 1.05rem; font-weight: 600; color: var(--text); margin-bottom: 5px; }

.calc-field input,
.calc-field select {
  width: 100%;
  padding: 10px 13px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  outline: none;
  appearance: none;
  transition: border-color var(--ease);
}

.calc-field input:focus,
.calc-field select:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(78,44,148,0.1); }

.calc-field .hint { font-size: 0.9rem; color: var(--text-light); margin-top: 3px; }

.calc-result-panel {
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 30px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.calc-result-empty { text-align: center; color: var(--text-light); }
.calc-result-empty-icon { font-size: 2.8rem; margin-bottom: 10px; opacity: 0.4; }
.calc-result-empty p    { font-size: 0.92rem; }

.calc-result-content      { display: none; }
.calc-result-content.show { display: block; }

.result-eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.result-primary {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--purple-dark);
  line-height: 1;
  margin-bottom: 4px;
}

.result-primary-label { font-size: 1rem; color: var(--text-muted); margin-bottom: 20px; }

.result-breakdown {
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.result-row { display: flex; justify-content: space-between; align-items: center; font-size: 1.02rem; }

.r-label             { color: var(--text-muted); }
.r-value             { font-weight: 600; color: var(--text); }
.r-value.highlight   { color: var(--purple-dark); font-size: 0.97rem; }
.r-value.alert       { color: #c0392b; }
.r-value.good        { color: var(--green-dark); }

.result-note {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 16px;
  font-style: italic;
}

.result-cta-btn {
  display: block;
  background: var(--green);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  text-align: center;
  transition: background var(--ease);
}

.result-cta-btn:hover { background: var(--green-dark); }

/* Quiz */
.quiz-step        { display: none; }
.quiz-step.active { display: block; }

.quiz-progress-bar  { background: var(--border-light); height: 6px; border-radius: 999px; margin-bottom: 22px; overflow: hidden; }
.quiz-progress-fill { height: 100%; background: var(--purple); border-radius: 999px; transition: width 0.3s ease; }

.quiz-step-label { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 6px; }
.quiz-question   { font-size: 1.02rem; font-weight: 700; color: var(--purple-dark); margin-bottom: 16px; }

.quiz-options { display: flex; flex-direction: column; gap: 9px; }

.quiz-option {
  padding: 12px 16px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 0.92rem;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: border-color var(--ease), background var(--ease), color var(--ease);
}

.quiz-option:hover    { border-color: var(--purple); background: var(--purple-xlight); color: var(--purple-dark); }
.quiz-option.selected { border-color: var(--purple-dark); background: var(--purple); color: #fff; }

.quiz-nav { display: flex; justify-content: space-between; margin-top: 18px; }

.score-display { text-align: center; padding: 20px 0; }

.score-ring {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 8px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  margin: 0 auto 14px;
}

.score-ring.low    { border-color: #e74c3c; color: #e74c3c; }
.score-ring.medium { border-color: var(--gold); color: var(--gold); }
.score-ring.high   { border-color: var(--green); color: var(--green-dark); }

.score-label           { font-size: 1.15rem; font-weight: 700; color: var(--purple-dark); margin-bottom: 8px; }
.score-interpretation  { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 18px; }

/* ---------- Responsive Interior ---------- */
@media (max-width: 960px) {
  .page-layout    { grid-template-columns: 1fr; }
  .sidebar-cta    { position: static; }
  .book-layout    { grid-template-columns: 1fr; }
  .book-form-wrap { position: static; }
  .two-col-text   { grid-template-columns: 1fr; }
  .myth-grid      { grid-template-columns: 1fr; }
}

@media (max-width: 800px) {
  .calc-wrapper { grid-template-columns: 1fr; }
}

/* ── Calculator form panels — mobile typography & padding ──────────
   Base: .calc-form-panel h2 is 1.45rem with 30px padding on all sides.
   On a phone (375px - 60px padding = 315px usable), "Life Insurance
   Coverage Calculator" at 1.45rem bold wraps unevenly. Tighten both. */
@media (max-width: 768px) {
  .calc-form-panel {
    padding: 22px 18px;
  }
  .calc-form-panel h2 {
    font-size: 1.2rem;
    line-height: 1.2;
    margin-bottom: 8px;
  }
  .calc-desc {
    font-size: 0.95rem;
    margin-bottom: 16px;
  }
}

/* ── Service cards — mobile typography & padding ────────────────────
   Base: .service-card h3 is 22px with 36px padding. On a 1-col mobile
   layout (680px and below) the padding eats usable width and the 22px
   heading wraps mid-word on short titles. Reduce both. */
@media (max-width: 680px) {
  .service-card {
    padding: 24px 22px;
  }
  .service-card h3 {
    font-size: 1.15rem;
    line-height: 1.2;
    margin-bottom: 8px;
  }
  .service-card p {
    font-size: 0.95rem;
    margin-bottom: 12px;
  }
}

@media (max-width: 640px) {
  .cta-banner     { padding: 32px 22px; }
  .page-hero      { padding: 44px 0 52px; }
  .book-form-wrap { padding: 26px 20px; }
}

/* ---------- Testimonials ---------- */
.testimonials-section {
  background: #f9fafb;
  padding: 100px 0 110px;
}

.testimonials-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1F2937;
  text-align: center;
  margin-bottom: 12px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.testimonials-subtitle {
  font-size: 1.05rem;
  color: #4B5563;
  text-align: center;
  max-width: 620px;
  margin: 0 auto 56px;
  line-height: 1.65;
}

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

.testimonial-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.07);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid #e5e7eb;
  text-align: left;
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: 2px;
}

.testimonial-body {
  font-size: 0.97rem;
  color: #374151;
  line-height: 1.8;
  flex: 1;
}

.testimonial-author {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1f2937;
  margin-top: 4px;
}

@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-title {
    font-size: 1.5rem;
  }
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */

.about-hero {
  background: linear-gradient(140deg, var(--purple-dark) 0%, var(--purple) 60%, var(--purple-mid) 100%);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 70% at 82% 50%, rgba(255,255,255,0.04), transparent 65%);
  pointer-events: none;
}

.about-hero-inner {
  position: relative;
  display: flex;
  gap: 64px;
  align-items: center;
}

.about-hero-content { flex: 1; min-width: 0; }

.about-hero-content h1 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
  line-height: 1.1;
}

.about-hero-content p {
  color: rgba(255,255,255,0.84);
  font-size: 1.08rem;
  line-height: 1.72;
  max-width: 540px;
}

.about-hero-photo { flex-shrink: 0; width: 280px; }

.about-hero-photo img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-lg);
  border: 3px solid rgba(255,255,255,0.15);
  box-shadow: 0 24px 64px rgba(0,0,0,0.28);
  display: block;
}

.about-photo-placeholder {
  width: 100%;
  height: 360px;
  background: rgba(255,255,255,0.1);
  border: 2px dashed rgba(255,255,255,0.3);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.86rem;
  gap: 8px;
  text-align: center;
  padding: 20px;
}

.about-main { padding: 72px 0 88px; }

.about-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  align-items: start;
}

.about-bio-section { margin-bottom: 48px; }

.about-bio-section h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--purple-dark);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border-light);
}

.about-bio-section p {
  font-size: 0.97rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 14px;
}

.credentials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 16px;
}

.credential-item {
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.credential-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  background: var(--purple-xlight);
  color: var(--purple);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.credential-item h4 { font-size: 0.92rem; font-weight: 700; color: var(--purple-dark); margin-bottom: 3px; }
.credential-item p  { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; margin: 0; }

.about-sidebar {
  position: sticky;
  top: 84px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-photo-sidebar img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  object-position: top center;
  max-height: 380px;
  display: block;
}

.about-photo-placeholder-sm {
  width: 100%;
  height: 300px;
  background: var(--purple-xlight);
  border: 2px dashed rgba(78,44,148,0.22);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.86rem;
  gap: 8px;
  text-align: center;
  padding: 20px;
}

@media (max-width: 960px) {
  .about-hero-inner { flex-direction: column; gap: 36px; }
  .about-hero-photo { width: 100%; max-width: 300px; margin: 0 auto; }
  .about-layout     { grid-template-columns: 1fr; }
  .about-sidebar    { position: static; }
  .credentials-grid { grid-template-columns: 1fr; }
}

/* ── Roth Conversion page: FAQ mobile overrides ─────────────────────────────
   Exact selectors confirmed from roth-conversion.html markup:
     ul.faq-list  li.faq-item  button.faq-question  span.faq-chevron  div.faq-answer
   All inside div.roth-page-body inside main.page-main
   Written at end of file — last rule wins.                                  */
@media (max-width: 767px) {

  /* Section container — trim top/bottom space */
  .roth-page-body .content-section {
    padding-top: 20px !important;
    padding-bottom: 16px !important;
  }

  /* FAQ heading */
  .roth-page-body .content-section > h2 {
    font-size: 1.2rem !important;
    line-height: 1.2 !important;
    margin-top: 0 !important;
    margin-bottom: 14px !important;
  }

  /* Card list — tighter gap */
  .roth-page-body .faq-list {
    gap: 6px !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Each card */
  .roth-page-body .faq-item {
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    min-height: 0 !important;
  }

  /* Clickable question button — noticeably tighter padding */
  .roth-page-body .faq-item .faq-question {
    padding: 10px 12px !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    min-height: 0 !important;
    gap: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Arrow chevron — pinned right, vertically centered */
  .roth-page-body .faq-item .faq-chevron {
    font-size: 0.8rem !important;
    flex: 0 0 auto !important;
    align-self: center !important;
    margin-left: 6px !important;
  }

  /* Answer body — compact */
  .roth-page-body .faq-item .faq-answer {
    padding: 0 12px 10px !important;
    font-size: 0.87rem !important;
    line-height: 1.58 !important;
  }
}

