/* =========================
   SECCIÓN SOBRE GOOD MONEY  (no reutilizable)
========================= */

/* El panel dorado va pegado al borde derecho del viewport: el container
   de esta sección ocupa todo el ancho y el texto se alinea al margen del sitio. */
.about .container {
    width: 100%;
    max-width: none;
    padding: 0;
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: clamp(30px, 5vw, 80px);
}

/* Texto alineado con el margen del sitio (mismo que el container general) */
.about__content {
    max-width: 670px;
    margin-left: max(5vw, calc((100vw - 1360px) / 2));
}

/* ----- Texto ----- */
.about__title {
    /* figma: Poppins 700, ~36px */
    font-family: "Poppins", sans-serif;
    font-size: clamp(26px, 3.4vw, 36px);
    font-weight: 700;
    line-height: 1.15;
    color: var(--black-900);
    margin-bottom: 18px;
}

.about__title span {
    color: var(--gold-400);
}

.about__lead {
    /* figma: Poppins 600, ~20px, justificado */
    font-family: "Poppins", sans-serif;
    font-size: clamp(16px, 1.8vw, 18.5px);
    font-weight: 600;
    line-height: 1.35;
    color: var(--black-800);
    margin-bottom: 26px;
    text-align: justify;
}

.about__text {
    /* figma: Poppins, 16px, justificado */
    font-family: "Poppins", sans-serif;
    font-size: clamp(14px, 1.2vw, 16px);
    font-weight: 400;
    line-height: 1.5;
    color: var(--black-500);
    text-align: justify;
}

.about__text + .about__text {
    margin-top: 18px;
}

.about__text strong {
    color: var(--black-800);
    font-weight: 700;
}

/* Enlace a la Resolución de la SBS (PDF): negro, sin subrayado */
.about__resolucion {
    color: var(--black-900);
    text-decoration: none;
    transition: var(--transition);
}

.about__resolucion strong {
    color: inherit;
    font-weight: 700;
}

.about__resolucion:hover {
    color: var(--black-700);
}

/* ----- Arte: panel dorado pegado a la derecha, solo esquinas izquierdas ----- */
.about__art {
    justify-self: end;
    width: clamp(300px, 33vw, 502px);
    height: clamp(440px, 42vw, 560px);

    border-radius: 40px 0 0 40px;
    background: #F9B410;

    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

.about__art img {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: bottom;
    display: block;
}

/* ----- Responsive ----- */

@media (max-width: 991px) {
    .about__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    /* El texto vuelve a un bloque centrado con el margen normal */
    .about__content {
        order: 1;
        max-width: 670px;
        margin: 0 auto;
        padding: 0 5vw;
        text-align: center;
    }

    .about__lead,
    .about__text {
        text-align: center;
    }

    /* En móvil el panel deja de estar pegado: rectángulo redondeado centrado */
    .about__art {
        order: 2;
        justify-self: center;
        width: min(90%, 420px);
        height: auto;
        min-height: 360px;
        border-radius: 28px;
    }
}

@media (max-width: 576px) {
    .about__title {
        font-size: clamp(22px, 6vw, 28px);
    }

    .about__lead {
        font-size: clamp(15px, 4vw, 17px);
    }

    .about__text {
        font-size: clamp(13px, 3.6vw, 15px);
    }

    .about__art {
        min-height: 300px;
    }
}

/* =========================
   SECCIÓN NUESTRA ESENCIA (misión / visión)
========================= */

.essence__inner {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    align-items: stretch;
}

.essence__media {
    min-height: 320px;
}

.essence__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.essence__panel {
    background: var(--gold-400);
    padding: clamp(32px, 5vw, 64px) clamp(28px, 5vw, 70px);

    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 22px;
}

.essence__title {
    /* figma: Poppins 700, Titulars/h2 */
    font-size: clamp(1.6rem, 2.8vw, 2rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--black-900);
}

.essence__block {
    /* separación entre el label y su texto */
}

.essence__label {
    /* figma: Poppins 700, 16px, justificado */
    font-size: 1rem;            /* 16px */
    font-weight: 700;
    line-height: 1;             /* 100% */
    color: var(--black-900);
    margin-bottom: 8px;
}

.essence__text {
    /* figma: Poppins 500, 16px, justificado */
    font-size: 1rem;            /* 16px */
    font-weight: 500;
    line-height: 1.5;
    color: var(--black-800);
    text-align: justify;
}

/* ----- Responsive ----- */

@media (max-width: 768px) {
    .essence__inner {
        grid-template-columns: 1fr;
    }

    .essence__media {
        min-height: 240px;
    }
}
