@font-face {
    font-family: 'Jost';
    src: url("/assets/fonts/Jost-ExtraLight.ttf") format('truetype');
    font-weight: 200;
    font-display: swap;
}
@font-face {
    font-family: 'Jost';
    src: url("/assets/fonts/Jost-Light.ttf") format('truetype');
    font-weight: 300;
    font-display: swap;
}
@font-face {
    font-family: 'Jost';
    src: url("/assets/fonts/Jost-Regular.ttf") format('truetype');
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: 'Jost';
    src: url("/assets/fonts/Jost-Medium.ttf") format('truetype');
    font-weight: 500;
    font-display: swap;
}
@font-face {
    font-family: 'Jost';
    src: url("/assets/fonts/Jost-SemiBold.ttf") format('truetype');
    font-weight: 600;
    font-display: swap;
}
@font-face {
    font-family: 'Jost';
    src: url("/assets/fonts/Jost-Bold.ttf") format('truetype');
    font-weight: 700;
    font-display: swap;
}

html {
    font-size: 16px;
}

:root {
    --white: #fff;
    --black: #0c0e0f;
    --gray: #868687;
}

body {
    margin: 0;
    font: 1rem/1.6 'Jost', sans-serif;
    font-weight: 400;
    color: var(--black);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--white);
}

body.no-scroll {
    overflow: hidden;
}

*,
*:before,
*:after {
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
}

p {
    margin: 0;
    padding: 0 0 10px;
}

.img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
}

.container {
    width: 100%;
    max-width: 1472px;
    margin: 0 auto;
    padding: 0 3rem;
}

.line {
    margin: .7rem 0;
    width: 0%;
    height: 1px;
    display: block;
    background-color: var(--black);
    transition: width 1s ease;
}

/* Animate line
====================*/
.animate .line {
    width: 100%;
}

.animate .line._01 {
    transition-delay: 0s;
}

.animate .line._02 {
    transition-delay: .3s;
}

.animate .line._03 {
    transition-delay: .6s;
}

.animate .line._04 {
    transition-delay: .9s;
}

/* Block animate
====================*/
.block__animate {
    transform: translateY(20%);
    opacity: 0;
    transition: transform .3s ease, opacity 1s ease;
    transition-duration: 1s;
}

.block__animate.animate {
    transform: translateY(0);
    opacity: 1;
}

/* Header
====================*/
.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--white);
}

.header__inner {
    height: 70px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    font-size: 1rem;
}

.header__item {
    text-align: center;
}

.header__item.tel {
    justify-self: end;
}

.header__logo {
    width: 100px;
    font-size: 1.1rem;
    color: var(--black);
    text-decoration: none;
}

.header__logo span {
    color: var(--gray);
}

.header__tel {
    color: var(--black);
    text-align: end;
    text-decoration: none;
}

/* Nav
====================*/
.nav {
    display: flex;
    gap: 2rem;
}

.nav__link {
    width: max-content;
    color: var(--black);
    text-decoration: none;
    position: relative;
}

.nav__link:before {
    content: "";
    display: block;
    width: 0%;
    height: 1px;
    background-color: var(--black);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    transition: width .3s ease;
}

.nav__link:hover.nav__link:before {
    width: 100%;
}

.nav__link--tel {
    display: none;
}

.nav__bg {
    display: none;
}

/* Burger
====================*/
.burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    padding: 0;
    color: transparent;
    background: none;
    border: none;
}

.burger__line {
    display: block;
    width: 100%;
    height: 1px;
    background-color: var(--black);
}

/* Intro
====================*/
.intro {
    margin-top: 70px;
}

.intro__inner {
    display: flex;
    align-items: center;
}

.intro__content {
    width: 40%;
    padding-right: 4rem;
}

.intro__title {
    margin-bottom: 1rem;
    font-size: clamp(2rem, 3.1vw, 3rem);
    font-weight: 400;
    line-height: 1.3;
}

.intro__subtitle {
    margin-bottom: 2rem;
    font-size: clamp(1.1rem, 3.5vw, 1.3rem);
    font-weight: 400;
    color: #525456;
}

.intro__img {
    width: 60%;
    height: 700px;
}

/* Btn
====================*/
.btn {
    display: inline-block;
    padding: 0;
    font: 1rem/1 'Jost', sans-serif;
    color: var(--black);
    border: none;
    background: none;
    cursor: pointer;
}

.btn__arrow {
    width: max-content;
    padding: 1rem;
    display: flex;
    align-items: center;
    grid-gap: 1rem;
    text-decoration: none;
    background-color: rgba(12, 14, 15, .05);
}

.btn__arrow.arrow-black {
    color: var(--white);
    background-color: var(--black);
}

.btn__arrow span {
    width: max-content;
    display: block;
    overflow: hidden;
}

.btn__img-arrow {
    display: block;
    width: 30px;
    height: 10px;
}

.btn__img-arrow.arrow-white {
    fill: var(--white);
}

.btn__arrow:hover .btn__img-arrow {
    animation: translateX .7s ease;
}

@keyframes translateX {
    0% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(100%);
        opacity: 0;
    }
    50% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.btn--form {
    margin-top: 1rem;
    padding: 1rem;
    color: var(--white);
    background-color: var(--black);
}

.btn--form-group {
    height: 1.1rem;
    display: flex;
    flex-direction: column;
    grid-gap: 1px;
    overflow: hidden;
}

.btn--form-group span {
    transition: transform .3s ease;
}

.btn--form:hover .btn--form-group span {
    transform: translateY(-105%);
}

.btn--discont {
    color: var(--white);
    background-color: var(--black);
}

.btn--discont .btn__img-arrow {
    fill: var(--white);
}

.btn--cookie {
    margin: 0;
}

.sp-section-head .btn {
    margin-top: 2rem;
}

/* About
====================*/
.about {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: clamp(3rem, 6vw, 5rem);
}

.about__title {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1;
}

.about__text {
    padding: 0;
    color: #525456;
}

/* Section
====================*/
.section {
    margin: 100px 0;
}

.section__inner {
    display: grid;
    grid-template-columns: 40% auto;
}

.section__content {
    padding: 0 4rem 0 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.section__suptitle {
    margin-bottom: 1rem;
    display: block;
    font-size: .78rem;
    color: var(--gray);
    letter-spacing: .12em;
    text-transform: uppercase;
}

.section__title {
    padding: 0;
    margin-bottom: 1rem;
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1.12;
    font-weight: 400;
}

.section__text {
    margin-bottom: 2rem;
    color: #525456;
}

.section__img {
    height: 700px;
    text-decoration: none;
}

/* Categories
====================*/
.categories__item {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
}

.categories__num {
    color: var(--gray);
}

/* Catalog
====================*/
.sp-catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.3rem;
}

.sp-catalog-card {
    display: block;
    min-width: 0;
    overflow: hidden;
    color: var(--black);
    text-decoration: none;
}

.sp-catalog-card img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4/5;
    object-fit: cover;
    transition: transform .35s ease;
}

.sp-catalog-card__caption {
    display: flex;
    padding: 1rem 0;
    justify-content: space-between;
    gap: 1rem;
    font-size: 1.2rem;
}

.sp-catalog-card:hover img {
    transform: scale(1.025);
}

/* Catalog Arrow
====================*/
.catalog__arrow {
    display: block;
    width: 24px;
    height: 24px;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Circle
====================*/
.image-container {
    position: relative;
    overflow: hidden;
}

.circle {
    position: absolute;
    width: 55px;
    height: 55px;
    padding: .8rem;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -50%) scale(.1);
    transition: opacity 0.3s, transform 0.3s cubic-bezier(0.23, 0.96, 1, 1);
    will-change: transform, opacity;
}

.image-container:hover .circle {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.circle__img-arrow {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Apartment
====================*/
.apartment {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.apartment__item {
    padding: 1.5rem;
    min-width: 0;
    background-color: #f5f5f5;
}

.apartment__num {
    display: block;
    margin-bottom: .5rem;
    font-size: .78rem;
    color: var(--gray);
}

.apartment__title {
    margin-bottom: .5rem;
    font-size: 1.35rem;
    font-weight: 400;
    line-height: 1.3;
}

.apartment__text {
    max-width: 400px;
    padding: 0;
    color: #525456;
    line-height: 1.5;
}

/* Features
====================*/
.features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.features__item {
    min-width: 0;
    background-color: #f5f5f5;
}

.features__img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 12;
    object-fit: cover;
    object-position: top;
    pointer-events: none;
}

.features__content {
    padding: 1.5rem;
}

.features__num {
    display: block;
    margin-bottom: .5rem;
    font-size: .78rem;
    color: var(--gray);
}

.features__title {
    margin-bottom: .5rem;
    font-size: 1.35rem;
    font-weight: 400;
    line-height: 1.3;
}

.features__text {
    max-width: 400px;
    padding: 0;
    color: #525456;
    line-height: 1.5;
}

/* Request form
====================*/
.request-form {
    padding: 3rem;
    background-color: rgba(12, 14, 15, .02);
}

.request-form--header {
    margin-bottom: 2rem;
}

.request-form--header.no-margin {
    margin: 0;
}

.request-form--title {
    margin-bottom: 1rem;
    font-size: clamp(1rem, 6vw, 2rem);
    font-weight: 400;
    line-height: 1.1;
}

.request-form--title br {
    display: none;
}

.request-form--text {
    font-size: 1rem;
}

/* Form
====================*/
.form {
    display: grid;
    grid-gap: 1rem;
}

.form__policy {
    font-size: clamp(13px, 2.5vw, 16px);
    font-weight: 300;
    text-align: center;
}

.form__policy-link {
    color: var(--black);
}

/* Input
====================*/
.input {
    display: block;
    width: 100%;
    padding: 1rem;
    font: 1.2rem/1 'Jost', sans-serif;
    color: var(--black);
    background: none;
    border: none;
    border-bottom: 1px solid rgba(12, 14, 15, 1);
    border-radius: 0;
    appearance: none;
    box-shadow: none;
}

.input::placeholder {
    color: var(--gray);
}

/* File Upload
====================*/
.file-upload {
    display: flex;
    width: 100%;
    min-height: 190px;
    padding: 2rem;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: .5rem;
    border: 1px dashed #999;
    cursor: pointer;
    text-align: center;
    transition: border-color .3s ease;
}

.file-upload:hover {
    border-color: var(--black);
}

.file-upload:focus-within {
    outline: 2px solid var(--black);
    outline-offset: 3px;
}

.file-upload__input {
    width: 1px;
    height: 1px;
    opacity: 0;
    position: absolute;
}

.file-upload__plus {
    font-size: 3rem;
    font-weight: 200;
    line-height: 1;
    color: var(--black);
}

.file-upload__title {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.4;
    color: var(--black);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.file-upload__text {
    font-size: .9rem;
    font-weight: 400;
    line-height: 1.4;
    color: var(--gray);
}

.file-upload__name {
    margin-top: .5rem;
    font-size: .9rem;
    color: var(--gray);
    overflow-wrap: anywhere;
}

.file-upload__name:not([hidden]) {
    display: block;
    color: #16803c;
    font-weight: 500;
}

.file-upload--selected {
    border-color: #16803c;
    background-color: #27df691a;
}

/* Footer
====================*/
.footer {
    margin: 100px 0 0;
    background-color: rgba(12, 14, 15, .02);
}

.footer__inner {
    padding: 100px 0;
    display: grid;
    grid-template-columns: 40% 1fr;
}

.footer__logo-name {
    margin-bottom: 2rem;
    display: inline-block;
    color: var(--black);
    text-decoration: none;
}

.footer__contact:not(:last-child) {
    padding-bottom: 1rem;
}

.footer__logo-name span {
    color: var(--gray);
}

.footer__contact-tel {
    color: var(--black);
    text-decoration: none;
}

.footer__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 4rem;
}

.footer__title {
    margin-bottom: 2rem;
    color: var(--gray);
    letter-spacing: .12em;
    text-transform: uppercase;
}

.footer__link {
    display: inline-block;
    color: var(--black);
    text-decoration: none;
    overflow: hidden;
}

.footer__link-group {
    width: max-content;
    height: 1.1rem;
    display: flex;
    flex-direction: column;
    grid-gap: 3px;
    line-height: 1;
    transition: transform .3s ease;
}

.footer__link:hover .footer__link-group {
    transform: translateY(-105%);
}

/* Widget
====================*/
.widget {
    display: none;
    width: 100%;
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: 3;
    transform: translateY(100px);
    transition: transform .5s ease-in-out;
}

.widget--show {
    transform: translateY(0);
}

.widget__inner {
    display: flex;
    margin: 1rem;
    grid-gap: 1rem;
}

.widget__call,
.widget__calculate {
    display: flex;
    text-align: center;
    flex-direction: column;
    justify-content: center;
    gap: .25rem;
    flex: 1;
    min-width: 0;
    border-radius: .7em;
    padding: .7rem;
    color: var(--white);
    text-decoration: none;
    background-color: var(--black);
}

.widget__title {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.2;
    color: var(--white);
}

.widget__phone,
.widget__text {
    font-size: .8rem;
    line-height: 1.3;
    color: rgba(255, 255, 255, .6);
    white-space: nowrap;
}

.widget__text {
    font-size: .86rem;
    line-height: 1;
}

/* Modals
=====================*/
.modal {
    display: none;
    width: 100%;
    height: 100%;
    padding: 3rem;
    background-color: rgba(12, 14, 15, .8);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    overflow-y: auto;
}

.modal.show {
    display: flex;
}

.modal__dialog {
    width: 100%;
    max-width: 750px;
    margin: auto;
    position: relative;
    background-color: var(--white);
    opacity: 0;
    transform: translateY(80px);
    transition: all .3s ease;
}

.modal__close {
    width: 30px;
    height: 30px;
    padding: 0;
    background: none;
    border: 0;
    cursor: pointer;
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 1;
    transition: transform .3s ease-in-out;
}

.modal__close:hover {
    transform: rotate(45deg);
}

.modal__close:before,
.modal__close:after {
    content: "";
    display: block;
    width: 30px;
    height: 1px;
    background-color: var(--black);
    position: absolute;
    top: 50%;
    left: 0;
    z-index: 1;
    transform: translateY(-50%) rotate(45deg);
}

.modal__close:after {
    transform: rotate(-45deg);
}

/* Policy
=====================*/
.policy {
    margin-top: 140px;
}

.policy__inner {
    display: grid;
    grid-template-columns: 35% 1fr;
    grid-gap: 3rem;
}

.policy__inner:not(:last-child) {
    padding-bottom: 10rem;
}

.policy__title {
    font-size: clamp(2rem, 3.4vw, 2.5rem);
    font-weight: 400;
    line-height: 1.2;
    position: sticky;
    top: 140px;
}

.policy__content-inner:not(:last-child) {
    margin-bottom: 3rem;
}

.policy__content-title {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 500;
}

.policy__link {
    color: var(--black);
}

/* Checkbox
=====================*/
.checkbox {
    font-size: clamp(14px, 3vw, 1rem);
    padding: 1rem;
    display: flex;
    gap: 10px;
    accent-color: var(--black);
    cursor: pointer;
    background: rgba(12, 14, 15, .08);
}

.checkbox__input {
    width: 25px;
    height: 25px;
    margin: 3px 0;
    cursor: pointer;
}

/* Cookie
=====================*/
.cookie {
    padding: 3rem;
    display: none;
    align-items: center;
    gap: 3rem;
    background: #e7e7e8;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1001;
}

.cookie--show {
    display: flex;
}

/* Quiz
====================*/
.modal--quiz {
    z-index: 1100;
}

.modal--quiz .quiz__dialog {
    max-width: 900px;
}

.quiz {
    display: flex;
    min-height: 580px;
    padding: 48px 56px 40px;
    flex-direction: column;
}

.quiz__top {
    display: flex;
    justify-content: space-between;
    gap: 45px;
    padding-right: 32px;
    font-size: 13px;
    letter-spacing: .025em;
}

.quiz__brand span,
.quiz__counter {
    color: var(--gray);
}

.quiz__progress {
    width: 100%;
    height: 2px;
    margin: 22px 0 40px;
    background: #e7e7e7;
}

.quiz__progress span {
    display: block;
    width: 20%;
    height: 100%;
    background: var(--black);
    transition: width .3s ease;
}

.quiz__screen[hidden] {
    display: none !important;
}

.quiz__title {
    max-width: 650px;
    font-size: clamp(23px, 6vw, 36px);
    font-weight: 400;
    line-height: 1.15;
}

.quiz__subtitle {
    padding: 12px 0 24px;
    color: var(--gray);
}

.quiz__cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.quiz__card {
    min-width: 0;
    border: 1px solid #e2e2e2;
    cursor: pointer;
    transition: border-color .2s, background .2s;
}

.quiz__card img {
    display: block;
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.quiz__card span {
    display: block;
    padding: 12px 10px;
    line-height: 1.2;
}

.quiz__card:has(input:checked) {
    border-color: var(--black);
    background: #f3f3f3;
}

.quiz__card input {
    width: 1px;
    height: 1px;
    opacity: 0;
    position: absolute;
}

.quiz__options {
    display: grid;
    gap: 10px;
}

.quiz__option {
    display: flex;
    min-height: 54px;
    padding: 13px 16px;
    align-items: center;
    gap: 14px;
    border: 1px solid #dedede;
    cursor: pointer;
    transition: background .2s, border-color .2s;
}

.quiz__option input {
    width: 18px;
    height: 18px;
    margin: 0;
    flex: none;
    accent-color: var(--black);
}

.quiz__option:has(input:checked) {
    border-color: var(--black);
    background: #f4f4f4;
}

.quiz__cards + .quiz__option {
    margin-top: 12px;
}

.quiz__upload {
    display: flex;
    min-height: 190px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px dashed #999;
    cursor: pointer;
    text-align: center;
}

.quiz__upload input {
    width: 1px;
    height: 1px;
    opacity: 0;
    position: absolute;
}

.quiz__upload-symbol {
    font-size: 40px;
    font-weight: 200;
    line-height: 1;
}

.quiz__upload strong {
    font-weight: 400;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.quiz__upload small,
.quiz__file-name {
    color: var(--gray);
}

.quiz__file-name {
    margin-top: 10px;
    overflow-wrap: anywhere;
    color: #16803c;
}

.quiz__fields {
    display: grid;
    gap: 8px;
}

.quiz__fields label {
    margin-top: 10px;
}

.quiz__fields label span {
    color: var(--gray);
}

.quiz__fields .input {
    padding: 10px 0 14px;
    font-size: 18px;
}

.quiz__agreement {
    display: flex;
    margin-top: 26px;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    line-height: 1.4;
}

.quiz__agreement input {
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    flex: none;
    accent-color: var(--black);
}

.quiz__agreement a {
    color: inherit;
}

.quiz__error {
    min-height: 24px;
    padding: 10px 0 0;
    color: #a13232;
    font-size: 14px;
}

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

.quiz__back,
.quiz__next {
    border: 0;
    font: inherit;
    cursor: pointer;
}

.quiz__back {
    padding: 15px 0;
    background: transparent;
    color: var(--black);
}

.quiz__back:disabled {
    visibility: hidden;
}

.quiz__next {
    display: flex;
    min-width: 185px;
    padding: 15px 18px;
    justify-content: space-between;
    gap: 30px;
    background: var(--black);
    color: var(--white);
}

.quiz__card:focus-within,
.quiz__option:focus-within,
.quiz__upload:focus-within,
.quiz__next:focus-visible,
.quiz__back:focus-visible {
    outline: 2px solid #777;
    outline-offset: 2px;
}

.quiz__no-project {
    margin-top: 18px;
}

.quiz__upload:has(input:disabled) {
    opacity: .45;
    cursor: not-allowed;
}

.quiz__success {
    display: flex;
    padding: 32px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.quiz__success .quiz__next {
    margin-top: 12px;
}

/* General
====================*/
.sp-eyebrow {
    display: block;
    margin-bottom: 1.15rem;
    font-size: .78rem;
    letter-spacing: .12em;
    color: var(--gray);
    text-transform: uppercase;
}

.sp-heading {
    max-width: 850px;
    margin: 0 0 1.25rem;
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 400;
    line-height: 1.12;
}

.sp-lead {
    max-width: 680px;
    margin: 0;
    padding: 0;
    color: #525456;
    font-size: 1.05rem;
    line-height: 1.55;
}

.sp-section-head {
    margin-bottom: 2.8rem;
}

.sp-cta {
    margin-top: 3rem;
}

/* Compare
====================*/
.sp-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 6vw, 7rem);
    padding: clamp(2rem, 5vw, 5rem);
    background: #f5f5f5;
}

.sp-compare__details {
    align-self: center;
}

.sp-detail {
    display: flex;
    align-items: baseline;
    gap: 1.5rem;
    padding: 1.35rem 0;
    border-bottom: 1px solid #c9c9c9;
}

.sp-detail:first-child {
    border-top: 1px solid #c9c9c9;
}

.sp-detail span {
    flex: none;
    width: 2.25rem;
    color: var(--gray);
    font-size: .85rem;
}

.sp-detail p {
    padding: 0;
    font-size: 1.1rem;
}

/* Designer
====================*/
.sp-designer {
    display: grid;
    grid-template-columns: 46% 1fr;
    gap: clamp(2rem, 5vw, 6rem);
}

.sp-designer__image {
    min-height: 600px;
}

.sp-designer__steps {
    align-self: center;
}

.sp-step {
    display: flex;
    gap: 1.5rem;
    padding: 1.45rem 0;
    border-bottom: 1px solid #d0d0d0;
}

.sp-step:first-child {
    border-top: 1px solid #d0d0d0;
}

.sp-step > span {
    flex: none;
    width: 2.25rem;
    color: var(--gray);
    font-size: .85rem;
}

.sp-step h3 {
    margin: 0 0 .5rem;
    font-size: 1.35rem;
    font-weight: 400;
}

.sp-step p {
    padding: 0;
    color: #525456;
}

/* Media
=====================*/
@media (max-width: 1000px) {
    /* Header */
    .header__tel {
        display: none;
    }

    .header__inner {
        position: relative;
    }

    /* Nav */
    .nav {
        display: flex;
        width: 100%;
        height: auto;
        min-height: calc(100vh - 140px);
        flex-direction: column;
        justify-content: center;
        grid-gap: 1rem;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 2;
        opacity: 0;
        pointer-events: none;
    }

    .nav.show {
        opacity: 1;
        pointer-events: all;
    }

    .nav__link {
        width: 100%;
        font-size: 1.25rem;
        overflow: hidden;
    }

    .nav__link:before {
        display: none;
    }

    .nav__link span {
        display: block;
        transform: translateY(100%);
        transition: transform .5s ease;
    }

    .nav.show .nav__link span {
        transform: translateY(0);
        transition-delay: .7s;
    }

    .nav__link--tel {
        display: block;
    }

    .nav__bg {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        position: absolute;
        top: 100%;
        left: -2rem;
        right: -2rem;
        z-index: 1;
        overflow: hidden;
        pointer-events: none;
    }

    .nav__line {
        display: block;
        width: 100%;
        height: 100vh;
        background-color: #f8f8f8;
        transform: translateY(-100%);
        transition: transform .5s ease-in-out;
    }

    .nav__bg.show .nav__line {
        transform: translateY(0);
    }

    .nav__bg.show .nav__line._01 {
        transition-delay: .3s;
    }

    .nav__bg.show .nav__line._02 {
        transition-delay: 0s;
    }

    .nav__bg.show .nav__line._03 {
        transition-delay: .2s;
    }

    .nav__bg.show .nav__line._04 {
        transition-delay: .5s;
    }

    /* Burger */
    .burger {
        display: flex;
        position: relative;
    }

    .burger__line {
        margin-left: auto;
        transition: all .3s ease-in-out;
    }

    .burger.active .burger__line:nth-child(2) {
        width: 0%;
    }

    .burger.active .burger__line:nth-child(1) {
        transform-origin: right;
        transform: rotate(-39deg);
        transition-delay: .2s;
    }

    .burger.active .burger__line:nth-child(3) {
        transform-origin: right;
        transform: rotate(39deg);
        transition-delay: .2s;
    }

    /* Intro */
    .intro__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .intro__content {
        width: 100%;
        margin: 2rem 0 3rem;
        padding: 0;
    }

    .intro__subtitle {
        max-width: 400px;
    }

    .intro__img {
        width: 100%;
        height: auto;
    }

    /* Section */
    .section__inner {
        grid-template-columns: 1fr;
        grid-gap: 3rem;
    }

    .section__content {
        padding: 0;
        gap: 3rem;
    }

    .section__img {
        height: auto;
    }

    /* About */
    .about {
        grid-template-columns: 1fr;
    }

    /* SP */
    .sp-compare,
    .sp-designer {
        grid-template-columns: 1fr;
    }

    .sp-designer__image {
        min-height: 350px;
        max-height: 550px;
    }

    /* Footer */
    .footer__inner {
        grid-template-columns: 1fr;
        grid-gap: 4rem;
    }

    /* Policy */
    .policy {
        margin-top: 120px;
    }

    .policy__inner {
        grid-template-columns: 1fr;
    }

    .policy__title {
        position: static;
    }

    /* Catalog */
    .sp-catalog-grid {
        gap: .8rem;
    }
}

@media (max-width: 700px) {
    /* Quiz */
    .modal--quiz {
        padding: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .modal--quiz .quiz__dialog {
        display: flex;
        width: 100%;
        min-height: 100dvh;
        height: auto;
        margin: 0;
    }

    .quiz {
        display: flex;
        width: 100%;
        min-height: 100dvh;
        height: auto;
        padding: 30px 22px max(30px, env(safe-area-inset-bottom));
        flex-direction: column;
    }

    .quiz__top {
        padding-right: 35px;
    }

    .quiz__progress {
        margin: 18px 0 30px;
    }

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

    .quiz__card img {
        aspect-ratio: 1.4/1;
    }

    .quiz__card span {
        font-size: 14px;
    }

    .quiz__subtitle {
        padding-bottom: 20px;
    }

    .quiz__bottom {
        margin-top: auto;
        padding-top: 30px;
        padding-bottom: 20px;
    }

    .quiz__next {
        min-width: 150px;
    }

    /* Apartment */
    .apartment {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

}

@media (max-width: 600px) {
    /* Container */
    .container.padding {
        padding: 0;
    }

    /* Circle */
    .circle {
        display: none;
    }

    /* Cookie */
    .cookie {
        flex-direction: column;
        align-items: normal;
    }

    /* SP */
    .sp-compare {
        padding: 4rem 2rem;
    }

    .sp-designer__image {
        min-height: 300px;
    }

    .sp-step:first-child,
    .sp-detail:first-child {
        border-top: none;
    }

    .sp-section-head {
        margin-bottom: 2rem;
    }

    .sp-cta span:first-child {
        white-space: normal;
        line-height: 1.3;
    }

    .sp-detail {
        gap: .8rem;
    }

    .sp-catalog-grid {
        grid-template-columns: 1fr;
    }

    .sp-catalog-card img {
        aspect-ratio: 5/5;
    }

    /* Features */
    .features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .features__content {
        padding: 1.25rem;
    }
}

@media (max-width: 500px) {
    /* Container */
    .container {
        padding: 0 2rem;
    }

    /* Request form */
    .request-form {
        padding: 2rem;
    }

    .request-form--title br {
        display: block;
    }

    /* SP */
    .sp-step,
    .sp-detail {
        gap: 0;
    }

    .sp-step h3 {
        line-height: 1;
    }

    /* File upload */
    .file-upload {
        padding: 2rem 1rem;
    }

    /* Footer */
    .footer__content {
        grid-template-columns: 1fr;
    }

    /* Widget */
    .widget {
        display: block;
    }

    /* Modal */
    .modal {
        padding: 0;
    }

    /* Cookie */
    .cookie {
        padding: 2rem;
    }
}

@media (max-width: 430px) {
    /* Container */
    .container.no-padding {
        padding: 0;
    }

    /* About */
    .about {
        padding: 2rem;
        background-color: rgba(12, 14, 15, .02);
    }
}

@media (max-width: 400px) {
    .container {
        padding: 0 1.5rem;
    }

    .about {
        padding: 2rem 1.5rem;
    }

    .sp-compare {
        padding: 4rem 1.5rem;
    }

    .request-form {
        padding: 1.5rem;
    }

    .widget__call,
    .widget__calculate {
        padding: .5rem;
        gap: .20rem;
    }
}

@media (max-width: 393px) {
    .widget__inner {
        margin: 0 .5rem 1rem;
        grid-gap: .5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    /* Quiz */
    .quiz__progress span,
    .quiz__card,
    .quiz__option {
        transition: none;
    }
}
