/**
 * CTR Autos — estilos públicos (mobile-first, tema automotriz premium).
 */
:root {
  --site-header-height: calc(5.5rem + env(safe-area-inset-top, 0px));
  --bg: #1d1d1b;
  --bg-elev: #252522;
  --accent: #003dff;
  --accent-dim: #0026b0;
  --text: #ffffff;
  --muted: #b8b8b4;
  --line: rgba(255, 255, 255, 0.08);
  --radius: 14px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --font: "Montserrat", system-ui, sans-serif;
  --display: "Oswald", "Montserrat", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.site-body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* WhatsApp flotante */
.wa-float {
  position: fixed;
  right: max(18px, env(safe-area-inset-right, 0px));
  bottom: max(18px, env(safe-area-inset-bottom, 0px));
  z-index: 180;
  width: 62px;
  height: 62px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #000;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
  border: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.52);
}
.wa-float:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(0, 61, 255, 0.28), 0 18px 44px rgba(0, 0, 0, 0.45);
}
.wa-float__img {
  width: 40px;
  height: 40px;
  display: block;
  object-fit: contain;
  filter: none;
  background: transparent;
  border: 0;
}
.wa-float__icon { display: none; }

/* Contacto */
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.25rem, 3vw, 1.75rem);
  align-items: stretch;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}
.contact-card--form label {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.05rem;
}
.contact-card--form input,
.contact-card--form select,
.contact-card--form textarea {
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.contact-card--form textarea {
  min-height: 220px;
  resize: vertical;
}
.contact-card--form input:focus-visible,
.contact-card--form select:focus-visible,
.contact-card--form textarea:focus-visible {
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(0, 61, 255, 0.28);
  background: rgba(0, 0, 0, 0.34);
}
.contact-card--form input::placeholder,
.contact-card--form textarea::placeholder { color: rgba(255, 255, 255, 0.55); }
.contact-card__title {
  margin: 0 0 1rem;
  font-family: var(--display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 1.35rem;
}
.req { color: #ff4d4d; margin-left: .25rem; }

.contact-info { padding: 0.75rem 0; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.contact-info:first-of-type { border-top: 0; padding-top: 0; }
.contact-info__label {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 0.35rem;
}
.contact-info__value { color: rgba(255, 255, 255, 0.9); font-size: 0.95rem; }

.btn--block { width: 100%; justify-content: center; }

.contact-cta {
  margin-top: 1.15rem;
  border-radius: 16px;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.45);
}
.contact-cta h3 {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 1.25rem;
}
.contact-cta p {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.93rem;
}
.contact-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1rem;
  min-width: 220px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.2);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
}
.contact-cta__btn.is-disabled { opacity: 0.55; pointer-events: none; }

.contact-cta--wa {
  background: linear-gradient(135deg, rgba(0, 200, 120, 0.22), rgba(0, 120, 70, 0.22));
  border-color: rgba(0, 200, 120, 0.35);
}
.contact-cta--wa .contact-cta__btn { background: rgba(0, 0, 0, 0.22); }
.contact-cta--maps {
  background: linear-gradient(135deg, rgba(0, 61, 255, 0.22), rgba(12, 22, 60, 0.22));
  border-color: rgba(0, 61, 255, 0.35);
}

.site-main {
  padding-top: var(--site-header-height);
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

.shell {
  box-sizing: border-box;
  width: min(1120px, 100%);
  margin-inline: auto;
  padding-inline: max(4vw, env(safe-area-inset-left, 0px)) max(4vw, env(safe-area-inset-right, 0px));
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: .5rem 1rem;
  z-index: 1000;
}
.skip-link:focus { left: 0; }

/* --- Header: fijo; negro en interior; inicio transparente sobre el hero hasta salir del video --- */
.site-header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 100;
  background: #000000;
  border-bottom: none;
  backdrop-filter: none;
  padding-top: env(safe-area-inset-top, 0px);
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
  transition:
    background 0.4s ease,
    box-shadow 0.3s ease;
}
/* Inicio: negro arriba → transparente al 40%; desde 40% mismo degradado hacia el borde inferior */
.site-header--home:not(.is-past-home-hero) {
  background: linear-gradient(
    to bottom,
    #000000 0%,
    rgba(0, 0, 0, 0.82) 14%,
    rgba(0, 0, 0, 0.35) 32%,
    rgba(0, 0, 0, 0.12) 46%,
    rgba(0, 0, 0, 0) 62%,
    rgba(0, 0, 0, 0) 100%
  );
}
.site-header--home.is-past-home-hero {
  background: #000000;
}
.site-header.is-scrolled {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.site-header--home:not(.is-past-home-hero) .brand__logo {
  height: 54px;
}
.site-header--home.is-past-home-hero .brand__logo {
  height: 40px;
}

@media (max-width: 380px) {
  .site-header--home:not(.is-past-home-hero) .brand__logo {
    height: 42px;
  }
}

.site-header--home:not(.is-past-home-hero) .nav-link {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.92);
}
.site-header--home.is-past-home-hero .nav-link {
  font-size: 0.82rem;
}

.site-header--home:not(.is-past-home-hero) .lang-btn {
  font-size: 0.82rem;
  padding: 0.4rem 0.72rem;
}
.site-header--home.is-past-home-hero .lang-btn {
  font-size: 0.75rem;
  padding: 0.35rem 0.65rem;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem 1.25rem;
  padding: 0.85rem 0;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  z-index: 2;
}
.brand__logo {
  height: 40px;
  width: auto;
  display: block;
  transition: height 0.4s ease;
}

.header__accent {
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.85;
}

.header__trailing {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-left: auto;
  flex-shrink: 0;
  z-index: 2;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  z-index: 110;
  -webkit-tap-highlight-color: transparent;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}
.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
}
.nav-toggle.is-active {
  background: rgba(0, 61, 255, 0.2);
  border-color: rgba(0, 61, 255, 0.45);
  box-shadow: 0 0 20px rgba(0, 61, 255, 0.25);
}
.nav-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background: var(--text);
  border-radius: 1px;
  transition:
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease;
  transform-origin: center;
}
.nav-toggle.is-active .nav-toggle__bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle.is-active .nav-toggle__bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle.is-active .nav-toggle__bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: max-content;
  max-width: min(100%, calc(100% - 240px));
  pointer-events: auto;
}

.header__lang {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  align-items: center;
}

.nav-link {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0;
  position: relative;
  color: var(--muted);
  transition:
    color 0.2s ease,
    font-size 0.35s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}
.nav-link:hover { color: var(--text); }
.nav-link:hover::after { width: 100%; }

.lang-switch {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}
.lang-btn {
  background: transparent;
  border: 0;
  color: var(--muted);
  padding: 0.35rem 0.65rem;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 700;
  transition:
    font-size 0.35s ease,
    padding 0.35s ease,
    background 0.2s ease,
    color 0.2s ease;
}
.lang-btn:hover {
  color: var(--text);
}
.lang-btn.is-active {
  background: var(--accent);
  color: #fff;
}

/* Fondo al abrir el menú móvil */
.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 104;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(0, 0, 0, 0.52);
  -webkit-backdrop-filter: blur(8px) saturate(1.1);
  backdrop-filter: blur(8px) saturate(1.1);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  -webkit-tap-highlight-color: transparent;
  transition:
    opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.4s;
}
.nav-backdrop.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

@media (min-width: 901px) {
  .nav-backdrop {
    display: none;
  }
}

body.is-nav-open {
  overflow: hidden;
  touch-action: none;
}

@media (max-width: 900px) {
  .header__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.5rem 0.75rem;
  }
  .brand {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }
  .header__trailing {
    display: contents;
  }
  .header__lang {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .nav-toggle {
    display: flex;
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }
  .site-nav {
    grid-column: 1 / -1;
    grid-row: 1;
    align-self: center;
    position: fixed;
    left: auto;
    right: 0;
    top: 0;
    bottom: 0;
    height: 100vh;
    height: 100dvh;
    margin: 0;
    width: min(320px, 86vw);
    max-width: none;
    max-height: 100dvh;
    transform: translateX(100%);
    padding:
      max(5.25rem, calc(1.25rem + env(safe-area-inset-top, 0px)))
      1.35rem
      max(2rem, env(safe-area-inset-bottom, 0px));
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    background:
      linear-gradient(180deg, rgba(0, 61, 255, 0.12) 0%, transparent 42%),
      var(--bg-elev);
    border-left: 1px solid rgba(0, 61, 255, 0.22);
    box-shadow:
      -28px 0 60px rgba(0, 0, 0, 0.55),
      inset 1px 0 0 rgba(255, 255, 255, 0.06);
    transition:
      transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.45s ease;
    z-index: 105;
    pointer-events: none;
  }
  .site-nav.is-open {
    transform: translateX(0);
    pointer-events: auto;
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.2rem;
  }
  .site-nav .nav-list li {
    opacity: 0;
    transform: translateX(18px);
    transition:
      opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: 0s;
  }
  .site-nav.is-open .nav-list li {
    opacity: 1;
    transform: translateX(0);
  }
  .site-nav.is-open .nav-list li:nth-child(1) { transition-delay: 0.05s; }
  .site-nav.is-open .nav-list li:nth-child(2) { transition-delay: 0.09s; }
  .site-nav.is-open .nav-list li:nth-child(3) { transition-delay: 0.13s; }
  .site-nav.is-open .nav-list li:nth-child(4) { transition-delay: 0.17s; }
  .site-nav.is-open .nav-list li:nth-child(5) { transition-delay: 0.21s; }
  .site-nav.is-open .nav-list li:nth-child(6) { transition-delay: 0.25s; }
  .site-nav.is-open .nav-list li:nth-child(7) { transition-delay: 0.29s; }
  .site-nav .nav-link {
    display: block;
    padding: 0.85rem 0.75rem;
    border-radius: 12px;
    font-size: 0.88rem;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.88);
    transition:
      color 0.2s ease,
      background 0.2s ease,
      transform 0.2s ease;
  }
  .site-nav .nav-link::after {
    display: none;
  }
  .site-nav .nav-link:hover,
  .site-nav .nav-link:focus-visible {
    color: #fff;
    background: rgba(0, 61, 255, 0.18);
    transform: translateX(4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-toggle__bar,
  .site-nav,
  .site-nav .nav-list li,
  .nav-backdrop {
    transition-duration: 0.01ms !important;
  }
  .site-nav.is-open .nav-list li {
    transition-delay: 0s !important;
  }
}

/* --- Hero --- */
.hero {
  position: relative;
  padding: clamp(2rem, 6vw, 4rem) 0 3rem;
  overflow: hidden;
}

/* Hero con video de fondo (presentacion.mp4) */
.hero--video {
  margin-top: calc(-1 * var(--site-header-height));
  padding-top: var(--site-header-height);
  /* vh → svh/dvh: altura real en móviles (barra de URL / notch) */
  min-height: min(100vh, 960px);
  min-height: min(100svh, 960px);
  min-height: min(100dvh, 960px);
  padding-bottom: 0;
}
.hero__video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  width: 100%;
  height: 100%;
}
.hero__video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  -o-object-fit: cover;
}

/* Móvil: evita bandas superior/inferior (grietas por redondeo en Safari / vídeo con letterbox en el archivo) */
@media (max-width: 900px) {
  .hero--video .hero__video {
    inset: auto;
    left: 50%;
    top: 50%;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%) scale(1.06);
    transform-origin: center center;
  }
}

.hero__video-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 62%,
    rgba(0, 0, 0, 0.08) 82%,
    rgba(0, 0, 0, 0.18) 100%
  );
}

.hero__bg {
  position: absolute;
  inset: -20% -10% 40%;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(0, 61, 255, 0.35), transparent 55%),
    radial-gradient(ellipse at 80% 30%, rgba(255, 255, 255, 0.06), transparent 50%),
    linear-gradient(180deg, var(--bg-elev), var(--bg));
  pointer-events: none;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 40px rgba(0, 61, 255, 0.35);
}
.btn--primary:hover { background: #1a4fff; }
.btn--secondary {
  background: #fff;
  color: var(--bg);
}
.btn--ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--text);
  background: transparent;
}
.btn--ghost-light {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  background: transparent;
}
.btn--small { font-size: 0.7rem; padding: 0.5rem 1rem; }

/* --- Sections --- */
.section { padding: clamp(3rem, 8vw, 5rem) 0; }
.section--dark { background: #171715; }
.section--accent {
  background: linear-gradient(135deg, #0a1428, #151826);
  border-block: 1px solid var(--line);
}
.section__head { margin-bottom: 2rem; }
.section__title {
  font-family: var(--display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  text-transform: uppercase;
  margin: 0;
  letter-spacing: 0.04em;
}
.section__title--light { color: #fff; }
.section__cta { text-align: center; margin-top: 2rem; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}
.card-grid--catalog {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 1.5rem;
}
.card-grid--catalog .empty-state {
  grid-column: 1 / -1;
  text-align: center;
}
/* Motos destacadas: mismas tarjetas cuadradas grandes */
.card-grid--catalog.card-grid--3 {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
}
.card-grid--3:not(.card-grid--catalog) {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

/* Tarjetas catálogo (imagen full + overlay) */
.v-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  transition: transform 0.3s ease, border-color 0.3s, box-shadow 0.3s;
}
.v-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 61, 255, 0.45);
  box-shadow: 0 20px 50px rgba(0, 61, 255, 0.15);
}

.v-card--catalog .v-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.v-card__visual {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  border-radius: inherit;
  overflow: hidden;
  background: #111;
}

.v-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.v-card__bg--ph {
  background: linear-gradient(155deg, #2c2c29 0%, #121211 45%, #0a0a09 100%);
}

.v-card__scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.62) 0%,
    rgba(0, 0, 0, 0.08) 25%,
    rgba(0, 0, 0, 0.15) 52%,
    rgba(0, 0, 0, 0.88) 100%
  );
}

.v-card__badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 3;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.v-card__badge--venta {
  background: rgba(0, 61, 255, 0.92);
  color: #fff;
}
.v-card__badge--renta {
  background: rgba(18, 24, 38, 0.92);
  color: #b8c4ff;
  border-color: rgba(0, 61, 255, 0.45);
}

.v-card__brand {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  max-width: calc(100% - 5rem);
}

.v-card__brand-img {
  max-height: 38px;
  max-width: 110px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.65));
}

.v-card__brand-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 0.45rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: #fff;
}

.v-card--catalog .v-card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 0.65rem 0.9rem 0.85rem;
}

.v-card__eyebrow {
  margin: 0 0 0.2rem;
  font-size: 0.78rem;
  font-weight: 600;
  font-style: italic;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

.v-card--catalog .v-card__title {
  margin: 0 0 0.15rem;
  font-size: clamp(0.98rem, 2.4vw, 1.18rem);
  font-weight: 800;
  font-style: italic;
  line-height: 1.15;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.v-card--catalog .v-card__price {
  margin: 0 0 0.55rem;
  font-size: 1.12rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.v-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.15rem;
  align-items: center;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.v-card__spec {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
}

.v-card__icon {
  flex-shrink: 0;
  color: #003dff;
  filter: drop-shadow(0 0 8px rgba(0, 61, 255, 0.5));
}

.v-card__spec-txt {
  font-size: 0.76rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
}

.v-card--catalog:hover .v-card__bg {
  transform: scale(1.05);
}

/* Compatibilidad: tarjetas antiguas con bloque imagen + body */
.v-card__img {
  aspect-ratio: 4/3;
  background: #111;
  overflow: hidden;
}
.v-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.v-card:hover .v-card__img img { transform: scale(1.06); }
.v-card:not(.v-card--catalog) .v-card__body { padding: 1rem 1.1rem 1.25rem; }
.v-card__meta { margin: 0; font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }
.v-card:not(.v-card--catalog) .v-card__title { margin: 0.35rem 0; font-size: 1rem; font-weight: 700; }
.v-card:not(.v-card--catalog) .v-card__price { margin: 0; color: var(--accent); font-weight: 800; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 1rem;
}
.svc-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius);
 padding: 1.25rem;
}
.svc-card h3 { margin-top: 0; font-size: 1rem; }

/* Page hero */
.page-hero {
  padding: clamp(2.5rem, 7vw, 4rem) 0 1.5rem;
  border-bottom: 1px solid var(--line);
}
.page-hero--sm { padding-bottom: 1rem; }

.page-hero--cars {
  position: relative;
  padding: clamp(2.75rem, 8vw, 4.5rem) 0 clamp(1.75rem, 4vw, 2.5rem);
  border-bottom: none;
  background:
    radial-gradient(ellipse 120% 80% at 10% 0%, rgba(0, 61, 255, 0.18), transparent 55%),
    radial-gradient(ellipse 80% 60% at 90% 20%, rgba(255, 255, 255, 0.04), transparent 45%),
    linear-gradient(180deg, #141416 0%, var(--bg) 100%);
  border-bottom: 1px solid rgba(0, 61, 255, 0.15);
}
.page-hero--cars__inner {
  position: relative;
}
.page-hero--cars-center .page-hero--cars__inner {
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
}
.page-hero--cars-center .page-lead--cars {
  margin-inline: auto;
}
.page-hero__rule--center {
  margin-inline: auto;
}
.page-hero__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
}
.page-hero__rule {
  width: min(8rem, 28vw);
  height: 4px;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), rgba(0, 61, 255, 0.15), transparent);
}
.page-lead--cars {
  max-width: 36rem;
  font-size: clamp(0.92rem, 2vw, 1.02rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.62);
}

.section--catalog {
  padding-top: clamp(2rem, 5vw, 2.75rem);
}

.catalog-dual {
  display: flex;
  flex-direction: column;
  gap: clamp(2.25rem, 5vw, 3.25rem);
}

.catalog-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}
.catalog-section__title {
  font-family: var(--display);
  font-size: clamp(1.15rem, 3vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}
.catalog-section--venta .catalog-section__title {
  color: #fff;
}
.catalog-section--renta .catalog-section__title {
  color: rgba(200, 210, 255, 0.95);
}
.catalog-section__meta {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.filters--cars {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.cars-type-switch {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: clamp(1.35rem, 3vw, 1.85rem);
}
.cars-type-switch__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 10.5rem;
  padding: 0.72rem 1.35rem;
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
  transition:
    color 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.2s ease;
}
.cars-type-switch__btn:hover {
  color: #fff;
  border-color: rgba(0, 61, 255, 0.45);
  background: rgba(0, 61, 255, 0.12);
  transform: translateY(-2px);
}
.cars-type-switch__btn.is-active {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 10px 32px rgba(0, 61, 255, 0.35);
}
.cars-type-switch__btn.is-active:hover {
  background: #1a4fff;
  border-color: #1a4fff;
}

.page-title {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}
.page-title.page-title--cars {
  font-size: clamp(2.1rem, 6vw, 3.35rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  margin: 0 0 0.85rem;
  line-height: 1.05;
  text-shadow: 0 0 40px rgba(0, 61, 255, 0.25);
}
.page-lead { color: var(--muted); margin: 0; max-width: 40rem; }
.page-price { color: var(--accent); font-weight: 800; font-size: 1.5rem; margin: 0.5rem 0 0; }
.crumb { color: var(--muted); font-size: 0.85rem; margin: 0 0 0.5rem; }
.crumb a { color: var(--accent); }

/* Filters */
.filters {
  margin-bottom: 2rem;
  padding: 1rem;
  background: var(--bg-elev);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.filters__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: flex-end;
}
.filters__field { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.filters__field--grow { flex: 1 1 200px; }
.filters select, .filters input {
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  font-family: inherit;
  min-width: 140px;
}

.filters__search-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  padding-bottom: 0.65rem;
  margin-bottom: 0.35rem;
  border-bottom: 1px solid var(--line);
}
.filters__search-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1;
  flex-shrink: 0;
}
.filters__btn-search {
  flex-shrink: 0;
  margin-right: 0.1rem;
}
.filters__search-input-wrap {
  flex: 1 1 200px;
  min-width: min(100%, 220px);
}
.filters__search-input {
  width: 100%;
  box-sizing: border-box;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  font-family: inherit;
}

.filters__toggle-bar {
  display: flex;
  justify-content: center;
  margin: 0.15rem 0 0.5rem;
}
.filters__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.48rem 1.1rem;
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.filters__toggle--accent {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 8px 28px rgba(0, 61, 255, 0.32);
}
.filters__toggle--accent:hover {
  color: #fff;
  background: #1a4fff;
  border-color: #1a4fff;
  box-shadow: 0 12px 36px rgba(0, 61, 255, 0.4);
  transform: translateY(-1px);
}
.filters__toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.filters__toggle-text--show,
.filters__toggle-text--hide {
  white-space: nowrap;
}

.filters__advanced--collapsed {
  display: none;
}

.filters__advanced-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-end;
}
.filters__advanced-actions .btn,
.filters__advanced-actions .filters__btn-clear {
  font-size: 0.64rem;
  padding: 0.38rem 0.72rem;
  letter-spacing: 0.08em;
}
.filters__submit-advanced {
  align-self: auto;
}
.filters__btn-clear {
  text-align: center;
}

.empty-state { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 2rem; }

/* Detalle vehículo (40% tarjeta glass + 60% galería — azul neón / negro / texto blanco) */
.site-main > .vehicle-detail-page {
  width: 100%;
  max-width: 100%;
  position: relative;
  left: auto;
  margin-left: 0;
  overflow-x: clip;
  box-sizing: border-box;
}

.vehicle-detail-page {
  --vd-accent: var(--accent);
  --vd-black: #0a0a0a;
  --vd-glass-bg: rgba(6, 8, 18, 0.78);
  --vd-glass-bg-fallback: rgba(10, 12, 22, 0.92);
  --vd-neon: rgba(0, 61, 255, 0.9);
  --vd-neon-soft: rgba(0, 61, 255, 0.45);
  --vd-text: #ffffff;
  --vd-text-dim: rgba(255, 255, 255, 0.82);
  display: grid;
  grid-template-columns: minmax(0, 40%) minmax(0, 60%);
  min-height: calc(100vh - var(--site-header-height));
  min-height: calc(100dvh - var(--site-header-height));
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  background: var(--vd-black);
}

.vehicle-detail-page__panel {
  background: transparent;
  color: var(--vd-text);
  border-right: none;
  box-shadow: none;
  padding: clamp(0.65rem, 2vw, 1rem) clamp(0.5rem, 2vw, 0.85rem) clamp(0.65rem, 2vw, 1rem) clamp(0.65rem, 2vw, 1rem);
  position: relative;
  left: auto;
  top: auto;
  align-self: stretch;
  width: auto;
  min-width: 0;
  max-width: 100%;
  height: auto;
  max-height: none;
  overflow: visible;
  z-index: 2;
}

.vehicle-detail-page__panel-inner {
  padding: clamp(1.1rem, 3vw, 1.4rem) clamp(1rem, 2.5vw, 1.25rem) clamp(1.35rem, 3vw, 1.75rem);
  padding-bottom: max(clamp(1.35rem, 3vw, 1.75rem), env(safe-area-inset-bottom, 0px));
  min-width: 0;
  max-width: 100%;
  background: var(--vd-glass-bg-fallback);
  background: var(--vd-glass-bg);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  backdrop-filter: blur(18px) saturate(1.15);
  border: 1px solid var(--vd-neon-soft);
  border-radius: 16px;
  box-shadow:
    0 0 0 1px rgba(0, 61, 255, 0.35),
    0 0 24px rgba(0, 61, 255, 0.28),
    0 0 48px rgba(0, 61, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.vehicle-detail-page__head {
  margin-bottom: 0.35rem;
}

.vehicle-detail-page__title {
  font-family: var(--display);
  font-size: clamp(1rem, 2.4vw, 1.4rem);
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0;
  padding-left: 0.35rem;
  border-left: 4px solid var(--vd-accent);
  color: var(--vd-text);
  text-shadow: 0 0 24px rgba(0, 61, 255, 0.35);
  word-break: break-word;
  overflow-wrap: anywhere;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.vehicle-detail-page__price {
  margin: 0.65rem 0 1.25rem;
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.5vw, 1.7rem);
  font-weight: 800;
  color: var(--vd-text);
  letter-spacing: 0.02em;
  text-shadow: 0 0 20px var(--vd-neon-soft), 0 0 40px rgba(0, 61, 255, 0.25);
}

.vehicle-detail-page__block {
  margin-bottom: 1.5rem;
}

.vehicle-detail-page__block-title {
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 0.85rem;
  color: var(--vd-text);
  padding-bottom: 0.35rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.22);
}

.vehicle-detail-page__specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.85rem, 2.2vw, 1.05rem) clamp(0.5rem, 2vw, 0.85rem);
}

.vehicle-detail-page__spec {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
  min-width: 0;
}

.vehicle-detail-page__panel-inner > section.vehicle-detail-page__block:first-of-type .vehicle-detail-page__block-title {
  font-size: clamp(0.98rem, 2.6vw, 1.14rem);
  letter-spacing: 0.16em;
}

.vehicle-detail-page__spec-dot {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  margin-top: 0.48rem;
  background: var(--vd-accent);
  border-radius: 1px;
  transform: rotate(45deg);
  box-shadow: 0 0 10px rgba(0, 61, 255, 0.85);
}

.vehicle-detail-page__spec-body {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  min-width: 0;
}

.vehicle-detail-page__spec-label {
  font-family: var(--display);
  font-size: clamp(0.98rem, 2.85vw, 1.14rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--vd-text);
}

.vehicle-detail-page__spec-value {
  font-family: var(--font);
  font-size: clamp(1.15rem, 3.35vw, 1.36rem);
  font-weight: 600;
  color: var(--vd-text-dim);
  word-break: break-word;
}

/* Descripción: mismo estilo oscuro del detalle; texto blanco ~50% más grande */
.vehicle-detail-page__block--desc {
  padding: 0;
  background: transparent;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}

.vehicle-detail-page__block--desc .vehicle-detail-page__block-title {
  color: var(--vd-text);
  border-bottom-color: rgba(255, 255, 255, 0.22);
}

.vehicle-detail-page__block--desc .vehicle-detail-page__prose {
  font-family: var(--font);
  font-size: clamp(1.002rem, 3.024vw, 1.181rem);
  line-height: 1.65;
  color: var(--vd-text);
  margin: 0;
  font-weight: 500;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.vehicle-detail-page__block--contact .vehicle-detail-page__block-title {
  border-bottom-color: var(--vd-neon);
  box-shadow: 0 1px 0 rgba(0, 61, 255, 0.35);
}

.vehicle-detail-page__advisor {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-bottom: 0.85rem;
}

.vehicle-detail-page__advisor-badge {
  flex: 0 0 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  color: var(--vd-text);
  font-family: var(--display);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  border: 1px solid var(--vd-neon-soft);
  box-shadow: 0 0 14px rgba(0, 61, 255, 0.25);
}

.vehicle-detail-page__advisor-text {
  margin: 0;
  font-family: var(--font);
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--vd-text-dim);
}

.vehicle-detail-page__btn-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  min-height: 3.25rem;
  padding: 1.05rem 1.15rem;
  margin-bottom: 0.75rem;
  background: var(--vd-accent);
  color: #fff;
  font-family: var(--font);
  font-size: clamp(0.8rem, 2.2vw, 0.92rem);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: none;
  text-decoration: none;
  transition: filter 0.2s, transform 0.15s;
  box-sizing: border-box;
}

.vehicle-detail-page__btn-wa svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.vehicle-detail-page__btn-wa:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 0 28px rgba(0, 61, 255, 0.55), 0 12px 36px rgba(0, 61, 255, 0.35);
}

.vehicle-detail-page__btn-agenda {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  min-height: 3.25rem;
  padding: 1.05rem 1.15rem;
  margin-top: 0;
  margin-bottom: 0;
  font-family: var(--font);
  font-size: clamp(0.8rem, 2.2vw, 0.92rem);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--vd-text);
  border: 2px solid var(--vd-neon);
  background: rgba(0, 61, 255, 0.08);
  text-decoration: none;
  box-sizing: border-box;
  box-shadow: 0 0 18px rgba(0, 61, 255, 0.25);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.vehicle-detail-page__btn-agenda:hover {
  background: var(--vd-accent);
  color: #fff;
  box-shadow: 0 0 28px rgba(0, 61, 255, 0.45);
  transform: translateY(-1px);
}

.vehicle-detail-page__advisor + .vehicle-detail-page__btn-agenda {
  margin-top: 0.85rem;
}

.vehicle-detail-page__back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.5rem;
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--vd-text);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s, text-shadow 0.2s;
}

.vehicle-detail-page__back:hover {
  color: var(--vd-text);
  text-shadow: 0 0 16px rgba(0, 61, 255, 0.6);
  border-bottom-color: var(--vd-accent);
}

.vehicle-detail-page__back-icon {
  font-size: 1.25rem;
  line-height: 1;
  font-weight: 900;
}

.vehicle-detail-page__media {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--site-header-height));
  min-height: calc(100dvh - var(--site-header-height));
  min-width: 0;
  width: 100%;
  max-width: 100%;
  background: var(--vd-black);
}

.vehicle-detail-page__mainwrap {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  width: 100%;
}

.vehicle-detail-page__mainshot {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem clamp(2.75rem, 6vw, 3.5rem) 0.65rem;
  min-height: 0;
  width: 100%;
}

.vehicle-detail-page__main-zoomhit {
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  cursor: zoom-in;
  display: block;
  max-width: 100%;
  line-height: 0;
  border-radius: 4px;
  transition: box-shadow 0.2s;
}

.vehicle-detail-page__main-zoomhit:hover,
.vehicle-detail-page__main-zoomhit:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--vd-accent), 0 0 24px rgba(0, 61, 255, 0.35);
}

.vehicle-detail-page__main-zoomhit img {
  max-width: 100%;
  max-height: min(82vh, calc(100vh - var(--site-header-height) - 168px));
  max-height: min(82dvh, calc(100dvh - var(--site-header-height) - 168px));
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  vertical-align: bottom;
}

.vehicle-detail-page__main-nav {
  position: absolute;
  z-index: 3;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(44px, 10vw, 52px);
  height: clamp(52px, 12vw, 64px);
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  background: rgba(10, 10, 10, 0.72);
  color: #fff;
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s, box-shadow 0.2s;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.vehicle-detail-page__main-nav:hover,
.vehicle-detail-page__main-nav:focus-visible {
  border-color: var(--vd-accent);
  color: var(--vd-accent);
  box-shadow: 0 0 20px rgba(0, 61, 255, 0.45);
  outline: none;
}

.vehicle-detail-page__main-nav--prev {
  left: clamp(0.35rem, 1.5vw, 0.85rem);
}

.vehicle-detail-page__main-nav--next {
  right: clamp(0.35rem, 1.5vw, 0.85rem);
}

.vehicle-detail-page__ph {
  width: min(100%, 720px);
  aspect-ratio: 16 / 10;
  background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
  border: 1px solid #222;
}

.vehicle-detail-page__thumbbar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem 1.35rem;
  flex-shrink: 0;
}

.vehicle-detail-page__thumbs {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  flex: 1;
  width: 100%;
  min-width: 0;
  padding: 0.2rem 0;
  scrollbar-width: thin;
  scrollbar-color: var(--vd-accent) #1a1a1a;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
}

.vehicle-detail-page__thumbs::-webkit-scrollbar {
  height: 6px;
}

.vehicle-detail-page__thumbs::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 3px;
}

.vehicle-detail-page__thumb {
  flex: 0 0 auto;
  width: clamp(118px, 28vw, 152px);
  height: clamp(88px, 21vw, 114px);
  padding: 0;
  border: 2px solid #2a2a2a;
  overflow: hidden;
  cursor: pointer;
  background: #111;
  transition: border-color 0.2s, transform 0.15s;
  scroll-snap-align: start;
}

.vehicle-detail-page__thumb:hover,
.vehicle-detail-page__thumb:focus-visible {
  border-color: #666;
}

.vehicle-detail-page__thumb.is-active {
  border-color: var(--vd-accent);
  box-shadow: 0 0 0 1px var(--vd-accent);
}

.vehicle-detail-page__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Lightbox galería vehículo: pantalla completa + zoom */
.vd-lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-end;
  padding: 0;
  background: #030303;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
  max-height: 100vh;
  max-height: 100dvh;
}

.vd-lightbox.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.vd-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  cursor: pointer;
}

.vd-lightbox__close {
  position: absolute;
  top: max(clamp(0.5rem, 2vw, 1rem), env(safe-area-inset-top, 0px));
  right: max(clamp(0.5rem, 2vw, 1rem), env(safe-area-inset-right, 0px));
  z-index: 6;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  background: rgba(20, 20, 20, 0.9);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.vd-lightbox__close:hover,
.vd-lightbox__close:focus-visible {
  border-color: var(--vd-accent);
  color: var(--vd-accent);
  outline: none;
}

.vd-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: clamp(48px, 12vw, 56px);
  height: clamp(56px, 14vw, 68px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  background: rgba(10, 10, 10, 0.78);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.vd-lightbox__nav:hover,
.vd-lightbox__nav:focus-visible {
  border-color: var(--vd-accent);
  color: var(--vd-accent);
  box-shadow: 0 0 20px rgba(0, 61, 255, 0.4);
  outline: none;
}

.vd-lightbox__nav--prev {
  left: max(clamp(0.35rem, 2vw, 1rem), env(safe-area-inset-left, 0px));
}

.vd-lightbox__nav--next {
  right: max(clamp(0.35rem, 2vw, 1rem), env(safe-area-inset-right, 0px));
}

.vd-lightbox__stage {
  position: relative;
  flex: 1;
  min-height: 0;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: none;
  cursor: grab;
  padding: clamp(3rem, 10vw, 4.5rem) clamp(3rem, 10vw, 4.5rem) 0.5rem;
  box-sizing: border-box;
}

.vd-lightbox.is-dragging .vd-lightbox__stage {
  cursor: grabbing;
}

.vd-lightbox__pan {
  transform-origin: center center;
  will-change: transform;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vd-lightbox__pan img {
  max-width: min(96vw, 100%);
  max-height: min(78vh, 100%);
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
}

.vd-lightbox__toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.65rem 1rem max(0.35rem, env(safe-area-inset-bottom, 0px));
  flex-shrink: 0;
  z-index: 6;
}

.vd-lightbox__zoombtn {
  min-width: 52px;
  height: 48px;
  padding: 0 1rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  background: rgba(25, 25, 25, 0.95);
  color: #fff;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.vd-lightbox__zoombtn:hover,
.vd-lightbox__zoombtn:focus-visible {
  border-color: var(--vd-accent);
  color: var(--vd-accent);
  outline: none;
}

.vd-lightbox__hint {
  margin: 0;
  padding: 0 max(1rem, env(safe-area-inset-right, 0px)) max(1rem, env(safe-area-inset-bottom, 0px)) max(1rem, env(safe-area-inset-left, 0px));
  text-align: center;
  font-size: clamp(0.68rem, 2.5vw, 0.78rem);
  color: rgba(255, 255, 255, 0.55);
  flex-shrink: 0;
  z-index: 6;
}

body.vd-lightbox-open {
  overflow: hidden;
}

/* Detalle: sección de recomendados */
.vehicle-related {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 960px) {
  .vehicle-detail-page {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .vehicle-detail-page__media {
    order: -1;
    min-height: clamp(220px, 48vh, 520px);
    min-height: clamp(220px, 48svh, 520px);
  }

  .vehicle-detail-page__panel {
    position: relative;
    top: auto;
    max-height: none;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    border-right: none;
    border-top: none;
    box-shadow: none;
    overflow-x: clip;
    padding: 0.75rem clamp(0.5rem, 3.5vw, 1rem) 1rem;
    padding-left: max(0.5rem, env(safe-area-inset-left, 0px));
    padding-right: max(0.5rem, env(safe-area-inset-right, 0px));
  }

  .vehicle-detail-page__panel-inner {
    padding: 1.05rem clamp(0.75rem, 4vw, 1.25rem) 1.65rem;
    border-radius: clamp(12px, 3vw, 16px);
  }

  .vehicle-detail-page__mainshot {
    padding: 0.85rem clamp(2.15rem, 6.5vw, 2.75rem) 0.45rem;
  }

  .vehicle-detail-page__main-zoomhit img {
    max-height: min(50vh, calc(100vh - var(--site-header-height) - 200px));
    max-height: min(50svh, calc(100svh - var(--site-header-height) - 200px));
  }

  .vehicle-detail-page__thumbbar {
    padding: 0.5rem max(0.65rem, env(safe-area-inset-left, 0px)) 1rem max(0.65rem, env(safe-area-inset-right, 0px));
  }

  .vehicle-detail-page__specs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem clamp(0.35rem, 2.2vw, 0.6rem);
  }

  .vehicle-detail-page__block--desc .vehicle-detail-page__prose {
    font-size: clamp(0.735rem, 3.08vw, 1.085rem);
    line-height: 1.62;
  }

  .vehicle-detail-page__block--contact .vehicle-detail-page__block-title {
    letter-spacing: 0.12em;
    font-size: clamp(0.65rem, 2.8vw, 0.72rem);
  }

  .vehicle-related .shell {
    padding-inline: max(0.85rem, env(safe-area-inset-left, 0px)) max(0.85rem, env(safe-area-inset-right, 0px));
  }
}

@media (max-width: 520px) {
  .vehicle-detail-page__specs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem 0.25rem;
  }

  .vehicle-detail-page__media {
    min-height: clamp(200px, 42vh, 400px);
    min-height: clamp(200px, 42svh, 400px);
  }

  .vehicle-detail-page__panel-inner {
    padding: 0.95rem clamp(0.65rem, 4.5vw, 1rem) max(1.35rem, env(safe-area-inset-bottom, 0px));
  }

  .vehicle-detail-page__title {
    font-size: clamp(0.82rem, 4.8vw, 1.2rem);
    letter-spacing: 0.04em;
  }

  .vehicle-detail-page__price {
    font-size: clamp(1.02rem, 5.2vw, 1.45rem);
  }

  .vehicle-detail-page__panel-inner > section.vehicle-detail-page__block:first-of-type .vehicle-detail-page__block-title {
    font-size: clamp(0.78rem, 3.6vw, 1rem);
  }

  .vehicle-detail-page__spec-label {
    font-size: clamp(0.68rem, 3.4vw, 0.95rem);
    letter-spacing: 0.05em;
  }

  .vehicle-detail-page__spec-value {
    font-size: clamp(0.82rem, 3.9vw, 1.08rem);
  }

  .vehicle-detail-page__thumb {
    width: clamp(100px, 32vw, 140px);
    height: clamp(75px, 24vw, 105px);
  }

  .vehicle-detail-page__main-nav {
    width: 42px;
    height: 50px;
  }

  .vehicle-detail-page__main-nav--prev {
    left: max(0.25rem, env(safe-area-inset-left, 0px));
  }

  .vehicle-detail-page__main-nav--next {
    right: max(0.25rem, env(safe-area-inset-right, 0px));
  }

  .vehicle-related .card-grid--catalog.card-grid--3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 380px) {
  .vehicle-detail-page__block--desc .vehicle-detail-page__prose {
    font-size: clamp(0.686rem, 3.36vw, 0.896rem);
  }

  .vehicle-detail-page__spec-dot {
    flex: 0 0 6px;
    width: 6px;
    height: 6px;
    margin-top: 0.4rem;
  }

  .vehicle-detail-page__spec {
    gap: 0.35rem;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .vehicle-detail-page__panel-inner {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: var(--vd-glass-bg-fallback);
  }
}

.prose { color: var(--muted); margin-bottom: 1.5rem; }

/* Services showcase */
.service-showcase { display: flex; flex-direction: column; gap: 2rem; }
.service-showcase__head {
  padding: clamp(1.1rem, 2.2vw, 1.6rem);
  border-radius: 16px;
  border: 1px solid rgba(0, 61, 255, 0.25);
  background:
    radial-gradient(120% 140% at 10% 10%, rgba(0, 61, 255, 0.2), transparent 50%),
    linear-gradient(180deg, rgba(22, 22, 24, 0.95), rgba(13, 13, 15, 0.95));
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3);
}
.service-showcase__kicker {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  font-weight: 800;
  color: rgba(145, 170, 255, 0.92);
  text-transform: uppercase;
}
.service-showcase__title {
  margin: 0.55rem 0 0;
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: clamp(1.1rem, 2.2vw, 1.7rem);
}
.service-showcase__lead {
  margin: 0.8rem 0 0;
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.65;
}
.service-showcase__empty {
  margin: 0;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
}
.svc-block {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.5rem;
  align-items: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.svc-block:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 61, 255, 0.48);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.38);
}
@media (max-width: 768px) { .svc-block { grid-template-columns: 1fr; } }
.svc-block__img {
  min-height: 230px;
  background: #111;
  position: relative;
  overflow: hidden;
}
.svc-block__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.svc-block:hover .svc-block__img img {
  transform: scale(1.05);
}
.svc-block__body { padding: clamp(1.1rem, 2.2vw, 1.6rem); }
.svc-block__num {
  margin: 0;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  font-weight: 800;
  color: rgba(150, 175, 255, 0.95);
}
.svc-block__body h2 {
  margin: 0.45rem 0 0.85rem;
  font-size: clamp(1.04rem, 2.1vw, 1.42rem);
}
.svc-block__body .prose {
  margin: 0;
  color: rgba(255, 255, 255, 0.77);
  line-height: 1.72;
}

/* Allies */
.allies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr));
  gap: 1.25rem;
}
.ally-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--bg-elev);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: border-color 0.25s, transform 0.25s;
}
.ally-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.ally-card__logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1rem;
  background: #fff;
  display: grid;
  place-items: center;
}
.ally-card__logo img { width: 100%; height: 100%; object-fit: contain; }
.ally-card__ph { font-weight: 800; color: var(--bg); }
.ally-card h2 { margin: 0; font-size: 1rem; }

/* Nuevas tarjetas de aliados (neón) */
.allies-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: clamp(1.1rem, 2.4vw, 1.6rem);
}
.ally-card2 {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(0, 61, 255, 0.22);
  box-shadow:
    0 0 0 1px rgba(0, 61, 255, 0.12) inset,
    0 18px 58px rgba(0, 0, 0, 0.55),
    0 0 30px rgba(0, 61, 255, 0.18);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.ally-card2::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 10% 10%, rgba(0, 61, 255, 0.28), transparent 55%),
    radial-gradient(90% 80% at 90% 20%, rgba(255, 255, 255, 0.06), transparent 60%);
  opacity: 0.9;
}
.ally-card2:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 61, 255, 0.5);
  box-shadow:
    0 0 0 1px rgba(0, 61, 255, 0.2) inset,
    0 26px 78px rgba(0, 0, 0, 0.6),
    0 0 46px rgba(0, 61, 255, 0.28);
}
.ally-card2__media {
  position: relative;
  height: 210px;
  background: #0b0f1e;
  overflow: hidden;
}
.ally-card2__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
  transform: scale(1.02);
}
.ally-card2__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 20%, rgba(10, 12, 18, 0.72) 100%);
}
.ally-card2__media-ph {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 90% at 20% 20%, rgba(0, 61, 255, 0.22), transparent 55%),
    linear-gradient(135deg, rgba(10, 12, 18, 0.6), rgba(10, 12, 18, 0.9));
}
.ally-card2__logo {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 58px;
  height: 58px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 61, 255, 0.35);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35), 0 0 22px rgba(0, 61, 255, 0.18);
  display: grid;
  place-items: center;
  z-index: 2;
}
.ally-card2__logo img { width: 100%; height: 100%; object-fit: contain; }
.ally-card2__logo-ph { font-weight: 900; color: #0b0f1e; }

.ally-card2__body {
  position: relative;
  padding: 1.15rem 1.15rem 1.05rem;
  z-index: 1;
}
.ally-card2__title {
  margin: 0 0 0.55rem;
  font-family: var(--display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 1.35rem;
  line-height: 1.12;
}
.ally-card2__desc {
  margin: 0 0 0.9rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ally-card2__meta { display: flex; gap: 0.65rem; flex-wrap: wrap; margin-bottom: 0.95rem; }
.ally-card2__benefit {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  background: rgba(0, 200, 120, 0.14);
  border: 1px solid rgba(0, 200, 120, 0.38);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
  font-size: 0.86rem;
}
.ally-card2__check {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(0, 200, 120, 0.22);
  border: 1px solid rgba(0, 200, 120, 0.45);
  display: grid;
  place-items: center;
  font-size: 12px;
}
.ally-card2__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.ally-card2__chip {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.65rem;
  border-radius: 999px;
  background: rgba(0, 61, 255, 0.18);
  border: 1px solid rgba(0, 61, 255, 0.38);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
  letter-spacing: 0.09em;
  font-size: 0.72rem;
  text-transform: uppercase;
}
.ally-card2__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  padding: 0.7rem 0.95rem;
  border-radius: 12px;
  background: linear-gradient(180deg, #0a3cff, #0030d4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 24px rgba(0, 61, 255, 0.28);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

@media (max-width: 520px) {
  .ally-card2__media { height: 180px; }
  .ally-card2__btn { min-width: 126px; }
}

.ally-cta {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(ellipse 120% 90% at 10% 10%, rgba(0, 61, 255, 0.32), transparent 55%),
    radial-gradient(ellipse 90% 80% at 90% 30%, rgba(255, 255, 255, 0.06), transparent 55%),
    linear-gradient(135deg, #062250 0%, #0531a8 45%, #2a63ff 100%);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.38);
  overflow: hidden;
}
.ally-cta__head {
  padding: clamp(1.6rem, 4vw, 2.4rem) clamp(1.25rem, 3vw, 2rem) 1.25rem;
  text-align: center;
}
.ally-cta__title {
  font-family: var(--display);
  margin: 0 0 0.75rem;
  font-size: clamp(1.55rem, 4.2vw, 2.2rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ally-cta__lead {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  max-width: 48rem;
  margin-inline: auto;
  line-height: 1.6;
  font-size: 0.95rem;
}
.ally-cta__body {
  padding: 1.1rem clamp(1.25rem, 3vw, 2rem) clamp(1.5rem, 3.5vw, 2.1rem);
  background: rgba(10, 12, 18, 0.42);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
  backdrop-filter: blur(10px) saturate(1.1);
}
.ally-cta__form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}
.ally-cta__form input,
.ally-cta__form select,
.ally-cta__form textarea {
  background: rgba(0, 0, 0, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.ally-cta__form input::placeholder,
.ally-cta__form textarea::placeholder {
  color: rgba(255, 255, 255, 0.55);
}
.ally-cta__form input:focus-visible,
.ally-cta__form select:focus-visible,
.ally-cta__form textarea:focus-visible {
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(0, 61, 255, 0.28);
  background: rgba(0, 0, 0, 0.32);
}
.ally-cta__actions {
  margin-top: 0.85rem;
  display: flex;
  justify-content: center;
}
.ally-cta__actions--head {
  margin-top: 1.25rem;
}
.ally-cta--banner .ally-cta__head {
  padding-bottom: clamp(1.6rem, 4vw, 2.4rem);
}
.ally-cta--banner .ally-cta__actions {
  margin-top: 1.25rem;
}

/* Modal (aliados) */
.ally-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: max(1.25rem, env(safe-area-inset-top, 0px)) max(1.25rem, env(safe-area-inset-right, 0px))
    max(1.25rem, env(safe-area-inset-bottom, 0px)) max(1.25rem, env(safe-area-inset-left, 0px));
}
.ally-modal.is-open { display: grid; }
.ally-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.ally-modal__panel {
  position: relative;
  width: min(980px, 100%);
  max-height: min(86vh, 920px);
  overflow: auto;
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.ally-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.95);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 24px;
  line-height: 1;
}
.ally-modal__close:hover { border-color: rgba(255, 255, 255, 0.35); }

body.is-modal-open { overflow: hidden; }
.ally-cta__ok {
  background: rgba(0, 200, 120, 0.16);
  border: 1px solid rgba(0, 200, 120, 0.45);
  color: rgba(255, 255, 255, 0.92);
}

/* Podcast — Del plan al poder (listado + detalle) */
.site-body.site-body--podcast {
  --pod-bg: #121212;
  --pod-card: #1e1e1e;
  --pod-muted: #b0b0b0;
  --pod-line: rgba(255, 255, 255, 0.1);
  --pod-accent: #0047ff;
}
.site-body--podcast .site-main {
  background: var(--pod-bg);
  color: #fff;
}
.site-body--podcast .site-header {
  background: rgba(18, 18, 18, 0.92);
  border-bottom: 1px solid var(--pod-line);
}
.site-body--podcast .site-header.is-scrolled {
  background: rgba(18, 18, 18, 0.97);
}
.site-body--podcast .site-header--home:not(.is-past-home-hero) {
  background: rgba(18, 18, 18, 0.82);
}

.podcast-page {
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
}
.podcast-page__hero {
  text-align: center;
  padding: clamp(2rem, 5vw, 3.5rem) 0 1.25rem;
}
.podcast-page__series-title {
  font-family: "Orbitron", "Oswald", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 4.5vw, 2.65rem);
  letter-spacing: 0.04em;
  margin: 0 0 1rem;
  line-height: 1.15;
  color: #fff;
}
.podcast-page__series-lead {
  max-width: 42rem;
  margin: 0 auto 1.25rem;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  color: var(--pod-muted);
  line-height: 1.55;
}
.podcast-page__rule {
  width: min(22rem, 88vw);
  height: 2px;
  margin: 0 auto;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 71, 255, 0.35), #1a5fff, rgba(0, 71, 255, 0.35), transparent);
  box-shadow: 0 0 14px rgba(26, 95, 255, 0.55);
}
.podcast-page__empty {
  text-align: center;
  color: var(--pod-muted);
  padding: 3rem 1rem;
}
.podcast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: clamp(1.25rem, 3vw, 1.75rem);
  padding-top: 0.5rem;
}

.podcast-card {
  display: flex;
  flex-direction: column;
  background: var(--pod-card);
  border-radius: 16px;
  border: 1px solid var(--pod-line);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.podcast-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
  border-color: rgba(0, 71, 255, 0.35);
}

.podcast-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: #0a0a0a;
  overflow: hidden;
}
.podcast-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.podcast-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 160px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.podcast-card__yt-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  min-width: 32px;
  padding: 0 6px;
  height: 22px;
  border-radius: 4px;
  background: rgba(255, 0, 0, 0.92);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.podcast-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.28);
  transition: background 0.2s ease;
}
.podcast-card__media:hover .podcast-card__play {
  background: rgba(0, 0, 0, 0.4);
}
.podcast-card__play-inner {
  width: clamp(56px, 15vw, 72px);
  height: clamp(56px, 15vw, 72px);
  border-radius: 50%;
  background: linear-gradient(145deg, #1a5fff, var(--pod-accent));
  box-shadow: 0 12px 32px rgba(0, 71, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
}
.podcast-card__play-inner::after {
  content: "";
  margin-left: 4px;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #fff;
}

.podcast-card__body {
  padding: 1.15rem 1.2rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.65rem;
}
.podcast-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}
.podcast-card__title a {
  color: #fff;
  text-decoration: none;
}
.podcast-card__title a:hover {
  color: #9ebeff;
}
.podcast-card__excerpt {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--pod-muted);
  flex: 1;
}
.podcast-card__meta {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  font-size: 0.82rem;
  color: var(--pod-muted);
}
.podcast-card__clock::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 2px;
  vertical-align: -2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23b0b0b0' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' d='M12 8v4l3 2M21 12a9 9 0 11-18 0 9 9 0 0118 0z'/%3E%3C/svg%3E")
    center/contain no-repeat;
}

.podcast-card__cta {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 0.25rem;
  padding: 0.75rem 1rem;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff !important;
  background: var(--pod-accent) !important;
  border: none;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 71, 255, 0.35);
  transition: filter 0.15s ease, transform 0.15s ease;
}
.podcast-card__cta:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

/* Detalle episodio */
.podcast-show {
  background: var(--pod-bg);
  color: #fff;
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}
.podcast-show__shell {
  max-width: 1100px;
}
.podcast-show__back {
  margin: 0 0 1rem;
  padding-top: 0.5rem;
}
.podcast-show__back a {
  color: var(--pod-accent);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}
.podcast-show__back a:hover {
  text-decoration: underline;
}

.podcast-show__iframe-resp {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  border: 1px solid var(--pod-line);
  background: #000;
}
.podcast-show__iframe-resp::before {
  content: "";
  display: block;
  padding-bottom: 56.25%;
}
.podcast-show__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.podcast-show__no-embed {
  padding: 2rem;
  text-align: center;
  background: var(--pod-card);
  border-radius: 16px;
  border: 1px solid var(--pod-line);
  color: var(--pod-muted);
}

.podcast-show__layout {
  display: grid;
  grid-template-columns: 1fr min(100%, 300px);
  gap: clamp(1.5rem, 4vw, 2.5rem);
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
  align-items: start;
}
@media (max-width: 840px) {
  .podcast-show__layout {
    grid-template-columns: 1fr;
  }
}

.podcast-show__title {
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 0.85rem;
  color: #fff;
}
.podcast-show__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  color: var(--pod-muted);
}
.podcast-show__stat {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.podcast-show__stat-ic {
  width: 18px;
  height: 18px;
  opacity: 0.9;
}
.podcast-show__stat-ic--clock {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23b0b0b0' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' d='M12 8v4l3 2M21 12a9 9 0 11-18 0 9 9 0 0118 0z'/%3E%3C/svg%3E")
    center/contain no-repeat;
}
.podcast-show__stat-ic--cal {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23b0b0b0' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z'/%3E%3C/svg%3E")
    center/contain no-repeat;
}
.podcast-show__desc {
  font-size: 0.98rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

.podcast-share {
  background: var(--pod-card);
  border: 1px solid var(--pod-line);
  border-radius: 16px;
  padding: 1.25rem 1.15rem 1.35rem;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.3);
}
.podcast-share__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--pod-accent);
  margin: 0 0 1rem;
}
.podcast-share__btns {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.podcast-share__btn {
  display: block;
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  color: #fff;
  transition: filter 0.15s ease, transform 0.15s ease;
}
.podcast-share__btn:hover {
  filter: brightness(1.06);
}
.podcast-share__btn--fb {
  background: #1877f2;
}
.podcast-share__btn--tw {
  background: #1d9bf0;
}
.podcast-share__btn--wa {
  background: #25d366;
}
.podcast-share__btn--li {
  background: #0a66c2;
}
.podcast-share__btn--tg {
  background: #26a5e4;
}
.podcast-share__btn--copy {
  background: linear-gradient(90deg, #ff4ecd, #ff8a4a);
  color: #fff;
}
.podcast-share__sep {
  height: 1px;
  margin: 1rem 0;
  background: rgba(255, 255, 255, 0.08);
}
.podcast-share__yt {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.75rem 1rem;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff !important;
  background: var(--pod-accent) !important;
  border-radius: 10px;
  border: none;
  box-shadow: 0 8px 22px rgba(0, 71, 255, 0.35);
}
.podcast-share__yt:hover {
  filter: brightness(1.08);
}
.podcast-share__yt--inline {
  margin: 1rem auto 0;
  max-width: 280px;
}

.site-body--podcast .site-footer {
  margin-top: 0;
}
.site-body--podcast .footer__main {
  border-top: 1px solid var(--pod-line, rgba(255, 255, 255, 0.1));
}

/* Forms */
.form-shell { max-width: 540px; }
.form-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--bg-elev);
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.form-card label { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.82rem; font-weight: 600; color: var(--muted); }
.form-card input, .form-card textarea {
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }

.alert { padding: 1rem; border-radius: 10px; margin-bottom: 1rem; }
.alert--error { background: rgba(255, 80, 80, 0.15); border: 1px solid rgba(255, 80, 80, 0.4); }

/* Footer (borde tipo silueta + columnas) */
.site-footer {
  --footer-bg: #0c0c0c;
  --footer-crest-h: clamp(44px, 7vw, 64px);
  margin-top: 0;
  position: relative;
  background: var(--bg);
}

.footer__crest {
  background: var(--bg);
  line-height: 0;
  color: var(--footer-bg);
}

.footer__crest-svg {
  display: block;
  width: 100%;
  height: var(--footer-crest-h);
}

.footer__main {
  background: var(--footer-bg);
  padding-bottom: 2.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  padding: 0.5rem 0 2.25rem;
}

@media (max-width: 960px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer__col--brand {
    grid-column: 1 / -1;
    max-width: 32rem;
  }
}

@media (max-width: 520px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

.footer__heading {
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 1.1rem;
  color: #fff;
}

.footer__heading--brand {
  font-size: 1.15rem;
  letter-spacing: 0.14em;
}

.footer__text {
  margin: 0 0 1.35rem;
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  max-width: 22rem;
}

.footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.footer__social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.footer__social-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: var(--accent);
  transform: translateY(-2px);
}

.footer__social-btn--wa:hover {
  color: #25d366;
}

.footer__links,
.footer__contact,
.footer__hours {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__links li,
.footer__contact li,
.footer__hours li {
  margin-bottom: 0.55rem;
}

.footer__links a,
.footer__contact a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer__links a:hover,
.footer__contact a:hover {
  color: #fff;
}

.footer__contact-label {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.footer__hours li {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.35rem;
}

.footer__rights {
  margin: 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.04em;
}

/* Reveal on scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
