/* ══════════════════════════════════════════════════════════════════
   HANDYMAN PAGE STYLES — /handyman/
   Loaded after assets/css/site.css. Uses shared design tokens
   (--navy, --gold, --charcoal, --steel, --cream, --off-white, --gold-light)
   defined in site.css. Adds page-local tokens below that do NOT
   collide with site.css names/values.
   ══════════════════════════════════════════════════════════════════ */

:root {
  --red:        #B91C1C;
  --gold-border: rgba(200,151,58,.25);
  --hs-radius:  10px;
  --hs-shadow:  0 4px 24px rgba(11,27,43,.18);
}

/* ─── LEAD FORM (mirrors site.css #form-success / #form-error / consent
   error wiring for this page's uniquely-prefixed hf- form IDs) ─── */
#hf-form-success {
  display: none;
  text-align: center;
  padding: 48px 24px;
}
#hf-form-success h3 { color: var(--white); font-size: 24px; margin-bottom: 12px; }
#hf-form-success p { color: rgba(255,255,255,.75); margin-bottom: 20px; }
#hf-form-error {
  display: none;
  background: rgba(185,28,28,.15);
  border: 1px solid rgba(185,28,28,.4);
  border-radius: var(--r);
  padding: 14px 18px;
  font-size: 14px;
  color: #fca5a5;
  line-height: 1.6;
  margin-top: 12px;
}
#hf-err-consent {
  font-size: 12px;
  color: #f87171;
  font-family: 'Inter', sans-serif;
  display: none;
  margin: -2px 0 12px 2px;
}
#hf-field-consent.invalid ~ #hf-err-consent { display: block; }

/* ─── UTILITY ─── */
.hs-section { padding: 80px 0; }
.hs-section.on-navy { background: var(--navy); }
.hs-section.on-cream { background: var(--off-white); }
.hs-section.on-charcoal { background: var(--charcoal); }
.hs-section-header { text-align: center; margin-bottom: 52px; }
.hs-section-header h2 { font-size: clamp(1.6rem,3vw,2.4rem); color: var(--navy); margin-bottom: 12px; }
.hs-section-header p { color: var(--muted); font-size: 1.05rem; max-width: 640px; margin: 0 auto; }
.hs-section-header.on-dark h2 { color: var(--off-white); }
.hs-section-header.on-dark p { color: rgba(253,252,250,.72); }
.hs-tag { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; display: block; color: var(--gold); }

/* ─── HERO ─── */
#hs-hero {
  background: linear-gradient(105deg, var(--navy) 60%, var(--charcoal) 100%);
  padding: 64px 24px 72px;
  position: relative;
  overflow: hidden;
}
#hs-hero::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='%23C8973A' fill-opacity='0.04'%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") repeat;
  pointer-events: none;
}
.hs-hero-inner { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; }
.hs-hero-eyebrow { color: var(--gold); font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.hs-hero-locale { color: rgba(200,151,58,.75); font-size: .78rem; font-weight: 600; letter-spacing: .04em; margin-bottom: 16px; }
.hs-hero-h1 { font-family: 'DM Sans', sans-serif; font-size: clamp(2rem,4.5vw,3.2rem); color: var(--off-white); font-weight: 800; margin-bottom: 20px; line-height: 1.15; }
.hs-hero-sub { color: rgba(253,252,250,.8); font-size: 1.05rem; line-height: 1.7; margin-bottom: 26px; }
.hs-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.hs-badge { display: flex; align-items: center; gap: 7px; background: rgba(200,151,58,.12); border: 1px solid var(--gold-border); color: var(--gold); padding: 7px 14px; border-radius: 50px; font-size: .8rem; font-weight: 600; }
.hs-badge svg { width: 14px; height: 14px; flex-shrink: 0; }
.hs-hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 20px; }
.hs-hero-emergency { color: var(--red); font-weight: 700; font-size: .95rem; display: flex; align-items: center; gap: 8px; }
.hs-hero-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--gold-border); border-radius: var(--hs-radius); overflow: hidden; margin-top: 30px; }
.hs-stat-item { background: rgba(11,27,43,.6); padding: 16px 12px; text-align: center; }
.hs-stat-val { font-size: 1.2rem; font-weight: 800; color: var(--gold); display: block; }
.hs-stat-label { font-size: .7rem; color: rgba(253,252,250,.7); text-transform: uppercase; letter-spacing: .05em; }
.hs-hero-visual { display: flex; justify-content: center; align-items: center; }
.hs-hero-card { background: rgba(30,45,61,.85); border: 1px solid var(--gold-border); border-radius: 14px; padding: 32px; width: 100%; max-width: 380px; }
.hs-hero-card-title { color: var(--gold); font-weight: 700; font-size: 1.1rem; margin-bottom: 20px; text-align: center; }
.hs-quick-estimate label { display: block; color: rgba(253,252,250,.8); font-size: .85rem; font-weight: 600; margin-bottom: 6px; margin-top: 14px; }
.hs-quick-estimate select, .hs-quick-estimate input { width: 100%; background: rgba(11,27,43,.7); border: 1px solid var(--gold-border); color: var(--off-white); padding: 11px 14px; border-radius: 8px; font-family: 'Inter', sans-serif; font-size: .9rem; }
.hs-quick-estimate select option { background: var(--navy); }
.hs-quick-estimate .btn-primary { width: 100%; margin-top: 18px; justify-content: center; }
@media (max-width: 900px) {
  .hs-hero-inner { grid-template-columns: 1fr; }
  .hs-hero-visual { display: none; }
  .hs-hero-stats { grid-template-columns: repeat(3,1fr); }
}

/* ─── SERVICE GRID ─── */
.hs-services-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.hs-service-card { background: var(--off-white); border: 1px solid var(--border); border-radius: 14px; padding: 28px 22px 24px; transition: all .25s; position: relative; overflow: hidden; }
.hs-service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gold); transform: scaleX(0); transition: transform .25s; transform-origin: left; }
.hs-service-card:hover { box-shadow: var(--hs-shadow); border-color: var(--gold); transform: translateY(-4px); }
.hs-service-card:hover::before { transform: scaleX(1); }
.hs-service-card.emergency-card { border-color: var(--red); background: #fff5f5; }
.hs-service-card.emergency-card::before { background: var(--red); transform: scaleX(1); }
.hs-card-icon { width: 48px; height: 48px; background: var(--navy); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.hs-card-icon svg { width: 26px; height: 26px; color: var(--gold); }
.hs-service-card.emergency-card .hs-card-icon { background: var(--red); }
.hs-service-card.emergency-card .hs-card-icon svg { color: #fff; }
.hs-service-card h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: 10px; }
.hs-service-card p { font-size: .88rem; color: var(--muted); line-height: 1.6; margin-bottom: 14px; }
.hs-card-price { font-weight: 700; color: var(--gold); font-size: .92rem; margin-bottom: 16px; display: block; }
.hs-service-card.emergency-card .hs-card-price { color: var(--red); }
.hs-card-cta { display: inline-block; font-size: .85rem; font-weight: 700; color: var(--navy); border-bottom: 2px solid var(--gold); padding-bottom: 2px; transition: color .2s; }
.hs-card-cta:hover { color: var(--gold); }
.hs-service-card.emergency-card .hs-card-cta { color: var(--red); border-color: var(--red); }
@media (max-width: 1024px) { .hs-services-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 540px) { .hs-services-grid { grid-template-columns: 1fr; } }

/* ─── ESTIMATOR ─── */
.hs-estimator-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.hs-est-form { background: var(--charcoal); border: 1px solid var(--gold-border); border-radius: 14px; padding: 36px; }
.hs-est-form label { display: block; color: rgba(253,252,250,.85); font-size: .87rem; font-weight: 600; margin-bottom: 6px; margin-top: 16px; }
.hs-est-form label:first-child { margin-top: 0; }
.hs-est-form select, .hs-est-form input[type=text], .hs-est-form input[type=number] {
  width: 100%; background: rgba(11,27,43,.7); border: 1px solid var(--gold-border); color: var(--off-white);
  padding: 12px 14px; border-radius: 8px; font-family: 'Inter', sans-serif; font-size: .93rem;
}
.hs-est-form select option { background: var(--navy); }
.hs-conditional-field { display: none; }
.hs-conditional-field.visible { display: block; }
.hs-est-result { background: var(--charcoal); border: 1px solid var(--gold-border); border-radius: 14px; padding: 36px; position: sticky; top: 96px; }
.hs-est-result-title { color: var(--gold); font-weight: 700; font-size: 1.05rem; margin-bottom: 20px; }
.hs-est-price-display { text-align: center; padding: 28px 16px; border: 1px solid var(--gold-border); border-radius: 10px; margin-bottom: 20px; background: rgba(11,27,43,.4); }
.hs-est-price-main { font-size: 2.6rem; font-weight: 800; color: var(--gold); display: block; font-family: 'DM Sans', sans-serif; }
.hs-est-price-label { font-size: .82rem; color: rgba(253,252,250,.6); margin-top: 4px; display: block; }
.hs-est-breakdown { list-style: none; margin-bottom: 18px; }
.hs-est-breakdown li { font-size: .87rem; color: rgba(253,252,250,.75); padding: 6px 0; border-bottom: 1px solid rgba(200,151,58,.1); display: flex; gap: 8px; }
.hs-est-breakdown li::before { content: '✓'; color: var(--gold); font-weight: 700; flex-shrink: 0; }
.hs-est-disclaimer { font-size: .78rem; color: rgba(253,252,250,.55); text-align: center; margin-bottom: 16px; line-height: 1.5; }
.hs-est-result .btn-primary { width: 100%; justify-content: center; margin-bottom: 12px; }
.hs-est-nudge { background: rgba(200,151,58,.1); border: 1px solid var(--gold-border); border-radius: 8px; padding: 14px 16px; font-size: .82rem; color: rgba(253,252,250,.8); text-align: center; margin-top: 14px; }
.hs-est-nudge strong { color: var(--gold); }
.hs-estimator-noscript { background: var(--charcoal); border: 1px solid var(--gold-border); border-radius: 14px; padding: 28px; color: rgba(253,252,250,.85); }
.hs-estimator-noscript table { width: 100%; border-collapse: collapse; margin-top: 16px; }
.hs-estimator-noscript th, .hs-estimator-noscript td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--gold-border); font-size: .87rem; }
.hs-estimator-noscript th { color: var(--gold); text-transform: uppercase; letter-spacing: .05em; font-size: .75rem; }
@media (max-width: 900px) { .hs-estimator-wrap { grid-template-columns: 1fr; } .hs-est-result { position: static; } }

/* ─── HOW IT WORKS ─── */
.hs-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; margin-top: 48px; }
.hs-step { text-align: center; }
.hs-step-num { width: 56px; height: 56px; background: var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; font-weight: 800; color: var(--navy); margin: 0 auto 18px; font-family: 'DM Sans', sans-serif; }
.hs-step h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: 10px; }
.hs-step p { font-size: .9rem; color: var(--muted); }
@media (max-width: 700px) { .hs-steps { grid-template-columns: 1fr; max-width: 340px; margin-left: auto; margin-right: auto; } }

/* ─── EMERGENCY ─── */
#hs-emergency { background: var(--charcoal); border-top: 4px solid var(--red); }
.hs-emergency-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hs-emg-eyebrow { color: var(--red); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.hs-emergency-inner h2 { font-family: 'DM Sans', sans-serif; font-size: clamp(1.5rem,3vw,2.2rem); color: var(--gold); margin-bottom: 18px; }
.hs-emergency-inner p { color: rgba(253,252,250,.8); font-size: 1rem; line-height: 1.75; margin-bottom: 20px; }
.hs-emg-list { list-style: none; margin-bottom: 26px; }
.hs-emg-list li { color: rgba(253,252,250,.85); font-size: .93rem; padding: 8px 0; border-bottom: 1px solid rgba(200,151,58,.12); display: flex; gap: 10px; }
.hs-emg-list li::before { content: '→'; color: var(--red); font-weight: 700; flex-shrink: 0; }
.hs-emg-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hs-response-table { background: rgba(11,27,43,.5); border: 1px solid var(--gold-border); border-radius: 14px; overflow: hidden; }
.hs-response-table table { width: 100%; border-collapse: collapse; }
.hs-response-table th { background: rgba(200,151,58,.15); color: var(--gold); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 14px 16px; text-align: left; }
.hs-response-table td { color: rgba(253,252,250,.8); font-size: .85rem; padding: 13px 16px; border-top: 1px solid rgba(200,151,58,.1); }
.hs-response-table tr:last-child td { color: var(--gold); font-weight: 600; }
.hs-emg-note { color: rgba(253,252,250,.65); font-size: .8rem; margin-top: 16px; line-height: 1.6; }
@media (max-width: 900px) { .hs-emergency-inner { grid-template-columns: 1fr; } }

/* ─── SUBSCRIPTION PLANS (reuse home page tokens) ─── */
.hs-plan-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-top: 44px; }
.hs-plan-card { background: var(--off-white); border: 1.5px solid var(--border); border-radius: 14px; padding: 26px 20px; transition: all .25s; position: relative; }
.hs-plan-card.featured { border-color: var(--gold); background: var(--navy); }
.hs-plan-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--gold); color: var(--navy); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; padding: 4px 14px; border-radius: 50px; white-space: nowrap; }
.hs-plan-name { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.hs-plan-card.featured .hs-plan-name { color: var(--gold); }
.hs-plan-price { font-family: 'DM Sans', sans-serif; font-size: 1.9rem; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.hs-plan-card.featured .hs-plan-price { color: var(--off-white); }
.hs-plan-per { font-size: .8rem; color: var(--muted); }
.hs-plan-card.featured .hs-plan-per { color: rgba(253,252,250,.6); }
.hs-plan-divider { height: 1px; background: var(--border); margin: 16px 0; }
.hs-plan-card.featured .hs-plan-divider { background: var(--gold-border); }
.hs-plan-features { list-style: none; }
.hs-plan-features li { font-size: .84rem; color: var(--muted); padding: 5px 0; display: flex; gap: 8px; }
.hs-plan-card.featured .hs-plan-features li { color: rgba(253,252,250,.8); }
.hs-plan-features li::before { content: '✓'; color: var(--gold); font-weight: 700; flex-shrink: 0; }
.hs-plan-cta { display: block; text-align: center; margin-top: 20px; padding: 12px; border-radius: 8px; font-weight: 700; font-size: .88rem; background: #e8e0d6; color: var(--navy); transition: all .2s; }
.hs-plan-card.featured .hs-plan-cta { background: var(--gold); color: var(--navy); }
.hs-plan-cta:hover { background: var(--gold); color: var(--navy); }
.hs-plan-card.featured .hs-plan-cta:hover { background: var(--gold-light); }
.hs-billing-note { text-align: center; margin-top: 26px; color: var(--muted); font-size: .85rem; }
@media (max-width: 1024px) { .hs-plan-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 580px) { .hs-plan-grid { grid-template-columns: 1fr; } }

/* ─── TRUST ─── */
.hs-trust-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; margin-top: 44px; }
.hs-trust-item { text-align: center; padding: 26px 20px; background: rgba(255,255,255,.04); border: 1px solid var(--gold-border); border-radius: 12px; }
.hs-trust-icon { font-size: 1.9rem; margin-bottom: 14px; }
.hs-trust-item h3 { color: var(--gold); font-size: 1rem; margin-bottom: 8px; }
.hs-trust-item p { color: rgba(253,252,250,.7); font-size: .87rem; line-height: 1.6; }
@media (max-width: 700px) { .hs-trust-grid { grid-template-columns: 1fr; max-width: 360px; margin-left: auto; margin-right: auto; } }

/* ─── FAQ (wrapper spacing only — .faq-btn / .faq-body / .faq-icon
   accordion styling & JS behavior come from shared site.css, matching
   the homepage FAQ exactly) ─── */
.hs-faq-list { max-width: 760px; margin: 44px auto 0; }
.hs-faq-item { border-bottom: 1px solid var(--border); }

/* ─── SERVICE AREA / ZIP CHECKER ─── */
.hs-county-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 40px; }
.hs-county-col { background: rgba(255,255,255,.05); border: 1px solid var(--gold-border); border-radius: 14px; padding: 26px 22px; }
.hs-county-header { display: flex; align-items: center; gap: 10px; border-bottom: 2px solid rgba(200,151,58,.3); padding-bottom: 12px; margin-bottom: 14px; }
.hs-county-icon { font-size: 1.3rem; }
.hs-county-header h3 { color: var(--gold); font-size: .86rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.hs-county-cities { list-style: none; }
.hs-county-cities li { font-size: .87rem; color: rgba(253,252,250,.85); padding: 7px 0; border-bottom: 1px solid rgba(200,151,58,.08); display: flex; align-items: center; gap: 8px; }
.hs-county-cities li:last-child { border-bottom: none; }
.hs-county-cities li::before { content: '›'; color: var(--gold); font-weight: 700; }
@media (max-width: 900px) { .hs-county-grid { grid-template-columns: 1fr; } }

.hs-zip-checker { margin-top: 24px; background: rgba(255,255,255,.04); border: 1px solid var(--gold-border); border-radius: 12px; padding: 20px 22px; display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.hs-zip-checker-label { color: rgba(253,252,250,.85); font-size: .9rem; font-weight: 600; flex-shrink: 0; }
.hs-zip-checker-input { background: rgba(11,27,43,.7); border: 1px solid var(--gold-border); color: var(--off-white); padding: 10px 14px; border-radius: 8px; font-family: 'Inter', sans-serif; font-size: .9rem; width: 130px; }
.hs-zip-checker-btn { background: var(--gold); color: var(--navy); font-weight: 700; padding: 10px 20px; border-radius: 8px; border: none; font-family: 'Inter', sans-serif; font-size: .9rem; cursor: pointer; transition: background .2s; }
.hs-zip-checker-btn:hover { background: var(--gold-light); }
.hs-zip-result { font-size: .87rem; font-weight: 600; min-width: 200px; }
.hs-zip-result.in-area { color: var(--success); }
.hs-zip-result.out-area { color: var(--gold); }
@media (max-width: 640px) {
  .hs-zip-checker { flex-direction: column; align-items: flex-start; }
  .hs-zip-checker-input { width: 100%; }
  .hs-zip-checker-btn { width: 100%; text-align: center; }
}

.hs-map-placeholder {
  margin-top: 32px; border-radius: 14px; overflow: hidden; border: 1px solid var(--gold-border);
  background: linear-gradient(135deg, rgba(11,27,43,.9) 0%, rgba(30,45,61,.8) 100%);
  height: 200px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; position: relative;
}
.hs-map-placeholder-icon { font-size: 1.9rem; position: relative; }
.hs-map-placeholder p { color: rgba(253,252,250,.75); font-size: .9rem; font-weight: 600; position: relative; text-align: center; }
.hs-map-placeholder small { color: rgba(253,252,250,.4); font-size: .75rem; position: relative; }

/* ─── FINAL CTA ─── */
#hs-final-cta { padding: 88px 0; background: var(--charcoal); text-align: center; }
#hs-final-cta h2 { font-family: 'DM Sans', sans-serif; font-size: clamp(1.6rem,3.5vw,2.5rem); color: var(--off-white); margin-bottom: 16px; }
#hs-final-cta p { color: rgba(253,252,250,.75); font-size: 1.05rem; margin-bottom: 34px; max-width: 560px; margin-left: auto; margin-right: auto; }
.hs-final-cta-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.hs-call-strip { background: var(--gold); color: var(--navy); text-align: center; padding: 18px; font-size: 1.05rem; font-weight: 700; margin-top: 38px; border-radius: var(--hs-radius); display: flex; align-items: center; justify-content: center; gap: 10px; max-width: 420px; margin-left: auto; margin-right: auto; }

/* ─── SCROLL REVEAL (shared with .fade-up in site.css) ─── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ─── FORM ERRORS (estimator-adjacent lead form reuses booking-form classes from site.css) ─── */
