.page-header {
    background: linear-gradient(135deg, var(--azul-oscuro) 0%, var(--verde-corporativo) 100%);
    padding: 4rem 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    color: var(--blanco);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

.section-unidad {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
    padding: 3rem;
    background: var(--blanco);
    border-radius: 20px;
    box-shadow: var(--sombra-lg);
    transition: var(--transicion);
}

.section-unidad:hover {
    box-shadow: var(--sombra-xl);
    transform: translateY(-4px);
}

.section-unidad:nth-child(even) {
    direction: rtl;
}

.section-unidad:nth-child(even) > * {
    direction: ltr;
}

.article-unidad-1 h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--azul-oscuro);
    margin-bottom: 1rem;
    position: relative;
}

.article-unidad-1 h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background: var(--verde-corporativo);
    border-radius: 2px;
    margin-top: 0.75rem;
}

.article-unidad-1 p {
    color: var(--gris-500);
    font-size: 1rem;
    line-height: 1.7;
}

.article-unidad-2 {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--sombra-md);
}

.article-unidad-2 img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.section-unidad:hover .article-unidad-2 img {
    transform: scale(1.05);
}

.containers-img-unidades {
    margin-bottom: 3rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--sombra-xl);
    transition: var(--transicion);
}

.containers-img-unidades:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.figure-img-unidades {
    width: 100%;
    margin: 0;
}

.figure-img-unidades img {
    width: 100%;
    height: auto;
    display: block;
}

.btn-unidad {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--verde-corporativo);
    color: var(--blanco);
    padding: 0.875rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(114, 190, 68, 0.3);
}

.btn-unidad:hover {
    background: var(--verde-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(114, 190, 68, 0.4);
}

@media (max-width: 900px) {
    .section-unidad {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }

    .section-unidad:nth-child(even) {
        direction: ltr;
    }

    .article-unidad-2 img {
        height: 250px;
    }

    .page-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .page-header {
        padding: 3rem 1rem;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    .page-content {
        padding: 0 1rem 3rem;
    }

    .section-unidad {
        padding: 1.5rem;
    }

    .article-unidad-1 h2 {
        font-size: 1.35rem;
    }
}
