:root {
    --primary-color: #0F172A;
    --accent-color: #22C55E;
    --accent-dark: #16A34A;
    --gold-color: #F59E0B;
    --text-light: #F8FAFC;
    --text-muted: #CBD5E1;
    --text-dark: #334155;
    --bg-dark: #020617;
    --font-main: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
}

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

.contenedor {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 7%;
    background: rgba(2, 6, 23, 0.72);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.logo,
.footer-logo {
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: white;
    text-decoration: none;
}

.logo span,
.footer-logo span,
.highlight,
.titulo-seccion span {
    color: var(--accent-color);
}

.nav-links a {
    color: #E2E8F0;
    text-decoration: none;
    margin-left: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: white;
}

.nav-links a:hover::after {
    width: 100%;
}

.idioma-btn {
    color: var(--accent-color) !important;
    font-weight: 800 !important;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 140px 7% 80px;
    background:
        radial-gradient(circle at top left, rgba(34, 197, 94, 0.16), transparent 30%),
        radial-gradient(circle at bottom right, rgba(34, 197, 94, 0.08), transparent 30%),
        linear-gradient(135deg, #020617 0%, #0F172A 45%, #111827 100%);
    gap: 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    right: -160px;
    top: 130px;
    background: rgba(34,197,94,0.12);
    filter: blur(80px);
    border-radius: 50%;
}

.hero-content {
    flex: 1;
    max-width: 660px;
    position: relative;
    z-index: 1;
}

.hero-logo {
    width: 75%;
    margin-bottom: 24px;
    margin: auto;
    filter: drop-shadow(0 18px 35px rgba(0,0,0,0.35));
}

.eyebrow {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--accent-color);
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 18px;
    letter-spacing: 0.4px;
}

.hero h1 {
    font-size: clamp(2.6rem, 6vw, 4.8rem);
    line-height: 1.05;
    margin-bottom: 25px;
    font-weight: 800;
    letter-spacing: -2.5px;
}

.hero p {
    font-size: 1.16rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    line-height: 1.8;
    max-width: 620px;
}

.features-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.features-badges span {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    padding: 12px 18px;
    border-radius: 999px;
    font-size: 0.92rem;
    border: 1px solid rgba(255,255,255,0.08);
    color: white;
    transition: all 0.3s ease;
}

.features-badges span:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.12);
}

.form-container {
    flex: 0.86;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(22px);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 42px;
    border-radius: 28px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.35);
    color: white;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.form-container h3 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.55rem;
    color: white;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.input-group {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
}

.input-group label {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.3px;
}

input,
select,
textarea {
    padding: 15px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.05);
    color: white;
    border-radius: 12px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

select option {
    color: #0F172A;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--accent-color);
    background: rgba(255,255,255,0.08);
    box-shadow: 0 0 0 4px rgba(34,197,94,0.15);
}

input::placeholder,
textarea::placeholder {
    color: rgba(255,255,255,0.45);
}

.ancho-completo {
    grid-column: 1 / -1;
}

.checkbox-group label {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: rgba(255,255,255,0.85);
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--accent-color);
}

.btn-primary,
.btn-contacto {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    color: white;
    border: none;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.btn-primary {
    width: 100%;
    padding: 18px;
    border-radius: 14px;
    font-size: 1.05rem;
    margin-top: 12px;
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.25);
}

.btn-primary:hover,
.btn-contacto:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(34, 197, 94, 0.35);
}

.btn-primary::before,
.btn-contacto::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: all 0.7s ease;
}

.btn-primary:hover::before,
.btn-contacto:hover::before {
    left: 100%;
}

.titulo-seccion {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.7rem);
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 800;
    letter-spacing: -1px;
}

.subtitulo-seccion {
    text-align: center;
    color: #64748B;
    margin-bottom: 50px;
    font-size: 1.08rem;
    line-height: 1.7;
}

.text-white {
    color: white !important;
}

.seccion-beneficios,
.seccion-faq {
    background-color: #F8FAFC;
    padding: 100px 0;
}

.grid-beneficios,
.grid-resenas,
.grid-contacto-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.tarjeta-beneficio {
    background: white;
    padding: 40px 24px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.06);
    transition: all 0.35s ease;
    border: 1px solid #E2E8F0;
}

.tarjeta-beneficio:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    border-color: rgba(34,197,94,0.35);
}

.icono-beneficio {
    font-size: 3rem;
    margin-bottom: 20px;
}

.tarjeta-beneficio h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.tarjeta-beneficio p {
    color: #475569;
    font-size: 0.96rem;
    line-height: 1.7;
}

.seccion-flota,
.seccion-resenas,
.seccion-contacto {
    background:
        radial-gradient(circle at top left, rgba(34,197,94,0.08), transparent 30%),
        linear-gradient(180deg, #020617 0%, #0F172A 100%);
    padding: 110px 0;
    position: relative;
    overflow: hidden;
}

.grid-flota {
    display: grid;
    gap: 30px;
    margin-top: 40px;
    grid-template-columns: repeat(4, 1fr);
}

.tarjeta-vehiculo,
.tarjeta-resena,
.caja-contacto,
.stat-item {
    background: rgba(255,255,255,0.055);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(18px);
    transition: all 0.35s ease;
}

.tarjeta-vehiculo {
    border-radius: 28px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tarjeta-vehiculo:hover,
.tarjeta-resena:hover,
.caja-contacto:hover,
.stat-item:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.09);
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
    border-color: rgba(34,197,94,0.25);
}

.imagen-vehiculo {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #020617;
}

.imagen-vehiculo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease, filter 0.7s ease;
    filter: brightness(0.92) contrast(1.05);
}

.tarjeta-vehiculo:hover .imagen-vehiculo img {
    transform: scale(1.08);
    filter: brightness(1) contrast(1.08);
}

.info-vehiculo {
    padding: 25px;
    color: white;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.info-vehiculo h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    font-weight: 800;
    color: white;
}

.ejemplo-auto {
    color: var(--accent-color);
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.caracteristicas-vehiculo {
    list-style: none;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 15px;
}

.caracteristicas-vehiculo li {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.descripcion-vehiculo {
    color: #94A3B8;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-top: auto;
}

.faq-container {
    max-width: 850px;
    margin: 0 auto;
    background: white;
    border-radius: 24px;
    box-shadow: 0 15px 45px rgba(15,23,42,0.08);
    padding: 10px 28px;
}

.faq-item {
    border-bottom: 1px solid #E2E8F0;
    padding: 22px 0;
    cursor: pointer;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-pregunta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 800;
    color: var(--primary-color);
    font-size: 1.05rem;
    gap: 15px;
}

.faq-respuesta {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: #64748B;
    margin-top: 0;
    line-height: 1.7;
}

.faq-item.active .faq-respuesta {
    max-height: 220px;
    margin-top: 15px;
}

.faq-item i {
    transition: 0.3s;
}

.faq-item.active i {
    transform: rotate(180deg);
}

.stats-resenas {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.stat-item {
    text-align: center;
    padding: 25px 35px;
    border-radius: 20px;
    min-width: 180px;
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 10px;
    font-weight: 800;
}

.stat-item span {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.tarjeta-resena {
    padding: 35px;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.estrellas {
    font-size: 1.25rem;
    margin-bottom: 20px;
    letter-spacing: 3px;
}

.texto-resena {
    color: #E2E8F0;
    font-size: 1rem;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 30px;
}

.cliente-info {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 15px;
}

.icono-ws {
    font-size: 2.2rem;
    color: var(--accent-color);
    filter: drop-shadow(0 0 10px rgba(34,197,94,0.5));
}

.cliente-info h4 {
    font-size: 1rem;
    color: white;
}

.cliente-info span {
    font-size: 0.82rem;
    color: #94A3B8;
}

.grid-contacto-info {
    margin-top: 40px;
}

.caja-contacto {
    padding: 40px 30px;
    border-radius: 24px;
    text-align: center;
}

.icono-contacto {
    margin-bottom: 20px;
}

.icono-contacto i {
    font-size: 3.3rem;
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.caja-contacto:hover .icono-contacto i {
    transform: scale(1.12);
}

.caja-contacto h4 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.caja-contacto p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.btn-contacto {
    display: inline-block;
    padding: 12px 26px;
    border-radius: 999px;
}

.btn-contacto-secundario {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 800;
    font-size: 1.02rem;
    transition: color 0.3s;
}

.btn-contacto-secundario:hover {
    color: white;
}

.horario-destacado {
    margin-top: 15px;
    color: var(--accent-color) !important;
    font-weight: 800;
}

.footer {
    background-color: #020617;
    padding: 35px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-contenido {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer p {
    color: #64748B;
    font-size: 0.9rem;
}

.redes-sociales a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 10px;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.redes-sociales a:hover {
    color: var(--accent-color);
}

.whatsapp-flotante {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 12px 30px rgba(37,211,102,0.35);
    z-index: 9999;
    transition: transform 0.3s ease;
    color: white;
    text-decoration: none;
    font-size: 2.1rem;
}

.whatsapp-flotante:hover {
    transform: scale(1.1) translateY(-3px);
}

.cta-mobile {
    display: none;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1100px) {
    .hero {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-content {
        max-width: 100%;
    }

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

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

    .nav-links {
        display: none;
    }

    .hero {
        padding: 110px 20px 70px;
        text-align: center;
        gap: 35px;
    }

    .hero-logo {
        margin-left: auto;
        margin-right: auto;
        width: 130px;
    }

    .hero h1 {
        letter-spacing: -1.5px;
    }

    .features-badges {
        justify-content: center;
    }

    .form-container {
        padding: 28px 20px;
        border-radius: 22px;
    }

    .form-grid,
    .grid-flota,
    .grid-beneficios,
    .grid-resenas,
    .grid-contacto-info {
        grid-template-columns: 1fr;
    }

    .seccion-beneficios,
    .seccion-flota,
    .seccion-faq,
    .seccion-resenas,
    .seccion-contacto {
        padding: 75px 0;
    }

    .whatsapp-flotante {
        display: none;
    }

    .cta-mobile {
        display: block;
        position: fixed;
        left: 18px;
        right: 18px;
        bottom: 16px;
        z-index: 99999;
        background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
        color: white;
        text-align: center;
        text-decoration: none;
        padding: 16px;
        border-radius: 999px;
        font-weight: 800;
        font-size: 1rem;
        box-shadow: 0 15px 35px rgba(34,197,94,0.35);
    }

    body {
        padding-bottom: 82px;
    }
}

textarea {
    padding: 15px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.05);
    color: white;
    border-radius: 12px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    resize: vertical;
    min-height: 100px;
}


/* Mobile menu and legal improvements */
.menu-toggle {
    display: none;
    background: rgba(255,255,255,0.08);
    color: white;
    border: 1px solid rgba(255,255,255,0.12);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 1.35rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.legal-check a {
    color: var(--accent-color);
    font-weight: 800;
    text-decoration: none;
}

.legal-check a:hover {
    text-decoration: underline;
}

.pagina-legal {
    background: #F8FAFC;
    color: var(--text-dark);
    min-height: 100vh;
    padding: 140px 20px 80px;
}

.legal-card {
    max-width: 940px;
    margin: 0 auto;
    background: white;
    border: 1px solid #E2E8F0;
    border-radius: 28px;
    padding: 42px;
    box-shadow: 0 18px 45px rgba(15,23,42,0.08);
}

.legal-card h1 {
    color: var(--primary-color);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 14px;
}

.legal-card h2 {
    color: var(--primary-color);
    margin-top: 28px;
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.legal-card p,
.legal-card li {
    color: #475569;
    line-height: 1.75;
    margin-bottom: 10px;
}

.legal-card ul {
    padding-left: 22px;
}

.legal-card .volver {
    display: inline-block;
    margin-top: 28px;
    color: var(--accent-color);
    font-weight: 800;
    text-decoration: none;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        position: relative;
        z-index: 1002;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 76px;
        left: 18px;
        right: 18px;
        background: rgba(2, 6, 23, 0.96);
        backdrop-filter: blur(16px);
        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 20px;
        padding: 18px;
        box-shadow: 0 24px 60px rgba(0,0,0,0.35);
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .nav-links a {
        margin-left: 0;
        padding: 10px 8px;
    }

    .legal-card {
        padding: 28px 20px;
    }
}
