/* solicitud.css — Request / quote flow form styles */

/* ---- Screen reader only ---- */
.sol-sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* ---- Trust bar ---- */
.sol-trust {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 6px 10px;
    width: 100%;
    max-width: 520px;
    margin: 16px 0 20px;
    overflow: hidden;
}

.sol-trust__item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #666;
    font-weight: 500;
    white-space: nowrap;
}

.sol-trust__item svg { color: var(--red); flex-shrink: 0; width: 13px; height: 13px; }

.sol-trust__sep {
    color: #2a2a2e;
    font-size: 14px;
    line-height: 1;
    flex-shrink: 0;
}

/* ---- Step indicator ---- */
.sol-stepper {
    display: flex;
    align-items: flex-start;
    width: 100%;
    max-width: 520px;
    margin-bottom: 28px;
}

.sol-stepper__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.sol-stepper__circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #111;
    border: 2px solid #2a2a2e;
    color: #444;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    flex-shrink: 0;
}

.sol-stepper__label {
    font-size: 10px;
    color: #444;
    letter-spacing: 0.3px;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    transition: color 0.3s;
}

.sol-stepper__line {
    flex: 1;
    height: 2px;
    background: #1e1e22;
    margin: 15px 4px 0;
    transition: background 0.3s;
    min-width: 8px;
}

.sol-stepper__item--active .sol-stepper__circle {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(200,14,20,0.15);
}

.sol-stepper__item--active .sol-stepper__label {
    color: #fff;
    font-weight: 600;
}

.sol-stepper__item--done .sol-stepper__circle {
    background: rgba(200,14,20,0.12);
    border-color: var(--red);
    color: var(--red);
}

.sol-stepper__item--done .sol-stepper__label { color: #555; }

.sol-stepper__line--done { background: var(--red); }

/* ---- Phone input wrap ---- */
.field-phone-wrap {
    display: flex;
    align-items: stretch;
    background: var(--input-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.field-phone-wrap:focus-within { border-color: #404040; }

.field-phone-prefix {
    padding: 0 12px;
    font-size: 14px;
    color: #666;
    white-space: nowrap;
    flex-shrink: 0;
    border-right: 1px solid var(--border);
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.03);
    min-height: 48px;
}

.field-input--phone {
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    flex: 1;
    min-width: 0;
}

.field-input--phone:focus { outline: none; }

/* ---- Model brief (Step 3) ---- */
.sol-model-brief {
    background: #111;
    border: 1px solid #1e1e22;
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
}

.sol-model-brief__item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 4px 0;
}

.sol-model-brief__num {
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    background: var(--red);
    border-radius: 6px;
    padding: 3px 8px;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    margin-top: 1px;
}

.sol-model-brief__text {
    font-size: 13px;
    color: #666;
    line-height: 1.55;
}

.sol-model-brief__text strong { color: #ccc; font-weight: 600; }

.sol-model-brief__sep {
    height: 1px;
    background: #1e1e22;
    margin: 16px 0;
}



.sol-page {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

/* inner form content centered + width-constrained */
.sol-progress,
.sol-steps-label,
.sol-step {
    width: 100%;
    max-width: 520px;
}
/* ---- Progress bar ---- */
.sol-progress {
    width: 100%;
    height: 3px;
    background: #1e1e22;
    border-radius: 2px;
    margin: 16px 0 6px;
    overflow: hidden;
}

.sol-progress__bar {
    height: 100%;
    background: var(--red);
    border-radius: 2px;
    transition: width 0.4s ease;
    width: 25%;
}

.sol-steps-label {
    font-size: 11px;
    color: #555;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.sol-step {
    width: 100%;
}

.sol-step.hidden {
    display: none;
}

.req {
    color: var(--red);
}

.sol-textarea {
    resize: vertical;
    min-height: 80px;
    line-height: 1.5;
    font-family: inherit;
    padding-top: 12px;
}

/* ---- Chip buttons ---- */
.sol-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.sol-chip {
    padding: 9px 16px;
    border-radius: 10px;
    border: 1px solid #2a2a2e;
    background: transparent;
    color: #666;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}

.sol-chip:hover {
    border-color: #444;
    color: #aaa;
}

.sol-chip--active {
    border-color: var(--red);
    color: var(--red);
    background: rgba(200, 14, 20, 0.08);
}

.sol-color-reveal {
    margin-top: 10px;
}

.sol-ref2-wrap {
    margin-top: 8px;
}

.sol-color-reveal.hidden {
    display: none;
}

.sol-add-btn {
    margin-top: 8px;
    background: none;
    border: none;
    color: var(--red);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    padding: 0;
}

.sol-add-btn:hover {
    opacity: 0.8;
}

.sol-step-note {
    font-size: 12px;
    color: #888;
    text-align: center;
    margin: 16px 0 4px;
    line-height: 1.6;
    border-top: 1px solid #2e2e32;
    padding-top: 16px;
}

/* ---- Phase explainer ---- */
.sol-phase-explainer {
    background: #111;
    border: 1px solid #1e1e22;
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sol-phase {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.sol-phase__num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.sol-phase__title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 3px;
}

.sol-phase__desc {
    font-size: 12px;
    color: #555;
    line-height: 1.5;
    margin-top: 6px;
}

.sol-phase__include {
    font-size: 12px;
    color: #777;
    margin-top: 10px;
    margin-bottom: 4px;
}

.sol-phase__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.sol-phase__list li {
    font-size: 12px;
    color: #555;
    padding-left: 14px;
    position: relative;
}

.sol-phase__list li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--red);
    font-size: 10px;
}

.sol-phase__list--check li::before {
    content: '✅';
    font-size: 11px;
}

.sol-phase__note {
    font-size: 12px;
    color: #666;
    margin-top: 10px;
}

.sol-phase__after {
    font-size: 12px;
    color: #777;
    margin-top: 10px;
    margin-bottom: 4px;
}

.sol-phase-arrow {
    text-align: center;
    color: #2a2a2e;
    font-size: 18px;
    margin: 10px 0 10px 14px;
}

/* ---- Plan cards ---- */
.sol-plan-label {
    font-size: 12px;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
}

.sol-plan-card__desc {
    font-size: 12px;
    color: #555;
    margin: -6px 0 10px;
}

.sol-plan-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sol-plan-card {
    background: #111;
    border: 2px solid #1e1e22;
    border-radius: 14px;
    padding: 18px 20px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    position: relative;
}

.sol-plan-card:hover {
    border-color: #333;
}

.sol-plan-card--selected {
    border-color: var(--red) !important;
    background: rgba(200, 14, 20, 0.06);
}

.sol-plan-card--featured {
    border-color: #2a2a2e;
}

.sol-plan-card__badge {
    position: absolute;
    top: -10px;
    right: 16px;
    background: var(--red);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 50px;
    letter-spacing: 1px;
}

.sol-plan-card__header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 12px;
}

.sol-plan-card__name {
    font-weight: 700;
    font-size: 18px;
}

.sol-plan-card__price {
    font-size: 15px;
    font-weight: 600;
    color: var(--red);
}

.sol-plan-card__price span {
    font-size: 11px;
    color: #555;
    font-weight: 400;
}

.sol-plan-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sol-plan-card__list li {
    font-size: 13px;
    color: #666;
    padding-left: 16px;
    position: relative;
}

.sol-plan-card__list li::before {
    content: '●';
    position: absolute;
    left: 0;
    color: var(--red);
    font-size: 7px;
    top: 4px;
}

.sol-plan-card--selected .sol-plan-card__list li {
    color: #aaa;
}

/* ---- Navigation buttons ---- */
.sol-nav-btns {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.sol-nav-btns .btn-primary {
    flex: 1;
}

.btn-secondary {
    background: transparent;
    border: 1px solid #2a2a2e;
    color: #666;
    border-radius: 14px;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: border-color 0.2s, color 0.2s;
}

.btn-secondary:hover {
    border-color: #444;
    color: #aaa;
}

.sol-nav-btns--edit {
    margin-top: 12px;
}

/* ---- Custom select (Categoría dropdown) ---- */
.custom-select {
    position: relative;
}

.custom-select__trigger {
    width: 100%;
    background: var(--input-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 13px 15px;
    color: var(--text);
    font-size: 15px;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    transition: border-color 0.2s;
    text-align: left;
}

.custom-select__trigger:focus {
    outline: none;
    border-color: #404040;
}

.custom-select__trigger svg {
    flex-shrink: 0;
    color: #666;
    transition: transform 0.2s;
}

.custom-select.open .custom-select__trigger svg {
    transform: rotate(180deg);
}

.custom-select__dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #161618;
    border: 1px solid #2a2a2e;
    border-radius: 12px;
    overflow-y: auto;
    max-height: calc(5 * 48px);
    z-index: 50;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    scrollbar-width: thin;
    scrollbar-color: #2a2a2e transparent;
}

.custom-select.open .custom-select__dropdown {
    display: block;
}

.custom-select__option {
    padding: 12px 15px;
    font-size: 14px;
    color: #aaa;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.custom-select__option:hover {
    background: #1e1e22;
    color: #fff;
}

.custom-select__option--selected {
    color: var(--red);
}

.custom-select.has-error .custom-select__trigger {
    border-color: var(--red);
}

/* ================================================
   TABLET  ≥ 768px
================================================ */
@media (min-width: 768px) {
    .sol-trust,
    .sol-stepper,
    .sol-progress,
    .sol-steps-label,
    .sol-step {
        max-width: 680px;
    }

    .sol-model-brief {
        flex-direction: row;
        padding: 20px 24px;
    }

    .sol-model-brief__item {
        flex: 1;
        padding: 0 16px;
    }

    .sol-model-brief__item:first-child {
        border-right: 1px solid #1e1e22;
        padding-left: 0;
    }

    .sol-model-brief__item:last-child { padding-right: 0; }

    .sol-model-brief__sep { display: none; }

    .card {
        max-width: 100%;
        padding: 32px 36px;
    }

    .logo-img {
        height: 80px;
    }

    .sol-plan-cards {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }

    .sol-phase-explainer {
        padding: 24px;
    }

    .sol-nav-btns .btn-primary {
        max-width: 260px;
    }
}

/* ================================================
   DESKTOP  ≥ 1100px
================================================ */
@media (min-width: 1100px) {
    .sol-trust,
    .sol-stepper,
    .sol-progress,
    .sol-steps-label,
    .sol-step {
        max-width: 880px;
    }

    .logo-img {
        height: 92px;
    }

    .page-title {
        font-size: 36px;
    }

    .page-subtitle {
        font-size: 15px;
        margin-bottom: 32px;
    }

    .card {
        padding: 40px 48px;
    }

    /* 2-column form field pairs */
    .sol-fields-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        margin-bottom: 16px;
    }

    .sol-fields-row .field-group {
        margin-bottom: 0;
    }

    /* Phase explainer side by side */
    .sol-phase-explainer {
        flex-direction: row;
        gap: 0;
    }

    .sol-phase {
        flex: 1;
        padding: 0 16px;
    }

    .sol-phase:first-child {
        border-right: 1px solid #1e1e22;
        padding-left: 0;
    }

    .sol-phase:last-child {
        padding-right: 0;
    }

    .sol-phase-arrow {
        writing-mode: initial;
        align-self: center;
        margin: 0 0 0 14px;
        font-size: 22px;
        transform: rotate(-90deg);
        flex-shrink: 0;
    }

    /* Wider plan cards */
    .sol-plan-cards {
        gap: 18px;
    }

    .sol-plan-card {
        padding: 22px 24px;
    }

    .sol-plan-card__name {
        font-size: 20px;
    }

    /* Nav buttons */
    .sol-nav-btns {
        margin-top: 28px;
    }

    .sol-nav-btns .btn-primary {
        max-width: 280px;
    }

    /* Summary card */
    .sol-summary {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 32px;
    }
}
