/* ════════════════════════════════════════════════════════════════════════════
   RENTAUTOS SAS — Camionetas Blindadas de Lujo en Cali
   Premium Landing Page · Mobile First · Minimalista & Hiper-Lujo
   Paleta: Rojo (#C8102E) · Negro (#0A0A0A) · Gris (#6B6B6B) · Blanco (#FFFFFF)
   ════════════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════ CSS CUSTOM PROPERTIES ═══════════════════════ */
:root {
    /* Primary Colors */
    --red: #C8102E;
    --red-dark: #A00D24;
    --red-light: #E8132F;
    --black: #0A0A0A;
    --black-soft: #141414;
    --black-card: #1A1A1A;
    --gray-900: #1E1E1E;
    --gray-800: #2A2A2A;
    --gray-700: #3A3A3A;
    --gray-600: #4A4A4A;
    --gray-500: #6B6B6B;
    --gray-400: #8A8A8A;
    --gray-300: #AAAAAA;
    --gray-200: #D0D0D0;
    --gray-100: #EBEBEB;
    --white: #FFFFFF;
    --white-soft: #F5F5F5;

    /* Fonts */
    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 50%;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
    --shadow-red: 0 4px 30px rgba(200,16,46,0.3);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

    /* Header */
    --header-height: 70px;
}

/* ═══════════════════════ RESET & BASE ═══════════════════════ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--gray-300);
    background-color: var(--black);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    outline: none;
}

input, textarea {
    font-family: inherit;
    font-size: inherit;
    outline: none;
    border: none;
}

::selection {
    background: var(--gray-500); /* Plata en lugar de rojo al seleccionar texto */
    color: var(--white);
}

::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--black);
}
::-webkit-scrollbar-thumb {
    background: var(--gray-700);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400); /* Scroll plateado al pasar el mouse */
}

/* ═══════════════════════ CONTAINER ═══════════════════════ */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ═══════════════════════ TYPOGRAPHY ═══════════════════════ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--white);
    line-height: 1.2;
    font-weight: 600;
}

h1 { font-size: clamp(2rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }

.text-accent {
    color: var(--gray-200);
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gray-300); /* Cambiado de rojo a gris plata */
    margin-bottom: var(--space-md);
}

.section-tag::before {
    content: '';
    width: 32px;
    height: 2px;
    background: var(--gray-400); /* Cambiado de rojo a gris plata */
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto var(--space-3xl);
}

.section-description {
    font-size: 1.0625rem;
    color: var(--gray-400);
    margin-top: var(--space-md);
    line-height: 1.7;
}

/* ═══════════════════════ BUTTONS ═══════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.875rem 1.75rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--red);
    color: var(--white);
    border: 2px solid var(--red);
}

.btn-primary:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
    box-shadow: var(--shadow-red);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--gray-600);
}

.btn-outline:hover {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-red);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.4);
}

.btn-outline-white:hover {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
    transform: translateY(-2px);
    box-shadow: var(--shadow-red);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

.btn:active {
    transform: translateY(0) scale(0.98);
}

/* ═══════════════════════ HEADER / NAVIGATION ═══════════════════════ */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-base);
}

#main-header.scrolled {
    background: rgba(10, 10, 10, 0.95);
    border-bottom-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    z-index: 1001;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 2px;
}

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

.logo-badge {
    font-size: 0.5625rem;
    font-weight: 700;
    color: var(--gray-400);
    border: 1px solid var(--gray-600);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    letter-spacing: 2px;
    align-self: flex-start;
    margin-top: 2px;
}

/* Navigation Toggle (Mobile) */
.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition-base);
    transform-origin: center;
}

.nav-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: var(--black);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
    transition: right var(--transition-smooth);
    z-index: 1000;
}

.nav-menu.open {
    right: 0;
}

.nav-link {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--gray-300);
    letter-spacing: 1px;
    position: relative;
    padding: var(--space-sm) 0;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--white); /* Línea inferior del menú ahora es blanca */
    transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    display: none;
}

/* ═══════════════════════ HERO ═══════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: calc(var(--header-height) + var(--space-3xl)) var(--space-lg) var(--space-3xl);
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(255, 255, 255, 0.05); /* Fondo cristal en lugar de rojo claro */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: var(--space-sm) var(--space-md);
    margin-bottom: var(--space-xl);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gray-200); /* Texto platino */
    backdrop-filter: blur(8px);
}

.hero-badge i {
    font-size: 0.875rem;
}

.hero h1 {
    margin-bottom: var(--space-lg);
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.0625rem;
    color: var(--gray-300);
    line-height: 1.8;
    margin-bottom: var(--space-2xl);
    max-width: 600px;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
    align-items: center;
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255,255,255,0.08);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gray-300);
}

.trust-item i {
    color: var(--gray-400); /* Íconos de confianza (escudo, reloj) en gris */
    font-size: 1rem;
}

.trust-divider {
    width: 1px;
    height: 20px;
    background: var(--gray-700);
    display: none;
}

/* Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 6px;
}

.scroll-dot {
    width: 4px;
    height: 8px;
    background: var(--gray-300); /* Animación del mouse en gris plata */
    border-radius: 4px;
    animation: scrollDot 1.5s ease-in-out infinite;
}

@keyframes scrollDot {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(12px); opacity: 0.3; }
}

/* ═══════════════════════ FLEET / CATALOG ═══════════════════════ */
.section-fleet {
    padding: var(--space-4xl) 0;
    background: var(--black);
    position: relative;
}

.section-fleet::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--gray-400), transparent); /* Degradado plata/gris en lugar de rojo */
}

.fleet-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
}

.vehicle-card {
    background: var(--black-card);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
    transition: all var(--transition-slow);
}

.vehicle-card:hover {
    border-color: rgba(200,16,46,0.3);
    box-shadow: 0 8px 60px rgba(200,16,46,0.1);
    transform: translateY(-4px);
}

.vehicle-card-image {
    position: relative;
    overflow: hidden;
    background: var(--white); /* Fondo claro en caso de que la imagen lo necesite */
}

.vehicle-card-image img {
    width: 100%;
    height: auto; /* Permite que la imagen tome su altura natural sin cortarse */
    object-fit: contain; /* Asegura que todo el contenido gráfico encaje perfectamente */
    display: block;
    transition: transform var(--transition-slow);
}

.vehicle-card:hover .vehicle-card-image img {
    transform: scale(1.05);
}

.vehicle-badge {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%); /* Centramos la etiqueta perfectamente en la parte superior */
    z-index: 2;
    background: rgba(10,10,10,0.9);
    backdrop-filter: blur(10px);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid rgba(255,255,255,0.15);
    white-space: nowrap; /* Evita que el texto de la categoría se divida en dos líneas */
    box-shadow: 0 4px 15px rgba(0,0,0,0.3); /* Sombra suave para que resalte sobre el fondo claro de la imagen */
}

.vehicle-badge.badge-red {
    background: linear-gradient(135deg, var(--gray-700), var(--black)); /* Fondo metálico oscuro */
    border-color: var(--gray-500); /* Borde plateado */
    color: var(--white);
}

.vehicle-card-body {
    padding: var(--space-xl);
}

.vehicle-category {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gray-400); /* Cambiado de rojo a gris medio */
    margin-bottom: var(--space-sm);
}

.vehicle-card-body h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.vehicle-card-body p {
    font-size: 0.9375rem;
    color: var(--gray-400);
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

.vehicle-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255,255,255,0.06);
}

.vehicle-specs li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.8125rem;
    color: var(--gray-300);
}

.vehicle-specs li i {
    color: var(--gray-500); /* Íconos de características (pasajeros, gasolina) en gris plata */
    font-size: 0.875rem;
    width: 18px;
    text-align: center;
}

/* Pricing table inside vehicle cards */
.vehicle-pricing {
    margin-bottom: var(--space-xl);
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-md);
    padding: var(--space-md) var(--space-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-title {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gray-300); /* Cambiado de rojo a gris plata */
    margin-bottom: var(--space-sm);
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: var(--space-sm);
}

.pricing-list {
    display: flex;
    flex-direction: column;
}

.pricing-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: var(--gray-300);
    padding: 6px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}

.pricing-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.pricing-list li span:last-child {
    color: var(--white);
    font-weight: 600;
}

/* ═══════════════════════ SERVICES ═══════════════════════ */
.section-services {
    padding: var(--space-4xl) 0;
    background: var(--black-soft);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

.service-card {
    background: var(--black-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gray-300); /* Línea superior plateada al pasar el mouse */
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.service-card:hover {
    border-color: rgba(200,16,46,0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.service-card:hover::before {
    background: var(--red); /* La línea superior se vuelve roja */
    transform: scaleX(1);
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03); /* Fondo oscuro premium */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Borde sutil */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    transition: all var(--transition-base);
}

.service-icon i {
    font-size: 1.25rem;
    color: var(--white); /* Ícono blanco en lugar de rojo */
}
.service-card:hover .service-icon {
    background: rgba(200, 16, 46, 0.1);
    border-color: var(--red);
}

.service-card:hover .service-icon i {
    color: var(--red); /* El ícono se enciende en rojo */
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.service-card p {
    font-size: 0.9375rem;
    color: var(--gray-400);
    line-height: 1.7;
}

/* ═══════════════════════ WHY CHOOSE US ═══════════════════════ */
.section-why {
    padding: var(--space-4xl) 0;
    background: var(--black);
    position: relative;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
}

.why-content .section-tag {
    display: inline-flex;
}

.why-content h2 {
    margin-bottom: var(--space-lg);
}

.why-content > p {
    font-size: 1.0625rem;
    color: var(--gray-400);
    line-height: 1.8;
    margin-bottom: var(--space-2xl);
}

.why-content strong {
    color: var(--white);
}

.why-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
    padding: var(--space-xl);
    background: var(--black-card);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.06);
}

.stat-item {
    text-align: center;
    transition: transform var(--transition-base);
}

.stat-item:hover {
    transform: translateY(-5px); /* Pequeño salto elegante */
}

.stat-item:hover .stat-number {
    color: var(--red); /* El número se vuelve rojo al pasar el mouse */
    text-shadow: 0 0 15px rgba(200, 16, 46, 0.4);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--white); 
    line-height: 1.2;
    transition: color var(--transition-base), text-shadow var(--transition-base);
}

.stat-number::after {
    content: '+';
    font-size: 0.7em;
}

.stat-number:last-of-type {
    /* 24/7 doesn't need + */
}

.stat-item:last-child .stat-number::after {
    content: '';
}

.stat-label {
    font-size: 0.75rem;
    color: var(--gray-400);
    margin-top: var(--space-xs);
    letter-spacing: 0.5px;
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.why-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    font-size: 0.9375rem;
    color: var(--gray-300);
    line-height: 1.6;
}

.why-list li i {
    color: var(--gray-400); /* Checkmarks de las listas en gris plata */
    font-size: 1.125rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.why-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.why-image img {
    width: 100%;
    height: 100%;
    min-height: 350px;
    object-fit: cover;
    border-radius: var(--radius-xl);
}

.why-image-badge {
    position: absolute;
    bottom: var(--space-xl);
    right: var(--space-xl);
    background: rgba(15, 15, 15, 0.85); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15); 
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-xl);
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: all var(--transition-base);
}

.why-image-badge:hover {
    border-color: var(--red);
    box-shadow: 0 10px 30px rgba(200, 16, 46, 0.3);
    transform: scale(1.05);
}

.why-image-badge:hover .badge-number {
    color: var(--red);
}

.badge-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    transition: color var(--transition-fast);
}

.badge-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.4;
}

/* ═══════════════════════ CTA BANNER ═══════════════════════ */
.section-cta {
    padding: var(--space-4xl) 0;
    background:
        linear-gradient(135deg,
            rgba(255,255,255,0.05) 0%,
            rgba(10,10,10,1) 50%,
            rgba(255,255,255,0.03) 100%
        );
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.section-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.04) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
}

.cta-content h2 {
    margin-bottom: var(--space-lg);
}

.cta-content p {
    font-size: 1.0625rem;
    color: var(--gray-400);
    line-height: 1.8;
    margin-bottom: var(--space-2xl);
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    justify-content: center;
    align-items: center;
}

/* CTA Requirements Box */
.cta-requirements {
    margin-top: var(--space-3xl);
    padding-top: var(--space-2xl);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
}

.cta-requirements h3 {
    font-size: 1.125rem;
    color: var(--white);
    margin-bottom: var(--space-lg);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.requirements-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.requirements-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.requirements-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    font-size: 0.9375rem;
    color: var(--gray-300);
    line-height: 1.6;
    transition: all var(--transition-fast);
}

.requirements-list li:hover {
    transform: translateX(8px); /* Se desliza levemente a la derecha */
}

.requirements-list li:hover i {
    color: var(--red); /* El ícono se vuelve rojo */
    transform: scale(1.1);
}

.requirements-list li:hover span {
    color: var(--white); /* El texto se ilumina */
}

.requirements-list li i {
    color: var(--gray-400); 
    font-size: 1.125rem;
    margin-top: 3px;
    min-width: 20px;
    text-align: center;
    transition: all var(--transition-fast);
}

/* Responsivo para pantallas de PC/Tablet */
@media (min-width: 768px) {
    .requirements-grid {
        grid-template-columns: 1fr 1fr; /* Divide en 2 columnas */
        gap: var(--space-2xl);
    }
}

/* ═══════════════════════ CONTACT SECTION ═══════════════════════ */
.section-contact {
    padding: var(--space-4xl) 0;
    background: var(--black-soft);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
}

.contact-info .section-tag {
    display: inline-flex;
}

.contact-info h2 {
    margin-bottom: var(--space-lg);
}

.contact-info > p {
    font-size: 1.0625rem;
    color: var(--gray-400);
    line-height: 1.8;
    margin-bottom: var(--space-2xl);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    transition: transform var(--transition-fast);
}

.contact-item:hover {
    transform: translateX(8px);
}

.contact-item:hover .contact-icon {
    background: rgba(200, 16, 46, 0.1);
    border-color: var(--red);
}

.contact-item:hover .contact-icon i {
    color: var(--red);
}

.contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.contact-icon i {
    color: var(--white); 
    font-size: 1.125rem;
    transition: color var(--transition-fast);
}
.contact-item strong {
    display: block;
    font-size: 0.875rem;
    color: var(--white);
    margin-bottom: 2px;
}

.contact-item a,
.contact-item span {
    font-size: 0.9375rem;
    color: var(--gray-400);
    transition: color var(--transition-fast);
}

.contact-social {
    display: flex;
    gap: var(--space-md);
}

.contact-social a {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: var(--gray-800);
    border: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-300);
    font-size: 1.125rem;
    transition: all var(--transition-base);
}

/* Instagram */
.contact-social a[href*="instagram"]:hover,
.footer-social a[href*="instagram"]:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: transparent;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 39, 67, 0.4);
}

/* Facebook */
.contact-social a[href*="facebook"]:hover,
.footer-social a[href*="facebook"]:hover {
    background: #1877F2;
    border-color: #1877F2;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(24, 119, 242, 0.4);
}

/* WhatsApp */
.contact-social a[href*="wa.me"]:hover,
.footer-social a[href*="wa.me"]:hover {
    background: #25D366;
    border-color: #25D366;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

/* ═══════════════════════ CONTACT FORM ═══════════════════════ */
.contact-form-wrapper {
    background: var(--black-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
}

.contact-form > p {
    color: var(--gray-400);
    font-size: 0.9375rem;
    margin-bottom: var(--space-2xl);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-200);
    margin-bottom: var(--space-sm);
}

.required {
    color: var(--red);
}

.input-wrapper {
    position: relative;
}

.input-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-500);
    font-size: 0.875rem;
    pointer-events: none;
    z-index: 1;
}

.textarea-wrapper i {
    top: 18px;
    transform: none;
}

.input-wrapper input,
.input-wrapper textarea {
    width: 100%;
    padding: 14px 16px 14px 44px;
    background: var(--gray-900);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    color: var(--white);
    font-size: 0.9375rem;
    transition: all var(--transition-fast);
}

.input-wrapper input::placeholder,
.input-wrapper textarea::placeholder {
    color: var(--gray-600);
}

.input-wrapper input:focus,
.input-wrapper textarea:focus {
    border-color: var(--gray-400);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
    background: var(--black);
}

.input-wrapper textarea {
    resize: vertical;
    min-height: 120px;
}

/* intlTelInput Overrides */
.form-group .iti {
    width: 100%;
}

.form-group .iti__selected-flag {
    background: var(--gray-900) !important;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    border-right: 1px solid rgba(255,255,255,0.08) !important;
    padding-left: 14px;
}

.form-group .iti__selected-flag:hover {
    background: var(--gray-800) !important;
}

.form-group .iti input[type="tel"] {
    width: 100%;
    padding: 14px 16px;
    background: var(--gray-900);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    color: var(--white);
    font-size: 0.9375rem;
    transition: all var(--transition-fast);
}

.form-group .iti input[type="tel"]::placeholder {
    color: var(--gray-600);
}

.form-group .iti input[type="tel"]:focus {
    border-color: var(--gray-400);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
    background: var(--black);
}

.iti__country-list {
    background: var(--gray-900) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: var(--shadow-lg) !important;
    color: var(--gray-300) !important;
    max-height: 250px !important;
}

.iti__country-list .iti__country {
    padding: 8px 14px !important;
    background: var(--gray-900) !important; /* Fuerza el fondo oscuro en TODOS los países */
    color: var(--gray-200) !important; /* Asegura que el texto sea claro */
    transition: background var(--transition-fast);
}

/* Corrige la línea separadora entre los países preferidos y el resto */
.iti__country-list .iti__divider {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    margin: 4px 0 !important;
    padding: 0 !important;
}

.iti__country-list .iti__country:hover,
.iti__country-list .iti__country.iti__highlight {
    background: var(--gray-800) !important;
}

.iti__country-list .iti__country-name {
    color: var(--gray-200) !important;
}

.iti__country-list .iti__dial-code {
    color: var(--gray-400) !important;
}

.iti__search-input {
    background: var(--gray-800) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    color: var(--white) !important;
    border-radius: var(--radius-sm) !important;
    padding: 8px 12px !important;
}

.iti__arrow {
    border-top-color: var(--gray-400) !important;
}

.iti__arrow--up {
    border-bottom-color: var(--gray-400) !important;
}

.iti__selected-dial-code {
    color: var(--gray-300) !important;
}

/* Form Error */
.form-error {
    display: none;
    font-size: 0.8125rem;
    color: var(--red);
    margin-top: var(--space-xs);
    padding-left: 2px;
}

.form-group.error .form-error {
    display: block;
}

.form-group.error .input-wrapper input,
.form-group.error .input-wrapper textarea,
.form-group.error .iti input[type="tel"] {
    border-color: var(--red) !important;
}

/* Form Success */
.form-success {
    text-align: center;
    padding: var(--space-xl);
    background: rgba(255, 255, 255, 0.03); /* Fondo gris oscuro */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Borde sutil */
    border-radius: var(--radius-md);
    margin-top: var(--space-lg);
}

.form-success i {
    font-size: 2.5rem;
    color: var(--white); /* Ícono de éxito del form en blanco, no rojo */
    margin-bottom: var(--space-md);
}

.form-success p {
    color: var(--gray-200);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.form-success strong {
    color: var(--white);
}

/* ═══════════════════════ MAP SECTION ═══════════════════════ */
.section-map {
    background: var(--black-soft);
    padding-bottom: var(--space-4xl); /* Mantiene el espaciado coherente con la sección de arriba */
}

.map-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    line-height: 0; /* Elimina el espacio fantasma debajo del iframe */
    box-shadow: var(--shadow-lg);
    position: relative;
    background: var(--gray-900);
}

.map-wrapper iframe {
    width: 100% !important;
    height: 400px;
    display: block;
    /* Filtro maestro para adaptar el mapa de Google al modo oscuro de tu web */
    filter: grayscale(100%) invert(92%) contrast(83%);
    transition: filter var(--transition-slow);
}

/* Al pasar el mouse, el mapa recupera sus colores originales para mejor legibilidad */
.map-wrapper iframe:hover {
    filter: grayscale(0%) invert(0%) contrast(100%);
}

@media (min-width: 768px) {
    .map-wrapper iframe {
        height: 500px; /* Un poco más alto en pantallas grandes para mayor impacto visual */
    }
}

/* ═══════════════════════ MAP NAVIGATION (MOBILE) ═══════════════════════ */
.map-navigation-mobile {
    position: absolute;
    bottom: var(--space-md);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-sm);
    z-index: 10;
    width: 90%;
    max-width: 400px;
    justify-content: center;
}

.btn-map {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 15px;
    background: rgba(10, 10, 10, 0.85); /* Fondo oscuro cristal para mantener el lujo */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.btn-map i {
    font-size: 1.125rem;
    color: var(--gray-300);
    transition: color var(--transition-fast);
}

.btn-map:hover,
.btn-map:active {
    background: var(--red); /* El toque de rojo solo en la interacción */
    border-color: var(--red);
    transform: translateY(-2px);
}

.btn-map:hover i,
.btn-map:active i {
    color: var(--white);
}

/* Ocultar los botones en PC/Escritorio ya que pediste que sea solo para móviles */
@media (min-width: 1024px) {
    .map-navigation-mobile {
        display: none;
    }
}

/* ═══════════════════════ FOOTER ═══════════════════════ */
#main-footer {
    background: var(--black);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: var(--space-3xl) 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    padding-bottom: var(--space-3xl);
}

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    display: inline-flex;
    margin-bottom: var(--space-lg);
}

.footer-brand p {
    font-size: 0.9375rem;
    color: var(--gray-400);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--gray-800);
    border: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    font-size: 1rem;
    transition: all var(--transition-base);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--white);
    margin-bottom: var(--space-lg);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    font-size: 0.9375rem;
    color: var(--gray-400);
    transition: all var(--transition-fast);
    display: inline-block;
}

.footer-links a:hover, 
.contact-item a:hover {
    color: var(--white); /* Enlaces del footer cambian a blanco intenso, no rojo */
    padding-left: 4px;
}

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: 0.9375rem;
    color: var(--gray-400);
    transition: transform var(--transition-fast);
}

.footer-contact li:hover {
    transform: translateX(5px);
}

.footer-contact li:hover i {
    color: var(--red); /* El ícono pequeño del footer se vuelve rojo */
}

.footer-contact li i {
    color: var(--gray-400); 
    width: 18px;
    text-align: center;
    transition: color var(--transition-fast);
}

.footer-contact a:hover {
    color: var(--red);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: var(--space-xl) 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

.footer-bottom strong {
    color: var(--gray-300);
}

/* ═══════════════════════ WHATSAPP WIDGET ═══════════════════════ */
.wa-widget {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    z-index: 900;
}

.wa-toggle {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    background: #25D366;
    color: var(--white);
    font-size: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: all var(--transition-base);
}

.wa-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 30px rgba(37,211,102,0.5);
}

.wa-icon-close {
    display: none;
    font-size: 1.25rem;
}

.wa-toggle.active .wa-icon-open {
    display: none;
}

.wa-toggle.active .wa-icon-close {
    display: block;
}

.wa-pulse {
    position: absolute;
    inset: -4px;
    border-radius: var(--radius-full);
    border: 3px solid #25D366;
    animation: waPulse 2s ease-out infinite;
}

.wa-toggle.active .wa-pulse {
    display: none;
}

@keyframes waPulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.4); opacity: 0; }
}

/* Chat Window */
.wa-chat {
    position: absolute;
    bottom: 76px;
    right: 0;
    width: 340px;
    background: var(--black-card);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: scale(0.8) translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-smooth);
    transform-origin: bottom right;
}

.wa-chat.open {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.wa-chat-header {
    background: #075E54;
    padding: var(--space-md) var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.wa-chat-avatar {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
}

.wa-chat-info {
    flex: 1;
}

.wa-chat-info strong {
    display: block;
    font-size: 0.9375rem;
    color: var(--white);
}

.wa-chat-info span {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7);
}

.wa-online {
    font-size: 0.5rem;
    color: #25D366;
}

.wa-chat-close {
    color: rgba(255,255,255,0.6);
    font-size: 1rem;
    padding: 4px;
    transition: color var(--transition-fast);
}

.wa-chat-close:hover {
    color: var(--white);
}

.wa-chat-body {
    padding: var(--space-lg);
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='p' patternUnits='userSpaceOnUse' width='40' height='40'%3E%3Cpath d='M0 20h40M20 0v40' stroke='%23222' stroke-width='.5' fill='none'/%3E%3C/pattern%3E%3C/defs%3E%3Crect fill='%230A0A0A' width='100' height='100'/%3E%3Crect fill='url(%23p)' width='100' height='100'/%3E%3C/svg%3E");
    max-height: 400px;
    overflow-y: auto;
}

.wa-message {
    background: var(--gray-800);
    border-radius: 0 var(--radius-md) var(--radius-md) var(--radius-md);
    padding: var(--space-md);
    margin-bottom: var(--space-lg);
    position: relative;
}

.wa-message p {
    font-size: 0.875rem;
    color: var(--gray-200);
    line-height: 1.6;
}

.wa-message strong {
    color: var(--white);
}

.wa-time {
    display: block;
    font-size: 0.6875rem;
    color: var(--gray-500);
    text-align: right;
    margin-top: var(--space-xs);
}

.wa-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.wa-form-group input {
    width: 100%;
    padding: 12px 14px;
    background: var(--gray-900);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    color: var(--white);
    font-size: 0.875rem;
    transition: all var(--transition-fast);
}

.wa-form-group input::placeholder {
    color: var(--gray-600);
}

.wa-form-group input:focus {
    border-color: #25D366;
    box-shadow: 0 0 0 2px rgba(37,211,102,0.15);
}

.wa-form-group.error input {
    border-color: var(--red) !important;
}

/* intlTelInput inside WhatsApp widget */
.wa-form-group .iti {
    width: 100%;
}

.wa-form-group .iti input[type="tel"] {
    width: 100%;
    padding: 12px 14px;
    background: var(--gray-900);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    color: var(--white);
    font-size: 0.875rem;
    transition: all var(--transition-fast);
}

.wa-form-group .iti input[type="tel"]::placeholder {
    color: var(--gray-600);
}

.wa-form-group .iti input[type="tel"]:focus {
    border-color: #25D366;
    box-shadow: 0 0 0 2px rgba(37,211,102,0.15);
}

.wa-form-group .iti__selected-flag {
    background: var(--gray-900) !important;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    border-right: 1px solid rgba(255,255,255,0.08) !important;
    padding-left: 10px;
}

.wa-form-group .iti__selected-flag:hover {
    background: var(--gray-800) !important;
}

.wa-submit {
    width: 100%;
    padding: 12px;
    background: #25D366;
    color: var(--white);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    transition: all var(--transition-base);
    margin-top: var(--space-xs);
}

.wa-submit:hover {
    background: #20BD5A;
    transform: translateY(-1px);
}

/* ═══════════════════════ BACK TO TOP ═══════════════════════ */
.back-to-top {
    position: fixed;
    bottom: var(--space-xl);
    left: var(--space-xl);
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: var(--gray-800);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--white);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: 800;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--white); /* Botón de subir blanco en lugar de rojo */
    border-color: var(--white);
    color: var(--black);
    transform: translateY(-2px);
}

/* ═══════════════════════ ANIMATIONS ═══════════════════════ */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate="fade-right"] {
    transform: translateX(-30px);
}

[data-animate="fade-left"] {
    transform: translateX(30px);
}

[data-animate].animated {
    opacity: 1;
    transform: translate(0, 0);
}

/* ═══════════════════════ LOGO IMAGES ═══════════════════════ */

/* Logo en pantalla de carga */
.preloader-logo-img {
    width: 100%;
    max-width: 240px; /* Ajusta este valor según el ancho de tu logo */
    height: auto;
    margin: 0 auto var(--space-xl);
    display: block;
}

/* Logo en la barra de navegación */
.header-logo-img {
    height: 45px; /* Reducido para que respire bien en móviles (header de 70px) */
    width: auto;
    display: block;
    object-fit: contain;
    transition: height var(--transition-base);
}

/* Tamaño ajustado para computadoras/tablets */
@media (min-width: 768px) {
    .header-logo-img {
        height: 56px; /* Tamaño ideal para dejar unos 12px de margen arriba y abajo en el header de 80px */
    }
}

/* Logo en el pie de página */
.footer-logo-img {
    height: 45px; /* Un poco más grande que el del header suele verse bien aquí */
    width: auto;
    display: block;
    object-fit: contain;
}

/* ═══════════════════════ RESPONSIVE: SM (≥ 480px) ═══════════════════════ */
@media (min-width: 480px) {
    .hero-actions {
        flex-direction: row;
    }

    .cta-actions {
        flex-direction: row;
    }

    .trust-divider {
        display: block;
    }

    .wa-chat {
        width: 360px;
    }
}

/* ═══════════════════════ RESPONSIVE: MD (≥ 768px) ═══════════════════════ */
@media (min-width: 768px) {
    :root {
        --header-height: 80px;
    }

    .container {
        padding: 0 var(--space-2xl);
    }

    .fleet-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fleet-grid .vehicle-card:last-child {
        grid-column: 1 / -1;
        max-width: 600px;
        margin: 0 auto;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-form-wrapper {
        padding: var(--space-3xl);
    }

    .section-fleet,
    .section-services,
    .section-why,
    .section-cta,
    .section-contact {
        padding: var(--space-4xl) 0;
    }
}

/* ═══════════════════════ RESPONSIVE: LG (≥ 1024px) ═══════════════════════ */
@media (min-width: 1024px) {
    /* Navigation Desktop */
    .nav-toggle {
        display: none;
    }

    .nav-menu {
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        flex-direction: row;
        gap: var(--space-xl);
    }

    .nav-link {
        font-size: 0.875rem;
    }

    .nav-cta {
        display: inline-flex;
        align-items: center;
        gap: var(--space-sm);
        background: rgba(200,16,46,0.15);
        border: 1px solid rgba(200,16,46,0.3);
        padding: 8px 18px;
        border-radius: 50px;
        font-size: 0.875rem;
        font-weight: 600;
        color: var(--red-light);
        transition: all var(--transition-base);
        white-space: nowrap;
    }

    .nav-cta:hover {
        background: var(--red);
        border-color: var(--red);
        color: var(--white);
    }

    .nav-cta i {
        font-size: 0.75rem;
    }

    /* Hero */
    .hero-content {
        padding: calc(var(--header-height) + var(--space-4xl)) var(--space-2xl) var(--space-4xl);
        max-width: 720px;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    /* Fleet */
    .fleet-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .fleet-grid .vehicle-card:last-child {
        grid-column: auto;
        max-width: none;
    }

    /* Services */
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Why Grid */
    .why-grid {
        grid-template-columns: 1.1fr 0.9fr;
        align-items: center;
        gap: var(--space-4xl);
    }

    /* Contact Grid */
    .contact-grid {
        grid-template-columns: 1fr 1.1fr;
        align-items: flex-start;
        gap: var(--space-4xl);
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr;
    }
}

/* ═══════════════════════ RESPONSIVE: XL (≥ 1280px) ═══════════════════════ */
@media (min-width: 1280px) {
    .hero-content {
        max-width: 800px;
        padding-left: var(--space-3xl);
    }

    .section-fleet,
    .section-services,
    .section-why,
    .section-cta,
    .section-contact {
        padding: 6rem 0;
    }
}

/* ═══════════════════════ ACCESSIBILITY ═══════════════════════ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .hero-bg img {
        animation: none;
    }

    [data-animate] {
        opacity: 1;
        transform: none;
    }
}

/* Focus styles */
*:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 2px;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 2px;
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    padding: var(--space-md);
    background: var(--red);
    color: var(--white);
    z-index: 10000;
    font-weight: 600;
}

.skip-link:focus {
    top: 0;
}

/* ═══════════════════════ PRINT ═══════════════════════ */
@media print {
    #main-header,
    .hero-scroll,
    .wa-widget,
    .back-to-top,
    #preloader {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }
}

/* ═══════════════════════ BACKGROUND VIDEO & OVERLAY ═══════════════════════ */

/* Degradado oscuro para que el texto resalte (Oscuro izquierda -> Claro derecha) */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.6) 45%, rgba(10,10,10,0.1) 100%);
    z-index: 1;
}

/* Forzar que el Iframe llene la pantalla sin márgenes negros (Ratio 16:9) */
.vimeo-background {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 56.25vw; 
    min-height: 100vh;
    min-width: 177.77vh; 
    pointer-events: none;
    z-index: 0;
}

.vimeo-background iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ═══════════════════════ INFO DEL VIDEO (APLICA A TODAS LAS PANTALLAS) ═══════════════════════ */
.hero-video-ui {
    position: absolute;
    bottom: var(--space-4xl);
    right: var(--space-2xl);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    pointer-events: none; 
}

.hero-video-ui > * {
    pointer-events: auto; 
}

.hero-video-info {
    text-align: right;
    margin-bottom: var(--space-xl);
    
    /* Efecto Glassmorphism */
    background: rgba(10, 10, 10, 0.75); 
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(12px);
    padding: var(--space-lg) var(--space-xl); 
    border-radius: var(--radius-lg); 
    border: 1px solid rgba(255, 255, 255, 0.08); 
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6); 
    display: inline-block; 
}

.video-info-tag {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--gray-300); /* Cambiado de rojo a gris plata */
    margin-bottom: var(--space-sm);
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.video-info-description {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--white);
    font-weight: 400;
    font-style: italic;
    margin-bottom: var(--space-xs);
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.video-info-disclaimer {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--gray-400);
    font-weight: 400;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

/* ═══════════════════════ MOBILE FIRST ADJUSTMENTS ═══════════════════════ */
@media (max-width: 1023px) {

    .vimeo-background {
        display: none !important;
    }
    
    .hero-bg {
        background-color: var(--black);
    }
    
    .hero {
        flex-direction: column;
        justify-content: flex-start;
    }
    
    .hero-content {
        padding-bottom: var(--space-md);
    }

    .hero-overlay {
        background: linear-gradient(180deg, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0.7) 50%, rgba(10,10,10,0.4) 100%);
    }

    .hero-video-ui {
        position: relative;
        bottom: auto;
        right: auto;
        align-items: center; 
        padding: 0 var(--space-lg) var(--space-4xl);
        margin-top: -var(--space-md);
    }
    
    .hero-video-info {
        text-align: center;
    }
}