/* ==========================================
   BAYOYA'S FRESH COAT — POOL CAGE LANDING PAGE
   Phase 4 HTML Prototype
   Bacani Media Group
   ========================================== */

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

:root {
  --black:        #000000;
  --near-black:   #1a1a1a;
  --charcoal:     #2c2c2c;
  --dark-gray:    #404040;
  --mid-gray:     #6b6b6b;
  --light-gray:   #f0f0f0;
  --off-white:    #f8f8f8;
  --white:        #ffffff;
  --border:       #e0e0e0;
  --shadow-sm:    0 2px 12px rgba(0,0,0,0.08);
  --shadow-md:    0 4px 20px rgba(0,0,0,0.14);
  --font-head:    'Montserrat', 'Arial Black', Arial, sans-serif;
  --font-body:    'Inter', 'Helvetica Neue', Arial, sans-serif;
  --container:    1170px;
  --pad:          24px;
  --radius-btn:   9999px;
  --transition:   0.2s ease;

  /* ---- Bayoya's Brand Identity — Phase 4C ---- */
  --brand-red:     #FF3B00;
  --brand-orange:  #FF8A00;
  --brand-blue:    #0D2EFF;
  --brand-black:   #0F0F10;
  --font-display:  'Bebas Neue', 'Impact', Arial, sans-serif;
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-body);
  color: var(--near-black);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
ul, ol { list-style: none; }

/* === CONTAINER === */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: inherit;
}

.eyebrow {
  display: block;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-bottom: 14px;
}

.eyebrow--white { color: rgba(255,255,255,0.6); }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: var(--radius-btn);
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition),
              box-shadow var(--transition);
  white-space: normal;
  text-align: center;
  text-decoration: none;
  line-height: 1.2;
}

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

.btn--dark {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.btn--dark:hover {
  background: var(--charcoal);
  border-color: var(--charcoal);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.btn--outline-dark {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}
.btn--outline-dark:hover {
  background: var(--black);
  color: var(--white);
}

/* White solid — for primary CTAs on dark/black section backgrounds */
.btn--white {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}
.btn--white:hover {
  background: rgba(255,255,255,0.88);
  border-color: rgba(255,255,255,0.88);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.btn--lg { padding: 18px 38px; font-size: 13px; }
.btn--sm { padding: 10px 22px; font-size: 11px; }

/* === SECTION STRUCTURE === */
.section--white     { background: var(--white); }
.section--light     { background: var(--light-gray); }
.section--off-white { background: var(--off-white); }
.section--dark      { background: var(--near-black); color: var(--white); }
.section--black     { background: var(--black); color: var(--white); }

.section-pad       { padding: 88px 0; }
.section-pad--sm   { padding: 56px 0; }
.section-pad--lg   { padding: 108px 0; }

/* Prevent internal line breaks on compound hyphenated terms (e.g. Re-Screening) */
.nowrap { white-space: nowrap; }

.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  margin-bottom: 14px;
}
.section-header p {
  font-size: 17px;
  color: var(--mid-gray);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}
.section-header--on-dark p { color: rgba(255,255,255,0.65); }


/* ==========================================
   TOPBAR
   ========================================== */
#topbar {
  background: var(--black);
  color: var(--white);
  padding: 9px 0;
  font-size: 13px;
  letter-spacing: 0.01em;
}

#topbar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

#topbar a {
  color: rgba(255,255,255,0.85);
  transition: color var(--transition);
}
#topbar a:hover { color: var(--white); }

.topbar-sep { color: rgba(255,255,255,0.25); }


/* ==========================================
   HEADER
   ========================================== */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  transition: padding var(--transition), box-shadow var(--transition);
}

#site-header.scrolled {
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

#site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.header-phone {
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}
.header-phone a { color: var(--near-black); }
.header-phone a:hover { color: var(--black); }

@media (max-width: 767px) {
  .header-phone { display: none; }
  .header-logo img { height: 36px; }
  #site-header .btn { font-size: 10px; padding: 10px 16px; }
}


/* ==========================================
   HERO
   ========================================== */
#hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: var(--near-black);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://bayoyasfreshcoat.com/?rest_route=/bayoya/v1/asset&file=images/hero.webp');
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    rgba(0,0,0,0.75) 0%,
    rgba(0,0,0,0.55) 55%,
    rgba(0,0,0,0.38) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 80px 0;
  max-width: 660px;
}

.hero-content .eyebrow { color: rgba(255,255,255,0.7); }

.hero-content h1 {
  font-size: clamp(34px, 5.5vw, 58px);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 20px;
  color: var(--white);
}

.hero-subhead {
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 500;
  color: rgba(255,255,255,0.92);
  margin-bottom: 16px;
  line-height: 1.4;
}

.hero-body {
  font-size: 16px;
  color: rgba(255,255,255,0.78);
  line-height: 1.75;
  margin-bottom: 24px;
  max-width: 540px;
}

.hero-tagline {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  align-items: center;
}

.hero-phone {
  font-size: 15px;
  color: rgba(255,255,255,0.8);
}
.hero-phone a {
  color: var(--white);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 767px) {
  #hero { min-height: 88vh; }
  .hero-bg {
    background-image: url('https://bayoyasfreshcoat.com/?rest_route=/bayoya/v1/asset&file=images/hero-mobile.webp');
    background-position: center 25%;
  }
  .hero-content { padding: 60px 0; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
  /* Mobile button sizing — prevent text overflow at narrow viewports */
  .btn--lg { padding: 16px 28px; }
}


/* ==========================================
   CORE PROCESS STRIP (Section 03)
   ========================================== */
#process-strip {
  background: var(--black);
  color: var(--white);
  padding: 44px 0;
}

.process-strip-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.strip-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px 28px;
}

.strip-word {
  font-family: var(--font-head);
  font-size: clamp(16px, 2.2vw, 24px);
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
}

.strip-desc {
  font-size: 10px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 5px;
}

.strip-arrow {
  font-size: 18px;
  color: rgba(255,255,255,0.25);
  align-self: flex-start;
  padding-top: 9px;
}

/* ---- Process strip: vertical progression on mobile ---- */
@media (max-width: 640px) {
  #process-strip {
    padding: 36px 0;
  }

  .process-strip-row {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .strip-step {
    padding: 0;
    max-width: 300px;
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .strip-word {
    font-size: 20px;
    letter-spacing: 0.10em;
  }

  .strip-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.72);
    margin-top: 6px;
    letter-spacing: 0.02em;
    text-transform: none;
  }

  /* Rotate → into ↓ and center between steps */
  .strip-arrow {
    display: inline-block;
    align-self: center;
    transform: rotate(90deg);
    font-size: 20px;
    padding-top: 0;
    margin: 14px 0;
    color: var(--brand-red);
    opacity: 1;
  }
}


/* ==========================================
   PROBLEM / SOLUTION (Section 04)
   ========================================== */
#problem-solution {
  background: var(--white);
}

.ps-grid {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 72px;
  align-items: center;
}

.ps-content h2 {
  font-size: clamp(26px, 3vw, 38px);
  margin-bottom: 28px;
}

.symptom-list {
  margin-bottom: 32px;
}

.symptom-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 16px;
  color: var(--charcoal);
}
.symptom-item:first-child { border-top: 1px solid var(--border); }

.symptom-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  background: var(--black);
  border-radius: 50%;
  margin-top: 6px;
}

.pivot-statement {
  font-family: var(--font-head);
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 700;
  color: var(--black);
  line-height: 1.3;
  margin-bottom: 16px;
}

.solution-copy {
  font-size: 16px;
  color: var(--charcoal);
  line-height: 1.75;
  margin-bottom: 10px;
}

.scope-note {
  font-size: 14px;
  color: var(--mid-gray);
  font-style: italic;
  line-height: 1.65;
  padding: 14px 18px;
  border-left: 3px solid var(--border);
  margin-bottom: 32px;
}

.ps-image {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.ps-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 900px) {
  .ps-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .ps-image { order: -1; }
  .ps-image img { height: 300px; }
}


/* ==========================================
   BEFORE / AFTER (Section 05)
   ========================================== */
#before-after {
  background: var(--light-gray);
}

.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 36px;
}

.ba-card {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--white);
}

.ba-card-img {
  position: relative;
}

.ba-card-img img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

.ba-label {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--radius-btn);
}

.ba-label--after {
  background: var(--white);
  color: var(--black);
}

.ba-caption {
  padding: 16px 20px;
  font-size: 14px;
  color: var(--mid-gray);
  line-height: 1.55;
  border-top: 1px solid var(--border);
}

.ba-disclaimer {
  font-size: 13px;
  color: var(--mid-gray);
  font-style: italic;
  text-align: center;
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

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

@media (max-width: 700px) {
  .ba-grid { grid-template-columns: 1fr; }
  .ba-card-img img { height: 260px; }
}


/* ==========================================
   7-STEP PROCESS (Section 06)
   ========================================== */
#restoration-process {
  background: var(--white);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.process-grid--row2 {
  grid-template-columns: repeat(3, 1fr);
  max-width: calc(75% + 10px);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}

.process-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 28px 20px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

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

.process-card-num {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 900;
  color: var(--black);
  opacity: 0.09;
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.03em;
}

.process-card-icon { font-size: 26px; margin-bottom: 10px; }

.process-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--near-black);
  margin-bottom: 8px;
  line-height: 1.3;
}

.process-card p {
  font-size: 13px;
  color: var(--mid-gray);
  line-height: 1.6;
}

@media (max-width: 960px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid--row2 { grid-template-columns: repeat(2, 1fr); max-width: 100%; }
  .process-grid--row2 .process-card:last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - 10px);
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .process-grid, .process-grid--row2 { grid-template-columns: 1fr; }
  .process-grid--row2 .process-card:last-child {
    grid-column: auto;
    max-width: 100%;
  }
}

.process-footnote {
  text-align: center;
  margin-top: 40px;
}


/* ==========================================
   SERVICES (Section 07)
   ========================================== */
#services {
  background: var(--light-gray);
}

.featured-service {
  background: var(--black);
  color: var(--white);
  border-radius: 8px;
  padding: 48px 56px;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
}

.featured-service-badge {
  display: inline-block;
  background: rgba(255,255,255,0.14);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: var(--radius-btn);
  margin-bottom: 14px;
}

.featured-service h3 {
  font-size: clamp(22px, 2.5vw, 28px);
  color: var(--white);
  margin-bottom: 14px;
}

.featured-service p {
  font-size: 16px;
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
  max-width: 520px;
}

.featured-service-action {
  flex-shrink: 0;
  align-self: center;
}

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

.service-card {
  background: var(--white);
  border-radius: 6px;
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}

.service-card-icon { font-size: 28px; margin-bottom: 14px; }

.service-card h3 {
  font-size: 17px;
  margin-bottom: 10px;
  color: var(--near-black);
}

.service-card p {
  font-size: 14px;
  color: var(--mid-gray);
  line-height: 1.65;
}

@media (max-width: 960px) {
  .featured-service {
    flex-direction: column;
    padding: 36px 32px;
    gap: 28px;
  }
  .secondary-services { grid-template-columns: 1fr; }
}


/* ==========================================
   WHY BAYOYA'S (Section 08)
   ========================================== */
#why-bayoyas {
  background: var(--near-black);
  color: var(--white);
}

.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  overflow: hidden;
}

.diff-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 32px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  border-right: 1px solid rgba(255,255,255,0.07);
  transition: background var(--transition);
}

.diff-item:hover { background: rgba(255,255,255,0.04); }

.diff-item:nth-child(even) { border-right: none; }

.diff-item:nth-last-child(-n+2) {
  border-bottom: none;
}

/* If 7 items, last one spans full width */
.diff-item:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  border-right: none;
  border-bottom: none;
}

.diff-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  background: rgba(255,255,255,0.09);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.diff-text h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 5px;
}

.diff-text p {
  font-size: 13px;
  color: rgba(255,255,255,0.58);
  line-height: 1.6;
}

@media (max-width: 700px) {
  .diff-grid { grid-template-columns: 1fr; }
  .diff-item { border-right: none; }
  .diff-item:last-child:nth-child(odd) { grid-column: auto; }
}


/* ==========================================
   SCREEN OPTIONS (Section 09)
   ========================================== */
#screen-options {
  background: var(--white);
}

.screen-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.screen-card {
  border: 1.5px solid var(--border);
  border-radius: 6px;
  padding: 32px 24px;
  text-align: center;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.screen-card:hover {
  border-color: var(--near-black);
  box-shadow: var(--shadow-sm);
}

.screen-card-icon { font-size: 36px; margin-bottom: 16px; }

.screen-card h3 {
  font-size: 17px;
  margin-bottom: 10px;
  color: var(--near-black);
}

.screen-card p {
  font-size: 14px;
  color: var(--mid-gray);
  line-height: 1.65;
}

.screen-prompt {
  text-align: center;
  margin-top: 36px;
  font-size: 15px;
  color: var(--mid-gray);
}

/* Screen type label — subtle eyebrow badge above each card heading */
.screen-type {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid-gray);
  background: var(--light-gray);
  padding: 3px 10px;
  border-radius: var(--radius-btn);
  margin-bottom: 12px;
}

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


/* ==========================================
   CUSTOMER PROCESS (Section 10)
   ========================================== */
#customer-process {
  background: var(--light-gray);
}

.cust-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.cust-step {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
}

.cust-step:nth-child(even) { border-right: none; }

.cust-step:last-child { border-bottom: none; }

/* If last item is odd (7th), span full width */
.cust-step:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  border-right: none;
}

.cust-step-num {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  background: var(--black);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 800;
}

.cust-step-content h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--near-black);
  margin-bottom: 5px;
}

.cust-step-content p {
  font-size: 13px;
  color: var(--mid-gray);
  line-height: 1.6;
}

.cust-bottom-cta {
  text-align: center;
  margin-top: 48px;
}

@media (max-width: 700px) {
  .cust-steps { grid-template-columns: 1fr; }
  .cust-step { border-right: none; }
  .cust-step:last-child { border-bottom: none; }
  .cust-step:last-child:nth-child(odd) { grid-column: auto; }
}


/* ==========================================
   SERVICE AREA (Section 11)
   ========================================== */
#service-area {
  background: var(--white);
}

.zip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 32px;
}

.zip-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px 28px;
  border-radius: 8px;
  background: var(--white);
  color: var(--near-black);
  border: 2px solid var(--near-black);
  min-width: 170px;
}

.zip-code {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid-gray);
  line-height: 1;
  margin-bottom: 6px;
}

.zip-name {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--near-black);
  text-align: left;
  line-height: 1.35;
}

.zip-badge--secondary {
  background: var(--off-white);
  color: var(--near-black);
  border: 1.5px solid var(--border);
}

.zip-badge--secondary .zip-code { color: var(--mid-gray); }
.zip-badge--secondary .zip-name { color: var(--charcoal); }

.zip-test-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid-gray);
  background: var(--light-gray);
  padding: 2px 10px;
  border-radius: var(--radius-btn);
  margin-top: 6px;
  border: 1px solid var(--border);
}

.out-of-area {
  text-align: center;
  font-size: 15px;
  color: var(--charcoal);
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.65;
}

.service-area-cta { text-align: center; }

@media (max-width: 600px) {
  /* Single-column grid: all cards identical width; min-height normalises
     1-line (Mandarin) to match 2-line (Intracoastal West / East Arlington) cards */
  .zip-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .zip-badge {
    min-width: unset;
    width: 100%;
    min-height: 100px;
    padding: 20px 24px;
    box-sizing: border-box;
  }
}


/* ==========================================
   PHOTO PROMPT (Section 12)
   ========================================== */
#photo-prompt {
  background: var(--light-gray);
}

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

.photo-prompt-content h2 {
  font-size: clamp(26px, 3vw, 36px);
  margin-bottom: 14px;
}

.photo-prompt-content .lead {
  font-size: 16px;
  color: var(--charcoal);
  line-height: 1.7;
  margin-bottom: 24px;
}

.photo-list {
  margin-bottom: 32px;
}

.photo-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  color: var(--charcoal);
}
.photo-item:first-child { border-top: 1px solid var(--border); }

.photo-item-icon { font-size: 15px; flex-shrink: 0; margin-top: 1px; }

.photo-optional {
  font-size: 13px;
  color: var(--mid-gray);
  margin-top: 16px;
  font-style: italic;
}

.photo-prompt-img {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.photo-prompt-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

@media (max-width: 900px) {
  .photo-prompt-grid { grid-template-columns: 1fr; gap: 36px; }
  .photo-prompt-img img { height: 260px; }
}


/* ==========================================
   ASSESSMENT FORM (Section 13)
   ========================================== */
#assessment-form {
  background: var(--off-white);
}

.form-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: flex-start;
}

/* Form Card */
.form-card {
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

/* Progress */
.form-progress-bar {
  background: var(--light-gray);
  padding: 20px 32px 16px;
  border-bottom: 1px solid var(--border);
}

.progress-step-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-bottom: 12px;
}

.progress-track {
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 10px;
}

.progress-fill {
  height: 100%;
  background: var(--black);
  border-radius: 2px;
  transition: width 0.35s ease;
  width: 25%;
}

.progress-dots {
  display: flex;
  gap: 8px;
}

.pdot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  color: var(--mid-gray);
  transition: all 0.25s ease;
}

.pdot.active {
  border-color: var(--black);
  background: var(--black);
  color: var(--white);
}

.pdot.done {
  border-color: var(--black);
  background: var(--black);
  color: var(--white);
}
.pdot.done::after { content: '✓'; font-size: 12px; }

/* Step panels */
.form-step-panel {
  padding: 36px 32px 28px;
  display: none;
}
.form-step-panel.active { display: block; }

.form-step-panel h3 {
  font-size: 19px;
  margin-bottom: 24px;
  color: var(--near-black);
}

/* Fields */
.form-group { margin-bottom: 18px; }

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

label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 6px;
}

label .req { color: var(--black); }

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--near-black);
  background: var(--white);
  transition: border-color var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23777' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--black);
}

textarea { resize: vertical; min-height: 90px; }

/* Radio / Checkbox */
.radio-opts, .check-opts { display: flex; flex-direction: column; gap: 10px; }

.radio-opt, .check-opt {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--charcoal);
  cursor: pointer;
  line-height: 1.4;
}

.radio-opt input[type="radio"],
.check-opt input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  accent-color: var(--black);
  cursor: pointer;
  border: none;
  padding: 0;
}

.radio-opt--featured {
  padding: 14px 16px;
  border: 2px solid var(--black);
  border-radius: 4px;
  background: rgba(0,0,0,0.03);
  font-weight: 600;
}

.featured-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--black);
  color: var(--white);
  padding: 2px 8px;
  border-radius: var(--radius-btn);
  margin-left: 8px;
  vertical-align: middle;
}

/* Form Controls */
.form-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  border-top: 1px solid var(--border);
  background: var(--light-gray);
  gap: 12px;
}

.btn-back {
  background: transparent;
  color: var(--charcoal);
  border: 1.5px solid var(--border);
  padding: 11px 24px;
  border-radius: var(--radius-btn);
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-back:hover { border-color: var(--charcoal); color: var(--black); }

.btn-next, .btn-submit {
  background: var(--black);
  color: var(--white);
  border: none;
  padding: 13px 32px;
  border-radius: var(--radius-btn);
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-next:hover, .btn-submit:hover {
  background: var(--charcoal);
  transform: translateY(-1px);
}

/* File Upload */
.upload-area {
  border: 2px dashed var(--border);
  border-radius: 6px;
  padding: 32px;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  position: relative;
}
.upload-area:hover {
  border-color: var(--near-black);
  background: var(--light-gray);
}
.upload-area input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
}
.upload-icon { font-size: 32px; margin-bottom: 8px; }
.upload-area p { font-size: 14px; color: var(--mid-gray); line-height: 1.5; }

/* ==========================================
   PHOTO PREVIEW COMPONENT
   ========================================== */

/* Count header bar */
.photo-count-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.photo-count-text {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--near-black);
}

.photo-count-text::before {
  content: '\2713\00a0'; /* ✓ + non-breaking space */
}

.photo-limit-msg {
  font-size: 12px;
  color: #c0392b;
  font-style: italic;
}

/* Thumbnail grid */
.photo-thumb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

/* Individual thumbnail card */
.photo-thumb-item {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

/* 4:3 aspect-ratio image wrapper */
.photo-thumb-imgwrap {
  position: relative;
  width: 100%;
  padding-top: 75%;
  background: var(--light-gray);
  overflow: hidden;
}

.photo-thumb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* HEIC / unsupported format fallback */
.photo-thumb-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: var(--mid-gray);
  background: var(--light-gray);
}

/* ✕ remove button — 44×44 touch target, modest 26×26 visual circle via ::before */
.photo-thumb-remove {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  border: none;
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 2;
}

/* Visual circle — modest 26×26, centered within the 44×44 touch target */
.photo-thumb-remove::before {
  content: '';
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.58);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: background var(--transition);
}

.photo-thumb-remove:hover::before { background: rgba(192, 57, 43, 0.90); }

.photo-thumb-remove:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 1px;
}

/* Filename + size row */
.photo-thumb-meta {
  padding: 5px 8px 7px;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.photo-thumb-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--near-black);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.photo-thumb-size {
  font-size: 11px;
  color: var(--mid-gray);
}

/* Actions row below the grid */
.photo-preview-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.photo-add-more-btn {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--near-black);
  background: transparent;
  border: 1.5px solid var(--near-black);
  border-radius: var(--radius-btn);
  padding: 8px 18px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  line-height: 1;
}

.photo-add-more-btn:hover {
  background: var(--near-black);
  color: var(--white);
}

.photo-add-more-btn:focus-visible {
  outline: 3px solid var(--black);
  outline-offset: 3px;
}

.photo-ready-text {
  font-size: 12px;
  color: var(--mid-gray);
  font-style: italic;
}

/* Responsive: 2-column grid at narrow widths */
@media (max-width: 600px) {
  .photo-thumb-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}

/* Form Success */
.form-success {
  text-align: center;
  padding: 60px 32px;
  display: none;
}
.form-success.visible { display: block; }

.form-success-icon { font-size: 52px; margin-bottom: 16px; }

.form-success h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.form-success p {
  font-size: 15px;
  color: var(--mid-gray);
  margin-bottom: 20px;
}

.prototype-banner {
  display: inline-block;
  background: #fff8e1;
  color: #7a5c00;
  border: 1px solid #f0c040;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  margin-top: 8px;
}

/* Trust Panel */
.form-trust-panel {
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  padding: 32px;
  position: sticky;
  top: 90px;
}

.trust-phone-num {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 2px;
}
.trust-phone-num a { color: inherit; }

.trust-subtext {
  font-size: 13px;
  color: var(--mid-gray);
  margin-bottom: 24px;
}

.trust-list {
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.trust-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--charcoal);
}

.trust-check { font-weight: 800; color: var(--black); flex-shrink: 0; }

@media (max-width: 960px) {
  .form-wrapper { grid-template-columns: 1fr; }
  .form-trust-panel { position: static; }
  .form-row-2 { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .form-controls {
    padding: 14px 20px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
  /* Collapse visibility:hidden Back button out of flex layout so Next centers cleanly */
  .btn-back[style*="visibility:hidden"],
  .btn-back[style*="visibility: hidden"] {
    display: none;
  }
  .btn-next {
    flex: none;
    min-width: 0;
    white-space: normal;
    line-height: 1.3;
    text-align: center;
  }
  .form-step-panel { padding: 28px 20px 20px; }
  .form-progress-bar { padding: 16px 20px 14px; }
  /* Trust card: center phone + subtext; checklist stays left-aligned */
  .trust-phone-num,
  .trust-subtext {
    text-align: center;
  }
}


/* ==========================================
   FAQ (Section 14)
   ========================================== */
#faq {
  background: var(--white);
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 0;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  color: var(--near-black);
  line-height: 1.35;
  transition: color var(--transition);
}

.faq-trigger:hover { color: var(--black); }

.faq-trigger:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
  border-radius: 2px;
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 300;
  color: var(--mid-gray);
  transition: all 0.3s ease;
  margin-top: 2px;
}

.faq-item.open .faq-icon {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-body-inner {
  padding: 0 0 24px;
  font-size: 15px;
  color: var(--charcoal);
  line-height: 1.8;
}

.faq-body-inner p + p { margin-top: 10px; }

.faq-item.open .faq-body { max-height: 800px; }

.faq-footer {
  text-align: center;
  margin-top: 52px;
}

.faq-footer p {
  font-size: 16px;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.faq-footer a {
  color: var(--black);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* ==========================================
   FINAL CTA (Section 16)
   ========================================== */
#final-cta {
  background: var(--black);
  color: var(--white);
  text-align: center;
}

#final-cta h2 {
  font-size: clamp(28px, 4vw, 46px);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 18px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

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

@media (max-width: 767px) {
  .final-cta-buttons { flex-direction: column; align-items: center; }
  .final-cta-buttons .btn { width: 100%; max-width: 360px; }
}


/* ==========================================
   FOOTER (Section 17)
   ========================================== */
#site-footer {
  background: var(--near-black);
  color: var(--white);
  padding: 0 0 40px;
}

/* Orange-to-blue brand signature line at very top */
#site-footer::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--brand-red)    0%,
    var(--brand-orange) 50%,
    var(--brand-blue)   100%
  );
}

/* ---- 3-column desktop grid ---- */
.footer-main {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 48px;
  padding-top: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  margin-bottom: 24px;
  align-items: start;
}

/* ---- Col 1: Brand ---- */

/* Intentional brand plaque — logo has raster background, plaque makes it deliberate */
.footer-logo {
  display: inline-block;
  background: #ffffff;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 14px;
  line-height: 0;
}

.footer-logo img {
  display: block;
  width: 200px;
  max-width: 200px;
  height: auto;
}

.footer-company {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.02em;
  margin: 0 0 4px;
  line-height: 1.5;
}

.footer-location {
  font-size: 12px;
  color: rgba(255,255,255,0.40);
  letter-spacing: 0.04em;
  margin: 0;
}

/* ---- Col 2: Contact ---- */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Shared eyebrow for contact + CTA columns */
.footer-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-red);
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-eyebrow::after {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--brand-red);
  opacity: 0.40;
  vertical-align: middle;
}

.footer-phone {
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color var(--transition);
}

.footer-phone:hover { color: var(--brand-orange); }

.footer-email {
  font-size: 13px;
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  transition: color var(--transition);
  word-break: break-all;
}

.footer-email:hover { color: var(--white); }

.footer-contact-city {
  font-size: 12px;
  color: rgba(255,255,255,0.40);
  margin: 4px 0 0;
}

/* ---- Col 3: CTA ---- */
.footer-cta-col {
  display: flex;
  flex-direction: column;
}

.footer-cta-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.68);
  margin: 0 0 18px;
  line-height: 1.5;
}

/* Restrained pill CTA — secondary conversion, not a duplicate hero */
.btn--footer-cta {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  background: transparent;
  border: 2px solid var(--brand-red);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  align-self: flex-start;
  white-space: nowrap;
}

.btn--footer-cta:hover {
  background: var(--brand-red);
  color: var(--white);
  border-color: var(--brand-red);
}

/* ---- Legal row ---- */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
}

.footer-bottom a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-bottom a:hover { color: rgba(255,255,255,0.80); }

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer-cta-col {
    grid-column: 1 / -1;
  }
  .btn--footer-cta {
    align-self: flex-start;
  }
}

@media (max-width: 600px) {
  #site-footer {
    padding-bottom: 32px;
  }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 48px;
    padding-bottom: 32px;
  }
  .footer-cta-col {
    grid-column: auto;
  }
  .btn--footer-cta {
    width: 100%;
    text-align: center;
    align-self: stretch;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
}

@media (max-width: 390px) {
  .footer-logo img {
    width: 160px;
    max-width: 160px;
  }
  .footer-main {
    padding-top: 40px;
  }
}


/* ==========================================
   MOBILE STICKY BAR
   ========================================== */
#sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--black);
  height: 58px;
  border-top: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 -3px 16px rgba(0,0,0,0.3);
}

.sticky-bar-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  border: none;
  background: none;
  cursor: pointer;
  height: 100%;
  padding: 0 12px;
  transition: background var(--transition);
}
.sticky-bar-btn:hover { background: rgba(255,255,255,0.07); }
.sticky-bar-btn:first-child { border-right: 1px solid rgba(255,255,255,0.12); }

.sticky-bar-icon { font-size: 16px; }

@media (max-width: 767px) {
  #sticky-bar { display: flex; }
  body { padding-bottom: 58px; }
}


/* ==========================================
   SCROLL REVEAL
   ========================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}


/* ==========================================
   UTILITY
   ========================================== */
.text-center { text-align: center; }
.mt-12 { margin-top: 12px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-0 { margin-bottom: 0 !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}


/* ==========================================
   PHASE 4B — VISUAL & MOBILE REFINEMENTS
   ========================================== */

/* --- Hero: secondary CTA visually subordinate on mobile --- */
@media (max-width: 767px) {
  .hero-ctas .btn--outline-white {
    font-size: 11px;
    padding: 12px 22px;
    opacity: 0.82;
  }
  /* Phone de-emphasized — sticky bar handles call CTA; centered beneath CTA buttons */
  .hero-phone {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    text-align: center;
  }
}

/* --- Process cards: single-column mobile comfort --- */
@media (max-width: 600px) {
  .process-card {
    padding: 32px 24px;
  }
  .process-card-num {
    font-size: 52px;
    opacity: 0.12;
  }
  .process-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
  }
  .process-card p {
    font-size: 15px;
    line-height: 1.65;
  }
}

/* --- Why Bayoya's: mobile typography --- */
@media (max-width: 700px) {
  .diff-item {
    padding: 22px 22px;
    gap: 16px;
  }
  .diff-text h3 {
    font-size: 16px;
  }
  .diff-text p {
    font-size: 14px;
    line-height: 1.65;
  }
}

/* --- Customer process: mobile typography --- */
@media (max-width: 700px) {
  .cust-step {
    padding: 22px 20px;
    gap: 16px;
  }
  .cust-step-content h3 {
    font-size: 16px;
  }
  .cust-step-content p {
    font-size: 14px;
    line-height: 1.65;
  }
}

/* --- Service & screen cards: mobile typography --- */
@media (max-width: 767px) {
  .service-card h3 { font-size: 18px; }
  .service-card p  { font-size: 15px; line-height: 1.65; }
  .screen-card     { padding: 28px 22px; }
  .screen-card h3  { font-size: 18px; }
  .screen-card p   { font-size: 15px; line-height: 1.65; }
}

/* --- Form: mobile improvements --- */
@media (max-width: 767px) {
  /* 16px minimum prevents iOS auto-zoom on focus */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  select,
  textarea {
    font-size: 16px;
    padding: 13px 14px;
  }
  select { padding-right: 40px; }
  .form-step-panel h3 {
    font-size: 20px;
    margin-bottom: 22px;
  }
  .progress-step-label { font-size: 13px; }
  .btn-next, .btn-submit {
    padding: 15px 24px;
    font-size: 12px;
  }
  .radio-opt, .check-opt {
    padding: 5px 0;
  }
}

/* --- FAQ: mobile touch targets and typography --- */
@media (max-width: 767px) {
  .faq-trigger {
    padding: 22px 0;
    font-size: 16px;
  }
  .faq-icon {
    width: 32px;
    height: 32px;
    font-size: 20px;
  }
  .faq-body-inner {
    font-size: 15px;
  }
}


/* ==========================================
   PHASE 4C — BAYOYA'S BRAND INTEGRATION
   Visual accent layer: ~80% neutral / ~15% orange-red / ~5% blue
   Brand assets: BFC-horizontal-logo.png / BFC-logo-concept.png
   Colors confirmed from brand reference: #FF3B00 / #FF8A00 / #0D2EFF
   ========================================== */

/* --- TYPOGRAPHY: Bebas Neue display font --- */
/* Applied to decorative process numbers, step circles, and strip words */

.strip-word {
  font-family: var(--font-display);
  letter-spacing: 0.08em; /* Bebas Neue has its own natural spacing; reduce from 0.15em */
}

.strip-arrow {
  color: var(--brand-orange);
  opacity: 0.8;
}

/* --- EYEBROW VARIANT: brand orange for dark-section eyebrows --- */
.eyebrow--brand { color: var(--brand-orange); }

/* Hero eyebrow — brand orange on dark photography background */
.hero-content .eyebrow { color: var(--brand-orange); }

/* Hero accent rule — thin gradient line anchoring the eyebrow */
.hero-accent-rule {
  display: block;
  width: 44px;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-red), var(--brand-orange));
  border-radius: 1px;
  margin-top: -8px;   /* close gap with eyebrow's bottom margin */
  margin-bottom: 24px;
}

/* --- BEFORE / AFTER — brand identity on result label --- */
.ba-label--after {
  background: var(--brand-red);
  color: var(--white);
}

/* --- 7-STEP PROCESS — Bebas Neue decorative numbers + brand tint --- */
.process-card-num {
  font-family: var(--font-display);
  color: rgba(255, 59, 0, 0.13); /* brand-red at 13% — warm decorative tint */
  opacity: 1;                     /* reset the Phase 4 opacity:0.09 */
}

/* --- SERVICES — brand accent borders --- */
.featured-service {
  border-top: 4px solid var(--brand-red);
}

.service-card {
  border-top: 3px solid var(--brand-red);
}

/* --- WHY BAYOYA'S — brand icon circle backgrounds --- */
#why-bayoyas .diff-icon {
  background: rgba(255, 59, 0, 0.15);
}

/* Two blue accent icons for visual balance */
#why-bayoyas .diff-item:nth-child(4) .diff-icon,
#why-bayoyas .diff-item:nth-child(6) .diff-icon {
  background: rgba(13, 46, 255, 0.18);
}

/* --- SCREEN OPTIONS — brand type label accent --- */
.screen-type {
  color: var(--brand-red);
  background: rgba(255, 59, 0, 0.07);
}

/* --- CUSTOMER PROCESS — brand red numbered circles --- */
.cust-step-num {
  background: var(--brand-red);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400; /* Bebas Neue is a single-weight display face */
  letter-spacing: 0.04em;
}

/* --- ASSESSMENT FORM — brand red active/progress states --- */
.pdot.active,
.pdot.done {
  border-color: var(--brand-red);
  background: var(--brand-red);
}

.progress-fill { background: var(--brand-red); }

.radio-opt--featured {
  border-color: var(--brand-red);
  background: rgba(255, 59, 0, 0.03);
}

.featured-badge { background: var(--brand-red); }

/* Form Next / Submit — primary brand conversion action */
.btn-next,
.btn-submit {
  background: var(--brand-red);
}

.btn-next:hover,
.btn-submit:hover {
  background: var(--brand-orange);
  transform: translateY(-1px);
}

/* --- FAQ — brand orange active state --- */
.faq-item.open .faq-icon {
  background: var(--brand-red);
  border-color: var(--brand-red);
}

.faq-trigger:hover { color: var(--brand-red); }

/* --- FINAL CTA — strongest brand moment --- */
/* Radial gradients evoke paint-splash energy on the black canvas.
   Left: warm orange-red glow.  Right: cool blue glow.
   Photography-safe: these are ambient color washes, not overlaid graphics. */
#final-cta {
  background:
    radial-gradient(ellipse at 12% 65%, rgba(255, 59, 0, 0.20) 0%, transparent 52%),
    radial-gradient(ellipse at 88% 35%, rgba(13, 46, 255, 0.14) 0%, transparent 46%),
    var(--black);
}

/* --- SERVICE AREA — subtle brand accent on primary zip cards --- */
.zip-badge {
  border-left: 3px solid var(--brand-red);
  border-top: 2px solid var(--near-black);
  border-right: 2px solid var(--near-black);
  border-bottom: 2px solid var(--near-black);
}

/* Secondary badges get no brand-red accent — all sides uniform light border */
.zip-badge--secondary {
  border: 1.5px solid var(--border);
  border-left-width: 1.5px; /* explicitly reset — no brand accent on secondary */
}
