﻿/*
Theme Name: Toyota Monagas By Merchan.Dev & Espressivo Venezuela
Theme URI: https://arturomerchan.com/temas
Author: Merchan.Dev & Espressivo Venezuela
Author URI: https://arturomerchan.com
Description: Tema WordPress moderno para Toyota Monagas, desarrollado por Merchan.Dev & Espressivo Venezuela.
Version: 1.1.6
Text Domain: toyota-monagas
*/

/* ==========================
   VARIABLES GLOBALES
========================== */
:root {
  --toyota-red: #EB0A1E;
  --toyota-black: #0a0a0a;
  --toyota-black-2: #111827;
  --edge-padding: clamp(24px, 4vw, 64px);
  --primary-bg: #f7f7f7;
  --primary-text: #222;
  --heading-font: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  --body-font: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  --container-padding: 20px;
  /* Unified padding for all devices */
  --content-max: min(90vw, 1200px);
  /* 90% width on all devices, max 1200px */
  /* Margen lateral uniforme para secciones (desktop) */
  --edge-margin: 5vw;
  /* 5% margin on each side = 90% content width */
  /* Altura del header fija para separar el contenido del slider */
  --header-h-desktop: 80px;
  --header-h-mobile: 76px;
  --header-h: var(--header-h-desktop);
  --section-spacing-y: clamp(40px, 6vh, 80px);
  /* Slightly reduced for better mobile experience */
  --gap-default: clamp(16px, 3vw, 32px);
}

/* ==========================
   BASE
========================== */
* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  min-height: 100%;
}

body {
  font-family: var(--body-font);
  background-color: var(--primary-bg);
  color: var(--primary-text);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body.nav-open {
  overflow: hidden;
}

/* Empuja el contenido por debajo del header fijo - CORREGIDO */
main#site-main {
  padding-top: var(--header-h) !important;
  /* altura fija para el header luxury-nav */
  padding-bottom: 32px !important;
  /* espacio para el footer */
  margin-top: 0 !important;
  flex: 1 0 auto;
}

/* Elimina cualquier margen del primer bloque para evitar banda blanca */
main#site-main> :first-child {
  margin-top: 0 !important;
  border-top: 0 !important;
}

/* Asegura que el slider inicie pegado al header */
#custom-slider {
  margin-top: 0 !important;
}

/* Contenedor global opcional */
.container {
  width: 100%;
  max-width: var(--content-max, 1200px);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

/* ==========================
   TIPOGRAFÃƒÂA
========================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  color: var(--primary-text);
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

/* ==========================
   BOTONES
========================== */
/* Botï¿½n compacto y moderno con borde mï¿½s redondeado */
.button,
button,
input[type="button"],
input[type="submit"],
.service-btn,
.accesorio-btn,
.producto-btn,
.blog-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--toyota-red);
  color: #fff;
  padding: 0.75em 1.8em;
  border: none;
  border-radius: 100%;
  /* Mï¿½s redondeado */
  font-size: 1.08rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: .2px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s, transform 0.15s;
  min-width: 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  line-height: 1.2;
}

.button:hover,
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
.service-btn:hover,
.accesorio-btn:hover,
.producto-btn:hover,
.blog-btn:hover {
  background-color: #c10818;
  transform: translateY(-2px) scale(1.03);
}

/* ï¿½cono a la derecha (opcional) */
.button i,
.accesorio-btn i {
  margin-left: 0.6em;
  font-size: 1.1em;
  vertical-align: middle;
  transition: transform .18s;
}

.button:hover i,
.accesorio-btn:hover i {
  transform: translateX(2px);
}

/* Ajuste para que no sea tan ancho en pantallas grandes */
.vehiculo-single .vs-cta.button,
.vehiculo-single .vs-cta.accesorio-btn {
  width: auto;
  min-width: 160px;
  max-width: 320px;
  margin-left: 0;
  margin-right: 0;
  padding-left: 2em;
  padding-right: 2em;
  font-size: 1.08rem;
  font-weight: 700;
  border-radius: 24px;
  /* Aplica tambiï¿½n a botones destacados */
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* Responsive: botï¿½n 100% ancho solo en mï¿½vil */
@media (max-width: 600px) {

  .vehiculo-single .vs-cta.button,
  .vehiculo-single .vs-cta.accesorio-btn {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding-left: 1em;
    padding-right: 1em;
  }
}

/* ==========================
   HEADER
========================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  padding: 12px var(--container-padding);
  z-index: 1000;
  transition: background .3s ease, backdrop-filter .3s ease;
}

.site-header.scrolled {
  background: #000;
  backdrop-filter: none;
}

.site-header .main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-logo img {
  height: 34px;
  width: auto;
  display: block;
}

.site-header a {
  color: #fff;
  text-decoration: none;
}

.site-header a:hover {
  color: var(--toyota-red);
}

.site-header .menu {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-header .menu li a {
  padding: 10px 14px;
  position: relative;
  font-weight: 600;
}

.site-header .menu li a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  background: var(--toyota-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.site-header .menu li a:hover::after,
.site-header .menu li.current-menu-item>a::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: rgba(0, 0, 0, .35);
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  transition: transform .25s ease, opacity .25s ease;
}

.site-header.open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header.open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 1024px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-header .menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(6px);
    padding: 16px;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }

  .site-header.open .menu {
    max-height: 320px;
  }
}

/* ==========================
   HEADER MODERNO (nav-modern)
========================== */
.site-header.nav-modern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  padding: 12px var(--container-padding);
  z-index: 1000;
  transition: background .3s ease, backdrop-filter .3s ease, box-shadow .3s ease;
}

.site-header.nav-modern.scrolled {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.site-header.nav-modern .main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header.nav-modern .site-logo img {
  height: 38px;
  width: auto;
  display: block;
  transition: transform .25s ease;
  will-change: transform;
}

.site-header.nav-modern .site-logo:hover img {
  transform: scale(1.06);
}

/* Desktop menu */
.site-header.nav-modern .nav-menu-modern {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-header.nav-modern .nav-menu-modern>li>a {
  color: #fff;
  text-decoration: none;
  padding: 10px 14px;
  display: inline-block;
  position: relative;
  font-weight: 600;
  transition: color .25s ease;
}

.site-header.nav-modern .nav-menu-modern>li>a:hover {
  color: var(--toyota-red);
}

.site-header.nav-modern .nav-menu-modern>li>a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  background: var(--toyota-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.site-header.nav-modern .nav-menu-modern>li>a:hover::after,
.site-header.nav-modern .nav-menu-modern>li.current-menu-item>a::after {
  transform: scaleX(1);
}

/* Mobile toggle */
.nav-toggle-modern {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: rgba(0, 0, 0, .35);
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}

.nav-toggle-modern span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  transition: transform .25s ease, opacity .25s ease;
}

.site-header.open .nav-toggle-modern span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header.open .nav-toggle-modern span:nth-child(2) {
  opacity: 0;
}

.site-header.open .nav-toggle-modern span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ===========================================
/* ===========================================
   MOBILE MENU - CENTERED & SUBMENUS VISIBLE
   =========================================== */
@media (max-width: 1024px) {

  /* Hamburger Button */
  .nav-toggle {
    display: block !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    z-index: 2000 !important;
  }

  .nav-toggle span {
    display: block !important;
    width: 25px !important;
    height: 2px !important;
    background: #fff !important;
    margin: 5px 0 !important;
  }

  /* Fullscreen Overlay - PERFECTLY CENTERED */
  .site-header.luxury-nav .nav-menu {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: #000 !important;
    display: none !important;
    z-index: 1999 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .site-header.luxury-nav .nav-menu.open {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Menu List - CENTERED */
  .site-header.luxury-nav .menu-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 auto !important;
    width: 90% !important;
    max-width: 400px !important;
  }

  .site-header.luxury-nav .menu-list>li {
    border-bottom: 1px solid #333 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .site-header.luxury-nav .menu-list>li::before,
  .site-header.luxury-nav .menu-list>li::after {
    display: none !important;
    content: none !important;
  }

  .site-header.luxury-nav .menu-list>li>a {
    display: block !important;
    padding: 20px 15px !important;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 1.2rem !important;
    text-align: center !important;
  }

  .site-header.luxury-nav .menu-list>li>a::before,
  .site-header.luxury-nav .menu-list>li>a::after {
    display: none !important;
    content: none !important;
  }

  /* Hide toggle button */
  .submenu-toggle {
    display: none !important;
  }

  /* Submenu - ALWAYS VISIBLE */
  .site-header.luxury-nav .sub-menu {
    display: block !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #111 !important;
    position: static !important;
    width: 100% !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .site-header.luxury-nav .menu-list>li:hover>.sub-menu {
    display: block !important;
  }

  .site-header.luxury-nav .sub-menu li {
    border-bottom: 1px solid #222 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .site-header.luxury-nav .sub-menu li::before,
  .site-header.luxury-nav .sub-menu li::after {
    display: none !important;
    content: none !important;
  }

  .site-header.luxury-nav .sub-menu a {
    display: block !important;
    padding: 15px 15px 15px 30px !important;
    color: #ccc !important;
    font-size: 1rem !important;
    text-decoration: none !important;
  }

  .site-header.luxury-nav .sub-menu a::before,
  .site-header.luxury-nav .sub-menu a::after {
    display: none !important;
    content: none !important;
  }
}

/* ==========================
   HEADER LUXURY NAV - REFACTORIZADO
========================== */
.site-header.luxury-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: #000 !important;
  backdrop-filter: none;
  padding: 0 36px;
  z-index: 999;
  transition: background .35s ease;
  height: 80px;
  display: flex !important;
  align-items: center;
  box-sizing: border-box;
}

.site-header.luxury-nav .nav-wrapper {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  height: 100%;
}

/* LOGO */
.site-header.luxury-nav .nav-logo {
  display: flex !important;
  align-items: center;
  flex-shrink: 0;
}

.site-header.luxury-nav .nav-logo a {
  display: flex;
  align-items: center;
}

.site-header.luxury-nav .nav-logo img {
  height: 50px;
  width: auto;
  transition: transform .3s ease;
  display: block !important;
  margin: 0;
}

.site-header.luxury-nav .nav-logo img:hover {
  transform: scale(1.05);
}

/* MENï¿½ CONTENEDOR */
.site-header.luxury-nav .nav-menu {
  flex-grow: 1;
  display: flex !important;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
}

/* ESTILOS PARA MENU DE WORDPRESS (wp_nav_menu) */
.site-header.luxury-nav .nav-menu .menu-list,
.site-header.luxury-nav .nav-menu ul {
  display: flex !important;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
  background: none !important;
  border: none !important;
}

.site-header.luxury-nav .nav-menu .menu-list li,
.site-header.luxury-nav .nav-menu ul li {
  position: relative;
  display: block !important;
  margin: 0;
  padding: 0;
}

/* Submenï¿½s (desktop): ocultos y desplegables */
.site-header.luxury-nav .menu-list li .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #000 !important;
  /* fondo negro sï¿½lido */
  border-radius: 0;
  padding: 8px 0;
  margin: 0;
  list-style: none;
  display: block !important;
  /* override ul flex rule */
  gap: 0 !important;
  height: auto !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
  pointer-events: none;
  z-index: 1000;
}

.site-header.luxury-nav .menu-list li:hover>.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.site-header.luxury-nav .menu-list li .sub-menu li a {
  height: auto;
  padding: 10px 14px;
  display: block !important;
  font-size: 0.95rem;
  white-space: nowrap;
  color: #fff !important;
  background: transparent;
  border-radius: 6px;
}

.site-header.luxury-nav .menu-list li .sub-menu li a:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* Submenï¿½: mantener la lï¿½nea roja debajo del texto, no sobre ï¿½l */
.site-header.luxury-nav .menu-list li .sub-menu li a::after {
  left: 12px;
  right: 12px;
  bottom: 6px;
  /* mï¿½s abajo para items de submenï¿½ (altura menor) */
}

/* Indicador de flecha para items con submenï¿½ */
.site-header.luxury-nav .menu-list li.menu-item-has-children>a {
  padding-right: 28px;
}

.site-header.luxury-nav .menu-list li.menu-item-has-children>a::before {
  content: "\25BE";
  /* ? */
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-45%);
  font-size: .75em;
  line-height: 1;
  color: #fff;
  opacity: .9;
}

.site-header.luxury-nav .menu-list li.menu-item-has-children:hover>a::before {
  transform: translateY(-45%) rotate(180deg);
}

.site-header.luxury-nav .nav-menu .menu-list li a,
.site-header.luxury-nav .nav-menu ul li a {
  text-decoration: none;
  color: #fff !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0 15px;
  height: 80px;
  transition: color .3s ease;
  background: none !important;
  display: inline-flex !important;
  align-items: center;
  position: relative;
  border: none !important;
  margin: 0;
}

.site-header.luxury-nav .nav-menu .menu-list li a:hover,
.site-header.luxury-nav .nav-menu ul li a:hover {
  color: #fff !important;
}

/* Lï¿½NEA ROJA INFERIOR */
.site-header.luxury-nav .nav-menu .menu-list li a::after,
.site-header.luxury-nav .nav-menu ul li a::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 22px;
  /* mï¿½s cerca del texto */
  height: 2px;
  background: #EB0A1E;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}

.site-header.luxury-nav .nav-menu .menu-list li a:hover::after,
.site-header.luxury-nav .nav-menu .menu-list li.current-menu-item>a::after,
.site-header.luxury-nav .nav-menu .menu-list li.current_page_item>a::after,
.site-header.luxury-nav .nav-menu ul li a:hover::after,
.site-header.luxury-nav .nav-menu ul li.current-menu-item>a::after,
.site-header.luxury-nav .nav-menu ul li.current_page_item>a::after,
.site-header.luxury-nav .nav-menu ul li.current_page_parent>a::after {
  transform: scaleX(1);
}

/* BOTï¿½N HAMBURGUESA */
.site-header.luxury-nav .nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 34px;
  height: 26px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.site-header.luxury-nav .nav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: transform .4s ease, opacity .4s ease;
}

.site-header.luxury-nav.open .nav-toggle span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.site-header.luxury-nav.open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.luxury-nav.open .nav-toggle span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Estado activo manejado por JS (mismo efecto que la clase .open) */
.site-header.luxury-nav .nav-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.site-header.luxury-nav .nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.site-header.luxury-nav .nav-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* RESPONSIVE Mï¿½VIL */
@media (max-width: 1024px) {
  .site-header.luxury-nav .nav-toggle {
    display: flex;
  }

  .site-header.luxury-nav .nav-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: #000 !important;
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease;
    justify-content: center;
  }

  .site-header.luxury-nav.open .nav-menu {
    max-height: 90vh;
    overflow-y: auto;
    padding-bottom: 20px;
  }

  .site-header.luxury-nav .nav-menu .menu-list,
  .site-header.luxury-nav .nav-menu ul {
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 20px 0;
    width: 100%;
  }

  .site-header.luxury-nav .nav-menu .menu-list li,
  .site-header.luxury-nav .nav-menu ul li {
    width: 100%;
    text-align: center;
  }

  .site-header.luxury-nav .nav-menu .menu-list li a,
  .site-header.luxury-nav .nav-menu ul li a {
    font-size: 1.2rem;
    height: 60px;
    width: 100%;
    justify-content: center;
    padding: 0 20px;
  }

  .site-header.luxury-nav .nav-menu .menu-list li a::after,
  .site-header.luxury-nav .nav-menu ul li a::after {
    left: 20%;
    right: 20%;
    bottom: 10px;
  }
}

/* AJUSTES Mï¿½VIL PEQUEï¿½O */
@media (max-width: 768px) {
  .site-header.luxury-nav {
    padding: 0 20px;
  }

  .site-header.luxury-nav .nav-logo img {
    height: 45px;
  }
}

/* BOTï¿½N HAMBURGUESA */
.site-header.luxury-nav .nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.site-header.luxury-nav .nav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: transform .4s ease, opacity .4s ease;
}

.site-header.luxury-nav.open .nav-toggle span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.site-header.luxury-nav.open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.luxury-nav.open .nav-toggle span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Responsive */
@media (max-width: 1024px) {
  .site-header.luxury-nav .nav-toggle {
    display: flex;
  }

  .site-header.luxury-nav .nav-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: #000 !important;
    backdrop-filter: none !important;
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease;
  }

  /* Al abrir: ocupar casi toda la pantalla con scroll suave si excede */
  .site-header.luxury-nav.open .nav-menu {
    max-height: 90vh;
    /* bajar mÃƒÂ¡s para cubrir todas las opciones */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 20px;
    /* Unificar fondo con cabecera para evitar lÃƒÂ­nea de corte */
    background: #000 !important;
    backdrop-filter: none !important;
    border-top: 0;
    box-shadow: none;
  }

  /* Cuando el menÃƒÂº estÃƒÂ¡ abierto, igualar el fondo del header */
  .site-header.luxury-nav.open {
    background: #000 !important;
    backdrop-filter: none !important;
    box-shadow: none;
  }

  /* El contenedor del menÃƒÂº no debe tener lÃƒÂ­neas ni sombras */
  .site-header.luxury-nav .nav-menu {
    border-top: 0;
    box-shadow: none;
  }

  .site-header.luxury-nav .menu-list {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
  }

  .site-header.luxury-nav .menu-list li a {
    font-size: 1.2rem;
  }

  /* Submenï¿½s en mï¿½vil */
  .site-header.luxury-nav .menu-list li .sub-menu {
    position: static;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-top: 10px;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease, padding .3s ease;
    padding: 0;
  }

  .site-header.luxury-nav .menu-list li.menu-item-has-children.open .sub-menu {
    max-height: 300px;
    padding: 10px 0;
  }

  .site-header.luxury-nav .menu-list li.menu-item-has-children>a::before {
    content: "?";
    transition: transform .3s ease;
  }

  .site-header.luxury-nav .menu-list li.menu-item-has-children.open>a::before {
    transform: rotate(180deg);
  }
}

/* Ajustes de header en mÃƒÂ³vil: altura y logo mÃƒÂ¡s pequeÃƒÂ±o */
@media (max-width: 768px) {
  :root {
    --header-h: var(--header-h-mobile);
  }

  .site-header.luxury-nav {
    padding: 10px 20px;
  }

  .site-header.luxury-nav .nav-logo img {
    height: 56px;
    margin-top: 2px;
  }
}

/* Menï¿½ Principal */
.site-header.luxury-nav .nav-menu {
  display: flex;
  align-items: center;
}

.site-header.luxury-nav .menu-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.site-header.luxury-nav .menu-list li {
  position: relative;
}

.site-header.luxury-nav .menu-list a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  position: relative;
  transition: all 0.3s ease;
  text-transform: none;
  letter-spacing: 0.5px;
}

/* (limpieza) Eliminado subrayado duplicado basado en width */

/* Menï¿½ mï¿½vil */
@media (max-width: 768px) {
  .site-header.luxury-nav .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 999;
  }

  .site-header.luxury-nav .nav-menu.open {
    transform: translateX(0);
  }

  .site-header.luxury-nav .menu-list {
    flex-direction: column;
    padding: 2rem;
    gap: 0;
  }

  .site-header.luxury-nav .menu-list a {
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid #333;
    font-size: 18px;
  }

  /* (limpieza) sin override del ::after en mï¿½vil para evitar duplicados */
}

/* Header sï¿½lido al hacer scroll */
.site-header.luxury-nav.scrolled {
  background: rgba(0, 0, 0, 0.95) !important;
  backdrop-filter: blur(10px);
}

/* Eliminar espacios en blanco */
body {
  margin: 0;
  padding: 0;
}

/* REFACTORED: Padding removed to fix white space */
main#site-main {
  padding-top: 0 !important;
  margin: 0;
}

/* Ajustes cuando se muestra la barra de administraciï¿½n de WordPress */
body.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

/* Evitar doble espacio entre header y contenido al estar logueado */
body.admin-bar main#site-main {
  padding-top: 0 !important;
}

@media (max-width: 782px) {
  body.admin-bar main#site-main {
    padding-top: 0 !important;
  }
}

/* ==========================
   FOOTER
========================== */
.site-footer {
  background: #000;
  color: #bdbdbd;
  text-align: center;
  padding: 12px var(--container-padding);
  border-top: 1px solid #111;
  flex-shrink: 0;
  width: 100%;
  position: relative;
  bottom: 0;
  left: 0;
  margin-top: auto;
  font-size: 0.9rem;
}

/* ==========================
   SECCIONES CON MÃƒÂRGENES
========================== */
.accesorios-mm,
.info-mm,
.productos-mm,
.blog-mm {
  width: var(--content-max, 1200px);
  margin: 50px auto !important;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

/* Alinea secciones del home en desktop/tablet */
.home main#site-main>section:not(#custom-slider) {
  width: min(1200px, 96vw);
  margin-left: auto;
  margin-right: auto;
}

/* Unificar mï¿½rgenes tambiï¿½n para las otras secciones del home */
#vehiculos,
#sobre-nosotros,
#productos-mm,
#info-mm,
#accesorios-mm,
#blog-mm {
  width: var(--content-max, 1200px);
  margin-left: auto;
  margin-right: auto;
}

/* Ajuste especï¿½fico para la secciï¿½n de vehï¿½culos (alineaciï¿½n original centrada sin ampliar ancho total) */
#vehiculos {
  margin-left: auto;
  margin-right: auto;
  max-width: var(--content-max, 1200px);
  width: 100%;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
  margin-top: 20px;
  margin-bottom: 48px;
}

/* Footer mï¿½s delgado en mï¿½vil y mï¿½rgenes adaptativos */
@media (max-width: 1024px) {
  :root {
    --edge-margin: 32px;
  }
}

@media (max-width: 640px) {
  :root {
    --edge-margin: 16px;
  }

  .site-footer {
    padding: 10px var(--container-padding);
    font-size: 0.85rem;
  }
}

/* ==========================================
   SOBRE NOSOTROS - GALERï¿½A INTERACTIVA
========================================== */
.about-figure.gallery-item {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
  transition: transform .45s cubic-bezier(.16, 1, .3, 1), box-shadow .45s cubic-bezier(.16, 1, .3, 1);
}

.about-figure.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  transform: scale(1);
  transition: transform .9s cubic-bezier(.16, 1, .3, 1), filter .5s ease;
  will-change: transform;
}

.about-figure.gallery-item .gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 10px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.55) 100%);
  opacity: 0;
  transition: opacity .35s ease;
}

.about-figure.gallery-item .gallery-overlay i {
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  padding: 10px 11px;
  border-radius: 50%;
  font-size: 1.05rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .4);
}

.about-figure.gallery-item:hover,
.about-figure.gallery-item:focus-within {
  transform: scale(1.02);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.35);
}

.about-figure.gallery-item:hover img,
.about-figure.gallery-item:focus-within img {
  transform: scale(1.05);
}

.about-figure.gallery-item:hover .gallery-overlay,
.about-figure.gallery-item:focus-within .gallery-overlay {
  opacity: 1;
}

@media (max-width: 768px) {
  .about-figure.gallery-item {
    border-radius: 12px;
  }

  .about-figure.gallery-item:hover,
  .about-figure.gallery-item:focus-within {
    transform: scale(1.015);
  }

  .about-figure.gallery-item:hover img,
  .about-figure.gallery-item:focus-within img {
    transform: scale(1.03);
  }
}

/* Responsivo: mÃƒÂ¡rgenes reducidos en mÃƒÂ³viles */
@media (max-width: 768px) {

  .accesorios-mm,
  .info-mm,
  .productos-mm,
  .blog-mm,
  #vehiculos {
    width: var(--content-max, 1200px);
    margin: 30px auto !important;
  }
}

/* ==========================
   UTILIDADES
========================== */
.mt-0 {
  margin-top: 0 !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.text-center {
  text-align: center !important;
}



@media (max-width: 1024px) {

  /* Submen?s en m?vil con mismo fondo y blur */
  .site-header.luxury-nav .menu-list .sub-menu {
    position: static;
    display: block;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(6px);
    padding: 6px 0;
    border-radius: 8px;
  }
}




.site-header.luxury-nav.no-anim {
  transition: none !important;
}

/* ==========================
   CONTACTO (hero, intro, FAQ)
========================== */
#contacto-header {
  background: #ffffff;
  padding: calc(3rem + 28px) var(--container-padding) 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 75vh;
}

@media (max-width: 768px) {
  #contacto-header {
    padding-top: calc(2.2rem + 24px);
  }
}

#contacto-header .section-header {
  text-align: center;
  position: relative;
}

#contacto-header .section-header::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  background: var(--toyota-red);
  border-radius: 4px;
  margin: .6rem auto 0;
}

#contacto-header .section-header h2 {
  color: #111827;
}

#contacto-header .section-header p {
  color: #111827;
  opacity: .85;
}

#contacto-header .whatsapp-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
}

#contacto-header .mmorichal-form {
  margin: 0 auto;
  width: 100%;
  max-width: 720px;
}

@keyframes contact-fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#contacto-header .mmorichal-form {
  animation: contact-fade-up .6s ease both .05s;
  background: #050505;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

#contacto-header .mmorichal-form label {
  color: #fff;
}

#contacto-header .mmorichal-form input,
#contacto-header .mmorichal-form select,
#contacto-header .mmorichal-form textarea {
  background: #0f172a;
  /* Dark background */
  border: 1px solid #1f2937;
  color: #fff;
}

#contacto-header .mmorichal-form input:focus,
#contacto-header .mmorichal-form select:focus,
#contacto-header .mmorichal-form textarea:focus {
  border-color: var(--toyota-red);
  box-shadow: 0 0 0 4px rgba(235, 10, 30, 0.15);
}

#contacto-header .mmorichal-form select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.2em;
}

#contacto-header .mmorichal-form ::placeholder {
  color: #6b7280;
}

/* Homepage Contact Form (Dark Theme Match) */
#whatsapp-mm .mmorichal-form {
  background: #050505;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

#whatsapp-mm .mmorichal-form label {
  color: #fff;
}

#whatsapp-mm .mmorichal-form input,
#whatsapp-mm .mmorichal-form select,
#whatsapp-mm .mmorichal-form textarea {
  background: #0f172a;
  border: 1px solid #1f2937;
  color: #fff;
}

#whatsapp-mm .mmorichal-form input:focus,
#whatsapp-mm .mmorichal-form select:focus,
#whatsapp-mm .mmorichal-form textarea:focus {
  border-color: var(--toyota-red);
  box-shadow: 0 0 0 4px rgba(235, 10, 30, 0.15);
}

#whatsapp-mm .mmorichal-form select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.2em;
}

#whatsapp-mm .mmorichal-form ::placeholder {
  color: #6b7280;
}

#contacto-info {
  background: #ffffff;
  color: #111827;
  padding: 2rem 0 3rem;
  border-top: 1px solid #f3f4f6;
  text-align: center;
}

#contacto-info .container {
  max-width: 900px;
}

#contacto-info .contacto-info__title {
  margin-top: 0;
}

#contacto-info p {
  margin: 0 0 1rem;
}

#contacto-info .contacto-lista {
  margin: .6rem auto 0;
  padding-left: 1.2rem;
  color: #374151;
  text-align: left;
  display: inline-block;
}

#contacto-info .contacto-lista li {
  margin: .35rem 0;
}

.faq-contacto {
  background: #ffffff;
  padding: 3rem var(--container-padding) 4rem;
}

.faq-contacto .section-header {
  text-align: center;
  position: relative;
}

.faq-contacto .section-header::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  background: var(--toyota-red);
  border-radius: 4px;
  margin: .6rem auto 0;
}

.faq-contacto .section-header h2 {
  color: #111827;
}

.faq-contacto .section-header p {
  color: #111827;
  opacity: .85;
}

.faq-accordion {
  max-width: 980px;
  margin: 0 auto;
}

.faq-item {
  background: linear-gradient(180deg, #fff, #f8fafc);
  border: 1px solid #e5e7eb;
  border-left: 4px solid var(--toyota-red);
  border-radius: 14px;
  padding: .9rem 1.2rem;
  margin-bottom: 1rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
  transition: box-shadow .25s ease, transform .2s ease, border-color .25s ease;
  overflow: hidden;
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, .10);
  border-color: #c10818;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 800;
  color: #111827;
  position: relative;
  padding-right: 34px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 0;
  color: #111827;
  transition: transform .25s ease, color .25s ease;
  font-size: 1.2rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: '-';
  color: var(--toyota-red);
}

.faq-item .faq-body {
  color: #374151;
  padding-top: .6rem;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .25s ease;
}

.faq-item[open] .faq-body {
  grid-template-rows: 1fr;
}

.faq-item .faq-body>* {
  overflow: hidden;
}

/* ==========================
   CONTACTO: MAPA
========================== */
.mapa-contacto {
  background: #ffffff;
  padding: 3rem var(--container-padding) 4rem;
}

.mapa-contacto .section-header {
  text-align: center;
  position: relative;
}

.mapa-contacto .section-header::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  background: var(--toyota-red);
  border-radius: 4px;
  margin: .6rem auto 0;
}

.mapa-contacto .section-header h2 {
  color: #111827 !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
}

.mapa-contacto .section-header p {
  color: #111827 !important;
  opacity: .95;
}

.mapa-contacto .container {
  max-width: none;
  padding-left: 0 !important;
  padding-right: 0 !important;
  width: 100%;
}

.mapa-contacto .map-frame {
  position: relative;
  display: block;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  height: clamp(520px, 56vw, 760px);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(0, 0, 0, .12);
  border: 1px solid #e5e7eb;
  background: #f8fafc;
}

.mapa-contacto .map-frame,
.mapa-contacto iframe {
  max-width: 100% !important;
}

@media (max-width: 1024px) {
  .mapa-contacto .map-frame {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .mapa-contacto .map-frame {
    width: 100%;
    height: clamp(360px, 60vh, 560px);
  }
}

.mapa-contacto .map-frame,
.mapa-contacto iframe {
  max-width: 100% !important;
}

.mapa-contacto .map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(1.05) contrast(1.04);
}

.mapa-contacto .map-frame .map-marker {
  display: none;
}

.mapa-contacto .map-info {
  text-align: center;
  margin-top: 1rem;
}

.mapa-contacto .map-direccion {
  color: #374151;
  margin-bottom: 1rem;
}

/* ==========================
   VEHï¿½CULOS (secciï¿½n catï¿½logo)
========================== */
.vehiculos-mm {
  background: #ffffff;
  padding: 4rem var(--container-padding) 4.5rem;
  border-radius: 18px;
  margin: 40px 50px;
}

.vehiculos-mm .section-header h2 {
  color: #111827;
}

.vehiculos-mm .section-header p {
  color: #374151;
}

.vehiculo-card {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 36px;
  align-items: center;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 10px 24px rgba(17, 24, 39, .08);
  margin-bottom: 28px;
  animation: cardFade .5s ease both;
  transition: box-shadow .25s ease, transform .25s ease;
}

.vehiculo-card:hover {
  box-shadow: 0 16px 36px rgba(17, 24, 39, .14);
  transform: translateY(-2px);
}

.vehiculo-left .veh-sub {
  margin: 0 0 .4rem;
  color: #9ca3af;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.vehiculo-left .veh-ver span {
  display: inline-block;
  border-bottom: 3px solid var(--toyota-red);
  padding-bottom: 4px;
  font-weight: 800;
  color: #111827;
}

.vehiculo-left .veh-img {
  margin: 12px 0 4px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  height: clamp(240px, 32vw, 380px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.vehiculo-left .veh-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.veh-colors {
  margin-top: 12px;
}

.veh-colors-label {
  display: none !important;
}

.veh-colors-list {
  display: flex;
  gap: 16px;
  align-items: center;
  list-style: none;
  margin: 10px 0 4px;
  padding: 0;
  flex-wrap: wrap;
}

@keyframes veh-color-pop {
  0% {
    transform: scale(0.92);
  }

  60% {
    transform: scale(1.06);
  }

  100% {
    transform: scale(1);
  }
}

.card-enter {
  animation: cardFade .5s ease both;
}

@keyframes cardFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.vehicolor {
  position: relative;
  width: 42px;
  height: 42px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  background: #fff;
  border: 2px solid #e5e7eb;
  box-shadow: 0 8px 24px rgba(17, 24, 39, .08);
  transition: transform .15s ease, box-shadow .2s ease;
}

.vehicolor::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: var(--veh-color, #ddd);
  /* mejor visibilidad en colores muy claros/oscuros */
  border: 1px solid rgba(17, 24, 39, 0.10);
  box-shadow: inset 0 0 0 2px #fff;
}

.vehicolor:focus {
  outline: none;
  box-shadow: 0 8px 24px rgba(17, 24, 39, .12), 0 0 0 2px rgba(235, 10, 30, .5);
}

.vehicolor:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(17, 24, 39, .12);
}

.vehicolor.is-active {
  box-shadow: 0 8px 24px rgba(17, 24, 39, .12), 0 0 0 2px #0f172a;
  animation: veh-color-pop .26s ease;
}

.veh-color-name {
  color: #9ca3af;
  font-weight: 600;
  font-size: .92rem;
}

.veh-cta {
  display: inline-block;
  background: var(--toyota-red);
  color: #fff;
  text-decoration: none;
  padding: 1rem 1.8rem;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .2px;
  text-align: center;
  min-width: 180px;
}

.veh-cta:hover {
  filter: brightness(.95);
  transform: translateY(-1px);
}

.veh-links {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.veh-links li {
  margin: .35rem 0;
}

.veh-links a {
  color: #111827;
  text-decoration: underline;
}

.veh-desc {
  color: #374151;
  margin: .5rem 0 1rem;
  line-height: 1.6;
}

@media (max-width: 1200px) {
  .vehiculos-mm {
    margin-left: 20px;
    margin-right: 20px;
  }
}

@media (max-width: 1024px) {
  .vehiculo-card {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .vehiculo-right {
    order: 2;
  }

  .vehiculo-left .veh-img {
    height: clamp(220px, 50vw, 340px);
  }

  .veh-cta {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }

  .veh-colors-list {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .vehiculo-card {
    padding: 20px;
  }

  .veh-color {
    width: 32px;
    height: 32px;
  }
}

/* ==========================
   SINGLE VEHï¿½CULO
========================== */
.vehiculo-single .vs-hero {
  background: #ffffff;
  padding: 4rem 0 2rem;
}

.vehiculo-single .vs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
  /* <--- Cambia de start a center */
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.vehiculo-single .vs-image {
  display: block;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  border-radius: 24px;
  overflow: hidden;
}

.vehiculo-single .vs-image img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: cover;
  display: block;
  border-radius: 24px;
}

.vehiculo-single .vs-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 1.2rem;
  width: 100%;
}

.vehiculo-single .vs-title {
  color: #111827;
  margin: 0 0 .25rem;
  font-size: 2.2rem;
  font-weight: 800;
}

.vehiculo-single .vs-desc {
  color: #6b7280;
  margin: 0 0 .5rem;
  font-size: 1.08rem;
}

.vehiculo-single .vs-colors.veh-dots {
  margin: 0 0 18px 0;
  width: 100%;
  max-width: 420px;
  align-items: flex-start;
}

.vehiculo-single .vs-colors.veh-dots .color-header {
  width: 100%;
  text-align: left;
  margin-bottom: 8px;
}

.vehiculo-single .vs-colors.veh-dots .color-label {
  font-size: 1.08rem;
  font-weight: 600;
  color: #374151;
  letter-spacing: .02em;
  opacity: .85;
  display: inline-block;
  margin-bottom: 2px;
}

.vehiculo-single .vs-colors.veh-dots .list {
  display: flex;
  gap: 22px;
  align-items: flex-end;
  justify-content: flex-start;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.vehiculo-single .vs-colors.veh-dots .list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 60px;
}

.vehiculo-single .vs-colors.veh-dots .dot {
  all: unset;
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: #fff;
  border: 3px solid #e5e7eb;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.10);
  line-height: 0;
  vertical-align: middle;
  box-sizing: border-box;
  overflow: hidden;
  flex-shrink: 0;
  margin-bottom: 6px;
  transition: box-shadow .18s, border-color .18s, transform .15s;
}

/* Color interior plano */
.vehiculo-single .vs-colors.veh-dots .dot::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: var(--veh-color, #ddd);
  border: 2px solid #e5e7eb;
  z-index: 1;
}

/* Dot blanco: borde gris mï¿½s visible */
.vehiculo-single .vs-colors.veh-dots .dot[data-color="white"]::after,
.vehiculo-single .vs-colors.veh-dots .dot[style*="#fff"]::after,
.vehiculo-single .vs-colors.veh-dots .dot[style*="white"]::after {
  border: 2px solid #bbb;
}

/* Elimina brillo/degradado extra */
.vehiculo-single .vs-colors.veh-dots .dot::before {
  display: none !important;
}

.vehiculo-single .vs-colors.veh-dots .color-name {
  font-size: .98rem;
  color: #6b7280;
  font-weight: 500;
  margin-top: 0;
  text-align: center;
  min-height: 1.2em;
  letter-spacing: .01em;
  user-select: none;
}

.vehiculo-single .vs-cta.button {
  margin: 18px 0 0 0;
  display: block;
  min-width: 180px;
  text-align: center;
  font-size: 1.08rem;
  font-weight: 700;
  border-radius: 8px;
  padding: 1rem 2.2rem;
  background: var(--toyota-red);
  color: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.10);
  transition: background .2s, box-shadow .2s, transform .15s;
}

.vehiculo-single .vs-cta.button:hover {
  background: #c10818;
  box-shadow: 0 6px 24px rgba(235, 10, 30, 0.18);
  transform: translateY(-2px) scale(1.03);
}

/* Fuerza el border-radius a 100px para el botï¿½n Cotizar en single vehï¿½culo */
.vehiculo-single .vs-cta.button,
.vehiculo-single .vs-cta.accesorio-btn {
  border-radius: 100px !important;
}

/* --- Ajustes de layout para header y footer sticky --- */

/* Asegura que el body ocupe toda la altura de la ventana */
html,
body {
  height: 100%;
  min-height: 100%;
}

/* Usa flexbox para el layout principal */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* El main ocupa todo el espacio disponible entre header y footer */
main#site-main {
  flex: 1 0 auto;
  padding-top: var(--header-h, 76px) !important;
  /* espacio exacto del header fijo */
  padding-bottom: 32px !important;
  /* espacio para el footer */
  margin-top: 0 !important;
}

/* Forzar ausencia de bordes/sombras en el header para evitar lï¿½neas visibles */
.site-header,
.site-header.luxury-nav {
  border-bottom: 0 !important;
  box-shadow: none !important;
}

/* Header siempre fijo arriba */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

/* Footer siempre al fondo, pero no cubre contenido */
.site-footer {
  flex-shrink: 0;
  width: 100%;
  position: relative;
  bottom: 0;
  left: 0;
  margin-top: auto;
}

/* Ajusta el hero para que no quede pegado arriba ni abajo */
.vehiculo-single .vs-hero {
  padding-top: clamp(1.25rem, 3vw, 2.5rem);
  padding-bottom: clamp(1rem, 2.5vw, 2rem);
  min-height: calc(100vh - var(--header-h, 76px));
  display: flex;
  align-items: center;
}

/* Responsive: reduce padding en mï¿½vil */
@media (max-width: 768px) {
  main#site-main {
    padding-top: var(--header-h-mobile, 76px) !important;
    padding-bottom: 16px !important;
  }

  .vehiculo-single .vs-hero {
    padding-top: clamp(1rem, 4vw, 1.5rem);
    padding-bottom: clamp(0.75rem, 3vw, 1.5rem);
    min-height: calc(100vh - var(--header-h-mobile, 76px));
  }
}

/* ==========================
   UNIFICACIï¿½N GLOBAL DE BOTONES (REFactor)
   Minimal: quitar degradados y sombras. Mostrar Sï¿½LO la lï¿½nea roja inferior
   como indicador (hover/activo). Mantener espaciado y accesibilidad.
   Estas reglas son la fuente de verdad para botones en el tema. */
.toyota-btn,
.button,
button,
input[type="button"],
input[type="submit"],
.service-btn,
.accesorio-btn,
.producto-btn,
.blog-btn {
  background: transparent !important;
  /* no background color */
  color: #fff !important;
  /* ensure contrast on dark headers */
  border-radius: 0 !important;
  /* no pill appearance */
  font-weight: 700;
  letter-spacing: .2px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: clamp(0.95rem, 0.4vw + 0.85rem, 1.05rem);
  padding: clamp(0.5rem, 0.6vw + 0.25rem, 0.75rem) clamp(0.6rem, 1.2vw + 0.4rem, 1rem);
  line-height: 1;
  min-height: clamp(34px, 4.5vw, 44px);
  box-shadow: none !important;
  /* remove any shadow */
  border: none !important;
  border-bottom: 3px solid transparent;
  /* the red line appears on hover/active */
  transition: border-color .18s ease, color .12s ease, background .12s ease;
}

.toyota-btn:hover,
.button:hover,
button:hover,
.service-btn:hover,
.accesorio-btn:hover,
.producto-btn:hover,
.blog-btn:hover {
  border-bottom-color: var(--toyota-red) !important;
  color: #fff !important;
  background: transparent !important;
}

/* Utility: active/selected state shows the red line too */
.toyota-btn.is-active,
.toyota-btn[aria-current],
.button.is-active,
.menu-list li.current-menu-item>a {
  border-bottom-color: var(--toyota-red) !important;
}

/* Small screens: buttons can be full-width when necessary (keep flexible) */
@media (max-width: 600px) {

  .toyota-btn,
  .button {
    width: auto;
    /* keep inline unless explicitly made 100% */
  }
}

/* ==========================
   MENU: Force horizontal, remove bullets and markers
   We scope to .site-header.luxury-nav but also include a general fallback
   so wp_page_menu or other fallbacks display cleanly.
========================== */
.menu-list,
.nav-menu .menu-list,
.site-header .menu-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  gap: 48px;
  align-items: center;
  justify-content: flex-end;
}

.menu-list li {
  list-style: none !important;
  margin: 0;
  padding: 0;
}

.menu-list li::marker {
  display: none;
}

.menu-list li a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
  padding: 0 8px;
  height: auto;
  border-bottom: 3px solid transparent;
  transition: border-color .18s ease, color .12s ease;
}

.menu-list li a:hover,
.menu-list li.current-menu-item>a,
.menu-list li.current_page_item>a {
  border-bottom-color: var(--toyota-red);
  color: #fff;
}

/* Mobile: stack vertical and keep no bullets */
@media (max-width: 1024px) {
  .site-header.luxury-nav .menu-list {
    flex-direction: column !important;
    align-items: center !important;
    gap: 16px;
    padding: 18px 12px;
  }

  .site-header.luxury-nav .menu-list li a {
    padding: 6px 12px;
  }
}

/* Generic fallback: any ul inside nav should be horizontal (desktop) and no bullets.
   This covers wp_page_menu and other fallback outputs that don't include .menu-list class. */
.site-header .nav-menu ul,
.site-header .nav-menu {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.site-header .nav-menu ul {
  display: flex !important;
  gap: 48px;
  align-items: center;
}

.site-header .nav-menu ul li {
  list-style: none !important;
}

.site-header .nav-menu ul li::marker {
  display: none;
}

@media (max-width: 1024px) {
  .site-header .nav-menu ul {
    flex-direction: column !important;
    gap: 16px;
  }
}

/* ==========================
   TOYOTA: Tabs & Filters (home + vehiculos)
   Unificado: texto negro; hover rojo; solo una lï¿½nea roja inferior.
   Se usa un subrayado con ::after en tabs y filtros.
========================== */
.toyota-tabs,
.toyota-filter-buttons {
  display: flex;
  gap: 18px;
  align-items: center;
  position: relative;
  /* for the indicator */
}

.toyota-tab,
.toyota-filter {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  color: #111827 !important;
  /* letras negras por defecto */
  font-weight: 700;
  padding: 10px 12px;
  cursor: pointer;
  position: relative;
  transition: color .18s ease, transform .12s ease;
  text-decoration: none;
  /* anchors become button-like */
  display: inline-flex;
  align-items: center;
}

/* Hover/focus: rojo (color) */
.toyota-tab:hover,
.toyota-filter:hover,
.toyota-tab:focus,
.toyota-filter:focus {
  color: var(--toyota-red) !important;
  outline: none;
}

/* Focus visible: sï¿½lo al navegar con teclado */
.toyota-tab:focus {
  outline: none;
}

.toyota-filter:focus {
  outline: none;
}

.toyota-tab:focus-visible,
.toyota-filter:focus-visible {
  outline: 3px solid rgba(235, 10, 30, .18);
  outline-offset: 3px;
}

/* Small underline animation using pseudo-element for backwards compatibility */
.toyota-tab::after,
.toyota-filter::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 3px;
  background: var(--toyota-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.toyota-tab:hover::after,
.toyota-filter:hover::after,
.toyota-tab.is-active::after,
.toyota-filter.is-active::after,
.toyota-tab[aria-selected="true"]::after,
.toyota-filter[aria-pressed="true"]::after {
  transform: scaleX(1);
}

/* Ocultar el indicador adicional para evitar doble subrayado en home */
.toyota-tab-indicator {
  display: none !important;
}

/* Asegurar color de texto unificado en filtros y tabs */
.toyota-filter {
  color: #111827 !important;
}

.toyota-filter.is-active,
.toyota-filter[aria-pressed="true"],
.toyota-tab.is-active,
#vehiculos .toyota-tab.is-active,
#vehiculos .toyota-tab[data-cat].is-active,
.toyota-tab[aria-selected="true"] {
  color: #111827 !important;
  /* activo: texto negro; subrayado rojo lo destaca */
}


/* ==========================
   SOBRE NOSOTROS: estilos de la pï¿½gina "Sobre Nosotros"
   Restaurados desde la versiï¿½n previa. Mantener aquï¿½ para que la plantilla
   '/sobre-nosotros/' tenga su diseï¿½o consistente.
========================== */
.about-hero {
  background: linear-gradient(180deg, #0a0a0a 0%, #111827 100%);
  padding: 72px 0;
  color: #fff;
  margin: 0 0 0;
}

/* Mï¿½s espacio superior en la pï¿½gina Sobre Nosotros para despegar del menï¿½ */
.about-page {
  --about-dark: #0c0f1a;
  --about-card: rgba(255, 255, 255, 0.06);
  background: #0b0c10;
}

.about-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 32%),
    linear-gradient(135deg, #0c0f1c, #0a0b0f 60%);
  padding: clamp(3.8rem, 6vw, 5.8rem) var(--container-padding, 24px) clamp(3.5rem, 5vw, 5rem);
}

.about-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(213, 0, 28, 0.15), transparent 35%);
  pointer-events: none;
}

.about-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(320px, .95fr);
  gap: clamp(24px, 4vw, 42px);
  align-items: center;
}

.about-hero-copy h1 {
  color: #fff;
  margin: .35rem 0 .9rem;
  font-size: clamp(2.2rem, 3.6vw, 3rem);
}

.about-hero-copy .lead {
  color: #e5e7eb;
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 64ch;
}

.about-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: .45rem .8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--toyota-red, #d5001c);
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  font-size: .85rem;
}

.about-pill.soft {
  color: #e5e7eb;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 1rem 0 .5rem;
}

.hero-chips .chip {
  background: rgba(255, 255, 255, 0.06);
  color: #e5e7eb;
  padding: .55rem .9rem;
  border-radius: 12px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 1.25rem 0 1.6rem;
}

.stat-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 14px 14px 12px;
  color: #e5e7eb;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
}

.stat-card .stat-label {
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: .05em;
  font-size: .82rem;
}

.stat-card .stat-value {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin: .1rem 0 .25rem;
}

.stat-card p {
  margin: 0;
  color: #cdd3df;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: .5rem;
}

.about-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: .95rem 1.6rem;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease;
  border: 1px solid transparent;
}

.about-btn.primary {
  background: var(--toyota-red, #d5001c);
  color: #fff;
  box-shadow: 0 12px 32px rgba(213, 0, 28, 0.35);
}

.about-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 38px rgba(213, 0, 28, 0.42);
}

.about-btn.ghost {
  background: transparent;
  color: #e5e7eb;
  border-color: rgba(255, 255, 255, 0.22);
}

.about-btn.ghost:hover {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  transform: translateY(-2px);
}

.about-hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  justify-items: center;
}

.about-hero-visual .bento {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.35);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform .6s cubic-bezier(.16, 1, .3, 1), box-shadow .45s cubic-bezier(.16, 1, .3, 1);
}

.about-hero-visual .bento img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform .8s cubic-bezier(.16, 1, .3, 1);
}

.about-hero-visual .bento.main {
  width: min(520px, 100%);
  aspect-ratio: 4 / 5;
}

.about-hero-visual .bento-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  width: 100%;
}

.about-hero-visual .bento.card {
  aspect-ratio: 4 / 3;
}

.about-hero-visual .bento:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.42);
}

.about-hero-visual .bento:hover img {
  transform: scale(1.06);
}

@keyframes about-float {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0);
  }
}

.about-story {
  background: #0f172a;
  color: #e5e7eb;
  padding: clamp(3rem, 5vw, 4.5rem) var(--container-padding, 24px);
}

.about-story .section-header {
  max-width: 880px;
}

.about-story .section-header h2 {
  color: #fff;
}

.section-header.align-left {
  text-align: left;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 1.75rem;
}

.story-card {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1.35rem 1.25rem;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.story-card.highlight {
  border-color: rgba(213, 0, 28, 0.45);
  background: linear-gradient(135deg, rgba(213, 0, 28, 0.14), rgba(17, 24, 39, 0.9));
}

.story-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(213, 0, 28, 0.18), transparent 45%);
  opacity: 0;
  transition: opacity .28s ease;
}

.story-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  border-color: rgba(255, 255, 255, 0.16);
}

.story-card:hover::before {
  opacity: 1;
}

.story-card .story-year {
  display: inline-flex;
  align-items: center;
  padding: .4rem .85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 800;
  letter-spacing: .04em;
  margin-bottom: .65rem;
}

.story-card h3 {
  color: #fff;
  margin: .1rem 0 .5rem;
}

.story-card p {
  color: #cbd5e1;
  line-height: 1.65;
  margin-bottom: .45rem;
}

.story-card p.muted {
  color: #94a3b8;
  font-size: .95rem;
}

.about-focus {
  background: #0b0c10;
  padding: clamp(3rem, 5vw, 4.6rem) var(--container-padding, 24px);
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(20px, 3vw, 32px);
  align-items: center;
}

.focus-media {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.35);
}

.focus-media img {
  width: 100%;
  height: clamp(260px, 46vw, 420px);
  object-fit: cover;
  display: block;
}

.focus-content h3 {
  color: #fff;
  margin: .25rem 0 .75rem;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
}

.focus-content p {
  color: #cdd3df;
  line-height: 1.7;
}

.focus-list {
  list-style: none;
  padding: 0;
  margin: 1.1rem 0 0;
  display: grid;
  gap: .55rem;
}

.focus-list li {
  position: relative;
  padding-left: 1.6rem;
  color: #e5e7eb;
  line-height: 1.6;
}

.focus-list li::before {
  content: "?";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--toyota-red, #d5001c);
  font-weight: 900;
}

.about-gallery {
  background: #0f172a;
  padding: clamp(3rem, 5vw, 4.5rem) var(--container-padding, 24px) clamp(3rem, 5vw, 5rem);
}

.about-gallery-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 1.6rem;
}

.about-gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #111827;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.about-gallery-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform .6s cubic-bezier(.16, 1, .3, 1), filter .35s ease;
}

.about-gallery-card figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: .85rem 1rem;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.82) 100%);
  color: #fff;
  font-weight: 700;
  letter-spacing: .01em;
}

.about-gallery-card:hover {
  transform: translateY(-6px);
  border-color: rgba(213, 0, 28, 0.4);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.3);
}

.about-gallery-card:hover img {
  transform: scale(1.05);
  filter: saturate(1.05);
}

.about-fullstory {
  background: #0b0c10;
  padding: clamp(3rem, 5vw, 4.5rem) var(--container-padding, 24px);
}

.fullstory-card {
  max-width: 1040px;
  margin: 0 auto;
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: clamp(1.6rem, 3vw, 2.2rem);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
}

.fullstory-card h3 {
  color: #fff;
  margin: .4rem 0 .9rem;
  font-size: clamp(1.6rem, 2.3vw, 2rem);
}

.fullstory-card p {
  color: #cdd3df;
  line-height: 1.8;
  margin-bottom: .9rem;
  font-size: 1.02rem;
}

.fullstory-card p:last-child {
  margin-bottom: 0;
}

.scroll-section .fade-item {
  opacity: 1;
  transform: none;
  transition: none;
}

.scroll-section.is-visible .fade-item {
  opacity: 1;
  transform: none;
}

@media (max-width: 1024px) {
  .about-hero-grid {
    grid-template-columns: 1fr;
  }

  .about-hero-copy {
    text-align: center;
  }

  .hero-chips {
    justify-content: center;
  }

  .hero-stats {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .about-hero-visual {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
  }

  .about-story,
  .about-gallery {
    border-radius: 0;
  }

  /* En tablet/mï¿½vil: mostrar de inmediato los fade-item para evitar elementos ocultos */
  .scroll-section .fade-item {
    opacity: 1;
    transform: none;
    transition: opacity .18s ease, transform .18s ease;
  }
}

@media (max-width: 768px) {
  .about-page {
    --container-padding: 10px;
  }

  .about-hero {
    padding-top: 3.1rem;
  }

  .about-hero-visual .bento.main {
    aspect-ratio: 4 / 4.6;
  }

  .about-gallery-card img {
    height: 200px;
  }
}

/* PHP & sample markup moved to template-parts/vehiculo-colors.php and relevant templates.
   This file now contains only CSS. */

/* ==========================
   SINGLE VEHICULO: Hero mejorado tipo "Sobre nosotros"
   - Fondo degradado oscuro
   - Tarjeta con efecto glass para el grid
   - Tï¿½tulo blanco, subtï¿½tulo rojo, resumen gris
   - Botones Cotizar / Mï¿½s informaciï¿½n
========================== */
.vehiculo-single .vs-hero {
  background: linear-gradient(135deg, var(--toyota-black, #0a0a0a), var(--toyota-black-2, #111827));
  padding: var(--section-spacing-y) 20px;
  min-height: calc(100vh - var(--header-h, 76px));
}

.vehiculo-single .vs-hero .container {
  max-width: 1280px;
  margin: 0 auto;
}

.vehiculo-single .vs-grid {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border-radius: 24px;
  padding: 3rem 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(20px, 3vw, 44px);
  align-items: center;
  max-width: none;
  width: 100%;
}

.vehiculo-single .vs-title {
  color: #ffffff;
  font-size: 2.6rem;
  font-weight: 800;
}

.vehiculo-single .vs-desc {
  color: var(--toyota-red);
  font-weight: 700;
  margin-top: .25rem;
}

.vehiculo-single .vs-summary {
  color: #d1d5db;
  font-size: 1rem;
  line-height: 1.7;
  margin: .6rem 0 1rem;
  max-width: 56ch;
}

.vehiculo-single .vs-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: .5rem;
}

.vehiculo-single .vs-cta,
.vehiculo-single .vehiculo-more-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--toyota-red) !important;
  color: #fff !important;
  padding: .9rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: background .2s ease, transform .2s ease;
}

.vehiculo-single .vs-cta:hover,
.vehiculo-single .vehiculo-more-btn:hover {
  background: #c30916 !important;
  transform: translateY(-2px);
}

/* Imagen sin marco blanco; borde redondeado */
.vehiculo-single .vs-image {
  background: transparent !important;
  border: 0 !important;
  border-radius: 24px;
  overflow: hidden;
}

.vehiculo-single .vs-info {
  color: #fff;
}

@media (max-width: 1024px) {
  .vehiculo-single .vs-hero {
    padding: 3rem 14px;
  }

  .vehiculo-single .vs-title {
    font-size: 2.1rem;
  }

  .vehiculo-single .vs-grid {
    grid-template-columns: 1fr;
    padding: 2rem 14px;
  }

  .vehiculo-single .vs-image img {
    height: auto;
    min-height: 220px;
    object-fit: contain;
    margin: 0 auto;
    width: 100%;
    object-fit: cover;
  }
}

/* Quitar espacio extra al final en pï¿½ginas de un vehï¿½culo */
.single-vehiculo main#site-main {
  padding-bottom: 0 !important;
}

/* ==========================
   GLOBAL: Botones rojos redondeados (unificado)
   Aplica a todos los botones y variantes del tema
========================== */
.toyota-btn,
.button,
button,
input[type="button"],
input[type="submit"],
.service-btn,
.accesorio-btn,
.producto-btn,
.blog-btn,
.vs-cta,
.vehiculo-more-btn,
.sobre-nosotros-btn,
.mmorichal-form .mf-submit {
  background: var(--toyota-red) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: .8rem 1.6rem !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: .5rem !important;
  text-decoration: none !important;
  box-shadow: none !important;
  border-bottom: none !important;
  transition: background .2s ease, transform .15s ease !important;
}

.toyota-btn:hover,
.button:hover,
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
.service-btn:hover,
.accesorio-btn:hover,
.producto-btn:hover,
.blog-btn:hover,
.vs-cta:hover,
.vehiculo-more-btn:hover,
.sobre-nosotros-btn:hover,
.mmorichal-form .mf-submit:hover {
  background: #c30916 !important;
  transform: translateY(-2px) !important;
}

/* Excepciï¿½n: botï¿½n hamburguesa mantiene su estilo oscuro */
.site-header .nav-toggle {
  background: rgba(0, 0, 0, .35) !important;
  border-radius: 10px !important;
  padding: 0 !important;
}

/* Mostrar el hamburguesa solo en mï¿½vil y mejorar la "X" */
.site-header .nav-toggle {
  display: none !important;
  width: 44px;
  height: 44px;
  gap: 6px;
  position: relative;
  align-items: center;
  justify-content: center;
}

.site-header .nav-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
  will-change: transform, opacity;
}

.site-header.open .nav-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.site-header.open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.open .nav-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 1024px) {
  .site-header .nav-toggle {
    display: inline-flex !important;
  }
}

@media (min-width: 1025px) {
  .site-header .nav-toggle {
    display: none !important;
  }
}

/* Excepciï¿½n: Tabs y filtros (home y pï¿½gina Vehï¿½culos) NO son botones rojos */
.toyota-tabs .toyota-tab,
.toyota-filter-buttons .toyota-filter {
  background: transparent !important;
  color: #111827 !important;
  border-radius: 0 !important;
  padding: 10px 12px !important;
  box-shadow: none !important;
  border: none !important;
}

/* Solo una descripcin: ocultar contenido extra debajo del hero */
.vehiculo-single .vs-content {
  display: none;
}

/* ==========================
   MENU: Interacciones Desktop/Touch
   - Desktop: hover muestra submenï¿½
   - Mobile/Touch: clase .submenu-open mediante click
========================== */
/* Mostrar submenï¿½ cuando el padre tiene .submenu-open (ï¿½til en touch) */
.site-header.luxury-nav .menu-list li.submenu-open>.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Rotaciï¿½n del caret cuando estï¿½ abierto por clase */
.site-header.luxury-nav .menu-list li.submenu-open>a::before {
  transform: translateY(-45%) rotate(180deg);
}

/* Asegurar que el caret sea visible encima del subrayado */
.site-header.luxury-nav .menu-list li.menu-item-has-children>a::before {
  z-index: 2;
  pointer-events: none;
}

/* Mobile/touch: submenï¿½ en flujo y toggle por clase */
@media (max-width: 768px) {
  .site-header.luxury-nav .menu-list li .sub-menu {
    position: static;
    top: auto;
    left: auto;
    min-width: 100%;
    background: #000 !important;
    border-radius: 0;
    margin-top: 6px;
    padding: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    max-height: 0;
    overflow: hidden;
    pointer-events: none;
    transition: max-height .28s ease;
  }

  .site-header.luxury-nav .menu-list li.submenu-open>.sub-menu {
    max-height: 480px;
    pointer-events: auto;
  }

  .site-header.luxury-nav .menu-list li .sub-menu li a {
    padding: 12px 18px;
    font-size: 16px;
  }

  /* Indicador de flecha en mï¿½vil */
  .site-header.luxury-nav .menu-list li.menu-item-has-children>a::before {
    right: 20px;
    font-size: 14px;
  }
}

/* ==========================
   PREMIUM WHITE VEHICLE VIEW (Toyota US Style)
========================== */
.vehiculo-premium-white {
  background-color: #fff;
  color: #111;
  font-family: var(--body-font);
}

main.vehiculo-premium-white,
#site-main.vehiculo-premium-white {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* 1. Hero Section */
.vp-hero {
  position: relative;
  width: 100%;
  height: auto;
  min-height: clamp(420px, 75vh, 880px);
  max-height: none;
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: stretch;
}

.vp-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #000;
}

.vp-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vp-hero-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: flex-end;
  padding: clamp(10px, 2vh, 18px) 0;
  color: #fff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.72) 12%, rgba(0, 0, 0, 0.22) 56%, rgba(0, 0, 0, 0.08) 100%);
}


.vp-hero-overlay .container {
  max-width: none;
  width: 100%;
  padding-left: clamp(0px, 2vw, 12px);
  padding-right: clamp(0px, 2vw, 12px);
}

.veh-hero {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: -80px !important;
  padding-top: 0 !important;
}

.veh-hero .container {
  width: 100%;
  max-width: min(96vw, 1400px);
  padding-left: 0;
  padding-right: 0;
}

\r\n\r\n

/* Full-bleed hero on vehicle pages */
.vehiculo-premium-white .vp-hero {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.vehiculo-premium-white .vp-hero-overlay,
.vehiculo-premium-white .vp-hero-bg,
.vehiculo-premium-white .vp-hero-img {
  width: 100%;
  max-width: 100%;
}

.vehiculo-premium-white .vp-hero__content {
  margin-left: clamp(10px, 4vw, 18px);
  margin-right: clamp(10px, 4vw, 18px);
}

.vp-title {
  font-size: 3rem;
  font-weight: 800;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: -1px;
  color: #fff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
  cursor: default;
}

.vp-title:hover {
  text-shadow:
    2px 2px 12px rgba(0, 0, 0, 0.6),
    0 0 20px rgba(235, 10, 30, 0.5),
    0 0 30px rgba(255, 255, 255, 0.3);
  transform: scale(1.02);
  letter-spacing: 0px;
}

.vp-subtitle {
  font-size: 1.2rem;
  font-weight: 500;
  opacity: 0.9;
  margin: 5px 0 0;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  cursor: default;
}

.vp-subtitle:hover {
  opacity: 1;
  text-shadow:
    1px 1px 6px rgba(0, 0, 0, 0.5),
    0 0 15px rgba(255, 255, 255, 0.4);
  transform: translateX(3px);
}

.vp-hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: none;
  padding-bottom: clamp(8px, 3vh, 18px);
  align-items: flex-start;
  text-align: left;
  margin-left: clamp(0px, 2vw, 12px);
  margin-right: clamp(0px, 2vw, 12px);
}

.vp-hero__kicker {
  margin: 4px 0 0;
  font-size: 1rem;
  color: #e5e7eb;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .vp-hero {
    min-height: 340px;
    max-height: 38vh;
  }

  .vp-hero-overlay {
    padding-top: 25px;
    padding-bottom: 25px;
  }

  .vp-title {
    font-size: 2.2rem;
  }

  .vp-hero__content {
    max-width: none;
    margin-right: clamp(10px, 4vw, 18px);
    margin-left: clamp(10px, 4vw, 18px);
    padding-bottom: 0;
  }

  .vp-hero-img {
    object-fit: cover;
    object-position: center center;
  }
}

/* 2. Intro Section */
.vp-intro {
  padding: 60px 0;
  background: #fff;
}

.vp-heading {
  font-size: 2.5rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.vp-desc {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #444;
}

/* 3. Configurator Section */
.vp-configurator {
  padding: var(--section-spacing-y) 0 40px;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.vp-configurator .container {
  display: flex;
  justify-content: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 15px;
}

.vp-configurator::after {
  display: none;
}

.vp-card {
  position: relative;
  background: #fff;
  border: 1px solid #e6e8ef;
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 30px 70px rgba(14, 22, 40, 0.12);
  overflow: hidden;
}

.vp-card::before {
  display: none;
}

.vp-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(320px, 0.95fr);
  gap: 32px;
  align-items: center;
  z-index: 1;
}

.vp-viewer {
  margin: 0;
  background: #fff;
  border: 1px solid #e6e8ef;
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.vp-car-stage {
  margin: 0 0 20px;
  max-width: 100%;
  min-height: 270px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  border: 1px solid #e2e6ef;
  border-radius: 16px;
  padding: 12px;
  position: relative;
  overflow: hidden;
}

.vp-car-stage::before {
  display: none;
}

.vp-car-img {
  width: 100%;
  max-height: 400px;
  height: auto;
  object-fit: contain;
  display: block;
  transition: opacity 0.35s ease, transform 0.35s ease;
  position: relative;
  z-index: 1;
}

.vp-car-img.is-fading {
  opacity: 0.18;
  transform: scale(0.985);
}

.vp-viewer-full {
  max-width: 700px;
  width: 100%;
  text-align: center;
  margin: 0 auto;
}

.vp-viewer-full .vp-car-stage {
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================
   VEHICLE COLOR SELECTOR - PURE CSS
   ========================================== */

.vp-color-selector {
  text-align: center;
  margin: 0;
  padding: 6px 0 2px;
  background: transparent;
  border: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vp-color-label {
  font-weight: 600;
  color: #0f172a;
  font-size: 0.95rem;
}

.vp-color-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.vp-color-btn {
  position: relative;
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  aspect-ratio: 1 / 1;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 50% !important;
  background: transparent !important;
  box-shadow: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.18s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  line-height: 0;
  overflow: hidden;
  appearance: none !important;
  -webkit-appearance: none !important;
}

.vp-color-btn:hover {
  transform: translateY(-2px);
}

.vp-color-btn:focus {
  outline: none !important;
}

.vp-color-btn .color-dot {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  transition: all 0.18s ease;
  box-sizing: border-box;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.8);
}

.vp-color-btn .color-ring {
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  transition: border-color 0.18s ease;
}

.vp-color-btn.active .color-ring,
.vp-color-btn.is-active .color-ring {
  border-color: #111;
}

.vp-color-btn.active .color-dot,
.vp-color-btn.is-active .color-dot {
  transform: scale(0.92);
}

.vp-color-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #6b7280;
  margin: 4px 0 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.veh-highlight__info .vp-color-selector {
  align-items: flex-start;
  text-align: left;
}

.veh-highlight__info .vp-color-buttons {
  justify-content: flex-start;
}

/* Actions */
.vp-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  background: #0f172a;
  color: #fff;
  border-radius: 18px;
  padding: 26px 24px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.25);
}

.vp-price-box {
  margin-bottom: 6px;
}

.vp-price-label {
  display: block;
  font-size: 0.85rem;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.vp-price-val {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
}

.vp-btn-primary {
  background: linear-gradient(90deg, #111827, #000000);
  color: #fff;
  padding: 15px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
  text-align: center;
  border: 1px solid #1f2937;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

.vp-btn-primary:hover {
  background: linear-gradient(90deg, var(--toyota-red), #b80617);
  transform: translateY(-2px);
  color: #fff;
  box-shadow: 0 18px 38px rgba(235, 10, 30, 0.25);
}

.vp-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 32px;
  border-radius: 50px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #0f172a;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

.vp-btn-secondary:hover {
  transform: translateY(-2px);
  border-color: var(--toyota-red);
  box-shadow: 0 16px 34px rgba(235, 10, 30, 0.18);
  color: #0f172a;
}

.vp-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.95rem;
}

.vp-links a {
  color: #e2e8f0;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.vp-links a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.vp-ficha {
  padding: 60px 0 90px;
  background: #f5f5f5;
}

.vp-ficha-card {
  max-width: 1100px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 18px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.vp-ficha-kicker {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  color: #777;
}

.vp-ficha-title {
  margin: 0 0 12px;
  font-size: 1.9rem;
  font-weight: 800;
}

.vp-ficha-text {
  margin: 0 0 24px;
  color: #4a4a4a;
  font-size: 1rem;
}

.vp-ficha-note {
  margin: 16px 0 0;
  font-size: 0.9rem;
  color: #6b7280;
}

.vp-ficha-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  background: #000;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.vp-ficha-btn:hover {
  background: var(--toyota-red);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.16);
}

/* ==========================
   VEHICULOS PAGE (Hero + Highlight + Grid)
   ========================== */
.veh-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  padding: clamp(80px, 12vh, 120px) 0 clamp(70px, 11vh, 120px);
  min-height: clamp(440px, 72vh, 860px);
}

.veh-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.08), transparent 40%);
}

.veh-hero__inner {
  position: relative;
  z-index: 2;
  max-width: none;
  margin-left: clamp(24px, 5vw, 65px);
  margin-right: clamp(140px, 18vw, 495px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: clamp(16px, 6vh, 60px);
  padding-bottom: clamp(14px, 4vh, 36px);
  align-items: flex-start;
  text-align: left;
}

.veh-hero__badge {
  display: inline-flex;
  width: fit-content;
  max-width: 280px;
  align-self: flex-start;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(4px);
  font-weight: 600;
  letter-spacing: .5px;
}

.veh-hero__title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
  line-height: 1.1;
}

.veh-hero__subtitle {
  margin: 0;
  font-size: 1.05rem;
  color: #e5e7eb;
  letter-spacing: 0.2px;
}

.veh-hero__cta {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.veh-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.veh-hero__meta {
  margin: 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 700;
  letter-spacing: .3px;
  font-size: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.veh-hero__lead,
.veh-hero .vp-heading {
  margin: 4px 0 6px;
  font-size: clamp(1rem, 2.6vw, 1.4rem);
  color: #e5e7eb;
  font-weight: 700;
}

.veh-hero__inner,
.vp-hero-overlay,
.vp-hero__content {
  color: #fff;
}

.vp-hero__content .vp-title,
.vp-hero__content .vp-heading,
.vp-hero__content .vp-hero__kicker,
.vp-hero__content .veh-hero__meta {
  color: #fff;
}

.veh-hero .container,
.veh-highlight .container {
  width: 100%;
  max-width: min(96vw, 1400px);
}

.veh-highlight {
  padding: 70px 0 40px;
  background: #f7f8fb;
}

.veh-highlight__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 34px;
  align-items: stretch;
}

.veh-highlight__frame {
  background: #000;
  border-radius: 20px;
  padding: 0;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.14);
  border: 1px solid #e6e8f0;
  overflow: hidden;
  min-height: clamp(380px, 62vh, 820px);
}

.veh-highlight__frame img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 0;
  object-fit: cover;
  transition: opacity .3s ease, transform .3s ease;
}

.veh-highlight__frame img.is-fading {
  opacity: .3;
  transform: scale(.99);
}

.veh-highlight__info h2 {
  margin: 6px 0 6px;
  font-size: 2rem;
}

.veh-sub {
  margin-top: 0;
  color: #334155;
}

.veh-price {
  margin: 12px 0 16px;
  font-weight: 700;
  color: #0f172a;
}

.veh-colors {
  margin: 18px 0;
}

.veh-colors__label {
  font-weight: 700;
  margin-bottom: 10px;
  color: #0f172a;
}

.veh-colors__label span {
  font-weight: 600;
  color: var(--toyota-red);
  margin-left: 6px;
}

.veh-colors__swatches {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.veh-swatch {
  position: relative;
  width: 52px;
  height: 52px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  border-radius: 50%;
  transition: transform .18s ease, box-shadow .18s ease;
}

.veh-swatch__dot {
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.08);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.8), 0 4px 10px rgba(0, 0, 0, 0.12);
}

.veh-swatch__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
  transition: border-color .18s ease, box-shadow .18s ease;
}

.veh-swatch:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.veh-swatch.is-active .veh-swatch__ring {
  border-color: #0f172a;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12), inset 0 0 0 2px rgba(0, 0, 0, 0.22);
}

.veh-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 16px 0 10px;
}

.veh-cta-primary,
.veh-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

.veh-cta-primary {
  background: linear-gradient(90deg, #111827, #0b1222);
  color: #fff;
  border: 1px solid #0b1222;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.26);
}

.veh-cta-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(90deg, var(--toyota-red), #b80617);
  box-shadow: 0 18px 38px rgba(235, 10, 30, 0.28);
}

.veh-cta-secondary {
  background: #fff;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.veh-cta-secondary:hover {
  transform: translateY(-2px);
  border-color: var(--toyota-red);
  box-shadow: 0 16px 32px rgba(235, 10, 30, 0.14);
}

.veh-cta-link {
  color: #e2e8f0;
  text-decoration: underline;
}

.veh-feature-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.veh-feature-pills span {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.92rem;
  color: #0f172a;
}

.veh-catalogo {
  padding: var(--section-spacing-y) 0 80px;
  background: #fff;
}

.veh-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 26px;
}

.veh-section-head h3 {
  margin: 4px 0 6px;
  font-size: 1.9rem;
}

.veh-section-head p {
  margin: 0;
  color: #475569;
}

.veh-tag {
  display: inline-flex;
  padding: 5px 12px;
  border-radius: 10px;
  background: #f1f5f9;
  color: #0f172a;
  font-weight: 700;
  font-size: 0.85rem;
}

.veh-filter-wrap {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.veh-filter {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  text-decoration: none;
  font-weight: 600;
  transition: all .2s ease;
}

.veh-filter.is-active,
.veh-filter:hover {
  border-color: var(--toyota-red);
  color: var(--toyota-red);
  box-shadow: 0 10px 22px rgba(235, 10, 30, 0.12);
}

.veh-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.veh-card.is-hidden {
  display: none !important;
}

.veh-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}

.veh-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

.veh-card__img {
  background: #f6f6f6;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.veh-card__img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.veh-card__body {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.veh-card__top {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.veh-card__year {
  font-size: 0.9rem;
  color: #64748b;
}

.veh-card__excerpt {
  margin: 0;
  color: #475569;
}

.veh-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 4px;
}

.veh-card__price {
  font-weight: 800;
  color: #0f172a;
}

.veh-card__link {
  color: var(--toyota-red);
  font-weight: 700;
  text-decoration: none;
}

.veh-card__link:hover {
  text-decoration: underline;
}

.veh-pagination {
  text-align: center;
  margin-top: 30px;
}

.veh-beneficios {
  padding: 60px 0 90px;
  background: #f8fafc;
}

.veh-beneficios__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.veh-beneficio {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  padding: 18px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

.veh-beneficio h4 {
  margin: 0 0 8px;
}

.veh-beneficio p {
  margin: 0;
  color: #475569;
}

.veh-gallery {
  padding: 60px 0 80px;
  background: #f8fafc;
}

.veh-gallery .veh-section-head {
  align-items: center;
}

.veh-gallery .veh-gallery-grid,
.veh-gallery .gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.veh-gallery .gallery-grid .img {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
  background: #0f172a;
  min-height: 180px;
}

.veh-gallery .gallery-grid .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 1024px) {
  .veh-highlight__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .vp-layout {
    grid-template-columns: 1fr;
  }

  .vp-configurator {
    padding: 70px 0 90px;
  }

  .vp-card {
    padding: 26px;
  }

  .vp-car-stage {
    min-height: 300px;
  }

  .vp-actions {
    width: 100%;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .vp-hero {
    height: 75vh;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .vp-hero-overlay,
  .vp-hero-bg,
  .vp-hero-img {
    width: 100vw;
    max-width: 100vw;
  }

  .vp-hero-overlay .container {
    padding-left: clamp(8px, 3vw, 14px);
    padding-right: clamp(8px, 3vw, 14px);
  }

  .vp-title {
    font-size: 1.6rem;
  }

  .vp-heading {
    font-size: 1.25rem;
  }

  .vp-hero-img {
    max-height: none;
  }

  .vehiculo-premium-white .vp-hero,
  .vehiculo-premium-white .vp-hero-overlay,
  .vehiculo-premium-white .vp-hero-overlay .container {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
    margin: 0;
  }

  .vehiculo-premium-white .vp-hero__content {
    padding-left: clamp(10px, 4vw, 14px);
    padding-right: clamp(10px, 4vw, 14px);
    width: 100%;
    box-sizing: border-box;
    margin-left: clamp(8px, 3vw, 14px);
    margin-right: clamp(8px, 3vw, 14px);
  }

  .vp-configurator {
    padding: 30px 0;
    margin: 0;
  }

  .vp-configurator .container {
    padding-left: 0;
    padding-right: 0;
    margin: 0;
    max-width: 100%;
  }

  .vp-card {
    padding: 0;
    border-radius: 0;
    margin: 0;
  }

  .vp-viewer {
    padding: 12px;
    border-radius: 0;
    margin: 0;
  }

  .vp-car-stage {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    margin: 0 0 20px 0;
  }

  .vp-color-selector {
    padding: 8px 0;
  }

  .vp-color-btn {
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
  }

  .vp-btn-primary {
    width: 100%;
  }

  .vp-ficha {
    padding: 40px 0 60px;
  }

  .vp-ficha-card {
    padding: 28px 20px;
    border-radius: 14px;
  }

  .vp-ficha-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 768px) {
  .veh-hero {
    padding: 80px 0 90px;
    min-height: 75vh;
  }

  .veh-hero__inner {
    margin-left: clamp(10px, 4vw, 18px);
    margin-right: clamp(16px, 5vw, 28px);
    padding-top: clamp(12px, 5vh, 42px);
    padding-bottom: clamp(12px, 4vh, 28px);
  }

  .veh-hero__eyebrow {
    gap: 8px;
  }

  .veh-hero__meta {
    font-size: 0.9rem;
  }

  .veh-hero__lead,
  .veh-hero .vp-heading {
    font-size: 1.05rem;
  }

  .veh-highlight {
    padding: 40px 0 50px;
  }

  .veh-highlight__grid {
    grid-template-columns: 1fr;
  }

  .veh-highlight__frame {
    padding: 0;
    min-height: clamp(260px, 58vh, 520px);
    border-radius: 16px;
  }

  .veh-hero__title {
    font-size: 2.1rem;
  }

  .veh-section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .veh-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }

  .veh-swatch {
    width: 48px;
    height: 48px;
  }

  .veh-beneficios {
    padding: 48px 0 70px;
  }
}

/* ==========================
   HOME LAYOUT: centrado y mï¿½rgenes reducidos en mï¿½vil
   ========================== */
@media (max-width: 768px) {
  :root {
    --container-padding: 16px;
  }

  .container {
    width: calc(100% - 40px);
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  #vehiculos,
  #sobre-nosotros,
  #productos-mm,
  #info-mm,
  #accesorios-mm,
  #blog-mm,
  #whatsapp-mm {
    width: calc(100% - 40px);
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .accesorios-mm,
  .info-mm,
  .productos-mm,
  .blog-mm {
    width: calc(100% - 40px);
    max-width: none;
    margin: 30px auto !important;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
  }

  .toyota-tabs {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  /* Secciones centradas en home */
  .section-header {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  #sobre-nosotros .sobre-nosotros-container,
  #sobre-nosotros .sobre-nosotros-text,
  #whatsapp-mm .whatsapp-wrap,
  #blog-mm .blog-grid {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  #whatsapp-mm .whatsapp-wrap {
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
  }

  #blog-mm .blog-card,
  #blog-mm .blog-content,
  #blog-mm .blog-img {
    margin-left: auto;
    margin-right: auto;
  }
}

/* ==========================
   NAV Mï¿½VIL: Correcciones finales
   - Toggle en X funcional (usa .nav-toggle.active de JS)
   - Menï¿½ deslizable que cubre toda la pantalla bajo el header
   ========================== */
@media (max-width: 1024px) {
  .site-header.luxury-nav {
    z-index: 1100;
    background: #000 !important;
  }

  .site-header.luxury-nav .nav-wrapper {
    gap: 12px;
  }

  .site-header.luxury-nav .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .site-header.luxury-nav .nav-menu {
    position: fixed;
    top: var(--header-h, 76px);
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-h, 76px));
    max-height: none;
    background: rgba(0, 0, 0, 0.97);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    overflow-y: auto;
    overflow-x: hidden;
    transition: transform .3s ease, opacity .3s ease;
    padding: 0;
    border-top: 0;
    box-shadow: none;
    z-index: 1099;
  }

  .site-header.luxury-nav .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-header.luxury-nav .menu-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 0 24px;
    width: 100%;
  }

  .site-header.luxury-nav .menu-list li {
    width: 100%;
  }

  .site-header.luxury-nav .menu-list li a {
    width: 100%;
    padding: 14px 20px;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.05rem;
  }

  .site-header.luxury-nav .menu-list li.menu-item-has-children>a::before {
    content: "+";
    margin-left: 8px;
    transition: transform .3s ease;
  }

  .site-header.luxury-nav .menu-list li.submenu-open>a::before {
    content: "-";
  }

  .site-header.luxury-nav .menu-list li .sub-menu {
    position: static;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 0;
    margin: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease, padding .3s ease;
    padding: 0;
  }

  .site-header.luxury-nav .menu-list li.submenu-open>.sub-menu {
    max-height: 420px;
    padding: 6px 0 10px;
  }

  .site-header.luxury-nav .menu-list li .sub-menu li a {
    padding: 10px 28px;
    border-bottom: 0;
    text-align: left;
    font-size: 0.98rem;
  }
}

/* ==========================
   HOME: centrado y mï¿½rgenes unificados en mï¿½vil
   ========================== */
@media (max-width: 768px) {
  :root {
    --container-padding: 14px;
    --content-max: calc(100% - 32px);
  }

  /* Aplica a secciones principales del home (excepto el slider que va full width) */
  .home main#site-main>section:not(#custom-slider) {
    width: 100%;
    max-width: var(--content-max, 100%);
    margin: 0 auto 28px;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
  }

  /* Contenedores internos */
  .container,
  #vehiculos,
  #sobre-nosotros,
  #productos-mm,
  #info-mm,
  #accesorios-mm,
  #blog-mm,
  #whatsapp-mm {
    width: 100%;
    max-width: var(--content-max, 100%);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
  }

  /* Secciï¿½n Modelos cercana al slider en mï¿½vil */
  #vehiculos {
    margin-top: 12px;
    margin-bottom: 36px;
  }

  /* Secciones con tarjetas */
  .accesorios-mm,
  .info-mm,
  .productos-mm,
  .blog-mm {
    margin: 28px auto !important;
  }

  /* Historia / Sobre nosotros */
  .sobre-nosotros-container,
  .sobre-nosotros-text {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  /* Tabs modelos centradas */
  .toyota-tabs {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  /* Blog a una columna visible */
  #blog-mm .blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  #blog-mm .blog-card {
    width: 100%;
    margin: 0;
  }

  /* WhatsApp alineado */
  #whatsapp-mm .whatsapp-wrap {
    width: 100%;
    max-width: var(--content-max, 100%);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
  }
}

/* ==========================
   HOME LAYOUT OVERRIDES (mobile)
   ========================== */
@media (max-width: 768px) {
  :root {
    --container-padding: 14px;
    --content-max: calc(100% - 28px);
  }

  .container,
  #vehiculos,
  #sobre-nosotros,
  #productos-mm,
  #info-mm,
  #accesorios-mm,
  #blog-mm,
  #whatsapp-mm {
    width: 100%;
    max-width: var(--content-max, 100%);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
  }

  .accesorios-mm,
  .info-mm,
  .productos-mm,
  .blog-mm {
    margin: 28px auto !important;
  }

  #whatsapp-mm .whatsapp-wrap {
    width: 100%;
    max-width: var(--content-max, 100%);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
  }

  .sobre-nosotros-container,
  .sobre-nosotros-text {
    width: 100%;
  }

  .toyota-tabs {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  #blog-mm .blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  #blog-mm .blog-card {
    width: 100%;
    margin: 0;
  }
}

/* Vehï¿½culos: sin animaciï¿½n en la primera secciï¿½n para evitar pantalla en blanco */
#vehiculos {
  opacity: 1 !important;
  transform: none !important;
}

#vehiculos .fade-item,
#vehiculos .reveal-on-scroll {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* Desactivar animaciones de entrada en toda la pï¿½gina */
.scroll-section {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  visibility: visible !important;
  display: block !important;
}

.scroll-section .fade-item,
.reveal-on-scroll,
.card-enter,
.vehiculo-card,
#contacto-header .mmorichal-form,
.vehicolor.is-active {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  transition: none !important;
  visibility: visible !important;
}

/* ==========================
   HOME: unificaciï¿½n de anchos y mï¿½rgenes
   ========================== */
.home main#site-main>section:not(#custom-slider) {
  width: min(1200px, 90vw);
  margin: clamp(24px, 4vw, 52px) auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .home main#site-main>section:not(#custom-slider) {
    width: 100%;
    max-width: 100%;
    margin: 18px auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
    box-sizing: border-box;
  }

  /* Blog visible y en una columna */
  #blog-mm .blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  #blog-mm .blog-card {
    width: 100%;
    margin: 0;
  }

  /* Forzar ancho completo y centrado de secciones principales */
  #vehiculos,
  #sobre-nosotros,
  #productos-mm,
  #info-mm,
  #accesorios-mm,
  #blog-mm,
  #whatsapp-mm,
  .home-reviews {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
    box-sizing: border-box;
  }
}

/* Tablet: asegurar grillas fluidas sin cortes */
@media (max-width: 1024px) {
  #blog-mm .blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
  }

  .home #productos-mm .productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
  }
}

/* ==========================
   FULL-WIDTH HERO SECTIONS - VEHICLE PAGES
   Fix for veh-hero and vp-hero to span full viewport
========================== */

/* Archive page hero - vehiculos.php */
.veh-hero {
  position: relative;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 0 !important;
  overflow: hidden;
}

.veh-hero__inner {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 60px;
}

.veh-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.veh-hero__badge {
  display: inline-flex;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.veh-hero__meta {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  margin: 0;
}

.veh-hero__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: #fff;
  margin: 0 0 16px;
  font-weight: 800;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.veh-hero__lead {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 12px;
  font-weight: 400;
  max-width: 600px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  cursor: default;
}

.veh-hero__lead:hover {
  color: rgba(255, 255, 255, 1);
  text-shadow:
    1px 1px 6px rgba(0, 0, 0, 0.5),
    0 0 12px rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.veh-hero__subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  margin: 0 0 28px;
}

.veh-hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

/* Single vehicle page hero - single-vehiculo.php */
.vp-hero {
  position: relative;
  width: 100vw !important;
  max-width: 100vw !important;
  height: 100vh;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  overflow: hidden;
}

.vp-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.vp-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vp-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.25));
  display: flex;
  align-items: center;
  z-index: 2;
  padding-top: var(--header-h);
}

.vp-hero__content {
  position: relative;
  z-index: 3;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .veh-hero {
    min-height: 80vh;
  }

  .veh-hero .container,
  .veh-hero__inner.container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .veh-hero__inner {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: calc(var(--header-h-mobile, 76px) + 30px) !important;
    padding-bottom: 40px !important;
  }

  .veh-hero__title {
    font-size: 2rem;
  }

  .veh-hero__lead {
    font-size: 1.1rem;
  }

  .vp-hero {
    height: 80vh;
  }

  .vp-hero-overlay .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .vp-title {
    font-size: 1.8rem;
  }

  .vp-heading {
    font-size: 1.15rem;
  }
}

/* Critical: Override container constraints inside hero */
.veh-hero .container,
.veh-hero__inner.container,
.veh-hero .veh-hero__inner {
  max-width: 1200px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: clamp(20px, 5vw, 60px) !important;
  padding-right: clamp(20px, 5vw, 60px) !important;
}

.vp-hero-overlay .container,
.vp-hero__content.container {
  max-width: 1200px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: clamp(20px, 5vw, 60px) !important;
  padding-right: clamp(20px, 5vw, 60px) !important;
}

/* Ensure header transparency on vehicle pages - broader selectors */
body[class*="vehiculo"] .site-header.luxury-nav,
body.page-template-vehiculos .site-header.luxury-nav,
body.single-vehiculo .site-header.luxury-nav,
body.post-type-archive-vehiculo .site-header.luxury-nav {
  background: rgba(0, 0, 0, 0.85) !important;
  backdrop-filter: blur(10px);
}

/* Override any main padding for these pages - broader selectors */
body[class*="vehiculo"] main#site-main,
body.page-template-vehiculos main#site-main,
body.single-vehiculo main#site-main,
body.post-type-archive-vehiculo main#site-main {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* ==========================
   MODERN FOOTER
========================== */
.site-footer {
  background-color: #050505;
  color: #e5e5e5;
  padding: 80px 0 20px;
  margin-top: auto;
  font-size: 0.95rem;
  border-top: 1px solid #1a1a1a;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h3 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 24px;
  margin-top: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--toyota-red);
  transform: translateX(4px);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.footer-logo img {
  width: 140px;
  height: auto;
  margin-bottom: 20px;
  /* Ensure it looks good on dark bg - assumes transparency */
  filter: brightness(0) invert(1);
}

.footer-tagline {
  color: #6b7280;
  font-size: 0.9rem;
  margin-top: 0;
}

.footer-bottom {
  border-top: 1px solid #1a1a1a;
  padding-top: 30px;
  text-align: center;
  color: #525252;
  font-size: 0.85rem;
}

/* Responsive Footer */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .site-footer {
    padding: 60px 0 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }

  .footer-brand {
    align-items: center;
  }

  .footer-links a:hover {
    transform: translateX(0);
  }
}

/* Footer Refinements */
.footer-logo img {
  width: 180px;
  /* Bigger logo width for SVG visibility */
  height: auto;
  filter: none;
  /* SVG usually does not need invert if it is colored, or check specific requirement */
  margin-bottom: 12px;
}

.footer-tagline {
  color: #a3a3a3;
  font-size: 1.05rem;
  margin-top: 0;
  margin-bottom: 24px;
  font-weight: 500;
}

.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 10px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--toyota-red);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(235, 10, 30, 0.4);
}


/* Logo Size Adjustment */
.footer-logo img {
  width: 220px !important;
  /* Increased from 180px */
}

/* ==========================
   FORMULARIO PREMIUM (Atención al Cliente / Buzón)
   Clases: .mmorichal-form, .mf-row, .mf-submit
   Author: Refactor for consistent form styling
========================== */
.mmorichal-form {
  width: 100%;
  margin: 0 auto;
}

.mf-row {
  margin-bottom: 24px;
}

.mmorichal-form label {
  display: block;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.mmorichal-form input[type="text"],
.mmorichal-form input[type="email"],
.mmorichal-form input[type="tel"],
.mmorichal-form select,
.mmorichal-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  font-size: 1rem;
  color: #111827;
  background: #fff;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.mmorichal-form textarea {
  resize: vertical;
  font-family: inherit;
}

/* Focus states */
.mmorichal-form input:focus,
.mmorichal-form select:focus,
.mmorichal-form textarea:focus {
  outline: none;
  border-color: var(--toyota-red);
  box-shadow: 0 0 0 4px rgba(235, 10, 30, 0.08);
}

/* Submit Button General */
.mf-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 24px;
  background: var(--toyota-red);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 20px rgba(235, 10, 30, 0.2);
  text-decoration: none;
}

.mf-submit:hover {
  background: #b80617;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(235, 10, 30, 0.25);
  color: #fff;
}

/* WhatsApp Specific Button */
.atencion-form .mf-submit {
  background-color: #25D366 !important;
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.25);
}

.atencion-form .mf-submit:hover {
  background-color: #1DA851 !important;
  box-shadow: 0 14px 28px rgba(37, 211, 102, 0.3);
}

/* Select Arrow Customization */
.mmorichal-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1.2rem center;
  background-size: 1rem;
  cursor: pointer;
}

/* Helpers */
.mf-icon {
  display: flex;
  align-items: center;
}

.mf-icon img,
.mf-icon svg {
  display: block;
}

/* ==========================================
   MENU - SIMPLE STANDARD STRUCTURE
   ========================================== */

/* === BASE HEADER === */
.site-header.luxury-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #000;
  z-index: 1000;
  padding: 15px 0;
}

.site-header.luxury-nav .nav-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-header.luxury-nav .site-logo img {
  height: 45px;
}

/* === DESKTOP MENU === */
.site-header.luxury-nav .nav-menu {
  display: block;
}

.site-header.luxury-nav .menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 35px;
}

.site-header.luxury-nav .menu-list>li {
  position: relative;
}

.site-header.luxury-nav .menu-list>li>a {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 10px 0;
  display: block;
}

.site-header.luxury-nav .menu-list>li>a:hover {
  color: #EB0A1E;
}

/* Desktop Submenus */
.site-header.luxury-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #000;
  min-width: 180px;
  list-style: none;
  margin: 10px 0 0 0;
  padding: 10px 0;
  display: none;
}

.site-header.luxury-nav .menu-list>li:hover>.sub-menu {
  display: block;
}

.site-header.luxury-nav .sub-menu li {
  display: block;
}

.site-header.luxury-nav .sub-menu a {
  color: #fff;
  text-decoration: none;
  padding: 8px 20px;
  display: block;
  font-size: 0.9rem;
}

.site-header.luxury-nav .sub-menu a:hover {
  background: #EB0A1E;
}

/* Hide Mobile Elements on Desktop */
.nav-toggle {
  display: none;
}

.submenu-toggle {
  display: none !important;
}


/* === MOBILE === */
/* === MOBILE MENU - ENCAPSULATED & ISOLATED === */
@media (max-width: 1024px) {

  /* Remove any ::before on menu links */
  .site-header.luxury-nav .menu-list>li>a::before,
  .site-header.luxury-nav .menu-list>li>a::after {
    display: none !important;
    content: none !important;
  }

  .site-header.luxury-nav .nav-wrapper {
    padding: 0 20px !important;
  }

  /* Hamburger */
  .nav-toggle {
    display: block !important;
    background: none !important;
    border: none !important;
    width: 30px !important;
    height: 25px !important;
    position: relative !important;
    cursor: pointer !important;
    z-index: 2000 !important;
  }

  .nav-toggle span {
    display: block !important;
    width: 100% !important;
    height: 2px !important;
    background: #fff !important;
    position: absolute !important;
    left: 0 !important;
  }

  .nav-toggle span:nth-child(1) {
    top: 0 !important;
  }

  .nav-toggle span:nth-child(2) {
    top: 11px !important;
  }

  .nav-toggle span:nth-child(3) {
    top: 22px !important;
  }

  .nav-toggle.active span:nth-child(1) {
    top: 11px !important;
    transform: rotate(45deg) !important;
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0 !important;
  }

  .nav-toggle.active span:nth-child(3) {
    top: 11px !important;
    transform: rotate(-45deg) !important;
  }

  /* OVERLAY - PERFECTLY CENTERED */
  .site-header.luxury-nav .nav-menu {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: #000 !important;
    display: none !important;
    z-index: 1500 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .site-header.luxury-nav .nav-menu.open {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
  }

  /* MENU LIST - CENTERED */
  .site-header.luxury-nav .menu-list {
    flex-direction: column !important;
    width: 90% !important;
    max-width: 400px !important;
    gap: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
  }

  /* MENU ITEMS */
  .site-header.luxury-nav .menu-list>li {
    width: 100% !important;
    border-bottom: 1px solid #333 !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .site-header.luxury-nav .menu-list>li>a {
    flex: 1 !important;
    padding: 18px 60px 18px 15px !important;
    text-align: center !important;
    font-size: 1.1rem !important;
    color: #fff !important;
    text-decoration: none !important;
    display: block !important;
    margin: 0 !important;
  }

  /* TOGGLE BUTTON - SIMPLE */
  .submenu-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 50px !important;
    height: 100% !important;
    min-height: 50px !important;
    background: none !important;
    border: none !important;
    border-left: 1px solid #333 !important;
    color: #fff !important;
    font-size: 1.5rem !important;
    font-weight: 300 !important;
    cursor: pointer !important;
    line-height: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
    position: relative !important;
  }

  .submenu-toggle::before,
  .submenu-toggle::after {
    display: none !important;
    content: none !important;
  }

  .submenu-toggle i {
    display: none !important;
  }

  .submenu-open .submenu-toggle {
    background: none !important;
  }

  /* SUBMENU */
  .site-header.luxury-nav .sub-menu {
    position: static !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #111 !important;
    display: none !important;
    list-style: none !important;
  }

  .site-header.luxury-nav .menu-list>li:hover>.sub-menu {
    display: none !important;
  }

  .site-header.luxury-nav .menu-list>li.submenu-open>.sub-menu {
    display: block !important;
  }

  .site-header.luxury-nav .sub-menu li {
    border-bottom: 1px solid #1a1a1a !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .site-header.luxury-nav .sub-menu li::before,
  .site-header.luxury-nav .sub-menu li::after {
    display: none !important;
    content: none !important;
  }

  .site-header.luxury-nav .sub-menu a {
    display: block !important;
    padding: 15px !important;
    text-align: center !important;
    font-size: 1rem !important;
    color: #ccc !important;
    text-decoration: none !important;
    margin: 0 !important;
  }

  .site-header.luxury-nav .sub-menu a::before,
  .site-header.luxury-nav .sub-menu a::after {
    display: none !important;
    content: none !important;
  }
}


.site-header.luxury-nav .menu-list>li:hover>.sub-menu {
  display: none;
}

.site-header.luxury-nav .menu-list>li.submenu-open>.sub-menu {
  display: block;
}

.site-header.luxury-nav .sub-menu li {
  border-bottom: 1px solid #1a1a1a;
}

.site-header.luxury-nav .sub-menu a {
  display: block;
  padding: 15px 20px 15px 40px;
  text-align: left;
  font-size: 1.05rem;
  color: #ccc;
}



/* === PAGE SPACING === */
body.home .site-main,
body.page-slug-vehiculos .site-main,
body.page-slug-vehiculos-usados .site-main {
  padding-top: 0 !important;
}

/* =========================================
   BLOG & ARCHIVE STYLES (HEADER CLEARANCE)
   ========================================= */

/* Main Container - Clear Header */
.single-post-main,
.blog .site-main,
.archive .site-main,
.search .site-main {
  padding-top: 0 !important;
  /* Robust clearance for fixed header */
  padding-bottom: 60px;
  background-color: #fff;
  min-height: 100vh;
  position: relative;
  z-index: 10;
}

/* Content Width & Alignment */
.single-post-container,
.blog .container,
.archive .container,
.search .container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
.single-post-main .entry-title,
.blog .entry-title,
.archive .entry-title,
.search .entry-title {
  font-family: 'Inter', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  text-align: center;
  color: #000;
  margin-bottom: 10px;
  line-height: 1.2;
}

.single-post-main .entry-meta,
.blog .entry-meta,
.archive .entry-meta {
  text-align: center;
  margin-bottom: 40px;
  color: #666;
  font-size: 0.95rem;
  font-weight: 500;
}

.single-post-main .entry-content,
.blog .entry-content,
.archive .entry-content {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  line-height: 1.8;
  color: #333;
}

.single-post-main .entry-content p,
.blog .entry-content p,
.archive .entry-content p {
  margin-bottom: 24px;
}

.single-post-main .entry-content strong {
  color: #000;
  font-weight: 700;
}

/* Images */
.single-post-main .entry-content img,
.single-post-main .entry-content figure,
.blog .entry-content img,
.archive .entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px 0;
  display: block;
}

/* Responsive Adjustments */
@media (max-width: 768px) {

  .single-post-main,
  .blog .site-main,
  .archive .site-main,
  .search .site-main {
    padding-top: 150px !important;
    /* Mobile clearance */
  }

  .single-post-main .entry-title,
  .blog .entry-title,
  .archive .entry-title {
    font-size: 2.2rem;
  }
}

/* =========================================
   FOOTER SOCIAL ICONS
   ========================================= */
.footer-social {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-top: 15px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #fff;
  /* White background */
  color: #000;
  /* Black icon */
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.footer-social a:hover {
  background-color: #EB0A1E;
  /* Toyota Red */
  color: #fff;
  transform: translateY(-3px);
}

/* FORCE REMOVE ADMIN BAR MARGIN which causes white line above header */

/* FIX HOME BANNER ASPECT RATIO (RECALL CAMPAIGN) */

/* FIX HOME SLIDER IMAGE POSITION (RECALL + APP) */
/* Reverted to full height, but aligning image to the right to save the logo/graphic */
.custom-slider .swiper-slide[data-type="image"] img.cs-video-bg {
  object-fit: cover !important;
  /* Fill the area (zoom in) */
  object-position: 80% 50% !important;
  /* Focus on the Right side (Logo) */
  background-color: #000;
}

/* Safety Closure for any unclosed blocks above */

/* =========================================
   SITE FOOTER - PREMIUM MODERN DESIGN
   ========================================= */

/* Sticky Footer Setup */
body {
  display: flex !important;
  flex-direction: column !important;
  min-height: 100vh !important;
}

#site-main,
.site-main,
main {
  flex: 1 0 auto !important;
  /* Grow to fill space */
}

.site-footer {
  flex-shrink: 0 !important;
  background: linear-gradient(180deg, #111 0%, #000 100%) !important;
  color: #fff !important;
  padding: 80px 0 30px !important;
  /* More breathing room */
  font-family: 'Inter', sans-serif !important;
  display: block !important;
  position: relative !important;
  z-index: 99 !important;
  border-top: 1px solid #222;
}

/* Grid Layout */
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 50px;
  /* Wider gaps for luxury feel */
  margin-bottom: 60px;
}

/* Brand Column */
.footer-logo img {
  max-width: 160px;
  height: auto;
  margin-bottom: 25px;
  filter: brightness(0) invert(1);
  /* Ensure pure white logo */
  opacity: 0.9;
  transition: opacity 0.3s;
}

.footer-logo:hover img {
  opacity: 1;
}

.footer-tagline {
  color: #888;
  font-size: 0.9rem;
  font-weight: 300;
  /* Lighter weight */
  margin-bottom: 30px;
  line-height: 1.6;
  max-width: 250px;
}

/* Column Headings */
.footer-col h3 {
  color: #fff;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: #EB0A1E;
  /* Toyota Red */
  transition: width 0.3s ease;
}

.footer-col:hover h3::after {
  width: 60px;
  /* Expand on hover */
}

/* Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 14px;
}

.footer-links a {
  color: #aaa;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 400;
  transition: all 0.3s ease;
  display: flex;
  /* Better alignment */
  align-items: center;
}

.footer-links a::before {
  content: 'â€º';
  color: #EB0A1E;
  margin-right: 8px;
  opacity: 0;
  transform: translateX(-5px);
  transition: all 0.3s ease;
  font-size: 1.2rem;
  line-height: 1;
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(5px);
}

.footer-links a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* Social Icons (Redesigned) */
.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background-color: rgba(255, 255, 255, 0.05);
  /* Glass effect */
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.footer-social a:hover {
  background-color: #EB0A1E;
  border-color: #EB0A1E;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(235, 10, 30, 0.3);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 30px 0 0;
}

.footer-bottom p {
  margin: 0;
  color: #555;
  font-size: 0.85rem;
  text-align: center;
  font-weight: 400;
  letter-spacing: 0.5px;
}

/* Responsive */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .site-footer {
    padding: 60px 0 30px !important;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .footer-col {
    align-items: center;
  }

  .footer-col h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-links a {
    justify-content: center;
  }

  /* Reset hover effect for mobile to avoid awkward jump */
  .footer-links a:hover {
    transform: none;
  }

  .footer-social {
    justify-content: center;
  }
}

/* ==========================================================================
   GLOBAL CONTENT SPACING & LAYOUT RESET (FINAL)
   ========================================================================== 
   Justification: 
   1. Removes default WordPress Admin margins (32px).
   2. Resets Elementor internal container gaps.
   3. Forcefully aligns header and content for pixel-perfect seamlessness.
   4. Targets specific page templates (Vehiculos) to prevent white bars.
   ========================================================================== */

/* 1. ROOT LEVEL RESET (Crucial for "Above Header" Gaps) */
html,
body {
  margin-top: 0 !important;
  padding-top: 0 !important;
  --wp-admin--admin-bar--height: 0px !important;
}

/* 2. MAIN CONTAINER RESET */
#page,
#content,
#site-main,
.site-main,
.site-content,
main,
.vehiculo-premium-white,
body.page-template-default #site-main,
body.page #site-main,
body.slug-vehiculos #site-main,
body.page-id-vehiculos #site-main,
body.page-template-vehiculos #site-main,
body.page-template-vehiculos-php #site-main,
body.post-type-archive-vehiculos #site-main,
body.archive #site-main {
  margin-top: 0 !important;
  padding-top: 0 !important;
  top: 0 !important;
}

/* 3. ELEMENTOR HEADER WRAPPERS */
.elementor-location-header,
.elementor-location-header .elementor-section-wrap,
.elementor-location-header .elementor-section {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* 4. ADMIN BAR SPECIFIC OVERRIDE */
html {
  margin-top: 0 !important;
}

* html body {
  margin-top: 0 !important;
}

/* 5. REMOVE "GHOST" PARAGRAPHS */
header+p:empty,
.elementor-location-header+p:empty {
  display: none !important;
}

/* 6. SLIDER ALIGNMENT */
#custom-slider {
  margin-top: 0 !important;
}

/* 7. VEHICULOS PAGE SPECIFIC FIX */
/* Forces the page container to ignore any default theme padding */
body.page-template-default .entry-content,
body.page .entry-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* 8. USER REQUESTED: TOP BAR & HEADER RESET */
.top-bar {
  display: none !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
}

/* Asegurar que el body no tenga margen superior */
body,
html {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Ajustar header principal */
.site-header {
  margin-top: 0 !important;
}

/* Eliminar cualquier espacio del admin bar si estás logeado */
.admin-bar .top-bar {
  margin-top: -32px;
}

/* =========================================
   USER REQUESTED FIXES (STEP 38)
   ========================================= */

/* 1. WHATSAPP FORM BUTTON CENTERING & SIZING */
.mmorichal-form .mf-submit {
  width: auto !important;
  min-width: 200px;
  margin: 20px auto 0 !important;
  display: flex !important;
  justify-content: center;
}

/* Mobile adjustments for button */
@media (max-width: 768px) {
  .mmorichal-form .mf-submit {
    padding: 12px 24px !important;
    font-size: 0.95rem !important;
    min-width: 180px;
    max-width: 90%;
  }
}

/* 2. HOME BANNER MOBILE ADJUSTMENTS */
/* 2. HOME BANNER MOBILE ADJUSTMENTS */
@media (max-width: 768px) {

  /* Mobile images must be seen COMPLETE (Contain) */
  .cs-slide .cs-video-bg {
    object-fit: contain !important;
    /* Ensures full image visibility without cropping */
    object-position: center !important;
    width: 100% !important;
    height: 100% !important;
    background-color: #000;
    /* Black background for any letterboxing */
  }

  /* Mobile VIDEOS usually need cover to fill the background */
  .cs-slide video.cs-video-bg {
    object-fit: cover !important;
    object-position: center center !important;
  }

  /* "Lower" the text/buttons slightly (push content down) */
  /* Original is top: 50% / transform: translateY(-50%) */
  /* We move it to 60% approx to lower it "un poco" */
  .cs-slide-content {
    top: 60% !important;
    /* Move down slightly from center */
    transform: translateY(-50%) !important;
    /* Maintain vertical centering logic relative to itself */
    margin-top: 0 !important;
    /* Reset any previous margin */
  }

  /* Adjust specific text sizes to ensure it fits well with the image */
  .cs-slide-content h2 {
    margin-bottom: 8px !important;
    font-size: 1.8rem !important;
    /* Slightly smaller for mobile */
  }

  .cs-slide-content p {
    margin-bottom: 12px !important;
    font-size: 1rem !important;
  }
}

/* 3. EMPTY STOCK CARD (Javascript Injected) */
.empty-message-slide {
  width: 100% !important;
  display: flex;
  justify-content: center;
  padding: 20px 0;
}

.toyota-empty-card {
  background: #fff;
  border: 1px dashed #e5e7eb;
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.toyota-empty-card .tec-icon {
  font-size: 3rem;
  color: #d1d5db;
  margin-bottom: 1rem;
}

.toyota-empty-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
  color: #111827;
}

.toyota-empty-card p {
  color: #6b7280;
  margin-bottom: 1.5rem;
}

.toyota-empty-card .toyota-btn {
  background: transparent !important;
  color: var(--toyota-red) !important;
  border-bottom: 2px solid var(--toyota-red) !important;
  padding: 0.5rem 0 !important;
  border-radius: 0 !important;
}

/* 4. FIX WHITE SPACE ON VEHICLES PAGE (Refactored) */
body.page-template-vehiculos,
body.page-template-vehiculos-php,
body.page-id-91 {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.page-template-vehiculos .site-header,
body.page-template-vehiculos-php .site-header,
body.page-id-91 .site-header {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  background-color: rgba(0, 0, 0, 0.8) !important;
  /* Match Usados Overlay */
  z-index: 999 !important;
  margin-top: 0 !important;
}

/* Ensure global admin bar spacing logic doesn't interfere incorrectly on this page */
body.page-template-vehiculos.admin-bar .site-header,
body.page-id-91.admin-bar .site-header {
  top: 32px !important;
}

@media (max-width: 782px) {

  body.page-template-vehiculos.admin-bar .site-header,
  body.page-id-91.admin-bar .site-header {
    top: 46px !important;
  }
}

/* =========================================
   VEHICLE IMAGE LAYOUT ADJUSTMENTS
   ========================================= */

/* 1. Hide the highlight section completely on all devices */
.veh-highlight {
  display: none !important;
}

/* 2. Adjust hero banner image height - make it more horizontal on mobile */
@media (max-width: 768px) {
  .veh-hero {
    min-height: 400px !important;
    /* Reduced from taller default */
    max-height: 450px !important;
  }
}

/* 3. Make desktop hero slightly smaller */
@media (min-width: 769px) {
  .veh-hero {
    min-height: 500px !important;
    max-height: 550px !important;
  }
}

/* 4. Adjust first image on single vehicle pages to be wider/less tall */
.single-vehiculo .veh-hero,
.single-vehiculo_usado .veh-hero {
  aspect-ratio: 16/7 !important;
  /* Wider aspect ratio */
}

@media (max-width: 768px) {

  .single-vehiculo .veh-hero,
  .single-vehiculo_usado .veh-hero {
    aspect-ratio: 16/9 !important;
    /* Still wide but slightly taller on mobile */
    min-height: 350px !important;
    max-height: 400px !important;
  }
}

/* Ensure images within hero maintain proper scaling */
.veh-hero {
  background-size: cover !important;
  background-position: center !important;
  overflow: hidden !important;
}

/* =========================================
   UNIFIED CONTENT WIDTH - 90% ON ALL DEVICES
   ========================================= */

/* Apply 90% width to all major content containers */
.container,
.site-main .container,
main .container,
.veh-catalogo .container,
.veh-section-head,
.toyota-section,
#vehiculos,
.accesorios-mm,
.info-mm,
.productos-mm,
.blog-mm,
article .container,
section .container {
  width: 90% !important;
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
}

/* Mobile-specific adjustments (even more important for narrow screens) */
@media (max-width: 768px) {

  .container,
  .site-main .container,
  main .container,
  .veh-catalogo .container,
  .veh-section-head,
  .toyota-section,
  #vehiculos,
  .accesorios-mm,
  .info-mm,
  .productos-mm,
  .blog-mm,
  article .container,
  section .container {
    width: 90% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* Ensure vehicle cards, blog cards, etc. also respect the 90% rule */
  .veh-grid,
  .blog-grid,
  .productos-grid {
    width: 100% !important;
    padding: 0 !important;
  }

  /* Individual cards should not add extra margin */
  .veh-card,
  .blog-card,
  .producto-card {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* Exclude header, footer, and full-width banners from this */
.site-header,
.luxury-nav,
.elementor-location-header,
footer,
.site-footer,
.custom-slider,
#custom-slider,
.cs-slide,
.veh-hero {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Ensure grid layouts work properly within the 90% container */
.veh-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  width: 100%;
}

@media (max-width: 768px) {

  .veh-grid,
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* =========================================
   MOBILE RESPONSIVE OVERRIDES (Aggressive)
   Target: < 600px
   Fixes: Margins too wide, Buttons too big
   ========================================= */
@media (max-width: 600px) {

  /* 1. Reduce side spacing generally */
  .vp-configurator .container,
  .vp-ficha .container,
  .veh-gallery .container {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  /* 2. Configurator / Car Stage: Maximize width */
  .vp-configurator {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }

  .vp-viewer {
    padding: 6px !important;
    border: none !important;
    box-shadow: none !important;
  }

  /* Make car stage virtually full width */
  .vp-car-stage {
    min-height: 200px !important;
    margin-bottom: 12px !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
  }

  .vp-car-img {
    width: 100% !important;
    max-height: 220px !important;
    /* Limit height slightly on mobile to avoid fold push */
  }

  /* 3. Smaller Buttons */
  .vp-btn-primary,
  .vp-btn-secondary,
  .vp-ficha-btn,
  .mf-submit {
    padding: 10px 20px !important;
    font-size: 0.9rem !important;
    width: 100% !important;
  }

  .vp-btn-primary:active,
  .vp-btn-secondary:active {
    transform: scale(0.98);
  }

  /* 4. Gallery Adjustments */
  .veh-gallery {
    padding-top: 30px !important;
    padding-bottom: 40px !important;
  }

  .veh-gallery-grid {
    gap: 10px !important;
    grid-template-columns: repeat(2, 1fr) !important;
    /* 2 columns on mobile instead of 1 if possible */
  }

  /* 5. Ficha Technical Card */
  .vp-ficha-card {
    padding: 20px 15px !important;
  }

  .vp-ficha-title {
    font-size: 1.4rem !important;
  }

  .vp-price-val {
    font-size: 1.8rem !important;
  }
}