/* ==========================================================================
   /servicios — planes y precios sobre el sistema Flow (flow.css).
   Hooks de js/servicios.js que no se pueden renombrar:
   [data-price] [data-cur] [data-amount] [data-cur-toggle] [data-cur-note]
   [data-qualify-form] #q-rubro #q-necesidad #q-presupuesto; body.cur-ars.
   ========================================================================== */

.fl {
    --sv-cross: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f3f3f5' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7 7 17'/%3E%3C/svg%3E");
}

/* ── HERO: titular + tarjeta del piso de inversión ──────────────────────── */
.sv-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: end;
}

.sv-hero .fl-lede {
    margin-top: 1.6rem;
}

.sv-floor {
    padding: clamp(1.6rem, 3vw, 2.4rem);
    background: var(--fl-paper);
    color: var(--fl-ink);
}

.sv-floor-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.sv-floor-title {
    font-family: var(--display);
    font-size: clamp(1.15rem, 1.5vw, 1.35rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.sv-cur-switch {
    display: inline-flex;
    padding: 4px;
    border-radius: 999px;
    background: var(--fl-ink);
}

.sv-cur-opt {
    min-width: 4.2rem;
    min-height: 40px;
    padding: 0 1rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--fl-dim);
    font-family: var(--body);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 180ms ease, color 180ms ease;
}

.sv-cur-opt:hover {
    color: var(--fl-paper);
}

.sv-cur-opt.is-active {
    background: var(--fl-violet);
    color: var(--fl-ink);
}

.sv-cur-opt:focus-visible {
    outline: 2px solid var(--fl-violet-deep);
    outline-offset: 3px;
}

.sv-floor-nums {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 1.8rem;
}

.sv-floor-num {
    font-family: var(--display);
    font-size: clamp(2.4rem, 3.6vw, 3.4rem);
    font-weight: 300;
    letter-spacing: -0.05em;
    line-height: 0.95;
    font-variant-numeric: tabular-nums;
}

.sv-floor-num small {
    display: block;
    margin-top: 0.6rem;
    color: var(--fl-on-light);
    font-family: var(--body);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.35;
}

.sv-floor-total {
    margin-top: 1.6rem;
    padding-top: 1.2rem;
    border-top: 2px solid var(--fl-ink);
    font-family: var(--display);
    font-size: clamp(1.5rem, 2.3vw, 2.1rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.1;
}

.sv-floor-total [data-price] {
    color: var(--fl-violet-deep);
}

.sv-cur-note {
    margin-top: 1rem;
    color: var(--fl-on-light);
    font-size: 0.95rem;
    line-height: 1.45;
}

/* ── Notas bajo los planes ──────────────────────────────────────────────── */
.sv-note {
    max-width: 62ch;
    margin-top: clamp(2rem, 4vw, 3rem);
    color: var(--fl-on-light);
    font-size: clamp(1.1rem, 1.4vw, 1.3rem);
    line-height: 1.45;
}

.sv-note strong {
    color: var(--fl-ink);
}

.sv-bonus {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.2rem 1.6rem;
    margin-top: clamp(2rem, 4vw, 3rem);
    padding: clamp(1.3rem, 2.4vw, 1.9rem) clamp(1.4rem, 3vw, 2.4rem);
    background: var(--fl-violet);
    color: var(--fl-ink);
}

.sv-bonus-ico {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 3.4rem;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--fl-ink);
    color: var(--fl-violet);
}

.sv-bonus-ico svg {
    width: 48%;
    height: 48%;
}

.sv-bonus p {
    flex: 1 1 24rem;
    font-size: clamp(1.05rem, 1.3vw, 1.2rem);
    line-height: 1.4;
}

.sv-bonus strong {
    display: block;
    margin-bottom: 0.3rem;
    font-family: var(--display);
    font-size: clamp(1.35rem, 2.2vw, 1.9rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

/* ── Proyectos (lista grande con precio a la derecha) ───────────────────── */
.sv-proj-list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 2px solid var(--fl-paper);
}

.sv-proj {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr) minmax(0, 0.8fr);
    gap: clamp(1.25rem, 3vw, 3rem);
    align-items: center;
    padding-block: clamp(1.8rem, 3.2vw, 2.6rem);
    border-bottom: 1px solid rgba(243, 243, 245, 0.18);
}

.sv-proj-title {
    font-size: clamp(1.7rem, 2.8vw, 2.6rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.02;
    text-transform: uppercase;
}

.sv-proj-feats {
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--fl-dim);
    font-size: 1.05rem;
    line-height: 1.45;
}

.sv-proj-feats li + li {
    margin-top: 0.4rem;
}

.sv-proj-feats li::before {
    content: "+";
    margin-right: 0.55rem;
    color: var(--fl-violet);
    font-weight: 700;
}

.sv-proj-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
    text-align: right;
}

.sv-proj-price {
    font-family: var(--display);
    font-size: clamp(3rem, 5vw, 4.6rem);
    font-weight: 300;
    letter-spacing: -0.05em;
    line-height: 0.9;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.sv-proj-price .fl-per {
    display: block;
    margin: 0.7rem 0 0;
    color: var(--fl-dim);
    font-family: var(--body);
    font-size: 1rem;
}

.sv-proj-price--txt {
    font-size: clamp(2.4rem, 4vw, 3.6rem);
}

/* ── ¿Es para vos? ──────────────────────────────────────────────────────── */
.sv-fit {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
}

.sv-fit-col {
    padding: clamp(1.6rem, 3vw, 2.6rem);
    background: #fff;
}

.sv-fit-col--no {
    background: transparent;
    box-shadow: inset 0 0 0 2px rgba(10, 8, 24, 0.14);
}

.sv-fit-col h3 {
    font-family: var(--display);
    font-size: clamp(1.5rem, 2.4vw, 2.1rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.05;
    text-transform: uppercase;
}

.sv-fit-col ul {
    margin: 1.4rem 0 0;
    padding: 0;
    list-style: none;
}

.sv-fit-col li {
    display: flex;
    gap: 0.8rem;
    padding-block: 0.9rem;
    border-top: 1px solid rgba(10, 8, 24, 0.12);
    font-size: 1.05rem;
    line-height: 1.45;
}

.sv-fit-col li::before {
    content: "";
    flex: 0 0 auto;
    width: 1.3rem;
    height: 1.3rem;
    margin-top: 0.05rem;
    border-radius: 50%;
    background: var(--fl-violet-deep) var(--fl-check) center / 64% no-repeat;
}

.sv-fit-col--no li {
    color: var(--fl-on-light);
}

.sv-fit-col--no li::before {
    background: var(--fl-ink) var(--sv-cross) center / 58% no-repeat;
}

/* ── Método + cifras (bloque oscuro) ────────────────────────────────────── */
.sv-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(1.25rem, 2.5vw, 2.5rem);
    margin: clamp(3rem, 6vw, 4.5rem) 0 0;
    padding: 0;
    list-style: none;
}

.sv-step {
    padding-top: 1.4rem;
    border-top: 1px solid rgba(243, 243, 245, 0.18);
}

.sv-step-num {
    display: block;
    color: transparent;
    font-family: var(--display);
    font-size: clamp(3.4rem, 5vw, 4.6rem);
    font-weight: 300;
    letter-spacing: -0.04em;
    line-height: 1;
    -webkit-text-stroke: 1px var(--fl-violet);
}

.sv-step h3 {
    margin-top: 1rem;
    font-size: clamp(1.25rem, 1.7vw, 1.55rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-transform: uppercase;
}

.sv-step p {
    margin-top: 0.7rem;
    color: var(--fl-dim);
    font-size: var(--text-body);
    line-height: 1.5;
}

.sv-stats {
    margin-top: clamp(4rem, 8vw, 6rem);
}

/* ── Consulta con formulario (bloque claro) ─────────────────────────────── */
.sv-ask {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: start;
}

.sv-ask h2 {
    font-size: clamp(2.4rem, 4.6vw, 4.4rem);
}

.sv-ask .fl-lede {
    margin-top: 1.4rem;
}

.sv-ask-copy .fl-pill {
    margin-top: 2rem;
}

.sv-form {
    display: grid;
    gap: 1.6rem;
    color-scheme: light;
}

.sv-field label {
    display: block;
    font-family: var(--display);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.sv-field input,
.sv-field select {
    width: 100%;
    min-height: 56px;
    margin-top: 0.3rem;
    padding: 0.6rem 0;
    border: 0;
    border-bottom: 2px solid var(--fl-ink);
    border-radius: 0;
    background: transparent;
    color: var(--fl-ink);
    font-family: var(--body);
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    -webkit-appearance: none;
    appearance: none;
}

.sv-field select {
    padding-right: 2.2rem;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0818' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 0.2rem center / 20px no-repeat;
    cursor: pointer;
}

.sv-field select option {
    background: #fff;
    color: var(--fl-ink);
}

.sv-field input::placeholder {
    color: rgba(10, 8, 24, 0.42);
}

.sv-field input:focus-visible,
.sv-field select:focus-visible {
    outline: none;
    border-bottom-color: var(--fl-violet-deep);
    box-shadow: 0 2px 0 var(--fl-violet-deep);
}

.sv-form .fl-pill {
    justify-self: start;
    margin-top: 0.6rem;
}

/* ── Pesos: los montos son más largos, se achica un punto ───────────────── */
.cur-ars .fl-plan-price {
    font-size: clamp(2.8rem, 4.4vw, 4.4rem);
}

.cur-ars .sv-floor-num {
    font-size: clamp(1.9rem, 2.6vw, 2.5rem);
}

.cur-ars .sv-proj-price:not(.sv-proj-price--txt) {
    font-size: clamp(2.4rem, 3.6vw, 3.4rem);
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
    .sv-hero,
    .sv-ask,
    .sv-fit,
    .sv-proj {
        grid-template-columns: 1fr;
    }

    .sv-proj {
        gap: 1rem;
    }

    .sv-proj-side {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-end;
        justify-content: space-between;
        text-align: left;
    }

    .sv-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .sv-floor-nums,
    .sv-steps {
        grid-template-columns: 1fr;
    }
}
