/* Contractor Solutions — company site
   Brand: navy + orange, matched to the CS logomark */

:root {
  --navy: #1E3A68;
  --navy-dark: #14294D;
  --navy-deep: #0E1E3A;
  --orange: #F0982B;
  --orange-dark: #D97F0E;
  --text: #1F2933;
  --muted: #5B6672;
  --bg: #FFFFFF;
  --bg-alt: #F5F7FA;
  --border: #E3E8EC;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(14, 30, 58, 0.08);
  --shadow-lg: 0 16px 48px rgba(14, 30, 58, 0.16);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; height: 80px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 44px; width: auto; }
.brand span { font-weight: 800; font-size: 1.15rem; color: var(--navy); letter-spacing: -0.02em; }

.nav-links { display: flex; gap: 30px; font-weight: 600; font-size: 0.93rem; }
.nav-links a { color: var(--text); transition: color 0.15s; padding: 4px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover { color: var(--navy); }
.nav-links a.active { color: var(--navy); border-bottom-color: var(--orange); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 30px; border-radius: 10px; font-weight: 700; font-size: 0.95rem;
  transition: transform 0.15s, box-shadow 0.15s; border: none; cursor: pointer;
  font-family: var(--font);
}
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 6px 20px rgba(240, 152, 43, 0.4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(240, 152, 43, 0.5); background: var(--orange-dark); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { transform: translateY(-2px); box-shadow: var(--shadow); background: var(--navy-dark); }
.btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-lg { padding: 17px 38px; font-size: 1.05rem; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff; padding: 104px 0 96px; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -180px; top: -180px; width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(240,152,43,0.18) 0%, transparent 65%);
}
.hero .container { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: center; position: relative; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(240, 152, 43, 0.16); border: 1px solid rgba(240,152,43,0.35);
  color: #FBBF6B; padding: 8px 18px; border-radius: 999px;
  font-size: 0.85rem; font-weight: 600; margin-bottom: 26px;
}
.hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.6rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.025em; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero p.lead { font-size: 1.18rem; color: rgba(255,255,255,0.82); margin-bottom: 34px; max-width: 50ch; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 0.88rem; color: rgba(255,255,255,0.55); }

.hero-stats { display: flex; gap: 40px; margin-top: 52px; }
.hero-stat .num { font-size: 2rem; font-weight: 800; color: var(--orange); }
.hero-stat .label { font-size: 0.85rem; color: rgba(255,255,255,0.65); }

.hero-panel {
  background: #fff; border-radius: 18px; padding: 34px; box-shadow: var(--shadow-lg); color: var(--text);
}
.hero-panel h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: 18px; }
.hero-panel .stars { color: var(--orange); letter-spacing: 2px; margin-bottom: 8px; }
.hero-panel blockquote { font-size: 0.98rem; color: var(--text); }
.hero-panel .who { margin-top: 14px; font-weight: 700; font-size: 0.9rem; }
.hero-panel .who span { display: block; font-weight: 500; color: var(--muted); font-size: 0.82rem; }

/* ---------- Sections ---------- */
section { padding: 92px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.eyebrow {
  color: var(--orange-dark); font-weight: 700; font-size: 0.83rem;
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 12px; display: block;
}
.section-head h2 { font-size: clamp(1.9rem, 3.2vw, 2.5rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 16px; color: var(--navy-deep); }
.section-head p { color: var(--muted); font-size: 1.08rem; }

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

.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px; transition: transform 0.15s, box-shadow 0.15s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 20px;
}
.card h3 { font-size: 1.18rem; margin-bottom: 10px; color: var(--navy-deep); }
.card p { color: var(--muted); font-size: 0.96rem; }

/* numbered steps */
.step-num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.1rem; margin-bottom: 18px;
}
.card.step-highlight { border-top: 4px solid var(--orange); }

/* ---------- Trust bar ---------- */
.trust-bar {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 40px;
  padding: 26px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.trust-item { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--muted); font-size: 0.9rem; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; max-width: 900px; margin: 0 auto; }
.price-card {
  background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 42px;
  display: flex; flex-direction: column; position: relative;
}
.price-card.featured { border: 2px solid var(--orange); box-shadow: var(--shadow-lg); }
.price-tag {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
  background: var(--orange); color: #fff; font-size: 0.78rem; font-weight: 800;
  padding: 6px 18px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap;
}
.price-card h3 { font-size: 1.2rem; color: var(--navy-deep); margin-bottom: 6px; }
.price-card .price { font-size: 3rem; font-weight: 800; color: var(--navy); margin: 12px 0 2px; }
.price-card .price span { font-size: 1rem; font-weight: 600; color: var(--muted); }
.price-card .sub { color: var(--muted); font-size: 0.92rem; margin-bottom: 26px; }
.price-features { flex: 1; margin-bottom: 30px; }
.price-features li { padding: 9px 0; border-bottom: 1px solid var(--bg-alt); font-size: 0.95rem; display: flex; gap: 10px; }
.price-features li::before { content: "✓"; color: var(--orange-dark); font-weight: 800; }
.price-features li.na { color: #B9C2CB; }
.price-features li.na::before { content: "—"; color: #D5DBE1; }

/* ---------- Testimonial / video ---------- */
.testimonial-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; max-width: 1020px; margin: 0 auto; }
.video-frame {
  border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--navy-deep);
}
.video-frame video { width: 100%; display: block; }
.testimonial-quote .stars { color: var(--orange); font-size: 1.3rem; letter-spacing: 3px; margin-bottom: 18px; }
.testimonial-quote blockquote { font-size: 1.35rem; font-weight: 600; color: var(--navy-deep); line-height: 1.45; margin-bottom: 22px; }
.testimonial-quote .who { font-weight: 700; }
.testimonial-quote .who span { display: block; font-weight: 500; color: var(--muted); font-size: 0.9rem; }

.result-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 860px; margin: 56px auto 0; }
.result-stat { text-align: center; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 20px; }
.result-stat .num { font-size: 2.6rem; font-weight: 800; color: var(--navy); }
.result-stat .num em { color: var(--orange); font-style: normal; }
.result-stat .label { color: var(--muted); font-size: 0.9rem; margin-top: 6px; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--border); padding: 22px 0; }
.faq summary { font-weight: 700; font-size: 1.05rem; cursor: pointer; color: var(--navy-deep); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::after { content: "+"; color: var(--orange); font-size: 1.5rem; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-top: 12px; font-size: 0.97rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff; border-radius: 22px; padding: 64px 56px; text-align: center; margin: 0 24px;
}
.cta-band h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,0.78); margin-bottom: 30px; font-size: 1.05rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; }
.contact-info-item { display: flex; gap: 16px; margin-bottom: 26px; }
.contact-info-item .ico {
  width: 46px; height: 46px; border-radius: 12px; background: var(--bg-alt); color: var(--navy);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.2rem;
}
.contact-info-item h4 { font-size: 0.98rem; margin-bottom: 4px; color: var(--navy-deep); }
.contact-info-item p, .contact-info-item a { color: var(--muted); font-size: 0.93rem; }
.contact-info-item a:hover { color: var(--navy); }

form.lead-form {
  display: grid; gap: 18px; background: #fff; border: 1px solid var(--border);
  border-radius: 18px; padding: 40px; box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lead-form label { font-size: 0.85rem; font-weight: 700; margin-bottom: 6px; display: block; color: var(--navy-deep); }
.lead-form input, .lead-form select, .lead-form textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--border); border-radius: 9px;
  font-family: var(--font); font-size: 0.95rem; background: #fff; color: var(--text);
  transition: border-color 0.15s;
}
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: none; border-color: var(--orange); }
.lead-form textarea { min-height: 110px; resize: vertical; }
.form-note { font-size: 0.82rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.68); padding: 60px 0 30px; font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer-grid h4 { color: #fff; font-size: 0.95rem; margin-bottom: 16px; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a:hover { color: #fff; }
.footer-brand img { height: 40px; margin-bottom: 14px; background: #fff; border-radius: 8px; padding: 5px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 26px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.85rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .container, .testimonial-wrap, .contact-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .grid-3, .grid-4, .pricing-grid, .result-stats { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 64px 0; }
  .cta-band { padding: 44px 26px; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
}
