/* After Hours Repair — gold + black theme */

:root {
  --black: #0a0a0a;
  --black-2: #141414;
  --black-3: #1c1c1c;
  --line: #2a2a2a;
  --text: #f3f3f3;
  --text-dim: #b8b8b8;
  --gold: #d4af37;
  --gold-bright: #f2d06b;
  --gold-deep: #a9851e;
  --radius: 10px;
  --maxw: 1120px;
  --shadow-gold: 0 6px 24px rgba(212, 175, 55, 0.18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-bright); }

h1, h2, h3 {
  font-family: 'Oswald', 'Inter', system-ui, sans-serif;
  letter-spacing: 0.02em;
  margin: 0 0 .6em;
  line-height: 1.15;
}

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: #111;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 17px;
  border-radius: 8px;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow-gold);
}

.brand-name {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.03em;
  color: var(--text);
}

.site-nav {
  margin-left: auto;
  display: flex;
  gap: 22px;
}

.site-nav a {
  color: var(--text-dim);
  font-weight: 500;
  font-size: 15px;
}

.site-nav a:hover { color: var(--gold); }

.header-cta { white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}

.btn-sm { padding: 9px 14px; font-size: 14px; }
.btn-lg { padding: 18px 26px; font-size: 17px; flex-direction: column; gap: 4px; }
.btn-lg .btn-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; opacity: 0.8; }
.btn-lg .btn-value { font-size: 19px; font-weight: 700; }

.btn-gold {
  background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold) 55%, var(--gold-deep) 100%);
  color: #111;
  border-color: var(--gold-deep);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
  transform: translateY(-1px);
  color: #111;
  box-shadow: 0 10px 28px rgba(212, 175, 55, 0.32);
}

.btn-ghost {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-ghost:hover {
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-bright);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 88px 0 72px;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(212, 175, 55, 0.15), transparent 60%),
    radial-gradient(800px 400px at -10% 110%, rgba(212, 175, 55, 0.08), transparent 60%),
    linear-gradient(180deg, #0a0a0a 0%, #121212 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212, 175, 55, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  pointer-events: none;
}

.hero-inner { position: relative; }

.eyebrow {
  display: inline-block;
  color: var(--gold);
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 13px;
  padding: 6px 12px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 99px;
  margin: 0 0 20px;
}

.hero h1 {
  font-size: clamp(32px, 5.5vw, 56px);
  font-weight: 700;
  max-width: 18ch;
}

.hero h1::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-bright), var(--gold-deep));
  border-radius: 4px;
  margin-top: 18px;
}

.lede {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-dim);
  max-width: 62ch;
  margin: 0 0 28px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-badges li {
  font-size: 13px;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  padding: 7px 12px;
  border-radius: 99px;
}

.hero-badges li::before {
  content: "★ ";
  color: var(--gold);
}

/* ---------- Sections ---------- */
.section {
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
}

.section-alt { background: var(--black-2); }

.section-title {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  text-align: center;
}

.section-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-bright), var(--gold-deep));
  margin: 14px auto 0;
  border-radius: 3px;
}

.section-sub {
  text-align: center;
  color: var(--text-dim);
  max-width: 60ch;
  margin: 6px auto 40px;
  font-size: 17px;
}

/* ---------- Service cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.card {
  background: linear-gradient(180deg, var(--black-3) 0%, var(--black-2) 100%);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 26px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .3s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(212, 175, 55, 0.15);
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--gold);
  margin-bottom: 18px;
}

.card h3 {
  font-size: 22px;
  color: var(--gold);
  margin-bottom: 10px;
}

.card p {
  color: var(--text-dim);
  margin: 0 0 16px;
}

.card-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card-list li {
  position: relative;
  padding: 6px 0 6px 22px;
  color: var(--text);
  font-size: 15px;
  border-top: 1px dashed var(--line);
}

.card-list li:first-child { border-top: none; }

.card-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  margin-top: -2px;
}

.services-note {
  text-align: center;
  color: var(--text-dim);
  margin-top: 36px;
  font-size: 16px;
}

/* ---------- Why grid ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.why-item {
  padding: 24px;
  background: var(--black);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 10px;
}

.why-item h3 {
  font-size: 19px;
  color: var(--gold);
}

.why-item p { color: var(--text-dim); margin: 0; }

/* ---------- Counties ---------- */
.counties {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  max-width: 820px;
}

.counties li {
  text-align: center;
  padding: 16px 14px;
  background: var(--black-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-weight: 500;
  font-size: 16px;
  transition: border-color .2s ease, color .2s ease;
}

.counties li:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.area-note {
  text-align: center;
  color: var(--text-dim);
  margin-top: 24px;
}

/* ---------- Hours ---------- */
.hours-wrap { max-width: 640px; margin: 0 auto; text-align: center; }

.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 22px;
  background: var(--black);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.hours-table th,
.hours-table td {
  padding: 16px 20px;
  text-align: left;
  font-size: 17px;
  border-bottom: 1px solid var(--line);
}

.hours-table tr:last-child th,
.hours-table tr:last-child td { border-bottom: none; }

.hours-table th {
  color: var(--text);
  font-weight: 600;
  width: 50%;
  background: var(--black-3);
}

.hours-table td {
  color: var(--gold);
  font-weight: 600;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.02em;
}

.hours-note { color: var(--text-dim); }
.hours-note strong { color: var(--gold); }

/* ---------- Contact ---------- */
.contact-section {
  text-align: center;
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(212, 175, 55, 0.12), transparent 60%),
    var(--black);
}

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 10px;
}

.contact-buttons .btn-lg { min-width: 260px; }

/* ---------- Footer ---------- */
.site-footer {
  background: #050505;
  border-top: 1px solid var(--line);
  padding: 32px 0;
  color: var(--text-dim);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.footer-brand .brand-mark {
  width: 34px;
  height: 34px;
  font-size: 14px;
}

.footer-contact {
  display: flex;
  gap: 18px;
  margin-left: auto;
  flex-wrap: wrap;
}

.footer-copy {
  flex-basis: 100%;
  text-align: center;
  margin: 8px 0 0;
  color: #7a7a7a;
}

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .site-nav { display: none; }
  .header-inner { gap: 10px; }
  .brand-name { font-size: 17px; }
  .hero { padding: 64px 0 56px; }
  .section { padding: 60px 0; }
  .footer-contact { margin-left: 0; }
}

@media (max-width: 420px) {
  .btn { width: 100%; }
  .hero-ctas { flex-direction: column; }
  .header-cta { display: none; }
}
