/* First Response Towing & Roadside — shared stylesheet */

:root {
  --red: #c8102e;
  --red-dark: #9c0c23;
  --black: #14161a;
  --charcoal: #1f2229;
  --gray: #55595f;
  --light-gray: #f3f4f6;
  --white: #ffffff;
  --amber: #ffb400;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(0,0,0,0.12);
  font-size: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

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

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--black);
  color: var(--white);
  font-size: 0.85rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
  gap: 6px;
}
.topbar a.phone { color: var(--amber); font-weight: 700; }

/* ---------- Header / Nav ---------- */
header.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--red);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--red), var(--red-dark));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.4rem;
  border: 3px solid var(--black);
  flex-shrink: 0;
}
.brand-text .name-line1 {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--black);
  letter-spacing: 0.3px;
  line-height: 1.15;
}
.brand-text .name-line2 {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--red);
  line-height: 1.15;
}
nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}
nav.main-nav a {
  font-weight: 600;
  color: var(--charcoal);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--red);
  border-bottom-color: var(--red);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  text-align: center;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--black);
  color: var(--black);
}
.btn-outline:hover { background: var(--black); color: var(--white); }
.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(circle at 20% 20%, rgba(200,16,46,0.25), transparent 55%), var(--black);
  color: var(--white);
  padding: 80px 0;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 18px;
}
.hero h1 {
  font-size: 2.6rem;
  line-height: 1.15;
  margin: 0 0 16px;
}
.hero h1 span { color: var(--red); }
.hero p.lead {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  max-width: 46ch;
  margin-bottom: 28px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-panel {
  background: var(--white);
  color: var(--charcoal);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.hero-panel h3 { margin-top: 0; color: var(--red); }
.hero-panel ul { padding-left: 20px; margin: 12px 0 20px; }
.hero-panel li { margin-bottom: 8px; }

/* ---------- Sections ---------- */
section { padding: 70px 0; }
section.alt { background: var(--light-gray); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.eyebrow {
  color: var(--red);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.8rem;
}
.section-head h2 { font-size: 2rem; margin: 8px 0 12px; color: var(--black); }
.section-head p { color: var(--gray); }

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

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--red);
}
.card .icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--black);
  color: var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 16px;
}
.card h3 { margin: 0 0 8px; color: var(--black); }
.card p { color: var(--gray); margin: 0; font-size: 0.95rem; }

/* ---------- Stats strip ---------- */
.stats {
  background: var(--black);
  color: var(--white);
  padding: 34px 0;
}
.stats .grid-4 { text-align: center; }
.stats .num { font-size: 2rem; font-weight: 800; color: var(--amber); }
.stats .label { font-size: 0.85rem; color: rgba(255,255,255,0.75); text-transform: uppercase; letter-spacing: 0.5px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--red), var(--red-dark));
  color: var(--white);
  text-align: center;
  padding: 56px 0;
}
.cta-band h2 { margin: 0 0 10px; font-size: 1.9rem; }
.cta-band .btn-outline { border-color: var(--white); color: var(--white); }
.cta-band .btn-outline:hover { background: var(--white); color: var(--red-dark); }

/* ---------- Note box (placeholder content flag) ---------- */
.note-box {
  background: #fff8e1;
  border: 1px dashed var(--amber);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 0.9rem;
  color: #7a5a00;
  margin: 20px 0;
}
.note-box strong { color: #5c4400; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--black);
  color: var(--white);
  padding: 56px 0;
  text-align: center;
}
.page-hero h1 { margin: 0 0 8px; font-size: 2.1rem; }
.page-hero p { color: rgba(255,255,255,0.75); margin: 0; }
.breadcrumb { font-size: 0.85rem; color: var(--amber); margin-bottom: 10px; }

/* ---------- Table (services / areas) ---------- */
.list-check { list-style: none; padding: 0; margin: 0; }
.list-check li {
  padding: 10px 0 10px 30px;
  position: relative;
  border-bottom: 1px solid #e6e6e6;
}
.list-check li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 800;
}

.area-chip {
  display: inline-block;
  background: var(--white);
  border: 1px solid #e2e2e2;
  border-left: 4px solid var(--red);
  border-radius: 6px;
  padding: 10px 14px;
  margin: 6px 8px 6px 0;
  font-weight: 600;
  font-size: 0.92rem;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-info .item { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-info .icon-sm {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--red); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; flex-shrink: 0;
}
.form-card {
  background: var(--light-gray);
  border-radius: var(--radius);
  padding: 30px;
}
.form-card label { display: block; font-weight: 700; margin: 14px 0 6px; font-size: 0.9rem; }
.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
}
.form-card button { margin-top: 20px; border: none; cursor: pointer; }

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 3px solid var(--black);
}

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--black);
  color: rgba(255,255,255,0.75);
  padding: 50px 0 20px;
}
footer .grid-4 { gap: 30px; }
footer h4 { color: var(--white); margin-top: 0; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: 8px; }
footer a:hover { color: var(--amber); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 30px;
  padding-top: 18px;
  text-align: center;
  font-size: 0.82rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  nav.main-nav { display: none; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  footer .grid-4 { grid-template-columns: 1fr 1fr; }
}
