:root {
    --primary-color: #0d47a1; /* Azul profundo (ajustar al logo) */
    --secondary-color: #ffc107; /* Amarillo/Dorado (ajustar al logo) */
    --text-color: #333;
    --bg-light: #f4f7f6;
    --white: #fff;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* Typography */
h1, h2, h3 {
    margin-bottom: 15px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 40px;
}

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

/* Utilities */
.bg-light {
    background-color: var(--bg-light);
}

.bg-primary {
    background-color: var(--primary-color);
}

.text-white {
    color: var(--white);
}

.text-white a {
    color: var(--white);
}

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 12px 24px;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #e0a800;
}

.btn-block {
    display: block;
    width: 100%;
}

.section {
    padding: 80px 0;
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo h2 {
    color: var(--primary-color);
    margin: 0;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    font-weight: 600;
    transition: color 0.3s;
}

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

.social-icons a {
    margin-left: 15px;
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--secondary-color);
}

.menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 80vh;
    overflow: hidden;
    background-color: #000;
}

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

.slide::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); /* Oscurecer imagen para el texto */
}

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

.slide-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
}

.slide-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.3);
    border: none;
    color: var(--white);
    padding: 15px;
    cursor: pointer;
    z-index: 10;
    font-size: 2rem;
    border-radius: 50%;
    transition: background 0.3s;
}

.slider-btn:hover {
    background: rgba(255,255,255,0.7);
    color: var(--primary-color);
}

.prev { left: 20px; }
.next { right: 20px; }

/* Nosotros */
.about-text {
    font-size: 1.1rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 20px auto;
}

.mision-vision {
    display: flex;
    gap: 30px;
    margin-top: 50px;
}

.mv-box {
    flex: 1;
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border-top: 4px solid var(--primary-color);
}

.mv-box h3 {
    color: var(--primary-color);
}

/* Servicios */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

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

.service-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    color: var(--primary-color);
}

/* Testimonios */
.video-container {
    max-width: 800px;
    margin: 0 auto;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
}

.video-placeholder {
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: #333;
}

.video-placeholder i {
    font-size: 4rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

/* Contacto */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.info-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-list i {
    color: var(--secondary-color);
    font-size: 1.3rem;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

/* Footer */
.footer {
    background: #111;
    color: #ccc;
    padding: 20px 0;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: 0 5px 5px rgba(0,0,0,0.1);
    }
    
    .nav.active {
        display: block;
    }

    .nav-links {
        flex-direction: column;
        gap: 0;
    }

    .nav-links li {
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 15px;
        border-bottom: 1px solid #eee;
    }

    .menu-btn {
        display: block;
    }

    .social-icons {
        display: none; /* Hide on mobile to save space, or move to menu */
    }

    .mision-vision {
        flex-direction: column;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .slide-content h1 {
        font-size: 2.5rem;
    }
}
