/* ==========================================================================
   IronCore Roofing Partners — site styles
   Brand: Navy #0F1E30 · Gold #C5A24E · Steel #8C949E · Black #111111
   ========================================================================== */

:root {
  --navy: #0F1E30;
  --navy-800: #13273e;
  --navy-700: #1b3350;
  --gold: #C5A24E;
  --gold-bright: #d8b869;
  --steel: #8C949E;
  --steel-light: #c3c9d0;
  --ink: #111111;
  --paper: #f6f7f9;
  --white: #ffffff;
  --radius: 14px;
  --maxw: 1160px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --shadow: 0 18px 50px -22px rgba(15,30,48,.45);
  --font-head: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 800; line-height: 1.08; letter-spacing: -.01em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Accent + eyebrow ------------------------------------------------------- */
.eyebrow {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}
.eyebrow.on-light { color: #a6812f; }
.rule { width: 62px; height: 3px; background: var(--gold); border-radius: 3px; margin: 0 0 24px; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  padding: 15px 28px; border-radius: 10px; border: 2px solid transparent;
  cursor: pointer; transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
  letter-spacing: .01em;
}
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 10px 26px -12px rgba(197,162,78,.8); }
.btn-gold:hover { background: var(--gold-bright); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.28); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-700); transform: translateY(-2px); }
.btn-lg { padding: 17px 34px; font-size: 1.05rem; }

/* Header ----------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15,30,48,.82);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 86px; }
.nav__logo img { height: 56px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { color: var(--steel-light); font-weight: 500; font-size: .95rem; transition: color .15s var(--ease); }
.nav__links a:hover { color: var(--white); }
.nav__cta { padding: 11px 20px; font-size: .92rem; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: .2s; }

/* Hero ------------------------------------------------------------------- */
.hero {
  position: relative; color: var(--white);
  background:
    radial-gradient(1200px 520px at 78% -8%, rgba(197,162,78,.16), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, #0c1826 100%);
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 46px 46px; mask-image: radial-gradient(900px 500px at 75% 0%, #000, transparent 72%);
  opacity: .5; pointer-events: none;
}
.hero__inner { position: relative; z-index: 2; padding: 96px 0 104px; max-width: 780px; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.15rem); }
.hero h1 .accent { color: var(--gold); }
.hero__lede { font-size: 1.2rem; color: var(--steel-light); max-width: 620px; margin-bottom: 34px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 42px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 12px 30px; color: var(--steel-light); font-size: .93rem; }
.hero__trust span { display: inline-flex; align-items: center; gap: 9px; }
.hero__trust .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

/* Section shells --------------------------------------------------------- */
section { padding: 92px 0; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .rule { margin-left: auto; margin-right: auto; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.section-head p { font-size: 1.12rem; color: #47566b; margin: 0; }
.bg-paper { background: var(--paper); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy .section-head p { color: var(--steel-light); }

/* Problem band ----------------------------------------------------------- */
.problem { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.problem .card {
  background: var(--navy-800); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius); padding: 30px 26px;
}
.problem .card h3 { color: var(--white); font-size: 1.18rem; }
.problem .card p { color: var(--steel-light); margin: 0; font-size: .98rem; }
.problem .card .num { font-family: var(--font-head); color: var(--gold); font-size: 1rem; font-weight: 800; letter-spacing: .1em; }

/* Pillars ---------------------------------------------------------------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pillar {
  background: var(--white); border: 1px solid #e7eaee; border-radius: var(--radius);
  padding: 30px 26px; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); }
.pillar__icon {
  width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(160deg, var(--navy), var(--navy-700)); margin-bottom: 20px;
}
.pillar__icon svg, .pillar__icon img { width: 28px; height: 28px; }
.pillar h3 { font-size: 1.15rem; }
.pillar p { color: #526075; font-size: .96rem; margin: 0; }

/* Steps ------------------------------------------------------------------ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.step { position: relative; padding: 34px 28px; background: var(--navy-800); border-radius: var(--radius); border: 1px solid rgba(255,255,255,.08); }
.step__n { font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; color: var(--gold); line-height: 1; margin-bottom: 14px; }
.step h3 { color: #fff; font-size: 1.2rem; }
.step p { color: var(--steel-light); margin: 0; font-size: .97rem; }

/* Programs --------------------------------------------------------------- */
.programs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.program {
  border: 1px solid #e2e6ea; border-radius: var(--radius); padding: 30px 28px; background: var(--white);
  display: flex; flex-direction: column; transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.program:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.program.featured { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.program .tag { font-family: var(--font-head); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #a6812f; font-weight: 700; margin-bottom: 12px; }
.program h3 { font-size: 1.35rem; }
.program p { color: #526075; font-size: .96rem; }
.program ul { list-style: none; padding: 0; margin: 6px 0 22px; }
.program li { position: relative; padding-left: 26px; margin-bottom: 9px; color: #3d4a5c; font-size: .95rem; }
.program li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 2px; background: var(--gold); }
.program .cta { margin-top: auto; }
.program .cta a { font-family: var(--font-head); font-weight: 700; color: var(--navy); border-bottom: 2px solid var(--gold); padding-bottom: 2px; }

/* Differentiators -------------------------------------------------------- */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.why__list { list-style: none; padding: 0; margin: 0; }
.why__list li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.why__list li:last-child { border-bottom: 0; }
.why__list .chk { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: var(--navy); display: grid; place-items: center; font-weight: 900; font-size: .9rem; }
.why__list h4 { color: #fff; font-size: 1.08rem; margin: 0 0 3px; }
.why__list p { color: var(--steel-light); margin: 0; font-size: .95rem; }
.why__panel { background: linear-gradient(160deg, var(--navy-700), var(--navy-800)); border: 1px solid rgba(197,162,78,.25); border-radius: 18px; padding: 40px; text-align: center; }
.why__panel img { width: 88px; margin: 0 auto 22px; }
.why__panel .stat { font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; color: var(--gold); }
.why__panel .stat + p { color: #fff; font-weight: 600; }
.why__panel .fine { color: var(--steel); font-size: .82rem; margin-top: 18px; }

/* CTA / form ------------------------------------------------------------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact__copy h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); color: #fff; }
.contact__copy p { color: var(--steel-light); font-size: 1.08rem; }
.contact__list { list-style: none; padding: 0; margin: 26px 0 0; }
.contact__list li { display: flex; gap: 12px; align-items: center; color: #fff; margin-bottom: 14px; font-weight: 500; }
.contact__list .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: 0 0 auto; }
.form-card { background: var(--white); border-radius: 18px; padding: 34px; box-shadow: var(--shadow); }
.form-card h3 { color: var(--navy); font-size: 1.35rem; }
.form-card .sub { color: #526075; font-size: .95rem; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .82rem; font-weight: 600; color: #3d4a5c; margin-bottom: 6px; letter-spacing: .01em; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border: 1px solid #d3d9df; border-radius: 10px;
  font-family: var(--font-body); font-size: 1rem; color: var(--navy); background: #fbfcfd; transition: border .15s var(--ease), box-shadow .15s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(197,162,78,.18); }
.field textarea { min-height: 96px; resize: vertical; }
.form-card .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { font-size: .8rem; color: var(--steel); margin: 14px 0 0; text-align: center; }

/* SMS consent — A2P 10DLC. Both boxes are optional and unchecked by default;
   neither may be required to submit the form. */
.consent-group { margin: 6px 0 4px; padding-top: 14px; border-top: 1px solid #e4e8ed; }
.consent { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.consent input[type="checkbox"] {
  flex: 0 0 auto; width: 17px; height: 17px; margin: 2px 0 0;
  accent-color: var(--gold); cursor: pointer;
}
.consent label { font-size: .76rem; line-height: 1.55; color: #56657a; cursor: pointer; }
.consent label strong { color: #3d4a5c; font-weight: 600; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 10px; font-size: .95rem; display: none; }
.form-status.ok { display: block; background: #ecf7ee; color: #1c6b34; border: 1px solid #bfe3c8; }
.form-status.err { display: block; background: #fdecec; color: #a1281f; border: 1px solid #f2c3c0; }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: #0b1622; color: var(--steel-light); padding: 58px 0 32px; }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer__brand img { height: 40px; margin-bottom: 16px; }
.footer__brand p { max-width: 320px; font-size: .93rem; color: var(--steel); }
.footer__nap {
  font-style: normal; font-size: .88rem; line-height: 1.7;
  color: var(--steel); max-width: 320px; margin-top: 16px;
}
.footer__nap strong { color: var(--steel-light); font-weight: 600; }
.footer__nap a { color: var(--steel); }
.footer__nap a:hover { color: var(--gold); }
.footer__links { display: flex; gap: 60px; flex-wrap: wrap; }
.footer__col h5 { font-family: var(--font-head); color: #fff; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 14px; }
.footer__col a { display: block; color: var(--steel-light); font-size: .93rem; margin-bottom: 10px; }
.footer__col a:hover { color: var(--gold); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: .84rem; color: var(--steel); }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__links.open {
    display: flex; flex-direction: column; position: absolute; top: 86px; left: 0; right: 0;
    background: var(--navy); padding: 22px 24px; gap: 18px; border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .nav__toggle { display: block; }
  .problem, .pillars, .steps, .programs { grid-template-columns: 1fr; }
  .why, .contact { grid-template-columns: 1fr; gap: 34px; }
  section { padding: 66px 0; }
  .hero__inner { padding: 70px 0 78px; }
}
@media (min-width: 561px) and (max-width: 900px) {
  .pillars, .problem, .programs { grid-template-columns: repeat(2, 1fr); }
}
