/* =========================================================
   Nevada Mobile Home Leveling — v2 design tokens
   Direction: simple, bold, high-contrast. Big phone number,
   big buttons, no subtlety. Palette pulled directly from the
   logo: deep navy, mustard-gold, warm tan siding, white.
   ========================================================= */

:root {
  --navy:      #17263D;   /* logo mountains / arc */
  --navy-dark: #0E1826;
  --gold:      #D9A441;   /* logo sun / arc */
  --gold-dark: #B9842A;
  --tan:       #E7D6AE;   /* logo siding */
  --cream:     #FAF6EC;   /* page background */
  --white:     #FFFFFF;
  --ink:       #1A1A1A;
  --grey:      #55606B;
  --line:      #E3D9C2;
  --red:       #C6402B;  /* used sparingly for urgency, if ever */

  --display: "Montserrat", "Arial Black", sans-serif;
  --body:    "Open Sans", "Helvetica Neue", Arial, sans-serif;

  --radius: 6px;
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--navy);
  line-height: 1.12;
  margin: 0 0 0.45em;
  font-weight: 800;
  text-transform: none;
}
h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }

a { color: var(--navy); }
p { margin: 0 0 1em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ---------- TOP SCREAMING PHONE BAR ---------- */
.top-bar {
  background: var(--navy);
  color: var(--white);
  padding: 8px 0;
  text-align: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}
.top-bar a { color: var(--gold); text-decoration: none; }
.top-bar a:hover { color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  background: var(--white);
  border-bottom: 4px solid var(--navy);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 18px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 62px; width: auto; display: block; }
.brand .brand-text { font-family: var(--display); font-weight: 800; color: var(--navy); font-size: 1.15rem; line-height: 1.15; }
.brand .brand-text small { display: block; font-family: var(--body); font-weight: 600; font-size: 0.7rem; color: var(--grey); text-transform: uppercase; letter-spacing: 0.05em; }

nav.primary { display: flex; align-items: center; gap: 20px; }
nav.primary a { color: var(--navy); text-decoration: none; font-weight: 700; font-size: 0.95rem; }
nav.primary a:hover { color: var(--gold-dark); }
.nav-toggle { display: none; }

.btn-phone-header {
  background: var(--gold);
  color: var(--navy) !important;
  font-family: var(--display);
  font-weight: 800;
  padding: 12px 20px;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 1.05rem;
  white-space: nowrap;
  border: 3px solid var(--navy);
}
.btn-phone-header:hover { background: var(--gold-dark); }

@media (max-width: 920px) {
  nav.primary { position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: stretch; padding: 12px 20px 20px; border-bottom: 4px solid var(--navy); display: none; gap: 12px; }
  nav.primary.open { display: flex; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 2px solid var(--navy); background: none; border-radius: var(--radius); cursor: pointer; }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; display: block; width: 20px; height: 3px; background: var(--navy); position: relative; }
  .nav-toggle span::before { position: absolute; top: -7px; }
  .nav-toggle span::after { position: absolute; top: 7px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  padding: 64px 0 54px;
  text-align: center;
  border-bottom: 6px solid var(--gold);
  background-image: linear-gradient(180deg, rgba(14,24,38,0.82) 0%, rgba(14,24,38,0.88) 60%, rgba(14,24,38,0.94) 100%), var(--hero-img, none);
  background-size: cover;
  background-position: center;
}
.hero .badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.hero h1 { color: var(--white); max-width: 18ch; margin-left: auto; margin-right: auto; }
.hero .sub { font-size: 1.15rem; color: var(--tan); max-width: 52ch; margin: 16px auto 0; }
.hero-ctas { display: flex; gap: 16px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }

.btn-call-big {
  background: var(--gold);
  color: var(--navy) !important;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.4rem;
  padding: 18px 34px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 3px solid var(--white);
  display: inline-block;
}
.btn-call-big:hover { background: var(--white); }
.btn-secondary-outline {
  border: 3px solid var(--white);
  color: var(--white) !important;
  font-family: var(--display);
  font-weight: 800;
  padding: 15px 28px;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 1.05rem;
}
.btn-secondary-outline:hover { background: var(--white); color: var(--navy) !important; }

/* ---------- generic sections ---------- */
section { padding: 54px 0; }
.section-head { max-width: 680px; margin: 0 auto 32px; text-align: center; }
.tag-line { color: var(--grey); font-size: 1.05rem; }

.band-navy { background: var(--navy); color: var(--tan); }
.band-navy h2, .band-navy h3 { color: var(--white); }
.band-navy .tag-line { color: var(--tan); }
.band-gold { background: var(--gold); color: var(--navy-dark); }
.band-gold h2 { color: var(--navy-dark); }

/* ---------- service cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 880px) { .grid-3 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 3px solid var(--navy);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
}
.card-img { width: 100%; height: 190px; object-fit: cover; display: block; border-bottom: 3px solid var(--navy); }
.card-body { padding: 22px 26px 26px; }
.card .index { font-family: var(--display); font-weight: 800; font-size: 0.78rem; letter-spacing: 0.08em; color: var(--gold-dark); }
.card h3 { font-size: 1.3rem; color: var(--navy); }
.card .price {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--navy);
  background: var(--tan);
  display: inline-block;
  margin-top: 14px;
  padding: 8px 16px;
  border-radius: 20px;
}

/* ---------- process list ---------- */
.process { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 880px) { .process { grid-template-columns: 1fr; } }
.process li { text-align: center; }
.process li::before {
  counter-increment: step;
  content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--gold); color: var(--navy);
  font-family: var(--display); font-weight: 800; font-size: 1.3rem;
  margin: 0 auto 14px;
}
.process h4 { margin-bottom: 6px; font-size: 1.1rem; }
.process p { margin: 0; color: var(--tan); font-size: 0.95rem; }

/* ---------- service areas grid ---------- */
.areas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 700px) { .areas-grid { grid-template-columns: 1fr 1fr; } }
.area-chip {
  display: block; background: var(--white); border: 3px solid var(--navy); border-radius: var(--radius);
  padding: 16px 18px; text-decoration: none; color: var(--navy); text-align: center;
}
.area-chip .name { font-weight: 800; font-family: var(--display); font-size: 1.05rem; display: block; }
.area-chip .note { font-size: 0.85rem; color: var(--grey); }
.area-chip:hover { background: var(--gold); }
.area-chip.current { background: var(--gold); }

/* ---------- local facts panel ---------- */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 30px 0 10px; }
@media (max-width: 700px) { .facts { grid-template-columns: 1fr; } }
.fact { border: 3px solid var(--navy); border-radius: var(--radius); padding: 16px; text-align: center; background: var(--white); }
.fact .num { font-family: var(--display); font-weight: 800; font-size: 1.5rem; color: var(--navy); display: block; }
.fact .label { font-size: 0.86rem; color: var(--grey); }

/* ---------- FAQ ---------- */
.faq details { border: 3px solid var(--navy); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 14px; background: var(--white); }
.faq summary { cursor: pointer; font-family: var(--display); font-weight: 800; color: var(--navy); font-size: 1.05rem; }
.faq p { margin-top: 12px; color: var(--grey); }

/* ---------- QUOTE FORM (on every page) ---------- */
.quote-block {
  background: var(--gold);
  border: 4px solid var(--navy);
  border-radius: 10px;
  padding: 34px;
}
.quote-block .quote-head { text-align: center; margin-bottom: 22px; }
.quote-block .quote-head h2 { color: var(--navy-dark); }
.quote-block .quote-head p { color: var(--navy-dark); font-weight: 600; }
.lead-form-inner { background: var(--white); border-radius: var(--radius); padding: 26px; border: 3px solid var(--navy); }
.lead-form-inner .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
@media (max-width: 600px) { .lead-form-inner .row { grid-template-columns: 1fr; } }
.lead-form-inner label { display: block; font-size: 0.8rem; font-weight: 800; color: var(--navy); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.03em; }
.lead-form-inner input, .lead-form-inner select, .lead-form-inner textarea {
  width: 100%; padding: 12px; border: 2px solid var(--navy); border-radius: var(--radius);
  font-family: var(--body); font-size: 1rem; background: var(--white); color: var(--ink);
}
.lead-form-inner input:focus, .lead-form-inner select:focus, .lead-form-inner textarea:focus {
  outline: 3px solid var(--gold-dark); outline-offset: 1px;
}
.lead-form-inner .full { grid-column: 1 / -1; }
.lead-form-inner button {
  width: 100%;
  background: var(--navy); color: var(--white); border: none; padding: 18px 26px; border-radius: var(--radius);
  font-weight: 800; font-size: 1.15rem; cursor: pointer; font-family: var(--display);
}
.lead-form-inner button:hover { background: var(--navy-dark); }
.form-note { font-size: 0.85rem; color: var(--grey); margin-top: 12px; text-align: center; }
.or-call { text-align: center; margin-top: 18px; font-family: var(--display); font-weight: 800; color: var(--navy-dark); }
.or-call a { color: var(--navy); text-decoration: underline; }

/* ---------- footer ---------- */
footer.site-footer { background: var(--navy-dark); color: #C8CDD3; padding: 40px 0 26px; font-size: 0.9rem; }
footer.site-footer a { color: var(--gold); }
footer.site-footer .container { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
footer.site-footer .cols { display: flex; gap: 60px; flex-wrap: wrap; }
footer.site-footer h5 { color: var(--white); font-family: var(--display); font-size: 0.95rem; margin-bottom: 10px; }
footer.site-footer ul { list-style: none; margin: 0; padding: 0; }
footer.site-footer li { margin-bottom: 6px; }
.fine-print { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 30px; padding-top: 18px; font-size: 0.78rem; color: #8890A0; }

/* ---------- sticky mobile call bar ---------- */
.mobile-call-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; background: var(--gold); padding: 12px 20px; text-align: center; border-top: 3px solid var(--navy); }
.mobile-call-bar a { color: var(--navy); text-decoration: none; font-weight: 800; font-family: var(--display); font-size: 1.1rem; }
@media (max-width: 920px) { .mobile-call-bar { display: block; } body { padding-bottom: 58px; } }
