:root {
    --primary-color: #1a2634;
    --secondary-color: #facc15;
    --text-white: #ffffff;
    --text-dark: #334155;
    --bg-light: #f8fafc;
    --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--text-dark);
    line-height: 1.6;
    background: #ffffff;
    overflow-x: hidden;
}

.text-center {
    text-align: center;
}

h1,
h2,
h3,
h4 {
    line-height: 1.25;
}

/* ============================
   Hero Section
   ============================ */
.hero-sost {
    position: relative;
    width: 100%;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
}

.video-container-hero {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.video-container-hero video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 38, 52, 0.75);
    /* Oscurecido ligeramente para legibilidad del texto */
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 1100px;
    padding: 2rem 5%;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.hero-content .subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.8;
    color: #e2e8f0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* ============================
   Títulos con Rayita Amarilla
   ============================ */
.section-title {
    font-size: 2.8rem;
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 3.5rem;
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background-color: var(--secondary-color);
    /* Rayita amarilla */
    border-radius: 3px;
}

/* ============================
   Abejas Section
   ============================ */
.abejas-section {
    padding: 7rem 5%;
    background-color: #ffffff;
}

.video-wrapper {
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    overflow: hidden;
    background: #000;
}

.video-wrapper video {
    width: 100%;
    display: block;
}

.video-caption {
    padding: 1.5rem;
    font-size: 1rem;
    font-style: italic;
    color: #475569;
    background: #f8fafc;
    border-bottom: 5px solid var(--secondary-color);
    /* Toque amarillo visual en el pie del video */
    font-weight: 500;
}

/* ============================
   ODS Section
   ============================ */
.ods-section {
    padding: 7rem 5%;
    background-color: var(--bg-light);
}

.circle-wrapper {
    max-width: 650px;
    margin: 0 auto 5rem auto;
    display: flex;
    justify-content: center;
}

.circle-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================
   ODS Cards Flexbox
   ============================ */
.ods-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.ods-card {
    display: flex;
    align-items: center;
    width: calc(50% - 1.25rem);
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-left: 6px solid var(--secondary-color);
    /* El toque amarillo solicitado en las tarjetas */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ods-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.ods-card-content {
    order: 1;
    flex: 1;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ods-card-img {
    order: 2;
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    margin-right: 2.5rem;
    border-radius: 12px;
    overflow: hidden;
}

.ods-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ods-card:hover .ods-card-img img {
    transform: scale(1.05);
}

.ods-card-content {
    width: 60%;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ods-card-content h3 {
    font-size: 1.35rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
    transition: color 0.3s;
}

.ods-card:hover .ods-card-content h3 {
    color: #eab308;
}

.ods-card-content ul {
    list-style: none;
    padding-left: 0;
}

.ods-card-content ul li {
    position: relative;
    padding-left: 1.8rem;
    color: #475569;
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Cheques amarillos característicos en las listas de cada tarjeta */
.ods-card-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* ============================
   Animaciones
   ============================ */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.slide-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.active {
    opacity: 1;
    transform: translate(0) scale(1);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

/* ============================
   Responsive
   ============================ */
@media (max-width: 1024px) {
    .ods-card {
        width: 100%;
        max-width: 900px;
    }
}

@media (max-width: 768px) {
    .ods-card {
        flex-direction: column;
    }

    .ods-card-content {
        order: 2;
        width: 100%;
        padding: 2rem 2rem 3rem 2rem;
    }

    .ods-card-img {
        order: 1;
        width: 180px;
        height: 180px;
        margin: 2rem auto 0 auto;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .video-wrapper,
    .circle-wrapper {
        padding: 0 1rem;
    }
}