/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Renault Brand Colors */
:root {
    --renault-yellow: #FFD700;
    --renault-black: #1a1a1a;
    --renault-white: #ffffff;
    --renault-gray: #f5f5f5;
    --renault-dark-gray: #666;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                url('https://images.unsplash.com/photo-1449824913935-59a10b8d2000?w=1920&h=1080&fit=crop&crop=center') center/cover;
    color: var(--renault-white);
    display: flex;
    align-items: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26,26,26,0.8) 0%, rgba(0,0,0,0.6) 100%);
}

.hero-section .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

/* New split layout */
.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    align-items: stretch;
}

.hero-image {
    position: relative;
    background: linear-gradient(135deg, rgba(26,26,26,0.8) 0%, rgba(0,0,0,0.6) 100%);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px; /* menos alto para reducir zoom percibido */
    padding: 16px; /* margen interno para que el auto respire */
}

.hero-image img {
    max-width: 85%;
    max-height: 85%;
    width: auto;
    height: auto;
    object-fit: contain; /* mostrar el auto completo sin recorte */
}

.hero-brand {
    position: absolute;
    top: 22px;
    left: 22px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 14px;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.hero-brand .renault-logo {
    height: 44px;
    width: auto;
    display: block;
    border-radius: 6px;
}

.hero-brand .logo-text {
    color: var(--renault-white);
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
    letter-spacing: 2px;
    font-weight: 700;
}

.hero-form {
    background: var(--renault-white);
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);
    padding: 24px;
    text-align: left;
}

.hero-form h1 {
    color: var(--renault-black);
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.hero-form .hero-subtitle {
    color: #444;
    font-size: 0.98rem;
    margin-bottom: 16px;
}

.hero-form .form-row { margin-bottom: 12px; }

.hero-cta { margin-top: 10px; }

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.logo-diamond {
    width: 60px;
    height: 60px;
    background: var(--renault-yellow);
    transform: rotate(45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(255,215,0,0.3);
}

.logo-diamond span {
    color: var(--renault-black);
    font-weight: 700;
    font-size: 28px;
    transform: rotate(-45deg);
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 3px;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.4;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: var(--renault-yellow);
    color: var(--renault-black);
    border: none;
    padding: 18px 35px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255,215,0,0.3);
}

.btn-hero-primary:hover {
    background: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255,215,0,0.4);
}

.btn-hero-secondary {
    background: transparent;
    color: var(--renault-white);
    border: 2px solid var(--renault-white);
    padding: 16px 35px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-hero-secondary:hover {
    background: var(--renault-white);
    color: var(--renault-black);
    transform: translateY(-3px);
}

/* Sticky Contact Form */
.sticky-form-container {
    background: var(--renault-yellow);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.contact-form {
    background: var(--renault-white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.contact-form h3 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--renault-black);
    font-size: 1.3rem;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.form-row input,
.form-row select {
    flex: 1;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-row input:focus,
.form-row select:focus {
    outline: none;
    border-color: var(--renault-yellow);
}

.btn-primary {
    width: 100%;
    background: var(--renault-black);
    color: var(--renault-white);
    border: none;
    padding: 15px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: #333;
    transform: translateY(-2px);
}

/* Success Message */
.success-message {
    background: #4CAF50;
    color: white;
    padding: 30px 0;
    text-align: center;
}

.success-content i {
    font-size: 3rem;
    margin-bottom: 15px;
}

.success-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    transition: all 0.3s;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

/* Models Section */
.models-section {
    padding: 80px 0;
    background: var(--renault-gray);
}

.models-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--renault-black);
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.model-card {
    background: var(--renault-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s;
    position: relative;
}

.model-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.model-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--renault-yellow);
    color: var(--renault-black);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    z-index: 2;
    text-transform: uppercase;
}

.model-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.model-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.model-info {
    padding: 25px 20px;
    text-align: center;
}

.model-info h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--renault-black);
    font-weight: 700;
}

.price {
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: var(--renault-dark-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-amount {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--renault-black);
    margin-bottom: 20px;
}

.model-desc {
    color: #444;
    font-size: 0.98rem;
    margin-bottom: 4px;
}

.price-note {
    color: var(--renault-dark-gray);
    font-size: 0.9rem;
    margin-top: -10px;
    margin-bottom: 20px;
}

.btn-quote {
    background: var(--renault-black);
    color: var(--renault-white);
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.btn-quote:hover {
    background: #333;
    transform: translateY(-2px);
}

/* Benefits Section */
.benefits-section {
    padding: 60px 0;
    background: var(--renault-white);
}

.benefits-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--renault-black);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-item {
    text-align: center;
    padding: 30px 20px;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: var(--renault-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.benefit-icon i {
    font-size: 2rem;
    color: var(--renault-black);
}

.benefit-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--renault-black);
}

.benefit-item p {
    color: var(--renault-dark-gray);
}

/* Trust Section */
.trust-section {
    padding: 60px 0;
    background: var(--renault-black);
    color: var(--renault-white);
}

.trust-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    text-align: center;
}

.trust-item i {
    font-size: 3rem;
    color: var(--renault-yellow);
    margin-bottom: 20px;
}

.trust-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* Footer */
.footer {
    background: var(--renault-black);
    color: var(--renault-white);
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: var(--renault-yellow);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.footer-section p {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-section i {
    color: var(--renault-yellow);
    width: 16px;
}

.whatsapp-footer {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.whatsapp-footer:hover {
    background: #128C7E;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    color: var(--renault-dark-gray);
}

/* Chatbot */
.chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    background: var(--renault-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    transition: all 0.3s;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
}

.chatbot-toggle i {
    font-size: 1.5rem;
    color: var(--renault-black);
}

.chatbot-window {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 320px;
    height: 400px;
    background: var(--renault-white);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    display: none;
    flex-direction: column;
}

.chatbot-window.active {
    display: flex;
}

.chatbot-header {
    background: var(--renault-black);
    color: var(--renault-white);
    padding: 15px;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-close {
    background: none;
    border: none;
    color: var(--renault-white);
    cursor: pointer;
    font-size: 1.2rem;
}

.chatbot-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bot-message {
    background: var(--renault-gray);
    padding: 10px;
    border-radius: 10px;
    max-width: 80%;
    align-self: flex-start;
}

.user-message {
    background: var(--renault-yellow);
    padding: 10px;
    border-radius: 10px;
    max-width: 80%;
    align-self: flex-end;
}

.chatbot-input {
    padding: 15px;
    border-top: 1px solid #ddd;
    display: flex;
    gap: 10px;
}

.chatbot-input input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
}

.chatbot-input button {
    background: var(--renault-yellow);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-image { min-height: 240px; padding: 12px; }
    .hero-brand { top: 12px; left: 12px; padding: 6px 10px; border-radius: 10px; }
    .hero-brand .renault-logo { height: 32px; }
    .hero-brand .logo-text { font-size: 14px; letter-spacing: 1.5px; }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 280px;
        justify-content: center;
    }
    
    .form-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .models-section h2,
    .benefits-section h2 {
        font-size: 2rem;
    }
    
    .models-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .chatbot-window {
        width: 280px;
        height: 350px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .logo-diamond {
        width: 50px;
        height: 50px;
    }
    
    .logo-diamond span {
        font-size: 24px;
    }
    
    .logo-text {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .models-section h2,
    .benefits-section h2 {
        font-size: 1.8rem;
    }
    
    .logo-diamond {
        width: 40px;
        height: 40px;
    }
    
    .logo-diamond span {
        font-size: 20px;
    }
    
    .logo-text {
        font-size: 20px;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 250px;
        padding: 15px 25px;
        font-size: 16px;
    }
    
    .hero-section {
        min-height: 90vh;
    }
}
