﻿body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.separador {
    width: 100vw;
    margin-top: 20px;
    margin-left: calc(-50vw + 50%);
    padding: 20px 0;
    text-align: center;
    background: linear-gradient(135deg, #08574c 0%, #2fa88d 50%, #08574c 100%);
    color: white;
    
}

    .separador h2 {
        font-size: 60px;
        font-weight: bold;
    }
/* CONTAINER */
.about-container {
    max-width: 1100px;
    margin: auto;
    padding: 40px 20px;
}

/* 🎬 VIDEO HERO 80% WIDTH */
.video-container {
    width: 90vw; /* 80% real (10% left + 10% right) */
    margin: 20px auto;
    height: 520px;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.18);
    background: #000;
}

.video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* HERO */
.about-hero {
    display: grid;
    grid-template-columns: 40% 60%;
    min-height: 420px; /* mínimo */
    height: auto; /* 🔥 clave */
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.about-image {
    width: 100%;
    height: 100%;
    min-height: 100%; /* 🔥 asegura expansión */
}

    .about-image img {
        width: 100%;
        height: 100%;
        min-height: 100%;
        object-fit: cover;
        object-position: 50% 15%;
        display: block;
    }

/* TEXT */

.about-text {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.about-text h1 {
    margin: 0;
    color: #0f172a;
}

.about-text h3 {
    margin: 5px 0 15px;
    color: #2563eb;
}

.about-text p {
    color: #475569;
    line-height: 1.6;
}

/* BADGES */
.badges {
    margin-top: 15px;
}

    .badges span {
        display: inline-block;
        background: #e0e7ff;
        color: #1e3a8a;
        padding: 6px 12px;
        margin-right: 8px;
        border-radius: 20px;
        font-size: 13px;
    }

/* SECTION */
.section {
    margin-top: 40px;
    background: white;
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

    .section h2 {
        font-size: 2.5rem;
        font-weight: bold;
        text-align: center;
        margin-bottom: 25px;
        background: linear-gradient(135deg, #08574c 0%, #2fa88d 50%, #08574c 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        color: transparent;
    }

    .section p {
        color: #475569;
        line-height: 1.7;
    }

/* STATS */
.stats {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    gap: 20px;
}

.stat-box {
    flex: 1;
    background: white;
    padding: 25px;
    text-align: center;
    border-radius: 18px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

    .stat-box h2 {
        color: #2563eb;
        margin: 0;
    }

/* CTA */
.cta {
    margin-top: 50px;
    text-align: center;
    background: #0f172a;
    color: white;
    padding: 40px;
    border-radius: 18px;
}

    .cta p {
        color: #cbd5e1;
    }

.btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: #2563eb;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    margin-right: 10px;
}

    .btn.secondary {
        background: transparent;
        border: 1px solid white;
    }

@media (max-width: 768px) {

    .about-hero {
        grid-template-columns: 1fr; /* 👈 clave */
        min-height: auto;
    }

    .about-image {
        height: 320px; /* imagen tipo banner en móvil */
    }

    .about-text {
        padding: 25px;
    }

        .about-text p {
            font-size: 15px;
            line-height: 1.6;
        }
}
}
