/* Inland Contractor Marketing - one stylesheet, mobile-first. */

:root {
  --navy: #13213A;
  --navy-2: #1C2E4F;
  --orange: #F26A1B;
  --paper: #F4F1EA;
  --white: #FFFFFF;
  --steel: #5B6472;
  --rule: #D8D2C4;
  --ink-on-navy: #E9E6DE;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 72rem;
  --gutter: 1rem;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--navy);
  font: 400 1.0625rem/1.6 var(--font);
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--orange); }
p { margin: 0 0 1rem; }
ul { margin: 0 0 1rem; padding-left: 1.25rem; }

h1, h2, h3 { margin: 0 0 1rem; line-height: 1.08; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 8vw, 4.75rem); font-weight: 900; }
h2 { font-size: clamp(1.9rem, 5vw, 2.9rem); font-weight: 900; }
h3 { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.01em; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 2px; }
.band-navy :focus-visible, .site-header :focus-visible { outline-color: var(--white); }

.skip { position: absolute; left: -9999px; top: 0; background: var(--white); padding: .75rem 1rem; z-index: 100; font-weight: 700; }
.skip:focus { left: 1rem; top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 4rem 0; }
.section + .section { border-top: 1px solid var(--rule); }
.band-navy { background: var(--navy); color: var(--ink-on-navy); }
.band-navy h1, .band-navy h2, .band-navy h3, .band-navy a { color: var(--white); }
.band-white { background: var(--white); }
.section.band-navy + .section, .section + .section.band-navy, .section.band-white + .section, .section + .section.band-white { border-top: 0; }

.lede { font-size: 1.2rem; max-width: 40rem; }
.muted { color: var(--steel); }
.band-navy .muted { color: #B9C0CC; }
.kicker { font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); margin-bottom: .75rem; }
.band-navy .kicker { color: #B9C0CC; }

/* Placeholder marker: anything in [BRACKETS] still needs real content. */
.ph { background: #FFF2C2; color: var(--navy); padding: 0 .25em; border-radius: 3px; font-weight: 600; }
.ph-box {
  display: grid; place-items: center; text-align: center; padding: 1.5rem;
  background: repeating-linear-gradient(135deg, #EAE5D9 0 12px, #E2DCCD 12px 24px);
  color: var(--navy); font-weight: 700; border-radius: var(--radius); min-height: 14rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3.25rem; padding: .8rem 1.4rem;
  font: 800 1.08rem/1.2 var(--font); text-decoration: none; border-radius: var(--radius);
  border: 2px solid transparent; cursor: pointer;
}
.btn-call { background: var(--orange); color: var(--navy); }
.btn-call:hover { background: #FF7E33; }
.btn-line { border-color: currentColor; color: var(--navy); background: transparent; }
.band-navy .btn-line { color: var(--white); }
.btn-line:hover { background: rgba(19, 33, 58, .06); }
.band-navy .btn-line:hover { background: rgba(255, 255, 255, .08); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.band-navy .btn-call { color: var(--navy); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy); color: var(--white);
  border-bottom: 3px solid var(--orange);
}
.site-header .wrap { display: flex; align-items: center; gap: .75rem; min-height: 4rem; }
.brand { display: block; margin-right: auto; }
.brand img { width: 172px; height: auto; }
.header-call { min-height: 2.75rem; padding: .5rem .9rem; font-size: 1rem; }
.header-call .num { display: none; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,.35); border-radius: var(--radius); cursor: pointer;
}
.nav-toggle svg { width: 1.4rem; height: 1.4rem; }
.site-nav { display: none; width: 100%; }
.site-nav.open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: .5rem 0 1rem; }
.site-nav a {
  display: block; padding: .8rem 0; color: var(--white); text-decoration: none;
  font-weight: 700; font-size: 1.15rem; border-top: 1px solid rgba(255,255,255,.12);
}
.site-nav a[aria-current="page"] { color: var(--orange); }
.site-header .wrap { flex-wrap: wrap; }

@media (min-width: 900px) {
  .site-header .wrap { flex-wrap: nowrap; }
  .brand img { width: 196px; }
  .nav-toggle { display: none; }
  .site-nav { display: block; width: auto; order: 0; }
  .site-nav ul { display: flex; gap: 1.5rem; padding: 0; }
  .site-nav a { border: 0; padding: .5rem 0; font-size: 1rem; border-bottom: 2px solid transparent; }
  .site-nav a:hover { border-bottom-color: var(--orange); }
  .site-nav a[aria-current="page"] { color: var(--white); border-bottom-color: var(--orange); }
  .header-call { order: 1; }
  .header-call .num { display: inline; }
  .header-call .word { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding: 3.5rem 0 4rem; }
.hero h1 { max-width: 15ch; margin-bottom: 1.5rem; }
.hero h1 .line { display: block; }
.hero h1 .accent { color: var(--orange); }
.hero .lede { color: var(--ink-on-navy); margin-bottom: 2rem; }
.hero .fine { margin-top: 1.25rem; font-size: .95rem; color: #B9C0CC; }
.page-hero { padding: 3rem 0 3.25rem; }
.page-hero h1 { font-size: clamp(2.2rem, 6.5vw, 3.9rem); max-width: 18ch; }
.page-hero .lede { color: var(--ink-on-navy); margin-bottom: 0; }
@media (min-width: 900px) { .hero { padding: 5.5rem 0 6rem; } .page-hero { padding: 4.5rem 0; } }

/* Three plain promises under the hero */
.promises { display: grid; gap: 1.5rem; }
.promises h3 { margin-bottom: .35rem; }
.promises p { margin: 0; color: var(--steel); }
.promise { border-left: 4px solid var(--orange); padding-left: 1rem; }
@media (min-width: 760px) { .promises { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }

/* ---------- Estimate sheet (signature) ---------- */
.estimates { display: grid; gap: 1.25rem; align-items: start; }
@media (min-width: 900px) { .estimates { grid-template-columns: repeat(3, 1fr); } }
.estimate {
  background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 1.5rem 1.35rem 1.35rem; position: relative;
  box-shadow: 0 1px 0 var(--rule), 0 12px 24px -18px rgba(19,33,58,.35);
}
.estimate.featured { border: 2px solid var(--navy); }
.estimate-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; border-bottom: 2px solid var(--navy); padding-bottom: .6rem; margin-bottom: .9rem; }
.estimate-head h3 { margin: 0; font-size: 1.5rem; }
.estimate-head .ref { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--steel); font-weight: 600; }
.estimate .for { font-size: .98rem; color: var(--steel); margin-bottom: 1rem; }
.lines { list-style: none; padding: 0; margin: 0 0 1rem; font-size: .98rem; }
.lines li { display: flex; align-items: baseline; gap: .5rem; padding: .3rem 0; }
.lines li::after { content: ""; order: 1; flex: 1; min-width: 1.5rem; border-bottom: 2px dotted #BFB8A8; transform: translateY(-.3em); }
.lines .item { order: 0; }
.lines .amt { order: 2; font-weight: 700; white-space: nowrap; }
.lines .incl { order: 2; font-weight: 600; color: var(--steel); white-space: nowrap; }
.totals { border-top: 2px solid var(--navy); padding-top: .75rem; margin-bottom: 1.25rem; }
.totals div { display: flex; justify-content: space-between; align-items: baseline; }
.totals .setup { font-size: 1rem; color: var(--steel); }
.totals .setup b { color: var(--navy); }
.totals .monthly { font-weight: 900; font-size: 1.1rem; }
.totals .monthly b { font-size: 2.4rem; letter-spacing: -.03em; }
.totals .monthly small { font-size: 1rem; font-weight: 700; }
.estimate .terms { font-size: .9rem; color: var(--steel); margin: 0 0 1.25rem; }
.estimate .btn { width: 100%; }
.stamp {
  position: absolute; top: -.8rem; right: 1rem;
  background: var(--orange); color: var(--navy); font-weight: 800; font-size: .8rem;
  letter-spacing: .08em; text-transform: uppercase; padding: .25rem .6rem; border-radius: 3px;
}

/* ---------- Comparison table ---------- */
.table-scroll { overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--white); }
.compare { width: 100%; border-collapse: collapse; min-width: 34rem; font-size: 1rem; }
.compare th, .compare td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid var(--rule); }
.compare thead th { background: var(--navy); color: var(--white); font-weight: 800; }
.compare tbody th { font-weight: 600; }
.compare td { text-align: center; width: 22%; }
.compare .yes::before { content: ""; display: inline-block; width: .9rem; height: .5rem; border-left: 3px solid var(--navy); border-bottom: 3px solid var(--navy); transform: rotate(-45deg) translateY(-.2rem); }
.compare .no { color: var(--steel); }
.compare tfoot td, .compare tfoot th { font-weight: 800; background: var(--paper); border-bottom: 0; }

/* ---------- Case study ---------- */
.case { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .case { grid-template-columns: 1.1fr 1fr; gap: 3rem; } }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.fact { border-top: 3px solid var(--navy); padding-top: .5rem; }
.fact dt { font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--steel); }
.fact dd { margin: .25rem 0 0; font-weight: 800; font-size: 1.15rem; }
.fact.wide, .fact.span-all { grid-column: 1 / -1; }
.case-next-title { font-size: 1.35rem; }
.fact.wide dd { font-weight: 600; font-size: 1.05rem; line-height: 1.45; }
.case-list { display: grid; gap: 3.5rem; }
.case-next { border: 2px dashed var(--rule); border-radius: var(--radius); padding: 2rem 1.5rem; text-align: center; color: var(--steel); }

.shot { display: block; border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; box-shadow: 0 16px 32px -20px rgba(19,33,58,.45); background: var(--white); }
.shot img { width: 100%; }

/* ---------- Founder ---------- */
.founder { display: grid; gap: 2rem; align-items: start; }
.founder .facts { margin: 0; }
@media (min-width: 900px) { .founder { grid-template-columns: 1.5fr 1fr; gap: 4rem; } .founder .facts { margin-top: 2.6rem; } }

/* ---------- Service area ---------- */
.cities { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.cities li { background: var(--white); border: 1px solid var(--rule); border-radius: 999px; padding: .45rem 1rem; font-weight: 700; }
.band-navy .cities li { background: var(--navy-2); border-color: rgba(255,255,255,.18); color: var(--white); }

/* ---------- Services page ---------- */
.service { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .service { grid-template-columns: 16rem 1fr; gap: 3rem; } }
.service-name { position: relative; }
.service-name h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); }
.service dl { margin: 0; display: grid; gap: 1.25rem; }
.service dt { font-size: .85rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); margin-bottom: .3rem; }
.service dd { margin: 0; }
.service dd p:last-child, .service dd ul:last-child { margin-bottom: 0; }
.plan-tag { display: inline-block; font-weight: 800; background: var(--navy); color: var(--white); border-radius: 3px; padding: .1rem .5rem; font-size: .9rem; margin-right: .3rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 46rem; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.1rem 2.5rem 1.1rem 0; position: relative;
  font-weight: 800; font-size: 1.15rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: .8rem; font-size: 1.6rem; font-weight: 400; }
.faq details[open] summary::after { content: "\2013"; }
.faq details > div { padding: 0 0 1.25rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 4rem; } }
.big-phone { display: inline-block; font-size: clamp(2rem, 7vw, 3rem); font-weight: 900; letter-spacing: -.02em; text-decoration: none; }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.contact-list li { padding: .75rem 0; border-top: 1px solid var(--rule); }
.contact-list b { display: block; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--steel); }

form.card { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.5rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 700; margin-bottom: .35rem; }
.field .opt { font-weight: 400; color: var(--steel); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1.05rem/1.4 var(--font); color: var(--navy);
  padding: .75rem .8rem; border: 2px solid #9AA1AC; border-radius: var(--radius); background: var(--white);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); outline: 3px solid var(--orange); outline-offset: 1px; }
.field textarea { min-height: 7.5rem; resize: vertical; }
.row-2 { display: grid; gap: 0 1rem; }
@media (min-width: 600px) { .row-2 { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; left: -9999px; }
.form-status { margin-top: 1rem; font-weight: 700; }
.form-status[data-state="error"] { color: #9B1C1C; }

/* ---------- Closing CTA + footer ---------- */
.cta-band h2 { max-width: 20ch; }
.cta-band .lede { color: var(--ink-on-navy); margin-bottom: 1.75rem; }

.site-footer { background: #0D1729; color: #B9C0CC; padding: 3rem 0; font-size: .98rem; }
.site-footer a { color: var(--white); }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer img { width: 190px; margin-bottom: 1rem; }
.site-footer h2 { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: #B9C0CC; margin-bottom: .75rem; font-weight: 700; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: .2rem 0; }
.legal { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .9rem; }


/* Utility spacing */
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 2rem; }
.head-row h2 { margin: 0; }
.prose { max-width: 42rem; }
.prose h2 { margin-top: 2.5rem; }

@media (prefers-reduced-motion: no-preference) {
  a, .btn { transition: background-color .15s, color .15s, border-color .15s; }
}
