/* ================================================================
   Joseph & Mary NCPA Insurance Services — styles.css
   Premium Arizona Insurance Landing Page
   ================================================================ */

/* ── CSS Variables ────────────────────────────────────────────── */
:root {
  --color-navy:       #1a2640;
  --color-navy-dark:  #111a2e;
  --color-navy-mid:   #243352;
  --color-charcoal:   #2c3444;
  --color-slate:      #4a5568;
  --color-muted:      #718096;
  --color-cream:      #faf8f4;
  --color-offwhite:   #f4f2ee;
  --color-white:      #ffffff;
  --color-gold:       #c8922a;
  --color-gold-light: #e0b060;
  --color-gold-pale:  #f8f0e0;
  --color-copper:     #b07040;
  --color-border:     #e2ddd6;
  --color-success:    #38a169;

  --shadow-soft:   0 2px 8px rgba(26,38,64,0.07);
  --shadow-medium: 0 4px 20px rgba(26,38,64,0.11);
  --shadow-large:  0 8px 40px rgba(26,38,64,0.15);
  --shadow-gold:   0 4px 20px rgba(200,146,42,0.28);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  --container-width: 1180px;

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --transition: 0.22s ease;
  --transition-slow: 0.38s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-charcoal);
  background-color: var(--color-cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul, ol { list-style: none; }

button {
  cursor: pointer;
  font-family: var(--font-body);
  border: none;
  background: none;
}

fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

/* ── Container ────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* ── Section Base ─────────────────────────────────────────────── */
.section {
  padding-block: 5rem;
}

/* ── Typography Helpers ───────────────────────────────────────── */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.75rem;
  display: block;
}

.section-header {
  max-width: 680px;
  margin-bottom: 3rem;
}

.section-header.centered {
  margin-inline: auto;
  text-align: center;
}

.section-header h2,
.section-header h3 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.22;
  margin-bottom: 0.9rem;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--color-slate);
  line-height: 1.72;
}

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.72rem 1.65rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid transparent;
  line-height: 1;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 3px;
}

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

.btn-full {
  width: 100%;
  justify-content: center;
}

/* Primary — Gold */
.btn-primary,
.btn.btn-primary {
  background: var(--color-gold);
  color: var(--color-white);
  border-color: var(--color-gold);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--color-copper);
  border-color: var(--color-copper);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

/* Gold variant (final CTA) */
.btn-gold {
  background: var(--color-gold);
  color: var(--color-white);
  border-color: var(--color-gold);
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
  font-weight: 700;
}
.btn-gold:hover,
.btn-gold:focus-visible {
  background: var(--color-copper);
  border-color: var(--color-copper);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

/* Ghost — white outline (on dark bg) */
.btn-ghost {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.5);
}
.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.85);
}

/* Secondary — outlined navy */
.btn-secondary {
  background: transparent;
  color: var(--color-navy);
  border-color: var(--color-navy);
}
.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: var(--color-navy);
  color: var(--color-white);
}

/* Outline — light border */
.btn-outline {
  background: transparent;
  color: var(--color-navy);
  border-color: var(--color-border);
}
.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: var(--color-navy);
  background: var(--color-offwhite);
}

/* Service card CTA */
.btn-service {
  background: transparent;
  color: var(--color-gold);
  border-color: var(--color-gold);
  width: 100%;
  justify-content: center;
  margin-top: auto;
}
.btn-service:hover,
.btn-service:focus-visible {
  background: var(--color-gold);
  color: var(--color-white);
}

/* Submit button */
.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 1rem;
  font-size: 1.05rem;
}

/* ================================================================
   HEADER
================================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  transition: box-shadow var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 1.5rem;
  position: relative;
}

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

.logo-img {
  height: 44px;
  width: auto;
}

.logo-fallback {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-navy);
}

.logo-sub {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--color-gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Nav */
.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.primary-nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-charcoal);
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  text-decoration: none;
}

.primary-nav a:hover {
  color: var(--color-navy);
  background: var(--color-offwhite);
}

.nav-cta-btn {
  background: var(--color-gold) !important;
  color: var(--color-white) !important;
  padding: 0.5rem 1.15rem !important;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
  margin-left: 0.4rem;
}

.nav-cta-btn:hover {
  background: var(--color-copper) !important;
  box-shadow: var(--shadow-gold);
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  z-index: 201;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-navy);
  border-radius: 2px;
  transition: all var(--transition);
}

.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); }

/* ================================================================
   HERO
================================================================ */
.hero {
  position: relative;
  background: var(--color-navy);
  overflow: hidden;
  padding-block: 5rem 4.5rem;
}

/* Decorative shapes */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.07;
}

.hero-shape-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--color-gold-light), transparent 70%);
  top: -200px;
  right: -120px;
}

.hero-shape-2 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, var(--color-gold), transparent 70%);
  bottom: -120px;
  left: -80px;
}

.hero-shape-3 {
  width: 200px;
  height: 200px;
  background: var(--color-white);
  top: 45%;
  right: 22%;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 3rem;
  align-items: center;
}

/* Hero content */
.hero-content {
  color: var(--color-white);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.18;
  color: var(--color-white);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.hero-subheadline {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: rgba(255,255,255,0.8);
  max-width: 580px;
  margin-bottom: 2rem;
  line-height: 1.75;
}

.hero-bullets {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2.25rem;
}

.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.98rem;
  color: rgba(255,255,255,0.88);
}

.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  min-width: 22px;
  background: var(--color-gold);
  color: var(--color-white);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 700;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.hero-trust-line {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  font-style: italic;
  line-height: 1.5;
}

/* Hero card */
.hero-card-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-mini-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-large);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mini-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mini-card-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.mini-card-header strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--color-navy);
  line-height: 1.3;
}

.hero-mini-card > p {
  font-size: 0.88rem;
  color: var(--color-slate);
  line-height: 1.65;
}

.mini-card-types {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.coverage-tag {
  background: var(--color-offwhite);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  padding: 0.28rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-navy);
  white-space: nowrap;
}

/* ================================================================
   TRUST SECTION
================================================================ */
.trust-section {
  background: var(--color-white);
  padding-block: 5rem;
  border-bottom: 1px solid var(--color-border);
}

.trust-intro {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 3rem;
}

.trust-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  color: var(--color-navy);
  margin-bottom: 0.75rem;
  line-height: 1.28;
}

.trust-intro p {
  color: var(--color-slate);
  font-size: 1.05rem;
  line-height: 1.72;
}

.trust-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.trust-card {
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: all var(--transition);
}

.trust-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
  border-color: var(--color-gold);
}

.trust-icon {
  font-size: 2.1rem;
  margin-bottom: 0.8rem;
  display: block;
}

.trust-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.trust-card p {
  font-size: 0.865rem;
  color: var(--color-slate);
  line-height: 1.6;
}

/* ================================================================
   PROBLEM SECTION
================================================================ */
.problem-section {
  background: var(--color-navy-dark, #111a2e);
  padding-block: 5rem;
}

.problem-section .section-header h2 {
  color: var(--color-white);
}

.problem-section .section-header p {
  color: rgba(255,255,255,0.72);
}

.problem-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.problem-card {
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  transition: all var(--transition);
}

.problem-card:hover {
  background: rgba(255,255,255,0.09);
  border-color: var(--color-gold);
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.25);
}

.problem-icon {
  font-size: 2rem;
  margin-bottom: 0.8rem;
  display: block;
}

.problem-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--color-white);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.problem-card p {
  font-size: 0.865rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
}

/* ================================================================
   SERVICES SECTION
================================================================ */
.services-section {
  background: var(--color-offwhite);
  padding-block: 5rem;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-large);
  border-color: var(--color-gold);
}

.service-card:hover::before {
  opacity: 1;
}

/* Featured bundle card */
.service-card--featured {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 2px var(--color-gold-pale), var(--shadow-medium);
}

.service-card--featured::before {
  opacity: 1;
}

.service-featured-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--color-gold);
  color: var(--color-white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
}

.service-card-icon {
  font-size: 2.25rem;
  display: block;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--color-navy);
  font-weight: 700;
}

.service-card > p {
  font-size: 0.88rem;
  color: var(--color-slate);
  line-height: 1.68;
  flex-grow: 1;
}

.service-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  border-top: 1px solid var(--color-border);
  padding-top: 0.9rem;
}

.service-card ul li {
  font-size: 0.845rem;
  color: var(--color-charcoal);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-card ul li::before {
  content: '→';
  color: var(--color-gold);
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ================================================================
   ABOUT SECTION
================================================================ */
.about-section {
  background: var(--color-white);
  padding-block: 5rem;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: var(--color-navy);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.about-text p {
  color: var(--color-slate);
  line-height: 1.78;
  margin-bottom: 1.75rem;
  font-size: 1rem;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.feature-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: all var(--transition);
}

.feature-card:hover {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-soft);
  background: var(--color-gold-pale);
}

.feature-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.feature-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.3rem;
}

.feature-card p {
  font-size: 0.858rem;
  color: var(--color-slate);
  line-height: 1.62;
}

/* ================================================================
   HOW IT WORKS
================================================================ */
.hiw-section {
  background: var(--color-cream);
  padding-block: 5rem;
}

.hiw-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
}

/* Connecting line between steps on desktop */
.hiw-steps::before {
  content: '';
  position: absolute;
  top: 2.4rem;
  left: calc(33.333% - 0px);
  right: calc(33.333% - 0px);
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
  border-radius: 2px;
  z-index: 0;
}

.hiw-step {
  text-align: center;
  padding: 2rem 1.5rem 1.75rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  position: relative;
  z-index: 1;
}

.hiw-step:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-4px);
  border-color: var(--color-gold);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--color-navy);
  color: var(--color-gold);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  border: 3px solid var(--color-white);
  box-shadow: 0 0 0 2px var(--color-navy);
}

/* Support older selector */
.step-indicator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--color-navy);
  color: var(--color-gold);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
}

.hiw-step h3,
.step-content h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  color: var(--color-navy);
  margin-bottom: 0.6rem;
  font-weight: 600;
}

.hiw-step p,
.step-content p {
  font-size: 0.88rem;
  color: var(--color-slate);
  line-height: 1.68;
}

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

/* ================================================================
   FORM SECTION
================================================================ */
.form-section {
  background: var(--color-navy);
  padding-block: 5rem;
  position: relative;
  overflow: hidden;
}

.form-section::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-gold) 0%, transparent 70%);
  opacity: 0.04;
  top: -200px;
  left: -100px;
  pointer-events: none;
}

.form-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.form-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  color: var(--color-white);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.form-header p {
  color: rgba(255,255,255,0.72);
  font-size: 1.05rem;
  line-height: 1.65;
}

.form-header .eyebrow {
  color: var(--color-gold-light);
}

/* Form wrapper card */
.form-wrapper {
  max-width: 800px;
  margin-inline: auto;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2.5rem 2rem;
  box-shadow: var(--shadow-large);
}

/* Also supports .form-card */
.form-card {
  max-width: 800px;
  margin-inline: auto;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2.5rem 2rem;
  box-shadow: var(--shadow-large);
}

/* ── Progress Bar ─────────────────────────────────────────────── */
.form-progress {
  margin-bottom: 2.25rem;
}

.progress-bar,
.progress-track {
  background: var(--color-offwhite);
  border-radius: 100px;
  height: 6px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
  border-radius: 100px;
  transition: width 0.45s ease;
}

/* Step dots */
.progress-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.progress-step {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-offwhite);
  border: 2px solid var(--color-border);
  color: var(--color-muted);
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.progress-step.active {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-white);
  box-shadow: 0 0 0 3px var(--color-gold-pale);
}

.progress-step.completed {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: var(--color-white);
}

.progress-label {
  font-size: 0.8rem;
  color: var(--color-muted);
  text-align: center;
  margin-top: 0.25rem;
}

/* ── Form Steps ───────────────────────────────────────────────── */
.form-step {
  display: none;
  animation: stepFadeIn 0.3s ease;
}

.form-step.active {
  display: block;
}

.hidden-step {
  display: none !important;
}

@keyframes stepFadeIn {
  from {
    opacity: 0;
    transform: translateX(14px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Legend */
.step-legend {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 1.5rem;
  display: block;
}

.step-sublabel {
  font-size: 0.88rem;
  color: var(--color-muted);
  margin-top: -1.1rem;
  margin-bottom: 1.5rem;
}

/* ── Fields ───────────────────────────────────────────────────── */
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.field-group:last-child {
  margin-bottom: 0;
}

.field-group label {
  font-size: 0.865rem;
  font-weight: 600;
  color: var(--color-navy);
}

.required {
  color: var(--color-gold);
  font-weight: 700;
}

.optional-label {
  font-weight: 400;
  color: var(--color-muted);
  font-size: 0.8rem;
}

/* Inputs, selects, textarea */
.field-group input[type="text"],
.field-group input[type="email"],
.field-group input[type="tel"],
.field-group input[type="number"],
.field-group select,
.field-group textarea {
  width: 100%;
  padding: 0.68rem 0.95rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-charcoal);
  background: var(--color-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(200,146,42,0.14);
}

.field-group input.error,
.field-group select.error,
.field-group input.input-error,
.field-group select.input-error,
.input-error {
  border-color: #e53e3e;
  box-shadow: 0 0 0 2px rgba(229,62,62,0.1);
}

.field-group input::placeholder,
.field-group textarea::placeholder {
  color: var(--color-muted);
  opacity: 1;
}

/* Custom select arrow */
.field-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234a5568' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.field-group textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
}

/* Error message */
.field-error {
  font-size: 0.79rem;
  color: #e53e3e;
  min-height: 1rem;
  line-height: 1.4;
}

/* Non-AZ notice */
.non-az-notice {
  background: #fffbeb;
  border: 1px solid #f6ad55;
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.9rem;
  font-size: 0.845rem;
  color: #7b4f00;
  line-height: 1.55;
  margin-top: 0.4rem;
}

/* ── Radio Groups ─────────────────────────────────────────────── */
.radio-group-fieldset {
  padding: 0;
  border: none;
  width: 100%;
}

.radio-group-fieldset legend {
  font-size: 0.865rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 0.65rem;
  display: block;
}

.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  color: var(--color-charcoal);
  cursor: pointer;
  padding: 0.48rem 0.95rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  user-select: none;
}

.radio-label:hover {
  border-color: var(--color-gold);
  background: var(--color-gold-pale);
}

.radio-label input[type="radio"] {
  accent-color: var(--color-gold);
  width: 15px;
  height: 15px;
  cursor: pointer;
}

.radio-label:has(input:checked) {
  border-color: var(--color-gold);
  background: var(--color-gold-pale);
  color: var(--color-navy);
  font-weight: 600;
}

/* ── Checkbox Cards ───────────────────────────────────────────── */
.checkbox-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.checkbox-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 1.25rem 0.75rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  user-select: none;
}

.checkbox-card:hover {
  border-color: var(--color-gold);
  background: var(--color-gold-pale);
}

.checkbox-card input[type="checkbox"] {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 16px;
  height: 16px;
  accent-color: var(--color-gold);
  cursor: pointer;
}

.checkbox-card:has(input:checked) {
  border-color: var(--color-gold);
  background: var(--color-gold-pale);
  box-shadow: 0 0 0 1px var(--color-gold);
}

.card-icon {
  font-size: 1.8rem;
  display: block;
}

.card-label {
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.3;
}

/* ── Review Summary ───────────────────────────────────────────── */
.review-summary {
  background: var(--color-offwhite);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.summary-section {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}

.summary-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.summary-section h4 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold);
  margin-bottom: 0.35rem;
}

.summary-section p {
  font-size: 0.9rem;
  color: var(--color-charcoal);
  line-height: 1.65;
}

/* ── Consent Block ────────────────────────────────────────────── */
.consent-block {
  margin-bottom: 1.5rem;
}

.consent-label {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  cursor: pointer;
  font-size: 0.845rem;
  color: var(--color-slate);
  line-height: 1.58;
}

.consent-label input[type="checkbox"] {
  margin-top: 0.15rem;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--color-gold);
  cursor: pointer;
}

/* Form disclaimer */
.form-disclaimer {
  font-size: 0.77rem;
  color: var(--color-muted);
  text-align: center;
  margin-top: 1rem;
  line-height: 1.55;
}

/* ── Form Navigation ──────────────────────────────────────────── */
.form-nav,
.form-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
  gap: 1rem;
}

/* ── Success State ────────────────────────────────────────────── */
#successState,
.success-state {
  text-align: center;
  padding: 2rem 1rem;
  animation: stepFadeIn 0.4s ease;
}

.success-icon {
  width: 68px;
  height: 68px;
  background: linear-gradient(135deg, var(--color-success) 0%, #48bb78 100%);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  margin: 0 auto 1.5rem;
  box-shadow: 0 4px 20px rgba(56,161,105,0.35);
}

#successState h3,
.success-state h3 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  color: var(--color-navy);
  margin-bottom: 0.75rem;
  line-height: 1.38;
}

#successState p,
.success-state p {
  color: var(--color-slate);
  max-width: 480px;
  margin-inline: auto;
  margin-bottom: 1.75rem;
  font-size: 0.95rem;
  line-height: 1.68;
}

.success-appointment {
  margin-bottom: 2rem;
}

/* GHL calendar placeholder */
#ghl-calendar-placeholder,
.ghl-calendar-placeholder {
  background: var(--color-offwhite);
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-md);
  padding: 2.5rem 1.5rem;
  color: var(--color-muted);
  font-size: 0.88rem;
  text-align: center;
  margin-top: 1.5rem;
  line-height: 1.6;
}

/* ================================================================
   SOCIAL PROOF
================================================================ */
.social-proof-section {
  background: var(--color-offwhite);
  padding-block: 5rem;
}

.testimonial-placeholder-note {
  text-align: center;
  font-size: 0.79rem;
  color: #7b4f00;
  background: #fffbeb;
  border: 1px solid #f6ad55;
  border-radius: var(--radius-sm);
  padding: 0.5rem 1.25rem;
  max-width: 480px;
  margin-inline: auto;
  margin-bottom: 2.25rem;
  display: block;
  line-height: 1.5;
}

.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-3px);
  border-color: var(--color-gold);
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: 4.5rem;
  color: var(--color-gold-pale);
  line-height: 1;
  position: absolute;
  top: 0.75rem;
  left: 1.5rem;
  pointer-events: none;
  user-select: none;
}

.testimonial-text {
  font-size: 0.94rem;
  color: var(--color-charcoal);
  line-height: 1.73;
  margin-bottom: 1.25rem;
  margin-top: 1.75rem;
  position: relative;
}

.testimonial-meta {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.testimonial-stars {
  color: var(--color-gold);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
}

.testimonial-name {
  font-size: 0.84rem;
  color: var(--color-muted);
  font-weight: 500;
}

/* ================================================================
   FINAL CTA SECTION
================================================================ */
.final-cta-section {
  background: linear-gradient(140deg, var(--color-navy) 0%, #243352 100%);
  padding-block: 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta-section::before {
  content: '';
  position: absolute;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-gold) 0%, transparent 65%);
  opacity: 0.06;
  top: -220px;
  right: -80px;
  pointer-events: none;
}

.final-cta-section::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-gold-light) 0%, transparent 65%);
  opacity: 0.06;
  bottom: -100px;
  left: -80px;
  pointer-events: none;
}

.final-cta-inner {
  position: relative;
}

.final-cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--color-white);
  margin-bottom: 1rem;
  line-height: 1.25;
}

.final-cta-inner > p {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  max-width: 540px;
  margin-inline: auto;
  margin-bottom: 2rem;
  line-height: 1.72;
}

.final-cta-trust {
  margin-top: 1.25rem !important;
  margin-bottom: 0 !important;
  font-size: 0.84rem !important;
  color: rgba(255,255,255,0.48) !important;
  font-style: italic;
}

/* ================================================================
   FOOTER
================================================================ */
.site-footer,
.footer {
  background: var(--color-navy-dark, #111a2e);
  color: rgba(255,255,255,0.72);
  padding-top: 3.5rem;
  padding-bottom: 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 2rem;
}

/* Footer brand */
.footer-brand {}

.footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: 0.75rem;
  filter: brightness(0) invert(1);
  opacity: 0.82;
}

.footer-logo-fallback {
  color: var(--color-white);
  font-weight: 700;
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.footer-agency-name {
  font-weight: 600;
  color: var(--color-white);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.footer-tagline {
  font-size: 0.79rem;
  color: var(--color-gold-light);
  margin-bottom: 0.2rem;
}

.footer-services-line {
  font-size: 0.77rem;
  color: rgba(255,255,255,0.42);
}

/* Footer contact */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.footer-contact h4,
.footer-links h4 {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-gold-light);
  margin-bottom: 0.9rem;
}

.footer-contact-link {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.72);
  transition: color var(--transition);
  display: block;
}

.footer-contact-link:hover {
  color: var(--color-gold-light);
}

/* Footer links */
.footer-links nav {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-links nav a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}

.footer-links nav a:hover {
  color: var(--color-gold-light);
}

/* Footer bottom */
.footer-bottom {
  text-align: center;
}

.footer-disclaimer {
  font-size: 0.74rem;
  color: rgba(255,255,255,0.38);
  line-height: 1.65;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 0.75rem;
}

.footer-copy {
  font-size: 0.79rem;
  color: rgba(255,255,255,0.38);
}

/* ================================================================
   FOCUS & ACCESSIBILITY
================================================================ */
:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 3px;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--color-gold);
  color: var(--color-white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  z-index: 9999;
}
.skip-link:focus { top: 1rem; }

/* ================================================================
   RESPONSIVE — 1024px
================================================================ */
@media (max-width: 1024px) {
  .trust-cards { grid-template-columns: repeat(2, 1fr); }
  .problem-cards { grid-template-columns: repeat(2, 1fr); }
  .service-cards { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card-col { max-width: 420px; }
  .about-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ================================================================
   RESPONSIVE — 768px
================================================================ */
@media (max-width: 768px) {
  /* Nav */
  .nav-toggle { display: flex; }

  .primary-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--color-white);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-medium);
    padding: 1rem 1.25rem 1.25rem;
    z-index: 199;
  }

  .primary-nav.open {
    display: block;
    animation: stepFadeIn 0.22s ease;
  }

  .primary-nav ul {
    flex-direction: column;
    gap: 0.2rem;
  }

  .primary-nav a {
    display: block;
    padding: 0.65rem 0.75rem;
    font-size: 0.95rem;
  }

  .nav-cta-btn {
    text-align: center;
    margin-top: 0.5rem;
    padding: 0.65rem 0.75rem !important;
  }

  /* Hero */
  .hero { padding-block: 3rem 2.5rem; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-card-col { max-width: 100%; }

  /* Sections */
  .trust-section,
  .problem-section,
  .services-section,
  .about-section,
  .hiw-section,
  .social-proof-section,
  .final-cta-section,
  .form-section { padding-block: 3.5rem; }

  /* Grids */
  .trust-cards { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .problem-cards { grid-template-columns: 1fr; }
  .service-cards { grid-template-columns: 1fr; }
  .testimonial-cards { grid-template-columns: 1fr; }

  /* How it works */
  .hiw-steps { grid-template-columns: 1fr; gap: 1.1rem; }
  .hiw-steps::before { display: none; }

  /* Form */
  .form-wrapper,
  .form-card { padding: 1.5rem 1.25rem 1.25rem; border-radius: var(--radius-lg); }
  .field-row { grid-template-columns: 1fr; }
  .checkbox-cards { grid-template-columns: repeat(2, 1fr); }
  .radio-row { flex-direction: column; gap: 0.5rem; }
  .radio-label { width: 100%; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }

  /* Form nav */
  .form-nav,
  .form-navigation { flex-wrap: wrap; }
  .form-nav .btn,
  .form-navigation .btn { flex: 1; min-width: 120px; }
}

/* ================================================================
   RESPONSIVE — 480px
================================================================ */
@media (max-width: 480px) {
  .trust-cards { grid-template-columns: 1fr; }
  .checkbox-cards { grid-template-columns: repeat(2, 1fr); }
  .progress-steps { display: none; }
  .hero-headline { font-size: 1.75rem; }
  .step-legend { font-size: 1.15rem; }
  .form-wrapper,
  .form-card { padding: 1.25rem 1rem; }
}

/* ================================================================
   PRINT
================================================================ */
@media print {
  .site-header,
  .nav-toggle,
  .btn,
  .hero-ctas,
  .form-section,
  .final-cta-section { display: none; }
}

/* ── Single testimonial centered layout ──────────────────────── */
.testimonial-cards--single {
  grid-template-columns: 1fr;
  max-width: 560px;
  margin-inline: auto;
}

.testimonial-cards--single .testimonial-card {
  text-align: center;
}

.testimonial-cards--single .testimonial-quote {
  position: static;
  display: block;
  margin-bottom: 0.25rem;
  font-size: 3.5rem;
  color: var(--color-gold-pale);
}

.testimonial-cards--single .testimonial-text {
  margin-top: 0;
  font-size: 1.08rem;
  font-style: italic;
  color: var(--color-charcoal);
}

.testimonial-cards--single .testimonial-meta {
  align-items: center;
}

/* ── GHL Calendar embed (live) ───────────────────────────────── */
#ghl-calendar-placeholder {
  background: transparent;
  border: none;
  padding: 0;
  margin-top: 1.5rem;
  min-height: 600px;
}

#ghl-calendar-placeholder iframe {
  width: 100%;
  min-height: 600px;
  border: none;
  border-radius: var(--radius-md);
  display: block;
}
