/* ===== Engine Bros Auto Repair — Stylesheet ===== */
/* Palette pulled from the logo: ink black, deep red, cream, steel */
:root {
  --ink: #141210;
  --ink-2: #1e1b18;
  --red: #b32a2e;
  --red-dark: #8f2124;
  --cream: #ede7d8;
  --cream-soft: #f5f1e8;
  --steel: #8a8681;
  --line: rgba(237, 231, 216, 0.14);
  --text: #2a2622;
  --muted: #6b6560;
  --shadow: 0 12px 40px rgba(0,0,0,.18);
  --radius: 12px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--cream-soft);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { width: min(1160px, 92%); margin: 0 auto; }

h1, h2, h3, h4 { font-family: 'Oswald', sans-serif; font-weight: 700; line-height: 1.1; text-transform: uppercase; letter-spacing: .5px; }

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

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: 'Oswald', sans-serif; font-weight: 600; text-transform: uppercase;
  letter-spacing: .8px; font-size: .95rem;
  padding: .85rem 1.6rem; border-radius: 8px; cursor: pointer;
  border: 2px solid transparent; transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(179,42,46,.35); }
.btn-primary:hover { background: var(--red-dark); }
.btn-outline { background: transparent; color: var(--cream); border-color: var(--cream); }
.btn-outline:hover { background: var(--cream); color: var(--ink); }
.btn-call { background: var(--red); color: #fff; padding: .6rem 1.1rem; }
.btn-block { width: 100%; margin-top: .5rem; }

.kicker {
  display: inline-block; font-family: 'Oswald', sans-serif; text-transform: uppercase;
  letter-spacing: 3px; color: var(--red); font-weight: 600; font-size: .8rem; margin-bottom: .6rem;
}

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(20,18,16,.97); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1rem; padding: .7rem 0; }
.brand { display: flex; align-items: center; gap: .7rem; margin-right: auto; }
.brand-logo { height: 46px; width: 46px; border-radius: 50%; }
.brand-name {
  font-family: 'Oswald', sans-serif; font-weight: 700; text-transform: uppercase;
  color: var(--cream); font-size: 1.25rem; line-height: 1; display: flex; flex-direction: column;
}
.brand-sub { font-size: .7rem; letter-spacing: 3px; color: var(--red); font-weight: 500; }

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav > a { color: var(--cream); font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 1px; font-size: .9rem; font-weight: 500; transition: color .2s; }
.nav > a:hover { color: var(--red); }
.nav-call { color: #fff !important; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--cream); border-radius: 3px; }

/* Language toggle */
.lang-toggle { display: inline-flex; border: 1px solid rgba(237,231,216,.25); border-radius: 7px; overflow: hidden; flex-shrink: 0; }
.lang-toggle button {
  background: transparent; color: var(--cream); border: none;
  padding: .4rem .62rem; font-family: 'Oswald', sans-serif; font-size: .82rem;
  letter-spacing: .5px; cursor: pointer; line-height: 1.2;
  transition: background .2s, color .2s; border-right: 1px solid rgba(237,231,216,.18);
}
.lang-toggle button:last-child { border-right: none; }
.lang-toggle button:hover { color: var(--red); }
.lang-toggle button.active { background: var(--red); color: #fff; }

/* ===== Hero ===== */
.hero {
  position: relative; color: var(--cream);
  background:
    radial-gradient(circle at 80% 20%, rgba(179,42,46,.25), transparent 45%),
    linear-gradient(135deg, #1a1714 0%, #141210 60%, #0e0c0a 100%);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(237,231,216,.03) 0 2px, transparent 2px 22px);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center;
  padding: 4.5rem 0 4rem;
}
.hero-eyebrow { color: var(--red); font-family: 'Oswald', sans-serif; letter-spacing: 3px; text-transform: uppercase; font-size: .85rem; font-weight: 600; }
.hero-text h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin: 1rem 0 1.2rem; color: var(--cream); }
.hero-text h1 .accent { color: var(--red); }
.hero-lead { font-size: 1.15rem; color: rgba(237,231,216,.85); max-width: 34rem; margin-bottom: 1.8rem; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 1.2rem; font-size: .9rem; color: var(--cream); font-weight: 500; }
.hero-badges span { opacity: .9; }
.hero-logo img { width: 100%; max-width: 380px; margin: 0 auto; filter: drop-shadow(0 20px 45px rgba(0,0,0,.55)); }

/* ===== Trust strip ===== */
.trust-strip { background: var(--red); color: #fff; }
.trust-inner { display: grid; grid-template-columns: repeat(4,1fr); text-align: center; }
.trust-item { padding: 1.4rem .5rem; border-right: 1px solid rgba(255,255,255,.18); }
.trust-item:last-child { border-right: none; }
.trust-item strong { display: block; font-family: 'Oswald', sans-serif; font-size: 1.7rem; line-height: 1; }
.trust-item span { font-size: .82rem; text-transform: uppercase; letter-spacing: 1px; opacity: .9; }

/* ===== Sections ===== */
.section { padding: 5rem 0; }
.section-dark { background: var(--ink); color: var(--cream); }
.section-head { text-align: center; max-width: 40rem; margin: 0 auto 3rem; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: .8rem; }
.section-dark .section-head h2 { color: var(--cream); }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-dark .section-head p { color: rgba(237,231,216,.7); }

/* ===== Services ===== */
.services-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.3rem; }
.service-card {
  background: #fff; border: 1px solid rgba(0,0,0,.06); border-radius: var(--radius);
  padding: 1.8rem 1.5rem; box-shadow: 0 4px 14px rgba(0,0,0,.05);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
  border-top: 4px solid var(--red);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-icon { font-size: 2.1rem; margin-bottom: .8rem; }
.service-card h3 { font-size: 1.15rem; margin-bottom: .5rem; color: var(--ink); }
.service-card p { color: var(--muted); font-size: .95rem; }

/* Featured "Free Tow" card */
.service-card--featured { background: linear-gradient(150deg, var(--red), var(--red-dark)); border-top-color: #fff; }
.service-card--featured h3 { color: #fff; }
.service-card--featured p { color: rgba(255,255,255,.92); }
.service-card--featured p strong { color: #fff; }

.services-cta { text-align: center; margin-top: 3rem; }
.services-cta p { font-size: 1.2rem; margin-bottom: 1.2rem; }

/* ===== Why ===== */
.why-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: center; }
.why-text h2 { font-size: clamp(2rem, 4vw, 2.8rem); color: var(--cream); margin-bottom: 1.2rem; }
.why-lead { color: rgba(237,231,216,.8); font-size: 1.08rem; margin-bottom: 1.6rem; }
.why-list { list-style: none; margin-bottom: 2rem; }
.why-list li { padding: .7rem 0 .7rem 2rem; position: relative; border-bottom: 1px solid var(--line); color: rgba(237,231,216,.85); }
.why-list li::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 700; }
.why-list strong { color: var(--cream); }
.why-photo { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 3px solid var(--red); }
.why-photo img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 4/5; }
.why-photo-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem 1.5rem 1.3rem; background: linear-gradient(transparent, rgba(14,12,10,.95)); }
.why-photo-caption blockquote { font-family: 'Oswald', sans-serif; text-transform: uppercase; font-size: 1.6rem; color: #fff; letter-spacing: .5px; margin-bottom: .3rem; line-height: 1.1; }
.why-photo-caption cite { color: var(--cream); font-style: normal; font-weight: 600; font-size: .82rem; letter-spacing: 1.5px; text-transform: uppercase; opacity: .85; }

/* ===== Gallery ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; gap: 1rem; }
.gallery-item { overflow: hidden; border-radius: var(--radius); box-shadow: 0 4px 16px rgba(0,0,0,.1); margin: 0; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-tall { grid-row: span 2; }
.gallery-wide { grid-column: span 2; }

/* ===== Hours ===== */
.hours-card {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 0;
  max-width: 760px; margin: 0 auto; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); background: #fff;
}
.hours-list { list-style: none; padding: 1rem 2rem; }
.hours-list li { display: flex; justify-content: space-between; padding: .7rem 0; border-bottom: 1px solid rgba(0,0,0,.07); font-weight: 500; }
.hours-list li:last-child { border-bottom: none; }
.hours-list li.closed span:last-child { color: var(--muted); font-style: italic; }
.hours-list li span:first-child { font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 1px; }
.hours-list li span:last-child { color: var(--red); font-weight: 600; }
.hours-note { background: var(--ink); color: var(--cream); padding: 2rem; display: flex; flex-direction: column; justify-content: center; text-align: center; gap: .6rem; }
.hours-note p:first-child { font-family: 'Oswald', sans-serif; font-size: 1.3rem; text-transform: uppercase; }
.hours-note .btn { margin-top: .8rem; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 2rem; }
.contact-info { display: flex; flex-direction: column; gap: 1.4rem; }
.contact-photo { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: .3rem; }
.contact-block { border-left: 3px solid var(--red); padding-left: 1.1rem; }
.contact-label { font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 1.5px; font-size: .85rem; color: var(--red); display: block; margin-bottom: .3rem; }
.contact-block p { color: var(--text); font-size: 1.05rem; }
.contact-block a { color: var(--ink); font-weight: 600; }
.link-accent { color: var(--red) !important; font-weight: 600; font-size: .9rem; }
.contact-map { border-radius: var(--radius); overflow: hidden; min-height: 380px; box-shadow: var(--shadow); }
.contact-map iframe { width: 100%; height: 100%; min-height: 380px; }

/* ===== Footer ===== */
.site-footer { background: #0e0c0a; color: var(--cream); padding-top: 3rem; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; }
.footer-brand img { width: 90px; border-radius: 50%; margin-bottom: 1rem; }
.footer-brand p { color: rgba(237,231,216,.65); font-size: .95rem; }
.footer-col h4 { text-transform: uppercase; color: var(--red); letter-spacing: 2px; font-size: .85rem; margin-bottom: 1rem; }
.footer-col a, .footer-col p { display: block; color: rgba(237,231,216,.75); font-size: .95rem; margin-bottom: .5rem; transition: color .2s; }
.footer-col a:hover { color: var(--red); }
.footer-bottom { border-top: 1px solid var(--line); padding: 1.3rem 0; }
.footer-bottom p { text-align: center; color: rgba(237,231,216,.5); font-size: .85rem; }

/* ===== Mobile call bar ===== */
.mobile-call-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: var(--red); color: #fff; text-align: center; padding: .9rem;
  font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 1px;
  font-weight: 600; box-shadow: 0 -4px 20px rgba(0,0,0,.3);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column;
    background: var(--ink); padding: 1.2rem; gap: 1rem; display: none; border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; padding: 3rem 0; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-badges { justify-content: center; }
  .hero-logo { order: -1; }
  .hero-logo img { max-width: 240px; }
  .trust-inner { grid-template-columns: repeat(2,1fr); }
  .trust-item:nth-child(2) { border-right: none; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .why-inner, .contact-grid, .hours-card { grid-template-columns: 1fr; }
  .why-photo { max-width: 420px; margin: 0 auto; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .mobile-call-bar { display: block; }
  body { padding-bottom: 56px; }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .trust-inner { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .gallery-tall { grid-row: span 1; }
  .gallery-wide { grid-column: span 1; }
  .footer-inner { grid-template-columns: 1fr; }
  .brand-name { font-size: 1.1rem; }
  .header-inner { gap: .5rem; }
  .lang-toggle button { padding: .32rem .45rem; font-size: .72rem; }
}
