/* ============================================================
   CONCIERGE SENIOR TRANSITIONS — Arizona
   Color System & Variables
   ============================================================ */
:root {
  --navy:         #1B2A4A;
  --navy-light:   #243660;
  --navy-dark:    #111C30;
  --terracotta:   #C4703A;
  --terracotta-dk:#A85A28;
  --gold:         #D4A547;
  --sage:         #6B8F71;
  --sage-light:   #EBF2EC;
  --cream:        #FAF7F2;
  --cream-dark:   #F0EDE6;
  --white:        #FFFFFF;
  --text-dark:    #1B2A4A;
  --text-mid:     #3D4F6B;
  --text-light:   #8595A8;
  --border:       #DDD8CF;

  --font-serif:   'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:    'Inter', 'Helvetica Neue', Arial, sans-serif;

  --shadow-sm:    0 2px 8px rgba(27,42,74,0.08);
  --shadow-md:    0 6px 24px rgba(27,42,74,0.12);
  --shadow-lg:    0 16px 48px rgba(27,42,74,0.18);

  --radius:       8px;
  --radius-lg:    16px;
  --radius-xl:    24px;

  --max-w:        1160px;
  --section-pad:  80px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: var(--section-pad) 0; }
.section--dark  { background: var(--navy); color: var(--white); }
.section--navy  { background: var(--navy-dark); color: var(--white); }
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }
.section--sage  { background: var(--sage-light); }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.2;
  font-weight: 700;
  color: var(--navy);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--navy h1,
.section--navy h2,
.section--navy h3 { color: var(--white); }

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.15rem; }

.section-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 12px;
}

.section--dark  .section-label { color: var(--gold); }

.section-intro {
  font-size: 1.15rem;
  color: var(--text-mid);
  max-width: 620px;
  margin: 16px auto 0;
}

.section--dark  .section-intro { color: rgba(255,255,255,0.75); }

.text-center { text-align: center; }
.text-center .section-intro { margin-left: auto; margin-right: auto; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  white-space: nowrap;
}

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

.btn--primary {
  background: var(--terracotta);
  color: var(--white);
  border-color: var(--terracotta);
}
.btn--primary:hover { background: var(--terracotta-dk); border-color: var(--terracotta-dk); }

.btn--secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--secondary:hover { background: var(--navy); color: var(--white); }

.btn--secondary-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn--secondary-light:hover { background: rgba(255,255,255,0.15); border-color: var(--white); }

.btn--lg { padding: 20px 44px; font-size: 1.1rem; }
.btn--full { width: 100%; justify-content: center; }

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.88);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 10px 0;
  position: relative;
  z-index: 200;
}

.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.top-bar__left { opacity: 0.78; }

.top-bar__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.top-bar__phone svg { flex-shrink: 0; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 2px solid var(--cream-dark);
  box-shadow: var(--shadow-sm);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 140px;
  gap: 24px;
}

.nav__logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.nav__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav__logo-name {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.nav__logo-tagline {
  font-size: 0.82rem;
  color: var(--text-light);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 3px;
}

.nav__logo-img {
  height: 126px;
  width: auto;
  display: block;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-mid);
  transition: color 0.2s;
  white-space: nowrap;
}

.nav__links a:hover { color: var(--navy); }

.nav__cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav__phone {
  font-weight: 700;
  color: var(--terracotta);
  font-size: 1rem;
  white-space: nowrap;
}

.nav__phone:hover { color: var(--terracotta-dk); }

.nav__hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--navy);
  align-items: center;
  justify-content: center;
}

/* Mobile dropdown menu */
.nav__mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 2px solid var(--cream-dark);
  box-shadow: 0 8px 24px rgba(0,0,0,0.14);
  z-index: 99;
}
.nav__mobile-menu[hidden] { display: none; }
.nav__mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav__mobile-menu ul li a {
  display: block;
  padding: 16px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-mid);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
}
.nav__mobile-menu ul li:last-child a { border-bottom: none; }
.nav__mobile-menu ul li a:hover { color: var(--navy); background: var(--cream); }

/* Resource-nav scroll hint (mobile arrow) */
.resource-nav__scroll-hint {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to right, transparent, var(--white) 60%);
  color: var(--navy);
  font-size: 1.5rem;
  pointer-events: none;
  line-height: 1;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--navy);
  color: var(--white);
  min-height: 90vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  position: relative;
  overflow: hidden;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 48px 80px 0;
  padding-left: calc((100vw - var(--max-w)) / 2 + 24px);
  position: relative;
  z-index: 2;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212,165,71,0.18);
  border: 1px solid rgba(212,165,71,0.4);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
  width: fit-content;
}

.hero__badge::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
  max-width: 580px;
}

.hero h1 em {
  color: var(--gold);
  font-style: normal;
}

.hero__sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  max-width: 500px;
  margin-bottom: 40px;
  line-height: 1.65;
}

.hero__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
}

.hero__trust-item svg { color: var(--gold); flex-shrink: 0; }

.hero__image-col {
  position: relative;
  overflow: hidden;
}

.hero__image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--navy) 0%, transparent 40%);
  z-index: 1;
}

/* ============================================================
   STRESS CHECKLIST
   ============================================================ */
.stress {
  background: var(--navy);
  color: var(--white);
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}

.stress::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(196,112,58,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.stress__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.stress__header { padding-top: 8px; }

.stress__header h2 { color: var(--white); margin-bottom: 16px; }

.stress__sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.72);
  margin-bottom: 32px;
  line-height: 1.65;
}

.stress__cta-text {
  font-size: 1.05rem;
  color: var(--gold);
  font-weight: 600;
  margin-top: 32px;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.checklist__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 16px 20px;
  position: relative;
}

.checklist__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(196,112,58,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.checklist__icon svg { color: var(--terracotta); }

.checklist__text h4 {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.checklist__text p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

.checklist__stamp {
  margin-top: 24px;
  background: var(--terracotta);
  border-radius: var(--radius);
  padding: 20px 28px;
  text-align: center;
}

.checklist__stamp p {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

.checklist__stamp span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  font-family: var(--font-sans);
  font-weight: 400;
  display: block;
  margin-top: 4px;
}

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services {
  padding: var(--section-pad) 0;
  background: var(--cream);
}

.services__header {
  text-align: center;
  margin-bottom: 56px;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: box-shadow 0.25s, transform 0.25s;
  display: flex;
  flex-direction: column;
}

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

.service-card__image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card__image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--terracotta);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 4px;
}

.service-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--sage-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.service-card__icon svg { color: var(--sage); }

.service-card__title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.service-card__desc {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-card__link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--terracotta);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
}

.service-card__image a {
  display: block;
  height: 100%;
}

.service-card__image a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-card__image a:hover img {
  transform: scale(1.04);
}

.service-card__link:hover { color: var(--terracotta-dk); }

/* ============================================================
   SERVICE FLOW (One Point of Contact)
   ============================================================ */
.flow {
  background: var(--white);
  padding: var(--section-pad) 0;
}

.flow__header { margin-bottom: 64px; }

.flow__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
}

.flow__step {
  text-align: center;
  padding: 0 16px;
}

.flow__step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  position: relative;
}

.flow__step-number.active {
  background: var(--terracotta);
  width: 64px;
  height: 64px;
  font-size: 1.5rem;
  box-shadow: 0 0 0 8px rgba(196,112,58,0.15);
}

.flow__step-icon {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.flow__step-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.flow__step-desc {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.5;
}

.flow__arrow {
  display: flex;
  align-items: center;
  padding-top: 28px;
  color: var(--terracotta);
}

.flow__arrow svg { opacity: 0.6; }

.flow__center-card {
  background: var(--navy);
  border-radius: var(--radius-xl);
  padding: 48px;
  color: var(--white);
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.flow__center-card > div:first-child {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.flow__center-card h3 {
  color: var(--white);
  margin-bottom: 16px;
}

.flow__center-card p {
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
  margin-bottom: 24px;
}

.flow__venn {
  position: relative;
  width: 540px;
  height: 540px;
  flex-shrink: 0;
  margin: 0 auto;
}

.flow__venn-circle {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(255,255,255,0.22);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.flow__venn-circle--tl { top: 0;    left: 0; }
.flow__venn-circle--tr { top: 0;    right: 0; }
.flow__venn-circle--bl { bottom: 0; left: 0; }
.flow__venn-circle--br { bottom: 0; right: 0; }

.flow__venn-icon {
  font-size: 2.4rem;
  line-height: 1;
}

.flow__venn-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  text-align: center;
  line-height: 1.2;
}

.flow__venn-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--terracotta);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  z-index: 3;
  box-shadow: 0 0 0 10px rgba(196,112,58,0.2);
}

/* ============================================================
   CASE STUDIES / PROOF
   ============================================================ */
.proof {
  background: var(--sage-light);
  padding: var(--section-pad) 0;
}

.proof__header { margin-bottom: 56px; }

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

.proof-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.proof-card__image {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.proof-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.proof-card__image-placeholder {
  width: 100%;
  height: 100%;
}

.proof-card__body { padding: 28px; }

.proof-card__location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--terracotta);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.proof-card__quote {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 12px;
  font-style: italic;
}

.proof-card__desc {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 20px;
}

.proof-card__stats {
  display: flex;
  gap: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.proof-stat { flex: 1; }

.proof-stat__value {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.proof-stat__label {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 4px;
}

/* ============================================================
   TRANSITION CALCULATOR
   ============================================================ */
.calculator {
  background: var(--navy);
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}

.calculator::before {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(107,143,113,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.calculator__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.calculator__intro h2 { color: var(--white); margin-bottom: 16px; }

.calculator__intro p {
  color: rgba(255,255,255,0.72);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 32px;
}

.calculator__features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.calc-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.calc-feature__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(212,165,71,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.calc-feature__icon svg { color: var(--gold); }

.calc-feature h4 {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.calc-feature p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}

.calculator__form-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.calc-step { display: none; }
.calc-step.active { display: block; }

.calc-step__header { margin-bottom: 24px; }

.calc-step__label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-light);
  margin-bottom: 6px;
}

.calc-step__title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--navy);
  font-weight: 700;
}

.calc-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}

.calc-options--3 { grid-template-columns: repeat(3, 1fr); }

.calc-option {
  position: relative;
  display: flex;
}

.calc-option input[type="radio"],
.calc-option input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}

.calc-option label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 12px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  text-align: center;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  flex: 1;
}

.calc-option label:hover { border-color: var(--navy); color: var(--navy); }

.calc-option input:checked + label {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.calc-option__icon { font-size: 1.5rem; line-height: 1; }

.calc-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.calc-nav--end { justify-content: flex-end; }

.calc-progress {
  margin-bottom: 28px;
}

.calc-progress__bar {
  height: 4px;
  background: var(--cream-dark);
  border-radius: 100px;
  overflow: hidden;
}

.calc-progress__fill {
  height: 100%;
  background: var(--terracotta);
  border-radius: 100px;
  transition: width 0.3s ease;
}

.calc-progress__text {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 6px;
}

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

.calc-result__range {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin: 16px 0 8px;
}

.calc-result__label {
  font-size: 0.9rem;
  color: var(--text-mid);
  margin-bottom: 24px;
}

.calc-result__disclaimer {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 24px;
  padding: 12px;
  background: var(--cream);
  border-radius: var(--radius);
}

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

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus { border-color: var(--navy); }

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

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ============================================================
   ABOUT / TRUST BUILDER
   ============================================================ */
.trust {
  background: var(--white);
  padding: var(--section-pad) 0;
}

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

.trust__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 480px;
  box-shadow: var(--shadow-md);
  position: relative;
}

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

.trust__image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--sage-light), var(--cream-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}

.trust__credentials {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cred-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

.cred-badge svg { color: var(--sage); }

.trust__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}

.trust-stat {
  padding: 20px;
  background: var(--cream);
  border-radius: var(--radius);
  border-left: 4px solid var(--terracotta);
}

.trust-stat__value {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.trust-stat__label {
  font-size: 0.85rem;
  color: var(--text-mid);
  margin-top: 4px;
}

/* ============================================================
   FINAL CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-banner h2 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
  position: relative;
}

.cta-banner p {
  color: rgba(255,255,255,0.75);
  font-size: 1.15rem;
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.65;
  position: relative;
}

.cta-banner__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
}

.cta-banner__phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  position: relative;
}

.cta-banner__phone a {
  color: var(--gold);
  font-weight: 700;
  font-size: 1.15rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.6);
  padding: 56px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 8px;
}

.footer__brand p {
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-weight: 700;
  font-size: 1.1rem;
}

.footer__col h4 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  margin-bottom: 16px;
}

.footer__col ul { display: flex; flex-direction: column; gap: 10px; }

.footer__col ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}

.footer__col ul li a:hover { color: var(--white); }

.footer__contact p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 8px;
}

.footer__bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
}

.footer__license {
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 0.78rem;
}

/* ============================================================
   RESPONSIVE — Tablet (≤900px)
   ============================================================ */
@media (max-width: 900px) {
  :root { --section-pad: 56px; }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero__content {
    padding: 60px 24px;
  }

  .hero__image-col { height: 340px; }

  .stress__inner { grid-template-columns: 1fr; gap: 40px; }

  .services__grid { grid-template-columns: repeat(2, 1fr); }

  .flow__grid { display: none; }

  .flow__center-card {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px;
  }

  .flow__venn {
    width: 300px;
    height: 300px;
  }

  .flow__venn-circle {
    width: 190px;
    height: 190px;
  }

  .flow__venn-center {
    width: 76px;
    height: 76px;
    font-size: 0.72rem;
  }

  .flow__venn-icon { font-size: 1.4rem; }
  .flow__venn-label { font-size: 0.72rem; }

  .proof__grid { grid-template-columns: 1fr 1fr; }

  .calculator__inner { grid-template-columns: 1fr; gap: 40px; }

  .trust__inner { grid-template-columns: 1fr; }

  .trust__image { height: 300px; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  .nav__links { display: none; }
}

/* ============================================================
   RESPONSIVE — Mobile (≤600px)
   ============================================================ */
@media (max-width: 600px) {
  :root { --section-pad: 48px; }

  html { font-size: 16px; }

  .top-bar .container { flex-direction: column; gap: 4px; text-align: center; }

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

  .services__grid { grid-template-columns: 1fr; }

  .proof__grid { grid-template-columns: 1fr; }

  .calc-options { grid-template-columns: 1fr 1fr; }

  .trust__stats { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr; }

  .footer__bottom { flex-direction: column; text-align: center; }

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

  .form-row { grid-template-columns: 1fr; }
}

/* ============================================================
   HOW IT WORKS — step rows with image
   ============================================================ */
.flow-step-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: center;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}
.flow-step-row:last-of-type { border-bottom: none; }

@media (max-width: 900px) {
  .nav .container { height: 110px; }
  .nav__logo-img  { height: 96px; }
  .float-bar      { top: 110px; }

  .flow-step-row {
    grid-template-columns: 180px 1fr;
    gap: 28px;
    padding: 36px 0;
  }
}

@media (max-width: 600px) {
  .nav .container { height: 88px; }
  .nav__logo-img  { height: 72px; }

  /* Mobile nav: hide links/phone, show hamburger */
  .nav__links { display: none; }
  .nav__cta   { display: none; }
  .nav__hamburger { display: flex; }

  /* Hide phone from top bar on mobile */
  .top-bar__phone { display: none; }

  .flow-step-row {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 32px 0;
  }

  /* show step image full-width on mobile */
  .flow-step-row img { height: 200px !important; }

  /* about page two-col lists */
  .about-cols { grid-template-columns: 1fr !important; }
}

/* ============================================================
   UTILITIES
   ============================================================ */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }

/* ============================================================
   FLOATING BAR
   ============================================================ */
.float-bar {
  position: fixed;
  top: 140px;         /* sits directly below the sticky nav */
  left: 0;
  right: 0;
  z-index: 90;
  background: var(--navy-dark);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  transform: translateY(-110%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.float-bar.visible {
  transform: translateY(0);
}

.float-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
}

.float-bar__left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.float-bar__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.8); }
}

.float-bar__text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
}

.float-bar__right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.float-bar__steps {
  display: flex;
  align-items: center;
  gap: 6px;
}

.float-bar__step {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.float-bar__step.active {
  background: var(--terracotta);
  color: var(--white);
}

.float-bar__step.completed {
  background: var(--sage);
  color: var(--white);
}

.float-bar__step-sep {
  color: rgba(255,255,255,0.2);
  font-size: 0.7rem;
}

.float-bar .btn {
  padding: 10px 22px;
  font-size: 0.9rem;
}

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(17, 28, 48, 0.75);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
}

.modal-overlay[hidden] { display: none; }

.modal-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  width: 100%;
  max-width: 560px;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: modal-in 0.25s ease;
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--cream-dark);
  color: var(--text-mid);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.modal-close:hover { background: var(--border); }

/* ============================================================
   RESPONSIVE — Float bar mobile
   ============================================================ */
@media (max-width: 600px) {
  /* Pin CTA to bottom of screen on mobile */
  .float-bar {
    top: auto;
    bottom: 0;
    transform: translateY(110%);
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: none;
  }
  .float-bar.visible { transform: translateY(0); }

  .float-bar__text { display: none; }
  .float-bar__steps { display: none; }
  .float-bar__inner { justify-content: center; padding: 12px 0 env(safe-area-inset-bottom, 12px); }
  .float-bar .btn { width: 100%; max-width: 280px; }
  .modal-card { padding: 28px 20px; }
}

/* Hide browser search-clear button on address fields */
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button { display: none; }

/* Google Places dropdown — sit above modal (z-index 200) */
.pac-container {
  z-index: 99999 !important;
  border-radius: 8px;
  border-top: none;
  box-shadow: 0 8px 24px rgba(17, 28, 48, 0.18);
  font-family: var(--font-sans);
  font-size: 0.95rem;
}
.pac-item { padding: 8px 12px; cursor: pointer; }
.pac-item:hover { background: #f5f7fa; }
