/* Variables de Color (Exactas a tu Logo) */
:root {
    --primary-blue: #2465B5; /* Azul Logo CARISATI */
    --secondary-blue: #1A4D8C;
    --eco-green: #218C74; /* Verde ecológico */
    --light-bg: #F4F6F8;
    --white: #FFFFFF;
    --text-dark: #2C3E50;
    --text-light: #636e72;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

html { scroll-behavior: smooth; }

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.text-center { text-align: center; }
.mt-3 { margin-top: 1.5rem; }
.bg-light { background-color: var(--light-bg); }

/* --- HEADER & LOGO --- */
.header {
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85px;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo img:hover { transform: scale(1.03); }

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.nav-links a:hover { color: var(--primary-blue); }

.hamburger {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary-blue);
}

/* --- HERO & SLIDER --- */
.hero {
    height: 100vh;
    margin-top: 85px;
    position: relative;
    overflow: hidden;
}

.slider { height: 100%; width: 100%; position: relative; }

.slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.slide.active { opacity: 1; z-index: 2; }

.hero-content {
    max-width: 800px;
    padding: 20px;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards;
}

@keyframes fadeInUp {
    to { transform: translateY(0); opacity: 1; }
}

.hero-content h2 { font-size: 3.5rem; margin-bottom: 20px; text-shadow: 2px 2px 10px rgba(0,0,0,0.5); }
.hero-content p { font-size: 1.2rem; margin-bottom: 30px; text-shadow: 1px 1px 5px rgba(0,0,0,0.5); }

.btn-primary {
    background: var(--eco-green);
    color: var(--white);
    padding: 14px 35px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: background 0.3s, transform 0.3s;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(33, 140, 116, 0.4);
}

.btn-primary:hover {
    background: var(--primary-blue);
    transform: translateY(-3px);
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 3;
    transform: translateY(-50%);
}

.slider-controls i {
    font-size: 2rem;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    transition: 0.3s;
}
.slider-controls i:hover { color: var(--white); }

/* --- SECCIONES GLOBALES --- */
.section { padding: 90px 0; }
.section h2 { color: var(--primary-blue); font-size: 2.2rem; margin-bottom: 20px; }

/* --- NOSOTROS --- */
.about-grid, .quality-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.mv-box {
    background: var(--light-bg);
    padding: 25px;
    border-left: 5px solid var(--eco-green);
    margin-top: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}
.mv-box h3 { color: var(--primary-blue); margin-bottom: 10px; }
.about-image img, .quality-img img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* --- SERVICIOS --- */
.subtitle { margin-bottom: 50px; font-size: 1.1rem; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(36, 101, 181, 0.15);
    border-bottom: 4px solid var(--primary-blue);
}
.service-card i { font-size: 3.5rem; color: var(--primary-blue); margin-bottom: 20px; }
.service-card h3 { color: var(--text-dark); margin-bottom: 15px; }

/* --- CALIDAD ECOLÓGICA --- */
.brands-list { list-style: none; margin-top: 20px; }
.brands-list li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    font-size: 1.05rem;
}
.brands-list li::before {
    content: '\f00c';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-blue);
}
.eco-box {
    background: rgba(33, 140, 116, 0.08);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid rgba(33, 140, 116, 0.3);
}
.eco-box h4 { color: var(--eco-green); margin-bottom: 10px; font-size: 1.2rem; }
.eco-icon { color: var(--eco-green); }

/* --- FOOTER --- */
.footer {
    background: #111; /* Contraste elegante */
    color: #CCC;
    padding: 70px 0 20px;
}

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

.footer-logo {
    background-color: var(--white);
    padding: 15px;
    border-radius: 8px;
    max-width: 240px;
    height: auto;
}

.social-links a {
    color: var(--white);
    background: var(--primary-blue);
    width: 45px; height: 45px;
    display: inline-flex;
    align-items: center; justify-content: center;
    border-radius: 50%;
    margin-right: 15px;
    margin-top: 20px;
    text-decoration: none;
    transition: 0.3s;
    font-size: 1.2rem;
}
.social-links a:hover { background: var(--eco-green); transform: translateY(-3px); }

.footer-locations h3, .footer-contact h3 { color: var(--white); margin-bottom: 25px; }
.location { margin-bottom: 20px; }
.location h4 { color: var(--primary-blue); margin-bottom: 5px; }

.footer-contact p { margin-bottom: 15px; font-size: 1.1rem; }
.footer-contact i { color: var(--primary-blue); margin-right: 10px; width: 20px; }

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
}

/* --- WHATSAPP FLOTANTE --- */
.whatsapp-float {
    position: fixed;
    width: 65px;
    height: 65px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s;
}
.whatsapp-float:hover { transform: scale(1.15); }

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
    .about-grid, .quality-grid { grid-template-columns: 1fr; }
    .hero-content h2 { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 85px;
        left: 0;
        background: var(--white);
        text-align: center;
        padding: 20px 0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    }
    .nav-links.active { display: flex; }
    .nav-links a { padding: 15px 0; display: block; }
    .hamburger { display: block; }
    .hero { margin-top: 70px; }
    .slider-controls { display: none; /* Ocultar flechas en móvil */ }
}