/* ==========================================================================
   1. CONFIGURACIÓN GENERAL Y TIPOGRAFÍA
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: #fcfaf2; /* Fondo arena/beige suave de la marca */
    color: #2c3e50;
    overflow-x: hidden;
}

/* ==========================================================================
   2. BARRA DE NAVEGACIÓN (HEADER)
   ========================================================================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 50px;
    background-color: #fcfaf2;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: bold;
    color: #2c5270; /* Azul Sereno */
}

.nav-links a {
    text-decoration: none;
    color: #2c3e50;
    margin-left: 25px;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #7a9a60; /* Verde Oliva */
}

/* ==========================================================================
   3. SECCIÓN HERO (PORTADA COMPLETA E INTEGRADA)
   ========================================================================== */
.hero-fullscreen {
    position: relative;
    width: 100%;
    min-height: 90vh; /* Ocupa el espacio visual óptimo de la pantalla */
    background-image: url('img/banner-imagen.png'); /* Tomamos tu archivo .png */
    background-size: cover;
    background-position: right center; /* Desplaza la foto a la derecha para centrar a las personas */
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

/* Filtro degradado suave para que el texto sobre la izquierda tenga perfecto contraste */
.hero-fullscreen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(252, 250, 242, 0.85) 35%, rgba(252, 250, 242, 0.1) 100%);
    z-index: 1;
}

.hero-content-over-image {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 50px;
    display: flex;
    justify-content: flex-start;
}

.hero-text-block {
    max-width: 600px;
    text-align: left;
}

.hero-text-block h1 {
    font-size: 3.5rem;
    color: #2c3e50;
    line-height: 1.15;
    margin-bottom: 20px;
    font-weight: 700;
}

.slogan {
    font-size: 1.75rem;
    color: #346585; /* Azul intermedio */
    font-style: italic;
    margin-bottom: 20px;
    font-weight: 600;
}

.description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #333;
}

/* BOTÓN DE ACCIÓN (AZUL SERENO) */
.btn-cta {
    display: inline-block;
    padding: 18px 35px;
    background-color: #4a7c9d;
    color: white !important;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(74, 124, 157, 0.3);
    transition: background 0.3s, transform 0.2s;
    border: none;
}

.btn-cta:hover {
    background-color: #346585;
    transform: translateY(-2px);
}

/* ==========================================================================
   4. SECCIÓN SERVICIOS
   ========================================================================== */
.services {
    padding: 100px 50px;
    background-color: #ffffff;
    text-align: center;
}

.services h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 50px;
}

.services-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background-color: #fcfaf2;
    padding: 50px 30px;
    border-radius: 15px;
    flex: 1;
    min-width: 300px;
    max-width: 380px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.service-icon {
    font-size: 3rem;
    color: #7a9a60; /* Verde Oliva */
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.service-card p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

/* ==========================================================================
   5. SECCIÓN QUIÉNES SOMOS
   ========================================================================== */
.about {
    padding: 100px 50px;
    background-color: #fcfaf2;
    text-align: center;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #2c3e50;
}

.about-content {
    max-width: 850px;
    margin: 0 auto;
}

.about p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #444;
}

/* ==========================================================================
   6. FOOTER Y CONTACTO
   ========================================================================== */
.footer {
    padding: 80px 50px 40px;
    background-color: #2c3e50;
    color: white;
    text-align: center;
}

.footer h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.footer p {
    font-size: 1.15rem;
    color: #ecf0f1;
}

.footer-info {
    margin: 40px 0;
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.footer-info p {
    font-size: 1.2rem;
}

.footer-info i {
    margin-right: 10px;
    color: #7a9a60;
}

.copyright {
    margin-top: 50px;
    font-size: 0.95rem;
    color: #bdc3c7;
}

/* ==========================================================================
   7. BOTÓN FLOTANTE WHATSAPP
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    width: 65px;
    height: 65px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF !important;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s, background-color 0.3s;
}

.whatsapp-float:hover {
    background-color: #21b857;
    transform: scale(1.1);
}

/* ==========================================================================
   8. MEDIA QUERIES (RESPONSIVE PARA CELULARES)
   ========================================================================== */
@media (max-width: 992px) {
    .hero-content-over-image {
        padding: 0 30px;
        justify-content: center;
    }
    .hero-fullscreen::before {
        background: rgba(252, 250, 242, 0.8);
    }
    .hero-text-block {
        max-width: 90%;
        text-align: center;
    }
    .hero-text-block h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1.5rem 20px;
        flex-direction: column;
        gap: 15px;
    }
    .nav-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .nav-links a {
        margin-left: 0;
    }
    .hero-fullscreen {
        min-height: auto;
        padding: 80px 0;
        background-position: center top;
    }
    .hero-fullscreen::before {
        background: rgba(252, 250, 242, 0.9);
    }
    .hero-text-block {
        padding: 10px;
        text-align: center;
    }
    .hero-text-block h1 {
        font-size: 2.3rem;
    }
    .slogan {
        font-size: 1.4rem;
    }
    .description {
        font-size: 1.1rem;
    }
    .services, .about, .footer {
        padding: 60px 20px;
    }
    .services h2, .about h2, .footer h2 {
        font-size: 2rem;
    }
    .footer-info {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 28px;
    }
}