@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --clr-primary: #193F58;
    --clr-secondary: #65A1EE;
    --clr-terciary: #E0EFE3;
    --light-blue: #F5F9FF;
    --placeholder: #A8A8A8;
    --slider-clr: #E0EFE3;
    --ff-primary: 'Work Sans';
    --white: #fff;
    --black: #030406;
}

body {
    margin: 0;
    padding: 0 !important;
    font-family: var(--ff-primary), sans-serif !important;
    color: var(--clr-primary);
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 1.2;
    overflow-x: hidden !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-smooth: never;
    text-wrap: balance;
}

p {
    margin: 0;
}

.typeform-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-block: 25px;
    box-shadow: 0 0 20px 0 rgba(25, 63, 88, 0.30);
}

.typeform-footer {
    margin-top: auto;
    text-align: center;
    padding-block: 25px;
    box-shadow: 0 0 20px 0 rgba(25, 63, 88, 0.30);
}

.typeform-footer p {
    color: #000;
    font-size: 18px;
}

/*Form*/
#formSection {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(238, 239, 252, 0.25);
    padding: 50px 0;
}

.form-box {
    width: 100%;
    max-width: 730px;
}

.form__wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

#contactform,
#contactformB,
#contactformD {
    width: 100%;
    text-align: center;
    border-radius: 30px;
    padding: 50px 55px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(43, 127, 175, 0.3);
}

.form-steps {
    min-height: 320px;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.step2 {
    margin-top: 10px;
}

.formTop {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.formTop h2 {
    margin-bottom: 30px;
}

.question__wrapper {
    display: flex;
    align-items: start;
    gap: 10px;
    margin-bottom: 12px;
}

.legend-with-tooltip {
    display: block;
    margin: 0;
    line-height: 1.2;
}

.legend-with-tooltip .legend-text {
    display: inline;
}

.formTop h2,
legend {
    font-size: 25px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

legend {
    padding-bottom: 8px;
}

.title-underline {
    display: inline-block;
    position: relative;
}

.title-underline::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 45%;
    height: 6px;
    background: var(--clr-secondary);
    border-radius: 10px;
}

fieldset {
    width: 100%;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-input input {
    width: 100% !important;
}

input[type="radio"] {
    display: none;
}

.error {
    font-size: 12px;
    color: red;
    text-align: center;
    display: block;
}

#inputPrimeiroTitular-error,
#inputSegundoTitular-error {
    margin-bottom: 12px;
}

.nav-link {
    color: #000;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 1px;
    text-overflow: '';
}

.dropdown-toggle::after {
    display: none !important;
}

.form-label {
    display: block;
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    padding: 0 25px;
    background-color: #fff;
    border: 1px solid var(--clr-secondary);
    color: var(--secondaryColor);
    border-radius: 20px;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.7s ease;
}

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

.answer {
    width: 100%;
}

.custom-select {
    width: 100%;
    margin: 10px 0;
    padding: 0;
    list-style: none;
}

.custom-select .dropdown-toggle {
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 25px;
    background-color: #fff;
    color: var(--placeholder);
    border-radius: 20px;
    border: 1px solid var(--clr-secondary);
    cursor: pointer;
    font-size: 18px;
    background-image: url('/img/icons/drop.svg');
    background-size: 15px;
    background-repeat: no-repeat;
    background-position: 95%;
    transition: all 0.7s ease;
    text-align: left;
    overflow: hidden;
}

.custom-select .dropdown-toggle.selected {
    background-image: none !important;
    padding-right: 25px;
}

.custom-select .dropdown-toggle:hover {
    background-color: #D9E8FD;
}

.custom-select.active-bg .dropdown-toggle,
.custom-select .dropdown-toggle.selected {
    font-weight: 700;
    background-color: #D9E8FD;
    color: var(--clr-primary);
}

.dropdown-toggle:focus {
    box-shadow: none;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transform: none !important;
    inset: auto !important;
    width: 100%;
    margin: 3px 0 0 0 !important;
    padding: 0;
    border-radius: 20px;
    overflow: hidden;
}

.dropdown-item {
    padding: 15px;
    cursor: pointer;
}

.dropdown-menu li {
    padding: 15px 20px;
    line-height: 1;
    cursor: pointer;
}

.dropdown-menu li:hover {
    background: var(--clr-secondary);
    color: #fff;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
}

.back {
    rotate: 180deg;
    cursor: pointer;
    width: 14px !important;
}

#formSection label span {
    font-size: 16px;
    font-weight: 400;
}

#formSection input[type="text"] {
    display: block;
    width: 100%;
    height: 60px;
    padding: 0 25px;
    margin: 10px 0 10px 0;
    background-color: #fff;
    color: var(--clr-primary);
    border: 1px solid #d9d9dd;
    border-radius: 20px;
    cursor: pointer;
    font-size: 20px;
    text-align: center;
    transition: all 0.7s ease;
}

.contact-inputs {
    margin-top: 10px;
}

#formSection input[type="text"]:focus-visible {
    outline: 1px solid var(--clr-secondary);
}

#formSection .contact-inputs input {
    text-align: start;
}

/* Input symbol */
#custoImovel,
#valorFinanciamento,
#dividaAtual,
#rendimentoMensal,
#rendimentoMensal2,
#capital,
#prazo_emprestimo {
    background: url('/img/icons/pencil.svg');
    background-size: 15px;
    background-position: 95%;
    background-repeat: no-repeat;
}

.question {
    text-align: center;
    font-size: 20px;
    font-weight: 500;
    margin: 0;
}

.info {
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    line-height: 16px;
    margin-block: 10px;
}

.step-back {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    background-color: transparent;
    color: var(--clr-secondary);
    width: 100%;
    max-width: 180px;
    height: 50px;
    padding: 0;
    margin: 0;
    cursor: pointer;
    border-radius: 20px;
    border: 1px solid var(--clr-secondary);
}

.step-back:hover {
    background-color: #D9E8FD;
}

.cta {
    width: 100%;
    max-width: 200px;
    margin-top: auto;
    border-radius: 20px;
    border: none;
    background-color: var(--clr-secondary);
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    padding: 16px 36px;
    transition: all 0.5s ease;
    text-transform: uppercase;
}

.cta:hover {
    background: var(--clr-primary);
    color: #fff;
    outline: none;
}

.step-next {
    max-width: 100%;
}

.steps-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    gap: 20px;
}

.steps-buttons .cta {
    height: 50px;
    padding: 0;
}

.steps-buttons .next {
    max-width: 100%;
}

.form-label:hover:not(.error):not(.termContainer),
input[type="radio"]:checked+.form-label {
    background-color: #D9E8FD;
    font-weight: 700;
    outline: none;
}

#entrada_sim_input,
#capital_input {
    display: none;
    margin-block: 20px;
}

#entrada_sim_input .error,
#capital_input .error {
    width: 100%;
}

#termos-error {
    display: block;
    text-align: center;
    margin-top: 10px;
}

legend span {
    font-weight: 700;
}

legend h3 {
    line-height: 1.2;
    font-size: 18px;
    font-weight: 500;
    margin-top: 15px;
}

/*Progress bar */
.progress-container {
    width: 100%;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.progress__wrapper {
    width: 100%;
}

.progress-bar {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 6px;
}

.progress-info {
    text-align: start;
    font-size: 25px;
    font-weight: 700;
    margin-bottom: 15px;
}

.progress-step {
    flex: 1 1 0;
    height: 4px;
    min-height: 4px;
    border-radius: 999px;
    background-color: #E4F5EC;
}

/* blocos activos */
.progress-step.active {
    background-color: var(--clr-secondary);
}

/*Term animation */
.termContainer {
    width: 100%;
    font-size: 12px;
    color: var(--clr-primary);
    margin-block: 20px;
    cursor: pointer;
    text-align: center;
}

.termContainer a {
    color: var(--clr-primary);
}

.termContainer input {
    display: none;
}

.termContainer a:hover {
    color: var(--clr-secondary) !important;
}

.termContainer svg {
    overflow: visible;
    max-height: 15px;
    max-width: 15px;
    margin-right: 5px;
    margin-top: 1px;
    vertical-align: baseline;
    translate: 0 2px;
}

.path {
    fill: none;
    stroke: var(--clr-secondary);
    stroke-width: 5px;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke-dasharray 0.5s ease, stroke-dashoffset 0.5s ease;
    stroke-dasharray: 241 9999999;
    stroke-dashoffset: 0;
}

.termContainer input:checked~svg .path {
    stroke-dasharray: 70.5096664428711 9999999;
    stroke-dashoffset: -262.2723388671875;
}


/* input slider */
.form-slider {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-block: 30px;
}

.slider {
    width: 100% !important;
    margin: 10px 0 !important;
    height: auto !important;
}

.slider_values {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    margin-top: 5px;
    gap: 12px;
}

.slider_values p {
    font-size: 20px !important;
    line-height: 1.1;
    margin: 0 !important;
}

.value-display {
    margin-bottom: 22px;
    border: 1px solid var(--placeholder);
    border-radius: 20px;
    height: 60px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.value-display span {
    font-size: 30px;
    font-weight: 700;
}

input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    margin: 10px 0;
    height: 8px;
    border-radius: 15px;
    background: transparent;
}

input[type=range]::-webkit-slider-runnable-track {
    height: 8px;
    border-radius: 15px;
    background: linear-gradient(to right, var(--clr-primary) 0%, var(--clr-primary) var(--slider-value, 0%), var(--slider-clr) var(--slider-value, 0%), var(--slider-clr) 100%);
}

input[type=range]::-moz-range-track {
    height: 8px;
    border-radius: 15px;
    background: linear-gradient(to right, var(--clr-primary) 0%, var(--clr-primary) var(--slider-value, 0%), var(--slider-clr) var(--slider-value, 0%), var(--slider-clr) 100%);
}

input[type=range]::-ms-track {
    height: 8px;
    border-radius: 15px;
    background: transparent;
    border: none;
    color: transparent;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 30px;
    height: 30px;
    border-radius: 50px;
    background: var(--clr-secondary) url('/img/icons/slider-icon.svg') center center no-repeat;
    background-size: 14px;
    border: none;
    cursor: pointer;
    margin-top: -10px;
}

input[type=range]::-moz-range-thumb {
    width: 30px;
    height: 30px;
    border-radius: 50px;
    background: var(--clr-secondary) url('/img/icons/slider-icon.svg') center center no-repeat;
    background-size: 14px;
    border: none;
    cursor: pointer;
    margin-top: -10px;
}

input[type=range]::-ms-thumb {
    width: 30px;
    height: 30px;
    border-radius: 50px;
    background: var(--clr-secondary) url('/img/icons/slider-icon.svg') center center no-repeat;
    background-size: 14px;
    border: none;
    cursor: pointer;
    margin-top: -10px;
}

.question-with-tooltip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    line-height: 1.2;
}

.tt {
    display: inline-block;
    cursor: pointer;
    opacity: .8;
    transition: opacity .2s, filter .2s;
}

.tt:hover {
    filter: none;
    opacity: 1;
}

.tt img {
    margin: 0 !important;
}

.custom-tooltip {
    --bs-tooltip-bg: var(--clr-primary);
    --bs-tooltip-opacity: 1;
    --bs-tooltip-color: #fff;
    --bs-tooltip-padding-x: 15px;
    --bs-tooltip-max-width: 380px;
    --bs-tooltip-padding-y: 20px;
    line-height: 1.1;
    font-weight: 400;
}

.tooltip.custom-tooltip .tooltip-inner {
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    border-radius: .5rem;
}

/* nossos parceiros */
.nossos-parceiros {
    text-align: center;
    background-color: rgba(238, 239, 252, 0.25);
}

.partner-wrapper {
    position: relative;
    overflow: hidden;
    margin-block: 70px;
}

.partner-slider::before,
.partner-slider::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 70px;
    z-index: 4;
}

.partner-slider::before {
    left: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.partner-slider::after {
    right: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.partner-outer img {
    max-width: 80%;
    margin: 0 auto;
    height: 40px;
    object-fit: contain;
}

/* thanks page */
.thanks {
    padding: 40px 0;
}

.thanks-box {
    box-shadow: 0 0 20px 0 rgba(25, 63, 88, 0.30);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-items: center;
    padding: 50px;
    text-align: center;
    background-color: #fff;
    border-radius: 30px;
}

.thanks-box .title {
    font-size: 35px;
    font-weight: 700;
    margin-bottom: 10px;
}

.thanks-box p {
    margin-bottom: 20px;
    text-wrap: balance;
    font-size: 18px;
}

/* .thanks-sim {
    margin-top: 10px;
    width: 80%;
}

.sim-card {
    display: flex;
    border: 2px solid var(--clr-secondary);
    border-radius: 16px;
    overflow: hidden;
    background-color: #fff;
    color: var(--clr-primary);
    font-size: 14px;
}

.sim-card__left {
    flex: 0 0 32%;
    padding: 40px;
    border-right: 2px solid var(--clr-secondary);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: start;
}

#sim-card__type {
    font-weight: 700;
    font-size: 30px;
}

.sim-card__installment {
    margin-top: 45px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    filter: blur(7.5px);
}

.sim-card__index {
    font-size: 20px;
}

.sim-card__amount {
    display: block;
    font-size: 35px;
    font-weight: 700;
}

.sim-card__amount-label {
    font-size: 20px;
    font-weight: 700;
}

.sim-card__right {
    flex: 1;
    padding: 16px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

.sim-card__row {
    display: grid;
    grid-template-columns: minmax(0, 30%) 1fr 1fr;
    align-items: center;
    height: 100%;
    gap: 24px;
    padding-left: 80px;
}

.sim-card__cell {
    text-align: start;
}

.sim-card__cell-label {
    display: block;
    font-size: 18px;
    margin-bottom: 4px;
}

.sim-card__cell-value {
    display: block;
    font-weight: 700;
    font-size: 18px;
}

.sim-card__divider {
    height: 2px;
    background-color: var(--clr-secondary);
}

.blured {
    filter: blur(4px);
} */

.thanks-cta {
    margin-top: 24px;
    max-width: 320px;
    font-weight: 700;
}

.message-box {
    max-width: 650px;
    margin-inline: auto;
}

.message-box .title {
    color: var(--clr-secondary);
}

.typeform-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Novo */
.thanks-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.thanks-card {
    --accent: #2BB673;
    background: #fff;
    border: 1px solid #D7E2F1;
    border-radius: 10px;
    box-shadow: 0 1px 0 rgba(16, 24, 40, 0.02);
    overflow: hidden;
    text-align: start;
    display: flex;
    flex-direction: column;
}

.thanks-card--fixa {
    --accent: #21B573;
}

.thanks-card--mista {
    --accent: #F2B01E;
}

.thanks-card--variavel {
    --accent: #2F80ED;
}

/* HEADER */
.thanks-card__header {
    padding-block: 14px 8px;
    padding-inline: 16px;
}

.thanks-card__title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.thanks-card__title img {
    width: 22px;
    height: 22px;
    display: block;
}

.thanks-card__title h5 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
}

/* Linha colorida */
.thanks-card__accent {
    height: 2px;
    background: var(--accent);
    margin-top: 10px;
    border-radius: 999px;
}

.thanks-card__body {
    padding-block: 10px 12px;
    padding-inline: 16px;
}

.thanks-card__body h6 {
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 700;
}

.thanks-card__row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 8px 0;
}

.thanks-card__row:first-of-type {
    border-top: none;
}

.thanks-card__row .label {
    font-size: 12px;
    line-height: 1.25;
    color: #6B7280;
    max-width: 70%;
}

.thanks-card__row .value {
    font-size: 12px;
    font-weight: 700;
    color: #64748B;
    white-space: nowrap;
}

.thanks-card__footer {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #fff;
    margin-top: auto;
}

.thanks-card__footer::before {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    top: 0;
    height: 1px;
    background: #EEF3FB;
    border-radius: 999px;
}


.thanks-card__footer .label {
    font-size: 12px;
}

.thanks-card__footer .value {
    font-size: 14px;
    font-weight: 800;
    color: #111827;
    white-space: nowrap;
}

.thanks-card__footer .value.strong {
    letter-spacing: 0.2px;
}

.documentos {
    margin-block: 56px;
    padding: 34px 0 10px;
    text-align: center;
}

.documentos__title {
    text-align: center;
    font-size: 34px;
    line-height: 1.15;
    font-weight: 800;
}

.documentos__subtitle {
    margin-bottom: 28px;
}

.documentos__title .blue {
    color: var(--clr-secondary);
}

.documentos__timeline {
    position: relative;
    padding: 22px 0 0;
}

.documentos__line {
    position: absolute;
    left: 24px;
    right: 24px;
    top: 120px;
    height: 4px;
    background: var(--clr-secondary);
    border-radius: 999px;
}

.documentos__items {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    align-items: start;
}

.documentos__item {
    position: relative;
    display: grid;
    justify-items: center;
    text-align: center;
}

.documentos__icon {
    width: 64px;
    height: 64px;
    border-radius: 999px;
    background: var(--clr-secondary);
    display: grid;
    place-items: center;
    box-shadow: 0 8px 20px rgba(47, 128, 237, 0.18);
}

.documentos__icon img {
    width: 30px;
    height: 30px;
    display: block;
    filter: brightness(0) invert(1);
}

.documentos__dot {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: var(--clr-secondary);
    margin-top: 18px;
    position: relative;
    z-index: 2;
}

.documentos__label {
    margin: 14px 0 0;
    font-size: 14px;
    line-height: 1.2;
    opacity: 0.9;
}


@media (max-width: 1024px) {
    .documentos__title {
        font-size: 26px;
    }

    .documentos__items {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 26px;
    }

    .documentos__line {
        display: none;
    }

    .documentos__dot {
        display: none;
    }
}

@media (max-width: 520px) {
    .documentos__items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


@media (max-width: 980px) {
    .thanks-cards {
        grid-template-columns: 1fr;
    }
}

/* Popup do agradecimento */
.popup {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    pointer-events: auto;
}

.popup-content {
    width: min(560px, calc(100% - 32px));
    padding: 50px 25px;
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 0 20px 0 rgba(25, 63, 88, 0.30);
    text-align: center;
}

.popup-content h3 {
    color: var(--clr-secondary);
    font-weight: 700;
    line-height: 1.1;
    font-size: 28px;
    margin-bottom: 15px;
}

.popup-content p {
    margin: 0;
}

/* botão CTA */
.popup-cta {
    margin-top: 26px;
    width: 100%;
    max-width: 270px;
    border: 0;
    border-radius: 999px;
    padding: 14px 18px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    background: var(--clr-secondary);
    color: #fff;
    transition: transform .12s ease, opacity .12s ease;
}

.popup-cta:hover {
    transform: translateY(-1px);
}

.popup-cta:active {
    transform: translateY(0);
    opacity: .9;
}

/* animação */
.popup {
    opacity: 1;
    transition: opacity .18s ease;
}

.popup-content {
    transform: translateY(6px);
    transition: transform .18s ease;
}

.popup.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.popup.is-hidden .popup-content {
    transform: translateY(0);
}


@media (max-width: 1400px) {
    .sim-card__row {
        grid-template-columns: minmax(0, 33%) 1fr 1fr;
        padding-left: 40px;
        gap: 0 15px;
    }

    .thanks-sim {
        width: 90%;
    }
}

@media (max-width: 1220px) {
    .thanks-sim {
        width: 100%;
    }
}

@media (max-width: 991px) {
    .sim-card__row {
        grid-template-columns: 1fr;
    }
}

@media (max-width:768px) {

    .sim-card__row {
        padding-inline: 20px;
    }

    .title-underline::after {
        width: 260px;
    }

    .slider_values p {
        font-size: 16px !important;
    }

    #prazo_emprestimo {
        background-size: 18px;
        background-position: 80%;
    }

    .form-steps {
        min-height: 250px;
    }

    .sim-card {
        flex-direction: column;
    }

    .sim-card__left {
        border-right: none;
        border-bottom: 1px solid var(--clr-secondary);
    }

    .sim-card__row {
        flex-direction: column;
        gap: 8px;
    }

    .sim-card__cell,
    .sim-card__left {
        text-align: center;
    }

}

@media (max-width: 480px) {
    .header__wrapper img {
        height: 35px;
    }

    .thanks-box p {
        font-size: 15px;
    }

    .question {
        font-size: 18px;
    }

    .formTop h2,
    legend {
        font-size: 22px;
    }

    .custom-select .dropdown-toggle {
        font-size: 16px
    }

    .step-back,
    .cta {
        font-size: 16px;
    }

    #contactform,
    #contactformB,
    #contactformD {
        padding: 40px 28px;
    }

    #formSection input[type="text"] {
        font-size: 18px;
    }

    .partner-outer img {
        max-width: 65%;
        margin: 0 auto;
        height: 30px;
    }

    .typeform-footer p {
        color: #000;
        font-size: 15px;
    }

    .sim-card__cell,
    .sim-card__left {
        text-align: center;
    }


    .sim-card__left {
        padding: 30px;
    }

    .sim-card__row {
        gap: 15px;
    }

    .sim-card__amount {
        font-size: 25px;
    }

    .sim-card__cell-label {
        font-size: 16px;
        line-height: 1.1;
    }

    .sim-card__installment {
        margin-top: 30px;
        flex-direction: column;
    }

    .thanks-box {
        padding: 35px;
    }

    .thanks-box .title {
        font-size: 28px;
        line-height: 1.1;
    }

    #sim-card__type {
        font-size: 25px;
    }

    .sim-card__index {
        font-size: 16px;
    }

    .popup-content h3 {
        line-height: 25px;
    }
}

@media (max-width: 415px) {
    #formSection input[type="text"] {
        font-size: 16px;
    }

    .custom-select .dropdown-toggle {
        font-size: 16px;
    }

    .info {
        font-size: 12px;
        line-height: 14px;
    }
}

@media(max-width: 375px) {

    #contactform,
    #contactformB,
    #contactformD {
        padding: 40px 18px;
    }

    .custom-select .dropdown-toggle {
        padding: 0 13px;
        background-position: 97%;
    }
}