/* =========================================================================
   High Reach Roofing LLC — design tokens
   Palette: hunter green, warm gold, black, white
   Type: Archivo (structural display) / Inter (body)
   Motif: roofline-angle dividers instead of rounded "SaaS card" chrome
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
  --ink: #12201A;        /* deep storm slate — nav, headline text */
  --ink-soft: #2A2E27;   /* body text on light backgrounds */
  --stone: #FFFFFF;      /* page background */
  --stone-dark: #EDEDE9; /* alternate section background */
  --white: #FFFFFF;
  --gold: #C9A227;       /* sun accent — primary CTA */
  --gold-dark: #A6821E;  /* CTA hover */
  --hunter: #2F5233;       /* secondary accent — trust / financing / free items */
  --hunter-dark: #1E3B24;
  --line: #DADAD5;       /* hairline borders */
  --radius: 3px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--stone);
  color: var(--ink-soft);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
h1, h2, h3, h4 {
  font-family: 'Archivo', sans-serif;
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-weight: 700; font-size: 1.25rem; }
p { max-width: 62ch; }
a { color: var(--hunter); }
img { max-width: 100%; display: block; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--ink);
  color: #D3D8CF;
  font-size: 0.85rem;
}
.topbar .wrap {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; gap: 6px;
}
.topbar a { color: #D3D8CF; text-decoration: none; margin-right: 18px; }
.topbar a:hover { color: var(--gold); }

/* ---------- Header / nav ---------- */
header.site {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; padding-bottom: 16px;
}
.brand { display: flex; flex-direction: column; text-decoration: none; }
.brand .mark {
  font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 1.3rem;
  color: var(--ink); letter-spacing: -0.01em;
}
.brand .mark span { color: var(--gold); }
.brand .tag { font-size: 0.72rem; color: var(--ink-soft); margin-top: 1px; }

nav.primary { display: flex; align-items: center; gap: 19px; }
nav.primary a {
  color: var(--ink-soft); text-decoration: none; font-size: 0.95rem; font-weight: 500;
  padding-bottom: 4px; border-bottom: 2px solid transparent;
}
nav.primary a:hover, nav.primary a.active { color: var(--ink); border-bottom-color: var(--gold); }

/* ---------- Mobile menu toggle (hidden on desktop) ---------- */
.menu-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 40px; height: 40px; padding: 8px; margin-left: 8px;
}
.menu-toggle span {
  display: block; width: 100%; height: 2px; background: var(--ink); margin: 6px 0;
}
nav.mobile-nav { display: none; }

.btn {
  display: inline-block; font-family: 'Inter', sans-serif; font-weight: 600;
  padding: 12px 22px; border-radius: var(--radius); text-decoration: none;
  font-size: 0.95rem; border: 2px solid transparent; cursor: pointer;
}
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-dark); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-teal { background: var(--hunter); color: var(--white); }
.btn-teal:hover { background: var(--hunter-dark); }

/* ---------- Roofline divider ----------
   A repeating triangular "roof pitch" edge used between sections that
   change background color — a structural motif drawn from the subject
   matter, not decoration. */
.roofline {
  height: 26px;
  background-repeat: repeat-x;
  background-size: 52px 26px;
  background-image: linear-gradient(135deg, var(--edge-color, var(--stone)) 50%, transparent 50%),
                     linear-gradient(45deg, var(--edge-color, var(--stone)) 50%, transparent 50%);
  background-position: 0 0, 26px 0;
}
.roofline.to-stone { --edge-color: var(--stone); }
.roofline.to-ink { --edge-color: var(--ink); }
.roofline.to-white { --edge-color: var(--white); }
.roofline.to-hunter { --edge-color: var(--hunter); }

/* ---------- Hero ---------- */
.hero {
  background: var(--ink);
  color: var(--white);
  padding: 72px 0 56px;
  position: relative;
  overflow: hidden;
}
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.hero h1 { color: var(--white); }
.hero p.lead { color: #D3D8CF; font-size: 1.1rem; max-width: 46ch; }
.hero .cta-row { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero .stats { display: flex; gap: 28px; margin-top: 40px; flex-wrap: wrap; }
.hero .stats div { border-left: 3px solid var(--gold); padding-left: 12px; }
.hero .stats .num { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 1.6rem; color: var(--white); }
.hero .stats .lbl { font-size: 0.8rem; color: #BFC7BB; }

/* Simple sun/roofline illustration built from CSS, no stock imagery needed */
.hero-art { position: relative; height: 300px; }
.hero-art .sun {
  position: absolute; top: 10px; right: 30px; width: 120px; height: 120px;
  border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--gold), var(--gold-dark));
}
.hero-art .roof {
  position: absolute; bottom: 0; left: 0; right: 0; height: 140px;
  background: var(--ink-soft);
  clip-path: polygon(0% 100%, 0% 55%, 50% 15%, 100% 55%, 100% 100%);
  opacity: 0.9;
}
.hero-art .roof2 {
  position: absolute; bottom: 0; left: 40%; right: -10%; height: 100px;
  background: #0F1A12;
  clip-path: polygon(0% 100%, 0% 60%, 50% 25%, 100% 60%, 100% 100%);
}

/* ---------- Sections ---------- */
section { padding: 64px 0; }
section.alt { background: var(--stone-dark); }
section.dark { background: var(--ink); color: #D3D8CF; }
section.dark h2 { color: var(--white); }
.section-head { max-width: 900px; margin-bottom: 40px; }
.eyebrow-note { color: var(--hunter); font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; }

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

.tile {
  background: var(--white); border: 1px solid var(--line); padding: 26px;
  border-radius: var(--radius);
}
.tile h3 { margin-bottom: 8px; }
.tile .icon { width: 40px; height: 40px; margin-bottom: 14px; }

.badge-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 18px; }
.badge {
  display: flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 600;
  background: var(--white); border: 1px solid var(--line); padding: 8px 14px; border-radius: 999px;
  color: var(--ink-soft);
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

.placeholder-box {
  border: 2px dashed var(--line); background: var(--white); border-radius: var(--radius);
  padding: 32px; text-align: center; color: #8A8578; font-size: 0.9rem;
}

/* ---------- Gallery photo cards ---------- */
.photo-card {
  border-radius: var(--radius); overflow: hidden; background: var(--white);
  border: 1px solid var(--line);
}
.photo-card img {
  width: 100%; height: 260px; object-fit: cover; display: block;
}
.photo-card .cap {
  padding: 14px 16px; font-size: 0.9rem; font-weight: 600; color: var(--ink);
}

/* ---------- Owner bio ---------- */
.owner-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 44px; align-items: start; }
.owner-photo { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.owner-photo img { width: 100%; display: block; }
.owner-bio p { max-width: none; margin-bottom: 14px; color: var(--ink-soft); }
@media (max-width: 860px) {
  .owner-grid { grid-template-columns: 1fr; }
  .owner-photo { max-width: 340px; margin: 0 auto; }
}

/* ---------- CTA band ---------- */
.cta-band { background: var(--hunter); color: var(--white); padding: 48px 0; }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.cta-band h2 { color: var(--white); margin-bottom: 4px; }
.cta-band p { color: #D9EAEA; margin: 0; }

/* ---------- Footer ---------- */
footer.site { background: var(--ink); color: #BFC7BB; padding: 48px 0 28px; font-size: 0.9rem; }
footer.site .grid-4 { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
footer.site h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 12px; }
footer.site a { color: #BFC7BB; text-decoration: none; display: block; margin-bottom: 8px; }
footer.site a:hover { color: var(--gold); }
footer.site .bottom {
  border-top: 1px solid #22301F; margin-top: 32px; padding-top: 18px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 0.8rem;
}

/* ---------- Utility ---------- */
.list-check { list-style: none; margin: 0; padding: 0; }
.list-check li { padding-left: 28px; position: relative; margin-bottom: 10px; }
.list-check li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 14px;
  background: var(--gold); clip-path: polygon(0% 45%, 35% 80%, 100% 10%, 85% 0%, 35% 55%, 15% 32%);
}

.list-x { list-style: none; margin: 0; padding: 0; }
.list-x li { padding-left: 28px; position: relative; margin-bottom: 10px; color: #6B6B66; }
.list-x li::before {
  content: ""; position: absolute; left: 2px; top: 11px; width: 12px; height: 2px;
  background: #B8B4A6;
}

/* ---------- Customer experience process flow ---------- */
.process-flow { display: flex; align-items: flex-start; justify-content: center; gap: 6px; flex-wrap: wrap; }
.process-step { display: flex; flex-direction: column; align-items: center; text-align: center; width: 150px; }
.process-icon {
  width: 84px; height: 84px; border-radius: 50%; background: var(--hunter);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px; flex-shrink: 0;
}
.process-icon svg { width: 34px; height: 34px; }
.process-step h3 { font-size: 1rem; margin-bottom: 4px; }
.process-step p { font-size: 0.85rem; color: var(--ink-soft); margin: 0; }
.process-arrow { align-self: center; margin-top: 32px; flex-shrink: 0; }
.process-arrow svg { width: 26px; height: 26px; }

@media (max-width: 860px) {
  .process-flow { flex-direction: column; align-items: center; }
  .process-arrow { transform: rotate(90deg); margin: 4px 0; }
}

table.pricing { width: 100%; border-collapse: collapse; background: var(--white); }
table.pricing th, table.pricing td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); }
table.pricing th { font-family: 'Archivo', sans-serif; color: var(--ink); }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  footer.site .grid-4 { grid-template-columns: 1fr 1fr; }
  nav.primary { display: none; }
  .menu-toggle { display: block; }
  nav.mobile-nav {
    display: none;
    flex-direction: column;
    background: var(--white);
    border-top: 1px solid var(--line);
    padding: 12px 24px 20px;
  }
  nav.mobile-nav.open { display: flex; }
  nav.mobile-nav a {
    color: var(--ink-soft); text-decoration: none; font-size: 1rem; font-weight: 500;
    padding: 12px 0; border-bottom: 1px solid var(--line);
  }
  nav.mobile-nav a:last-child { border-bottom: none; }
  nav.mobile-nav a.active { color: var(--ink); font-weight: 700; }
  header.site .wrap { flex-wrap: wrap; }
}
