/* #region fonts */
@font-face {
    font-family: "Inter";
    src: url("../fonts/Inter-Regular.ttf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("../fonts/Inter-Medium.ttf") format("opentype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("../fonts/Inter-SemiBold.ttf") format("opentype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("../fonts/Inter-Bold.ttf") format("opentype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
/* #endregion fonts */

/* #region reset css */
* {
    padding: 0;
    margin: 0;
    border: 0;
}

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

html,body {
    line-height: 1;
    -ms-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

nav,footer,header,aside,picture {
    display: block;
}

input, button, textarea {
    font-family: inherit;
}

img, video {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
}

button {
    background-color: transparent;
    cursor: pointer;
}

button[disabled] {
    cursor: default;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}
/* #endregion reset css */

/* #region base */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 65px;
}

body {
    font-family: "Inter", sans-serif;
    line-height: normal;
    color: #000000;
}

body.overflow-hidden {
    overflow: hidden;
}

.container {
    min-width: 360px;
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 16px;
}

h2 {
    font-size: 32px;
    font-weight: 600;
}

.company-table__hide-row,
.company-table__show-more--hide {
    display: none;
}

@media (min-width: 1024px) {
    .container {
        padding: 0 20px;
    }

    h2 {
        font-size: 45px;
    }
}

@media (min-width: 1200px) {
    h2 {
        font-size: 60px;
    }
}
/* #endregion base */

/* #region elements */
@keyframes lds-ring {
    0% {
        transform: translate(-50%, -50%) rotate(0deg)
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg)
    }
}

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

.position-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

/* #region .btn  */
.btn {
    padding: 5px;
    position: relative;
}

.btn__loading, .btn__checked {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    display: none
}

.btn__loading img, .btn__checked img {
    width: 35px;
    height: 35px;
}

.btn__loading img {
    animation: lds-ring 1.2s linear infinite;
}

.btn--loading .btn__loading {
    display: block;
}

.btn--checked .btn__checked {
    display: block;
}

.btn--loading span,
.btn--checked span {
    opacity: 0;
}

.btn--accent {
    background-color: #FCC936;
    color: #000;
    border-radius: 16px;
    font-size: 16px;
    line-height: 19.36px;
    font-weight: 600;
    height: 60px;
}

.btn--accent-large {
    border-radius: 12px;
    font-size: 20px;
    height: 56px;
}
/* #endregion .btn  */

/* #region .search-form */
.search-form {
    display: none !important;
}

.search-form--vertical {
    gap: 12px;
    flex-direction: column;
}

.search-form--horizontal {
    gap: 16px;
    justify-content: center;
}

.search-form--horizontal .form-field {
    max-width: 323px;
}

.search-form--horizontal .btn {
    width: 176px;
}
/* #endregion .search-form */

/* #region .form-field */
.form-field {
    position: relative;
}

.form-field--search {
    position: relative;
}

.form-field__label {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    display: inline-block;
}

.form-field--search .form-field__label {
    display: block;
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
}

.form-field__area-unit {
    color: #000;
    line-height: 56px;
    position: absolute;
    bottom: 0;
    right: 0;
    padding-right: 18px;
}

.form-field--area {

}

.form-field__input,
.form-field__select {
    background-color: #fff;
    border: 2px solid #fff;
    border-radius: 12px;
    width: 100%;
    height: 56px;
    padding: 0 16px;
    font-size: 20px;
    line-height: 24px;
}

.form-field__input--error,
.form-field__select--error {
    border-color: red;
}

.form-field__input--blue {
    background-color: #F7F9FC;
}

.form-field__input:disabled,
.form-field__select:disabled {
    color: #BABABA;
    opacity: 0.7;
}

.form-field__select {
    appearance: none;
    color: #BABABA;
}

.form-field__select--selected {
    color: #000;
}

.form-field__input--area {
    -moz-appearance: textfield;
}

.form-field__input--area::-webkit-outer-spin-button,
.form-field__input--area::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.form-field--search .form-field__input {
    padding-left: 50px;
}

/* #endregion .form-field */
/* #endregion elements */

/* #region .header */
.header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 100;
}

.header--scrolled {
    background-color: #fff;
}

.header--menu-show {
    background-color: #fff;
    bottom: 0;
    z-index: 100;
}

.header .container {
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__logo {
    width: 210px;
}

.header__nav {
    background-image: linear-gradient(309.29deg, #4B94D3 1.9%, #2A75B4 98.1%);
    border-radius: 24px 24px 0 0;
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 101;
    padding: 40px 16px 140px;
    max-height: calc(100vh - 65px);
    overflow: auto;
    flex-direction: column;
    gap: 34px;
    display: none;
}

.header--menu-show .header__nav {
    display: flex;
}

.header__links {
    display: flex;
    flex-direction: column;
    list-style: none;
    gap: 24px;
}

.header__links a {
    color: #fff;
    font-size: 24px;
    font-weight: 600;
}

.header__phone {
    display: none;
}

.header-menu-btn {
    position: relative;
    width: 24px;
    height: 24px;
}

.header-menu-btn__icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.header-menu-btn__icon--show {
    max-width: 30px;
}

.header--scrolled .header-menu-btn__icon--show path {
    fill: #236EAD;
}

.header--menu-show .header-menu-btn__icon--show {
    display: none;
}

.header-menu-btn__icon--close {
    display: none;
}

.header--menu-show .header-menu-btn__icon--close {
    display: block;
}

@media (min-width: 1024px) {
    .header {
        background-color: #fff;
        color: #000;
        position: sticky;
    }

    .header .container {
        gap: 20px;
    }

    .header__nav {
        background: none;
        border-radius: 0;
        position: static;
        padding: 0;
        max-height: initial;
        overflow: hidden;
        display: flex;
        flex-direction: row;
        flex: 1;
    }

    .header__links {
        flex-direction: row;
    }

    .header__links a {
        font-size: 18px;
        color: inherit;
        font-weight: 400;
    }

    .header__phone {
        display: block;
        color: inherit;
    }

    .header-menu-btn {
        display: none;
    }
}

@media (min-width: 1100px) {
    .header .container {
        gap: 60px;
    }
}
/* #endregion .header */

/* #region .hero */
.hero {
    position: relative;
    z-index: 9;
    padding: 160px 0 140px;
}

.hero__bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10;
}

.hero__bg img {
    border-radius: 0 0 24px 24px;
    object-fit: cover;
    height: 100%;
}

.hero__body {
    color: #fff;
    position: relative;
    text-align: center;
    z-index: 11;
}

.hero__body h1 {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 12px;
}

.hero__body p {
    font-size: 24px;
    font-weight: 600;
}

.hero__body .search-form {
    display: none;
}

@media (min-width: 1024px) {
    .hero {
        padding: 200px 0;
    }

    .hero__bg {
        right: 20px;
        left: 20px;
    }

    .hero__bg img {
        border-radius: 24px;
        object-position: top;
    }

    .hero__body {
        max-width: 730px;
        margin: 0 auto;
    }

    .hero__body h1 {
        font-size: 60px;
    }

    .hero__body p {
        font-size: 32px;
    }

    .hero__body .search-form {
        display: flex;
    }

    .hero__body p + .search-form {
        margin-top: 60px;
    }
}

@media (min-width: 1200px) {
    .hero__body h1 {
        font-size: 80px;
        margin-bottom: 24px;
    }
}
/* #endregion .hero */

/* #region .raiting */
.raiting {
    padding: 60px 0 0;
}

.raiting h2 {
    margin-bottom: 24px;
}

/* #region .raiting-table */
.raiting-table {
    width: 100%;
    border-collapse: collapse;
}

.raiting-table th,
.raiting-table td {
    padding: 24px 0;
}

/* row #1 head */
.raiting-table thead th {
    color: #BDC5CB;
    font-weight: 400;
    font-size: 12px;
    line-height: 24px;
}

.raiting-table thead {
    border-bottom: 1px solid #D1D1D1;
}

/* column #1 */
.raiting-table thead th:nth-child(1),
.raiting-table tbody td:nth-child(1) {
    width: 24px;
    text-align: center;
}

/* column #2 */
.raiting-table thead th:nth-child(2),
.raiting-table tbody td:nth-child(2) {
    text-align: left;
    padding-right: 12px;
    padding-left: 12px;
}

.raiting-table__company {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.raiting-table__company a,
.raiting-table__company a:visited {
    color: inherit;
}

.raiting-table__logo {
    max-width: 100px;
}

/* column #3 */
.raiting-table thead th:nth-child(3),
.raiting-table tbody td:nth-child(3) {
    width: 110px;
}

.raiting-table__votes {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.raiting-table__vote {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.raiting-table__vote img {
    width: 24px;
    height: 24px;
}

.raiting-table__vote--likes {
    color: #13C650;
}

.raiting-table__vote--dislikes {
    color: #FF5038;
}

/* column #4 */
.raiting-table thead th:nth-child(4),
.raiting-table tbody td:nth-child(4) {
    width: 55px;
}

.raiting-table__stars {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.raiting-table__stars img {
    width: 16px;
    height: 16px;
}

.raiting-table__stars p {
    font-size: 14px;
}
/* #endregion .raiting-table */

.raiting__show-more {
    color: #236EAD;
    width: 100%;
    font-size: 16px;
    padding: 32px 0;
}

.raiting__show-more:hover {
    background-color: #e5e5e5;
}


@media (min-width: 768px) {
    /* row #1 head */
    .raiting-table thead th {
        font-size: 18px;
    }

    /* column #1 */
    .raiting-table thead th:nth-child(1),
    .raiting-table tbody td:nth-child(1) {
        width: 68px;
        text-align: center;
    }

    /* column #2 */
    .raiting-table__company {
        align-items: center;
        justify-content: space-between;
        flex-direction: row;
    }

    .raiting-table__company p {
        font-size: 24px;
    }

    /* column #3 */
    .raiting-table thead th:nth-child(3),
    .raiting-table tbody td:nth-child(3) {
        width: 200px;
        padding-left: 24px;
        text-align: left;
    }

    .raiting-table__votes {
        justify-content: flex-start;
    }

    .raiting-table__vote {
        font-size: 24px;
        flex-direction: row;
    }

    /* column #4 */
    .raiting-table thead th:nth-child(4),
    .raiting-table tbody td:nth-child(4) {
        width: 120px;
        text-align: left;
        padding-left: 24px;
    }

    .raiting-table__stars {
        justify-content: flex-start;
    }

    .raiting-table__stars img {
        width: 24px;
        height: 24px;
    }

    .raiting-table__stars p {
        font-size: 24px;
    }
}

@media (min-width: 1024px) {
    .raiting {
        padding: 100px 0;
    }

    .raiting h2 {
        margin-bottom: 40px;
    }

    /* row #1 head */
    .raiting-table thead th {
        font-size: 24px;
    }

    .raiting-table tbody td:nth-child(1) {
        font-size: 24px;
    }

    /* column #2 */
    .raiting-table thead th:nth-child(2),
    .raiting-table tbody td:nth-child(2) {
        padding-left: 24px;
    }

    .raiting-table__company p {
        font-size: 32px;
    }

    /* column #3 */
    .raiting-table thead th:nth-child(3),
    .raiting-table tbody td:nth-child(3) {
        width: 280px;
    }

    /* column #4 */
    .raiting-table thead th:nth-child(4),
    .raiting-table tbody td:nth-child(4) {
        width: 154px;
    }

    .raiting__show-more {
        font-size: 24px;
    }
}
/* #endregion .raiting */

/* #region .criteria */
.criteria {
    background-color: #F7F9FC;
    padding: 60px 0;
}

.criteria h2 {
    margin-bottom: 24px;
}

.criteria__body {
    display: grid;
    grid-template-columns: calc(50% - 6px) calc(50% - 6px);
    grid-template-rows: repeat(4, 1fr);
    gap: 24px 12px;
}

.criteria-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 12px;
    position: relative;
    font-size: 14px;
    font-weight: 500;
    grid-column: span 1;
    grid-row: span 1;
}

.criteria-card span {
    color: #2671B0;
    font-weight: 600;
    margin-top: 15px;
    text-align: right;
    display: block;
}

@media (max-width: 389px) {
    .criteria-card {
        font-size: 12px;
    }

    .criteria-card p {
        max-width: 100px;
    }
}

.criteria-card img {
    position: absolute;
    width: 50px;
    right: 5px;
    bottom: 1px;
}

.criteria-card--accent {
    background-color: #559EDD;
    color: #fff;
}

.criteria-card--reparis p,
.criteria-card--time p {
    max-width: initial;
}

.criteria-card--reparis span {
    font-size: 30px;
}

.criteria-card--time span {
    font-size: 20px;
}

@media (min-width: 768px) {
    .criteria__body {
        grid-template-columns: repeat(3, calc(33.3333333333% - 9.5px));
        grid-template-rows: repeat(3, 1fr);
        gap: 14px;
    }

    .criteria-card {
        font-size: 20px;
        min-height: 145px;
    }

    .criteria-card--time {
        grid-column: 2 / 4;
        grid-row: 2 / 3;
    }

    .criteria-card--time, .criteria-card--reparis {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .criteria-card--time span {
        font-size: 34px;
    }
}

@media (min-width: 1024px) {
    .criteria {
        padding: 100px 0 150px;
    }

    .criteria h2 {
        margin-bottom: 40px;
    }

    .criteria__body {
        grid-template-columns: repeat(3, calc(33.3333333333% - 16px));
        gap: 24px;
    }

    .criteria-card {
        font-size: 28px;
        min-height: 230px;
        padding: 24px;
    }

    .criteria-card img {
        width: 100px;
        height: 100px;
    }

    .criteria-card--time span {
        font-size: 60px;
    }

    .criteria-card--reparis span {
        font-size: 60px;
    }
}
/* #endregion .criteria */

/* #region .prices */
.prices {
    position: relative;
    padding: 60px 0;
}

.prices__bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10;
}

.prices__bg img {
    height: 100%;
    object-fit: cover;
}

.prices .container {
    position: relative;
    z-index: 11;
}

.prices h2 {
    color: #fff;
    margin-bottom: 24px;
}

/* #region .prices-table */
.prices-table {
    border-collapse: collapse;
    width: 100%;
}

.prices-table td {
    background-color: #FFFFFF;
    padding: 24px;
}

/* row #1 head */

.prices-table thead th {
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: #BDC5CB;
    padding: 12px 24px;
}

/* row #2 */
.prices-table tbody tr:nth-child(1) td:nth-child(1) {
    border-radius: 16px 0 0 0;
}

.prices-table tr:nth-child(1) td:nth-child(2) {
    border-radius: 0 16px 0 0;
}

/* row last */
.prices-table tbody tr:last-child td:nth-child(1) {
    border-radius: 0 0 0 16px;
}

.prices-table tbody tr:last-child td:nth-child(2) {
    border-radius: 0 0 16px 0;
}

/* column #1 */
.prices-table th:nth-child(1), 
.prices-table td:nth-child(1) {
    text-align: left;
}

.prices-table td:nth-child(1) {
    padding-right: 12px;
}

.prices-table__company {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.prices-table__company p {
    font-size: 14px;
}

.prices-table__company a,
.prices-table__company a:visited {
    color: inherit;
}

.prices-table__logo {
    max-width: 100px;
}

/* column #2 */
.prices-table th:nth-child(2), 
.prices-table td:nth-child(2) {
    text-align: right;
}

.prices-table td:nth-child(2) {
    font-size: 18px;
    padding-left: 12px;
}

@media (max-width: 389px) {
    .prices-table td:nth-child(2) {
        font-size: 14px;
    }
}

/* #endregion .prices-table */

.prices__show-more {
    color: #236EAD;
    background-color: #fff;
    border-radius: 0 0 16px 16px;
    font-size: 16px;
    padding: 32px 16px;
    width: 100%;
}

.prices__show-more:hover {
    background-color: #e5e5e5;
}

@media (min-width: 768px) {
    /* row #1 head */
    .prices-table thead th {
        font-size: 18px;
    }

    /* column #1 */
    .prices-table td:nth-child(1) {
        padding-right: 24px;
    }

    .prices-table__company {
        align-items: center;
        flex-direction: row;
        gap: 20px;
    }

    .prices-table__company p {
        font-size: 24px;
    }

    /* column #2 */
    .prices-table td:nth-child(2) {
        font-size: 24px;
        padding-left: 24px;
    }
}

@media (min-width: 1024px) {
    .prices {
        background-color: #F7F9FC;
        padding: 60px 0 110px;
    }

    .prices__bg {
        right: 20px;
        left: 20px;
        bottom: initial;
        height: 800px;
    }

    .prices__bg img {
        border-radius: 32px;
    }

    .prices h2, .prices__body {
        padding: 0 20px;
    }

    .prices-table td {
        padding: 32px 24px;
    }

    /* row #1 head */
    .prices-table thead th {
        font-size: 24px;
        padding: 32px 24px;
    }

    /* column #1 */
    .prices-table__company p {
        font-size: 32px;
    }

    .prices__show-more {
        font-size: 24px;
    }
}

@media (min-width: 1200px) {
    .prices h2, .prices__body {
        padding: 0;
    }
}
/* #endregion .prices */

/* #region .calculator */
.calculator {
    padding: 60px 0;
    position: relative;
    color: #fff;
}

.calculator__bg {
    background-image: linear-gradient(336.31deg, #569FDE -16.9%, #236EAD 110.72%);
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10;
}

.calculator__body {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 24px;
    z-index: 11;
}

.calculator__content h2 {
    margin-bottom: 24px;
}

.calculator__content p {
    font-size: 24px;
    font-weight: 500;
}

.calculator__body--show-result .calculator__content p {
    display: none;
}

@media (min-width: 768px) {
    .calculator__body {
        flex-direction: row;
    }

    .calculator__content, .rera-calc {
        flex: 0 1 50%;
    }
}

@media (min-width: 1024px) {
    .calculator {
        padding: 160px 0 140px;
    }

    .calculator__bg {
        border-radius: 32px;
        top: 95px;
        right: 20px;
        bottom: 80px;
        left: 20px;
    }

    .calculator__body {
        padding: 0 20px;
    }

    .calculator__content h2 {
        margin-bottom: 44px;
    }

    .calculator__content p {
        max-width: 396px;
    }
}

@media (min-width: 1200px) {
    .calculator__body {
        padding: 0;
    }
}
/* #endregion .calculator */

/* #region .rera-calc */
.rera-calc {
    position: relative;
}

.rera-calc__body,
.rera-calc__result {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.calculator__body--show-result .rera-calc__body,
.rera-calc--show-result .rera-calc__body {
    display: none;
}

.rera-calc__row {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rera-calc__legend {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.rera-calc-area__number {
    padding-bottom: 3px;
    width: 100%;
}

.rera-calc-area__input {
    border-radius: 25px;
    position: relative;
    height: 25px;
    width: 50px;
    text-align: center;
    -moz-appearance: textfield;
}

.rera-calc-area__input::-webkit-outer-spin-button,
.rera-calc-area__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

.rera-calc-area__range {
    width: 100%;
    background-color: #D9D9D9;
    -webkit-appearance: none;
}

.rera-calc-area__range:focus {
    outline: none
}

.rera-calc-area__range::-webkit-slider-runnable-track {
    border: 0;
    width: 100%;
    height: 5px;
    cursor: pointer
}

.rera-calc-area__range::-webkit-slider-thumb {
    background: #FFFFFF;
    border-radius: 50%;
    cursor: pointer;
    margin-top: -6px;
    width: 16px;
    height: 16px;
    -webkit-appearance: none
}

.rera-calc-area__range::-moz-range-track {
    border: 0;
    width: 100%;
    height: 5px;
    cursor: pointer
}

.rera-calc-area__range::-moz-range-thumb {
    background: #FFFFFF;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    cursor: pointer
}

.rera-calc__rooms {
    display: flex;
    gap: 16px;
}

.rera-calc__repair-type {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rera-calc-info {
    color: #000;
    background-color: #fff;
    border-radius: 8px;
    font-size: 12px;
    padding: 12px;
    min-height: 120px;
    display: none;
    position: relative;
}

.rera-calc-info::before {
    content: '';
    position: absolute;
    left: -7px;
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-right: 7px solid #ffffff;
    border-bottom: 7px solid transparent;
    display: none;
}

.rera-calc-info--kosmeticheskij::before {
    top: 34px;
}

.rera-calc-info--kapitalnyj::before {
    top: 70px;
}

.rera-calc-info--dizajnerskij::before {
    top: 105px;
}

.rera-calc-info--show {
    display: block;
}

.rera-calc-info strong {
    margin-bottom: 5px;
    display: block;
}

.rera-calc-info ul {
    list-style: none;
}

.rera-calc__result {
    display: none;
}

.calculator__body--show-result .rera-calc__result,
.rera-calc--show-result .rera-calc__result {
    display: flex;
}

.rr-calc-result__legend {
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 24px;
}

.rr-calc-result__legend span {
    color: #FCC936;
}

.rr-calc-result__radios {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rr-calc-result__show-form:disabled {
    opacity: 0.8;
}

.rr-calc-result__show-form:disabled.btn--checked {
    opacity: 1;
}

@media (min-width: 1024px) {
    .rera-calc__body,
    .rera-calc__result {
        gap: 20px;
    }

    .rera-calc__row {
        flex-direction: row;
    }

    .rera-calc__row > * {
        flex: 0 1 50%;
    }

    .rera-calc-info {
        height: 100%;
        min-height: 140px;
    }

    .rera-calc-info::before {
        display: block;
    }

    .rr-calc-result__legend {
        font-size: 22px;
    }
}
/* #endregion .rera-calc */

/* #region .cust-radio */
.cust-radio {
    position: relative;
}

.cust-radio input {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

.cust-radio p {
    cursor: pointer;
    line-height: 25px;
    padding-left: 35px;
}

.cust-radio p::before,
.cust-radio p::after {
    border-radius: 50%;
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.cust-radio p::before {
    background-color: #fff;
    width: 25px;
    height: 25px;
    left: 0;
}

.cust-radio p::after {
    background-color: #FCC936;
    width: 15px;
    height: 15px;
    left: 5px;
    display: none;
}

.cust-radio input:checked + p {
    cursor: default;
}

.cust-radio input:checked + p::before {
    border: 1px solid #FCC936;
}

.cust-radio input:checked + p::after {
    display: block;
}

/* #endregion .cust-radio */

/* #region .cust-radio-2 */
.cust-radio-2 {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cust-radio-2 input {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

.cust-radio-2__content {
    align-items: center;
    cursor: pointer;
    line-height: 25px;
    padding-left: 35px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    position: relative;
}

.cust-radio-2__content::before,
.cust-radio-2__content::after {
    border-radius: 50%;
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.cust-radio-2__content::before {
    background-color: #fff;
    width: 25px;
    height: 25px;
    left: 0;
}

.cust-radio-2__content::after {
    background-color: #FCC936;
    width: 15px;
    height: 15px;
    left: 5px;
    display: none;
}

.cust-radio-2 input:checked + .cust-radio-2__content {
    cursor: default;
}

.cust-radio-2 input:checked + .cust-radio-2__content::before {
    border: 1px solid #FCC936;
}

.cust-radio-2 input:checked + .cust-radio-2__content::after {
    display: block;
}

.cust-radio-2__pic {
    background-color: #fff;
    padding: 5px;
    border-radius: 5px;
    flex: 0 0 100px;
    min-height: 50px;
    display: flex;
    align-items: center;
}

/* .cust-radio-2__pic--topdom {
    background-color: initial;
    padding: initial;
} */

.cust-radio-2__pic--topdom img {
    width: 48%;
    margin: 0 auto;
}

.cust-radio-2__price {
    font-weight: 700;
    white-space: nowrap;
}

.cust-radio-2__info {
    color: #FCC936;
    font-weight: 500;
    line-height: normal;
}

@media (min-width: 390px) {
    .cust-radio-2 {
        flex-wrap: nowrap;
    }

    .cust-radio-2__content {
        flex: 1;
    }

    .cust-radio-2__info {
        background-color: #FCC936;
        border-radius: 5px;
        color: #000000;
        flex: 0 0 118px;
        padding: 5px;
        font-size: 10px;
    }
}
/* #endregion .cust-radio-2 */

/* #region .about */
.about {
    padding: 60px 0;
}

.about h2 {
    margin-bottom: 24px;
}

.about__body {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-card {
    background-color: #F7F9FC;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.about-card__picture img {
    border-radius: 24px;
}

.about-card__content {
    padding: 0 16px 24px;
}

@media (min-width: 768px) {
    .about__body {
        display: grid;
        grid-template-columns: repeat(3, calc(33.3333333333% - 16px));
        grid-template-rows: 1fr 1fr;
    }

    .about-card:nth-child(1) {
        grid-column: 1 / span 2;
        grid-row: 1 / 2;
        flex-direction: row;
    }

    .about-card:nth-child(2) {
        grid-column: 1 / span 2;
        grid-row: 2 / 3;
        flex-direction: row-reverse;
    }
    
    .about-card:nth-child(3) {
        grid-column: 3 / 4;
        grid-row: 1 / span 2;
    }

    .about-card > * {
        flex: 0 0 calc(50% - 16px);
    }

    .about-card__picture img {
        height: 100%;
        object-fit: cover;
    }

    .about-card:nth-child(1) .about-card__content,
    .about-card:nth-child(2) .about-card__content {
        padding: 20px 0;
    } 

    .about-card:nth-child(1) .about-card__content {
        padding-right: 20px;
    }

    .about-card:nth-child(2) .about-card__content {
        padding-left: 20px;
    }
}

@media (min-width: 1024px) {
    .about {
        padding: 50px 0 140px;
    }

    .about h2 {
        margin-bottom: 40px;
    }

    .about-card__content p {
        font-size: 24px;
    }
}
/* #endregion .about */

/* #region .footer */
.footer {
    padding: 30px 0;
}

.footer .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.footer__head p {
    font-size: 18px;
    margin-bottom: 10px;
}

.footer__head img {
    max-width: 250px;
}

.footer__copyright {
    margin-bottom: 10px;
}

.footer__confidentiality {
    color: inherit;
    font-size: 15px;
}

@media (min-width: 768px) {
    .footer__info {
        text-align: right;
    }
}

@media (min-width: 1024px) {
    .footer__head p {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .footer__head img {
        max-width: 310px;
    }

    .footer__copyright {
        margin-bottom: 20px;
        font-size: 20px;
    }
}
/* #endregion .footer */

/* #region .dialog */
.dialog {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 150;
    padding: 0 16px
}

.dialog--open {
    display: flex
}

.dialog,
.dialog__backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0
}

.dialog__backdrop {
    background-color: rgba(32, 18, 2, .4)
}

.dialog__content {
    position: relative;
    z-index: 2;
    overflow: auto;
    padding: 16px 0
}

.dialog__close {
    position: absolute;
    top: 30px;
    right: 15px;
    width: 30px;
    height: 30px
}

.dialog__close img {
    width: 100%;
    height: 100%
}
/* #endregion .dialog */

/* #region .dialog-success */
.dialog-success {
    background-color: #fff;
    border-radius: 24px;
    padding: 40px 20px 20px;
    width: 330px;
}

.dialog-callback * + *, .dialog-success * + * {
    margin-top: 24px
}

.dialog-success__title {
    text-align: center;
    font-size: 40px;
    font-weight: 500;
    line-height: 50px;
}

.dialog-success__text {
    text-align: center;
    font-size: 24px;
}

.dialog-success .btn {
    width: 100%
}

@media (min-width: 390px) {
    .dialog-success {
        width: 360px;
    }
}
/* #endregion .dialog-success */

/* #region .dialog-form */
.dialog-form {
    background-color: #fff;
    border-radius: 24px;
    padding: 45px 20px 20px;
    max-width: 435px;
}

.dialog-form__text {
    text-align: center;
    font-size: 20px;
    margin-bottom: 16px;
}

.dialog-form__field {
    margin-bottom: 16px;
}

.dialog-form__submit {
    width: 100%;
}
/* #endregion .dialog-form */
