/* CSS Styles for VAP - Verificación Automotriz Pericial */

:root {
    --primary-color: #0e1c36;      /* Deep premium automotive blue */
    --accent-gold: #cca43b;        /* Elegant gold accents from flyer */
    --accent-blue: #1e90ff;        /* Electric tech blue */
    --bg-light: #f4f6f9;           /* Light background for readability */
    --bg-dark: #0a1424;            /* Dark elements */
    --text-main: #333333;          /* Main text color */
    --text-muted: #666666;        /* Subtitles and smaller text */
    --white: #ffffff;
    --whatsapp-green: #25d366;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-family: 'Montserrat', sans-serif;
    color: var(--text-main);
    background-color: var(--white);
}

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

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

/* Header Styles */
.site-header {
    background-color: var(--primary-color);
    border-bottom: 3px solid var(--accent-gold);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 2px;
    line-height: 1;
}

.brand-sub {
    font-size: 10px;
    color: var(--accent-gold);
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: 2px;
}

.brand-tag {
    font-size: 8px;
    color: var(--white);
    opacity: 0.7;
    letter-spacing: 1.5px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s;
}

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

.btn-nav-whatsapp {
    background-color: var(--whatsapp-green);
    color: var(--white);
    padding: 10px 18px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s, background-color 0.3s;
}

.btn-nav-whatsapp:hover {
    background-color: #20ba5a;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    background-image: url(../img/verificador3.png);
    color: var(--white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(30, 144, 255, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-content {
    flex: 1;
    max-width: 650px;
}

.promo-badge {
    background-color: var(--accent-gold);
    color: var(--primary-color);
    padding: 6px 14px;
    font-weight: 800;
    font-size: 12px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero-content h1 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero-content h1 .highlight {
    color: var(--accent-gold);
    position: relative;
}

.hero-subtitle {
    font-size: 16px;
    line-height: 1.6;
    color: #ffffff;
    margin-bottom: 35px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--primary-color);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(204, 164, 59, 0.3);
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: #ebd168;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(204, 164, 59, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.2);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background-color: rgba(255,255,255,0.05);
    border-color: var(--white);
}

.hero-image-mockup {
    flex: 1;
    display: flex;
    justify-content: center;
}

.phone-frame {
    width: 300px;
    height: 580px;
    border: 12px solid #222;
    border-radius: 36px;
    background-color: #111;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    padding: 10px;
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    background: linear-gradient(180deg, #14283c 0%, #07101a 100%);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scanner-simulation {
    text-align: center;
    padding: 20px;
    color: var(--white);
}

.scanner-icon {
    font-size: 60px;
    color: var(--accent-blue);
    margin-bottom: 25px;
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; color: var(--accent-gold); }
    100% { transform: scale(1); opacity: 0.8; }
}

/* Services Section */
.services-section {
    padding: 90px 0;
    background-color: var(--bg-light);
}

.section-title-block {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.section-title-block h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-title-block p {
    font-size: 16px;
    color: var(--text-muted);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 11fr));
    gap: 30px;
    margin-bottom: 40px;
}

.service-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.unique-card-mech {
    border-top: 5px solid var(--accent-blue);
}

.unique-card-legal {
    border-top: 5px solid var(--accent-gold);
}

.card-header-icon {
    font-size: 36px;
    margin-bottom: 20px;
}

.unique-card-mech .card-header-icon { color: var(--accent-blue); }
.unique-card-legal .card-header-icon { color: var(--accent-gold); }

.service-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

.service-list {
    list-style: none;
}

.service-list li {
    margin-bottom: 16px;
    line-height: 1.5;
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.service-list li i {
    margin-top: 3px;
    font-size: 16px;
}

.unique-card-mech .service-list li i { color: var(--accent-blue); }
.unique-card-legal .service-list li i { color: var(--accent-gold); }

/* Post Inspection Box */
.post-inspection-box {
    background: linear-gradient(90deg, #0e1c36 0%, #15294a 100%);
    border: 2px solid var(--accent-gold);
    border-radius: 12px;
    padding: 30px;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: 0 15px 35px rgba(14,28,54,0.15);
}

.pi-badge {
    background-color: var(--accent-gold);
    color: var(--primary-color);
    padding: 12px 24px;
    font-weight: 800;
    font-size: 14px;
    border-radius: 6px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pi-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 8px;
}

.pi-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #d0dbe5;
}

/* Insurance Section */
.insurance-section {
    padding: 90px 0;
    background-color: var(--white);
}

.insurance-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.insurance-text {
    flex: 1.2;
}

.insurance-text h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.insurance-text p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.insurance-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ins-feat-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.ins-feat-item i {
    font-size: 24px;
    color: var(--accent-gold);
    background-color: rgba(204, 164, 59, 0.1);
    padding: 15px;
    border-radius: 8px;
}

.ins-feat-item h5 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.ins-feat-item p {
    font-size: 14px;
    margin-bottom: 0;
}

.insurance-cta-box {
    flex: 0.8;
    background-color: #0e1c36;
    border-radius: 12px;
    padding: 40px;
    color: var(--white);
    border-left: 6px solid var(--accent-gold);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.cta-inner h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--white);
}

.cta-inner p {
    font-size: 14px;
    line-height: 1.5;
    color: #a2b7d4;
    margin-bottom: 25px;
}

.btn-quote {
    background-color: var(--accent-gold);
    color: var(--primary-color);
    padding: 14px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background-color 0.3s;
}

.btn-quote:hover {
    background-color: #ebd168;
}

/* Contact Section */
.cta-section {
    background: linear-gradient(135deg, #0a1424 0%, #0e1c36 100%);
    color: var(--white);
    padding: 80px 0;
}

.cta-lead {
    font-size: 18px;
    color: #b0c4de;
    margin-top: 10px;
    margin-bottom: 45px;
}

.contact-cards-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.contact-method-card {
    background-color: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 30px;
    width: 280px;
    text-decoration: none;
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s;
}

.contact-method-card:hover {
    background-color: rgba(255,255,255,0.07);
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.2);
}

.contact-method-card i {
    font-size: 40px;
    margin-bottom: 15px;
}

.whatsapp-color { color: var(--whatsapp-green); }
.instagram-color { color: #e1306c; }

.contact-method-card span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #a2b7d4;
    margin-bottom: 5px;
}

.contact-method-card strong {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.btn-card-action {
    font-size: 13px !important;
    font-weight: 600;
    color: var(--accent-gold) !important;
    text-transform: none !important;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Footer */
.site-footer {
    background-color: #050b14;
    color: rgba(255,255,255,0.4);
    padding: 40px 0;
    font-size: 12px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

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

.footer-legal {
    max-width: 800px;
    font-size: 11px;
    line-height: 1.4;
}

/* Responsive design */
@media (max-width: 992px) {
    .hero-container, .insurance-container {
        flex-direction: column;
        text-align: center;
    }
    .hero-content {
        max-width: 100%;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-image-mockup {
        display: none; /* Hide phone on smaller screens for simplicity */
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .post-inspection-box {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
}