/* ============================================
   OME MOTORS — Hoja de estilos principal
   Paleta extraída del logo: cromado + rojo + carbón
   ============================================ */

:root {
  --red: #C1272D;
  --red-deep: #8B1E22;
  --carbon: #16171B;
  --steel: #52565D;
  --chrome: #E4E6E9;
  --chrome-line: #C7CBD1;
  --paper: #FAFAF8;
  --white: #FFFFFF;

  --font-display: 'Oswald', sans-serif;
  --font-body: 'Work Sans', sans-serif;
  --font-mono: 'Roboto Mono', monospace;
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  background: var(--paper);
  font-family: var(--font-body);
  color: var(--carbon);
  line-height: 1.5;
  overflow-x: hidden;
  width: 100%;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ===== Utilidades tipográficas ===== */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.eyebrow .dash { width: 28px; height: 2px; background: var(--red); display: inline-block; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head .eyebrow { color: var(--red); justify-content: center; }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 34px);
  text-transform: uppercase;
  font-weight: 600;
}
.section-head p.lead { color: var(--steel); margin-top: 10px; font-size: 15px; }

section { padding: 72px 0; }
section.alt { background: var(--white); }

/* ===== Botones ===== */
.btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14.5px;
  padding: 15px 28px;
  border-radius: 3px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  transition: transform .12s ease, opacity .12s ease;
}
.btn:hover { opacity: 0.92; }
.btn-primary { background: var(--red); color: var(--white); }
.btn-outline-dark { border: 1.5px solid var(--chrome-line); color: var(--carbon); background: transparent; }
.btn-outline-light { border: 1.5px solid var(--chrome); color: var(--white); background: transparent; }
.btn-block { width: 100%; justify-content: center; }

/* ===== Header ===== */
header.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: var(--white);
  border-bottom: 1px solid var(--chrome-line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.logo-wrap img { height: 58px; }
nav.main-nav { display: flex; align-items: center; gap: 28px; }
nav.main-nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--carbon);
}
nav.main-nav a.nav-cta {
  background: var(--red);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 3px;
  font-weight: 600;
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: var(--carbon);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero img.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center 60%;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22,23,27,.15) 0%, rgba(22,23,27,.25) 40%, rgba(22,23,27,.92) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  padding: 0 24px 56px;
  max-width: 720px;
  color: var(--white);
}
.hero .eyebrow { color: var(--chrome); }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 5.5vw, 52px);
  line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero h1 span { color: var(--red); }
.hero p.sub { font-size: 17px; color: var(--chrome); max-width: 480px; margin-bottom: 30px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== Quiénes somos ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-text p { color: var(--steel); margin-bottom: 16px; font-size: 15.5px; }
.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.value-card {
  border: 1px solid var(--chrome-line);
  border-radius: 6px;
  padding: 18px;
  background: var(--paper);
}
.value-card .num { font-family: var(--font-mono); color: var(--red); font-size: 12px; }
.value-card h4 { font-family: var(--font-display); font-size: 16px; text-transform: uppercase; margin: 6px 0 4px; }
.value-card p { color: var(--steel); font-size: 13px; }

/* ===== Cómo trabajamos (proceso) ===== */
.process-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  counter-reset: step;
}
.process-step {
  background: var(--white);
  border: 1px solid var(--chrome-line);
  border-radius: 6px;
  padding: 22px 18px;
  position: relative;
}
.process-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono);
  color: var(--red);
  font-size: 13px;
  display: block;
  margin-bottom: 10px;
}
.process-step h4 {
  font-family: var(--font-display);
  font-size: 15px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.process-step p { font-size: 13px; color: var(--steel); }

/* ===== Ficha de vehículo ===== */
.vehicle-card {
  max-width: 980px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--chrome-line);
  border-radius: 6px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}
.vc-media { position: relative; }
.vc-media .main-photo { width: 100%; height: 100%; min-height: 340px; object-fit: cover; }
.vc-thumbs { display: flex; gap: 6px; padding: 8px; background: var(--carbon); overflow-x: auto; }
.vc-thumbs img {
  width: 56px; height: 42px; object-fit: cover; border-radius: 3px; cursor: pointer;
  opacity: .6; transition: opacity .15s; flex-shrink: 0;
}
.vc-thumbs img:hover, .vc-thumbs img.active { opacity: 1; outline: 2px solid var(--red); }
.vc-badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--carbon); color: var(--white);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em;
  padding: 6px 12px; border-radius: 2px; text-transform: uppercase;
}
.vc-badge.reparado { top: auto; bottom: 58px; background: var(--red); }

.vc-body { padding: 32px 32px 28px; display: flex; flex-direction: column; }
.vc-title-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 4px; flex-wrap: wrap; }
.vc-title-row h3 { font-family: var(--font-display); font-size: 24px; text-transform: uppercase; font-weight: 600; }
.vc-price { font-family: var(--font-mono); font-size: 22px; font-weight: 500; color: var(--red); white-space: nowrap; }
.vc-sub {
  color: var(--steel);
  font-size: 13.5px;
  margin-bottom: 18px;
  overflow-wrap: break-word;
  word-break: break-word;
}
.vc-desc, .vc-title-row h3, .about-text p {
  overflow-wrap: break-word;
  word-break: break-word;
}

.spec-strip {
  font-family: var(--font-mono); font-size: 12px;
  border-top: 1px solid var(--chrome-line); border-bottom: 1px solid var(--chrome-line);
  padding: 14px 0; display: grid; grid-template-columns: repeat(3, 1fr);
  row-gap: 12px; margin-bottom: 20px;
}
.spec-strip div { display: flex; flex-direction: column; gap: 3px; }
.spec-strip .lab { color: var(--steel); text-transform: uppercase; letter-spacing: .04em; font-size: 10.5px; }
.spec-strip .val { color: var(--carbon); font-weight: 500; font-size: 13px; }
.spec-strip .accent { color: var(--red); }

.vc-desc { font-size: 13.5px; color: var(--steel); margin-bottom: 18px; }
.vc-features { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.vc-features span {
  font-size: 12px; border: 1px solid var(--chrome-line); border-radius: 20px;
  padding: 5px 12px; color: var(--steel);
}
.vc-ctas { display: flex; gap: 10px; margin-top: auto; }
.vc-ctas .btn { flex: 1; padding: 13px 18px; font-size: 13.5px; }

/* ===== Vehículos entregados ===== */
.entregados-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.entregado-card { background: var(--white); border: 1px solid var(--chrome-line); border-radius: 6px; overflow: hidden; }
.entregado-media { position: relative; height: 150px; overflow: hidden; }
.entregado-media img { width: 100%; height: 100%; object-fit: cover; }
.entregado-media .vc-badge { top: auto; bottom: 12px; left: 12px; background: var(--red); font-size: 10px; }
.entregado-body { padding: 14px 16px 18px; }
.entregado-body h4 { font-family: var(--font-display); font-size: 15px; text-transform: uppercase; color: var(--steel); margin-bottom: 4px; }
.entregado-body span { font-family: var(--font-mono); font-size: 11.5px; color: var(--steel); opacity: .8; }
.entregados-note { text-align: center; font-family: var(--font-mono); font-size: 11px; color: var(--steel); margin-top: 18px; }

/* ===== Beneficios ===== */
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.benefit-card { text-align: center; padding: 8px; }
.benefit-icon {
  width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%;
  background: var(--carbon); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.benefit-card h4 { font-family: var(--font-display); font-size: 16px; text-transform: uppercase; margin-bottom: 6px; }
.benefit-card p { color: var(--steel); font-size: 13.5px; }

/* ===== FAQ ===== */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--chrome-line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 18px 4px; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-body); font-weight: 600; font-size: 15px; color: var(--carbon);
}
.faq-q .icon { color: var(--red); font-size: 18px; transition: transform .2s; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-item.open .faq-a { max-height: 240px; }
.faq-a p { padding: 0 4px 18px; color: var(--steel); font-size: 14px; }

/* ===== Contacto ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info-item { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-info-item .ci-icon {
  width: 40px; height: 40px; border-radius: 6px; background: var(--carbon); color: var(--white);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 17px;
}
.contact-info-item h4 { font-family: var(--font-display); font-size: 14px; text-transform: uppercase; margin-bottom: 2px; }
.contact-info-item p, .contact-info-item a { color: var(--steel); font-size: 14px; text-decoration: none; }

.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form label { font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; color: var(--steel); margin-bottom: 4px; display: block; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--chrome-line); border-radius: 4px;
  font-family: var(--font-body); font-size: 14px; background: var(--paper);
}
.contact-form textarea { resize: vertical; min-height: 100px; }
.form-status { font-size: 13px; margin-top: 4px; }
.form-status.ok { color: #2e7d32; }
.form-status.err { color: var(--red); }

/* ===== Footer ===== */
.site-footer { background: var(--carbon); color: var(--chrome); padding: 40px 24px 20px; }
.footer-inner {
  max-width: 1080px; margin: 0 auto; display: flex; justify-content: space-between;
  align-items: flex-start; flex-wrap: wrap; gap: 24px; padding-bottom: 24px;
  border-bottom: 1px solid #2a2b30;
}
.footer-logo-text { font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: .04em; color: var(--white); margin-bottom: 6px; }
.footer-brand p { font-size: 13px; color: #9a9da3; max-width: 280px; }
.footer-label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; color: var(--red); display: block; margin-bottom: 10px; }
.social-row { display: flex; gap: 10px; flex-wrap: wrap; }
.social-pill {
  border: 1px solid #3a3b40; color: var(--chrome); text-decoration: none; font-size: 13px;
  padding: 8px 16px; border-radius: 20px; transition: border-color .15s;
}
.social-pill:hover { border-color: var(--red); color: var(--white); }
.footer-bottom { max-width: 1080px; margin: 0 auto; padding-top: 18px; font-family: var(--font-mono); font-size: 11px; color: #6f7177; }

/* ===== WhatsApp flotante ===== */
.wa-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 200;
  background: var(--red); color: var(--white); width: 56px; height: 56px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 26px; text-decoration: none; box-shadow: 0 6px 18px rgba(0,0,0,.25);
}

.about-grid > *, .contact-grid > *, .process-track > *,
.benefits-grid > *, .entregados-grid > *, .vehicle-card > * {
  min-width: 0;
}
@media (max-width: 900px) {
  nav.main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); flex-direction: column; align-items: stretch;
    padding: 12px 24px 20px; gap: 14px; border-bottom: 1px solid var(--chrome-line);
    display: none;
  }
  nav.main-nav.open { display: flex; }
  nav.main-nav a.nav-cta { text-align: center; }
  .menu-toggle { display: block; }

  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .process-track { grid-template-columns: repeat(2, 1fr); }
  .vehicle-card { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .entregados-grid { grid-template-columns: repeat(2, 1fr); }
  section { padding: 52px 0; }

  .vc-body { padding: 22px 20px 22px; }
  .vc-title-row h3 { font-size: 20px; }
  .vc-price { font-size: 19px; }
  .spec-strip { grid-template-columns: repeat(2, 1fr); }
}
