/* Econo Auto Center — local shop, warm industrial palette */
:root {
  --bg: #0f1412;
  --bg-elevated: #1a221e;
  --surface: #f4f1eb;
  --surface-muted: #e8e4db;
  --text: #1a1f1c;
  --text-muted: #5c635e;
  --accent: #c45c26;
  --accent-hover: #a64d1f;
  --accent-soft: rgba(196, 92, 38, 0.12);
  --border: rgba(26, 31, 28, 0.1);
  --header-h: 4rem;
  --font-sans: "Instrument Sans", system-ui, sans-serif;
  --font-serif: "Source Serif 4", Georgia, serif;
  --radius: 12px;
  --shadow: 0 24px 48px rgba(15, 20, 18, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--surface);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  color: #e8ebe9;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.logo {
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.logo:hover {
  color: #fff;
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav a {
  color: rgba(232, 235, 233, 0.85);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}

.nav a:hover {
  color: #fff;
  text-decoration: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, transform 0.12s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn-header {
  background: var(--accent);
  color: #fff;
  flex-shrink: 0;
}

.btn-header:hover {
  background: var(--accent-hover);
  color: #fff;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 1.35rem;
  margin-inline: auto;
  background: #fff;
  border-radius: 1px;
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(3.5rem, 10vw, 6rem);
  color: #f0f3f1;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, rgba(15, 20, 18, 0.92) 0%, rgba(26, 34, 30, 0.88) 45%, rgba(15, 20, 18, 0.95) 100%),
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(196, 92, 38, 0.22), transparent 55%),
    var(--bg);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.9;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(232, 235, 233, 0.65);
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  max-width: 16ch;
}

.accent {
  color: #e8925c;
}

.lead {
  margin: 0 0 1.75rem;
  font-size: 1.125rem;
  max-width: 36ch;
  color: rgba(240, 243, 241, 0.82);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.hero-trust {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
}

.stars {
  color: #e8a84a;
  letter-spacing: 0.05em;
  font-size: 1.125rem;
}

.rating strong {
  font-weight: 700;
  color: #fff;
}

.muted {
  color: var(--text-muted);
}

.hero .muted {
  color: rgba(232, 235, 233, 0.55);
}

.address-line {
  margin: 0;
  font-size: 0.9375rem;
}

.address-line a {
  color: rgba(240, 243, 241, 0.9);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.address-line a:hover {
  color: #fff;
}

/* Sections */
.section {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.section h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.65rem, 3vw, 2.125rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-intro {
  margin: 0 0 2rem;
  max-width: 52ch;
  color: var(--text-muted);
}

.section-intro.tight {
  margin-bottom: 1.25rem;
}

/* Services */
.services {
  background: var(--surface);
}

.service-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.service-grid li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  box-shadow: 0 4px 20px rgba(15, 20, 18, 0.04);
}

.service-grid h3 {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 600;
}

.service-grid p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Reviews */
.reviews {
  background: var(--surface-muted);
}

.review-cards {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .review-cards {
    grid-template-columns: 1fr 1fr;
  }
}

.review-card {
  margin: 0;
  padding: 1.75rem 1.5rem;
  background: #fff;
  border-radius: var(--radius);
  border-left: 4px solid var(--accent);
  box-shadow: 0 4px 24px rgba(15, 20, 18, 0.06);
}

.review-card p {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-style: italic;
  line-height: 1.55;
  color: var(--text);
}

.review-card footer {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* Hours */
.hours {
  background: var(--surface);
}

.hours-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .hours-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.hours-list {
  margin: 0;
}

.hours-list > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
}

.hours-list > div:first-child {
  padding-top: 0;
}

.hours-list dt {
  margin: 0;
  font-weight: 600;
}

.hours-list dd {
  margin: 0;
  color: var(--text-muted);
  text-align: right;
}

.hours-list .closed dd {
  color: var(--text);
  font-weight: 500;
}

/* Contact */
.contact {
  background: var(--bg);
  color: #e8ebe9;
}

.contact h2 {
  color: #fff;
}

.contact .section-intro {
  color: rgba(232, 235, 233, 0.72);
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  margin-bottom: 1.25rem;
}

.contact-list .label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(232, 235, 233, 0.45);
  margin-bottom: 0.25rem;
}

.contact-list a {
  color: #fff;
  font-size: 1.125rem;
  font-weight: 500;
}

.contact-list a:hover {
  color: #e8925c;
}

.contact-inner {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .contact-inner {
    grid-template-columns: 1fr 1.1fr;
    align-items: stretch;
  }
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 280px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
  display: block;
}

/* Footer */
.site-footer {
  background: #0a0d0c;
  color: rgba(232, 235, 233, 0.75);
  padding: 1.5rem 0;
  font-size: 0.9375rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-inner p {
  margin: 0;
}

.small {
  font-size: 0.8125rem;
}

.site-footer .muted {
  color: rgba(232, 235, 233, 0.45);
}

/* Mobile nav */
@media (max-width: 860px) {
  .btn-header {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 0 1rem;
    background: var(--bg-elevated);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.2s ease, opacity 0.2s ease, visibility 0.2s;
  }

  .nav.nav-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav a {
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
}
