/* ===========================================================
   San Antonio Handyman lead-gen site — base stylesheet
   Mobile-first, no framework, no external font/image dependencies.
   =========================================================== */

:root {
  --navy: #10233d;
  --navy-dark: #0a1728;
  --orange: #e0621f;
  --orange-dark: #b94e16;
  --gray-50: #f7f8fa;
  --gray-100: #eef0f3;
  --gray-300: #cbd2db;
  --gray-600: #566374;
  --gray-800: #26303d;
  --white: #ffffff;
  --green: #1c7c3f;
  --radius: 10px;
  --shadow: 0 4px 18px rgba(16, 35, 61, 0.10);
  --max-width: 1140px;
  font-size: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--orange-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

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

h1, h2, h3, h4 {
  font-family: inherit;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(1.9rem, 4.5vw, 2.7rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: .4em; }

.section { padding: 56px 0; }
.section-tight { padding: 36px 0; }
.bg-gray { background: var(--gray-50); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--white); }
.hero-copy h1, .hero-copy h2, .hero-copy h3, .hero-copy h4 { color: var(--white); }
.center { text-align: center; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
  font-size: .78rem;
  color: var(--orange-dark);
  margin-bottom: .5em;
  display: block;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); }
.btn-outline { background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-dark); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 12px;
  flex-wrap: nowrap;
}
.brand {
  font-weight: 800;
  font-size: .98rem;
  color: var(--navy);
  text-decoration: none;
  line-height: 1.15;
  flex-shrink: 1;
  min-width: 0;
}
.brand span { display: none; font-size: .68rem; font-weight: 600; color: var(--gray-600); letter-spacing: .04em; text-transform: uppercase; }
@media (min-width: 880px) {
  .brand span { display: block; }
}
.brand:hover { text-decoration: none; }

.main-nav { display: none; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; }
.main-nav a { color: var(--navy); font-weight: 600; font-size: .95rem; }
.main-nav a:hover { color: var(--orange-dark); text-decoration: none; }

.header-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-phone {
  font-weight: 800;
  color: var(--navy);
  font-size: 1rem;
  white-space: nowrap;
  display: none;
}
.header-phone small { display: block; font-weight: 600; color: var(--gray-600); font-size: .68rem; text-transform: uppercase; }
.header-cta .btn { white-space: nowrap; padding: 12px 16px; font-size: .9rem; }

@media (min-width: 880px) {
  .main-nav { display: block; }
  .brand { font-size: 1.15rem; }
  .header-phone { display: block; }
  .header-cta .btn { padding: 14px 26px; font-size: 1rem; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 52px 0 46px;
}
.hero .wrap { display: grid; gap: 34px; }
@media (min-width: 900px) {
  .hero .wrap { grid-template-columns: 1.15fr .85fr; align-items: center; }
}
.hero p.lead { font-size: 1.1rem; color: #dbe3ee; max-width: 46em; }
.hero .badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; font-size: .88rem; color: #cdd8e6; }
.hero .badges li { list-style: none; margin: 0; display: flex; align-items: center; gap: 6px; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---------- Quote card ---------- */
.quote-card {
  background: var(--white);
  color: var(--gray-800);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
}
.quote-card h3 { margin-bottom: .25em; }
.quote-card .sub { color: var(--gray-600); font-size: .92rem; margin-bottom: 1.1em; }

/* ---------- Forms ---------- */
.form-field { margin-bottom: 14px; }
.form-field label { display: block; font-weight: 700; font-size: .85rem; margin-bottom: 5px; color: var(--navy); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1.5px solid var(--gray-300);
  border-radius: 7px;
  font-size: .98rem;
  font-family: inherit;
  background: var(--white);
  color: var(--gray-800);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { outline: 2px solid var(--orange); border-color: var(--orange); }
.form-note { font-size: .78rem; color: var(--gray-600); margin-top: 10px; }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; }

/* ---------- Cards / grid ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr 1fr; }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 860px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  height: 100%;
}
.service-card { display: flex; flex-direction: column; gap: 10px; }
.service-card .icon { color: var(--orange); }
.service-card h3 { margin-bottom: .2em; font-size: 1.08rem; }
.service-card p { color: var(--gray-600); font-size: .92rem; margin-bottom: .6em; }
.service-card .more { font-weight: 700; font-size: .88rem; }

.stat { text-align: center; }
.stat .num { font-size: 2.1rem; font-weight: 800; color: var(--orange); }
.stat .label { font-size: .85rem; color: var(--gray-600); font-weight: 600; }

.check-list { list-style: none; padding: 0; }
.check-list li { padding-left: 1.6em; position: relative; }
.check-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--green); font-weight: 800;
}

/* ---------- Neighborhoods ---------- */
.chip-list { display: flex; flex-wrap: wrap; gap: 9px; list-style: none; padding: 0; margin: 0; }
.chip-list li {
  background: var(--gray-100);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: .86rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0;
}

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--gray-100); padding: 16px 0; }
.faq-item h3 { font-size: 1.02rem; margin-bottom: .35em; }
.faq-item p { color: var(--gray-600); margin: 0; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: .82rem; color: var(--gray-600); padding: 14px 0 0; }
.breadcrumb a { color: var(--gray-600); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--orange); color: var(--white); padding: 40px 0; text-align: center; }
.cta-band h2 { color: var(--white); }
.cta-band .btn-navy { background: var(--navy); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: #b9c4d4; padding: 44px 0 26px; font-size: .9rem; }
.site-footer h4 { color: var(--white); font-size: .95rem; }
.site-footer a { color: #cdd8e6; }
.site-footer .grid { margin-bottom: 26px; }
.site-footer .legal { border-top: 1px solid rgba(255,255,255,.1); padding-top: 18px; font-size: .8rem; color: #8fa0b6; }
.site-footer .legal a { color: #8fa0b6; }

/* ---------- Sticky mobile call bar ---------- */
.mobile-call-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  background: var(--orange);
  display: flex;
}
.mobile-call-bar a {
  flex: 1;
  color: var(--white);
  text-align: center;
  font-weight: 800;
  padding: 14px 10px;
  font-size: .98rem;
}
.mobile-call-bar a.secondary { background: var(--navy); }
@media (min-width: 880px) {
  .mobile-call-bar { display: none; }
}
body { padding-bottom: 58px; }
@media (min-width: 880px) {
  body { padding-bottom: 0; }
}

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.text-muted { color: var(--gray-600); }
.divider { height: 1px; background: var(--gray-100); margin: 32px 0; border: 0; }
.two-col { display: grid; gap: 34px; }
@media (min-width: 880px) {
  .two-col { grid-template-columns: 1.4fr 1fr; align-items: start; }
}
