/* =========================================================
   TICODESIGN
   COTIZADOR · PASO 01
========================================================= */

.td-quote {
    --orange: #ff6b00;
    --green: #78be20;
    --black: #111111;
    --text: #171717;
    --muted: #6f6f6f;
    --line: #e8e8e8;
    --soft: #f7f7f5;

    position: relative;
    min-height: 100vh;
    overflow: hidden;
    padding: 145px 24px 90px;
    background:
        radial-gradient(
            circle at 10% 15%,
            rgba(255,107,0,.07),
            transparent 30%
        ),
        radial-gradient(
            circle at 90% 75%,
            rgba(120,190,32,.07),
            transparent 30%
        ),
        #fff;
}


/* CONTAINER */

.td-quote__container {
    position: relative;
    z-index: 2;
    width: min(1180px, 100%);
    margin: 0 auto;
}


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

.td-quote__header {
    max-width: 850px;
    margin-bottom: 55px;
}

.td-quote__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 22px;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
    color: var(--orange);
}

.td-quote__eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--orange);
}


.td-quote__title {
    margin: 0;

    font-size: clamp(46px, 5vw, 76px);
    line-height: .98;
    letter-spacing: -.055em;
    font-weight: 500;

    color: var(--text);
}

.td-quote__title span {
    display: block;
    color: var(--orange);
}


.td-quote__intro {
    max-width: 700px;

    margin: 27px 0 0;

    font-size: 18px;
    line-height: 1.7;
    font-weight: 400;

    color: var(--muted);
}


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

.td-quote__progress {
    margin-bottom: 35px;
}

.td-quote__progress-top {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 10px;

    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;

    color: #999;
}

.td-quote__progress-bar {
    height: 3px;
    overflow: hidden;
    background: #ededed;
    border-radius: 100px;
}

.td-quote__progress-bar span {
    display: block;

    width: 20%;
    height: 100%;

    background: linear-gradient(
        90deg,
        var(--orange),
        #ff9b54
    );

    border-radius: inherit;

    animation: quoteProgress 1.1s
        cubic-bezier(.22,1,.36,1) both;
}

@keyframes quoteProgress {
    from {
        width: 0;
    }

    to {
        width: 20%;
    }
}


/* =========================================================
   GRID
========================================================= */

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


/* =========================================================
   CARDS
========================================================= */

.td-quote-card {
    position: relative;

    min-height: 230px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    padding: 27px;

    border: 1px solid var(--line);
    border-radius: 22px;

    background: rgba(255,255,255,.82);

    text-align: left;
    font-family: inherit;

    cursor: pointer;

    transition:
        transform .35s cubic-bezier(.22,1,.36,1),
        border-color .35s ease,
        box-shadow .35s ease,
        background .35s ease;

    opacity: 0;
    transform: translateY(25px);

    animation: quoteCardIn .65s
        cubic-bezier(.22,1,.36,1) forwards;
}

.td-quote-card:nth-child(1) { animation-delay: .15s; }
.td-quote-card:nth-child(2) { animation-delay: .22s; }
.td-quote-card:nth-child(3) { animation-delay: .29s; }
.td-quote-card:nth-child(4) { animation-delay: .36s; }
.td-quote-card:nth-child(5) { animation-delay: .43s; }
.td-quote-card:nth-child(6) { animation-delay: .50s; }


@keyframes quoteCardIn {

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

}


.td-quote-card:hover {
    transform: translateY(-7px);

    border-color: rgba(255,107,0,.35);

    box-shadow:
        0 22px 60px rgba(0,0,0,.08);

    background: #fff;
}


/* NUMBER */

.td-quote-card__number {
    position: absolute;
    right: 24px;
    top: 22px;

    font-size: 11px;
    font-weight: 600;
    color: #bbb;
}


/* ICON */

.td-quote-card__icon {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    margin-bottom: 31px;

    border-radius: 14px;

    background: #fff4ec;

    color: var(--orange);

    transition:
        background .3s ease,
        color .3s ease,
        transform .3s ease;
}

.td-quote-card__icon svg {
    width: 23px;
    height: 23px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}


.td-quote-card:hover .td-quote-card__icon {
    color: #fff;
    background: var(--orange);
    transform: rotate(-4deg) scale(1.06);
}


/* CONTENT */

.td-quote-card__content {
    display: block;
    padding-right: 15px;
}

.td-quote-card__content strong {
    display: block;

    margin-bottom: 9px;

    font-size: 19px;
    font-weight: 600;
    color: var(--text);
}

.td-quote-card__content small {
    display: block;

    max-width: 285px;

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

    color: #777;
}


/* ARROW */

.td-quote-card__arrow {
    position: absolute;
    right: 24px;
    bottom: 23px;

    font-size: 22px;

    color: #ccc;

    transition:
        transform .3s ease,
        color .3s ease;
}

.td-quote-card:hover .td-quote-card__arrow {
    color: var(--orange);
    transform: translateX(5px);
}


/* =========================================================
   NO ESTOY SEGURO
========================================================= */

.td-quote-card--help {
    border-color: rgba(120,190,32,.25);

    background:
        linear-gradient(
            145deg,
            rgba(120,190,32,.07),
            rgba(255,255,255,.9)
        );
}

.td-quote-card--help .td-quote-card__icon {
    color: var(--green);
    background: rgba(120,190,32,.12);
}

.td-quote-card--help:hover {
    border-color: rgba(120,190,32,.55);
}

.td-quote-card--help:hover .td-quote-card__icon {
    background: var(--green);
    color: #fff;
}

.td-quote-card--help:hover .td-quote-card__arrow {
    color: var(--green);
}


/* =========================================================
   NOTA FINAL
========================================================= */

.td-quote__footer-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;

    margin-top: 38px;

    color: #777;
}

.td-quote__footer-note p {
    margin: 0;

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

.td-quote__footer-note strong {
    color: #333;
    font-weight: 600;
}


.td-quote__pulse {
    position: relative;

    width: 8px;
    height: 8px;

    flex: 0 0 auto;

    border-radius: 50%;

    background: var(--green);
}

.td-quote__pulse::after {
    content: "";

    position: absolute;
    inset: -5px;

    border: 1px solid rgba(120,190,32,.45);
    border-radius: 50%;

    animation: quotePulse 2s ease-out infinite;
}

@keyframes quotePulse {

    0% {
        opacity: 1;
        transform: scale(.5);
    }

    100% {
        opacity: 0;
        transform: scale(1.5);
    }

}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 950px) {

    .td-quote {
        padding-top: 120px;
    }

    .td-quote__options {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 620px) {

    .td-quote {
        padding:
            105px 18px
            60px;
    }

    .td-quote__header {
        margin-bottom: 40px;
    }

    .td-quote__title {
        font-size: clamp(42px, 13vw, 58px);
    }

    .td-quote__intro {
        font-size: 16px;
    }

    .td-quote__options {
        grid-template-columns: 1fr;
    }

    .td-quote-card {
        min-height: 190px;
    }

    .td-quote__footer-note {
        align-items: flex-start;
        justify-content: flex-start;
    }

}
.td-quote__actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 32px;
}

.td-quote__continue {
    min-width: 180px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;

    padding: 16px 24px;

    border: 0;
    border-radius: 999px;

    background: #111;
    color: #fff;

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

    cursor: pointer;

    transition:
        opacity .3s ease,
        transform .3s ease,
        background .3s ease;
}

.td-quote__continue span {
    font-size: 19px;
    transition: transform .3s ease;
}

.td-quote__continue:hover:not(:disabled) {
    background: var(--orange);
    transform: translateY(-2px);
}

.td-quote__continue:hover:not(:disabled) span {
    transform: translateX(4px);
}

.td-quote__continue:disabled {
    opacity: .25;
    cursor: not-allowed;
}
.td-quote-card.is-selected {
    border-color: var(--orange);
    box-shadow: 0 18px 50px rgba(255,107,0,.12);
    background: #fff;
}

.td-quote-card.is-selected::after {
    content: "✓";

    position: absolute;
    right: 20px;
    top: 18px;

    width: 25px;
    height: 25px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--orange);
    color: #fff;

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

.td-quote-card.is-selected .td-quote-card__number {
    display: none;
}

.td-quote-card.is-selected .td-quote-card__icon {
    background: var(--orange);
    color: #fff;
}
/* =========================================================
   TICODESIGN
   COTIZADOR · PASO 02
   ========================================================= */


/* ---------------------------------------------------------
   CONTENEDOR GENERAL
--------------------------------------------------------- */

.td-quote-step {
    position: relative;
    z-index: 2;

    width: min(920px, 100%);
    margin: 0 auto;

    animation: tdQuoteStepIn .55s
        cubic-bezier(.22, 1, .36, 1) both;
}


/* IMPORTANTE:
   Respeta correctamente el atributo hidden del HTML.
--------------------------------------------------------- */

.td-quote-step[hidden] {
    display: none !important;
}


@keyframes tdQuoteStepIn {

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

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

}


/* ---------------------------------------------------------
   PARTE SUPERIOR
   VOLVER + PASO 02 DE 05
--------------------------------------------------------- */

.td-quote-step__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 55px;

    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;

    color: #aaa;
}


.td-quote-step__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 0;

    border: 0;
    background: transparent;

    font-family: inherit;
    font-size: 13px;
    font-weight: 500;

    color: #666;

    cursor: pointer;

    transition:
        color .25s ease,
        transform .25s ease;
}


.td-quote-step__back:hover {
    color: var(--orange);
    transform: translateX(-3px);
}


/* ---------------------------------------------------------
   ENCABEZADO DEL PASO
--------------------------------------------------------- */

.td-quote-step__header {
    margin-bottom: 42px;
}


.td-quote-step__header .td-quote__eyebrow {
    margin-bottom: 20px;
}


.td-quote-step__header h2 {
    max-width: 760px;

    margin: 0;

    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.02;

    letter-spacing: -.045em;
    font-weight: 500;

    color: #171717;
}


.td-quote-step__header p {
    max-width: 680px;

    margin: 22px 0 0;

    font-size: 17px;
    line-height: 1.7;

    color: #737373;
}


/* ---------------------------------------------------------
   CONTENEDOR DE PREGUNTAS
--------------------------------------------------------- */

.td-quote-step__questions {
    width: 100%;

    background: rgba(255,255,255,.72);

    border-radius: 24px;
}


/* ---------------------------------------------------------
   CADA PREGUNTA
--------------------------------------------------------- */

.td-quote-question {
    position: relative;

    padding: 30px 0;

    border-bottom: 1px solid #ebebeb;

    animation: tdQuestionIn .45s ease both;
}


.td-quote-question:first-child {
    border-top: 1px solid #ebebeb;
}


.td-quote-question:nth-child(1) {
    animation-delay: .05s;
}

.td-quote-question:nth-child(2) {
    animation-delay: .12s;
}

.td-quote-question:nth-child(3) {
    animation-delay: .19s;
}

.td-quote-question:nth-child(4) {
    animation-delay: .26s;
}


@keyframes tdQuestionIn {

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

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

}


/* ---------------------------------------------------------
   TÍTULO DE CADA PREGUNTA
--------------------------------------------------------- */

.td-quote-question__label {
    display: block;

    margin-bottom: 18px;

    font-size: 17px;
    line-height: 1.45;
    font-weight: 600;

    color: #222;
}


/* ---------------------------------------------------------
   OPCIONES
--------------------------------------------------------- */

.td-quote-question__options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}


/* ---------------------------------------------------------
   RADIO BUTTON PERSONALIZADO
--------------------------------------------------------- */

.td-quote-choice {
    position: relative;

    display: inline-block;

    cursor: pointer;
}


.td-quote-choice input {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;
    pointer-events: none;
}


/* LA PASTILLA */

.td-quote-choice span {
    position: relative;

    min-height: 48px;

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

    padding: 11px 19px;

    border: 1px solid #e1e1e1;
    border-radius: 999px;

    background: #fff;

    font-size: 14px;
    line-height: 1.3;
    font-weight: 500;

    color: #555;

    cursor: pointer;

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


/* HOVER */

.td-quote-choice:hover span {
    border-color: #bbb;

    transform: translateY(-2px);

    box-shadow:
        0 7px 20px rgba(0,0,0,.045);
}


/* SELECCIONADO */

.td-quote-choice input:checked + span {
    border-color: var(--orange);

    background: #fff4ec;

    color: var(--orange);

    box-shadow:
        0 7px 22px rgba(255,107,0,.08);
}


/* PUNTO CUANDO ESTÁ SELECCIONADO */

.td-quote-choice input:checked + span::before {
    content: "";

    width: 7px;
    height: 7px;

    margin-right: 8px;

    border-radius: 50%;

    background: var(--orange);
}


/* ACCESIBILIDAD TECLADO */

.td-quote-choice input:focus-visible + span {
    outline: 3px solid rgba(255,107,0,.16);
    outline-offset: 3px;
}


/* ---------------------------------------------------------
   TEXTAREA
--------------------------------------------------------- */

.td-quote-textarea {
    display: block;

    width: 100%;
    min-height: 155px;

    padding: 18px 20px;

    resize: vertical;

    border: 1px solid #e1e1e1;
    border-radius: 16px;

    background: #fff;

    font-family: inherit;
    font-size: 15px;
    line-height: 1.65;

    color: #222;

    outline: none;

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


.td-quote-textarea::placeholder {
    color: #aaa;
}


.td-quote-textarea:hover {
    border-color: #ccc;
}


.td-quote-textarea:focus {
    border-color: var(--orange);

    background: #fff;

    box-shadow:
        0 0 0 4px rgba(255,107,0,.07);
}


/* ---------------------------------------------------------
   BOTÓN CONTINUAR PASO 02
--------------------------------------------------------- */

.td-quote-step__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    padding-top: 34px;
}


/* Si ya tienes .td-quote__continue del paso 01,
   esta parte simplemente mantiene el comportamiento.
--------------------------------------------------------- */

.td-quote-step__actions .td-quote__continue {
    min-width: 180px;
}


/* ---------------------------------------------------------
   DETALLE VERDE
   Pequeño acento TicoDesign
--------------------------------------------------------- */

.td-quote-step__header::after {
    content: "";

    display: block;

    width: 8px;
    height: 8px;

    margin-top: 28px;

    border-radius: 50%;

    background: var(--green);

    box-shadow:
        0 0 0 6px rgba(120,190,32,.10);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 950px) {

    .td-quote-step {
        width: min(760px, 100%);
    }

}


@media (max-width: 620px) {

    .td-quote-step__top {
        margin-bottom: 38px;
    }


    .td-quote-step__header {
        margin-bottom: 32px;
    }


    .td-quote-step__header h2 {
        font-size: clamp(38px, 11vw, 52px);
    }


    .td-quote-step__header p {
        font-size: 16px;
    }


    .td-quote-question {
        padding: 25px 0;
    }


    .td-quote-question__label {
        font-size: 16px;
    }


    .td-quote-question__options {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }


    .td-quote-choice {
        display: block;
        width: 100%;
    }


    .td-quote-choice span {
        width: 100%;

        justify-content: flex-start;

        min-height: 50px;

        padding: 12px 17px;
    }


    .td-quote-textarea {
        min-height: 170px;
    }


    .td-quote-step__actions {
        padding-top: 28px;
    }


    .td-quote-step__actions .td-quote__continue {
        width: 100%;
    }

}
/* =========================================================
   COTIZADOR · PASO 03
   PRESUPUESTO + TIEMPO
========================================================= */

.td-quote-step--budget {
    width: min(1050px, 100%);
}


/* =========================================================
   BLOQUES
========================================================= */

.td-budget-block {
    margin-top: 38px;
    padding-top: 35px;

    border-top: 1px solid #e9e9e9;
}


.td-budget-block--time {
    margin-top: 55px;
}


/* =========================================================
   TITULO DEL BLOQUE
========================================================= */

.td-budget-block__heading {
    display: flex;
    align-items: flex-start;
    gap: 18px;

    margin-bottom: 25px;
}


.td-budget-block__number {
    width: 36px;
    height: 36px;

    flex: 0 0 auto;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: #f2f2f2;

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

    color: #888;
}


.td-budget-block__heading h3 {
    margin: 0 0 5px;

    font-size: 21px;
    font-weight: 600;
    letter-spacing: -.02em;

    color: #222;
}


.td-budget-block__heading p {
    margin: 0;

    font-size: 14px;
    color: #888;
}


/* =========================================================
   PRESUPUESTO
========================================================= */

.td-budget-options {
    display: grid;

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

    gap: 12px;
}


.td-budget-card {
    position: relative;

    min-width: 0;
}


.td-budget-card input {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;
}


.td-budget-card__inner {
    position: relative;

    min-height: 190px;

    display: flex;
    flex-direction: column;

    padding: 22px;

    border: 1px solid #e4e4e4;
    border-radius: 18px;

    background: #fff;

    cursor: pointer;

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


.td-budget-card:hover .td-budget-card__inner {
    transform: translateY(-5px);

    border-color: #ccc;

    box-shadow:
        0 17px 40px rgba(0,0,0,.06);
}


.td-budget-card__top {
    margin-bottom: 9px;

    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;

    text-transform: uppercase;

    color: #aaa;
}


.td-budget-card strong {
    display: block;

    margin-bottom: 10px;

    font-size: 19px;
    line-height: 1.25;

    font-weight: 600;

    color: #222;
}


.td-budget-card small {
    display: block;

    margin-top: auto;

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

    color: #888;
}


/* CHECK */

.td-budget-card__check {
    position: absolute;

    top: 17px;
    right: 17px;

    width: 25px;
    height: 25px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--orange);
    color: #fff;

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

    opacity: 0;

    transform: scale(.7);

    transition:
        opacity .25s ease,
        transform .25s ease;
}


/* SELECCIONADO */

.td-budget-card input:checked
+ .td-budget-card__inner {

    border-color: var(--orange);

    background:
        linear-gradient(
            145deg,
            rgba(255,107,0,.07),
            #fff
        );

    box-shadow:
        0 14px 38px rgba(255,107,0,.09);
}


.td-budget-card input:checked
+ .td-budget-card__inner
.td-budget-card__check {

    opacity: 1;
    transform: scale(1);
}


.td-budget-card input:checked
+ .td-budget-card__inner strong {

    color: var(--orange);
}


/* =========================================================
   TIEMPO
========================================================= */

.td-time-options {
    display: grid;

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

    gap: 12px;
}


.td-time-card {
    position: relative;
}


.td-time-card input {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;
}


.td-time-card span {
    min-height: 110px;

    display: flex;
    flex-direction: column;

    padding: 20px;

    border: 1px solid #e4e4e4;
    border-radius: 16px;

    background: #fff;

    cursor: pointer;

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


.td-time-card:hover span {
    transform: translateY(-3px);

    border-color: #ccc;

    box-shadow:
        0 10px 30px rgba(0,0,0,.05);
}


.td-time-card strong {
    display: block;

    margin-bottom: 7px;

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

    font-weight: 600;

    color: #333;
}


.td-time-card small {
    display: block;

    margin-top: auto;

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

    color: #999;
}


/* SELECCIONADO */

.td-time-card input:checked + span {

    border-color: var(--green);

    background:
        linear-gradient(
            145deg,
            rgba(120,190,32,.09),
            #fff
        );

    box-shadow:
        0 12px 32px rgba(120,190,32,.08);
}


.td-time-card input:checked + span strong {
    color: #5e9b16;
}


/* =========================================================
   MENSAJE DE CONFIANZA
========================================================= */

.td-budget-note {
    display: flex;
    align-items: flex-start;
    gap: 13px;

    margin-top: 35px;

    padding: 18px 20px;

    border-radius: 16px;

    background: #f7f7f5;
}


.td-budget-note__icon {
    width: 24px;
    height: 24px;

    flex: 0 0 auto;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: #222;
    color: #fff;

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


.td-budget-note p {
    margin: 1px 0 0;

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

    color: #777;
}


.td-budget-note strong {
    color: #333;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

    .td-budget-options {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .td-time-options {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 620px) {

    .td-budget-options,
    .td-time-options {
        grid-template-columns: 1fr;
    }


    .td-budget-card__inner {
        min-height: 150px;
    }


    .td-time-card span {
        min-height: 95px;
    }


    .td-budget-block {
        margin-top: 30px;
    }


    .td-budget-block--time {
        margin-top: 42px;
    }


    .td-budget-block__heading h3 {
        font-size: 18px;
    }

}
/* =========================================================
   COTIZADOR · PASO 04
   CONTACTO
========================================================= */

.td-quote-step--contact {
    width: min(900px, 100%);
}


.td-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;

    margin-top: 40px;
}


.td-contact-field {
    display: flex;
    flex-direction: column;
    gap: 9px;
}


.td-contact-field--full {
    grid-column: 1 / -1;
}


.td-contact-field label {
    display: flex;
    align-items: center;
    gap: 7px;

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

    color: #333;
}


.td-contact-field label span {
    font-size: 11px;
    font-weight: 500;

    color: #aaa;
}


.td-contact-field input,
.td-contact-field select {
    width: 100%;
    min-height: 56px;

    padding: 0 17px;

    border: 1px solid #e1e1e1;
    border-radius: 14px;

    background: #fff;

    font-family: inherit;
    font-size: 15px;

    color: #222;

    outline: none;

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


.td-contact-field input::placeholder {
    color: #aaa;
}


.td-contact-field input:hover,
.td-contact-field select:hover {
    border-color: #ccc;
}


.td-contact-field input:focus,
.td-contact-field select:focus {
    border-color: var(--orange);

    box-shadow:
        0 0 0 4px rgba(255,107,0,.07);
}


.td-contact-field select {
    cursor: pointer;
}


/* ---------------------------------------------------------
   NOTA DE PRIVACIDAD
--------------------------------------------------------- */

.td-contact-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    margin-top: 28px;

    padding: 16px 18px;

    border-radius: 14px;

    background: rgba(120,190,32,.08);
}


.td-contact-note__icon {
    width: 22px;
    height: 22px;

    flex: 0 0 auto;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--green);
    color: #fff;

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


.td-contact-note p {
    margin: 0;

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

    color: #666;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 680px) {

    .td-contact-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }


    .td-contact-field--full {
        grid-column: auto;
    }

}
/* =========================================================
   COTIZADOR · PASO 05
   RESUMEN FINAL
========================================================= */

.td-quote-step--summary {
    width: min(930px, 100%);
}


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

.td-summary {
    margin-top: 42px;

    border-top: 1px solid #e8e8e8;
}


/* CADA BLOQUE */

.td-summary__block {
    display: grid;

    grid-template-columns: 180px 1fr;

    gap: 30px;

    padding: 28px 0;

    border-bottom: 1px solid #e8e8e8;
}


/* TITULO */

.td-summary__heading {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}


.td-summary__heading span {
    width: 30px;
    height: 30px;

    flex: 0 0 auto;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: #f1f1f1;

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

    color: #999;
}


.td-summary__heading h3 {
    margin: 4px 0 0;

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

    color: #333;
}


/* CONTENIDO */

.td-summary__content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}


.td-summary__row {
    display: flex;
    align-items: baseline;
    gap: 8px;

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


.td-summary__row strong {
    min-width: 145px;

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

    color: #999;
}


.td-summary__row span {
    color: #333;
}


/* SERVICIO DESTACADO */

.td-summary__service {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    width: fit-content;

    padding: 10px 15px;

    border-radius: 999px;

    background: #fff4ec;

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

    color: var(--orange);
}


/* =========================================================
   CONFIANZA
========================================================= */

.td-summary__trust {
    display: flex;
    align-items: flex-start;
    gap: 15px;

    margin-top: 35px;

    padding: 20px;

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(120,190,32,.08),
            rgba(255,255,255,.9)
        );
}


.td-summary__trust-icon {
    width: 31px;
    height: 31px;

    flex: 0 0 auto;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--green);
    color: #fff;

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


.td-summary__trust strong {
    display: block;

    margin-bottom: 4px;

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

    color: #333;
}


.td-summary__trust p {
    margin: 0;

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

    color: #747474;
}


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

.td-summary__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    margin-top: 35px;
}


.td-summary__edit {
    border: 0;
    background: transparent;

    padding: 10px 0;

    font-family: inherit;
    font-size: 13px;
    font-weight: 500;

    color: #777;

    cursor: pointer;

    transition: color .25s ease;
}


.td-summary__edit:hover {
    color: #222;
}


/* BOTON ENVIAR */

.td-summary__send {
    min-width: 220px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;

    padding: 17px 24px;

    border: 0;
    border-radius: 999px;

    background: #111;
    color: #fff;

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

    cursor: pointer;

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


.td-summary__send:hover {
    background: var(--orange);

    transform: translateY(-2px);

    box-shadow:
        0 15px 35px rgba(255,107,0,.20);
}


.td-summary__send-arrow {
    font-size: 19px;

    transition: transform .25s ease;
}


.td-summary__send:hover
.td-summary__send-arrow {
    transform: translateX(4px);
}


/* =========================================================
   ESTADO ENVIANDO
========================================================= */

.td-summary__send.is-loading {
    pointer-events: none;
    opacity: .75;
}


.td-summary__send.is-loading
.td-summary__send-arrow {
    width: 16px;
    height: 16px;

    border: 2px solid rgba(255,255,255,.35);
    border-top-color: #fff;
    border-radius: 50%;

    font-size: 0;

    animation: tdQuoteSpin .8s linear infinite;
}


@keyframes tdQuoteSpin {

    to {
        transform: rotate(360deg);
    }

}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 700px) {

    .td-summary__block {
        grid-template-columns: 1fr;
        gap: 18px;
    }


    .td-summary__row {
        flex-direction: column;
        gap: 2px;
    }


    .td-summary__row strong {
        min-width: 0;
    }


    .td-summary__actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }


    .td-summary__send {
        width: 100%;
    }


    .td-summary__edit {
        text-align: center;
    }

}
/* =========================================================
   AJUSTES FINALES · FLUJO COMPLETO 01–05
========================================================= */

/* Los pasos 02–05 viven dentro del mismo section del cotizador. */
.td-quote > .td-quote-step {
    position: relative;
    z-index: 2;
}

/* La animación original del progreso pertenece al paso 01.
   En los demás pasos respetamos 40/60/80/100%. */
.td-quote__progress--step {
    margin-bottom: 34px;
}

.td-quote__progress--step .td-quote__progress-bar span {
    animation: none !important;
}

/* Mensaje de validación del paso 02. */
.td-step-validation {
    min-height: 20px;
    margin-top: 14px;
    font-size: 12px;
    line-height: 1.5;
    color: #999;
}

/* Aviso temporal del botón Enviar. El envío real se conectará al backend. */
.td-send-notice {
    margin-top: 22px;
    padding: 16px 18px;
    border: 1px solid rgba(255,107,0,.18);
    border-radius: 14px;
    background: rgba(255,107,0,.06);
    font-size: 13px;
    line-height: 1.6;
    color: #666;
}

.td-send-notice[hidden] {
    display: none !important;
}

/* Evita que un paso oculto pueda reaparecer por reglas de display. */
#quoteStepTwo[hidden],
#quoteStepThree[hidden],
#quoteStepFour[hidden],
#quoteStepFive[hidden] {
    display: none !important;
}

/* Mejor respuesta visual de campos inválidos una vez que el navegador los detecta. */
.td-contact-field input:invalid:not(:placeholder-shown) {
    border-color: rgba(220, 70, 70, .45);
}

@media (max-width: 620px) {
    .td-quote__progress--step {
        margin-bottom: 28px;
    }
}
