﻿/* =========================================
   HISTORIA SEESIME - ESTILOS EJECUTIVOS
   ========================================= */
:root {
    --seesime-dark: #1b4d3e;
    --seesime-accent: #2ecc71;
    --seesime-bg: #f8f9fa;
    --seesime-text: #2d3748;
    --seesime-muted: #6b7280;
    --card-radius: 12px;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    --card-hover: 0 10px 30px rgba(27, 77, 62, 0.12);
}

/* Section 1: Intro */
.historia-intro {
    padding: 5rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f4 100%);
}

.historia-intro-img {
    width: 100%;
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    border-left: 6px solid var(--seesime-accent);
    object-fit: cover;
    max-height: 450px;
}

.historia-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--seesime-dark);
    line-height: 1.15;
    margin-bottom: 1rem;
}

.historia-lead {
    font-size: 1.15rem;
    color: var(--seesime-text);
    font-weight: 500;
    margin-bottom: 1.25rem;
}

.historia-desc {
    font-size: 1rem;
    color: var(--seesime-muted);
    line-height: 1.75;
}

/* Section 2: Grid 3x3 */
.historia-grid {
    padding: 4.5rem 0;
    background: #fff;
}

.historia-grid-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

    .historia-grid-header h2 {
        font-family: 'Montserrat', sans-serif;
        font-weight: 700;
        font-size: 2rem;
        color: var(--seesime-dark);
        margin-bottom: 0.5rem;
    }

    .historia-grid-header p {
        color: var(--seesime-muted);
        font-size: 1.05rem;
    }

.historia-card {
    background: #fff;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(27, 77, 62, 0.08);
}

    .historia-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--card-hover);
        border-color: rgba(46, 204, 113, 0.2);
    }

.historia-card-img {
    height: 190px;
    overflow: hidden;
    position: relative;
}

    .historia-card-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.historia-card:hover .historia-card-img img {
    transform: scale(1.06);
}

.historia-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.historia-card-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--seesime-dark);
    margin-bottom: 0.6rem;
    line-height: 1.3;
}

.historia-card-text {
    font-size: 0.95rem;
    color: var(--seesime-muted);
    line-height: 1.6;
    margin: 0;
}

/* Responsive */
@media (max-width: 767px) {
    .historia-intro {
        padding: 3rem 0;
    }

    .historia-intro-img {
        margin-bottom: 2rem;
        max-height: 300px;
    }

    .historia-grid {
        padding: 3rem 0;
    }

    .historia-card-img {
        height: 160px;
    }
}
