/* normalize */
* {
    box-sizing: border-box;
}
html {
    line-height: 1.3; 
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;    
}
body {
    margin: 0;
}
main {
    display: block;
}
h1, 
h2, 
h3, 
h4, 
h5, 
h6 {
    margin: 0;
}
a {
    text-decoration: none;
    color: var(--theme-color);
    font-weight: 700;
    font-size: 16px;
}
b, 
strong {
    font-weight: bolder;
}
img {
    display: block;
    max-width: 100%;
    border-style: none;
}
button,
input,
optgroup,
select,
textarea {
    margin: 0;
    outline: none;
}
button,
select {
    text-transform: none;
}
button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}
textarea {
    overflow: auto;
}
[type="checkbox"],
[type="radio"] {
    padding: 0;
}
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}
[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}
[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}
::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit; 
}
/* fonts */
@font-face {
    font-family: 'Gilroy';
    src: url("../fonts/Gilroy-Regular.woff") format('woff');
    font-weight: 400;
    font-style: normal; 
    font-display: swap;
}
@font-face {
    font-family: 'Gilroy';
    src: url("../fonts/Gilroy-Bold.woff") format('woff');
    font-weight: 700;
    font-style: normal; 
    font-display: swap;
}
/* main styles */
:root {
   
 /*   --bg-color: #f5f0e6;
    --theme-color: #4a7c59;
    --text-color: #1c1c1c;
    --second-color: #faa856;
    --second-light: #f5f0e6;
    --white-color: #fff;
    --font-color: #f5f0e6;
    --icon-color: #d9e7d7;
    --font-title: 'Cormorant Garamond';
    --font-family: 'Nunito';
     
    --bg-color: #f5f0e6;
    --theme-color: #003F20;
    --text-color: #1c1c1c;
    --second-color: #A24011;
    --second-light: #f5f0e6;
    --white-color: #fff;
    --font-color: #f5f0e6;
    --icon-color: #d9e7d7;
    --font-title: 'Cormorant Garamond';
    --font-family: 'Nunito';
*/
    --bg-color: #f5f0e6;
    --theme-color: #1d584D;
    --text-color: #1c1c1c;
    --second-color: #8a522D;
    --second-light: #f5f0e6;
    --white-color: #fff;
    --font-color: #f5f0e6;
    --icon-color: #d9e7d7;
    --font-title: 'Cormorant Garamond';
    --font-family: 'Nunito';
}
::-webkit-scrollbar {
    width: 12px;
}
::-webkit-scrollbar-track {
    background-color: transparent;
}
::-webkit-scrollbar-thumb {
    background-color: var(--theme-color);
    border-radius: 10px;
    border: 4px solid transparent;
    background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover {
    background-color: var(--theme-color);
}
button {
    font-family: var(--font-family);
}
html {
    overflow-x: hidden;
}
body {
    position: relative;
    background: var(--bg-color);
    font-family: var(--font-family);
    font-size: 16px;
    color: var(--text-color);
    overflow-x: hidden;
}
body.locked {
    overflow-y: hidden;
    padding-right: 12px;
}
.container {
    max-width: 100%;
    width: 1180px;    
    margin: 0 auto;
    padding: 0 10px;
}
.bg-theme {
    background: var(--theme-color);
    color: var(--white-color);
}
.flex {
    display: flex;
}
.flex-column {
    display: flex;
    flex-direction: column;
}
.aic {
    align-items: center;
}
.aifs {
    align-items: flex-start;
}
.aife {
    align-items: flex-end;
}
.jcsa {
    justify-content: space-around;
}
.jcsb {
    justify-content: space-between;
}
.jcc {
    justify-content: center;
}
.jcfe {
    justify-content: flex-end;
}
ul.list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.modal-toggler {
    cursor: pointer;
}
.section {
    padding: 40px 0;
    overflow: hidden;
}
.section-title {
    font-size: 34px;
    margin-bottom: 15px;
    font-style: italic;
    font-family: var(--font-title);
}
.section-title span {
        /* color: var(--second-color); */
    font-style: normal;
}
.section-text {
    font-size: 1.25rem;
}
.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    background: var(--second-color);
    color: var(--font-color);
    font-weight: 700;
    font-size: 1.5em;
    padding: 15px 25px;
    border-radius: 10px;
    border: none;
    outline: none;
    cursor: pointer;
    transition: 0.35s background ease-in-out;
}
.btn:hover {
    background: var(--second-light);
    color: var(--theme-color);
}
.logo-text {
    font-family: var(--font-title);    
    font-size: 38px;    
    font-weight: 500;
    white-space: nowrap; 
}
.logo-row {
    display: flex;
    align-items: center; /* вертикальное выравнивание */
    gap: 12px;           /* расстояние между картинкой и текстом */
}

.logo-row img {
    height: 80px;        /* на всякий случай */
    width: auto;
}
.hero {
    margin: 30px 0;
}
.hero-wrap {
    gap: 20px;
}
.hero-video {
    flex-basis: 55%;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 15px;
}
.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-text {
    flex-grow: 1;
    padding: 25px;
    border-radius: 15px;
}
.hero-text .section-title {
    margin-top: 35px;
}
.hero-pros {
    gap: 10px;
    margin-bottom: 20px;
}
.hero-pros-item {
    gap: 5px;
}
.hero-pros-item-icon {
    background: var(--icon-color);
    width: 75px;
    /*height: 75px;*/
    border-radius: 10px;
    flex-shrink: 0;
}
.hero-pros-item-icon img {
    width: 50px;
}
.hero-pros-item-info {
    flex-grow: 1;
    background: var(--white-color);
    border-radius: 10px;
    color: var(--theme-color);
    padding: 10px 20px;
}
.hero-bottom {
    margin-top: 20px;
    border-radius: 15px;
    padding: 25px;
}
.hero-bottom-row {
    gap: 30px;
}
.hero-bottom-pro {
    flex-basis: 0;
    flex-grow: 1;
    gap: 15px;
    background: var(--white-color);
    border-radius: 10px;
    padding: 10px;
    color: var(--theme-color);
}
.hero-bottom-pro-icon {
    width: 44px;
    flex-shrink: 0;
}
.hero-bottom-pro-icon img {
    width: 100%;
}
.hero-bottom-pro-info {
    font-size: 14px;
}
.pros-row {
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 25px;
}
.pros-item {
    width: calc((100% - 30px) / 3);
    background: var(--white-color);
    border-radius: 10px;
    gap: 15px;
    padding: 15px;
    box-shadow: 0 0 5px 0px rgba(0, 0, 0, 0.12);
}
.pros-item-icon {
    width: 44px;
    flex-shrink: 0;
}
.pros-item-icon img {
    width: 100%;
}
.images-row {
    margin-top: 25px;
    gap: 15px;
}
.images-row-item {
    flex-basis: 0;
    flex-grow: 1;
    min-width: 0;
    border-radius: 10px;
    overflow: hidden;
}
.images-row-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.renov-wrap {
    border-radius: 15px;
    padding: 25px 25px 40px 25px;
}
.renov-content {
    gap: 100px;
}
.renov-info {
    flex-grow: 1;
}
.renov-items {
    gap: 20px;    
    margin-top: 35px;
}
.renov-item {
    gap: 15px;
}
.renov-item-icon {    
    background: var(--icon-color);
    width: 75px;
    height: 75px;
    border-radius: 10px;
    flex-shrink: 0;
}
.renov-item-icon img {
    width: 50px;
}
.renov-item-info {
    flex-grow: 1;    
}
.renov-img {
    width: 35%;
    flex-shrink: 0;
}
.plan-toggler {
    flex-basis: 0;
    flex-grow: 1;
    padding: 15px;
    background: var(--bg-color);
    border-left: 1px solid var(--theme-color);
    border-top: 1px solid var(--theme-color);
    border-bottom: 1px solid var(--theme-color);
    text-align: center;
    font-weight: 700;
    color: var(--theme-color);
    cursor: pointer;
    transition: 0.35s all ease;
}
.plan-toggler:first-child {
    border-radius: 10px 0 0 10px;
}
.plan-toggler:last-child {
    border-radius: 0 10px 10px 0;
    border-right: 1px solid var(--theme-color);
}
.plan-toggler.active {
    background: var(--theme-color);
    color: var(--white-color);
}
.plans-wrap {
    margin-top: 20px;
    border-radius: 15px;
    padding: 40px;
}
.plan-tab {
    padding-left: 10%;
    padding-right: 10%;
}
.plan-tab:not(.active) {
    display: none;
}
.plan-desc {
    text-align: center;
    font-size: 1.25rem;
    padding: 20px;
}
.plan-desc-desc {
    font-size: 1rem;
    padding: 20px;
}
.plan-homes {
    text-align: center;
    font-size: 1rem;
    
}
.plan-img {
   /* height: 350px;*/
    margin-top: 25px;
    border-radius: 15px;
   /* padding: 15px;
    background: var(--white-color);*/
    overflow: hidden;
}
.plan-img img {
    width: auto;
    height: 80%;
}
.buy-wrap {
    margin-top: 30px;
    border-radius: 15px;
    padding: 30px 30px 50px 30px;
}
.buy-content {
    gap: 60px;
    margin-top: 25px;
}
.buy-img {
    flex-basis: 40%;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
}
.buy-img img {
    width: 100%;
}
.buy-items {
    gap: 35px;
}
.buy-item {
    gap: 5px;
}
.buy-item b {
    font-size: 1.6em;
    font-style: italic;
    font-family: var(--font-title);
}
footer {
    background: var(--white-color);
    padding: 30px 0 100px 0;
    text-align: center;
    font-size: 1.25em;
}
footer a {
    color: var(--theme-color);
}
.fixed-btn {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    max-width: 98%;
    z-index: 2;
}
.section-content table {
    border: 1px solid var(--theme-color);
    border-collapse: collapse;
    width: 100%;
}
.section-content table td,
.section-content table th {
    border: 1px solid var(--theme-color);
}
.cookie-modal {
    background: var(--white-color);
    box-shadow: 2px 0 6px 2px rgba(0, 0, 0, 0.12);
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 9999999;
    display: inline-block;
    border-radius: 8px;
    margin: 10px;
}
.cookie-modal__content {
    font-size: 10px;
    padding: 5px 5px;
    text-align: center;
}
.cookie-modal__content p {
    margin: 0;
}
.cookie-modal__close {
    background: var(--theme-color);
    font-size: 12px;
    color: var(--white-color);
    line-height: 1;
    border: none;
    padding: 3px 15px;
    margin-top: 5px;
    cursor: pointer;
    border-radius: 4px;
}
.cookie-modal__content a {
    color: var(--theme-color);
}
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    visibility: hidden;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-color: rgba(0,0,0,0.4);
    z-index: 999
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible
}
.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    display: flex;
    flex-direction: column;
    -webkit-transform: translate(-50%,-50%) scale(0);
    transform: translate(-50%,-50%) scale(0);
    opacity: 0;
    width: 850px;
    height: 600px;
    max-width: 96%;
    background: var(--white-color);    
    border-radius: 15px;
    -webkit-box-shadow: -6px 6px 10px 1px rgba(0,0,0,0.12);
    box-shadow: -6px 6px 10px 1px rgba(0,0,0,0.12);
    -webkit-transition: 0.45s ease-in-out;
    transition: 0.45s ease-in-out;
    z-index: 9999
}
.modal.shown {
    -webkit-transform: translate(-50%,-50%) scale(1);
    transform: translate(-50%,-50%) scale(1);
    opacity: 1
}
.modal-close {
    width: auto;
    height: auto;
    line-height: 0;
    cursor: pointer;
    transition: 0.4s ease;
}
.modal-header {
    gap: 15px;
    padding: 15px;
    border-bottom: 1px solid #e6e6e6;
}
.modal-body {
    flex-grow: 1;
    min-height: 0;
    overflow: hidden;
}
.modal-title {
    font-size: 1em;
    font-weight: 700;
}
.modal-content {
    padding: 15px;
    height: 100%;
}
.modal-form {
    height: 100%;
}
.modal-step {
    height: 100%;
    overflow-y: auto;
}
.modal-step:not(.active) {
    display: none;
}
.modal-step-content {
    height: 100%;
}
.modal-step-buttons {
    flex-shrink: 0;
    gap: 15px;
    padding-top: 10px;
    border-top: 1px solid #e6e6e6;
    margin-top: 10px;
}
.modal-step-btn {
    font-weight: 700;
    padding: 10px 35px;
    border: 1px solid var(--theme-color);
    border-radius: 6px;
    gap: 10px;
    cursor: pointer;
    transition: 0.35s all ease;
}
.modal-step-btn[data-step="next"] {
    background: var(--theme-color);
    color: var(--white-color);
}
.modal-step-btn:hover {
    opacity: 0.85;
}
.modal-step-btn svg {
    width: 16px;
    flex-shrink: 0;
}
.modal-step-btn[data-step="next"] svg {
    fill: var(--white-color);
}
.modal-step-title {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--theme-color);
    margin-bottom: 20px;
    flex-shrink: 0;
}
.modal-step-container {
    flex-grow: 1;
    min-height: 0;
    overflow-y: auto;
}
.modal-plans {
    flex-wrap: wrap;
    gap: 20px;
}
.modal-plan {
    width: calc((100% - 40px) / 3);
}
.modal-plan input {
    display: none;
}
.modal-plan-label {
    height: 100%;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.35s all ease;
    background: var(--bg-color);
}
.modal-plan input:checked + label {
    background: var(--theme-color);
    color: var(--white-color);
}
.modal-plan-label img {
    height: 300px;
    border-radius: 4px;
}
.modal-plan-label span {
    margin-top: 5px;
    font-weight: 700;
    text-align: center;
}
.modal-plan-label span:last-child {
    font-weight: 400;
}
.flatpickr-day.selected {
    background: #1d584d  !important;
    border-color: #1d584d !important;
}
.remont-plans {
    flex-wrap: wrap;
    gap: 20px;
}
.remont-plans .modal-plan {
    width: calc((100% - 40px) / 3);
}
.modal-pays {
    flex-wrap: wrap;
    gap: 20px;
}
.modal-pay {
    width: calc((100% - 20px) / 2);
}
.modal-pay input {
    display: none;
}
.modal-pay-label {
    height: 100%;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.35s all ease;
    background: var(--bg-color);
}
.modal-pay input:checked + label {
    background: var(--theme-color);
    color: var(--white-color);
}
.modal-step-error {
    display: none;
    background: #b73a3a;
    color: var(--white-color);
    padding: 10px 15px;
    font-size: 13px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}
.modal-step-error.shown {
    display: flex;
}
.modal-step-contacts-wrap {
    margin-top: 15px;
}
.modal-step-contacts-wrap h4 {
    color: var(--theme-color);
}
.modal-step-contacts {
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
    margin-top: 5px;
}
.modal-contact {
    width: 150px;
}
.modal-contact input {
    display: none;
}
.modal-contact-label {
    font-size: 14px;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.35s all ease;
    background: var(--bg-color);
    display: flex;
    align-items: center;
    gap: 10px;
    filter: grayscale(1);
    color: var(--white-color);
}
.modal-contact-label.telegram-label {
    background: #0088cc;
}
.modal-contact-label.whatsapp-label {
    background: #25D366;
}
.modal-contact-label.max-label {
    background: #9349d9;
}
.modal-contact-label.phone-label {
    background: var(--second-color);
    color: var(--font-color);
}
.modal-contact input:checked + label {
    filter: none;
}
.modal-contact-label svg {
    width: 16px;
    flex-shrink: 0;
}
.modal-form-field {
    padding: 10px 15px;
    border: 1px solid #e6e6e6;
    border-radius: 6px;
    width: 250px;
    font-family: 'Nunito';
        margin-bottom: 10px;
}
.modal-form-field:focus {
    border-color: var(--theme-color);
}
.agree-chk-wrap {
    display: flex;
    gap: 5px;
    font-size: 12px;
    color: inherit;
    margin-top: 10px;
}
.modal-gift {
    background: var(--second-color);
    color: var(--font-color);
    align-self: flex-start;
    padding: 5px 15px;
    border-radius: 5px;
}
.last-step .modal-step-contacts-wrap {
    margin-top: 20px;
    margin-bottom: 20px;
}
.last-step .hero-bottom {
    margin-top: auto;
}
.agree-chk-wrap a {
    color: inherit;
}
.agree-chk-wrap > label {
    position: relative;
}
.agree-chk-wrap > label > input {
    opacity: 0;
    z-index: -1;
    position: absolute;
}
.agree-chk {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 3px;
    border: 1px solid #e6e6e6;
    transition: 0.35s all ease;
}
.agree-chk:before {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    background: var(--theme-color);
    border-radius: 2px;
    opacity: 0;
    transition: 0.35s all ease;
}
.agree-chk-wrap > label > input:checked + .agree-chk {
    border-color: var(--theme-color);
}
.agree-chk-wrap > label > input:checked + .agree-chk:before {
    opacity: 1;
}
.modal-form-submit {
    margin-top: 10px;
    padding: 10px 30px;
    background: var(--theme-color);
    color: var(--white-color);
    font-weight: 700;
    cursor: pointer;
    transition: 0.35s all ease;
    cursor: pointer;
    border: none;
    border-radius: 6px;
}
.modal-form-submit:hover {
    opacity: 0.8;
}
.grecaptcha-badge {
    display: none !important;
}

.table-wrap {
    gap: 50px;
}
.remont-date-item {
    gap: 10px;
}
.swiper-pointer-events {
    touch-action: pan-y;
}
.plan-gallery {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    list-style: none;
    padding: 0;
    z-index: 1;
}
.plan-gallery .swiper-android .swiper-slide, .plan-gallery .swiper-wrapper {
    transform: translate3d(0px, 0, 0);
}
.plan-gallery .swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    transition-property: transform;
    box-sizing: content-box;
}
.plan-gallery .swiper-slide {
    flex-shrink: 0;
    width: 100%;
    height: auto;
    position: relative;
    transition-property: transform;
}
.plan-gallery .swiper-pagination {
    position: static;
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
}
.plan-gallery .swiper-pagination-bullet {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--white-color);
    transition: 0.35s all ease;
}
.plan-gallery .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: var(--text-color);
}
.plan-gallery-ram{
    height: 100%;
    padding: 4px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.35s all ease;
    background: var(--bg-color);
}
.plan-gallery-ram-img{
    border-radius: 8px;
}
@media (max-width: 992px) {
    .section-title {
        font-size: 28px;
    }
    .hero-bottom-row {
        gap: 15px;
        flex-wrap: wrap;
    }
    .hero-bottom-pro {
        flex-basis: calc((100% - 15px) / 2);
    }
    .cookie-modal__content {
        font-size: 8px;
        padding: 5px 5px;
    }
}
@media (max-width: 820px) {
    .hero-video {
        display: none;
    }
    .section {
        padding: 25px 0;
    }
    .hero-video {
        margin-top: 25px;
    }
    .hero-text .section-title {
        margin-top: 15px;
    }
    .pros-item {
        width: calc((100% - 15px) / 2);
    }
    .renov-content {
        gap: 50px;
    }
    .buy-wrap {
        padding: 30px;
    }
    .buy-content {
        gap: 15px;
        flex-direction: column;
        align-items: stretch;
    }
    .buy-items {
        gap: 15px;
    }
}
@media (max-width: 768px) {
    .cookie-modal {
        bottom: 70px;
        width: 80vw;
    }
    .modal-plan {
        width: calc((100% - 20px) / 2);
    }
    
}
@media (max-width: 640px) {  
    .remont-dates {
        flex-wrap: wrap;
    }
    .images-row {
        flex-wrap: wrap;
    }
    .images-row-item {
        flex-basis: calc((100% - 15px) / 2);
    }
    .renov-content {
        gap: 20px;
        flex-direction: column;
    }
    .renov-img {
        width: 100%;
        max-width: 300px;
    }
    .remont-plans .modal-plan {
        width: calc((100% - 20px) / 2);
    }
    
}
@media (max-width: 560px) {
    body {
        font-size: 14px;
    }
    .section-title {
        font-size: 28;
    }
    .pros-item {
        width: 100%;        
    }
    .plan-img img {
        height: auto;       
    }
    .hero-pros-item-info {
    font-size: 16px;
    }
    .plan-toggler{
     font-size: 18px;
    padding: 4px;  
    }
    .plan-desc{
    font-size: 1rem;  
    }
    .plans-wrap,
    .buy-wrap,
    .renov-wrap,
    .hero-bottom,
    .hero-text {
        padding: 20px;
    }
    .plan-tab {
        padding-left: 0;
        padding-right: 0;
    }
    .fixed-btn {
     /*   max-width: 280px; */
     max-width: 220px;
     font-size: 16px;
    left: 40%;
    }
    .modal-plan-label img {
        height: 120px;
    }
    .modal-plans {
        gap: 10px;
    }
    .modal-plan {
        width: calc((100% - 10px) / 2);
    }
    .logo-text {   
    font-size: 32px;    
    }
}
@media (max-width: 420px) {
    .logo-text {   
    font-size: 28px;    
    }
}