/* ——— Cómo comprar ——— */

.ev-howto {
    --ev-h-brand: #6f1c48;
    --ev-h-brand-soft: #8c2e60;
    --ev-h-ink: #2a2a2a;
    --ev-h-muted: #6b5f66;
    --ev-h-line: #ebe6e8;
    --ev-h-wash: #f7eef2;
    position: relative;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    padding: 28px 0 64px;
    background: #fff;
}

.ev-howto__hero {
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--ev-h-line);
    -webkit-animation: ev-howto-rise 0.5s ease both;
    animation: ev-howto-rise 0.5s ease both;
}

.ev-howto__langs {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.ev-howto__lang {
    display: inline-block;
    line-height: 0;
    opacity: 0.55;
    -webkit-transition: opacity 0.15s ease;
    transition: opacity 0.15s ease;
}

.ev-howto__lang:hover,
.ev-howto__lang:focus,
.ev-howto__lang.is-active {
    opacity: 1;
}

.ev-howto__lang .flag-icon {
    width: 28px;
    height: 21px;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.ev-howto__title {
    margin: 0 0 12px;
    font-family: var(--font-display, "Source Serif 4", Georgia, serif);
    font-size: 34px;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--ev-h-ink);
}

.ev-howto__lead {
    margin: 0;
    max-width: 36em;
    font-size: 16px;
    line-height: 1.5;
    color: var(--ev-h-muted);
}

.ev-howto__intro {
    margin: 0 0 28px;
    max-width: 40em;
    font-size: 15px;
    line-height: 1.55;
    color: var(--ev-h-ink);
}

.ev-howto__steps {
    margin: 0 0 36px;
    padding: 0;
    list-style: none;
    counter-reset: none;
}

.ev-howto__step {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 0;
    border-top: 1px solid var(--ev-h-line);
    -webkit-animation: ev-howto-rise 0.45s ease both;
    animation: ev-howto-rise 0.45s ease both;
}

.ev-howto__step:first-child {
    border-top: 0;
}

.ev-howto__step:nth-child(1) { -webkit-animation-delay: 0.06s; animation-delay: 0.06s; }
.ev-howto__step:nth-child(2) { -webkit-animation-delay: 0.1s; animation-delay: 0.1s; }
.ev-howto__step:nth-child(3) { -webkit-animation-delay: 0.14s; animation-delay: 0.14s; }
.ev-howto__step:nth-child(4) { -webkit-animation-delay: 0.18s; animation-delay: 0.18s; }
.ev-howto__step:nth-child(5) { -webkit-animation-delay: 0.22s; animation-delay: 0.22s; }
.ev-howto__step:nth-child(6) { -webkit-animation-delay: 0.26s; animation-delay: 0.26s; }

.ev-howto__step:last-child {
    border-bottom: 1px solid var(--ev-h-line);
}

.ev-howto__step-num {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--ev-h-wash);
    color: var(--ev-h-brand);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}

.ev-howto__step-body {
    min-width: 0;
    padding-top: 2px;
}

.ev-howto__step-title {
    margin: 0 0 4px;
    font-family: var(--font-body, "Montserrat", Arial, sans-serif);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.3;
    color: var(--ev-h-brand);
}

.ev-howto__step-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--ev-h-muted);
}

.ev-howto__section {
    margin: 0 0 36px;
    -webkit-animation: ev-howto-rise 0.5s ease 0.28s both;
    animation: ev-howto-rise 0.5s ease 0.28s both;
}

.ev-howto__section:last-child {
    margin-bottom: 0;
}

.ev-howto__section-head {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: baseline;
    -ms-flex-align: baseline;
    align-items: baseline;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 12px;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.ev-howto__section-title {
    margin: 0 0 16px;
    font-family: var(--font-display, "Source Serif 4", Georgia, serif);
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--ev-h-ink);
}

.ev-howto__section-head .ev-howto__section-title {
    margin-bottom: 0;
}

.ev-howto__section-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--ev-h-brand);
    text-decoration: none;
}

.ev-howto__section-link:hover,
.ev-howto__section-link:focus {
    color: var(--ev-h-brand-soft);
    text-decoration: underline;
}

.ev-howto__payments {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ev-howto__payment {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-top: 1px solid var(--ev-h-line);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--ev-h-ink);
}

.ev-howto__payment:last-child {
    border-bottom: 1px solid var(--ev-h-line);
}

.ev-howto__payment-icon {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--ev-h-wash);
    color: var(--ev-h-brand);
    font-size: 14px;
}

/* Nested delivery block: tighten top spacing under section head */
.ev-howto__section .ev-delivery__content {
    max-width: none;
    margin: 0;
}

.ev-howto__section .ev-delivery__benefits {
    margin-top: 0;
}

@-webkit-keyframes ev-howto-rise {
    from {
        opacity: 0;
        -webkit-transform: translateY(10px);
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes ev-howto-rise {
    from {
        opacity: 0;
        -webkit-transform: translateY(10px);
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@media (max-width: 640px) {
    .ev-howto {
        padding-top: 20px;
        padding-bottom: 48px;
    }

    .ev-howto__title {
        font-size: 28px;
    }

    .ev-howto__section-title {
        font-size: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ev-howto__hero,
    .ev-howto__step,
    .ev-howto__section {
        -webkit-animation: none;
        animation: none;
    }
}
