/* assets/css/styles_hero.css */

/* --- SECCIÓN HERO --- */
.hero {
    background-color: #f6f5ef; /* Fondo crema claro */
    padding: 60px 0 80px 0;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

.hero-content {
    max-width: 500px;
}

.hero-content h1 {
    font-family: 'Instrument Serif', serif; /* O la tipografía serif que uses globalmente */
    font-size: 4.8rem;
    line-height: 1.05;
    color: #1a342b; /* Verde oscuro */
    margin-bottom: 25px;
    font-weight: normal;
}

/* El color más claro para la palabra "historias" */
.hero-highlight {
    color: #7f9e8f; 
}

.hero-content p {
    font-size: 1.15rem;
    color: #4a4a4a;
    line-height: 1.5;
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-actions .btn-primary {
    display: inline-block;
    background-color: #1a342b;
    color: #ffffff;
    text-decoration: none;
    padding: 14px 28px;
    font-weight: bold;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    border-radius: 0; /* Botón de bordes rectos como en la imagen */
    transition: background-color 0.3s ease;
}

.hero-actions .btn-primary:hover {
    background-color: #0f1e18;
}

.hero-image {
    text-align: right; /* Alinea la imagen a la derecha en pantallas grandes */
}

.hero-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: inline-block;
    box-shadow: 15px 20px 40px rgba(0,0,0,0.1); /* Ligera sombra para que despegue la caja del fondo */
}


/* --- SECCIÓN CINTA DE BENEFICIOS --- */
.benefits-ribbon {
    background-color: #587364; /* Verde intermedio */
    padding: 40px 0;
    color: #ffffff;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.benefit-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 0 10px;
    border-right: 1px solid rgba(255, 255, 255, 0.2); /* Separador vertical */
}

/* Le sacamos la línea separadora al último elemento */
.benefit-card:last-child {
    border-right: none;
}

.benefit-card i {
    font-size: 2.2rem;
    color: #ffffff;
    margin-top: 5px;
}

.benefit-text {
    flex: 1;
}

.benefit-text h3 {
    font-size: 0.85rem;
    text-transform: uppercase;
    margin: 0 0 5px 0;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #ffffff;
}

.benefit-text p {
    font-size: 0.8rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
}


/* --- DISEÑO RESPONSIVO (Tablets y Celulares) --- */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }
    
    .hero-content {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-image {
        text-align: center;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 30px;
    }
    
    /* En tablets rompemos la línea a los dos elementos */
    .benefit-card:nth-child(2) {
        border-right: none;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    /* En celular no hay separadores verticales */
    .benefit-card {
        border-right: none;
        padding: 0;
    }
}