/* =========================================================
   APAPACHO
   FICHA PÚBLICA - CENTRO DE ACOPIO
========================================================= */

.centro-detail {
    width: 100%;
    overflow: hidden;
    color: var(--apapacho-ink);
    background: #ffffff;
}


/* =========================================================
   HERO
========================================================= */

.centro-detail-hero {
    position: relative;
    padding: 48px 5vw 80px;
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(255, 255, 255, 0.18),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            var(--apapacho-blue) 0%,
            var(--apapacho-blue-dark) 100%
        );
}

.centro-detail-hero-inner {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}


/* =========================================================
   VOLVER
========================================================= */

.centro-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 55px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.centro-detail-back span {
    font-size: 18px;
}

.centro-detail-back:hover {
    color: #ffffff;
    transform: translateX(-3px);
}


/* =========================================================
   HERO GRID
========================================================= */

.centro-detail-hero-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(260px, 340px);
    align-items: center;
    gap: 70px;
}


/* =========================================================
   INTRO
========================================================= */

.centro-detail-intro {
    max-width: 780px;
}

.centro-detail-eyebrow {
    display: block;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.centro-detail-status {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 9px 13px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.10);
    font-size: 11px;
    font-weight: 800;
}

.centro-detail-status-dot {
    width: 7px;
    height: 7px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--apapacho-yellow);
}

.centro-detail-intro h1 {
    max-width: 850px;
    margin: 0 0 13px;
    color: #ffffff;
    font-size: clamp(48px, 6vw, 82px);
    line-height: 0.95;
    letter-spacing: -0.055em;
}

.centro-detail-location {
    margin: 0 0 23px;
    color: var(--apapacho-yellow);
    font-size: 17px;
    font-weight: 800;
}

.centro-detail-description {
    max-width: 620px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    line-height: 1.7;
}


/* =========================================================
   LOGO
========================================================= */

.centro-detail-logo-card {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.30);
    border-radius: 36px;
    background: #ffffff;
    box-shadow: 0 30px 60px rgba(4, 74, 96, 0.16);
}

.centro-detail-logo-card img {
    width: 100%;
    height: 100%;
    max-width: 230px;
    max-height: 230px;
    object-fit: contain;
}

.centro-detail-logo-placeholder {
    width: 100%;
    height: 100%;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    border-radius: 24px;
    color: rgba(9, 43, 59, 0.38);
    background: var(--apapacho-blue-light);
}

.centro-detail-logo-placeholder span {
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.centro-detail-logo-placeholder small {
    max-width: 180px;
    color: var(--apapacho-ink);
    font-size: 13px;
    font-weight: 800;
    text-align: center;
}


/* =========================================================
   CONTENT
========================================================= */

.centro-detail-content {
    padding: 90px 5vw 110px;
    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            var(--apapacho-blue-light) 100%
        );
}

.centro-detail-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

.centro-detail-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(300px, 0.65fr);
    align-items: start;
    gap: 30px;
}


/* =========================================================
   MAIN
========================================================= */

.centro-detail-main {
    display: grid;
    gap: 25px;
}


/* =========================================================
   CARDS
========================================================= */

.centro-info-card {
    padding: 38px;
    border: 1px solid rgba(9, 43, 59, 0.08);
    border-radius: 28px;
    background: #ffffff;
}

.centro-info-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
}

.centro-info-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 16px;
    color: #ffffff;
    background: var(--apapacho-blue);
    font-size: 23px;
    font-weight: 900;
}

.centro-info-icon-green {
    background: var(--apapacho-green);
}

.centro-info-kicker {
    display: block;
    margin-bottom: 3px;
    color: var(--apapacho-blue);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.centro-info-card-header h2 {
    margin: 0;
    color: var(--apapacho-ink);
    font-size: 25px;
    line-height: 1.1;
    letter-spacing: -0.035em;
}


/* =========================================================
   ADDRESS
========================================================= */

.centro-address {
    padding: 24px;
    border-radius: 19px;
    background: var(--apapacho-blue-light);
}

.centro-address-label {
    display: block;
    margin-bottom: 8px;
    color: var(--apapacho-blue-dark);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.centro-address strong {
    display: block;
    margin-bottom: 6px;
    color: var(--apapacho-ink);
    font-size: 17px;
}

.centro-address p {
    margin: 0;
    color: var(--apapacho-text);
    font-size: 13px;
}


/* =========================================================
   MAPS BUTTON
========================================================= */

.centro-maps-button {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 18px;
    padding: 0 20px 0 23px;
    border-radius: 17px;
    color: #ffffff;
    background: var(--apapacho-blue);
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.centro-maps-button:hover {
    transform: translateY(-2px);
    background: var(--apapacho-blue-dark);
}

.centro-maps-arrow {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    font-size: 16px;
}


/* =========================================================
   COLECTA
========================================================= */

.centro-colecta-copy {
    max-width: 700px;
    margin: 0 0 28px;
    color: var(--apapacho-text);
    font-size: 14px;
    line-height: 1.8;
}

.centro-date-box {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 20px;
    border: 1px solid rgba(9, 43, 59, 0.07);
    border-radius: 18px;
}

.centro-date-number {
    min-width: 62px;
    color: var(--apapacho-green);
    font-size: 39px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.05em;
}

.centro-date-info span {
    display: block;
    margin-bottom: 3px;
    color: var(--apapacho-blue);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.centro-date-info strong {
    color: var(--apapacho-ink);
    font-size: 12px;
}

.centro-date-separator {
    padding: 8px 0;
    color: rgba(52, 81, 93, 0.55);
    font-size: 10px;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
}


/* =========================================================
   SIDE
========================================================= */

.centro-detail-side {
    position: sticky;
    top: 30px;
    display: grid;
    gap: 18px;
}


/* =========================================================
   HELP CARD
========================================================= */

.centro-help-card {
    position: relative;
    overflow: hidden;
    padding: 36px;
    border-radius: 28px;
    color: #ffffff;
    background:
        linear-gradient(
            145deg,
            var(--apapacho-green) 0%,
            var(--apapacho-green-dark) 100%
        );
}

.centro-help-card::after {
    content: "♡";
    position: absolute;
    right: -14px;
    bottom: -48px;
    color: rgba(255, 255, 255, 0.08);
    font-size: 180px;
    line-height: 1;
    pointer-events: none;
}

.centro-help-label {
    position: relative;
    z-index: 1;
    display: block;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.13em;
}

.centro-help-card h2 {
    position: relative;
    z-index: 1;
    margin: 0 0 15px;
    color: #ffffff;
    font-size: 29px;
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.centro-help-card p {
    position: relative;
    z-index: 1;
    margin: 0 0 27px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    line-height: 1.7;
}

.centro-help-button {
    position: relative;
    z-index: 1;
    min-height: 55px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px 0 20px;
    border-radius: 15px;
    color: var(--apapacho-ink);
    background: #ffffff;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.centro-help-button:hover {
    transform: translateY(-2px);
}

.centro-help-button span {
    font-size: 16px;
}


/* =========================================================
   OTHER CENTERS
========================================================= */

.centro-other-card {
    padding: 27px 30px;
    border: 1px solid rgba(9, 43, 59, 0.08);
    border-radius: 24px;
    background: #ffffff;
}

.centro-other-card > span {
    display: block;
    margin-bottom: 5px;
    color: var(--apapacho-ink);
    font-size: 13px;
    font-weight: 900;
}

.centro-other-card p {
    margin: 0 0 17px;
    color: var(--apapacho-text);
    font-size: 11px;
}

.centro-other-card a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--apapacho-blue-dark);
    font-size: 11px;
    font-weight: 900;
    text-decoration: none;
}

.centro-other-card a span {
    font-size: 15px;
    transition: transform 0.2s ease;
}

.centro-other-card a:hover span {
    transform: translateX(4px);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1050px) {

    .centro-detail-hero-grid {
        grid-template-columns: minmax(0, 1fr) 270px;
        gap: 40px;
    }

    .centro-detail-layout {
        grid-template-columns: 1fr;
    }

    .centro-detail-side {
        position: static;
        grid-template-columns: 1fr 1fr;
    }

}


@media (max-width: 760px) {

    .centro-detail-hero {
        padding:
            35px
            5vw
            55px;
    }

    .centro-detail-back {
        margin-bottom: 38px;
    }

    .centro-detail-hero-grid {
        grid-template-columns: 1fr;
    }

    .centro-detail-logo-card {
        width: min(100%, 280px);
        aspect-ratio: 1 / 1;
    }

    .centro-detail-intro h1 {
        font-size: clamp(43px, 13vw, 65px);
    }

    .centro-detail-content {
        padding:
            55px
            5vw
            70px;
    }

    .centro-detail-side {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 520px) {

    .centro-info-card {
        padding: 25px 20px;
        border-radius: 22px;
    }

    .centro-info-card-header {
        align-items: flex-start;
    }

    .centro-info-icon {
        width: 46px;
        height: 46px;
        border-radius: 14px;
    }

    .centro-info-card-header h2 {
        font-size: 21px;
    }

    .centro-address {
        padding: 20px;
    }

    .centro-date-box {
        align-items: flex-start;
    }

    .centro-date-number {
        min-width: 52px;
        font-size: 34px;
    }

    .centro-help-card {
        padding: 29px 25px;
        border-radius: 22px;
    }

    .centro-help-card h2 {
        font-size: 26px;
    }

}