/* ============================================================
   AA&C Home Improvement & Maintenance — brand stylesheet
   Brand guide v1 · 2026
   Navy leads, steel blue is the single accent.
   ============================================================ */

:root {
  --navy: #17304d;
  --steel: #5980a6;
  --steel-light: #8fb3d9;
  --paper: #fbfbfa;
  --paper-2: #f2f2f3;
  --graphite: #5b6470;
  --ink: #22262c;
  --text-mid: #3d4450;
  --text-soft: #4a525c;
  --line: rgba(23, 48, 77, 0.12);
  --line-soft: rgba(23, 48, 77, 0.08);
  --font-heading: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --font-accent: "Cormorant Garamond", Georgia, serif;
  --pad-x: clamp(24px, 6vw, 88px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  font-family: var(--font-body);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--navy); text-decoration: none; transition: color .2s; }
a:hover { color: var(--steel); }

img { max-width: 100%; display: block; }

/* ---------- Navigation ---------- */

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px var(--pad-x);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line-soft);
}

.nav-logo { display: flex; flex-direction: column; align-items: center; gap: 3px; }

.nav-logo .wordmark {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 22px;
  line-height: 1;
  letter-spacing: .05em;
  color: var(--navy);
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 10px;
  gap: 36px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .12em;
}

.btn {
  white-space: nowrap;
  display: inline-block;
  color: #fff;
  background: var(--navy);
  padding: 16px 36px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .14em;
  border: 0;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--steel); color: #fff; }
.btn.btn-nav { padding: 12px 26px; font-size: 12.5px; }
.btn.btn-light { color: var(--navy); background: #fff; }
.btn.btn-light:hover { background: var(--steel-light); color: var(--navy); }

.nav-social {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-left: 22px;
  border-left: 1px solid var(--line);
}
.nav-social a { display: flex; color: var(--navy); }
.nav-social a:hover { color: var(--steel); }
.nav-social svg { width: 17px; height: 17px; display: block; }

.link-underline {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .14em;
  border-bottom: 1px solid var(--navy);
  padding-bottom: 3px;
}

/* ---------- Sections ---------- */

.section { padding: clamp(96px, 12vw, 150px) var(--pad-x) 0; max-width: 1240px; margin: 0 auto; }
.section.section-first { padding-top: clamp(72px, 10vw, 130px); }
.section.section-last { padding-bottom: clamp(96px, 12vw, 140px); }

.kicker {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 20px;
  color: var(--steel);
}

h1, .h1 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(48px, 6.4vw, 92px);
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: .01em;
  color: var(--navy);
  margin: 0;
  text-wrap: balance;
}

h1.h1-sub { font-size: clamp(40px, 5.2vw, 72px); }

h2, .h2 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(32px, 3.4vw, 46px);
  line-height: 1.08;
  text-transform: uppercase;
  color: var(--navy);
  margin: 14px 0 0;
}

.lede {
  font-size: 17px;
  line-height: 1.7;
  max-width: 56ch;
  margin: 32px 0 0;
  color: var(--text-mid);
}

.body-copy { font-size: 16px; line-height: 1.75; color: var(--text-mid); max-width: 54ch; margin: 26px 0 0; }
.body-copy + .body-copy { margin-top: 16px; }

.cta-row { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 36px; }

/* Two-column section header layout */
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px clamp(40px, 6vw, 110px); }
.split-even { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px clamp(40px, 6vw, 110px); align-items: center; }

/* ---------- Service rows ---------- */

.service-row {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 8px 32px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}

.service-row h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--navy);
  margin: 0;
}

.service-row p { font-size: 15.5px; line-height: 1.65; color: var(--text-soft); margin: 0; }

.service-row .row-tag {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  color: #6a7280;
  margin-top: 10px;
}

.service-row .row-link {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .16em;
  margin-top: 12px;
  display: inline-block;
  border-bottom: 1px solid var(--steel);
  padding-bottom: 2px;
  color: var(--steel);
}
.service-row .row-link:hover { color: var(--navy); border-color: var(--navy); }

/* ---------- Photo slots ---------- */

.photo-slot {
  width: 100%;
  background:
    repeating-linear-gradient(45deg, var(--paper-2), var(--paper-2) 14px, #eceded 14px, #eceded 28px);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  color: var(--graphite);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.photo-caption {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  color: #6a7280;
  margin-top: 10px;
  text-transform: uppercase;
}

.credential-strip {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .2em;
  color: #6a7280;
  margin-top: 18px;
}

/* ---------- Work gallery ---------- */

.work-gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.work-item { display: flex; flex-direction: column; gap: 10px; }
.span-7 { grid-column: span 7; }
.span-5 { grid-column: span 5; }
.span-4 { grid-column: span 4; }

/* ---------- Navy band (cleaning cross-promo) ---------- */

.band {
  margin-top: clamp(96px, 12vw, 150px);
  background: var(--navy);
  padding: clamp(64px, 8vw, 104px) var(--pad-x);
}
.band-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 40px;
  align-items: center;
}
.band .kicker { color: var(--steel-light); }
.band p { color: #c6d2e0; }
.band-cta { display: flex; justify-content: flex-end; }

/* ---------- Service area ---------- */

.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-content: start; }
.area-col { border-top: 1px solid var(--line); padding-top: 22px; }
.area-col h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 20px;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0;
}
.area-col p { font-size: 15.5px; line-height: 1.9; color: var(--text-soft); margin: 10px 0 0; }

/* ---------- Forms ---------- */

.quote-form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--graphite);
}
.field .input {
  border: 1px solid var(--line);
  background: #fff;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
}
.field .input:focus { outline: 2px solid var(--steel); outline-offset: 0; border-color: var(--steel); }
.field-full { grid-column: 1 / -1; }
textarea.input { resize: vertical; }

.contact-lines { margin-top: 32px; font-size: 15.5px; line-height: 2.2; color: var(--text-mid); }
.contact-lines strong { font-weight: 600; color: var(--navy); }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line-soft);
  margin-top: clamp(96px, 12vw, 140px);
  padding: 40px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: #6a7280;
}
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.footer-brand .wordmark {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  letter-spacing: .05em;
  color: var(--navy);
}
.footer-meta { letter-spacing: .16em; text-align: right; }
.footer-social { display: flex; gap: 18px; align-items: center; font-size: 12px; font-weight: 500; letter-spacing: .14em; }

/* ---------- Breadcrumb ---------- */

.breadcrumb {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--graphite);
  margin-bottom: 26px;
}
.breadcrumb a { color: var(--steel); }

/* ---------- FAQ / detail lists ---------- */

.detail-list { margin: 0; padding: 0; list-style: none; }
.detail-list li {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-soft);
}
.detail-list li strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 19px;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--navy);
  margin-bottom: 6px;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .split, .split-even, .band-inner { grid-template-columns: 1fr; }
  .band-cta { justify-content: flex-start; }
  .work-gallery { grid-template-columns: 1fr 1fr; }
  .span-7, .span-5, .span-4 { grid-column: auto; }
  .footer-meta { text-align: left; }
}

@media (max-width: 640px) {
  .nav-links { gap: 18px; font-size: 12px; }
  .nav-social { gap: 12px; padding-left: 14px; }
  .nav-social svg { width: 16px; height: 16px; }
  .quote-form { grid-template-columns: 1fr; }
  .work-gallery { grid-template-columns: 1fr; }
  .area-grid { grid-template-columns: 1fr; }
}
