/* ===== ALL STAR PROS — Design System ===== */
/* Palette matched to live allstarpros.com brand (2026-06-17 v2 — contrast fix):
   --asp-primary-color #eb2a35 (red — CTAs, accents)
   --asp-secondary-color #3b5b9c (royal blue — dark surfaces, body text)
   Form gradient #5a73aa → #3b5b9c
   Brand font: Montserrat

   ROLE-BASED VARIABLES:
   - --navy/navy-deep = dark surfaces (hero bg, nav bg) → royal blue
   - --gold/gold-bright = accent + CTA color → red
   - All text on dark surfaces stays WHITE for readability
   - Accent text on dark surfaces uses WHITE bold, not red (red on red = invisible) */
:root {
  --navy: #3b5b9c;         /* royal blue — used for nav bg, hero darker color */
  --navy-deep: #0f1d40;    /* deep blue — hero darkest gradient stop */
  --gold: #eb2a35;         /* red — CTA buttons, logo accent, step numbers */
  --gold-bright: #ff4a55;  /* hover red */
  --red: #b80009;          /* deep red — alerts, secondary red */
  --cream: #f7f7fb;        /* off-white — subtle text on dark bg */
  --gray: #707070;
  --light: #f7f7fb;
  --white: #ffffff;
  --shadow: 0 12px 40px rgba(15, 29, 64, 0.12);
  --shadow-lg: 0 20px 60px rgba(15, 29, 64, 0.18);
  /* New role-specific vars to fix contrast — used in selectors below */
  --hero-text-on-dark: #ffffff;
  --hero-accent-on-dark: #ffffff;  /* was red — now white bold for readability */
  --button-on-red: #ffffff;        /* white text on red CTA buttons */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #333333;
  line-height: 1.6;
  background: var(--white);
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== NAV ===== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 22, 40, 0.98);
  backdrop-filter: blur(12px);
  padding: 18px 0;
  border-bottom: 1px solid rgba(245, 184, 32, 0.2);
}
.nav-inner { display: flex; justify-content: space-between; align-items: center; }
.logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px; letter-spacing: 2px;
  color: var(--white); text-decoration: none;
  display: flex; align-items: center; gap: 8px;
}
.logo em { color: var(--gold); font-style: normal; }
.logo .star { color: var(--gold); font-size: 24px; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { color: var(--cream); text-decoration: none; font-weight: 500; font-size: 15px; transition: color 0.2s; }
.nav-links a:hover { color: var(--gold); }
.nav-pros {
  background: var(--gold);
  color: var(--button-on-red) !important;  /* white on red — readable */
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 700;
}
.nav-pros:hover { background: var(--gold-bright); color: var(--button-on-red) !important; }

/* ===== HERO — royal blue gradient bg, all white text for max contrast ===== */
.hero {
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(235, 42, 53, 0.18) 0%, transparent 50%),
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: var(--hero-text-on-dark);
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.06) 0, transparent 2px),
    radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.06) 0, transparent 2px);
  background-size: 60px 60px;
  opacity: 0.6;
  pointer-events: none;
}
.hero-inner { position: relative; text-align: center; max-width: 800px; margin: 0 auto; }
.badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.35);
  margin-bottom: 24px;
}
.hero h1 {
  font-family: 'Montserrat', 'Bebas Neue', sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 6.5vw, 72px);
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
  color: var(--white);
}
.accent { color: var(--white); font-weight: 800; }  /* was red on dark — invisible; now white-bold */
.sub {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 40px;
}
/* When .accent appears on light backgrounds (sections below hero), use red */
section .accent, .standards .accent, .how .accent { color: var(--gold); }

/* matcher form */
.matcher {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-width: 560px;
  margin: 16px auto 0;
  background: rgba(255, 255, 255, 0.1);
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.matcher input,
.matcher textarea {
  padding: 14px 16px;
  border: none;
  border-radius: 8px;
  background: #fff;
  font-family: inherit;
  font-size: 15px;
  color: var(--navy-deep);
  width: 100%;
  box-sizing: border-box;
  resize: vertical;
}
.matcher input::placeholder,
.matcher textarea::placeholder { color: #94a3b8; }
.matcher textarea { grid-column: 1 / -1; min-height: 64px; font-family: inherit; }
.matcher button { grid-column: 1 / -1; }
.form-disclaimer {
  grid-column: 1 / -1;
  font-size: 11px;
  color: rgba(255,255,255,0.65);
  margin: 0;
  text-align: center;
}
.match-success {
  margin: 16px auto 0; max-width: 560px;
  background: rgba(46, 204, 113, 0.15);
  border: 1px solid rgba(46, 204, 113, 0.5);
  border-radius: 14px;
  padding: 24px;
  text-align: center;
  color: #fff;
}
.match-success-icon { font-size: 40px; margin-bottom: 8px; }
.match-success h3 { font-size: 22px; margin: 0 0 8px; font-family: 'Bebas Neue', sans-serif; letter-spacing: 1px; }
.match-success p { font-size: 15px; color: rgba(255,255,255,0.9); margin: 0; line-height: 1.5; }
.matcher select {
  padding: 16px 18px;
  border: none;
  border-radius: 8px;
  background: var(--white);
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--navy-deep);
  cursor: pointer;
}
.matcher button {
  padding: 16px 32px;
  background: var(--gold);
  color: var(--button-on-red);  /* white on red — readable */
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.matcher button:hover {
  background: var(--gold-bright);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(235, 42, 53, 0.45);
}

.trust-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  flex-wrap: wrap;
}
.trust-row span:first-child { color: var(--white); font-weight: 700; }

/* ===== HERO OR DIVIDER ===== */
.hero-or {
  display: flex; align-items: center; gap: 14px;
  margin: 22px auto 16px; max-width: 480px;
}
.hero-or-line { flex: 1; height: 1px; background: rgba(255,255,255,0.25); }
.hero-or-text {
  font-family: 'Montserrat', inherit;
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
  color: rgba(255,255,255,0.7);
}

/* ===== HERO ALT (direct-hire CTA + collapsible quick-match) ===== */
.hero-alt { text-align: center; margin: 8px 0 28px; }
.hero-direct-cta {
  background: linear-gradient(135deg, #eb2a35 0%, #b80009 100%);
  color: #fff;
  border: none;
  padding: 16px 32px;
  border-radius: 100px;
  font-family: 'Montserrat', inherit;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(235, 42, 53, 0.45);
  transition: all 0.2s;
}
.hero-direct-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(235, 42, 53, 0.6);
}
.hero-direct-sub {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  margin: 10px 0 0;
  font-weight: 500;
}
.hero-alt-toggle {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 10px 22px;
  border-radius: 100px;
  font-family: 'Montserrat', inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all 0.2s;
}
.hero-alt-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  color: var(--white);
}
.hero-alt .matcher { margin-top: 16px; }
.hero-alt .matcher.hidden { display: none; }
.hidden { display: none !important; }

/* ===== SECTIONS ===== */
section { padding: 100px 0; }
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  text-align: center;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.section-sub {
  text-align: center;
  font-size: 18px;
  color: var(--gray);
  max-width: 640px;
  margin: 0 auto 60px;
}

/* ===== HOW IT WORKS ===== */
.how { background: var(--light); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.step {
  background: var(--white);
  padding: 40px 32px;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}
.step:hover { transform: translateY(-4px); }
.step-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 56px;
  color: var(--gold);
  margin-bottom: 12px;
  letter-spacing: 1px;
}
.step h3 { font-size: 22px; margin-bottom: 12px; }
.step p { color: var(--gray); font-size: 15px; }

/* ===== STANDARDS ===== */
.standards { background: var(--white); }
.standards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.standard {
  border: 2px solid var(--light);
  padding: 32px 28px;
  border-radius: 14px;
  transition: all 0.3s;
}
.standard:hover { border-color: var(--gold); transform: translateY(-3px); }
.standard .check {
  color: var(--gold);
  font-size: 32px;
  margin-bottom: 12px;
  line-height: 1;
}
.standard h3 { font-size: 19px; margin-bottom: 8px; }
.standard p { color: var(--gray); font-size: 14.5px; line-height: 1.6; }

/* ===== CITIES — dark blue surface, white + red accents ===== */
.cities { background: var(--navy-deep); color: var(--white); }
.cities .section-sub { color: rgba(255, 255, 255, 0.75); }
.city-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.city-card {
  background: linear-gradient(160deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 36px 30px;
  border-radius: 16px;
  transition: all 0.3s;
}
.city-card:hover {
  border-color: var(--gold);
  background: linear-gradient(160deg, rgba(235, 42, 53, 0.1) 0%, rgba(235, 42, 53, 0.02) 100%);
  transform: translateY(-4px);
}
.city-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--gold);
  margin-bottom: 14px;
}
.city-card h3 { font-family: 'Montserrat', 'Bebas Neue', sans-serif; font-weight: 800; font-size: 32px; letter-spacing: 0; margin-bottom: 12px; color: var(--white); }
.city-card p { color: rgba(255, 255, 255, 0.8); margin-bottom: 20px; font-size: 15px; }
.city-cta {
  color: var(--gold);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  border-bottom: 1px solid transparent;
  transition: border 0.2s;
}
.city-cta:hover { border-bottom-color: var(--gold); }

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--light); }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial {
  background: var(--white);
  padding: 32px 28px;
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.testimonial .stars { color: var(--gold); font-size: 18px; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial p { font-size: 16px; line-height: 1.65; margin-bottom: 18px; font-style: italic; }
.testimonial .who { font-size: 14px; font-weight: 600; color: var(--gray); }

/* ===== CONTRACTOR CTA — red gradient bg with WHITE text + WHITE button (red text on button) ===== */
.pro-cta {
  background: linear-gradient(135deg, var(--gold) 0%, var(--red) 100%);
  padding: 80px 0;
}
.pro-cta-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  color: var(--white);  /* was navy (blue) on red = invisible — now white */
}
.pro-cta-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.pro-cta h2 {
  font-family: 'Montserrat', 'Bebas Neue', sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 5.5vw, 56px);
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  color: var(--white);
  line-height: 1.1;
}
.pro-cta p { font-size: 18px; line-height: 1.7; margin-bottom: 32px; color: rgba(255, 255, 255, 0.95); }
.pro-cta p strong { color: var(--white); }
.cta-btn {
  display: inline-block;
  background: var(--white);  /* was navy (blue) — button blended with cities section above */
  color: var(--gold);        /* red text on white button — readable */
  padding: 18px 36px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.3px;
  transition: all 0.2s;
  box-shadow: 0 8px 24px rgba(15, 29, 64, 0.25);
}
.cta-btn:hover {
  background: var(--cream);
  color: var(--red);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(15, 29, 64, 0.35);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.75);
  padding: 60px 0 30px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 3fr;
  gap: 60px;
  margin-bottom: 40px;
}
.footer-brand p { margin-top: 8px; font-size: 14px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer-cols h4 { color: var(--gold); font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 16px; }
.footer-cols a { display: block; color: rgba(255, 255, 255, 0.75); text-decoration: none; padding: 4px 0; font-size: 14px; transition: color 0.2s; }
.footer-cols a:hover { color: var(--gold); }
.copyright { border-top: 1px solid rgba(255, 255, 255, 0.15); padding-top: 24px; font-size: 13px; color: rgba(255,255,255,0.6); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-pros { display: inline-block; }
  .steps, .standards-grid, .city-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .matcher { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
  section { padding: 70px 0; }
}
@media (max-width: 600px) {
  .footer-cols { grid-template-columns: 1fr; }
  .trust-row { font-size: 13px; }
}

/* ===== PRICING SECTION ===== */
.pricing { background: #fafbfc; padding: 90px 0; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.price-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  border-color: #eb2a35;
}
.price-icon { font-size: 40px; margin-bottom: 12px; }
.price-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 20px;
  margin: 0 0 12px;
  color: #0a1930;
}
.price-card .price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  color: #eb2a35;
  margin-bottom: 12px;
  letter-spacing: 1px;
}
.price-card p { font-size: 14px; color: #4a5568; line-height: 1.5; }
.price-disclaimer {
  text-align: center;
  margin-top: 36px;
  font-size: 13px;
  color: #6b7280;
  font-style: italic;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== STICKY CALL-ME-NOW BUTTON ===== */
.sticky-call {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9998;
  background: linear-gradient(135deg, #eb2a35 0%, #b80009 100%);
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 16px 24px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(235, 42, 53, 0.5);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: pulse-call 2.5s ease-in-out infinite;
}
.sticky-call:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(235, 42, 53, 0.65);
}
.sticky-call:active { transform: translateY(0); }
@keyframes pulse-call {
  0%, 100% { box-shadow: 0 8px 24px rgba(235, 42, 53, 0.5); }
  50% { box-shadow: 0 8px 24px rgba(235, 42, 53, 0.5), 0 0 0 12px rgba(235, 42, 53, 0.15); }
}

/* Mobile: full-width sticky bar at bottom */
@media (max-width: 640px) {
  .sticky-call {
    left: 12px;
    right: 12px;
    bottom: 12px;
    border-radius: 12px;
    justify-content: center;
    padding: 18px 20px;
    font-size: 17px;
  }
}

/* ===== CALLBACK MODAL ===== */
.cb-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(10, 25, 48, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(6px);
  animation: cb-fade-in 0.2s ease-out;
}
.cb-modal.hidden { display: none; }
@keyframes cb-fade-in { from { opacity: 0; } to { opacity: 1; } }

.cb-modal-inner {
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 420px;
  padding: 36px 30px 30px;
  position: relative;
  box-shadow: 0 24px 60px rgba(0,0,0,0.3);
  animation: cb-slide-up 0.3s ease-out;
}
@keyframes cb-slide-up { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.cb-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 28px;
  color: #9aa4b2;
  cursor: pointer;
  line-height: 1;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transition: background 0.15s, color 0.15s;
}
.cb-close:hover { background: #f3f4f6; color: #0a1930; }

.cb-modal h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  color: #0a1930;
  margin: 0 0 8px;
  letter-spacing: 1px;
}
.cb-sub { color: #4a5568; font-size: 15px; margin: 0 0 22px; line-height: 1.5; }

#callbackForm { display: flex; flex-direction: column; gap: 12px; }
#callbackForm input,
#callbackForm select,
#callbackForm textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  background: #fff;
  color: #0a1930;
  transition: border-color 0.15s;
}
#callbackForm input:focus,
#callbackForm select:focus,
#callbackForm textarea:focus {
  outline: none;
  border-color: #eb2a35;
  box-shadow: 0 0 0 3px rgba(235, 42, 53, 0.12);
}
.cb-submit {
  background: linear-gradient(135deg, #eb2a35 0%, #b80009 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 16px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  margin-top: 6px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.cb-submit:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(235, 42, 53, 0.35); }
.cb-submit:disabled { opacity: 0.7; cursor: wait; transform: none; }

.cb-disclaim { font-size: 11px; color: #9aa4b2; text-align: center; margin: 4px 0 0; line-height: 1.5; }

.cb-success { text-align: center; padding: 20px 0; }
.cb-success.hidden { display: none; }
.cb-success-icon { font-size: 56px; margin-bottom: 12px; }
.cb-success h3 { font-family: 'Bebas Neue', sans-serif; font-size: 32px; color: #16a34a; margin: 0 0 10px; }
.cb-success p { color: #4a5568; font-size: 15px; margin: 0; }

/* Responsive: pricing */
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .pricing-grid { grid-template-columns: 1fr; }
}
