/* =========================================
   AUTO KING · ESTILOS PRINCIPALES
========================================= */
:root {
  --bg: #090909;
  --panel: #111214;
  --panel-light: #17181b;
  --red: #ef352e;
  --red-bright: #ff493e;
  --text: #f5f5f5;
  --muted: #999ba2;
  --border: #292a2e;
  --gold: #d5ad69;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: "Inter", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }
.hidden { display: none !important; }
em { color: var(--red); font-style: normal; }
button:focus-visible, a:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--red-bright);
  outline-offset: 3px;
}

/* CABECERA */
.header {
  height: 72px; position: fixed; z-index: 1000; top: 0; left: 0; right: 0;
  padding: 0 3.3vw; display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
  background: rgba(5,5,6,.94); backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid #28282b;
}
.logo { display: flex; align-items: center; flex-shrink: 0; min-width: 0; }
.logo-image {
  display: block;
  width: 75px;
  height: 56px;
  flex-shrink: 0;
  object-fit: contain;
  object-position: center;
  background: transparent;
}

.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  margin-left: 10px;
  white-space: nowrap;
}

.logo-text strong {
  color: #fff;
  font-family: "Anton", Impact, sans-serif;
  font-size: 21px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 1px;
}

.logo-text small {
  color: var(--gold);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.3px;
}
.nav { display: flex; align-items: center; gap: clamp(12px,1.7vw,26px); font-size: 10px; font-weight: 800; }
.nav a { color: #d0d0d2; transition: color .2s; white-space: nowrap; }
.nav a:hover { color: #fff; }
.nav .nav-red {
  padding: 13px 20px; color: #fff;
  background: var(--red);
  clip-path: polygon(6% 0,100% 0,94% 100%,0 100%);
}
.nav .nav-red:hover { background: var(--red-bright); }
.menu-btn { display: none; border: 0; background: none; color: #fff; font-size: 26px; }

/* ETIQUETAS Y BOTONES */
.kicker {
  color: var(--red); font-size: 10px; font-weight: 800;
  letter-spacing: 2.3px; margin-bottom: 18px;
}
.kicker i {
  display: inline-block; width: 27px; height: 2px;
  background: var(--red); margin-right: 9px; vertical-align: middle;
}
.btn {
  min-height: 47px; display: inline-flex; align-items: center;
  justify-content: center; padding: 0 23px; border: 1px solid transparent;
  font-size: 10px; font-weight: 800; letter-spacing: .6px;
  text-align: center; transition: .25s ease; cursor: pointer;
}
.btn.red {
  color: #fff; background: var(--red);
  clip-path: polygon(5% 0,100% 0,94% 100%,0 100%);
}
.btn.red:hover { background: var(--red-bright); transform: translateY(-2px); }
.btn.line {
  color: #f5f5f5; border-color: #555;
  clip-path: polygon(5% 0,100% 0,95% 100%,0 100%);
}
.btn.line:hover { background: #f5f5f5; color: #111; }

/* HERO */
.hero {
  min-height: 100vh; padding-top: 72px; display: grid;
  grid-template-columns: 46% 54%; position: relative; overflow: hidden;
  background: #090909;
}
.hero-grid {
  position: absolute; top: 72px; left: 0; bottom: 0; width: 46%;
  opacity: .17; pointer-events: none;
  background-image: linear-gradient(rgba(239,53,46,.09) 1px,transparent 1px),
    linear-gradient(90deg,rgba(239,53,46,.09) 1px,transparent 1px);
  background-size: 42px 42px;
}
.hero-copy {
  position: relative; z-index: 2; padding: 13vh 6vw 8vh 7vw;
  display: flex; flex-direction: column; justify-content: center;
  background: radial-gradient(circle at 55% 45%,rgba(80,12,12,.24),transparent 60%),#090909;
}
.hero h1, .section h2, .dark-section h2, .about-section h2,
.cta-section h2, .sell-copy h2, .request-copy h2 {
  font-family: "Anton", Impact, sans-serif; font-weight: 400;
  letter-spacing: .4px; line-height: .96;
}
.hero h1 { font-size: clamp(55px,6.5vw,105px); }
.hero-desc { max-width: 520px; color: #a7a7ab; font-size: 14px; margin: 24px 0 30px; }
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual { position: relative; min-height: calc(100vh - 72px); overflow: hidden; background: #111; }
.hero-car {
  position: absolute; inset: 0; z-index: 0;
  background-image: linear-gradient(90deg,rgba(9,9,9,.38),rgba(9,9,9,.02) 70%),
    linear-gradient(0deg,rgba(0,0,0,.45),transparent 55%),url("./images/hero.jpg");
  background-size: cover; background-position: 68% center; background-repeat: no-repeat;
  filter: saturate(.9);
}


.hero-feature {
  position: absolute; right: 7%; display: flex; align-items: center; gap: 10px;
  padding: 14px 18px; font-size: 10px; color: var(--gold);
  background: rgba(8,8,8,.72); border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
}


.hero-feature b { color: #ddd; }
.f1 { bottom: 23%; } .f2 { bottom: 14%; }
.hero-scroll { position: absolute; bottom: 4%; left: 7%; z-index: 2; color: #aaa; font-size: 9px; letter-spacing: 2px; }
.hero-scroll span { color: var(--red); margin-left: 10px; }

/* FILTROS */
.search-section { padding: 55px 6vw 30px; background: #0d0d0f; }
.search-box { padding: 30px; background: #0d0e10; border: 1px solid var(--border); border-top: 2px solid var(--red); }
.search-box .kicker b { color: var(--red); }
.filters {
  display: grid; grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 16px; align-items: end;
}
.filters label { min-width: 0; color: #999; font-size: 9px; font-weight: 800; letter-spacing: .8px; }
.filters input, .filters select {
  width: 100%; height: 46px; margin-top: 8px; padding: 0 12px;
  color: #eee; background: #191a1d; border: 1px solid #36373b; border-radius: 0;
}
.filters input:focus, .filters select:focus { border-color: var(--red); outline: none; }
.filters input::placeholder { color: #68686d; }
.filter-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.filter-actions .btn { min-height: 46px; }
.search-btn { white-space: nowrap; }

/* FILTROS MODERNOS AUTO KING */

.filters-modern {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px 30px;
}

.filters-modern > label {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.filters-modern select,
.filters-modern input[type="search"] {
  width: 100%;
}

.range-filter {
  min-width: 0;
  padding: 5px 0 10px;
}

.range-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.range-heading label {
  color: #999ba2;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .8px;
}

.range-heading output {
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.range-filter input[type="range"] {
  --range-progress: 100%;
  display: block;
  width: 100%;
  height: 6px;
  margin: 0;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  border-radius: 10px;
  outline: none;
  cursor: pointer;
  background: linear-gradient(
    to right,
    var(--red) 0%,
    var(--red) var(--range-progress),
    #45464b var(--range-progress),
    #45464b 100%
  );
}

.range-filter input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 19px;
  height: 19px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .35);
}

.range-filter input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .35);
}

.range-limits {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  color: #777980;
  font-size: 10px;
}

.filters-modern .general-search {
  grid-column: 1 / -1;
}

.filters-modern .filter-actions {
  grid-column: 1 / -1;
  justify-content: flex-start;
}

.filters-modern .search-btn {
  min-width: 190px;
}

/* Adaptación móvil de los filtros */
@media (max-width: 760px) {
  .filters-modern {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .filters-modern .general-search,
  .filters-modern .filter-actions {
    grid-column: auto;
  }

  .filters-modern .search-btn {
    width: 100%;
  }

  .range-heading {
    margin-bottom: 20px;
  }
}

/* SECCIONES GENERALES */
.section { padding: 100px 6vw; background: #0b0b0d; }
.section-top { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 42px; }
.section h2, .dark-section h2, .about-section h2, .cta-section h2 { font-size: clamp(42px,5vw,72px); }
.sub { max-width: 600px; margin-top: 18px; color: #85858b; font-size: 13px; }
.stock-count { color: #a0a0a5; font-size: 11px; white-space: nowrap; }
.market-heading {
  display: flex; align-items: center; gap: 18px; margin: 35px 0 22px;
  padding: 21px 0; border-top: 1px solid #292a2e; border-bottom: 1px solid #292a2e;
}
.market-marker { color: var(--red); font-family: "Anton",sans-serif; font-size: 28px; }
.market-heading h3 { font-family: "Anton",sans-serif; font-size: 25px; font-weight: 400; line-height: 1.1; }
.market-heading p, .market-note { color: #929298; font-size: 11px; margin-top: 6px; }
.market-heading-secondary { margin-top: 55px; }
.market-heading-secondary .btn { margin-left: auto; flex-shrink: 0; }
.market-note { padding: 17px 20px; margin-top: 25px; background: #111214; border-left: 2px solid var(--red); }
.empty { padding: 30px 0; color: #aaa; }
/* «Ver más vehículos» (catálogo por tandas) */
.load-more { display: flex; justify-content: center; }
.load-more:not(:empty) { margin-top: 26px; }

/* TARJETAS DE VEHÍCULOS */
.car-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.car-card { overflow: hidden; background: #121315; border: 1px solid #292a2e; transition: .25s; }
.car-card:hover { transform: translateY(-5px); border-color: #555; }
.car-photo { height: 245px; position: relative; overflow: hidden; background: #202124; }
.car-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.car-card:hover .car-photo img { transform: scale(1.04); }
.image-fallback { width: 100%; height: 100%; display: grid; place-items: center; text-align: center; background: linear-gradient(135deg,#18191c,#25262a); color: #777; font-size: 10px; font-weight: 800; letter-spacing: 2px; }
.tag { position: absolute; top: 14px; left: 14px; padding: 6px 10px; color: #fff; background: var(--red); font-size: 9px; font-weight: 800; letter-spacing: 1px; }
.tag.reserved { background: #aa7628; }
.car-body { padding: 21px; }
.car-brand { color: var(--red); font-size: 9px; font-weight: 800; letter-spacing: 2px; }
.car-title { margin: 6px 0 12px; font-family: "Anton",sans-serif; font-size: 25px; font-weight: 400; }
.car-meta { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 17px; color: #929298; border-bottom: 1px solid #2a2b2f; font-size: 10px; }
.car-footer { display: flex; justify-content: space-between; align-items: end; gap: 10px; margin-top: 17px; }
.price { color: var(--red); font-size: 25px; font-weight: 800; }
.detail { padding-bottom: 5px; border: 0; border-bottom: 1px solid #555; background: transparent; color: #fff; font-size: 10px; font-weight: 800; }

/* BÚSQUEDA PERSONALIZADA */
.request-section {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  align-items: stretch; overflow: hidden; background: #0b0c0f;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.request-visual {
  min-width: 0; min-height: 600px; width: 100%; height: 100%;
  background-color: #101114; background-image: url("./images/buscar-coche.jpg");
  background-size: cover; background-position: center center; background-repeat: no-repeat;
}
.request-copy { min-width: 0; align-self: center; padding: 75px clamp(28px,5vw,75px); }
.request-copy h2 { font-size: clamp(39px,4.4vw,64px); }
.request-copy .sell-desc { max-width: 620px; margin: 22px 0; }
.request-benefits { display: grid; gap: 10px; margin: 22px 0 28px; list-style: none; color: #b4b4b8; font-size: 12px; }
.request-benefits li { position: relative; padding-left: 23px; }
.request-benefits li::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 800; }
.request-open { max-width: 100%; }
.request-form { margin-top: 28px; padding-top: 25px; border-top: 1px solid #303136; }
.request-form-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 20px; }
.request-form-heading h3 { font-family: "Anton",sans-serif; font-size: 23px; font-weight: 400; }
.form-close { flex: 0 0 auto; width: 38px; height: 38px; background: #111; border: 1px solid #444; color: #fff; font-size: 23px; }
.form-close:hover { color: var(--red); border-color: var(--red); }
.request-form .form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
.request-form .form-field { min-width: 0; }
.request-form .form-full { margin-top: 16px; }
.request-submit { width: 100%; margin-top: 24px; }
.request-form .upload-note { line-height: 1.6; }

/* VENDER TU COCHE */
.sell-section { min-height: 680px; display: grid; grid-template-columns: 50% 50%; overflow: hidden; background: #111214; border-top: 1px solid #292a2e; border-bottom: 1px solid #292a2e; }
.sell-copy { padding: 95px 7vw; display: flex; flex-direction: column; justify-content: center; background: radial-gradient(circle at 15% 50%,rgba(100,18,18,.18),transparent 60%),#111214; }
.sell-copy h2 { max-width: 650px; font-size: clamp(45px,5vw,72px); }
.sell-desc { max-width: 560px; margin: 24px 0 28px; color: #96969c; font-size: 13px; line-height: 1.7; }
.sell-steps { display: flex; flex-direction: column; gap: 16px; max-width: 570px; }
.sell-step { display: grid; grid-template-columns: 45px 1fr; gap: 13px; align-items: start; }
.sell-step>span { width: 38px; height: 38px; display: grid; place-items: center; color: var(--red); background: rgba(239,53,46,.08); border: 1px solid rgba(239,53,46,.25); font-size: 11px; font-weight: 800; }
.sell-step strong { display: block; margin-bottom: 2px; font-size: 12px; }
.sell-step p { color: #929298; font-size: 10px; }
.sell-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.sell-visual { position: relative; min-height: 680px; overflow: hidden; background-color: #18191c; background-image: linear-gradient(90deg,rgba(10,10,10,.18),rgba(10,10,10,.02)),url("./images/vender-coche.jpg"); background-size: cover; background-position: center; background-repeat: no-repeat; }
.sell-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(10,10,10,.2),transparent 45%); pointer-events: none; }
.sell-stat { position: absolute; z-index: 2; right: 30px; bottom: 30px; min-width: 190px; padding: 20px 24px; display: flex; flex-direction: column; background: rgba(5,5,5,.8); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(10px); }
.sell-stat strong { color: var(--red); font-family: "Anton",sans-serif; font-size: 32px; line-height: 1; }
.sell-stat span { margin-top: 5px; color: #fff; font-size: 9px; font-weight: 800; letter-spacing: 2px; }

/* SERVICIOS */
.dark-section { padding: 100px 6vw; background: #0d0e10; border-top: 1px solid #202124; }
.value-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1px; background: #303136; }
.value-grid article { min-height: 190px; padding: 30px; background: #111214; }
.value-grid span { color: var(--red); font-size: 10px; font-weight: 800; }
.value-grid b { display: block; margin: 32px 0 10px; font-family: "Anton",sans-serif; font-size: 22px; font-weight: 400; }
.value-grid p { color: #96969c; font-size: 12px; }

/* SOBRE AUTO KING */
.about-section {
  padding: 110px 9vw; display: flex; justify-content: space-between;
  align-items: center; gap: 50px;
  background: radial-gradient(circle at 85% 50%,rgba(239,53,46,.08),transparent 35%),linear-gradient(90deg,#0a0a0b,#101114);
  border-top: 1px solid #202124;
}
.about-copy { max-width: 720px; }
.about-copy>p:not(.kicker) { max-width: 650px; margin: 23px 0; color: #a5a5aa; font-size: 14px; line-height: 1.8; }
.about-number { position: relative; flex: 0 0 270px; width: 270px; height: 270px; display: grid; place-items: center; border: 1px solid rgba(239,53,46,.45); background: rgba(0,0,0,.12); }
.about-number::before { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(239,53,46,.25); }
.about-number span { color: var(--red); font-family: "Anton",sans-serif; font-size: 78px; }
.about-number small { position: absolute; bottom: 38px; font-size: 8px; letter-spacing: 3px; color: #ddd; }

/* CONTACTO */
.cta-section { padding: 120px 20px; text-align: center; background: radial-gradient(circle at 50% 0,rgba(100,15,15,.22),transparent 55%),#0a0a0b; border-top: 1px solid #242528; }
.cta-section>p:not(.kicker) { max-width: 600px; margin: 20px auto 28px; color: #96969c; font-size: 13px; }
.cta-section .btn { margin: 4px; }
/* Datos de contacto visibles: dirección, horario, teléfono y email */
.cta-info { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; max-width: 1000px; margin: 0 auto 32px; padding: 0; text-align: left; }
.cta-info li { padding: 16px 18px; border: 1px solid #26272b; border-top: 2px solid var(--red); background: rgba(255,255,255,.025); }
.cta-info small { display: block; margin-bottom: 7px; color: var(--red-bright); font-size: 10px; font-weight: 800; letter-spacing: 1.5px; }
.cta-info span, .cta-info a { color: #e4e4e7; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.cta-info a { text-decoration: underline; text-decoration-color: rgba(255,255,255,.3); text-underline-offset: 3px; transition: color .2s; }
.cta-info a:hover { color: var(--red-bright); }
@media (max-width: 980px) { .cta-info { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .cta-info { grid-template-columns: 1fr; } }

/* FOOTER */
.site-footer {
  display: grid; grid-template-columns: minmax(230px,1.7fr) minmax(140px,.8fr) minmax(210px,1fr);
  gap: 45px; padding: 60px 7vw 22px; color: #999ba2;
  background: linear-gradient(135deg,#0e0f11,#080809); border-top: 1px solid #2b2c30;
  font-size: 11px;
}
.site-footer>div { min-width: 0; }
.footer-brand .logo { margin-bottom: 18px; }
.footer-brand .logo-image { width: 190px; height: 64px; }
.footer-brand p { max-width: 340px; color: #a1a1a7; line-height: 1.8; }
.footer-location { display: inline-block; margin-top: 18px; color: var(--gold); font-size: 9px; font-weight: 800; letter-spacing: 1.5px; }
.site-footer b { display: block; margin: 8px 0 17px; color: #f4f4f5; font-size: 10px; letter-spacing: 1.5px; }
.footer-links, .footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.footer-links a, .footer-contact a { transition: color .2s; }
.footer-links a:hover, .footer-contact a:hover { color: var(--red-bright); }
.footer-contact p { line-height: 1.9; }
.footer-bottom { grid-column: 1/-1; display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; margin-top: 18px; border-top: 1px solid #292a2e; color: #73747a; font-size: 9px; }
.footer-bottom a { color: #d3d3d5; letter-spacing: 1px; }

/* MODAL VEHÍCULO */
.modal { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; padding: 25px; background: rgba(0,0,0,.84); }
.modal-card { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; width: min(1050px,100%); max-height: 90vh; overflow: auto; background: #111214; border: 1px solid #35363a; }
.modal-close { position: absolute; z-index: 3; top: 15px; right: 15px; width: 38px; height: 38px; color: #fff; background: #080808; border: 1px solid #555; font-size: 22px; }
.modal-gallery { min-width: 0; padding: 25px; }
.modal-gallery>#modalMain { width: 100%; height: 470px; object-fit: cover; background: #222; }
.modal-gallery>div { display: flex; gap: 8px; margin-top: 10px; overflow: auto; }
.modal-gallery button { position: relative; flex: 0 0 80px; width: 80px; height: 55px; padding: 0; overflow: hidden; background: #222; border: 1px solid #444; }
.modal-gallery button.active { border: 2px solid var(--red); }
.modal-gallery button img { width: 100%; height: 100%; object-fit: cover; }
.modal-info { padding: 55px 35px; display: flex; flex-direction: column; justify-content: center; }
.modal-info h2 { font-family: "Anton",sans-serif; font-size: 45px; font-weight: 400; line-height: 1; }
.modal-info>p:not(.kicker) { margin: 18px 0; color: #999ba2; font-size: 13px; }
.specs { display: grid; grid-template-columns: 1fr 1fr; margin: 10px 0 18px; border-top: 1px solid #333; border-bottom: 1px solid #333; }
.specs span { padding: 12px 0; color: #aaa; border-bottom: 1px solid #252525; font-size: 10px; }
.modal-price { margin-bottom: 22px; color: var(--red); font-size: 32px; }
.modal-info .btn { margin: 0 5px 8px 0; }
.dark { color: #fff !important; }

/* MODAL TASACIÓN */
.valuation-modal { position: fixed; inset: 0; z-index: 5000; display: grid; place-items: center; padding: 25px; overflow-y: auto; background: rgba(0,0,0,.89); backdrop-filter: blur(10px); }
.valuation-card { position: relative; width: min(1050px,100%); max-height: 94vh; overflow-y: auto; background: linear-gradient(145deg,#141518,#0c0c0e); border: 1px solid #34353a; box-shadow: 0 30px 100px rgba(0,0,0,.65); }
.valuation-header { padding: 45px 50px 35px; display: flex; justify-content: space-between; gap: 30px; border-bottom: 1px solid #28292d; background: radial-gradient(circle at 0 0,rgba(239,53,46,.12),transparent 45%); }
.valuation-header h2 { max-width: 700px; font-family: "Anton",sans-serif; font-size: clamp(38px,5vw,62px); font-weight: 400; line-height: .96; }
.valuation-header>div>p:not(.kicker) { max-width: 600px; margin-top: 17px; color: #96969c; font-size: 13px; }
.valuation-close { flex: 0 0 auto; width: 42px; height: 42px; color: #fff; background: #080808; border: 1px solid #444; font-size: 25px; }
.valuation-close:hover { color: var(--red); border-color: var(--red); }
.valuation-form { padding: 0; }
.form-block { padding: 38px 50px; border-bottom: 1px solid #27282c; }
.form-heading { display: flex; align-items: center; gap: 15px; margin-bottom: 25px; }
.form-heading>span { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; color: var(--red); background: rgba(239,53,46,.08); border: 1px solid rgba(239,53,46,.35); font-size: 10px; font-weight: 800; }
.form-heading strong { display: block; font-size: 12px; letter-spacing: 1px; }
.form-heading small { display: block; margin-top: 3px; color: #85858b; font-size: 10px; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
.form-field { min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.form-field>span { color: #999ba2; font-size: 9px; font-weight: 800; letter-spacing: 1px; }
.form-field input, .form-field select, .form-field textarea { width: 100%; max-width: 100%; padding: 0 14px; color: #eee; background: #18191c; border: 1px solid #36373b; border-radius: 0; outline: none; transition: border-color .2s,background .2s; }
.form-field input, .form-field select { height: 48px; }
.form-field textarea { min-height: 115px; padding: 13px 14px; resize: vertical; line-height: 1.5; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--red); background: #1b1c1f; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #68686e; }
.form-field select { appearance: none; background-image: linear-gradient(45deg,transparent 50%,#888 50%),linear-gradient(135deg,#888 50%,transparent 50%); background-position: calc(100% - 16px) 21px,calc(100% - 11px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 35px; }
.form-full { margin-top: 15px; }
.upload-note { margin-top: 12px; color: #a3a3a9; font-size: 12px; line-height: 1.6; }
.upload-note strong { color: #e4e4e7; }
.upload-note a { color: #e4e4e7; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.consent-field { display: flex; align-items: flex-start; gap: 10px; margin-top: 22px; color: #999ba2; font-size: 10px; line-height: 1.5; cursor: pointer; }
.consent-field input { flex: 0 0 auto; margin-top: 2px; accent-color: var(--red); }
.valuation-submit { padding: 30px 50px 40px; display: flex; align-items: center; justify-content: space-between; gap: 25px; background: #0b0b0d; }
.valuation-submit strong { display: block; margin-bottom: 3px; font-size: 13px; }
.valuation-submit p { color: #85858b; font-size: 10px; }
.valuation-submit-btn { min-width: 245px; }
button:disabled { opacity: .65; cursor: wait; }

/* TABLET */
@media (max-width: 1100px) {
  .header { padding: 0 22px; }
  .logo-image { width: 155px; }
  .nav { gap: 12px; font-size: 9px; }
  .nav .nav-red { padding: 11px 14px; }
  .filters { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .car-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .value-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .request-section { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); }
  .request-visual { min-height: 600px; background-position: 55% center; }
  .request-copy { padding: 50px 30px; }
  .request-form .form-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .sell-copy { padding-left: 5vw; padding-right: 5vw; }
}

/* MÓVIL */
@media (max-width: 760px) {
  .header { height: 64px; padding: 0 18px; }
  .logo-image {
  width: 58px;
  height: 44px;
}

.logo-text {
  margin-left: 7px;
  gap: 3px;
}

.logo-text strong {
  font-size: 17px;
  letter-spacing: .5px;
}

.logo-text small {
  font-size: 7px;
  letter-spacing: .7px;
}


  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; padding: 18px; flex-direction: column; align-items: stretch; gap: 0; background: #09090a; border-bottom: 1px solid #333; }
  .nav.open { display: flex; }
  .nav a { padding: 13px 8px; border-bottom: 1px solid #202124; }
  .nav .nav-red { margin-top: 8px; text-align: center; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 64px; }
  .hero-copy { min-height: 72vh; padding: 90px 25px 50px; }
  .hero h1 { font-size: clamp(53px,15vw,78px); }
  .hero-desc { font-size: 13px; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-buttons .btn { width: 100%; }
  .hero-visual { height: 55vh; min-height: 400px; }
  .hero-car { background-position: 65% center; }
  .hero-badge { top: 7%; right: 5%; padding: 15px 18px; }
  .hero-badge strong { font-size: 24px; }
  .hero-feature { right: 5%; padding: 11px 14px; font-size: 9px; }
  .f1 { bottom: 20%; } .f2 { bottom: 10%; }
  .hero-scroll { display: none; }
  .hero-grid { top: 64px; width: 100%; height: 72vh; }
  .search-section { padding: 35px 18px 10px; }
  .search-box { padding: 22px; }
  .filters { grid-template-columns: 1fr; }
  .filter-actions { flex-direction: column; align-items: stretch; }
  .filter-actions .btn { width: 100%; }
  .section, .dark-section { padding: 70px 18px; }
  .section-top { display: block; }
  .stock-count { display: block; margin-top: 15px; }
  .car-grid { grid-template-columns: 1fr; }
  .car-photo { height: 240px; }
  .market-heading { align-items: flex-start; flex-wrap: wrap; }
  .market-heading-secondary .btn { width: 100%; margin-left: 0; }
  .request-section { grid-template-columns: 1fr; }
  .request-visual { min-height: 0; height: auto; aspect-ratio: 4/3; background-position: center; }
  .request-copy { padding: 55px 22px; }
  .request-copy h2 { font-size: clamp(40px,12vw,58px); }
  .request-form .form-grid { grid-template-columns: 1fr; }
  .request-open { width: 100%; }
  .sell-section { grid-template-columns: 1fr; min-height: auto; }
  .sell-copy { padding: 75px 25px; }
  .sell-copy h2 { font-size: clamp(45px,14vw,65px); }
  .sell-desc { font-size: 12px; }
  .sell-visual { min-height: 420px; order: 2; background-position: center; }
  .sell-step { grid-template-columns: 42px 1fr; }
  .sell-step p { line-height: 1.5; }
  .sell-buttons { flex-direction: column; align-items: stretch; }
  .sell-buttons .btn { width: 100%; }
  .sell-stat { right: 18px; bottom: 18px; }
  .value-grid { grid-template-columns: 1fr; }
  .about-section { padding: 75px 25px; display: block; }
  .about-number { margin: 45px auto 0; }
  .cta-section { padding: 85px 20px; }
  .cta-section .btn { margin: 5px 2px; }
  .site-footer { grid-template-columns: 1fr; gap: 30px; padding: 45px 25px 20px; }
  .footer-bottom { grid-column: auto; flex-direction: column; }
  .modal { padding: 10px; }
  .modal-card { grid-template-columns: 1fr; max-height: 94vh; }
  .modal-gallery { padding: 12px; }
  .modal-gallery>#modalMain { height: 280px; }
  .modal-info { padding: 20px 18px 30px; }
  .modal-info h2 { font-size: 36px; }
  .valuation-modal { padding: 8px; place-items: start center; }
  .valuation-card { max-height: 96vh; margin-top: 8px; }
  .valuation-header { padding: 30px 22px 25px; }
  .valuation-header h2 { font-size: clamp(35px,11vw,50px); }
  .valuation-header>div>p:not(.kicker) { font-size: 11px; }
  .valuation-close { width: 38px; height: 38px; }
  .form-block { padding: 30px 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .valuation-submit { padding: 25px 22px 30px; flex-direction: column; align-items: stretch; }
  .valuation-submit-btn { width: 100%; min-width: 0; }
}

/* =========================================
   AUTO KING · FILTROS EN ORDEN SIMÉTRICO
========================================= */

.filters.filters-modern {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "ubicacion ubicacion"
    "marca modelo"
    "combustible cambio"
    "desde hasta"
    "precio precio"
    "kilometros kilometros"
    "busqueda busqueda"
    "acciones acciones";
  column-gap: 24px;
  row-gap: 24px;
  align-items: end;
}

/* Cada filtro mantiene su ancho y posición */
.filters.filters-modern > label,
.filters.filters-modern > .range-filter,
.filters.filters-modern > .general-search,
.filters.filters-modern > .filter-actions {
  min-width: 0;
  width: 100%;
}

.filters.filters-modern > label:nth-of-type(1) {
  grid-area: ubicacion;
}

.filters.filters-modern > label:nth-of-type(2) {
  grid-area: marca;
}

.filters.filters-modern > label:nth-of-type(3) {
  grid-area: modelo;
}

.filters.filters-modern > label:nth-of-type(4) {
  grid-area: combustible;
}

.filters.filters-modern > label:nth-of-type(5) {
  grid-area: cambio;
}

.filters.filters-modern > label:nth-of-type(6) {
  grid-area: desde;
}

.filters.filters-modern > label:nth-of-type(7) {
  grid-area: hasta;
}

/* Precio */
.filters.filters-modern > .price-range {
  grid-area: precio;
}

.filters.filters-modern > .km-range {
  grid-area: kilometros;
}

/* Búsqueda general */
.filters.filters-modern > .general-search {
  grid-area: busqueda;
}

/* Botón */
.filters.filters-modern > .filter-actions {
  grid-area: acciones;
  display: flex;
  justify-content: flex-start;
}

.filters.filters-modern select,
.filters.filters-modern input[type="search"] {
  display: block;
  width: 100%;
  min-width: 0;
  height: 48px;
  margin-top: 8px;
}

/* Cabecera de las barras */
.filters.filters-modern .range-filter {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.filters.filters-modern .range-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.filters.filters-modern .range-heading label {
  min-width: 0;
}

.filters.filters-modern .range-heading output {
  flex-shrink: 0;
  text-align: right;
  white-space: nowrap;
  font-weight: 800;
}

.filters.filters-modern input[type="range"] {
  display: block;
  width: 100%;
  margin: 0;
  accent-color: var(--red);
  cursor: pointer;
}

.filters.filters-modern .range-limits {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 10px;
}

.filters.filters-modern .search-btn {
  min-width: 220px;
}

/* MÓVIL */
@media (max-width: 760px) {
  .filters.filters-modern {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "ubicacion"
      "marca"
      "modelo"
      "combustible"
      "cambio"
      "desde"
      "hasta"
      "precio"
      "kilometros"
      "busqueda"
      "acciones";
    gap: 22px;
  }

  .filters.filters-modern .search-btn {
    width: 100%;
  }
}

/* =========================================
   AUTO KING · DISTRIBUCIÓN FINAL FILTROS
========================================= */

.filters.filters-modern {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "ubicacion ubicacion"
    "marca modelo"
    "combustible cambio"
    "desde hasta"
    "precio precio"
    "kilometros kilometros"
    "busqueda busqueda"
    "acciones acciones";
  gap: 24px;
  align-items: end;
}

/* Ubicación */
.filters.filters-modern > label:nth-of-type(1) {
  grid-area: ubicacion;
}

/* Marca y modelo */
.filters.filters-modern > label:nth-of-type(2) {
  grid-area: marca;
}

.filters.filters-modern > label:nth-of-type(3) {
  grid-area: modelo;
}

/* Combustible y cambio */
.filters.filters-modern > label:nth-of-type(4) {
  grid-area: combustible;
}

.filters.filters-modern > label:nth-of-type(5) {
  grid-area: cambio;
}

/* Año desde y hasta */
.filters.filters-modern > label:nth-of-type(6) {
  grid-area: desde;
}

.filters.filters-modern > label:nth-of-type(7) {
  grid-area: hasta;
}

/* Precio y kilómetros */
.filters.filters-modern > .price-range {
  grid-area: precio;
}

.filters.filters-modern > .km-range {
  grid-area: kilometros;
}

/* Búsqueda y botón */
.filters.filters-modern > .general-search {
  grid-area: busqueda;
}

.filters.filters-modern > .filter-actions {
  grid-area: acciones;
}

/* Evitar desbordamientos */
.filters.filters-modern > * {
  min-width: 0;
  width: 100%;
}

.filters.filters-modern select,
.filters.filters-modern input[type="search"] {
  width: 100%;
  min-width: 0;
}

.filters.filters-modern .search-btn {
  width: auto;
  min-width: 220px;
}

/* MÓVIL: conservar las dos columnas */
@media (max-width: 760px) {
  .filters.filters-modern {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "ubicacion ubicacion"
      "marca modelo"
      "combustible cambio"
      "desde hasta"
      "precio precio"
      "kilometros kilometros"
      "busqueda busqueda"
      "acciones acciones";
    gap: 22px 12px;
  }

  .filters.filters-modern .search-btn {
    width: 100%;
    min-width: 0;
  }

  .filters.filters-modern .range-heading output {
    font-size: 12px;
  }
}

/* =========================================
   BÚSQUEDA PERSONALIZADA - FONDO EN MÓVIL
========================================= */

@media (max-width: 768px) {

  .request-section {
    position: relative;
    display: block;
    overflow: hidden;
    isolation: isolate;
    min-height: 650px;
    border-radius: 16px;
    background: #101722;
  }

  /* Imagen ocupando todo el fondo */
  .request-section .request-visual {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
  }

  /* Degradado oscuro para facilitar la lectura */
  .request-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
      180deg,
      rgba(8, 12, 19, 0.48) 0%,
      rgba(8, 12, 19, 0.78) 38%,
      rgba(8, 12, 19, 0.96) 100%
    );
  }

  /* Texto encima de la fotografía */
  .request-section .request-copy {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 35px 24px;
    background: transparent;
  }

  .request-section .request-copy h2 {
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
  }

  .request-section .request-copy > p:not(.kicker) {
    color: #f1f1f1;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
  }

  .request-section .request-benefits {
    position: relative;
    z-index: 1;
  }

  .request-section .request-benefits li {
    color: #ffffff;
  }

  .request-section .request-open {
    width: 100%;
  }

}

/* =========================================
   TASACIÓN · DISEÑO DE FONDO PARA MÓVIL
   PC: SE MANTIENE SIN CAMBIOS
========================================= */

@media (max-width: 700px) {

  .sell-section {
    position: relative;
    display: block;
    overflow: hidden;
    isolation: isolate;
    border-radius: 16px;
    min-height: 700px;
    background: #10151e;
  }

  /* Imagen como fondo de toda la sección */
  .sell-visual {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  /* Oscurecer la imagen para facilitar la lectura */
  .sell-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(
        180deg,
        rgba(8, 11, 17, 0.88) 0%,
        rgba(8, 11, 17, 0.72) 45%,
        rgba(8, 11, 17, 0.45) 100%
      );
    z-index: 1;
  }

  /* Eliminar el cuadrado COMPRA DIRECTA */
  .sell-stat {
    display: none !important;
  }

  /* Texto y contenido por encima de la imagen */
  .sell-copy {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 30px 22px;
    background: transparent;
  }

  .sell-copy h2 {
    max-width: 100%;
  }

  .sell-desc {
    max-width: 100%;
  }

  /* Botones */
  .sell-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .sell-buttons .btn {
    width: 100%;
    justify-content: center;
  }

}

/* =========================================
   AUTO KING · FOOTER PREMIUM
========================================= */

.site-footer {
  position: relative;
  width: 100%;
  margin-top: 80px;
  padding: 65px 7% 0;
  background:
    radial-gradient(
      ellipse at 85% 15%,
      rgba(255, 55, 38, 0.09),
      transparent 35%
    ),
    #090b10;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: #fff;
  overflow: hidden;
}

/* Línea superior */
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 7%;
  width: 120px;
  height: 3px;
  background: #f04432;
}

/* =========================================
   AUTO KING · FOOTER PREMIUM CON MAPA
========================================= */

.site-footer {
  position: relative;
  width: 100%;
  margin-top: 80px;
  padding: 65px 5% 0;
  color: #fff;
  background:
    radial-gradient(
      ellipse at 80% 10%,
      rgba(240, 68, 50, .09),
      transparent 35%
    ),
    #090b10;
  border-top: 1px solid rgba(255,255,255,.09);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 5%;
  width: 110px;
  height: 3px;
  background: #f04432;
}

/* DISTRIBUCIÓN GENERAL */

.footer-main {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding-bottom: 55px;

  display: grid;
  grid-template-columns:
    minmax(0, 1.15fr)
    minmax(130px, .7fr)
    minmax(0, 1fr)
    minmax(260px, 1.25fr);

  gap: 40px;
  align-items: start;
}

.footer-main > div {
  min-width: 0;
}

/* MARCA */

.footer-brand {
  max-width: none;
}

.footer-logo {
  display: inline-flex;
  margin-bottom: 22px;
}

.footer-logo img {
  display: block;
  width: 175px;
  height: auto;
  object-fit: contain;
}

.footer-brand > p {
  max-width: 310px;
  margin: 0 0 22px;
  color: #a6a9b1;
  font-size: 13px;
  line-height: 1.9;
}

.footer-location {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #e5c58a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
}

.location-dot {
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #f04432;
  box-shadow: 0 0 10px rgba(240,68,50,.7);
}

/* ACCESOS RÁPIDOS */

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.footer-social a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 50%;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  text-decoration: none;
  transition: .25s;
}

.footer-social a:hover {
  background: #f04432;
  border-color: #f04432;
  transform: translateY(-3px);
}

/* TÍTULOS DE COLUMNAS */

.footer-links h3,
.footer-contact h3,
.footer-map h3 {
  margin: 8px 0 25px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.5px;
}

.footer-links h3::after,
.footer-contact h3::after,
.footer-map h3::after {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  margin-top: 12px;
  background: #f04432;
}

/* ENLACES */

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.footer-links a {
  color: #a6a9b1;
  font-size: 13px;
  text-decoration: none;
  transition: .25s;
}

.footer-links a:hover {
  color: #f04432;
  transform: translateX(4px);
}

/* CONTACTO */

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-contact h3 {
  margin-bottom: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  width: 35px;
  height: 35px;
  border: 1px solid rgba(240,68,50,.35);
  border-radius: 8px;
  color: #f04432;
  font-size: 17px;
}

.footer-contact-item small {
  display: block;
  margin-bottom: 6px;
  color: #777e8c;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
}

.footer-contact-item p,
.footer-contact-item a {
  display: inline-block;
  margin: 0;
  color: #c4c6cc;
  font-size: 12px;
  line-height: 1.8;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.footer-contact-item a:hover {
  color: #f04432;
}

/* MAPA */

.footer-map {
  width: 100%;
}

.footer-map-frame {
  width: 100%;
  height: 210px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px;
  background: #171b24;
}

.footer-map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(75%) contrast(1.05);
  transition: filter .3s;
}

.footer-map-frame:hover iframe {
  filter: grayscale(0%) contrast(1);
}

.footer-map-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
  color: #f04432;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1px;
  text-decoration: none;
}

.footer-map-link span {
  font-size: 16px;
}

/* BARRA INFERIOR */

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 23px 0;
  border-top: 1px solid rgba(255,255,255,.1);
}

.footer-bottom > span {
  color: #737987;
  font-size: 10px;
  letter-spacing: .5px;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-bottom-links a {
  color: #969ba6;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  text-decoration: none;
  transition: .2s;
}

.footer-bottom-links a:hover {
  color: #f04432;
}

/* PORTÁTILES Y TABLETS */

@media (max-width: 1100px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-map-frame {
    height: 230px;
  }
}

/* MÓVILES */

@media (max-width: 600px) {
  .site-footer {
    margin-top: 55px;
    padding: 42px 22px 0;
  }

  .site-footer::before {
    left: 22px;
    width: 85px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 36px 20px;
    padding-bottom: 35px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-logo img {
    width: 160px;
  }

  .footer-brand > p {
    max-width: 380px;
    font-size: 13px;
  }

  .footer-links h3,
  .footer-contact h3,
  .footer-map h3 {
    font-size: 11px;
  }

  .footer-links a {
    font-size: 12px;
  }

  .footer-contact {
    gap: 17px;
  }

  .footer-contact-item {
    gap: 9px;
  }

  .footer-contact-item p,
  .footer-contact-item a {
    font-size: 11px;
  }

  .footer-icon {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .footer-map {
    grid-column: 1 / -1;
  }

  .footer-map-frame {
    height: 220px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 22px 0;
  }

  .footer-bottom > span {
    font-size: 9px;
    line-height: 1.7;
  }

  .footer-bottom-links {
    gap: 16px;
  }
}

/* MÓVILES PEQUEÑOS */

@media (max-width: 360px) {
  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-brand,
  .footer-map {
    grid-column: auto;
  }
}

/* =====================================
   FOOTER AUTO KING - AJUSTE DEFINITIVO
===================================== */

/* Distribución de escritorio */
@media (min-width: 1101px) {
  .footer-main {
    display: grid;
    width: 100%;
    max-width: 1500px;
    grid-template-columns:
      minmax(230px, 1.15fr)
      minmax(155px, .7fr)
      minmax(235px, 1fr)
      minmax(300px, 1.3fr);
    gap: clamp(28px, 3vw, 55px);
    align-items: start;
  }

  .footer-brand {
    width: 100%;
    max-width: 340px;
  }

  .footer-brand > p {
    max-width: 320px;
    width: 100%;
  }

  .footer-links,
  .footer-contact,
  .footer-map {
    width: 100%;
    min-width: 0;
  }

  .footer-links a,
  .footer-contact-item p,
  .footer-contact-item a {
    overflow-wrap: normal;
    word-break: normal;
  }
}

/* Pantallas intermedias */
@media (min-width: 601px) and (max-width: 1100px) {
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 45px 35px;
  }

  .footer-brand {
    max-width: 100%;
  }
}

.footer-logo img {
  display: block;
  width: 175px;
  max-width: 100%;
  height: 65px;
  object-fit: contain;
}

/* MAPA A TODO COLOR */
.footer-map-frame iframe {
  filter: none !important;
  transition: transform .3s ease;
}

.footer-map-frame:hover iframe {
  filter: none !important;
}

/* ICONOS */
.footer-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  color: #ff5948;
  background: rgba(240,68,50,.09);
  border: 1px solid rgba(240,68,50,.35);
  border-radius: 9px;
}

.footer-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* AJUSTE MÓVIL: CONSERVAR LA DISTRIBUCIÓN */
@media (max-width: 600px) {
  .footer-logo {
    padding: 10px 13px;
  }

  .footer-logo img {
    width: 160px;
    height: 58px;
  }

  .footer-icon {
    width: 30px;
    height: 30px;
  }

  .footer-icon svg {
    width: 16px;
    height: 16px;
  }
}

/* LOGO FOOTER: MISMO NEGRO QUE LA BARRA SUPERIOR */
.footer-brand .logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 230px;
  height: 105px;
  padding: 12px;
  background: #000000 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: hidden;
}

.footer-brand .logo-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent !important;
  mix-blend-mode: normal;
}

@media (max-width: 600px) {
  .footer-brand .logo {
    width: 190px;
    height: 85px;
  }
}

/* =========================================
   AUTO KING · NEGRO REAL EN FOOTER Y LOGO
========================================= */

/* Fondo negro uniforme, sin degradados */
.site-footer {
  background: #000000 !important;
  background-image: none !important;
  color: #ffffff;
}

/* Evitar que el fondo del logo forme un cuadrado */
.footer-brand .logo {
  background: #000000 !important;
  border: none !important;
  box-shadow: none !important;
}

/* Imagen del logo */
.footer-brand .logo-image,
.footer-logo img {
  background: #000000 !important;
  mix-blend-mode: normal;
}

/* Mantener el detalle rojo superior */
.site-footer::before {
  background: #ef352e;
}

/* Mantener el mapa a todo color */
.footer-map-frame iframe {
  filter: none !important;
}

/* =========================================
   HERO · IMAGEN DE FONDO EN MÓVIL (≤ 760px)
   La foto del coche pasa a ser el fondo del Hero, con
   el texto encima (mismo criterio que «Lo buscamos»).
   Las etiquetas superpuestas se ocultan solo en móvil.
   Escritorio y tablet: sin cambios.
========================================= */

@media (max-width: 760px) {

  .hero {
    isolation: isolate;
  }

  /* La foto ocupa todo el Hero, por detrás del texto */
  .hero-visual {
    position: absolute;
    inset: 64px 0 0 0;
    z-index: -1;
    height: auto;
    min-height: 0;
  }

  /* Capa oscura para que el texto se lea perfectamente */
  .hero-car {
    background-image:
      linear-gradient(
        180deg,
        rgba(9, 9, 9, 0.62) 0%,
        rgba(9, 9, 9, 0.72) 45%,
        rgba(9, 9, 9, 0.92) 100%
      ),
      url("./images/hero.jpg");
    background-size: cover;
    background-position: 64% center;
  }

  /* El texto queda sobre la foto */
  .hero-copy {
    background: transparent;
  }

  .hero h1 {
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
  }

  .hero-desc {
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
  }

  /* Etiquetas «Vehículos de ocasión» y «Atención personalizada» */
  .hero-feature {
    display: none;
  }

}
/* =========================================================
   AJUSTES 25/11/2026 · menú, búsqueda personalizada,
   mapa de contacto, footer y horario del hero
========================================================= */

/* ---------- 1. Alemania: sin botón ni nota (solo espaciado) ---------- */
.market-heading-secondary { margin-top: 60px; }
#carGridAlemania { margin-bottom: 0; }

/* ---------- 2. Menú: escritorio (≥ 1101 px) y hamburguesa (≤ 1100 px) ---------- */
.nav { gap: clamp(14px, 1.6vw, 26px); }
.nav a { position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav a:hover::after, .nav a.activo::after { transform: scaleX(1); }
.nav a.activo { color: #fff; }

.menu-btn { display: none; position: relative; z-index: 1002; width: 46px; height: 46px; place-items: center; padding: 0; border: 0; background: none; color: #fff; font-size: 0; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 24px; height: 2px; background: currentColor; transition: transform .35s cubic-bezier(.22,1,.36,1), background .2s; }
.menu-btn span { position: relative; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -8px; }
.menu-btn span::after { top: 8px; }
body.menu-abierto .menu-btn span { background: transparent; }
body.menu-abierto .menu-btn span::before { transform: translateY(8px) rotate(45deg); background: var(--red); }
body.menu-abierto .menu-btn span::after { transform: translateY(-8px) rotate(-45deg); background: var(--red); }

.menu-movil {
  position: fixed; z-index: 999; inset: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  padding: calc(72px + 18px) clamp(22px, 6vw, 60px) calc(26px + env(safe-area-inset-bottom));
  overflow-y: auto; background: #000; visibility: hidden; opacity: 0; transform: translateY(-10px);
  transition: opacity .4s cubic-bezier(.22,1,.36,1), transform .4s cubic-bezier(.22,1,.36,1), visibility 0s linear .4s;
}
body.menu-abierto { overflow: hidden; }
body.menu-abierto .menu-movil { visibility: visible; opacity: 1; transform: none; transition: opacity .4s cubic-bezier(.22,1,.36,1), transform .4s cubic-bezier(.22,1,.36,1); }
.menu-movil-nav { display: flex; flex-direction: column; }
.menu-movil-nav a {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: clamp(10px, 2vh, 17px) 0;
  border-bottom: 1px solid #222326; color: #fff; font-family: "Anton", Impact, sans-serif; font-size: clamp(22px, min(6.4vw, 4.3vh), 36px); font-weight: 400; letter-spacing: .6px; line-height: 1.1;
  transition: color .2s, padding .25s ease;
}
.menu-movil-nav a::after { content: "→"; color: var(--red); font-family: "Inter", Arial, sans-serif; font-size: 20px; font-weight: 700; transition: transform .25s ease; }
.menu-movil-nav a:hover, .menu-movil-nav a.activo { color: var(--red); }
.menu-movil-nav a:hover::after { transform: translateX(4px); }
.menu-movil-pie { display: grid; gap: 10px; padding: 18px; background: #0d0d0e; border: 1px solid #232427; border-left: 3px solid var(--red); }
.menu-movil-dato { display: grid; gap: 4px; padding: 6px 0; }
.menu-movil-dato + .menu-movil-dato { padding-top: 14px; border-top: 1px solid #222326; }
.menu-movil-dato small { color: var(--red); font-size: 9px; font-weight: 800; letter-spacing: 1.8px; }
.menu-movil-dato strong { color: #fff; font-size: 15px; font-weight: 700; }
.menu-movil-dato:hover strong { color: var(--red-bright); }

@media (max-width: 1100px) {
  .nav { display: none !important; }
  .menu-btn { display: grid; }
}
@media (min-width: 1101px) {
  .menu-movil { display: none; }
}
@media (max-width: 760px) {
  .menu-movil { padding-top: calc(64px + 12px); }
}

/* ---------- 3. Búsqueda personalizada: cuadros numerados (como «Valoramos tu coche») ---------- */
.request-benefits { gap: 14px; margin: 24px 0 30px; }
.request-benefits li { display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: center; padding-left: 0; }
.request-benefits li::before { content: none; }
.request-benefits li > span {
  width: 38px; height: 38px; display: grid; place-items: center; color: var(--red);
  background: rgba(239,53,46,.08); border: 1px solid rgba(239,53,46,.45); font-size: 11px; font-weight: 800;
}
.request-benefits li > p { margin: 0; color: #fff; font-size: 13px; line-height: 1.5; }

/* ---------- 4. Contacto: mapa bajo Cómo llegar · Llamar · WhatsApp ---------- */
.contacto-mapa { max-width: 1000px; margin: 34px auto 0; text-align: left; }
.contacto-mapa .footer-map-frame { height: 340px; }
.contacto-mapa .btn { margin: 0; }
@media (max-width: 760px) {
  .contacto-mapa { margin-top: 26px; }
  .contacto-mapa .footer-map-frame { height: 280px; }
}

/* Footer: tres columnas (marca · explora · contacto) ahora que el mapa no está */
@media (min-width: 1101px) {
  .footer-main { grid-template-columns: minmax(240px, 1.2fr) minmax(160px, .8fr) minmax(260px, 1fr); }
}
@media (min-width: 601px) and (max-width: 1100px) {
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

/* ---------- 5. Horario en tiempo real en el hero ---------- */
.hero-estado {
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; min-height: 42px; margin-top: 22px; padding: 9px 16px 9px 13px;
  background: rgba(255,255,255,.05); border: 1px solid #2e2f33; border-left: 2px solid var(--red);
  color: #e9e9eb; font-size: 11px; font-weight: 700; letter-spacing: .4px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.hero-estado:hover { border-color: #47484d; border-left-color: var(--red); }
.hero-estado i { width: 9px; height: 9px; flex-shrink: 0; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(239,53,46,.2); }
.hero-estado.abierto i { background: #35d07f; box-shadow: 0 0 0 4px rgba(53,208,127,.22); animation: ak-latido 2.4s infinite; }
@keyframes ak-latido { 50% { box-shadow: 0 0 0 7px rgba(53,208,127,.06); } }
@media (max-width: 760px) {
  .hero-estado { align-self: stretch; justify-content: center; margin-top: 16px; background: rgba(0,0,0,.45); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-estado.abierto i { animation: none; }
  .menu-movil, body.menu-abierto .menu-movil { transition: none; }
}

/* ---------- Formularios por WhatsApp (26/11/2026) ----------
   Tasación: explicación visible de las fotos (se adjuntan en el chat de WhatsApp).
   Ambos formularios: confirmación «Tu mensaje está preparado» con botón para abrir WhatsApp. */
.valuation-fotos-info {
  position: relative; margin: 0 50px 30px; padding: 24px 26px 8px; overflow: hidden;
  background: radial-gradient(circle at 100% 0, rgba(37,211,102,.10), transparent 55%), #0e0f11;
  border: 1px solid #2a2b2f; border-left: 3px solid #25d366;
}
.vw-kicker { color: #25d366; font-size: 10px; font-weight: 800; letter-spacing: 2px; }
.vw-titulo { margin-top: 8px; color: #fff; font-family: "Anton", Impact, sans-serif; font-size: clamp(24px, 3vw, 30px); font-weight: 400; letter-spacing: .4px; line-height: 1.05; }
.vw-texto { max-width: 640px; margin-top: 10px; color: #c9c9ce; font-size: 13px; line-height: 1.65; }
.vw-lista { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 18px 0 20px; list-style: none; }
.vw-lista li { position: relative; padding: 12px 12px 12px 34px; background: rgba(255,255,255,.03); border: 1px solid #26272b; }
.vw-lista li::before { content: "✓"; position: absolute; left: 12px; top: 11px; color: #25d366; font-weight: 800; }
.vw-lista strong { display: block; color: #fff; font-size: 12px; }
.vw-lista small { display: block; margin-top: 2px; color: #8e8f95; font-size: 10px; line-height: 1.4; }

.wa-confirmacion { display: grid; justify-items: start; gap: 10px; margin-top: 18px; padding: 20px 22px; background: rgba(37,211,102,.05); border: 1px solid rgba(37,211,102,.3); border-left: 3px solid #25d366; }
.wa-confirmacion strong { color: #fff; font-size: 12px; font-weight: 800; letter-spacing: 1.2px; }
.wa-confirmacion p { color: #c9c9ce; font-size: 12px; line-height: 1.6; }
.wa-confirmacion p b { color: #fff; }
.wa-confirmacion .btn { min-width: 220px; }
.wa-confirmacion small { color: #8e8f95; font-size: 10px; line-height: 1.5; }
.valuation-confirmacion { margin: 0 50px 40px; }
@media (max-width: 900px) { .vw-lista { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .valuation-fotos-info { margin: 0 22px 24px; padding: 20px 18px 6px; }
  .valuation-confirmacion { margin: 0 22px 30px; }
  .wa-confirmacion .btn { width: 100%; min-width: 0; }
}
