/**
 * C+ — Proposal view styles
 */

/* =========================================
   Banner Compact (hero de proposal)
   ========================================= */
.banner-home--compact {
    min-height: unset;
    background: none;
    display: block;
    padding: 0;
}

.banner-home--compact__bg {
    width: 100%;
    height: auto;
    display: block;
}

.banner-home--compact .banner-home__inner {
    position: absolute;
    inset: 0;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
}

.banner-compact__inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: clamp(2rem, 5vw, 4rem);
    padding-top: clamp(5rem, 12vw, 10rem);
    box-sizing: border-box;
}

.banner-compact__title-wrap {
    position: relative;
    display: inline-block;
}

.banner-compact__sparkle {
    position: absolute;
    top: -55%;
    right: -6%;
    width: clamp(40px, 6vw, 80px);
    height: auto;
    pointer-events: none;
}

.banner-compact__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    max-width: 900px;
}

.banner-compact__eyebrow {
    font-family: 'Archivo', sans-serif;
    font-size: clamp(1rem, 3vw, 2.5rem);
    font-weight: 700;
    color: #111111;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 0;
}

.banner-compact__title {
    font-family: 'Archivo', sans-serif;
    font-size: clamp(1.6rem, 4vw, 3.5rem);
    font-weight: 900;
    color: #2727E1;
    text-transform: uppercase;
    line-height: 1;
    margin: 0;
}

.banner-compact__trazo {
    width: clamp(180px, 40vw, 520px);
    height: auto;
    display: block;
    margin: 0;
}

.banner-compact__desc {
    font-family: 'Archivo', sans-serif;
    font-size: clamp(0.9rem, 1.4vw, 1.15rem);
    font-weight: 400;
    color: #111111;
    line-height: 1.6;
    margin: 0.5rem 0 0;
}

.banner-compact__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.75rem;
    color: #ffffff;
    font-family: 'Archivo', sans-serif;
    font-size: clamp(0.85rem, 1.1vw, 1rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    padding: 0.75rem 2.25rem;
    border-radius: 999px;
    background: #2727E1;
    transition: background 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

.banner-compact__cta:hover {
    background: #1a1ab0;
    transform: translateY(-2px);
}

/* =========================================
   Proposal Request
   ========================================= */
.proposal-request {
    background: #ffffff;
    width: 100%;
}

.proposal-request__inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 4vw, 3rem) clamp(2rem, 4vw, 3rem);
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: clamp(2.5rem, 5vw, 4rem);
    align-items: start;
    box-sizing: border-box;
}

.proposal-request__title {
    font-family: 'Archivo', sans-serif;
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    font-weight: 800;
    color: #111111;
    text-transform: uppercase;
    line-height: 1.15;
    margin: 0 0 0.65rem;
}

.proposal-request__title-accent {
    color: #2727E1;
}

.proposal-request__lead {
    font-family: 'Archivo', sans-serif;
    font-size: clamp(0.95rem, 1.2vw, 1rem);
    font-weight: 400;
    color: #5a5a5a;
    line-height: 1.55;
    margin: 0 0 0.9rem;
    max-width: 520px;
}

.proposal-request__form {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.proposal-request__field {
    width: 100%;
    font-family: 'Archivo', sans-serif;
    font-size: clamp(0.88rem, 1vw, 0.95rem);
    color: #111111;
    background: #ffffff;
    border: 1.5px solid rgba(39, 39, 225, 0.35);
    border-radius: 0.65rem;
    padding: 0.85rem 1rem;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.proposal-request__field::placeholder {
    color: #8a8a8a;
}

.proposal-request__field:focus {
    outline: none;
    border-color: #2727E1;
    box-shadow: 0 0 0 3px rgba(39, 39, 225, 0.12);
}

.proposal-request__textarea {
    min-height: 120px;
    resize: vertical;
}

.proposal-request__select-wrap {
    position: relative;
}

.proposal-request__select {
    appearance: none;
    cursor: pointer;
    padding-right: 2.5rem;
    color: #8a8a8a;
}

.proposal-request__select:valid {
    color: #111111;
}

.proposal-request__select-wrap::after {
    content: '';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #2727E1;
    pointer-events: none;
}

.proposal-request__form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.35rem;
}

.proposal-request__secure {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-family: 'Archivo', sans-serif;
    font-size: clamp(0.72rem, 0.95vw, 0.82rem);
    color: #7a7a7a;
    margin: 0;
    max-width: 220px;
    line-height: 1.4;
}

.proposal-request__secure i {
    color: #2727E1;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.proposal-request__submit {
    font-family: 'Archivo', sans-serif;
    font-size: clamp(0.78rem, 1vw, 0.88rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #ffffff;
    background: #2727E1;
    border: none;
    border-radius: 999px;
    padding: 0.8rem 1.75rem;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.2s ease;
}

.proposal-request__submit:hover {
    background: #1a1ab0;
    transform: translateY(-1px);
}

.proposal-request__aside {
    background: #f0f5ff;
    border-radius: 1.75rem;
    padding: clamp(1.75rem, 3vw, 2.5rem);
    box-sizing: border-box;
}

.proposal-request__aside-title {
    font-family: 'Archivo', sans-serif;
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
    font-weight: 800;
    color: #111111;
    text-transform: uppercase;
    line-height: 1.25;
    margin: 0 0 0.35rem;
    max-width: 18em;
}

.proposal-request__aside-title-accent {
    color: #2727E1;
}

.proposal-request__aside-trazo {
    display: block;
    width: clamp(140px, 28vw, 220px);
    height: auto;
    margin: 0 0 1.75rem;
}

.proposal-request__steps {
    --step-marker-size: clamp(46px, 4.8vw, 54px);
    list-style: none;
    margin: 0 0 1.75rem;
    padding: 0;
}

.proposal-request__step {
    display: grid;
    grid-template-columns: var(--step-marker-size) minmax(0, 1fr);
    gap: clamp(0.75rem, 1.5vw, 1rem);
    align-items: start;
    position: relative;
    padding-bottom: clamp(1.5rem, 2.5vw, 2rem);
}

.proposal-request__step:last-child {
    padding-bottom: 0;
}

.proposal-request__step:not(:last-child)::before {
    content: '';
    position: absolute;
    left: calc(var(--step-marker-size) / 2 - 1px);
    top: var(--step-marker-size);
    bottom: 0;
    width: 2px;
    background: #2727E1;
}

.proposal-request__step-marker {
    width: var(--step-marker-size);
    height: auto;
    display: block;
    flex-shrink: 0;
}

.proposal-request__step-body strong {
    display: block;
    font-family: 'Archivo', sans-serif;
    font-size: clamp(0.9rem, 1.15vw, 1rem);
    font-weight: 700;
    color: #111111;
    line-height: 1.35;
    margin-bottom: 0.35rem;
}

.proposal-request__step-body p {
    font-family: 'Archivo', sans-serif;
    font-size: clamp(0.95rem, 1.2vw, 1rem);
    font-weight: 400;
    color: #606060;
    line-height: 1.5;
    margin: 0;
}

.proposal-request__aside-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
    font-family: 'Archivo', sans-serif;
    font-size: clamp(0.72rem, 1vw, 0.85rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #ffffff;
    background: #2727E1;
    border-radius: 999px;
    padding: 0.95rem 1.35rem;
    text-decoration: none;
    box-sizing: border-box;
    transition: background 0.2s ease, transform 0.2s ease;
}

.proposal-request__aside-cta:hover {
    background: #1a1ab0;
    transform: translateY(-1px);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .proposal-request__inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 900px) {
    .banner-home--compact {
        position: relative;
        background-image: url('../../../res/img/banners@300x.webp');
        background-size: cover;
        background-position: center top;
        min-height: 85vw;
        overflow: hidden;
        width: 100%;
    }

    .banner-home--compact__bg {
        display: none;
    }

    .banner-compact__inner {
        position: absolute;
        inset: 0;
        padding: 5rem 1.5rem 2rem;
        justify-content: center;
        overflow: hidden;
    }

    .banner-compact__content {
        max-width: 100%;
    }

    .banner-compact__sparkle {
        display: none;
    }

    .banner-compact__title {
        font-size: clamp(1.4rem, 8vw, 2.8rem);
    }

    .banner-compact__eyebrow {
        font-size: clamp(0.85rem, 4vw, 1.3rem);
    }

    .banner-compact__desc {
        font-size: clamp(0.8rem, 3.5vw, 1rem);
    }

    .banner-compact__trazo {
        width: clamp(130px, 65vw, 300px);
    }

    .proposal-request__form-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .proposal-request__secure {
        max-width: none;
        justify-content: center;
        text-align: center;
    }

    .proposal-request__submit {
        width: 100%;
    }
}

@media (max-width: 500px) {
    .banner-home--compact {
        min-height: 110vw;
    }

    .banner-compact__title {
        font-size: clamp(1.2rem, 7.5vw, 2rem);
    }

    .banner-compact__eyebrow {
        font-size: clamp(0.75rem, 3.5vw, 1rem);
    }

    .banner-compact__desc {
        font-size: clamp(0.75rem, 3vw, 0.9rem);
    }

    .banner-compact__cta {
        font-size: 0.8rem;
        padding: 0.6rem 1.5rem;
    }

    .banner-compact__trazo {
        width: clamp(110px, 55vw, 220px);
    }

    .proposal-request__inner {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (min-width: 2000px) {
    .banner-compact__inner {
        padding-top: 11rem;
    }

    .banner-compact__content {
        max-width: 1400px;
        gap: 1rem;
    }

    .banner-compact__title {
        font-size: 6.5rem;
    }

    .banner-compact__eyebrow {
        font-size: 1.9rem;
    }

    .banner-compact__desc {
        font-size: 1.35rem;
        max-width: 820px;
    }

    .banner-compact__trazo {
        width: 650px;
    }

    .banner-compact__sparkle {
        width: 120px;
    }

    .banner-compact__cta {
        font-size: 1.1rem;
        padding: 1rem 3rem;
    }

    .proposal-request {
        padding: 1rem 0 2rem;
    }

    .proposal-request__inner {
        max-width: 1900px;
        padding: 3.5rem clamp(3rem, 5vw, 5rem) 5rem;
        gap: 4.5rem;
    }

    .proposal-request__title {
        font-size: 2.35rem;
        margin-bottom: 0.85rem;
    }

    .proposal-request__lead {
        font-size: 1.1rem;
        max-width: 600px;
        margin-bottom: 1.25rem;
    }

    .proposal-request__form {
        gap: 0.85rem;
    }

    .proposal-request__field {
        font-size: 1rem;
        padding: 1rem 1.15rem;
        border-radius: 0.75rem;
    }

    .proposal-request__textarea {
        min-height: 150px;
    }

    .proposal-request__secure {
        font-size: 0.9rem;
        max-width: 260px;
    }

    .proposal-request__submit {
        font-size: 0.95rem;
        padding: 0.95rem 2.25rem;
    }

    .proposal-request__aside {
        padding: 2.75rem 3rem;
        border-radius: 2rem;
    }

    .proposal-request__steps {
        --step-marker-size: 58px;
        margin-bottom: 2rem;
    }

    .proposal-request__step {
        gap: 1.15rem;
        padding-bottom: 2.25rem;
    }

    .proposal-request__aside-title {
        font-size: 1.55rem;
        max-width: 20em;
    }

    .proposal-request__aside-trazo {
        width: 220px;
        margin-bottom: 2rem;
    }

    .proposal-request__step-body strong {
        font-size: 1.05rem;
        margin-bottom: 0.45rem;
    }

    .proposal-request__step-body p {
        font-size: 0.98rem;
    }

    .proposal-request__aside-cta {
        font-size: 0.92rem;
        padding: 1.05rem 1.75rem;
    }
}

@media (min-width: 2560px) {
    .banner-compact__inner {
        padding-top: 13rem;
    }

    .banner-compact__content {
        max-width: 1700px;
        gap: 1.15rem;
    }

    .banner-compact__title {
        font-size: 9rem;
    }

    .banner-compact__eyebrow {
        font-size: 2.2rem;
    }

    .banner-compact__desc {
        font-size: 1.6rem;
        max-width: 960px;
    }

    .banner-compact__trazo {
        width: 850px;
    }

    .banner-compact__sparkle {
        width: 140px;
    }

    .banner-compact__cta {
        font-size: 1.25rem;
        padding: 1.1rem 3.5rem;
    }

    .proposal-request {
        padding: 1.5rem 0 2.5rem;
    }

    .proposal-request__inner {
        max-width: 2300px;
        padding: 4rem 6rem 5.5rem;
        gap: 5.5rem;
    }

    .proposal-request__title {
        font-size: 2.75rem;
        margin-bottom: 1rem;
    }

    .proposal-request__lead {
        font-size: 1.2rem;
        max-width: 680px;
        margin-bottom: 1.5rem;
    }

    .proposal-request__form {
        gap: 1rem;
    }

    .proposal-request__field {
        font-size: 1.1rem;
        padding: 1.1rem 1.25rem;
        border-radius: 0.85rem;
    }

    .proposal-request__textarea {
        min-height: 170px;
    }

    .proposal-request__secure {
        font-size: 0.98rem;
        max-width: 300px;
    }

    .proposal-request__submit {
        font-size: 1.05rem;
        padding: 1.05rem 2.5rem;
    }

    .proposal-request__aside {
        padding: 3.25rem 3.5rem;
        border-radius: 2.25rem;
    }

    .proposal-request__steps {
        --step-marker-size: 64px;
        margin-bottom: 2.25rem;
    }

    .proposal-request__step {
        gap: 1.35rem;
        padding-bottom: 2.5rem;
    }

    .proposal-request__aside-title {
        font-size: 1.75rem;
        max-width: 22em;
    }

    .proposal-request__aside-trazo {
        width: 260px;
        margin-bottom: 2.25rem;
    }

    .proposal-request__step-body strong {
        font-size: 1.15rem;
        margin-bottom: 0.5rem;
    }

    .proposal-request__step-body p {
        font-size: 1.05rem;
    }

    .proposal-request__aside-cta {
        font-size: 1rem;
        padding: 1.15rem 2rem;
    }
}

/* ── Footer — imagen del banner + fondo blanco detrás ── */
.proposal-request + .footer {
    background-color: #ffffff;
}

@media (max-width: 900px) {
    .proposal-request + .footer {
        background-color: #ffffff;
    }

    .proposal-request + .footer .footer__nav-link,
    .proposal-request + .footer .footer__nav-link span {
        color: #111111;
    }

    .proposal-request + .footer .footer__contact-link {
        color: #111111;
    }

    .proposal-request + .footer .footer__legal li,
    .proposal-request + .footer .footer__legal a {
        color: #111111;
    }

    .proposal-request + .footer .footer__follow {
        color: #2727E1;
    }

    .proposal-request + .footer .footer__contact-icon {
        filter: brightness(0) saturate(100%) invert(18%) sepia(98%) saturate(5000%) hue-rotate(232deg) brightness(95%) contrast(95%);
    }
}
