/* ==========================================================================
   Propuestas — mobile first
   ========================================================================== */

/* Hero — alineado con index */
.propuestas-hero .hero__title-line {
    font-size: clamp(2rem, 7vw, 3.5rem);
    line-height: 1.05;
}

.propuestas-hero__btn::after {
    content: none;
}

.propuestas-hero__highlight {
    display: none;
    position: absolute;
    right: 0;
    bottom: 10%;
    max-width: 15.5rem;
    padding: 1.125rem 1.25rem;
    background-color: var(--color-azul);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
    z-index: 2;
    text-align: left;
}

.propuestas-hero__highlight-eyebrow {
    font-size: 0.6875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-amarillo);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.propuestas-hero__highlight-text {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--color-blanco);
    margin: 0;
}

@media (min-width: 768px) {
    .propuestas-hero__highlight {
        display: block;
    }
}

@media (min-width: 1024px) {
    .propuestas-hero__highlight {
        max-width: 17rem;
        padding: 1.25rem 1.375rem;
        bottom: 12%;
        transform: translateX(8%);
    }

    .propuestas-hero__highlight-text {
        font-size: 0.9375rem;
    }
}

/* Lista de propuestas */
.propuestas-list {
    padding: 2.5rem 0 3rem;
    background-color: var(--color-gris-claro);
}

.propuestas-list > .container {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.propuestas-item {
    padding: 0;
    border-bottom: none;
}

.propuestas-item__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: center;
    padding: 1.5rem;
    background-color: var(--color-blanco);
    border-radius: 20px;
    border: 1px solid rgba(10, 76, 152, 0.1);
    box-shadow: 0 6px 24px rgba(10, 76, 152, 0.08);
    transition: box-shadow var(--transition), border-color var(--transition);
}

.propuestas-item__layout:hover {
    border-color: rgba(10, 76, 152, 0.16);
    box-shadow: 0 10px 32px rgba(10, 76, 152, 0.12);
}

.propuestas-item__intro {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    align-items: flex-start;
}

.propuestas-item__head {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
}

.propuestas-item__number {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: var(--color-azul);
    color: var(--color-blanco);
    font-size: 1rem;
    font-weight: 800;
}

.propuestas-item__title {
    font-size: clamp(1.375rem, 3.5vw, 1.875rem);
    font-weight: 900;
    text-transform: uppercase;
    color: var(--color-azul);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.propuestas-item__keyword {
    color: var(--color-amarillo);
}

.propuestas-item__tagline {
    font-size: 0.8125rem;
    color: var(--color-gris-texto);
    line-height: 1.5;
}

.propuestas-item__media {
    border-radius: 16px;
    overflow: hidden;
}

.propuestas-item__image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 12rem;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

.propuestas-item__body {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.propuestas-item__points {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    list-style: none;
}

.propuestas-item__point {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.8125rem;
    color: var(--color-gris-texto);
    line-height: 1.55;
}

.propuestas-item__check {
    flex-shrink: 0;
    margin-top: 0.125rem;
    color: var(--color-amarillo);
    font-size: 0.875rem;
}

.propuestas-item__btn::after {
    content: none;
}

/* Resumen */
.propuestas-goals {
    padding: 2.5rem 0 1.25rem;
    background-color: var(--color-blanco);
}

.propuestas-goals__box {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.propuestas-goals__bg {
    position: absolute;
    inset: 0;
    background-image: url('../img/imagenfondo-hero.jpg');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.propuestas-goals__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 76, 152, 0.94) 0%,
        rgba(10, 76, 152, 0.88) 50%,
        rgba(10, 76, 152, 0.94) 100%
    );
}

.propuestas-goals__inner {
    position: relative;
    z-index: 1;
    padding: 2.5rem 1.5rem;
}

.propuestas-goals__header {
    text-align: center;
    margin-bottom: 2rem;
}

.propuestas-goals__title {
    font-size: clamp(1.25rem, 3.5vw, 1.875rem);
    font-weight: 900;
    text-transform: uppercase;
    color: var(--color-blanco);
    line-height: 1.25;
}

.propuestas-goals__title-accent {
    color: var(--color-amarillo);
}

.propuestas-goals__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    list-style: none;
}

.propuestas-goals__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.625rem;
}

.propuestas-goals__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-amarillo);
    font-size: 1.125rem;
}

.propuestas-goals__label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-blanco);
    letter-spacing: 0.03em;
    line-height: 1.35;
}

.propuestas-goals:has(+ .historia-cta) {
    padding-bottom: 0.75rem;
}

/* ==========================================================================
   Breakpoints
   ========================================================================== */

@media (min-width: 768px) {
    .propuestas-list {
        padding: 3rem 0 3.5rem;
    }

    .propuestas-list > .container {
        gap: 1.5rem;
    }

    .propuestas-item__layout {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr);
        gap: 2rem;
        padding: 2rem;
    }

    .propuestas-item--reverse .propuestas-item__layout {
        direction: rtl;
    }

    .propuestas-item--reverse .propuestas-item__layout > * {
        direction: ltr;
    }

    .propuestas-item__point {
        font-size: 0.875rem;
    }

    .propuestas-goals__grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .propuestas-item__title {
        font-size: 2rem;
    }

    .propuestas-item__number {
        width: 2.75rem;
        height: 2.75rem;
        font-size: 1.125rem;
    }

    .propuestas-goals {
        padding: 3rem 0 1rem;
    }

    .propuestas-goals__inner {
        padding: 3rem 2rem;
    }

    .propuestas-goals__grid {
        grid-template-columns: repeat(7, 1fr);
    }
}

/* ==========================================================================
   Animaciones de aparición (scroll reveal)
   ========================================================================== */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    will-change: opacity, transform;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (min-width: 768px) {
    .reveal--left {
        transform: translateX(-48px);
    }

    .reveal--right {
        transform: translateX(48px);
    }

    .reveal--up {
        transform: translateY(48px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
