:root {
    --bg-white: #ffffff;
    --bg-light-gray: #f8f9fa;
    --bg-black: #0a0a0a;
    --text-dark: #171717;
    --text-gray: #52525b;
    --text-white: #fafafa;
    --primary-green: #22c55e;
    --primary-green-hover: #16a34a;
    
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 120px 0;
}

.text-green { color: var(--primary-green); }
.text-white { color: var(--text-white); }
.text-center { text-align: center; }
.bg-black { background-color: var(--bg-black); color: var(--text-white); }
.bg-light-gray { background-color: var(--bg-light-gray); }

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 3rem;
    letter-spacing: -1px;
}

/* --- Efecto Vidrio (Glassmorphism) en Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo {
    height: 45px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-green);
}

.nav-cta {
    background-color: var(--bg-black);
    color: var(--bg-white);
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

.nav-cta:hover {
    background-color: var(--primary-green);
    color: var(--bg-white);
    box-shadow: 0 10px 20px rgba(34, 197, 94, 0.3);
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-content {
    flex: 1;
    z-index: 2;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 24px;
    color: var(--bg-black);
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--bg-white);
    padding: 16px 36px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.4);
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--primary-green-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(34, 197, 94, 0.5);
}

.call-info {
    display: flex;
    flex-direction: column;
}

.call-label {
    font-size: 0.85rem;
    color: var(--text-gray);
    font-weight: 600;
}

.call-number {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--bg-black);
    text-decoration: none;
}

/* --- Ajuste Maestro de la Grúa --- */
.hero-visual {
    flex: 1.4;
    position: relative;
    display: flex;
    align-items: center;
    overflow: visible; 
}

.car-showcase {
    position: absolute;
    top: 55%; 
    right: -40vw; 
    transform: translateY(-50%); 
    display: flex;
    justify-content: flex-end;
    overflow: visible; 
}

.hero-car-img {
    width: 85vw; 
    max-width: 1600px; 
    height: auto; 
    z-index: 2;
    /* SOMBRA ELIMINADA COMO PEDISTE */
    pointer-events: none; 
}

.glow-effect {
    /* GLOW EFECTO OCULTO PARA EVITAR BUG */
    display: none;
}

.brand-logos {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    color: #cbd5e1;
    font-size: 2.5rem;
}

/* --- Review Section (Black) --- */
.review-wrapper {
    max-width: 800px;
    margin: 0 auto;
    position: relative; /* CRUCIAL: Esto es lo que "ancla" las flechas para que no se escapen */
}

/* --- Estilo Premium para las Flechas --- */
.slider-btn {
    position: absolute;
    top: 55%; /* Centrado verticalmente respecto a las tarjetas */
    transform: translateY(-50%);
    background-color: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 100;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

/* Efecto al pasar el mouse */
.slider-btn:hover {
    background-color: var(--primary-green);
    color: var(--bg-black);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 10px 20px rgba(34, 197, 94, 0.3);
}

/* --- Posicionamiento a los lados --- */
.prev-btn {
    left: -80px; /* La empuja fuera del lado izquierdo */
}

.next-btn {
    right: -80px; /* La empuja fuera del lado derecho */
}

/* --- Responsividad para Pantallas Más Pequeñas --- */
@media (max-width: 1000px) {
    /* Las metemos un poco para que no se corten en tablets */
    .prev-btn { left: -20px; background-color: var(--bg-black); }
    .next-btn { right: -20px; background-color: var(--bg-black); }
}

@media (max-width: 768px) {
    /* En celulares, las pasamos abajo centradas */
    .slider-btn {
        top: auto;
        bottom: -60px;
        transform: none;
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    .slider-btn:hover {
        transform: scale(1.1);
    }
    .prev-btn { left: 35%; }
    .next-btn { right: 35%; }
}
.slider-btn:hover {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
}

.prev-btn { left: -70px; }
.next-btn { right: -70px; }

@media (max-width: 900px) {
    .prev-btn { left: 0px; top: auto; bottom: -60px; }
    .next-btn { right: 0px; top: auto; bottom: -60px; }
}

/* --- Slider de Reseñas (CSS Grid Stack) --- */
.review-slider {
    display: grid;
    grid-template-areas: "slide";
    overflow: hidden; 
}

.review-card {
    grid-area: slide; 
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 50px;
    border-radius: 20px;
    position: relative;
    backdrop-filter: blur(10px);
    /* Inicia oculto para que GSAP haga la magia */
    opacity: 0;
    visibility: hidden;
}

.quote-icon {
    position: absolute;
    top: -20px;
    left: 40px;
    font-size: 3rem;
    color: var(--primary-green);
    background: var(--bg-black);
    padding: 0 10px;
}

.stars {
    color: var(--primary-green);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.review-text {
    font-size: 1.4rem;
    line-height: 1.8;
    margin-bottom: 30px;
    font-style: italic;
    color: #e2e8f0;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-green);
    color: var(--bg-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.author-info strong { display: block; font-size: 1.1rem; }
.author-info span { color: var(--text-gray); font-size: 0.9rem; }

/* --- How it Works (Benefits) --- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.process-card {
    background: var(--bg-white);
    padding: 50px 40px;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.step-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(34, 197, 94, 0.1);
    line-height: 1;
}

.process-icon {
    width: 70px;
    height: 70px;
    background: rgba(34, 197, 94, 0.1);
    color: var(--primary-green);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
}

.process-card h3 { font-size: 1.5rem; margin-bottom: 15px; font-weight: 800; }
.process-card p { color: var(--text-gray); }

/* --- Features Grid --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-box {
    display: flex;
    gap: 24px;
    background: var(--bg-white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-green);
}

.feature-content h4 { font-size: 1.3rem; margin-bottom: 10px; font-weight: 800; }
.feature-content p { color: var(--text-gray); }

/* --- FAQ --- */
.faq-container { max-width: 800px; margin: 0 auto; }

.faq-row {
    border-bottom: 1px solid #e2e8f0;
    background: var(--bg-white); 
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    color: var(--text-dark);
    transition: var(--transition);
}

.faq-question:hover,
.faq-row.active .faq-question {
    color: var(--primary-green);
}

.faq-question i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-question i {
    font-size: 1.2rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.faq-row.active .faq-question i {
    transform: rotate(180deg); /* Le da un pequeño giro al convertirse en menos */
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    opacity: 0;
}

.faq-answer p {
    padding-bottom: 24px;
    color: var(--text-gray);
    line-height: 1.6;
    padding-right: 40px; /* Evita que el texto choque con el botón */
}

/* Estado activo: despliega la respuesta */
.faq-row.active .faq-answer {
    max-height: 300px; /* Espacio suficiente para que entre el texto */
    opacity: 1;
}

/* --- Contact Section (Black) --- */
.contact-card {
    display: flex;
    background: #171717;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #262626;
}

.contact-info {
    flex: 1;
    padding: 60px;
}

.contact-info h2 { font-size: 3rem; font-weight: 800; margin-bottom: 20px; }
.contact-info p { color: #a1a1aa; font-size: 1.1rem; margin-bottom: 40px; }

.contact-details {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.5rem;
    font-weight: 800;
}

.contact-form-wrapper {
    flex: 1.2;
    background: #262626;
    padding: 60px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.form-grid input {
    width: 100%;
    padding: 16px;
    background: #171717;
    border: 1px solid #404040;
    border-radius: 8px;
    color: var(--text-white);
    font-family: inherit;
    font-size: 1rem;
}

.form-grid input:focus {
    outline: none;
    border-color: var(--primary-green);
}

.full-width { grid-column: 1 / -1; }

.btn-submit {
    width: 100%;
    padding: 20px;
    background: var(--primary-green);
    color: var(--text-white);
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.btn-submit:hover { background: var(--primary-green-hover); }

/* --- Footer --- */
.footer {
    background: var(--bg-black);
    padding: 40px 0;
    border-top: 1px solid #262626;
    color: #71717a;
}
.footer-logo { height: 40px; filter: grayscale(1) brightness(2); margin-bottom: 20px; }