/* =========================================
   ROOT VARIABLES — Bootheel Roofing Master
   Brand: Black / Gold / White
========================================= */

:root {

  /* ===== BRAND COLORS ===== */
  --gold: #d4af37;
  --gold-dark: #b48a1f;
  --black: #0b0b0c;
  --white: #ffffff;

  /* ===== TEXT COLORS ===== */
  --text: #f4f4f4;
  --muted: #c9c9c9;

  /* ===== BACKGROUND COLORS ===== */
  --bg: #0b0b0c;
  --panel: #111214;
  --panel2: #15171a;

  /* ===== BORDERS & EFFECTS ===== */
  --line: rgba(212,175,55,.25);
  --shadow: 0 12px 30px rgba(0,0,0,.45);

  /* ===== LAYOUT ===== */
  --max: 1180px;
  --radius: 18px;

  /* ===== TRANSITIONS ===== */
  --transition: 0.2s ease;

}


/* ====================== GLOBAL DEFAULTS ====================== */
* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 500px at 15% 0%, rgba(212,175,55,.10), transparent 60%),
    radial-gradient(900px 500px at 85% 0%, rgba(212,175,55,.07), transparent 60%),
    linear-gradient(180deg, var(--bg), #070708);
  line-height: 1.5;
}

a { color: inherit; }

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

h1, h2, h3 { margin: 0; }
p { margin-bottom: 14px; }


/* ====================== LAYOUT ====================== */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 18px;
}


/* ====================== ZONE 1 — TOPBAR ====================== */
.topbar {
  background: linear-gradient(90deg, rgba(212,175,55,.15), rgba(212,175,55,.05));
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.topbar .wrap {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  flex-wrap: wrap;
  overflow: hidden;
}

.topbar a {
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(212,175,55,.25);
  background: rgba(17,18,20,.35);
}

.topbar a:hover { border-color: rgba(212,175,55,.55); }

.top-left { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.top-right { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(212,175,55,.25);
  background: rgba(17,18,20,.35);
  color: var(--muted);
  white-space: nowrap;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,175,55,.18);
}


/* ====================== ZONE 2 — HEADER ====================== */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(7,7,8,.72);
  border-bottom: 1px solid rgba(212,175,55,.18);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 240px;
}

.brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(212,175,55,.08);
  border: 1px solid rgba(212,175,55,.20);
  padding: 6px;
}

.brand .name { display: flex; flex-direction: column; line-height: 1.15; }
.brand .name strong { font-size: 18px; letter-spacing: .3px; }
.brand .name span { font-size: 13px; color: var(--muted); }


/* ====================== ZONE 3 — NAVIGATION ====================== */
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a {
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
}

nav a:hover {
  border-color: rgba(212,175,55,.22);
  color: var(--text);
  background: rgba(212,175,55,.06);
}

nav a.active {
  color: var(--gold);
  border-color: rgba(212,175,55,.25);
  background: rgba(212,175,55,.06);
}


/* ====================== ZONE 4 — BUTTONS ====================== */
.cta-nav {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 14px;
  border-radius: 14px;
  border: 1px solid rgba(212,175,55,.35);
  background: rgba(212,175,55,.10);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .2px;
  box-shadow: 0 10px 26px rgba(0,0,0,.22);
  transition: var(--transition);
}

.btn:hover {
  border-color: rgba(212,175,55,.65);
  background: rgba(212,175,55,.14);
}

.btn-solid {
  background: linear-gradient(180deg, var(--gold), var(--gold-dark));
  border-color: rgba(212,175,55,.75);
  color: #161616;
}

.btn-solid:hover { filter: brightness(1.02); }

.btn-ghost {
  border-color: rgba(212,175,55,.25);
  background: rgba(17,18,20,.25);
  color: var(--text);
}


/* ====================== ZONE 5 — PAGE HERO ====================== */
.page-hero { padding: 34px 0 10px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
  align-items: stretch;
}

.card {
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(17,18,20,.92), rgba(12,12,13,.92));
  border: 1px solid rgba(212,175,55,.18);
  box-shadow: var(--shadow);
}

.hero-left { padding: 26px; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(212,175,55,.25);
  background: rgba(212,175,55,.08);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

h1 { margin: 14px 0 10px; font-size: 40px; line-height: 1.12; letter-spacing: -.4px; }
h2 { margin: 0 0 10px; font-size: 24px; }
h3 { margin: 0 0 8px; font-size: 16px; }

.sub { margin: 0 0 14px; color: var(--muted); font-size: 15px; line-height: 1.65; }

.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }

.hero-right {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.hero-right::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.15), rgba(0,0,0,.45));
  z-index: 0;
}

.hero-right > * { position: relative; z-index: 1; }

.callbox {
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(212,175,55,.25);
  background: radial-gradient(600px 240px at 50% 0%, rgba(212,175,55,.18), transparent 60%),
              rgba(17,18,20,.70);
}

.callbox .label { color: var(--muted); font-weight: 800; font-size: 13px; letter-spacing: .2px; }

.callbox .phone {
  display: block;
  font-size: 22px;
  font-weight: 950;
  margin: 6px 0 10px;
  color: var(--text);
  text-decoration: none;
}

.callbox .phone:hover { color: var(--gold); }
.callbox .small { color: var(--muted); font-size: 13px; margin: 0; }
.callbox .small a { color: var(--gold); font-weight: 800; text-decoration: none; }

.mini {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(212,175,55,.16);
  background: rgba(21,23,26,.60);
}

.mini h3 { margin: 0 0 6px; font-size: 15px; }
.mini p { margin: 0; color: var(--muted); font-size: 14px; }


/* ====================== ZONE 6 — CONTENT SECTIONS ====================== */
section { padding: 34px 0; }

.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.service-card {
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(212,175,55,.16);
  background: rgba(17,18,20,.55);
}

.service-card .icon { font-size: 24px; margin-bottom: 8px; }
.service-card h3 { margin: 0 0 6px; font-size: 15px; }
.service-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }

.service-card .tag {
  display: inline-flex;
  margin-top: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(212,175,55,.25);
  background: rgba(212,175,55,.08);
  color: var(--muted);
  font-weight: 800;
  font-size: 11px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}

.panel {
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid rgba(212,175,55,.16);
  background: rgba(17,18,20,.55);
}

.panel ul { margin: 10px 0 0 18px; color: var(--muted); }
.panel li { margin: 8px 0; font-size: 14px; }


/* ====================== ZONE 6B — REVIEWS ====================== */
#reviews h2 { margin: 0 0 16px; font-size: 26px; text-align: center; }

.google-badge { display: flex; justify-content: center; margin: 10px 0 22px; }

.google-badge a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 16px;
  border: 1px solid rgba(212,175,55,.25);
  background: rgba(17,18,20,.55);
  padding: 12px 14px;
  box-shadow: var(--shadow);
}

.google-badge img { display: block; width: 320px; max-width: 90vw; height: auto; }

.reviews-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 8px;
}

.review {
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(212,175,55,.16);
  background: rgba(17,18,20,.55);
  box-shadow: 0 10px 26px rgba(0,0,0,.18);
}

.review-stars { display: inline-flex; gap: 2px; margin-bottom: 8px; }

.review-stars .star {
  display: inline-block;
  width: 15px;
  height: 15px;
  background: var(--gold);
  clip-path: polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);
}

.review p { margin: 0 0 10px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.review-author { font-weight: 850; color: var(--text); font-size: 13px; }

.google-link { margin-top: 18px; text-align: center; }

.google-link a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(212,175,55,.35);
  background: rgba(212,175,55,.10);
  text-decoration: none;
  font-weight: 900;
}

.google-link a:hover {
  border-color: rgba(212,175,55,.65);
  background: rgba(212,175,55,.14);
}


/* ====================== ZONE 6C — FAQ ====================== */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.faq-card {
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid rgba(212,175,55,.16);
  background: rgba(17,18,20,.55);
}

.faq-card .q { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 8px; }

.faq-card .q-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(212,175,55,.12);
  border: 1px solid rgba(212,175,55,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  color: var(--gold);
  margin-top: 2px;
}

.faq-card h3 { margin: 0; font-size: 15px; font-weight: 800; line-height: 1.3; }
.faq-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; padding-left: 36px; }
.faq-card.wide { grid-column: 1 / -1; }


/* ====================== ZONE 8 — MAPS ====================== */
.maps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 14px;
}

.map-panel {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(212,175,55,.25);
  box-shadow: 0 20px 50px rgba(0,0,0,.5);
}

.map-panel img { width: 100%; height: 100%; object-fit: cover; display: block; }
.map-panel iframe { display: block; border: 0; width: 100%; height: 100%; min-height: 340px; }

.map-label {
  padding: 10px 14px;
  background: rgba(17,18,20,.85);
  border-top: 1px solid rgba(212,175,55,.18);
  font-size: 13px;
  color: var(--muted);
  font-weight: 700;
}


/* ====================== ZONE 9 — SERVICE AREA CITIES ====================== */
.cities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.city {
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(212,175,55,.14);
  background: rgba(21,23,26,.55);
  color: var(--muted);
  font-weight: 650;
  font-size: 14px;
  text-decoration: none;
  display: block;
  transition: var(--transition);
}

.city:hover { border-color: rgba(212,175,55,.35); color: var(--text); }

.city.active {
  border-color: rgba(212,175,55,.5);
  color: var(--gold);
  background: rgba(212,175,55,.10);
}


/* ====================== ZONE 10 — FOOTER ====================== */
footer {
  padding: 28px 0;
  border-top: 1px solid rgba(212,175,55,.18);
  background: rgba(7,7,8,.8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 16px;
  align-items: start;
}

.fine { color: var(--muted); font-size: 13px; margin: 10px 0 0; }

.footlinks a {
  display: block;
  padding: 8px 0;
  color: var(--muted);
  text-decoration: none;
  font-weight: 650;
}

.footlinks a:hover { color: var(--text); }


/* ====================== FLOATING CALL BUTTON ====================== */
.float-call {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold), var(--gold-dark));
  color: #161616;
  font-weight: 900;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(212,175,55,.45), 0 2px 8px rgba(0,0,0,.4);
  border: 2px solid rgba(255,255,255,.18);
  transition: transform .15s, box-shadow .15s;
}

.float-call:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(212,175,55,.55), 0 4px 12px rgba(0,0,0,.4);
}


/* ====================== MOBILE MENU ====================== */
.menu-toggle {
  display: none;
  font-size: 30px;
  padding: 6px 10px;
  background: none;
  border: none;
  color: var(--gold);
  cursor: pointer;
}


/* ====================== MEDIA QUERIES ====================== */
@media (max-width: 980px) {
  .menu-toggle { display: block; }
  nav { position: relative; }

  nav ul.menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: 220px;
    background: #0b0b0c;
    border: 1px solid rgba(212,175,55,.25);
    border-radius: 16px;
    padding: 10px;
    box-shadow: var(--shadow);
    flex-direction: column;
    z-index: 9999;
  }

  nav ul.menu li { width: 100%; }
  nav ul.menu a { display: block; padding: 10px 12px; border-radius: 10px; }
  nav ul.menu.show { display: flex; }

  .hero-grid { grid-template-columns: 1fr; }
  .grid3 { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-card.wide { grid-column: 1; }
  .maps-grid { grid-template-columns: 1fr; }
  .map-panel iframe { min-height: 280px; }
  .reviews-wrap { grid-template-columns: 1fr; }
  .cities { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 34px; }
  .brand { min-width: unset; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .topbar .wrap { justify-content: center; }
  .top-left, .top-right { width: 100%; display: flex; justify-content: center; }
  .badge, .topbar a { white-space: normal; }
}

@media (max-width: 520px) {
  .topbar .wrap { gap: 10px; }
  h1 { font-size: 30px; }
  .hero-left { padding: 20px; }
  .grid3 { grid-template-columns: 1fr; }
  .cities { grid-template-columns: 1fr; }
}
