/* ============================================
   Commercial Help — Main Stylesheet
   Navy + Gold Theme
   style.css
   ============================================ */

:root {
  --gold:        #d97706;
  --gold-light:  #f59e0b;
  --gold-pale:   #fef3c7;
  --gold-ghost:  #fffbeb;
  --gold-bright: #fbbf24;
  --navy:        #0f1f3d;
  --navy2:       #162344;
  --navy3:       #1e2f52;
  --navy4:       #243660;
  --navy-light:  #2d4373;
  --text:        #f8fafc;
  --text-muted:  #94a3b8;
  --text-dim:    #64748b;
  --border:      rgba(255,255,255,0.08);
  --border-gold: rgba(217,119,6,0.3);
  --border-light:#e2e8f0;
  --white:       #ffffff;
  --off:         #f8fafc;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Outfit', sans-serif; background: var(--navy); color: var(--text); overflow-x: hidden; }

/* TRUST BAR */
.trust-bar { background: var(--navy2); border-bottom: 1px solid rgba(217,119,6,0.2); padding: 10px 5vw; display: flex; justify-content: center; gap: 36px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.75); }
.trust-item svg { width: 13px; height: 13px; fill: var(--gold-bright); flex-shrink: 0; }

/* NAV */
nav { background: var(--navy); border-bottom: 1px solid var(--border); padding: 0 5vw; height: 70px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 24px rgba(0,0,0,0.4); }
.nav-brand-name { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: var(--white); letter-spacing: -0.3px; }
.nav-brand-name span { color: var(--gold-bright); }
.nav-brand-sub { font-size: 10px; color: var(--text-dim); letter-spacing: 1.5px; text-transform: uppercase; margin-top: 2px; }
.nav-cta { background: var(--gold); color: white; text-decoration: none; padding: 10px 24px; font-size: 13px; font-weight: 600; border-radius: 4px; transition: background .2s, box-shadow .2s; box-shadow: 0 2px 12px rgba(217,119,6,0.35); letter-spacing: 0.2px; }
.nav-cta:hover { background: var(--gold-light); box-shadow: 0 4px 18px rgba(217,119,6,0.5); }

/* HERO */
.hero { background: var(--navy); padding: 80px 5vw 0; display: grid; grid-template-columns: 1fr 460px; gap: 64px; align-items: start; min-height: calc(100vh - 112px); position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -100px; right: -100px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(217,119,6,0.08) 0%, transparent 70%); pointer-events: none; }
.hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: var(--border); }
.hero-left { padding-bottom: 80px; position: relative; z-index: 1; }
.gold-line { width: 56px; height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-bright)); margin-bottom: 28px; opacity: 0; animation: fadeUp .5s ease forwards .1s; border-radius: 2px; }
.hero-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--gold-bright); margin-bottom: 20px; opacity: 0; animation: fadeUp .5s ease forwards .15s; }
h1 { font-family: 'Playfair Display', serif; font-size: clamp(42px, 5.5vw, 72px); font-weight: 700; line-height: 1.08; color: var(--white); max-width: 560px; opacity: 0; animation: fadeUp .5s ease forwards .25s; }
h1 em { font-style: italic; color: var(--gold-bright); }
.hero-desc { margin-top: 24px; font-size: 17px; font-weight: 300; color: var(--text-muted); max-width: 500px; line-height: 1.85; opacity: 0; animation: fadeUp .5s ease forwards .4s; }

/* Service cards */
.svc-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 40px; opacity: 0; animation: fadeUp .5s ease forwards .55s; }
.svc-card { background: var(--navy2); border: 1px solid var(--border); border-radius: 8px; padding: 20px 18px; display: flex; align-items: center; gap: 14px; transition: border-color .2s; }
.svc-card:hover { border-color: var(--border-gold); }
.svc-card-icon { width: 40px; height: 40px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.svc-card-icon.roof { background: rgba(217,119,6,0.15); }
.svc-card-icon.roof svg { fill: var(--gold-bright); }
.svc-card-icon.hvac { background: rgba(255,255,255,0.06); }
.svc-card-icon.hvac svg { fill: var(--text-muted); }
.svc-card-icon svg { width: 20px; }
.svc-card-title { font-size: 14px; font-weight: 600; color: var(--white); }
.svc-card-sub { font-size: 11px; color: var(--text-dim); margin-top: 2px; }

/* Stats */
.stats-row { display: flex; gap: 0; margin-top: 44px; padding-top: 36px; border-top: 1px solid var(--border); opacity: 0; animation: fadeUp .5s ease forwards .7s; }
.stat { padding-right: 36px; margin-right: 36px; border-right: 1px solid var(--border); }
.stat:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.stat-num { font-family: 'Playfair Display', serif; font-size: 34px; color: var(--gold-bright); line-height: 1; }
.stat-label { font-size: 11px; color: var(--text-dim); margin-top: 4px; letter-spacing: 0.3px; }

/* FORM */
.form-panel { background: var(--white); border-radius: 10px; padding: 40px 36px; box-shadow: 0 24px 64px rgba(0,0,0,0.5), 0 0 0 1px rgba(217,119,6,0.15); position: sticky; top: 90px; z-index: 10; opacity: 0; animation: fadeUp .6s ease forwards .3s; max-height: calc(100vh - 110px); overflow-y: auto; }
.form-panel::before { content: ''; display: block; height: 4px; background: linear-gradient(90deg, var(--gold), var(--gold-bright)); margin: -40px -36px 28px; border-radius: 10px 10px 0 0; }
.form-eyebrow { display: inline-block; background: var(--gold-ghost); color: var(--gold); font-size: 10px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; padding: 5px 12px; border-radius: 100px; margin-bottom: 12px; border: 1px solid rgba(217,119,6,0.2); }
.form-title { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 700; color: var(--navy); line-height: 1.2; margin-bottom: 4px; }
.form-sub { font-size: 13px; color: #64748b; margin-bottom: 20px; line-height: 1.5; }
.form-divider { height: 1px; background: #f1f5f9; margin: 0 -36px 20px; }
.form-group { margin-bottom: 12px; }
.form-group label { display: block; font-size: 11px; font-weight: 600; color: var(--navy); margin-bottom: 5px; letter-spacing: 0.2px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 11px 14px; border: 1.5px solid var(--border-light); background: var(--off); font-family: 'Outfit', sans-serif; font-size: 14px; color: var(--navy); outline: none; transition: border-color .2s, box-shadow .2s; border-radius: 6px; appearance: none; -webkit-appearance: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold); background: white; box-shadow: 0 0 0 3px rgba(217,119,6,0.1); }
.form-group textarea { height: 80px; resize: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.submit-btn { width: 100%; padding: 15px; background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: white; border: none; font-family: 'Outfit', sans-serif; font-size: 15px; font-weight: 600; cursor: pointer; margin-top: 6px; border-radius: 6px; transition: opacity .2s, box-shadow .2s; box-shadow: 0 4px 14px rgba(217,119,6,0.4); letter-spacing: 0.2px; }
.submit-btn:hover { opacity: 0.92; box-shadow: 0 6px 20px rgba(217,119,6,0.5); }
.submit-btn:active { transform: scale(0.99); }
.form-disclaimer { font-size: 10px; color: #aaa; text-align: center; margin-top: 10px; line-height: 1.5; }
.tcpa-group { margin: 12px 0 14px; }
.tcpa-label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.tcpa-label input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; }
.tcpa-box { width: 16px; min-width: 16px; height: 16px; border: 2px solid var(--border-light); background: var(--off); border-radius: 3px; display: flex; align-items: center; justify-content: center; margin-top: 1px; transition: all .2s; flex-shrink: 0; }
.tcpa-label input[type="checkbox"]:checked + .tcpa-box { background: var(--gold); border-color: var(--gold); }
.tcpa-label input[type="checkbox"]:checked + .tcpa-box::after { content: ''; display: block; width: 4px; height: 8px; border: 2px solid white; border-top: none; border-left: none; transform: rotate(45deg) translate(-1px, -1px); }
.tcpa-text { font-size: 10px; color: #999; line-height: 1.6; }
.tcpa-text a { color: var(--gold); text-decoration: underline; }
.thankyou-state { display: none; text-align: center; padding: 24px 10px; }

/* INTEREST CHECKBOXES (pre-selected) */
.interest-checks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 4px 0 14px;
  padding: 14px 16px;
  background: #fffbeb;
  border: 1px solid rgba(217,119,6,0.2);
  border-radius: 6px;
}
.interest-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.interest-label input[type="checkbox"] {
  position: absolute;
  opacity: 0; width: 0; height: 0;
}
.interest-box {
  width: 16px; min-width: 16px; height: 16px;
  border: 2px solid rgba(217,119,6,0.4);
  background: #fffbeb;
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
  transition: all .2s;
  flex-shrink: 0;
}
.interest-label input[type="checkbox"]:checked + .interest-box {
  background: var(--gold);
  border-color: var(--gold);
}
.interest-label input[type="checkbox"]:checked + .interest-box::after {
  content: '';
  display: block;
  width: 4px; height: 8px;
  border: 2px solid white;
  border-top: none; border-left: none;
  transform: rotate(45deg) translate(-1px, -1px);
}
.interest-text {
  font-size: 10px;
  color: #92400e;
  line-height: 1.6;
}
.ty-icon { width: 68px; height: 68px; background: linear-gradient(135deg, var(--gold), var(--gold-bright)); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 28px; color: white; animation: popIn .4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; }
@keyframes popIn { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.ty-title { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.ty-body { font-size: 14px; color: #666; line-height: 1.7; max-width: 300px; margin: 0 auto 20px; }
.ty-detail { background: var(--gold-ghost); border-left: 3px solid var(--gold); border-radius: 0 6px 6px 0; padding: 14px 16px; font-size: 13px; color: var(--navy); text-align: left; line-height: 1.6; }

/* SERVICES */
.services { background: var(--navy2); padding: 96px 5vw; border-top: 1px solid var(--border); }
.section-tag { display: inline-block; background: rgba(217,119,6,0.12); color: var(--gold-bright); font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; padding: 5px 14px; border-radius: 4px; margin-bottom: 16px; border: 1px solid rgba(217,119,6,0.2); }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(28px, 4vw, 48px); font-weight: 700; color: var(--white); line-height: 1.12; margin-bottom: 16px; }
.section-title em { font-style: italic; color: var(--gold-bright); }
.section-body { font-size: 16px; font-weight: 300; color: var(--text-muted); line-height: 1.8; max-width: 580px; margin-bottom: 52px; }
.services-split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.service-column { background: var(--navy3); border-radius: 8px; padding: 44px 36px; border: 1px solid var(--border); }
.roofing-col { border-top: 4px solid var(--gold); }
.hvac-col { border-top: 4px solid rgba(255,255,255,0.12); }
.col-header { display: flex; align-items: center; gap: 14px; margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.col-icon { width: 44px; height: 44px; background: rgba(217,119,6,0.15); border-radius: 8px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(217,119,6,0.2); }
.col-icon svg { width: 22px; fill: var(--gold-bright); }
.col-icon.hvac-icon { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.1); }
.col-icon.hvac-icon svg { fill: var(--text-muted); }
.col-title { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: var(--white); }
.service-list { display: flex; flex-direction: column; gap: 24px; }
.service-item { display: flex; gap: 16px; align-items: flex-start; }
.si-num { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 700; color: rgba(217,119,6,0.25); line-height: 1; min-width: 32px; }
.si-num.hvac-num { color: rgba(255,255,255,0.07); }
.si-title { font-size: 15px; font-weight: 600; color: var(--white); margin-bottom: 5px; }
.si-desc { font-size: 13px; font-weight: 300; color: var(--text-muted); line-height: 1.7; }

/* WHY */
.why { background: var(--navy); padding: 96px 5vw; border-top: 1px solid var(--border); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 52px; }
.why-card { background: var(--navy2); border: 1px solid var(--border); border-radius: 8px; padding: 32px 28px; transition: border-color .2s, box-shadow .2s; }
.why-card:hover { border-color: var(--border-gold); box-shadow: 0 4px 20px rgba(217,119,6,0.08); }
.why-icon { width: 40px; height: 40px; background: rgba(217,119,6,0.12); border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; border: 1px solid rgba(217,119,6,0.2); }
.why-icon svg { width: 18px; fill: var(--gold-bright); }
.why-card h4 { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.why-card p { font-size: 13px; font-weight: 300; color: var(--text-muted); line-height: 1.7; }

/* WHO */
.who { background: var(--navy2); padding: 96px 5vw; border-top: 1px solid var(--border); }
.who-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.who-list { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.who-item { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--text-muted); }
.who-dot { width: 7px; height: 7px; background: var(--gold); border-radius: 50%; flex-shrink: 0; }
.who-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.who-stat { background: var(--navy3); border: 1px solid var(--border); border-radius: 8px; padding: 32px 24px; transition: border-color .2s; }
.who-stat:hover { border-color: var(--border-gold); }
.who-stat-num { font-family: 'Playfair Display', serif; font-size: 38px; color: var(--gold-bright); line-height: 1; margin-bottom: 6px; }
.who-stat-label { font-size: 12px; color: var(--text-dim); }

/* PROCESS */
.process { background: var(--navy3); padding: 96px 5vw; border-top: 1px solid var(--border); }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; margin-top: 52px; }
.process-steps::before { content: ''; position: absolute; top: 26px; left: 10%; right: 10%; height: 1px; background: rgba(217,119,6,0.2); }
.process-step { padding: 0 20px; }
.step-num { font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 700; color: var(--navy); background: linear-gradient(135deg, var(--gold), var(--gold-bright)); width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; position: relative; z-index: 1; box-shadow: 0 4px 14px rgba(217,119,6,0.4); }
.process-step h4 { font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.process-step p { font-size: 13px; font-weight: 300; color: var(--text-muted); line-height: 1.6; }

/* BOTTOM CTA */
.bottom-cta { background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%); padding: 100px 5vw; position: relative; overflow: hidden; border-top: 1px solid rgba(217,119,6,0.2); }
.bottom-cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(217,119,6,0.06) 0%, transparent 70%); }
.bottom-cta::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--gold), var(--gold-bright), var(--gold), transparent); }
.cta-inner { text-align: center; position: relative; }
.bottom-cta h2 { font-family: 'Playfair Display', serif; font-size: clamp(30px, 4.5vw, 54px); font-weight: 700; color: white; line-height: 1.12; margin-bottom: 16px; }
.bottom-cta h2 em { font-style: italic; color: var(--gold-bright); }
.bottom-cta p { font-size: 16px; font-weight: 300; color: var(--text-muted); max-width: 520px; margin: 0 auto 40px; line-height: 1.8; }
.cta-btn { display: inline-block; background: linear-gradient(135deg, var(--gold), var(--gold-bright)); color: var(--navy); padding: 18px 52px; font-family: 'Outfit', sans-serif; font-size: 15px; font-weight: 700; border-radius: 6px; cursor: pointer; border: none; transition: all .2s; box-shadow: 0 6px 24px rgba(217,119,6,0.4); letter-spacing: 0.3px; }
.cta-btn:hover { box-shadow: 0 8px 32px rgba(217,119,6,0.55); transform: translateY(-1px); }

/* FOOTER */
footer { background: var(--navy); border-top: 1px solid var(--border); padding: 28px 5vw; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.foot-brand { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; color: var(--white); }
.foot-brand span { color: var(--gold-bright); }
.foot-copy { font-size: 11px; color: var(--text-dim); margin-top: 2px; }
.foot-links { display: flex; align-items: center; gap: 12px; }
.foot-links a { font-size: 12px; color: var(--text-dim) !important; text-decoration: none !important; transition: color .2s; }
.foot-links a:hover { color: var(--gold-bright) !important; }
.foot-links span { color: var(--text-dim); font-size: 10px; }

@keyframes fadeUp { from { opacity:0; transform: translateY(20px); } to { opacity:1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 52px; }
  .form-panel { position: static; max-height: none; }
  .services-split { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .who-inner { grid-template-columns: 1fr; gap: 48px; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-steps::before { display: none; }
}
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .svc-cards { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .who-stats { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  nav .nav-cta { display: none; }
  .stats-row { flex-wrap: wrap; gap: 24px; }
}
