/* =========================================================
   HPDC PAGE — IMAGE-FIRST LAYOUT
   ========================================================= */

:root {
    --hpdc-navy: #00102a;
    --hpdc-blue: #0b2a50;
    --hpdc-blue-light: #123f6d;
    --hpdc-electric: #087af5;
    --hpdc-gold: #f3bd12;
    --hpdc-ice: #eef4f9;
    --hpdc-border: #dce5ed;
    --hpdc-text: #5f6d7a;
    --hpdc-white: #ffffff;
}

/* Utilidad accesible */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* =========================================================
   MAIN IMAGE
   ========================================================= */

.hpdc-showcase {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: var(--hpdc-navy);
}

.hpdc-showcase__link {
    position: relative;
    width: 100%;
    display: block;
    color: var(--hpdc-white);
    text-decoration: none;
}

.hpdc-showcase__link picture {
    display: block;
}

.hpdc-showcase__image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    background: var(--hpdc-navy);
}

.hpdc-showcase__zoom {
    position: absolute;
    right: 22px;
    bottom: 22px;
    min-height: 42px;
    padding: 10px 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 16, 42, 0.82);
    color: var(--hpdc-white);
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2px;
    backdrop-filter: blur(8px);
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.hpdc-showcase__link:hover .hpdc-showcase__zoom,
.hpdc-showcase__link:focus .hpdc-showcase__zoom {
    background: rgba(0, 16, 42, 0.96);
    transform: translateY(-2px);
}

/* =========================================================
   INTRODUCTION
   ========================================================= */

.hpdc-intro {
    padding: 88px 0 82px;
    background: var(--hpdc-white);
}

.hpdc-intro__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.hpdc-section-label {
    margin-bottom: 13px;
    display: inline-block;
    color: var(--hpdc-blue-light);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.8px;
    line-height: 1.4;
    text-transform: uppercase;
}

.hpdc-intro h2,
.hpdc-details h2 {
    margin: 0 0 20px;
    color: var(--hpdc-navy);
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.15;
}

.hpdc-intro p {
    max-width: 760px;
    margin: 0;
    color: var(--hpdc-text);
    font-size: 17px;
    line-height: 1.85;
}

.hpdc-capacity-card {
    margin-left: 45px;
    padding: 29px 31px;
    background:
        linear-gradient(
            135deg,
            var(--hpdc-blue-light),
            var(--hpdc-navy)
        );
    color: var(--hpdc-white);
    border-radius: 16px;
    box-shadow: 0 20px 44px rgba(0, 16, 42, 0.2);
}

.hpdc-capacity-card > span {
    display: block;
    color: rgba(255, 255, 255, 0.65);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.hpdc-capacity-card strong {
    margin: 8px 0 9px;
    display: block;
    color: var(--hpdc-white);
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
}

.hpdc-capacity-card strong small {
    color: var(--hpdc-gold);
    font-size: 16px;
    font-weight: 700;
}

.hpdc-capacity-card p {
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
    line-height: 1.65;
}

/* =========================================================
   SECONDARY CONTENT
   ========================================================= */

.hpdc-details {
    padding: 92px 0 88px;
    background:
        linear-gradient(
            180deg,
            #f7fafc,
            var(--hpdc-ice)
        );
}

.hpdc-details__content {
    width: 100%;
}

.hpdc-details__heading {
    max-width: 820px;
    margin: 0 auto 38px;
    text-align: center;
}

.hpdc-details__heading p {
    margin: 0 auto;
    color: var(--hpdc-text);
    font-size: 16px;
    line-height: 1.8;
}

.hpdc-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.hpdc-process-card {
    min-height: 176px;
    padding: 23px;
    background: var(--hpdc-white);
    border: 1px solid var(--hpdc-border);
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(0, 16, 42, 0.06);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.hpdc-process-card:hover {
    transform: translateY(-4px);
    border-color: rgba(11, 42, 80, 0.24);
    box-shadow: 0 16px 34px rgba(0, 16, 42, 0.11);
}

.hpdc-process-card__number {
    display: block;
    color: var(--hpdc-electric);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.hpdc-process-card h3 {
    margin: 18px 0 8px;
    color: var(--hpdc-navy);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
}

.hpdc-process-card p {
    margin: 0;
    color: var(--hpdc-text);
    font-size: 13px;
    line-height: 1.65;
}

/* =========================================================
   CTA
   ========================================================= */

.hpdc-cta {
    padding: 0 0 92px;
    background: var(--hpdc-ice);
}

.hpdc-cta__panel {
    padding: 43px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    background:
        radial-gradient(
            circle at 90% 15%,
            rgba(255, 255, 255, 0.13),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            var(--hpdc-blue-light),
            var(--hpdc-navy)
        );
    border-radius: 16px;
    box-shadow: 0 22px 50px rgba(0, 16, 42, 0.2);
}

.hpdc-cta__panel span {
    display: block;
    color: rgba(255, 255, 255, 0.62);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.hpdc-cta__panel h2 {
    max-width: 720px;
    margin: 8px 0 0;
    color: var(--hpdc-white);
    font-size: 29px;
    font-weight: 700;
    line-height: 1.35;
}

.hpdc-cta__panel > a {
    min-height: 51px;
    padding: 13px 22px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--hpdc-white);
    color: var(--hpdc-navy);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.16);
    transition:
        transform 0.2s ease,
        background-color 0.2s ease;
}

.hpdc-cta__panel > a:hover,
.hpdc-cta__panel > a:focus {
    background: #f2f6fa;
    color: var(--hpdc-navy);
    transform: translateY(-2px);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media screen and (min-width: 1672px) {
    .hpdc-showcase__image {
        max-width: 1920px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 991px) {
    .hpdc-intro__row {
        display: block;
    }

    .hpdc-capacity-card {
        margin: 42px 0 0;
    }

    .hpdc-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hpdc-cta__panel {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media screen and (max-width: 767px) {
    .hpdc-showcase__zoom {
        right: 12px;
        bottom: 12px;
        min-height: 36px;
        padding: 8px 11px;
        font-size: 10px;
    }

    .hpdc-intro,
    .hpdc-details {
        padding-top: 65px;
        padding-bottom: 65px;
    }

    .hpdc-intro h2,
    .hpdc-details h2 {
        font-size: 32px;
    }

    .hpdc-intro p {
        font-size: 16px;
        line-height: 1.75;
    }

    .hpdc-capacity-card strong {
        font-size: 36px;
    }

    .hpdc-process-grid {
        grid-template-columns: 1fr;
    }

    .hpdc-process-card {
        min-height: auto;
    }

    .hpdc-cta {
        padding-bottom: 65px;
    }

    .hpdc-cta__panel {
        padding: 34px 27px;
    }

    .hpdc-cta__panel h2 {
        font-size: 25px;
    }

    .hpdc-cta__panel > a {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .hpdc-showcase__zoom {
        display: none;
    }

    .hpdc-intro h2,
    .hpdc-details h2 {
        font-size: 28px;
    }

    .hpdc-capacity-card {
        padding: 25px;
    }

    .hpdc-cta__panel h2 {
        font-size: 22px;
    }
}
