:root {
    --venta-ink: #092f45;
    --venta-navy: #06324b;
    --venta-red: #ad1837;
    --venta-line: #d9e3e8;
}

.venta-page {
    padding: 96px 24px 80px;
    background: radial-gradient(circle at 88% 8%, rgba(173, 24, 55, .08), transparent 22rem), linear-gradient(180deg, #f6f9fa 0%, #fff 62%);
}

.venta-hero {
    max-width: 1120px;
    margin: auto;
}

.venta-hero__intro {
    max-width: 690px;
    margin-bottom: 36px;
}

.venta-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--venta-red);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.venta-eyebrow::before {
    width: 28px;
    height: 2px;
    content: '';
    background: currentColor;
}

.venta-hero h1 {
    max-width: 640px;
    margin: 12px 0;
    color: var(--venta-ink);
    font-size: clamp(2.25rem, 4vw, 3.6rem);
    font-weight: 750;
    letter-spacing: -.045em;
    line-height: 1.05;
}

.venta-hero__intro>p {
    max-width: 560px;
    margin: 0;
    color: #58707f;
    font-size: 1.07rem;
    line-height: 1.7;
}

.venta-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(280px, .74fr);
    overflow: hidden;
    border: 1px solid var(--venta-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 46px rgba(6, 50, 75, .09);
}

.venta-card {
    padding: 46px 52px 48px;
}

.venta-card__heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 32px;
}

.venta-card__icon {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 12px;
    color: var(--venta-red);
    background: #faedf0;
}

.venta-card__icon svg {
    width: 25px;
    height: 25px;
}

.venta-card h2,
.venta-aside h2 {
    margin: 0;
    color: var(--venta-ink);
}

.venta-card h2 {
    font-size: 1.28rem;
    font-weight: 750;
}

.venta-card__heading p {
    margin: 4px 0 0;
    color: #728591;
    font-size: .92rem;
}

.field-venta label {
    display: block;
    margin-bottom: 9px;
    color: #294858;
    font-size: .83rem;
    font-weight: 750;
}

.venta-input-wrap {
    position: relative;
}

.venta-input-wrap>svg {
    position: absolute;
    top: 50%;
    left: 16px;
    width: 20px;
    height: 20px;
    color: #7a919d;
    pointer-events: none;
    transform: translateY(-50%);
}

.field-venta input {
    box-sizing: border-box;
    width: 100%;
    height: 54px;
    padding: 0 16px 0 48px;
    border: 1px solid #cbd9df;
    border-radius: 10px;
    color: var(--venta-ink);
    background: #fff;
    font-size: 1rem;
    outline: 0;
    transition: border-color .18s, box-shadow .18s;
}

.field-venta input::placeholder {
    color: #9aabb4;
}

.field-venta input:focus {
    border-color: #176483;
    box-shadow: 0 0 0 4px rgba(23, 100, 131, .12);
}

.btn-venta {
    display: flex;
    width: 100%;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
    padding: 12px 20px;
    border: 1px solid var(--venta-red);
    border-radius: 10px;
    color: #fff;
    background: var(--venta-red);
    box-shadow: 0 8px 16px rgba(173, 24, 55, .18);
    cursor: pointer;
    font-size: .94rem;
    font-weight: 750;
    transition: background .18s, transform .18s, box-shadow .18s;
}

.btn-venta svg {
    width: 18px;
    height: 18px;
    transition: transform .18s;
}

.btn-venta:hover {
    background: #8f102b;
    box-shadow: 0 10px 20px rgba(173, 24, 55, .25);
    transform: translateY(-1px);
}

.btn-venta:hover svg {
    transform: translateX(3px);
}

.btn-venta:focus-visible,
.btn-login-venta:focus-visible {
    outline: 3px solid rgba(6, 50, 75, .28);
    outline-offset: 3px;
}

.btn-venta:disabled {
    cursor: wait;
    opacity: .7;
    transform: none;
}

.alert-err {
    margin-top: 18px;
    padding: 12px 14px;
    border: 1px solid #f0c5cc;
    border-radius: 9px;
    color: #8b1830;
    background: #fff5f6;
    font-size: .9rem;
}

.alert-err[hidden],
.result[hidden] {
    display: none;
}

.result {
    margin-top: 20px;
    padding: 18px;
    border: 1px solid #b9dcd1;
    border-radius: 10px;
    background: #f2faf7;
}

.result__label {
    color: #397162;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.result .val {
    margin: 5px 0;
    color: #124d40;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: .02em;
}

.result .sub {
    color: #4c7168;
    font-size: .88rem;
    line-height: 1.5;
}

.btn-login-venta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    padding: 10px 14px;
    border: 1px solid #1d6555;
    border-radius: 8px;
    color: #fff;
    background: #1d6555;
    text-decoration: none;
    font-size: .86rem;
    font-weight: 700;
}

.btn-login-venta:hover {
    color: #fff;
    background: #145041;
    text-decoration: none;
}

.venta-aside {
    position: relative;
    display: flex;
    overflow: hidden;
    min-height: 100%;
    flex-direction: column;
    justify-content: center;
    padding: 48px;
    color: #e5f0f4;
    background: var(--venta-navy);
}

.venta-aside::after {
    position: absolute;
    right: -108px;
    bottom: -142px;
    width: 330px;
    height: 330px;
    border: 48px solid rgba(255, 255, 255, .055);
    border-radius: 50%;
    content: '';
}

.venta-aside__line {
    width: 42px;
    height: 3px;
    margin-bottom: 28px;
    background: #d9697e;
}

.venta-aside__number {
    margin-bottom: 12px;
    color: #70a7be;
    font-size: .77rem;
    font-weight: 800;
    letter-spacing: .12em;
}

.venta-aside h2 {
    position: relative;
    z-index: 1;
    max-width: 280px;
    color: #fff;
    font-size: clamp(1.55rem, 2.5vw, 2rem);
    font-weight: 650;
    letter-spacing: -.025em;
    line-height: 1.18;
}

.venta-aside>p {
    position: relative;
    z-index: 1;
    margin: 16px 0 30px;
    color: #b9ced8;
    font-size: .94rem;
    line-height: 1.7;
}

.venta-aside__security {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 9px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .16);
    color: #d8e6ec;
    font-size: .78rem;
    font-weight: 650;
}

.venta-aside__security svg {
    width: 20px;
    height: 20px;
    color: #78b2c8;
}

@media (max-width:760px) {
    .venta-page {
        padding: 60px 16px 52px
    }

    .venta-hero__intro {
        margin-bottom: 26px
    }

    .venta-layout {
        grid-template-columns: 1fr;
        border-radius: 16px
    }

    .venta-card {
        padding: 32px 24px
    }

    .venta-aside {
        min-height: 250px;
        padding: 32px 24px
    }

    .venta-aside__line {
        margin-bottom: 18px
    }

    .venta-aside>p {
        margin-bottom: 20px
    }
}

@media (max-width:380px) {
    .venta-card {
        padding: 28px 20px
    }

    .venta-card__heading {
        align-items: flex-start
    }
}