/*
 * hospital-parallax.css
 * Sección Hospital Ángeles Puebla con efecto parallax
 * plasticalomas.com · Dr. Ilich Ríos
 */

/* ─── SECCIÓN CONTENEDOR ────────────────────────────────── */
.plx-hospital {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--color-heading);
}

/* ─── IMAGEN PARALLAX ───────────────────────────────────── */
.plx-hospital__img-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.plx-hospital__img {
    position: absolute;
    inset: -8% 0;          /* margen para el movimiento parallax */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    will-change: transform;
    transform: translateY(0) scale(1.08);
    transition: transform 0.05s linear;
}

/* ─── OVERLAY ───────────────────────────────────────────── */
.plx-hospital__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right,  rgba(14,30,42,0.96) 0%, rgba(14,30,42,0.82) 55%, rgba(14,30,42,0.65) 100%),
        linear-gradient(to bottom, rgba(14,30,42,0.5)  0%, rgba(14,30,42,0.1)  100%);
    z-index: 1;
}

/* ─── CONTENIDO ─────────────────────────────────────────── */
.plx-hospital__content {
    position: relative;
    z-index: 2;
    padding: 80px 52px;
    max-width: 640px;
}

/* Label */
.plx-hospital__label {
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-gold);
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    font-family: var(--font-sans);
}
.plx-hospital__label::before {
    content: '';
    width: 32px;
    height: 0.5px;
    background: var(--color-gold);
    flex-shrink: 0;
}

/* Título */
.plx-hospital__title {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: clamp(32px, 4.5vw, 56px);
    line-height: 1.05;
    color: var(--color-cream);
    margin-bottom: 20px;
}
.plx-hospital__title em {
    font-style: italic;
    color: rgba(250,248,244,0.5);
}

/* Cuerpo */
.plx-hospital__body {
    font-size: 14px;
    line-height: 1.85;
    color: rgba(250,248,244,0.5);
    margin-bottom: 36px;
    max-width: 480px;
}

/* Stats */
.plx-hospital__stats {
    display: flex;
    gap: 40px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.plx-hospital__stat strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 300;
    color: var(--color-cream);
    margin-bottom: 3px;
}

.plx-hospital__stat span {
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(250,248,244,0.4);
    font-family: var(--font-sans);
}

/* CTA */
.plx-hospital__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-sans);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-heading);
    background: var(--color-cream);
    padding: 13px 26px;
    text-decoration: none;
    transition: background 0.25s, color 0.25s;
}
.plx-hospital__cta:hover {
    background: var(--color-gold);
    color: var(--color-cream);
}

/* ─── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 768px) {
    .plx-hospital {
        min-height: 480px;
    }
    .plx-hospital__content {
        padding: 64px 24px;
    }
    .plx-hospital__stats {
        gap: 24px;
    }
    .plx-hospital__overlay {
        background: rgba(14,30,42,0.88);
    }
}
