/* ============================================================
   GEIB'S ELECTRIC LLC  —  shared stylesheet
   Tactical / veteran-owned electrician. Army olive + khaki gold.
   Display: Staatliches  ·  Body: Archivo
   ============================================================ */

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

/* ---------- Tokens ---------- */
:root {
  /* Brand anchors (kept from original identity) */
  --army:        #444542;   /* olive-charcoal primary */
  --accent:      #9B973A;   /* khaki gold */
  --accent-rgb:  155,151,58;

  /* Upgraded system, tinted toward the olive/khaki hue */
  --bg:          #f6f5ef;   /* warm paper */
  --bg-tint:     #edebe1;   /* section tint */
  --surface:     #fbfaf5;   /* card */
  --deep:        #1b1c18;   /* near-black olive, dark sections */
  --deep-2:      #23241f;
  --ink:         #272821;   /* primary text (AA on bg) */
  --ink-soft:    #585a4f;   /* muted text */
  --accent-bright:#cfc857;  /* lifted khaki for dark surfaces */
  --accent-deep: #75712b;   /* pressed khaki */
  --flag-red:    #a23a2c;   /* muted military red — emergency cue only */

  --line:        rgba(39,40,33,.14);
  --line-strong: rgba(39,40,33,.30);
  --line-on-dark:rgba(246,245,239,.16);

  /* Spacing — 4pt scale */
  --s-1:4px; --s-2:8px; --s-3:12px; --s-4:16px; --s-5:24px;
  --s-6:32px; --s-7:48px; --s-8:64px; --s-9:96px; --s-10:128px;

  /* Type scale */
  --fs-display: clamp(2.9rem, 8vw, 6.75rem);
  --fs-h1:      clamp(2.1rem, 5.2vw, 4rem);
  --fs-h2:      clamp(1.75rem, 3.6vw, 3rem);
  --fs-h3:      clamp(1.25rem, 2vw, 1.6rem);
  --fs-eyebrow: .78rem;
  --fs-body:    1.0625rem;

  /* Radii — tactical, mostly squared */
  --r-sm:4px; --r-md:8px; --r-lg:14px; --r-pill:999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(27,28,24,.05), 0 3px 10px rgba(27,28,24,.06);
  --shadow-md: 0 10px 34px rgba(27,28,24,.12);
  --shadow-lg: 0 26px 64px rgba(27,28,24,.22);

  /* Motion */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --nav-h: 76px;
  --container: 1240px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; font-size: 16px; overflow-x: hidden; max-width: 100%; }
body {
  font-family: 'Archivo', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
input, textarea, select { font: inherit; }
ul { list-style: none; }

/* Page-load veil */
body::after {
  content: ''; position: fixed; inset: 0;
  background: var(--deep); z-index: 9999;
  pointer-events: none; transition: opacity .6s var(--ease-out);
}
body.loaded::after { opacity: 0; }

/* Focus */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px;
}

/* Selection */
::selection { background: rgba(var(--accent-rgb), .3); color: var(--deep); }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-tint); }
::-webkit-scrollbar-thumb { background: var(--army); border: 3px solid var(--bg-tint); border-radius: 999px; }

/* Skip link */
.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 10000;
  background: var(--deep); color: var(--bg); padding: 10px 18px; border-radius: var(--r-md);
  font-family: 'Staatliches', sans-serif; letter-spacing: 1px;
}
.skip-link:focus { left: 12px; }

/* ---------- Typography ---------- */
.display, h1, h2, h3, h4 { font-family: 'Staatliches', sans-serif; font-weight: 400; line-height: .98; letter-spacing: .5px; }
.display { font-size: var(--fs-display); }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: 1px; }
p { max-width: 68ch; }
strong { font-weight: 700; }

/* Tactical eyebrow / stencil stamp */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'Archivo', sans-serif; font-weight: 700;
  font-size: var(--fs-eyebrow); letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent-deep);
}
.eyebrow::before {
  content: ''; width: 26px; height: 2px; background: var(--accent);
}
.eyebrow.on-dark { color: var(--accent-bright); }
.eyebrow.center { justify-content: center; }

.bolt-i { width: 1em; height: 1em; color: var(--accent); flex: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 5vw, 48px); }
.container-narrow { max-width: 860px; }
section { position: relative; }
.section { padding-block: clamp(64px, 10vw, 132px); }
.section-sm { padding-block: clamp(48px, 7vw, 88px); }
.bg-tint { background: var(--bg-tint); }
.bg-deep { background: var(--deep); color: var(--bg); }
.bg-deep h1, .bg-deep h2, .bg-deep h3 { color: var(--bg); }
.bg-deep p { color: rgba(246,245,239,.72); }

.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: var(--s-3); }
.section-head p { margin-top: var(--s-4); color: var(--ink-soft); }

/* Hairline */
.rule { height: 1px; background: var(--line); border: 0; }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 15px; --pad-x: 26px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: 'Staatliches', sans-serif; font-size: 1.05rem; letter-spacing: 1.3px;
  text-transform: uppercase; padding: var(--pad-y) var(--pad-x);
  border-radius: var(--r-md); transition: transform .12s var(--ease-out),
    background-color .2s var(--ease-out), color .2s var(--ease-out), box-shadow .2s var(--ease-out);
  white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; }
.btn:active { transform: scale(.97); }

.btn-primary { background: var(--accent); color: var(--deep); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-bright); box-shadow: var(--shadow-md); }

/* Secondary button: solid dark gray by default, lighter gray on hover — visible on any background */
.btn-ghost { background: var(--army); color: var(--bg); border: 1px solid rgba(246,245,239,.16); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { background: #5d5f54; color: var(--bg); border-color: rgba(246,245,239,.28); }

.btn-lg { --pad-y: 18px; --pad-x: 34px; font-size: 1.18rem; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  background: var(--army); color: var(--bg);
  transition: box-shadow .3s var(--ease-out), background-color .3s var(--ease-out);
}
.nav.scrolled { box-shadow: 0 10px 30px rgba(0,0,0,.22); background: var(--deep); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--nav-h); gap: var(--s-5);
  max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 5vw, 48px);
}
.brand { display: flex; align-items: center; gap: 12px; }
/* Logo artwork is solid black on transparent — render it white on the dark nav */
.brand img { height: 46px; width: auto; filter: brightness(0) invert(1); }
.brand-text { font-family: 'Staatliches', sans-serif; font-size: 1.35rem; letter-spacing: 1.5px; line-height: .92; color: var(--bg); }
.brand-text small { display: block; font-family: 'Archivo'; font-weight: 600; font-size: .58rem; letter-spacing: .25em; color: var(--accent-bright); }

.nav-links { display: flex; align-items: center; gap: clamp(12px, 1.5vw, 26px); }
.nav-link {
  font-family: 'Archivo', sans-serif; font-weight: 600; font-size: .9rem; letter-spacing: .02em;
  color: rgba(246,245,239,.82); padding: 6px 2px; position: relative; white-space: nowrap;
  transition: color .2s var(--ease-out);
}
.nav-link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease-out);
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--bg); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-call {
  display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
  background: var(--accent); color: var(--deep);
  font-family: 'Staatliches', sans-serif; font-size: 1.02rem; letter-spacing: 1px;
  padding: 11px 18px; border-radius: var(--r-md);
  transition: background-color .2s var(--ease-out), transform .12s var(--ease-out);
}
.nav-call:hover { background: var(--accent-bright); }
.nav-call:active { transform: scale(.97); }
.nav-call svg { width: 17px; height: 17px; }

.hamburger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--bg); transition: transform .3s var(--ease-out), opacity .2s; }
body.menu-open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .hamburger span:nth-child(2) { opacity: 0; }
body.menu-open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile overlay */
.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 999;
  background: var(--deep); color: var(--bg);
  padding: var(--s-7) clamp(20px,6vw,48px);
  display: flex; flex-direction: column; gap: var(--s-2);
  transform: translateY(-100%); opacity: 0; pointer-events: none;
  transition: transform .45s var(--ease-in-out), opacity .35s var(--ease-out);
  overflow-y: auto;
}
body.menu-open .mobile-menu { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-family: 'Staatliches', sans-serif; font-size: 1.9rem; letter-spacing: 1px;
  padding: 10px 0; border-bottom: 1px solid var(--line-on-dark);
  opacity: 0; transform: translateY(14px);
}
body.menu-open .mobile-menu a { opacity: 1; transform: translateY(0); transition: opacity .4s var(--ease-out), transform .4s var(--ease-out); }
.mobile-menu .btn { margin-top: var(--s-5); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: flex-end; padding-top: var(--nav-h); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(27,28,24,.55) 0%, rgba(27,28,24,.25) 38%, rgba(27,28,24,.86) 100%),
    linear-gradient(90deg, rgba(27,28,24,.75) 0%, rgba(27,28,24,.18) 70%);
}
.hero-inner { position: relative; z-index: 1; width: 100%; padding-block: clamp(40px, 7vw, 90px); color: var(--bg); }
.hero h1.display, .hero .display { color: var(--bg); max-width: 16ch; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.hero-sub { margin-top: var(--s-5); max-width: 54ch; font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: rgba(246,245,239,.9); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.hero-stamps { display: flex; flex-wrap: wrap; gap: 10px 8px; margin-top: var(--s-6); }

/* Tactical stamp chip */
.stamp {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--bg); padding: 7px 13px; border: 1px solid var(--line-on-dark);
  border-radius: var(--r-sm); background: rgba(27,28,24,.4); backdrop-filter: blur(4px);
}
.stamp svg { width: 14px; height: 14px; color: var(--accent-bright); }

/* Floating rating chip */
.rating-chip {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--surface); color: var(--ink); padding: 12px 18px; border-radius: var(--r-md);
  box-shadow: var(--shadow-lg); margin-top: var(--s-6);
}
.rating-chip .stars { color: var(--accent-deep); letter-spacing: 2px; font-size: 1.05rem; }
.rating-chip b { font-family: 'Staatliches'; font-size: 1.5rem; letter-spacing: 1px; line-height: 1; }
.rating-chip small { display: block; color: var(--ink-soft); font-size: .76rem; letter-spacing: .04em; }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--deep); color: var(--bg); }
.trustbar-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px; background: var(--line-on-dark);
}
.trust-item { background: var(--deep); padding: 26px 22px; text-align: center; }
.trust-item .num { font-family: 'Staatliches'; font-size: 2.4rem; letter-spacing: 1px; color: var(--accent-bright); line-height: 1; }
.trust-item .lbl { display: block; margin-top: 8px; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(246,245,239,.66); }

/* ---------- Service cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: var(--s-4); margin-top: var(--s-7); }
.svc-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s var(--ease-out);
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.svc-media { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-tint); }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.svc-card:hover .svc-media img { transform: scale(1.06); }
.svc-body { padding: var(--s-5); display: flex; flex-direction: column; flex: 1; }
.svc-icon { width: 42px; height: 42px; color: var(--accent-deep); margin-bottom: var(--s-3); }
.svc-card h3 { color: var(--ink); }
.svc-card p { color: var(--ink-soft); margin-top: 10px; font-size: .96rem; flex: 1; }
.svc-more {
  display: inline-flex; align-items: center; gap: 8px; margin-top: var(--s-4);
  font-family: 'Staatliches'; letter-spacing: 1px; color: var(--accent-deep);
}
.svc-more svg { width: 16px; height: 16px; transition: transform .25s var(--ease-out); }
.svc-card:hover .svc-more svg { transform: translateX(5px); }

/* Text-forward spec card (detail pages) */
.spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--s-4); margin-top: var(--s-6); }
.spec {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--s-5); transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.spec:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.spec .svc-icon { margin-bottom: var(--s-3); }
.spec h3 { color: var(--ink); font-size: 1.35rem; }
.spec p { color: var(--ink-soft); margin-top: 8px; font-size: .95rem; }
.spec ul { margin-top: var(--s-3); display: grid; gap: 8px; }
.spec li { position: relative; padding-left: 26px; color: var(--ink-soft); font-size: .92rem; }
.spec li svg { position: absolute; left: 0; top: 3px; width: 16px; height: 16px; color: var(--accent-deep); }

/* ---------- Split feature (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr .95fr; } .split.reverse > .split-media { order: 2; } }
.split-media { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.split-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split-media .tag {
  position: absolute; left: 16px; bottom: 16px;
  font-family: 'Staatliches'; letter-spacing: 1px; font-size: .82rem;
  background: var(--accent); color: var(--deep); padding: 7px 12px; border-radius: var(--r-sm);
}
.split-text h2 { margin-top: var(--s-3); }
.split-text p { margin-top: var(--s-4); color: var(--ink-soft); }
.bg-deep .split-text p { color: rgba(246,245,239,.74); }
.split-text .btn { margin-top: var(--s-5); }
.feature-list { margin-top: var(--s-5); display: grid; gap: 12px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; }
.feature-list svg { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 2px; }
.bg-deep .feature-list { color: rgba(246,245,239,.82); }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--s-5); margin-top: var(--s-7); }
.pillar { text-align: left; }
.pillar .pillar-num { font-family: 'Staatliches'; font-size: 1rem; letter-spacing: 2px; color: var(--accent-deep); }
.bg-deep .pillar .pillar-num { color: var(--accent-bright); }
.pillar h3 { margin-top: var(--s-2); color: var(--ink); }
.bg-deep .pillar h3 { color: var(--bg); }
.pillar p { margin-top: 10px; color: var(--ink-soft); font-size: .96rem; }

/* ---------- Gallery ---------- */
.gallery-strip { display: flex; gap: var(--s-4); overflow-x: auto; padding-bottom: var(--s-4); scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.gallery-strip::-webkit-scrollbar { height: 6px; }
.gallery-item {
  flex: 0 0 auto; width: min(78vw, 460px); aspect-ratio: 4/3; scroll-snap-align: start;
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); position: relative;
}
.gallery-item.tall { aspect-ratio: 3/4; width: min(60vw, 340px); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 14px;
  background: linear-gradient(180deg, transparent, rgba(27,28,24,.82));
  color: var(--bg); font-family: 'Staatliches'; letter-spacing: 1px; font-size: .95rem;
}

/* ---------- Reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--s-4); margin-top: var(--s-7); }
.review {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--s-5); display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
}
.review .stars { color: var(--accent-deep); letter-spacing: 3px; font-size: 1.05rem; }
.review-tag { font-family: 'Staatliches'; letter-spacing: 1px; font-size: .82rem; color: var(--ink); margin-top: 12px; }
.review p { color: var(--ink-soft); margin-top: 8px; font-size: .95rem; flex: 1; }
.review-by { display: flex; align-items: center; gap: 10px; margin-top: var(--s-4); padding-top: var(--s-4); border-top: 1px solid var(--line); }
.review-avatar {
  width: 40px; height: 40px; border-radius: 50%; background: var(--army); color: var(--bg);
  display: grid; place-items: center; font-family: 'Staatliches'; font-size: 1.05rem; letter-spacing: 1px; flex: none;
}
.review-by b { font-weight: 700; font-family: 'Archivo'; font-size: .95rem; }
.review-by small { display: block; color: var(--ink-soft); font-size: .78rem; }
.gverified { display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; color: var(--ink-soft); }
.gverified svg { width: 16px; height: 16px; }

/* ---------- Service area ---------- */
.area-wrap { display: grid; grid-template-columns: 1fr; gap: clamp(28px,5vw,56px); align-items: center; }
@media (min-width: 900px) { .area-wrap { grid-template-columns: 1fr 1fr; } }
.state-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: var(--s-5); }
.state-tag {
  font-family: 'Staatliches'; letter-spacing: 1.5px; font-size: 1rem;
  padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); color: var(--ink);
}
.bg-deep .state-tag { border-color: var(--line-on-dark); color: var(--bg); }
.state-tag.home { background: var(--accent); color: var(--deep); border-color: var(--accent); }
.area-map {
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.area-map iframe { display: block; width: 100%; height: 380px; border: 0; filter: grayscale(.25) contrast(1.02); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--accent); color: var(--deep); }
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-5); padding-block: clamp(44px, 6vw, 72px); }
.cta-band h2 { color: var(--deep); max-width: 18ch; }
.cta-band .btn-primary { background: var(--deep); color: var(--accent); }
.cta-band .btn-primary:hover { background: var(--deep-2); color: var(--accent-bright); }
.cta-phone { font-family: 'Staatliches'; font-size: clamp(2rem,5vw,3.2rem); letter-spacing: 1px; color: var(--deep); }
.cta-phone:hover { text-decoration: underline; text-underline-offset: 6px; }

/* ---------- Contact / Form ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr; gap: clamp(32px,5vw,64px); }
@media (min-width: 900px) { .contact-wrap { grid-template-columns: .9fr 1.1fr; } }
.contact-info .info-row { display: flex; gap: 14px; align-items: flex-start; padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.bg-deep .contact-info .info-row { border-color: var(--line-on-dark); }
.contact-info .info-row svg { width: 24px; height: 24px; color: var(--accent); flex: none; margin-top: 3px; }
.contact-info .info-row .k { font-family: 'Staatliches'; letter-spacing: 1px; font-size: .8rem; color: var(--ink-soft); text-transform: uppercase; }
.bg-deep .contact-info .info-row .k { color: rgba(246,245,239,.6); }
.contact-info .info-row .v { font-size: 1.15rem; font-weight: 600; }
.contact-info .info-row a.v:hover { color: var(--accent-deep); }
.bg-deep .contact-info .info-row a.v:hover { color: var(--accent-bright); }

.emergency-note {
  display: flex; gap: 12px; align-items: flex-start; margin-top: var(--s-5);
  background: rgba(162,58,44,.08); border: 1px solid rgba(162,58,44,.3);
  border-radius: var(--r-md); padding: var(--s-4) var(--s-5); color: var(--ink);
}
.bg-deep .emergency-note { background: rgba(162,58,44,.18); color: var(--bg); }
.emergency-note svg { width: 22px; height: 22px; color: var(--flag-red); flex: none; margin-top: 2px; }
.emergency-note b { color: var(--flag-red); }
.bg-deep .emergency-note b { color: #e08a7d; }

.form {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: var(--s-4); }
.field label { font-family: 'Archivo'; font-weight: 700; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.field label .req { color: var(--flag-red); }
.field input, .field textarea, .field select {
  background: var(--bg); border: 1.5px solid var(--line-strong); border-radius: var(--r-md);
  padding: 13px 15px; color: var(--ink); transition: border-color .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(39,40,33,.45); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb),.18);
}
.field textarea { resize: vertical; min-height: 130px; }
.field .hint { font-size: .8rem; color: var(--ink-soft); }
.form .btn { width: 100%; margin-top: var(--s-2); }
.form-success {
  display: none; text-align: center; padding: var(--s-6) var(--s-4);
}
.form-success.show { display: block; }
.form-success svg { width: 56px; height: 56px; color: var(--accent-deep); margin: 0 auto var(--s-4); }
.form-success h3 { color: var(--ink); }
.form-success p { margin: 10px auto 0; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.footer { background: var(--deep); color: var(--bg); border-top: 3px solid var(--accent); }
.footer-top { display: grid; grid-template-columns: 1fr; gap: var(--s-7); padding-block: clamp(56px,8vw,88px); }
@media (min-width: 760px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand img { height: 96px; width: auto; margin-bottom: var(--s-4); background: var(--bg); border-radius: var(--r-md); padding: 8px; }
.footer-brand p { color: rgba(246,245,239,.6); font-size: .92rem; max-width: 38ch; }
.footer-col h4 { font-size: 1.2rem; letter-spacing: 1px; color: var(--accent-bright); margin-bottom: var(--s-4); }
.footer-col a, .footer-col p { display: block; color: rgba(246,245,239,.74); padding: 6px 0; font-size: .94rem; }
.footer-col a:hover { color: var(--accent-bright); }
.footer-bottom { border-top: 1px solid var(--line-on-dark); padding-block: var(--s-5); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.footer-bottom p { color: rgba(246,245,239,.5); font-size: .82rem; }

/* ---------- Reveal animation base (only hide when JS is active) ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); }
.reveal.in { opacity: 1; transform: none; }

/* Hidden SVG symbol sheet */
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Interior page hero ---------- */
.page-hero { position: relative; padding-top: calc(var(--nav-h) + clamp(48px,8vw,96px)); padding-bottom: clamp(48px,8vw,96px); overflow: hidden; color: var(--bg); }
.page-hero-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(27,28,24,.9), rgba(27,28,24,.55) 80%); }
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 { color: var(--bg); margin-top: var(--s-3); max-width: 18ch; }
.page-hero p { color: rgba(246,245,239,.86); margin-top: var(--s-4); font-size: clamp(1.02rem,1.5vw,1.22rem); }
.page-hero .hero-actions { margin-top: var(--s-5); }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .82rem; color: rgba(246,245,239,.7); }
.breadcrumb a:hover { color: var(--accent-bright); }
.breadcrumb svg { width: 13px; height: 13px; opacity: .6; }

/* ---------- Responsive nav ---------- */
@media (max-width: 1180px) {
  .nav-links { display: none; }
  .nav-call .label { display: none; }
  .hamburger { display: flex; }
}
@media (min-width: 1181px) { .mobile-menu { display: none; } }

/* ============================================================
   ADDED COMPONENTS  (hero reviews, process, compare, portfolio)
   ============================================================ */

/* ---- Hero 2-column with review slider ---- */
.hero-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-7); align-items: center; width: 100%; }
.hero-grid > * { min-width: 0; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: minmax(0, 1fr) 366px; gap: var(--s-8); } }
.slider, .slider-viewport, .slider-track { width: 100%; }

.slider { position: relative; }
.slider-viewport { overflow: hidden; border-radius: var(--r-lg); }
.slider-track { display: flex; flex-wrap: nowrap; transition: transform .55s var(--ease-out); will-change: transform; }
.slider-track > * { flex: 0 0 100%; min-width: 100%; }

.hr-card {
  background: var(--surface); color: var(--ink); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); padding: clamp(22px, 3vw, 32px);
  display: flex; flex-direction: column; min-height: 268px;
}
.hr-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hr-badge { display: inline-flex; align-items: center; gap: 8px; font-family: 'Archivo'; font-weight: 800; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); background: rgba(var(--accent-rgb),.16); padding: 6px 11px; border-radius: var(--r-pill); }
.hr-badge svg { width: 15px; height: 15px; color: var(--accent-deep); }
.hr-card .stars { color: var(--accent-deep); letter-spacing: 2px; font-size: 1.05rem; }
.hr-quote { margin-top: var(--s-4); color: var(--ink); font-size: 1.02rem; line-height: 1.6; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.hr-by { display: flex; align-items: center; gap: 11px; margin-top: var(--s-4); }
.hr-by .review-avatar { width: 38px; height: 38px; }
.hr-by b { font-family: 'Archivo'; font-weight: 700; font-size: .95rem; }
.hr-by small { display: block; color: var(--ink-soft); font-size: .76rem; }

.slider-controls { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: var(--s-4); }
.slider-nav { width: 40px; height: 40px; border-radius: 50%; background: rgba(246,245,239,.14); color: var(--bg);
  display: grid; place-items: center; border: 1px solid var(--line-on-dark); transition: background-color .2s var(--ease-out), transform .12s var(--ease-out); }
.slider-nav:hover { background: var(--accent); color: var(--deep); border-color: var(--accent); }
.slider-nav:active { transform: scale(.94); }
.slider-nav svg { width: 18px; height: 18px; }
.slider-dots { display: flex; gap: 8px; }
.slider-dots button { width: 8px; height: 8px; border-radius: 999px; background: rgba(246,245,239,.3); border: 0; padding: 0; transition: background-color .2s, width .2s; }
.slider-dots button.active { background: var(--accent-bright); width: 22px; }
/* On light sections the controls invert */
.slider.on-light .slider-nav { background: var(--bg-tint); color: var(--ink); border-color: var(--line); }
.slider.on-light .slider-dots button { background: var(--line-strong); }
.slider.on-light .slider-dots button.active { background: var(--accent-deep); }

/* ---- Process / numbered steps (Solar, EV) ---- */
.steps { display: grid; gap: var(--s-4); margin-top: var(--s-7); counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }
.step {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: var(--s-6) var(--s-5) var(--s-5);
}
.step .step-no {
  position: absolute; top: -18px; left: var(--s-5);
  width: 44px; height: 44px; border-radius: 12px; background: var(--deep); color: var(--accent-bright);
  display: grid; place-items: center; font-family: 'Staatliches'; font-size: 1.4rem; letter-spacing: 1px;
  box-shadow: var(--shadow-sm);
}
.bg-deep .step { background: var(--deep-2); border-color: var(--line-on-dark); }
.bg-deep .step .step-no { background: var(--accent); color: var(--deep); }
.step h3 { color: var(--ink); margin-top: 10px; }
.bg-deep .step h3 { color: var(--bg); }
.step p { color: var(--ink-soft); margin-top: 8px; font-size: .94rem; }
.bg-deep .step p { color: rgba(246,245,239,.7); }
.step .svc-icon { width: 30px; height: 30px; }

/* ---- Comparison tiers (Generators) ---- */
.compare { display: grid; grid-template-columns: 1fr; gap: var(--s-4); margin-top: var(--s-7); align-items: stretch; }
@media (min-width: 860px) { .compare { grid-template-columns: repeat(3, 1fr); } }
.tier {
  display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.tier:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.tier.featured { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(var(--accent-rgb),.4), var(--shadow-md); }
.tier-head { background: var(--deep); color: var(--bg); padding: var(--s-5); position: relative; }
.tier.featured .tier-head { background: var(--army); }
.tier-head .ribbon { position: absolute; top: 14px; right: 14px; font-family: 'Staatliches'; font-size: .68rem; letter-spacing: 1.5px; background: var(--accent); color: var(--deep); padding: 4px 9px; border-radius: var(--r-sm); }
.tier-head .svc-icon { color: var(--accent-bright); margin-bottom: 10px; }
.tier-head h3 { color: var(--bg); }
.tier-head .tier-sub { color: rgba(246,245,239,.66); font-size: .86rem; margin-top: 6px; }
.tier-body { padding: var(--s-5); display: flex; flex-direction: column; flex: 1; }
.tier-body ul { display: grid; gap: 11px; flex: 1; }
.tier-body li { position: relative; padding-left: 28px; color: var(--ink-soft); font-size: .94rem; }
.tier-body li svg { position: absolute; left: 0; top: 2px; width: 17px; height: 17px; color: var(--accent-deep); }
.tier-body .btn { margin-top: var(--s-5); width: 100%; }

/* ---- Maintenance checklist ---- */
.check-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; margin-top: var(--s-5); }
.check-item { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 16px; }
.check-item svg { width: 20px; height: 20px; color: var(--accent-deep); flex: none; }
.check-item span { font-weight: 600; font-size: .94rem; }

/* ---- Portfolio gallery (Geib Homes) ---- */
.portfolio { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--s-4); margin-top: var(--s-7); }
.pf {
  position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/3;
  box-shadow: var(--shadow-md);
}
.pf.wide { grid-column: span 1; }
@media (min-width: 900px) { .pf.wide { grid-column: span 2; aspect-ratio: 16/8; } }
.pf img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.pf:hover img { transform: scale(1.05); }
.pf-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: var(--s-5); background: linear-gradient(180deg, transparent 35%, rgba(27,28,24,.86));
  color: var(--bg);
}
.pf-overlay .k { font-family: 'Staatliches'; letter-spacing: 1px; font-size: 1.4rem; }
.pf-overlay p { color: rgba(246,245,239,.82); font-size: .9rem; margin-top: 4px; }

/* ---- Stat row (inline) ---- */
.statline { display: flex; flex-wrap: wrap; gap: var(--s-5) var(--s-7); margin-top: var(--s-6); }
.statline .s b { font-family: 'Staatliches'; font-size: 2.6rem; letter-spacing: 1px; color: var(--accent-deep); line-height: 1; display: block; }
.bg-deep .statline .s b { color: var(--accent-bright); }
.statline .s span { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.bg-deep .statline .s span { color: rgba(246,245,239,.6); }

/* ---- Lead callout band (We Buy Houses) ---- */
.lead-band { background: var(--army); color: var(--bg); border-radius: var(--r-lg); padding: clamp(28px,4vw,52px); box-shadow: var(--shadow-md); }
.lead-band h2 { color: var(--bg); }
.lead-band p { color: rgba(246,245,239,.8); margin-top: var(--s-3); }

/* ---------- Mobile tuning ---------- */
@media (max-width: 600px) {
  /* Hero: stop scaling the desktop layout down — size it for the phone */
  .hero { min-height: auto; padding-bottom: var(--s-6); }
  .hero-inner { padding-block: var(--s-6); }
  .hero-grid { gap: var(--s-6); }
  .hero .display { font-size: clamp(2.3rem, 12vw, 3.1rem); max-width: 100%; line-height: 1.02; }
  .hero-sub { font-size: 1rem; margin-top: var(--s-4); max-width: 100%; }
  .hero-actions { gap: 10px; margin-top: var(--s-5); }
  .hero-actions .btn { width: 100%; }
  .btn-lg { --pad-y: 15px; --pad-x: 22px; font-size: 1.05rem; }
  .hero-stamps { gap: 8px 6px; margin-top: var(--s-5); }
  .stamp { font-size: .66rem; padding: 6px 9px; letter-spacing: .1em; }

  /* Keep the review carousel from poking past the viewport on iOS */
  .slider, .slider-viewport { max-width: 100%; overflow: hidden; }

  /* Calmer rhythm + readable headings on small screens */
  .section-head h2 { font-size: clamp(1.6rem, 7vw, 2.1rem); }
  .cta-phone { font-size: clamp(1.9rem, 10vw, 2.6rem); }
  .cta-band .container { flex-direction: column; align-items: flex-start; }

  /* Stamp/rating chip + trust numbers scale down cleanly */
  .trust-item { padding: 20px 14px; }
  .trust-item .num { font-size: 2rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  body::after { display: none; }
}
