/* ===========================================================
   EC Garage — design tokens (matches the Instagram asset set)
   =========================================================== */
:root {
  --bg: #101114;
  --bg-elevated: #16181C;
  --border: #24262B;
  --border-soft: #26282D;
  --text: #F5F4F1;
  --text-muted: #9A9B9E;
  --text-mute-2: #B4B5B8;
  --footer-muted: #6B6C70;
  --accent: #F4C21B;
  --accent-hover: #FFD23D;
  --accent-ink: #101114;

  --font-display: 'Anton', 'Arial Narrow', sans-serif;
  --font-body: 'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --container: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; scroll-padding-top: 96px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }

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

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 100%;
  font: 600 16px/1.3 var(--font-body);
  letter-spacing: 0.24em;
  color: var(--accent);
  text-transform: uppercase;
}
.eyebrow--center { justify-content: center; width: 100%; }
.eyebrow .dot {
  width: 8px; height: 8px;
  background: var(--accent);
  display: block;
  flex-shrink: 0;
}
.eyebrow-label { min-width: 0; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

/* ===================== buttons ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font: 700 16px/1 var(--font-body);
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); }
.btn-outline {
  border: 1.5px solid rgba(245, 244, 241, 0.28);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-ghost {
  color: var(--text-muted);
  padding: 10px 18px;
}
.btn-ghost:hover { color: var(--text); }
.btn-lg { padding: 17px 34px; font-size: 17px; }
.btn-block { width: 100%; }

/* ===================== header ===================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(16, 17, 20, 0.7);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.site-header.is-scrolled {
  background: rgba(16, 17, 20, 0.92);
  border-bottom-color: var(--border-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 82px;
}
.brand-logo { height: 46px; width: auto; }
.nav {
  display: flex;
  gap: 34px;
  font: 600 15px/1 var(--font-body);
  letter-spacing: 0.02em;
}
.nav a { color: var(--text-mute-2); transition: color 0.15s ease; }
.nav a:hover { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 6px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px; height: 32px;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 0;
  overflow: hidden;
  background: rgba(16, 17, 20, 0.98);
  border-top: 1px solid var(--border-soft);
  transition: max-height 0.3s ease;
}
.mobile-nav a {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-soft);
  font: 600 15px var(--font-body);
  color: var(--text-mute-2);
}
.mobile-nav .btn { margin: 16px 24px; }
.mobile-nav.is-open { max-height: 420px; }

/* ===================== hero ===================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 160px 0 110px;
  min-height: 92vh;
  display: flex;
  align-items: center;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-glow { position: absolute; inset: 0; }
.hero-glow--top { background: radial-gradient(circle at 82% 6%, rgba(244,194,27,0.16), rgba(244,194,27,0) 46%); }
.hero-glow--bottom { background: radial-gradient(circle at 12% 96%, rgba(244,194,27,0.06), rgba(244,194,27,0) 42%); }
.hero-texture { background: repeating-linear-gradient(135deg, rgba(255,255,255,0.016) 0 1px, rgba(255,255,255,0) 1px 9px); position: absolute; inset: 0; }
.hero-vignette { position: absolute; inset: 0; background: radial-gradient(circle at 50% 35%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.55) 100%); }

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
}
.hero-inner > * { min-width: 0; }
.hero-content h1 {
  font-size: clamp(34px, 4vw, 60px);
  line-height: 1.12;
  margin: 26px 0 24px;
}
.hero-lead {
  max-width: 560px;
  font: 500 20px/1.6 var(--font-body);
  color: var(--text-muted);
  margin-bottom: 38px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-chips span {
  font: 600 13px/1 var(--font-body);
  letter-spacing: 0.04em;
  color: var(--text-mute-2);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  padding: 9px 16px;
}

.hero-visual { display: flex; flex-direction: column; align-items: center; gap: 14px; width: 100%; max-width: 480px; margin: 0 auto; }

.car-stage {
  width: 100%;
  display: flex;
  justify-content: center;
  perspective: 1200px;
}
.hero-photo {
  width: 100%;
  height: auto;
  display: block;
  transform-origin: center bottom;
  filter: drop-shadow(0 26px 50px rgba(0,0,0,0.55));
  animation: carSway 7s ease-in-out infinite;
  will-change: transform;
}
@keyframes carSway {
  0%   { transform: rotateY(-9deg) translateY(0); }
  25%  { transform: rotateY(-3deg) translateY(-6px); }
  50%  { transform: rotateY(9deg) translateY(0); }
  75%  { transform: rotateY(3deg) translateY(-6px); }
  100% { transform: rotateY(-9deg) translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-photo { animation: none; }
}
.compare-disclaimer {
  font: 500 12px/1 var(--font-body);
  color: var(--footer-muted);
  align-self: flex-end;
}

.scroll-cue {
  position: absolute;
  left: 24px; bottom: 34px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  font: 600 12px/1 var(--font-body);
  letter-spacing: 0.2em;
  color: var(--text-mute-2);
}
.scroll-cue svg { animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* ===================== quote / form ===================== */
.quote {
  position: relative;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 100px 0;
}
.quote-inner { max-width: 720px; }
.quote-head { text-align: center; margin-bottom: 46px; }
.quote-head h2 { font-size: clamp(32px, 4.5vw, 50px); margin: 18px 0 16px; line-height: 1.14; }
.quote-head p { color: var(--text-muted); font: 500 18px var(--font-body); }

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
label { display: flex; flex-direction: column; gap: 8px; }
label span { font: 700 13px/1 var(--font-body); letter-spacing: 0.06em; color: var(--text-mute-2); text-transform: uppercase; }
input, select, textarea {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px 16px;
  font: 500 16px var(--font-body);
  transition: border-color 0.15s ease;
}
input::placeholder, textarea::placeholder { color: #55575D; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23F4C21B' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
textarea { resize: vertical; min-height: 110px; }
.form-note { text-align: center; color: var(--footer-muted); font-size: 13px; }

/* ===================== services ===================== */
.services { padding: 120px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(34px, 4.6vw, 54px); margin: 18px 0 0; line-height: 1.12; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: var(--accent); transform: translateY(-4px); }
.card h3 { font-family: var(--font-body); font-weight: 700; font-size: 20px; text-transform: none; letter-spacing: 0; }
.card p { color: var(--text-muted); font-size: 15px; line-height: 1.6; flex-grow: 1; }
.card-link { color: var(--accent); font: 700 14px var(--font-body); }

/* ===================== why us ===================== */
/* ===================== gallery ===================== */
.gallery { padding: 0 0 130px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 700 / 1243;
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 0;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 14px 14px;
  background: linear-gradient(to top, rgba(16,17,20,0.92), rgba(16,17,20,0));
  color: var(--text);
  font: 600 13px/1.3 var(--font-body);
  text-align: left;
}
.gallery-zoom {
  position: absolute;
  top: 12px; right: 12px;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(16,17,20,0.55);
  color: var(--accent);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.gallery-item:hover .gallery-zoom { opacity: 1; }

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 8, 10, 0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
  padding: 40px;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-figure {
  margin: 0;
  max-width: min(90vw, 640px);
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transform: scale(0.92);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.lightbox.is-open .lightbox-figure { transform: scale(1); opacity: 1; }
.lightbox-image {
  max-width: 100%;
  max-height: 76vh;
  width: auto;
  height: auto;
  display: block;
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.lightbox-caption { color: var(--text-mute-2); font: 600 14px var(--font-body); text-align: center; }
.lightbox-close {
  position: absolute;
  top: 22px; right: 22px;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
  background: rgba(255,255,255,0.06);
  transition: background-color 0.15s ease;
}
.lightbox-close:hover { background: rgba(255,255,255,0.14); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
  background: rgba(255,255,255,0.06);
  transition: background-color 0.15s ease;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.14); }
.lightbox-prev { left: 22px; }
.lightbox-next { right: 22px; }

@media (max-width: 980px) {
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .lightbox { padding: 16px; }
  .lightbox-nav { width: 42px; height: 42px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-close { top: 12px; right: 12px; }
}

.why { padding: 0 0 130px; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.why-item { border-top: 1px solid var(--border-soft); padding-top: 24px; }
.why-num { font-family: var(--font-display); font-size: 30px; color: var(--accent); margin-bottom: 14px; }
.why-item h3 { font-family: var(--font-body); font-weight: 700; font-size: 20px; text-transform: none; margin-bottom: 8px; }
.why-item p { color: var(--text-muted); font-size: 15px; line-height: 1.6; }

/* ===================== faq ===================== */
.faq { padding: 0 0 130px; }
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 6px 26px;
}
.faq-item summary {
  padding: 20px 0;
  font: 700 17px/1.4 var(--font-body);
  color: var(--text);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 30px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0; top: 18px;
  font: 400 22px/1 var(--font-body);
  color: var(--accent);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
  padding-bottom: 22px;
  max-width: 640px;
}

/* ===================== contact / map ===================== */
.contact {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-soft);
  padding: 120px 0;
}
.contact-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.contact-info h2 { font-size: clamp(32px, 4.4vw, 50px); margin: 18px 0 26px; line-height: 1.14; }
.contact-list { display: flex; flex-direction: column; gap: 18px; margin-bottom: 32px; }
.contact-list li { display: flex; align-items: center; gap: 14px; color: var(--text-mute-2); font-size: 16px; }
.contact-list a:hover { color: var(--accent); }

.map-embed {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--border);
  overflow: hidden;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.15) invert(0.92) contrast(0.9); pointer-events: none; }
.map-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(16,17,20,0.35);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.map-overlay span {
  background: var(--accent);
  color: var(--accent-ink);
  font: 700 15px var(--font-body);
  padding: 14px 24px;
}
.map-embed:hover .map-overlay { opacity: 1; }

/* ===================== footer ===================== */
.site-footer { border-top: 1px solid var(--border-soft); padding: 40px 0 0; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 28px;
}
.footer-logo { height: 30px; opacity: 0.8; }
.footer-inner > p { color: var(--footer-muted); font-size: 14px; margin: 0; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: var(--text-mute-2); font: 600 14px var(--font-body); }
.footer-links a:hover { color: var(--accent); }

.footer-credit {
  border-top: 1px solid var(--border-soft);
  padding: 18px 0;
  text-align: center;
}
.footer-credit p { color: var(--footer-muted); font-size: 13px; margin: 0; }
.footer-credit a { color: var(--text-mute-2); font-weight: 600; }
.footer-credit a:hover { color: var(--accent); }

/* ===================== whatsapp FAB ===================== */
.whatsapp-fab {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 90;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #ffffff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  transition: transform 0.15s ease;
}
.whatsapp-fab:hover { transform: scale(1.08); }

/* ===================== scroll reveal ===================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ===================== responsive ===================== */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-content { order: 1; }
  .hero-content h1 { font-size: clamp(38px, 7.2vw, 66px); }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-chips { justify-content: center; }
  .hero-visual { order: 0; max-width: 460px; margin: 0 auto; }
  .contact-inner { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 720px) {
  .nav, .header-actions { display: none; }
  .nav-toggle { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .quote-form { padding: 28px 22px; }
  .hero { padding: 130px 0 90px; }
  .scroll-cue { display: none; }
}
