/* 
   AML Baterias - Premium Design System (CARNTEL Style)
   Colors: Navy (#002b5c), Yellow (#ffcc00), Red (#e1004a)
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Brand Colors */
    --primary-navy: #002b5c;
    --primary-dark: #001a38;
    --accent-yellow: #ffcc00;
    --accent-red: #e1004a;
    
    /* CARNTEL Colors (Adapted) */
    --accent-color: var(--accent-yellow); 
    --highlight-color: var(--accent-red);
    
    --bg-dark: #111111;
    --bg-light: #f8f8f8;
    --text-white: #ffffff;
    --text-dark: #1a1a1a;
    --text-gray: #777777;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .brand-font {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

ul { list-style: none; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }

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

/* Header (CARNTEL Style) */
header {
    background: var(--primary-navy);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

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

nav {
    flex: 1;
    display: flex;
    justify-content: center;
}



.header-contact {
    justify-self: end;
}


.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    display: block;
}

nav ul {
    display: flex;
    gap: 25px;
}

nav ul li a {
    font-weight: 600;
    color: var(--text-white);
    font-size: 15px;
    text-transform: capitalize;
}

nav ul li a:hover {
    color: var(--accent-red);
}

.header-contact {
    display: flex;
    gap: 15px;
    color: white;
}

.contact-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-box .icon {
    color: var(--accent-yellow);
    font-size: 18px;
}

.contact-info .label {
    color: white;
    font-weight: 600;
    font-size: 14px;
}



.menu-toggle {
    display: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

@media (max-width: 991px) {
    header .container {
        display: flex;
        justify-content: space-between;
    }
    
    nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--primary-navy);
        transition: 0.4s;
        z-index: 999;
        padding: 40px 20px;
        overflow-y: auto;
    }

    nav.active {
        left: 0;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    nav ul li a {
        font-size: 20px;
    }

    .menu-toggle {
        display: block;
    }

    .header-contact {
        display: none; /* Simplificamos el header en móvil */
    }
}


/* Hero Section */
.hero {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 80vh;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 26, 56, 0.9) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}


.hero-content-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.hero-subtitle {
    font-size: 24px;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    line-height: 1.4;
    margin-top: -10px;
    margin-bottom: 40px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-tag {
    display: inline-block;
    padding: 5px 15px;
    border-left: 2px solid var(--accent-red);
    color: var(--accent-red);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    font-size: 12px;
    margin-bottom: 20px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.hero h1 {
    font-size: 85px;
    line-height: 1;
    margin-bottom: 30px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

.hero h1 span {
    color: var(--accent-yellow);
}

/* Custom Form Card (Example Image Style) */
.custom-form-card {
    background: var(--primary-navy);
    border-radius: 20px;
    padding: 30px 20px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    max-width: 480px;
    margin-left: auto;
    border-top: 5px solid var(--accent-red);
    border-left: 1px solid rgba(255,255,255,0.1);
    border-right: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.card-header {
    text-align: center;
    margin-bottom: 25px;
}

.card-header h1 {
    font-size: 32px;
    color: white;
    margin-bottom: 10px;
    font-weight: 700;
}

.card-header p {
    color: rgba(255,255,255,0.9);
    font-size: 15px;
    font-weight: 500;
}

.card-body {
    background: #f1f4f8; /* Color más sutil que combina mejor con el azul marino */
    border-radius: 12px;
    padding: 15px;
    display: inline-block;
    width: 100%;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.05);
}

/* Hide old filter box styles since they are no longer used */
.filter-box { display: none; }

.btn-cotizar {
    display: block;
    background: var(--accent-red);
    color: white !important;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    margin-top: 20px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(225, 0, 74, 0.3);
}

.btn-cotizar:hover {
    background: var(--primary-navy);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Fleet Section (Our Vehicle Fleet Style) */
.fleet {
    padding: 80px 0;
    text-align: center;
    background: #fff;
}

.fleet h2, .steps h2, .testimonials h2 {
    font-size: 52px;
    margin-bottom: 50px;
    color: var(--primary-navy);
}


.fleet-slider {
    display: flex;
    gap: 30px;
    transition: 0.5s ease-in-out;
}



.fleet-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    text-align: left;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
    width: calc(33.333% - 20px);
    flex-shrink: 0;
}


.fleet-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.fleet-card .img-box {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.fleet-card .img-box img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Muestra la batería completa */
    transition: var(--transition);
    padding: 20px; /* Espacio para que no choque con los bordes */
}


.fleet-card:hover .img-box img {
    transform: scale(1.1);
}


.fleet-card .content {
    padding: 30px;
}


.fleet-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.fleet-card .specs {
    display: flex;
    gap: 15px;
    color: var(--text-gray);
    font-size: 13px;
    margin-bottom: 20px;
}

/* Why Choose Us (Reference Screenshot) */
.why-choose {
    padding: 80px 0;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.feature-list h2 {
    font-size: 52px;
    line-height: 1.1;
    margin-bottom: 10px;
    color: var(--primary-navy);
}

.feature-box {
    background: #ffffff;
    padding: 25px;
    border-radius: 16px;
    display: flex;
    gap: 20px;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.03);
    transition: var(--transition);
}

.feature-box:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.feature-box i {
    font-size: 28px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--bg-light);
}

/* Alternating icon colors */
.feature-box:nth-of-type(1) i { color: var(--accent-yellow); background: rgba(255, 204, 0, 0.1); }
.feature-box:nth-of-type(2) i { color: var(--accent-red); background: rgba(225, 0, 74, 0.1); }
.feature-box:nth-of-type(3) i { color: var(--accent-yellow); background: rgba(255, 204, 0, 0.1); }


.why-image {
    position: relative;
    padding: 20px;
}

.why-image img {
    border-radius: 30px;
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: var(--transition);
}

.why-image:hover img {
    transform: scale(1.02);
}


/* Working Steps */
.steps {
    padding: 100px 0;
    text-align: center;
    background: var(--bg-light);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.step-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    position: relative;
}

.step-card .number {
    position: absolute;
    top: -20px;
    left: 20px;
    background: black;
    color: white;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    border-radius: 8px;
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background: var(--bg-light);
}

.carousel-container {
    position: relative;
    overflow: hidden;
    margin-top: 50px;
    padding: 20px 0;
}

.testi-grid {
    display: flex;
    gap: 30px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.testi-card {
    background: #fff;
    padding: 40px;
    border-radius: 40px 40px 0 40px;
    position: relative;
    width: calc(33.333% - 20px); /* Fixed width for 3 cards per view */
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.02);
}


/* Enterprise Highlight */
.testi-card.enterprise {
    border-top: 4px solid var(--accent-red);
    background: linear-gradient(145deg, #ffffff, #fffcfc);
}

.testi-card.enterprise h4 {
    color: var(--primary-navy);
}

.testi-card .user {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

/* Carousel Controls */
.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.carousel-btn {
    background: var(--primary-navy);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.carousel-btn:hover {
    background: var(--accent-red);
    transform: translateY(-3px);
}

@media (max-width: 1024px) {
    .testi-card {
        width: calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 42px; }
    .hero-subtitle { font-size: 18px; }
    
    .testi-card, .fleet-card {
        width: 100%;
    }

    
    .why-grid, .hero-content-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .why-image img {
        box-shadow: 15px 15px 0 var(--accent-yellow);
    }
    
    .feature-list h2 {
        font-size: 32px;
    }
}


/* New Footer Styles (Centered Design) */
.footer-new {
    background: var(--primary-dark);
    color: white;
    padding: 80px 0 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.footer-main {
    max-width: 800px;
    margin: 0 auto;
}

.footer-logo {
    height: 80px;
    margin: 0 auto 30px;
    display: block;
}


.footer-description {
    color: rgba(255,255,255,0.9);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.footer-whatsapp {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
}

.footer-whatsapp .wa-icon {
    font-size: 40px;
    color: #25d366;
}

.footer-whatsapp .wa-text {
    text-align: left;
}

.footer-whatsapp .wa-label {
    display: block;
    font-size: 14px;
    color: var(--accent-yellow);
    font-weight: 700;
}

.footer-whatsapp .wa-number {
    font-size: 32px;
    font-weight: 800;
    color: white;
}

.footer-info-grid {
    margin-bottom: 40px;
}

.footer-info-grid p {
    margin-bottom: 10px;
    font-size: 15px;
    color: rgba(255,255,255,0.8);
}

.footer-info-grid span {
    color: var(--accent-yellow);
    font-weight: 700;
    margin-right: 5px;
}

.footer-nav-simple {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-nav-simple a {
    color: white;
    font-weight: 600;
    font-size: 15px;
}

.footer-nav-simple a:hover {
    color: var(--accent-yellow);
}

.footer-payment-methods {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 24px;
    margin-bottom: 40px;
    color: rgba(255,255,255,0.8);
}

.footer-copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}


.btn-cta-section {
    display: inline-block;
    background: var(--accent-red);
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(225, 0, 74, 0.3);
    border: none;
    cursor: pointer;
    margin-top: 20px;
}

.btn-cta-section:hover {
    background: var(--primary-navy);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 43, 92, 0.4);
    color: white;
}

.btn-cta-section i {
    margin-left: 10px;
    transition: var(--transition);
}

.btn-cta-section:hover i {
    transform: translateX(5px);
}

.testimonials {
    padding: 80px 0;
    background: #fdfdfd;
}

.fleet {
    padding: 80px 0;
}

.steps {
    padding: 80px 0;
    background: #f9f9f9;
}


@media (max-width: 1024px) {
    .fleet-grid, .testi-grid, .footer-grid, .steps-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991px) {
    .hero {
        padding: 80px 0;
    }
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .hero h1 {
        font-size: 48px;
    }
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    .custom-form-card {
        margin: 0 auto;
    }
}
