* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;

    background: #d9dbd5;

    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    color: #111b21;
}


/* =====================================================
   CONTENEDOR DEL TELÉFONO
===================================================== */

.phone {
    width: 100%;
    max-width: 430px;

    height: 92vh;
    max-height: 850px;

    background: white;

    display: flex;
    flex-direction: column;

    border-radius: 18px;
    overflow: hidden;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.25);
}


/* =====================================================
   HEADER
===================================================== */

.whatsapp-header {
    height: 68px;

    background: #075e54;

    color: white;

    display: flex;
    align-items: center;

    padding: 9px 13px;

    flex-shrink: 0;
}

.back {
    font-size: 34px;
    font-weight: 300;

    margin-right: 6px;

    line-height: 1;
}

.avatar {
    width: 42px;
    height: 42px;

    border-radius: 50%;

    background: #f97316;

    display: flex;
    justify-content: center;
    align-items: center;

    font-weight: bold;
    font-size: 18px;

    margin-right: 11px;
}

.contact-info {
    flex: 1;
}

.contact-info h1 {
    font-size: 16px;
    font-weight: 600;

    margin-bottom: 2px;
}

.contact-info span {
    font-size: 12px;

    opacity: 0.9;
}

.header-actions {
    font-size: 26px;

    padding: 5px;
}


/* =====================================================
   CHAT
===================================================== */

.chat {
    flex: 1;

    overflow-y: auto;

    padding: 16px 13px 25px;

    display: flex;
    flex-direction: column;

    background-color: #efeae2;

    background-image:
        radial-gradient(
            rgba(0, 0, 0, 0.025) 1px,
            transparent 1px
        );

    background-size: 18px 18px;
}

.day-label {
    align-self: center;

    background: #e1f3fb;

    color: #54656f;

    font-size: 11px;

    padding: 6px 11px;

    border-radius: 7px;

    margin-bottom: 16px;

    box-shadow:
        0 1px 2px rgba(0,0,0,0.08);
}


/* =====================================================
   MENSAJES
===================================================== */

.message {
    position: relative;

    max-width: 82%;

    padding: 8px 9px 19px;

    margin-bottom: 8px;

    border-radius: 8px;

    font-size: 14px;
    line-height: 1.4;

    box-shadow:
        0 1px 1px rgba(0,0,0,0.09);
}

.message p + p {
    margin-top: 7px;
}

.bot-message {
    background: #ffffff;

    align-self: flex-start;

    border-top-left-radius: 2px;
}

.user-message {
    background: #d9fdd3;

    align-self: flex-end;

    border-top-right-radius: 2px;
}

.time {
    position: absolute;

    right: 7px;
    bottom: 4px;

    font-size: 10px;

    color: #667781;
}


/* =====================================================
   BOTONES INICIALES
===================================================== */

.bot-options {
    align-self: flex-start;

    width: 82%;

    display: flex;
    flex-direction: column;

    gap: 7px;

    margin-bottom: 10px;
}

.chat-option {
    border: none;

    background: white;

    border-radius: 8px;

    padding: 12px 14px;

    color: #008069;

    font-size: 14px;
    font-weight: 500;

    cursor: pointer;

    box-shadow:
        0 1px 2px rgba(0,0,0,0.09);

    transition: 0.15s;
}

.chat-option:hover {
    background: #f5f6f6;
}


/* =====================================================
   LINK DEL FORMULARIO
===================================================== */

.form-link {
    display: block;

    margin-top: 13px;

    padding: 11px;

    border-top:
        1px solid #e9edef;

    text-align: center;

    color: #008069;

    text-decoration: none;

    font-weight: 600;

    font-size: 13px;
}

.form-link:hover {
    background: #f5f6f6;
}


/* =====================================================
   ESCRIBIENDO
===================================================== */

.typing {
    background: white;

    align-self: flex-start;

    width: 55px;

    height: 33px;

    border-radius: 8px;

    display: none;

    justify-content: center;
    align-items: center;

    gap: 4px;

    margin-bottom: 8px;

    box-shadow:
        0 1px 2px rgba(0,0,0,0.08);
}

.typing span {
    width: 6px;
    height: 6px;

    background: #8696a0;

    border-radius: 50%;

    animation:
        typingAnimation 1.3s infinite;
}

.typing span:nth-child(2) {
    animation-delay: 0.15s;
}

.typing span:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes typingAnimation {

    0%,
    60%,
    100% {
        transform: translateY(0);
        opacity: 0.5;
    }

    30% {
        transform: translateY(-4px);
        opacity: 1;
    }

}


/* =====================================================
   BARRA INFERIOR
===================================================== */

.message-bar {
    background: #f0f2f5;

    padding: 8px;

    display: flex;
    align-items: center;

    gap: 7px;

    flex-shrink: 0;
}

.fake-input {
    flex: 1;

    height: 43px;

    background: white;

    border-radius: 22px;

    display: flex;
    align-items: center;

    padding: 0 13px;

    color: #667781;

    font-size: 14px;
}

.emoji {
    font-size: 21px;

    margin-right: 10px;
}

.placeholder {
    flex: 1;
}

.attachment {
    font-size: 18px;
}

.microphone {
    width: 43px;
    height: 43px;

    border-radius: 50%;

    background: #008069;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 17px;
}


/* =====================================================
   CELULAR
===================================================== */

@media (max-width: 500px) {

    body {
        background: white;
    }

    .phone {
        width: 100%;
        max-width: none;

        height: 100vh;
        max-height: none;

        border-radius: 0;

        box-shadow: none;
    }

}

/* =====================================================
   FORMULARIOS SELEC
===================================================== */

.form-page {
    background: #f3f4f6;
    display: block;
    min-height: 100vh;
}

.form-container {
    width: 100%;
    max-width: 720px;

    margin: 35px auto;
    padding: 0 18px 40px;
}

.form-header,
.selec-form {
    background: white;
    border-radius: 18px;
}

.form-header {
    padding: 25px 28px;
    margin-bottom: 15px;
}

.back-link {
    display: inline-block;

    color: #667781;
    text-decoration: none;

    font-size: 13px;

    margin-bottom: 22px;
}

.form-brand {
    display: flex;
    align-items: center;

    gap: 11px;

    margin-bottom: 28px;
}

.form-logo {
    width: 45px;
    height: 45px;

    background: #f97316;
    color: white;

    border-radius: 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 19px;
    font-weight: bold;
}

.form-brand div:last-child {
    display: flex;
    flex-direction: column;
}

.form-brand strong {
    font-size: 16px;
}

.form-brand span {
    color: #6b7280;
    font-size: 12px;

    margin-top: 2px;
}

.form-header h1 {
    font-size: 25px;

    margin-bottom: 9px;
}

.form-header > p {
    color: #6b7280;

    font-size: 14px;
    line-height: 1.5;
}

.selec-form {
    padding: 28px;
}

.form-section {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-top: 28px;
    margin-bottom: 20px;

    padding-top: 25px;

    border-top: 1px solid #e5e7eb;
}

.form-section:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.section-number {
    min-width: 35px;
    height: 35px;

    border-radius: 50%;

    background: #fff7ed;
    color: #ea580c;

    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: bold;
}

.form-section h2 {
    font-size: 15px;

    margin-bottom: 3px;
}

.form-section p {
    color: #9ca3af;
    font-size: 12px;
}

.field-group {
    margin-bottom: 17px;
}

.field-group label {
    display: block;

    font-size: 13px;
    font-weight: 600;

    margin-bottom: 7px;
}

.field-group input,
.field-group textarea {
    width: 100%;

    padding: 12px 13px;

    border: 1px solid #d1d5db;
    border-radius: 9px;

    outline: none;

    font-size: 14px;

    font-family: inherit;

    transition: 0.15s;
}

.field-group textarea {
    resize: vertical;
}

.field-group input:focus,
.field-group textarea:focus {
    border-color: #f97316;

    box-shadow:
        0 0 0 3px rgba(249, 115, 22, 0.08);
}

.two-columns {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 14px;
}

.submit-form {
    width: 100%;

    margin-top: 10px;

    padding: 14px;

    border: none;
    border-radius: 10px;

    background: #f97316;
    color: white;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition: 0.15s;
}

.submit-form:hover {
    background: #ea580c;
}

.form-privacy {
    color: #9ca3af;

    text-align: center;

    font-size: 11px;
    line-height: 1.5;

    margin-top: 15px;
}


@media (max-width: 600px) {

    .form-page {
        background: white;
    }

    .form-container {
        margin: 0;
        padding: 0;
        max-width: none;
    }

    .form-header,
    .selec-form {
        border-radius: 0;
    }

    .form-header {
        margin-bottom: 0;
        padding: 22px 20px;
    }

    .selec-form {
        padding: 22px 20px 35px;

        border-top: 8px solid #f3f4f6;
    }

    .two-columns {
        grid-template-columns: 1fr;
        gap: 0;
    }

}

/* =====================================================
   CONFIRMACIÓN
===================================================== */

.confirmation-page {
    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 25px 16px;
}

.confirmation-card {
    width: 100%;
    max-width: 520px;

    background: white;

    border-radius: 20px;

    padding: 30px;

    box-shadow:
        0 15px 45px rgba(0,0,0,0.12);
}

.success-icon {
    width: 58px;
    height: 58px;

    margin: 0 auto 18px;

    border-radius: 50%;

    background: #ecfdf5;
    color: #16a34a;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 29px;
    font-weight: bold;
}

.confirmation-card > h1 {
    text-align: center;

    font-size: 23px;

    margin-bottom: 8px;
}

.confirmation-intro {
    text-align: center;

    color: #6b7280;

    font-size: 14px;

    margin-bottom: 28px;
}

.confirmation-summary {
    border: 1px solid #e5e7eb;

    border-radius: 13px;

    padding: 18px;
}

.confirmation-summary h2 {
    font-size: 15px;

    margin-bottom: 18px;
}

.summary-row {
    display: flex;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 11px;

    font-size: 13px;
}

.summary-row span {
    color: #6b7280;
}

.summary-row strong {
    text-align: right;

    font-weight: 600;

    word-break: break-word;
}

.summary-row.vertical {
    flex-direction: column;
}

.summary-row.vertical strong {
    text-align: left;
}

.summary-divider {
    height: 1px;

    background: #e5e7eb;

    margin: 16px 0;
}

.confirmation-message {
    background: #fff7ed;

    color: #9a3412;

    border-radius: 10px;

    padding: 13px;

    margin-top: 18px;

    font-size: 12px;
    line-height: 1.5;

    text-align: center;
}

.back-chat-button {
    display: block;

    width: 100%;

    margin-top: 16px;

    padding: 13px;

    border-radius: 10px;

    background: #008069;
    color: white;

    text-decoration: none;

    text-align: center;

    font-size: 14px;
    font-weight: 600;
}

.back-chat-button:hover {
    background: #006c5b;
}

@media (max-width: 600px) {

    .confirmation-page {
        padding: 0;

        align-items: flex-start;

        background: white;
    }

    .confirmation-card {
        min-height: 100vh;

        max-width: none;

        border-radius: 0;

        box-shadow: none;

        padding: 30px 20px;
    }

}

/* =========================================================
   NUEVO DISEÑO - FORMULARIO DE COTIZACIÓN
   ========================================================= */

.quote-page {
    --selec-orange: #f7941d;
    --selec-orange-dark: #e67e00;
    --selec-orange-soft: #fff7ed;

    --text-main: #202124;
    --text-secondary: #667085;
    --text-light: #98a2b3;

    --border: #e4e7ec;
    --surface: #ffffff;
    --background: #f7f8fa;

    background:
        linear-gradient(
            180deg,
            #ffffff 0,
            #ffffff 280px,
            var(--background) 280px,
            var(--background) 100%
        );

    min-height: 100vh;

    color: var(--text-main);

    display: block;

    padding: 0;

    -webkit-font-smoothing: antialiased;
}


/* =========================================================
   CONTENEDOR GENERAL
   ========================================================= */

.quote-shell {
    width: 100%;
    max-width: 790px;

    margin: 0 auto;

    padding:
        30px
        22px
        60px;
}


/* =========================================================
   ENCABEZADO
   ========================================================= */

.quote-header {
    padding:
        4px
        5px
        30px;
}


.quote-back {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    margin-bottom: 27px;

    color: var(--text-secondary);

    font-size: 13px;
    font-weight: 600;

    text-decoration: none;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}


.quote-back:hover {
    color: var(--text-main);

    transform: translateX(-2px);
}


.quote-back span {
    font-size: 18px;
    line-height: 1;
}


/* =========================================================
   MARCA
   ========================================================= */

.quote-brand-row {
    display: flex;
    align-items: center;

    gap: 27px;
}


.selec-brand-logo {
    width: 108px;
    height: auto;

    flex-shrink: 0;

    object-fit: contain;
}


.quote-header-copy {
    flex: 1;
}


.quote-kicker {
    display: block;

    margin-bottom: 7px;

    color: var(--selec-orange-dark);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}


.quote-header h1 {
    margin: 0 0 10px;

    color: var(--text-main);

    font-size: clamp(
        28px,
        4vw,
        37px
    );

    line-height: 1.12;

    letter-spacing: -0.035em;

    font-weight: 750;
}


.quote-header-copy > p {
    max-width: 540px;

    margin: 0;

    color: var(--text-secondary);

    font-size: 14px;
    line-height: 1.65;
}


/* =========================================================
   INFORMACIÓN DE CONFIANZA
   ========================================================= */

.quote-trust-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 9px;

    margin-top: 22px;
}


.quote-trust-row span {
    display: inline-flex;
    align-items: center;

    padding:
        8px
        11px;

    border:
        1px solid
        #edf0f3;

    border-radius: 999px;

    background: rgba(
        255,
        255,
        255,
        0.72
    );

    color: #667085;

    font-size: 11px;
    font-weight: 550;
}


/* =========================================================
   TARJETA PRINCIPAL
   ========================================================= */

.quote-card {
    overflow: hidden;

    background:
        var(--surface);

    border:
        1px solid
        rgba(
            228,
            231,
            236,
            0.95
        );

    border-radius: 22px;

    box-shadow:
        0 18px 50px
        rgba(
            16,
            24,
            40,
            0.07
        );
}


/* =========================================================
   PROGRESO
   ========================================================= */

.quote-progress {
    padding:
        23px
        30px
        21px;

    background: #fafafa;

    border-bottom:
        1px solid
        #eeeeee;
}


.quote-progress-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 13px;
}


#progressLabel {
    color: var(--text-secondary);

    font-size: 12px;
    font-weight: 600;
}


#progressTitle {
    color: var(--text-main);

    font-size: 12px;
    font-weight: 700;
}


.quote-progress-track {
    width: 100%;
    height: 6px;

    overflow: hidden;

    background: #e9eaec;

    border-radius: 999px;
}


.quote-progress-bar {
    width: 33.333%;

    height: 100%;

    background:
        linear-gradient(
            90deg,
            #f7941d,
            #ffad42
        );

    border-radius: inherit;

    transition:
        width
        0.35s
        ease;
}


.quote-progress-dots {
    display: none;
}


/* =========================================================
   FORMULARIO
   ========================================================= */

.quote-form {
    padding:
        32px
        30px
        30px;
}


.form-step {
    display: none;

    animation:
        quoteStepIn
        0.28s ease;
}


.form-step.active {
    display: block;
}


@keyframes quoteStepIn {

    from {
        opacity: 0;
        transform:
            translateY(7px);
    }

    to {
        opacity: 1;
        transform:
            translateY(0);
    }

}


/* =========================================================
   TÍTULO DE CADA PASO
   ========================================================= */

.step-heading {
    display: flex;
    align-items: flex-start;

    gap: 14px;

    margin-bottom: 29px;
}


.step-icon {
    width: 39px;
    height: 39px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background:
        var(--selec-orange-soft);

    color:
        var(--selec-orange-dark);

    font-size: 14px;
    font-weight: 750;
}


.step-heading h2 {
    margin:
        1px
        0
        4px;

    color: var(--text-main);

    font-size: 19px;
    font-weight: 700;

    letter-spacing: -0.015em;
}


.step-heading p {
    margin: 0;

    color: var(--text-secondary);

    font-size: 12px;
    line-height: 1.5;
}


/* =========================================================
   CAMPOS
   ========================================================= */

.quote-form .field-group {
    margin-bottom: 21px;
}


.quote-form .field-group label {
    display: flex;
    align-items: center;

    gap: 5px;

    margin-bottom: 8px;

    color: #344054;

    font-size: 12px;
    font-weight: 650;
}


.quote-form .field-group label > span {
    color: var(--selec-orange-dark);
}


.quote-form .field-group label small {
    margin-left: auto;

    color: var(--text-light);

    font-size: 10px;
    font-weight: 500;
}


.quote-form .field-group input,
.quote-form .field-group textarea {
    width: 100%;

    border:
        1px solid
        #d8dde5;

    border-radius: 11px;

    background: #ffffff;

    color: var(--text-main);

    font-family: inherit;

    font-size: 14px;

    outline: none;

    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease;
}


.quote-form .field-group input {
    min-height: 50px;

    padding:
        0
        14px;
}


.quote-form .field-group textarea {
    min-height: 125px;

    padding:
        13px
        14px;

    line-height: 1.55;

    resize: vertical;
}


.quote-form .field-group input::placeholder,
.quote-form .field-group textarea::placeholder {
    color: #a6adb8;
}


.quote-form .field-group input:hover,
.quote-form .field-group textarea:hover {
    border-color: #c4cbd4;
}


.quote-form .field-group input:focus,
.quote-form .field-group textarea:focus {
    border-color:
        var(--selec-orange);

    box-shadow:
        0 0 0 4px
        rgba(
            247,
            148,
            29,
            0.10
        );
}


.quote-form .field-group input:invalid:not(:placeholder-shown),
.quote-form .field-group textarea:invalid:not(:placeholder-shown) {
    border-color: #f0a4a4;
}


/* =========================================================
   CAMPOS DOBLES
   ========================================================= */

.quote-two-columns {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(
                0,
                1fr
            )
        );

    gap: 17px;
}


.quote-two-columns .field-group {
    min-width: 0;
}


.quantity-field {
    max-width: 220px;
}


/* =========================================================
   AYUDA BAJO EL CAMPO
   ========================================================= */

.field-help {
    margin-top: 7px;

    color: var(--text-light);

    font-size: 10px;
    line-height: 1.5;
}


/* =========================================================
   BLOQUE FINAL
   ========================================================= */

.final-info-box {
    display: flex;
    align-items: flex-start;

    gap: 13px;

    margin:
        9px
        0
        22px;

    padding:
        16px;

    border:
        1px solid
        #e4f2e8;

    border-radius: 13px;

    background: #f6fbf7;
}


.final-info-icon {
    width: 29px;
    height: 29px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #ddf4e4;

    color: #24834c;

    font-size: 13px;
    font-weight: 800;
}


.final-info-box strong {
    display: block;

    margin-bottom: 3px;

    color: #285c3a;

    font-size: 12px;
}


.final-info-box p {
    margin: 0;

    color: #60826c;

    font-size: 11px;
    line-height: 1.55;
}


.required-note {
    margin:
        0
        0
        15px;

    color: var(--text-light);

    font-size: 10px;
}


/* =========================================================
   BOTONES
   ========================================================= */

.step-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    margin-top: 31px;
}


.single-action {
    justify-content: flex-end;
}


.quote-button {
    min-height: 49px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    padding:
        0
        22px;

    border:
        1px solid transparent;

    border-radius: 11px;

    font-family: inherit;

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        background 0.15s ease,
        border-color 0.15s ease;
}


.quote-button:hover {
    transform: translateY(-1px);
}


.quote-button:active {
    transform: translateY(0);
}


.quote-button.primary {
    background:
        var(--selec-orange);

    color: #ffffff;

    box-shadow:
        0 6px 15px
        rgba(
            247,
            148,
            29,
            0.20
        );
}


.quote-button.primary:hover {
    background:
        var(--selec-orange-dark);

    box-shadow:
        0 8px 19px
        rgba(
            247,
            148,
            29,
            0.25
        );
}


.quote-button.secondary {
    background: #ffffff;

    color: #475467;

    border-color:
        #d8dde5;
}


.quote-button.secondary:hover {
    background: #f8f9fa;

    border-color:
        #c7ccd4;
}


.submit-quote {
    min-width: 180px;
}


.quote-button:disabled {
    opacity: 0.65;

    cursor: wait;

    transform: none;

    box-shadow: none;
}


/* =========================================================
   PRIVACIDAD
   ========================================================= */

.quote-privacy {
    margin:
        17px
        0
        0;

    color:
        var(--text-light);

    font-size: 10px;
    line-height: 1.5;

    text-align: right;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (
    max-width: 700px
) {

    .quote-shell {
        padding:
            22px
            16px
            45px;
    }


    .quote-header {
        padding-bottom: 24px;
    }


    .quote-brand-row {
        gap: 20px;
    }


    .selec-brand-logo {
        width: 91px;
    }


    .quote-header h1 {
        font-size: 29px;
    }


    .quote-form {
        padding:
            27px
            24px
            27px;
    }


    .quote-progress {
        padding:
            20px
            24px;
    }

}


/* =========================================================
   TELÉFONO
   ========================================================= */

@media (
    max-width: 560px
) {

    .quote-page {
        background: #ffffff;
    }


    .quote-shell {
        max-width: none;

        padding: 0;
    }


    /* ---------------------------------------------
       HEADER MÓVIL
       --------------------------------------------- */

    .quote-header {
        padding:
            max(
                18px,
                env(safe-area-inset-top)
            )
            20px
            23px;
    }


    .quote-back {
        margin-bottom: 22px;

        font-size: 12px;
    }


    .quote-brand-row {
        display: block;
    }


    .selec-brand-logo {
        width: 88px;

        margin-bottom: 20px;
    }


    .quote-kicker {
        margin-bottom: 6px;

        font-size: 10px;
    }


    .quote-header h1 {
        margin-bottom: 9px;

        font-size: 27px;
        line-height: 1.13;
    }


    .quote-header-copy > p {
        font-size: 13px;
        line-height: 1.55;
    }


    .quote-trust-row {
        display: grid;

        grid-template-columns: 1fr;

        gap: 6px;

        margin-top: 18px;
    }


    .quote-trust-row span {
        width: fit-content;

        border: none;

        padding:
            2px
            0;

        background: transparent;

        font-size: 10px;
    }


    /* ---------------------------------------------
       TARJETA
       --------------------------------------------- */

    .quote-card {
        border:
            none;

        border-top:
            8px solid
            #f5f6f7;

        border-radius: 0;

        box-shadow: none;
    }


    /* ---------------------------------------------
       PROGRESO
       --------------------------------------------- */

    .quote-progress {
        padding:
            19px
            20px
            18px;

        background: #ffffff;
    }


    .quote-progress-topline {
        margin-bottom: 11px;
    }


    #progressLabel,
    #progressTitle {
        font-size: 11px;
    }


    .quote-progress-track {
        height: 5px;
    }


    /* ---------------------------------------------
       FORMULARIO
       --------------------------------------------- */

    .quote-form {
        padding:
            25px
            20px
            calc(
                34px +
                env(safe-area-inset-bottom)
            );
    }


    .step-heading {
        gap: 12px;

        margin-bottom: 25px;
    }


    .step-icon {
        width: 36px;
        height: 36px;

        border-radius: 10px;
    }


    .step-heading h2 {
        font-size: 18px;
    }


    .step-heading p {
        font-size: 11px;
    }


    /* ---------------------------------------------
       CAMPOS
       --------------------------------------------- */

    .quote-two-columns {
        grid-template-columns: 1fr;

        gap: 0;
    }


    .quote-form .field-group {
        margin-bottom: 18px;
    }


    .quote-form .field-group label {
        font-size: 12px;
    }


    .quote-form .field-group input {
        min-height: 52px;

        font-size: 16px;
    }


    .quote-form .field-group textarea {
        min-height: 130px;

        font-size: 16px;
    }


    .quantity-field {
        max-width: none;
    }


    /* ---------------------------------------------
       BOTONES
       --------------------------------------------- */

    .step-actions {
        margin-top: 27px;
    }


    .quote-button {
        min-height: 52px;

        font-size: 13px;
    }


    .single-action .quote-button {
        width: 100%;
    }


    .step-actions:not(
        .single-action
    ) {

        display: grid;

        grid-template-columns:
            minmax(
                0,
                0.85fr
            )
            minmax(
                0,
                1.35fr
            );

    }


    .step-actions:not(
        .single-action
    )
    .quote-button {
        width: 100%;

        padding:
            0
            12px;
    }


    .submit-quote {
        min-width: 0;
    }


    .quote-privacy {
        text-align: center;

        margin-top: 16px;
    }

}


/* =========================================================
   TELÉFONOS MUY PEQUEÑOS
   ========================================================= */

@media (
    max-width: 360px
) {

    .quote-header {
        padding-left: 17px;
        padding-right: 17px;
    }


    .quote-form,
    .quote-progress {
        padding-left: 17px;
        padding-right: 17px;
    }


    .quote-header h1 {
        font-size: 25px;
    }


    .step-actions:not(
        .single-action
    ) {
        grid-template-columns: 1fr;
    }


    .step-actions:not(
        .single-action
    )
    .secondary {
        order: 2;
    }


    .step-actions:not(
        .single-action
    )
    .primary {
        order: 1;
    }

}

/* =========================================================
   NUEVO DISEÑO - FORMULARIO DE POSTVENTA
   ========================================================= */

.aftersales-page {
    --selec-orange: #f7941d;
    --selec-orange-dark: #e67e00;
    --selec-orange-soft: #fff7ed;

    --text-main: #202124;
    --text-secondary: #667085;
    --text-light: #98a2b3;

    --border: #e4e7ec;
    --surface: #ffffff;
    --background: #f7f8fa;

    background:
        linear-gradient(
            180deg,
            #ffffff 0,
            #ffffff 280px,
            var(--background) 280px,
            var(--background) 100%
        );

    min-height: 100vh;

    color: var(--text-main);

    display: block;

    padding: 0;

    -webkit-font-smoothing: antialiased;
}


/* =========================================================
   CONTENEDOR GENERAL
   ========================================================= */

.aftersales-shell {
    width: 100%;
    max-width: 790px;

    margin: 0 auto;

    padding:
        30px
        22px
        60px;
}


/* =========================================================
   ENCABEZADO
   ========================================================= */

.aftersales-header {
    padding:
        4px
        5px
        30px;
}


.aftersales-back {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    margin-bottom: 27px;

    color: var(--text-secondary);

    font-size: 13px;
    font-weight: 600;

    text-decoration: none;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}


.aftersales-back:hover {
    color: var(--text-main);

    transform: translateX(-2px);
}


.aftersales-back span {
    font-size: 18px;
    line-height: 1;
}


/* =========================================================
   MARCA
   ========================================================= */

.aftersales-brand-row {
    display: flex;
    align-items: center;

    gap: 27px;
}


.aftersales-header-copy {
    flex: 1;
}


.aftersales-kicker {
    display: block;

    margin-bottom: 7px;

    color: var(--selec-orange-dark);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}


.aftersales-header h1 {
    margin: 0 0 10px;

    color: var(--text-main);

    font-size: clamp(
        28px,
        4vw,
        37px
    );

    line-height: 1.12;

    letter-spacing: -0.035em;

    font-weight: 750;
}


.aftersales-header-copy > p {
    max-width: 540px;

    margin: 0;

    color: var(--text-secondary);

    font-size: 14px;
    line-height: 1.65;
}


/* =========================================================
   INFORMACIÓN DE CONFIANZA
   ========================================================= */

.aftersales-trust-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 9px;

    margin-top: 22px;
}


.aftersales-trust-row span {
    display: inline-flex;
    align-items: center;

    padding:
        8px
        11px;

    border:
        1px solid
        #edf0f3;

    border-radius: 999px;

    background:
        rgba(
            255,
            255,
            255,
            0.72
        );

    color: #667085;

    font-size: 11px;
    font-weight: 550;
}


/* =========================================================
   TARJETA PRINCIPAL
   ========================================================= */

.aftersales-card {
    overflow: hidden;

    background:
        var(--surface);

    border:
        1px solid
        rgba(
            228,
            231,
            236,
            0.95
        );

    border-radius: 22px;

    box-shadow:
        0 18px 50px
        rgba(
            16,
            24,
            40,
            0.07
        );
}


/* =========================================================
   FORMULARIO
   ========================================================= */

.aftersales-form {
    padding:
        32px
        30px
        30px;
}


/* =========================================================
   SECCIONES
   ========================================================= */

.aftersales-section {
    padding-bottom: 30px;

    margin-bottom: 30px;

    border-bottom:
        1px solid
        #eef0f2;
}


.aftersales-section.last-section {
    padding-bottom: 4px;

    margin-bottom: 24px;

    border-bottom: none;
}


.aftersales-section-heading {
    display: flex;
    align-items: flex-start;

    gap: 14px;

    margin-bottom: 25px;
}


.aftersales-section-icon {
    width: 39px;
    height: 39px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background:
        var(--selec-orange-soft);

    color:
        var(--selec-orange-dark);

    font-size: 14px;
    font-weight: 750;
}


.aftersales-section-heading h2 {
    margin:
        1px
        0
        4px;

    color: var(--text-main);

    font-size: 19px;
    font-weight: 700;

    letter-spacing: -0.015em;
}


.aftersales-section-heading p {
    margin: 0;

    color: var(--text-secondary);

    font-size: 12px;
    line-height: 1.5;
}


/* =========================================================
   CAMPOS
   ========================================================= */

.aftersales-form .field-group {
    margin-bottom: 21px;
}


.aftersales-form .field-group:last-child {
    margin-bottom: 0;
}


.aftersales-form .field-group label {
    display: flex;
    align-items: center;

    gap: 5px;

    margin-bottom: 8px;

    color: #344054;

    font-size: 12px;
    font-weight: 650;
}


.aftersales-form .field-group label > span {
    color:
        var(--selec-orange-dark);
}


.aftersales-form .field-group input,
.aftersales-form .field-group textarea {
    width: 100%;

    border:
        1px solid
        #d8dde5;

    border-radius: 11px;

    background: #ffffff;

    color: var(--text-main);

    font-family: inherit;

    font-size: 14px;

    outline: none;

    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease;
}


.aftersales-form .field-group input {
    min-height: 50px;

    padding:
        0
        14px;
}


.aftersales-form .field-group textarea {
    min-height: 145px;

    padding:
        13px
        14px;

    line-height: 1.55;

    resize: vertical;
}


.aftersales-form .field-group input::placeholder,
.aftersales-form .field-group textarea::placeholder {
    color: #a6adb8;
}


.aftersales-form .field-group input:hover,
.aftersales-form .field-group textarea:hover {
    border-color: #c4cbd4;
}


.aftersales-form .field-group input:focus,
.aftersales-form .field-group textarea:focus {
    border-color:
        var(--selec-orange);

    box-shadow:
        0 0 0 4px
        rgba(
            247,
            148,
            29,
            0.10
        );
}


/* =========================================================
   AYUDA BAJO CAMPOS
   ========================================================= */

.aftersales-form .field-help {
    margin-top: 7px;

    color: var(--text-light);

    font-size: 10px;
    line-height: 1.5;
}


/* =========================================================
   BLOQUE FINAL
   ========================================================= */

.aftersales-info-box {
    display: flex;
    align-items: flex-start;

    gap: 13px;

    margin:
        0
        0
        22px;

    padding:
        16px;

    border:
        1px solid
        #e4f2e8;

    border-radius: 13px;

    background: #f6fbf7;
}


.aftersales-info-icon {
    width: 29px;
    height: 29px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #ddf4e4;

    color: #24834c;

    font-size: 13px;
    font-weight: 800;
}


.aftersales-info-box strong {
    display: block;

    margin-bottom: 3px;

    color: #285c3a;

    font-size: 12px;
}


.aftersales-info-box p {
    margin: 0;

    color: #60826c;

    font-size: 11px;
    line-height: 1.55;
}


/* =========================================================
   BOTÓN
   ========================================================= */

.aftersales-submit {
    width: 100%;
    min-height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-top: 17px;

    padding:
        0
        22px;

    border: none;

    border-radius: 11px;

    background:
        var(--selec-orange);

    color: #ffffff;

    font-family: inherit;

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 6px 15px
        rgba(
            247,
            148,
            29,
            0.20
        );

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        background 0.15s ease;
}


.aftersales-submit:hover {
    background:
        var(--selec-orange-dark);

    transform:
        translateY(-1px);

    box-shadow:
        0 8px 19px
        rgba(
            247,
            148,
            29,
            0.25
        );
}


.aftersales-submit:active {
    transform: translateY(0);
}


.aftersales-submit:disabled {
    opacity: 0.65;

    cursor: wait;

    transform: none;

    box-shadow: none;
}


/* =========================================================
   PRIVACIDAD
   ========================================================= */

.aftersales-privacy {
    margin:
        17px
        0
        0;

    color:
        var(--text-light);

    font-size: 10px;
    line-height: 1.5;

    text-align: center;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (
    max-width: 700px
) {

    .aftersales-shell {
        padding:
            22px
            16px
            45px;
    }


    .aftersales-header {
        padding-bottom: 24px;
    }


    .aftersales-brand-row {
        gap: 20px;
    }


    .aftersales-header h1 {
        font-size: 29px;
    }


    .aftersales-form {
        padding:
            27px
            24px
            27px;
    }

}


/* =========================================================
   TELÉFONO
   ========================================================= */

@media (
    max-width: 560px
) {

    .aftersales-page {
        background: #ffffff;
    }


    .aftersales-shell {
        max-width: none;

        padding: 0;
    }


    .aftersales-header {
        padding:
            max(
                18px,
                env(safe-area-inset-top)
            )
            20px
            23px;
    }


    .aftersales-back {
        margin-bottom: 22px;

        font-size: 12px;
    }


    .aftersales-brand-row {
        display: block;
    }


    .aftersales-kicker {
        margin-bottom: 6px;

        font-size: 10px;
    }


    .aftersales-header h1 {
        margin-bottom: 9px;

        font-size: 27px;
        line-height: 1.13;
    }


    .aftersales-header-copy > p {
        font-size: 13px;
        line-height: 1.55;
    }


    .aftersales-trust-row {
        display: grid;

        grid-template-columns: 1fr;

        gap: 6px;

        margin-top: 18px;
    }


    .aftersales-trust-row span {
        width: fit-content;

        border: none;

        padding:
            2px
            0;

        background: transparent;

        font-size: 10px;
    }


    .aftersales-card {
        border: none;

        border-top:
            8px solid
            #f5f6f7;

        border-radius: 0;

        box-shadow: none;
    }


    .aftersales-form {
        padding:
            25px
            20px
            calc(
                34px +
                env(safe-area-inset-bottom)
            );
    }


    .aftersales-section {
        padding-bottom: 25px;

        margin-bottom: 25px;
    }


    .aftersales-section-heading {
        gap: 12px;

        margin-bottom: 22px;
    }


    .aftersales-section-icon {
        width: 36px;
        height: 36px;

        border-radius: 10px;
    }


    .aftersales-section-heading h2 {
        font-size: 18px;
    }


    .aftersales-section-heading p {
        font-size: 11px;
    }


    .aftersales-form .field-group {
        margin-bottom: 18px;
    }


    .aftersales-form .field-group label {
        font-size: 12px;
    }


    .aftersales-form .field-group input {
        min-height: 52px;

        font-size: 16px;
    }


    .aftersales-form .field-group textarea {
        min-height: 145px;

        font-size: 16px;
    }


    .aftersales-submit {
        min-height: 54px;

        font-size: 13px;
    }

}


/* =========================================================
   TELÉFONOS MUY PEQUEÑOS
   ========================================================= */

@media (
    max-width: 360px
) {

    .aftersales-header,
    .aftersales-form {
        padding-left: 17px;
        padding-right: 17px;
    }


    .aftersales-header h1 {
        font-size: 25px;
    }

}

/* =========================================================
   NUEVO DISEÑO - PANTALLA DE CONFIRMACIÓN
   ========================================================= */

.confirmation-new-page {
    --selec-orange: #f7941d;
    --selec-orange-dark: #e67e00;
    --selec-orange-soft: #fff7ed;

    --text-main: #202124;
    --text-secondary: #667085;
    --text-light: #98a2b3;

    --border: #e4e7ec;
    --surface: #ffffff;
    --background: #f7f8fa;

    min-height: 100vh;

    background:
        linear-gradient(
            180deg,
            #ffffff 0,
            #ffffff 250px,
            var(--background) 250px,
            var(--background) 100%
        );

    color: var(--text-main);

    display: block;

    padding: 0;

    -webkit-font-smoothing: antialiased;
}


/* =========================================================
   CONTENEDOR
   ========================================================= */

.confirmation-shell {
    width: 100%;
    max-width: 760px;

    margin: 0 auto;

    padding:
        38px
        22px
        60px;
}


/* =========================================================
   TARJETA
   ========================================================= */

.confirmation-new-card {
    width: 100%;

    padding:
        34px
        34px
        30px;

    background: #ffffff;

    border:
        1px solid
        rgba(
            228,
            231,
            236,
            0.95
        );

    border-radius: 24px;

    box-shadow:
        0 20px 55px
        rgba(
            16,
            24,
            40,
            0.08
        );
}


/* =========================================================
   LOGO
   ========================================================= */

.confirmation-brand {
    display: flex;
    justify-content: center;

    margin-bottom: 23px;
}


.confirmation-logo {
    width: 105px;
    height: auto;

    object-fit: contain;
}


/* =========================================================
   ÉXITO
   ========================================================= */

.confirmation-success-icon {
    width: 58px;
    height: 58px;

    margin:
        0 auto
        16px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #e8f7ed;

    color: #23864e;

    font-size: 27px;
    font-weight: 800;
}


.confirmation-kicker {
    display: block;

    margin-bottom: 7px;

    color: var(--selec-orange-dark);

    font-size: 11px;
    font-weight: 750;

    letter-spacing: 0.08em;

    text-align: center;
    text-transform: uppercase;
}


.confirmation-new-card > h1 {
    max-width: 520px;

    margin:
        0 auto
        11px;

    color: var(--text-main);

    font-size:
        clamp(
            27px,
            4vw,
            35px
        );

    line-height: 1.14;

    letter-spacing: -0.03em;

    text-align: center;
}


.confirmation-new-intro {
    max-width: 560px;

    margin:
        0 auto
        30px;

    color: var(--text-secondary);

    font-size: 13px;
    line-height: 1.65;

    text-align: center;
}


/* =========================================================
   RESUMEN
   ========================================================= */

.confirmation-new-summary {
    overflow: hidden;

    margin-top: 3px;

    border:
        1px solid
        #e7e9ed;

    border-radius: 17px;

    background: #ffffff;
}


.confirmation-summary-header {
    padding:
        20px
        22px;

    background: #fafafa;

    border-bottom:
        1px solid
        #eceef1;
}


.confirmation-summary-header span {
    display: block;

    margin-bottom: 3px;

    color: var(--text-light);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}


.confirmation-summary-header h2 {
    margin: 0;

    color: var(--text-main);

    font-size: 16px;
    font-weight: 700;
}


/* =========================================================
   GRUPOS DEL RESUMEN
   ========================================================= */

.summary-group {
    padding:
        20px
        22px;

    border-bottom:
        1px solid
        #edf0f2;
}


.summary-group.last {
    border-bottom: none;
}


.summary-group-title {
    margin-bottom: 12px;

    color: var(--selec-orange-dark);

    font-size: 10px;
    font-weight: 750;

    letter-spacing: 0.06em;

    text-transform: uppercase;
}


/* =========================================================
   FILAS
   ========================================================= */

.summary-new-row {
    display: grid;

    grid-template-columns:
        minmax(
            120px,
            0.72fr
        )
        minmax(
            0,
            1.28fr
        );

    gap: 20px;

    padding:
        9px
        0;
}


.summary-new-row + .summary-new-row {
    border-top:
        1px solid
        #f1f2f4;
}


.summary-new-row span {
    color: var(--text-secondary);

    font-size: 11px;
    line-height: 1.5;
}


.summary-new-row strong {
    min-width: 0;

    color: #344054;

    font-size: 12px;
    font-weight: 650;
    line-height: 1.55;

    text-align: right;

    overflow-wrap: anywhere;
}


.summary-new-row.vertical {
    grid-template-columns: 1fr;

    gap: 6px;
}


.summary-new-row.vertical strong {
    text-align: left;
}


/* =========================================================
   QUÉ OCURRE AHORA
   ========================================================= */

.confirmation-next-step {
    display: flex;
    align-items: flex-start;

    gap: 13px;

    margin-top: 22px;

    padding:
        16px;

    border:
        1px solid
        #e4f2e8;

    border-radius: 13px;

    background: #f6fbf7;
}


.confirmation-next-icon {
    width: 29px;
    height: 29px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #ddf4e4;

    color: #24834c;

    font-size: 13px;
    font-weight: 800;
}


.confirmation-next-step strong {
    display: block;

    margin-bottom: 3px;

    color: #285c3a;

    font-size: 12px;
}


.confirmation-next-step p {
    margin: 0;

    color: #60826c;

    font-size: 11px;
    line-height: 1.55;
}


/* =========================================================
   ACCIONES
   ========================================================= */

.confirmation-actions {
    display: flex;
    justify-content: center;

    margin-top: 25px;
}


.confirmation-home-button {
    min-height: 50px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding:
        0
        25px;

    border-radius: 11px;

    background:
        var(--selec-orange);

    color: #ffffff;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    box-shadow:
        0 6px 15px
        rgba(
            247,
            148,
            29,
            0.20
        );

    transition:
        background 0.15s ease,
        transform 0.15s ease,
        box-shadow 0.15s ease;
}


.confirmation-home-button:hover {
    background:
        var(--selec-orange-dark);

    transform:
        translateY(-1px);

    box-shadow:
        0 8px 19px
        rgba(
            247,
            148,
            29,
            0.25
        );
}


.confirmation-home-button:active {
    transform: translateY(0);
}


.confirmation-footer-text {
    margin:
        17px
        0
        0;

    color: var(--text-light);

    font-size: 10px;

    text-align: center;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (
    max-width: 700px
) {

    .confirmation-shell {
        padding:
            25px
            16px
            45px;
    }


    .confirmation-new-card {
        padding:
            30px
            25px
            27px;
    }

}


/* =========================================================
   TELÉFONO
   ========================================================= */

@media (
    max-width: 560px
) {

    .confirmation-new-page {
        background: #ffffff;
    }


    .confirmation-shell {
        max-width: none;

        padding: 0;
    }


    .confirmation-new-card {
        min-height: 100vh;

        padding:
            max(
                27px,
                env(safe-area-inset-top)
            )
            20px
            calc(
                34px +
                env(safe-area-inset-bottom)
            );

        border: none;

        border-radius: 0;

        box-shadow: none;
    }


    .confirmation-brand {
        margin-bottom: 21px;
    }


    .confirmation-logo {
        width: 92px;
    }


    .confirmation-success-icon {
        width: 54px;
        height: 54px;

        font-size: 25px;
    }


    .confirmation-new-card > h1 {
        font-size: 27px;
    }


    .confirmation-new-intro {
        margin-bottom: 26px;

        font-size: 12px;
        line-height: 1.6;
    }


    .confirmation-summary-header,
    .summary-group {
        padding-left: 17px;
        padding-right: 17px;
    }


    .summary-new-row {
        grid-template-columns: 1fr;

        gap: 4px;
    }


    .summary-new-row strong {
        text-align: left;

        font-size: 12px;
    }


    .summary-new-row span {
        font-size: 10px;
    }


    .confirmation-actions {
        margin-top: 23px;
    }


    .confirmation-home-button {
        width: 100%;

        min-height: 53px;
    }

}


/* =========================================================
   TELÉFONOS PEQUEÑOS
   ========================================================= */

@media (
    max-width: 360px
) {

    .confirmation-new-card {
        padding-left: 17px;
        padding-right: 17px;
    }


    .confirmation-new-card > h1 {
        font-size: 25px;
    }

}