/* ===========================
   Bud's Garage — Stylesheet
   =========================== */

:root {
  --bg: #14161a;
  --bg-alt: #1c1f25;
  --card: #21252c;
  --border: #2e333c;
  --text: #eceff1;
  --text-dim: #a7adb8;
  --accent: #ff6a1a;
  --accent-dark: #e0570f;
  --accent-light: #ffb08a;
  --success: #3ecf8e;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --max-width: 1160px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: "Barlow Condensed", "Inter", sans-serif;
  font-weight: 700;
  letter-spacing: 0.3px;
  line-height: 1.15;
}

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

.section {
  padding: 80px 0;
}

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

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 12px;
}

.section-head p {
  color: var(--text-dim);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: #14161a;
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-outline {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: #14161a;
}

.btn-block {
  width: 100%;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(20, 22, 26, 0.92);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

.brand .logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #14161a;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.brand span {
  color: var(--accent);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.main-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dim);
  transition: color 0.2s ease;
  position: relative;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--text);
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -22px;
  height: 3px;
  background: var(--accent);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--text);
}

.header-phone .icon {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.6rem;
  cursor: pointer;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 110px 0 90px;
  background:
    linear-gradient(180deg, rgba(20, 22, 26, 0.55) 0%, rgba(20, 22, 26, 0.95) 100%),
    repeating-linear-gradient(135deg, #1a1c21 0 2px, #17191d 2px 40px);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 106, 26, 0.12);
  color: var(--accent-light);
  border: 1px solid rgba(255, 106, 26, 0.35);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--accent);
}

.hero p {
  color: var(--text-dim);
  font-size: 1.1rem;
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}

.hero-stats div strong {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2rem;
  color: var(--accent);
}

.hero-stats div span {
  color: var(--text-dim);
  font-size: 0.85rem;
}

.hero-visual {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.hero-visual h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.hero-visual p.small {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.hero-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
}

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

.hero-list .check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(62, 207, 142, 0.15);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

/* ---------- Trust strip ---------- */

.trust-strip {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}

.trust-strip .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 40px;
  text-align: center;
}

.trust-strip span {
  color: var(--text-dim);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.trust-strip strong {
  color: var(--accent);
}

/* ---------- Cards / Grids ---------- */

.grid {
  display: grid;
  gap: 26px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.card .icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: rgba(255, 106, 26, 0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.card p {
  color: var(--text-dim);
  font-size: 0.95rem;
}

.card ul {
  margin-top: 14px;
}

.card ul li {
  color: var(--text-dim);
  font-size: 0.9rem;
  padding: 5px 0;
  padding-left: 20px;
  position: relative;
}

.card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 8px;
  height: 2px;
  background: var(--accent);
}

.card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
}

/* ---------- Mobile banner (cross-promo) ---------- */

.mobile-banner {
  background: linear-gradient(120deg, #1c1f25, #22190f);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
}

.mobile-banner h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.mobile-banner p {
  color: var(--text-dim);
  max-width: 560px;
}

/* ---------- Why us / steps ---------- */

.steps {
  counter-reset: step;
}

.step {
  display: flex;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--border);
}

.step:first-child {
  border-top: none;
  padding-top: 0;
}

.step-num {
  counter-increment: step;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
}

.step h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.step p {
  color: var(--text-dim);
  font-size: 0.92rem;
}

/* ---------- Testimonials ---------- */

.testimonial {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
}

.testimonial .stars {
  color: var(--accent);
  margin-bottom: 14px;
  letter-spacing: 3px;
}

.testimonial p.quote {
  color: var(--text);
  font-size: 0.98rem;
  margin-bottom: 18px;
}

.testimonial .author {
  color: var(--text-dim);
  font-size: 0.88rem;
  font-weight: 600;
}

/* ---------- CTA band ---------- */

.cta-band {
  background: linear-gradient(120deg, var(--accent-dark), var(--accent));
  border-radius: var(--radius);
  padding: 52px;
  text-align: center;
  color: #14161a;
}

.cta-band h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 12px;
}

.cta-band p {
  margin-bottom: 28px;
  font-weight: 500;
  opacity: 0.85;
}

.cta-band .btn-primary {
  background: #14161a;
  color: #fff;
}

.cta-band .btn-primary:hover {
  background: #23262c;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-band .btn-outline {
  border-color: #14161a;
  color: #14161a;
}

.cta-band .btn-outline:hover {
  background: #14161a;
  color: #fff;
}

/* ---------- Page header (interior pages) ---------- */

.page-hero {
  padding: 64px 0 50px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.page-hero .eyebrow {
  margin-bottom: 8px;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 14px;
}

.page-hero p {
  color: var(--text-dim);
  max-width: 620px;
  margin: 0 auto;
}

.breadcrumb {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-bottom: 14px;
}

.breadcrumb a {
  color: var(--accent);
}

/* ---------- Services page ---------- */

.service-block {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
  padding: 56px 0;
  border-top: 1px solid var(--border);
}

.service-block:first-of-type {
  border-top: none;
}

.service-block .icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(255, 106, 26, 0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.service-block h2 {
  font-size: 1.7rem;
  margin-bottom: 12px;
}

.service-block > div:first-child p {
  color: var(--text-dim);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 24px;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-dim);
  font-size: 0.92rem;
  padding: 14px 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.service-list .check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(62, 207, 142, 0.15);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  margin-top: 1px;
}

/* ---------- About page ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-visual {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  height: 100%;
}

.about-visual .badge-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #14161a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 20px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

/* ---------- Contact page ---------- */

.entrance-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 106, 26, 0.1);
  border: 1px solid rgba(255, 106, 26, 0.35);
  border-radius: 8px;
  padding: 14px 16px;
  margin-top: 18px;
  color: var(--accent-light);
  font-size: 0.9rem;
}

.entrance-notice svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 22px;
}

.contact-info-card h3 {
  font-size: 1.2rem;
  margin-bottom: 18px;
}

.info-row {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
}

.info-row:first-of-type {
  border-top: none;
  padding-top: 0;
}

.info-row .icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(255, 106, 26, 0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.info-row strong {
  display: block;
  margin-bottom: 3px;
}

.info-row a,
.info-row span {
  color: var(--text-dim);
  font-size: 0.94rem;
}

.info-row a:hover {
  color: var(--accent);
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table td {
  padding: 8px 0;
  border-top: 1px solid var(--border);
  font-size: 0.92rem;
  color: var(--text-dim);
}

.hours-table tr:first-child td {
  border-top: none;
}

.hours-table td:last-child {
  text-align: right;
  color: var(--text);
  font-weight: 600;
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: 22px;
}

.map-embed iframe {
  width: 100%;
  height: 280px;
  border: 0;
  display: block;
}

/* ---------- Form ---------- */

.form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}

.form-note {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-top: 14px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: #0f1114;
  border-top: 1px solid var(--border);
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-grid .brand {
  margin-bottom: 14px;
}

.footer-grid p {
  color: var(--text-dim);
  font-size: 0.9rem;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 18px;
  color: var(--text);
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--text-dim);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--text-dim);
  font-size: 0.84rem;
}

.social-row {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.social-row a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  transition: all 0.2s ease;
}

.social-row a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---------- Sticky call button (mobile) ---------- */

.sticky-call {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--accent);
  color: #14161a;
  text-align: center;
  font-weight: 700;
  padding: 14px;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .hero-inner,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-block {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mobile-banner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .mobile-banner .btn {
    justify-self: center;
  }
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 24px;
    gap: 26px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .main-nav a.active::after {
    display: none;
  }

  .brand {
    font-size: 1.25rem;
  }

  .nav-toggle {
    display: block;
    flex-shrink: 0;
  }

  .header-cta {
    gap: 12px;
  }

  .header-phone {
    display: none;
  }

  .header-cta .btn {
    padding: 10px 16px;
    font-size: 0.85rem;
  }

  .hero {
    padding: 70px 0 60px;
  }

  .hero-actions .btn {
    flex: 1;
  }

  .grid-3,
  .grid-4,
  .grid-2,
  .values-grid,
  .service-list {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta-band {
    padding: 36px 24px;
  }

  .sticky-call {
    display: flex;
  }

  body {
    padding-bottom: 58px;
  }

  .section {
    padding: 56px 0;
  }
}
