  html {
    scroll-behavior: smooth;
  }
* {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        max-width: 100%;
        font-family: 'Oswald', sans-serif;
    }
body{
  background: #EDEDED;  
}
section{
    margin-top: 2vh;

}
.property-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2vh;
    width: 100%;
    max-width: 80%;
    margin: 0 auto;
    padding: 16px;
    background-color: white;
}
.form_button-group {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 2vh;
}
.main-categoryes {
    margin: 0 auto;
    position: relative;
    background: #FFFFFF;
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}
.property-categories a {
    position: relative;
    display: block;
    width: 100%;
    height: 250px;
    max-height: 300px;
    overflow: hidden;
    border-radius: 10px;
    text-decoration: none;
    color: white;
    background-size: cover;
    background-position: center;
    transition: transform .3s;
}
  .property-categories a:hover {
    transform: scale(1.02);
    color: white;
  }
  .property-categories a span {
    position: absolute;
    bottom: 8px;
    left: 8px;
    font-size: 1.5rem;
    background: rgba(0, 0, 0, 0.4);
    padding: 4px 8px;
    border-radius: 4px;
  }
  /* Мобильная сетка: 2 колонки */
  @media (max-width: 768px) {
    .property-categories {
      grid-template-columns: repeat(2, 1fr);
      max-width: 100%;
    }
    .property-categories a {
      height: 140px;
      max-width: 100%;
    }
    .property-categories a span {
        font-size: 1.1rem;
    }
    .main-categoryes {
      padding: 0;
    }
  }
.main-form-modal{
display: flex;
flex-direction: column;
box-shadow: 0px 6px 10px 4px rgb(0 0 0 / 20%);
gap: 2vh;
background-color: white;
width: 30%;
height: 80vh;
padding: 2vh;
align-items: center;
border-radius: 20px;
cursor: pointer;
}
.main-form-modal:hover {
    transform: scale(1.03);
}
.price {
    font-size: 2vh;
    font-weight: 600;
}
.lead-form {
    display: flex;
    flex-direction: column;
    position: fixed;
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    width: 350px;
    bottom: 2vh;
    left: 2vh;
    align-items: center;
    gap: 1vh;
    padding-top: 10px;
    padding-bottom: 10px;
}
.lead-form p {
    font-size: 1.5vh;
}
.lead-form button {
    max-width: 60%;
}
#cookieConsent {
    position: fixed;
    bottom: 0;
    left: 0;
    justify-self: center;
    right: 0;
    background: black;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 99999;
    width: 50%;
    font-family: Arial, sans-serif;
    margin-bottom: 5px;
}
.cookie-content {
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.cookie-content p {
    margin: 0;
    color: white;
    font-size: 18px;
}
.cookie-content a {
    color: #007bff;
    text-decoration: none;
}
.izhs-container-swiper-slide {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-decoration: none;
    color: inherit;
    outline: none;
    background: none;
    user-select: none;
    flex: 0 0 auto;
    width: 100%;
}
#formModal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    z-index: 1000;
}
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}
body.preload {
    overflow: hidden;
}
body.loaded .preloader {
    opacity: 0;
     pointer-events: none;
}
a {
    font-size: 20px;
    font-weight: 400;
    margin: 5px 0;
    color: #333;
    background: 0;
    border: 0;
    text-transform: none;
    margin: 0;
    padding: 0;
    cursor: pointer;
    outline: none !important;
    text-decoration: none;
}
a:hover {
    color: #333;
    text-transform: none;
    cursor: pointer;
    outline: none !important;
    text-decoration: underline;
}
.policy{
    font-size: 1.8vh;
    text-align: left;
}
.loader {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #f1c40f;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}  
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    display: inline-block;
}
.buttons {
    padding-bottom: 5vh;
    display: flex;
    gap: 15px;
    justify-content: center;
}
.div-button-header {
    padding-top: 5vh;
    display: flex;
    justify-content: space-between;
    margin-right: 10vh;
    margin-left: 10vh;
}
.header-text {
    display: flex;
    flex-direction: column;
}
.header-text-row {
    display: flex;
    flex-direction: row;
    align-items: baseline;
}
.subtitle {
    font-size: 20px;
    font-weight: 400;
    max-width: 70vh;
    line-height: 1.5;
}
.onest-title{
    margin-top: 2vh;
    display: flex;
    justify-content: space-between;
    margin-right: 5vh;
    margin-left: 5vh;
    align-items: center;
}
.category-flex-list{
    background-color: white;
    width: 100%;
    display: flex;
    flex-direction: row;
    margin-bottom: 2vh;
    justify-content: center;
}
.category-link{
    margin: 2vh;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.5vh;
}
@media (max-width: 1200px) {
  .div-button-header {
    margin-left: 5vh;
    margin-right: 5vh;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .onest-title {
    margin-left: 3vh;
    margin-right: 3vh;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .buttons {
    gap: 10px;
  }
  .title {
    font-size: 22px;
  }
  .subtitle {
    font-size: 18px;
    max-width: 60vh;
  }
.lead-form {
    position: fixed;
    left: 50%;
    transform: translate(-50%);
    width: 350px;
    padding-top: 10px;
    padding-bottom: 10px;
    z-index: 9999;
}

.lead-form p {
    font-size: 1.5vh;
}
.lead-form button {
    max-width: 60% !important;
    width: auto !important;
}
}
@media (max-width: 768px) {
  .div-button-header {
    margin-left: 3vh;
    margin-right: 3vh;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
#formModal {
width: 90%;
}
.main-form-modal{
width: 100%;
}
  .onest-title {
    margin-left: 2vh;
    margin-right: 2vh;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
.buttons {
        flex-direction: row;
        gap: 8px;
        align-items: center;
        width: 70%;
    }
  .title {
    font-size: 20px;
  }
  .subtitle {
    font-size: 16px;
    max-width: 100%;
  }
.cookie-content p {
    margin: 0;
    color: white;
    font-size: 14px;
}
.cookie-content a {
    color: #007bff;
    text-decoration: none;
    font-size: 12px;
}
}
@media (max-width: 480px) {
  .div-button-header {
    margin-left: 2vh;
    margin-right: 2vh;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
.lead-form button {
    max-width: 80% !important;
    width: auto !important;
    font-size: 1.4vh !important;
}
#cookieConsent {
    position: fixed;
    bottom: 0;
    left: 0;
    justify-self: center;
    right: 0;
    background: black;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 99999;
    width: 80%;
    font-family: Arial, sans-serif;
}
.cookie-content p {
    margin: 0;
    color: white;
    font-size: 12px;
}
.cookie-content a {
    color: #007bff;
    text-decoration: none;
    font-size: 10px;
}
  .onest-title {
    margin-left: 1vh;
    margin-right: 1vh;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
    .buttons {
        flex-direction: row;
        gap: 6px;
        align-items: center;
        width: 90%;
    }
  .title {
    font-size: 18px;
  }
  .subtitle {
    font-size: 15px;
    max-width: 100%;
  }
}
.yellow-btn {
    background-color: #f1c40f;
    color: #000 !important;
    border: none;
    padding: 12px 15px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 25px;
    font-weight: 400;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    transition: all 0.3s;
}
.yellow-btn:hover {
    background-color: #d4a80a;
}
.border-btn {
    background: transparent !important;
    color: #000 !important;
    border: 1px solid #f1c40f;
    padding: 8px 10px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 25px;
    font-weight: 400;
    text-transform: uppercase;
    transition: all 0.3s;
}
.border-btn:hover {
    background-color: #f1c40f;
    color: #000;
}
@media (max-width: 960px) {
    .yellow-btn, .border-btn {
        padding: 10px 20px;
        font-size: 16px;
        text-align: center;
    }
}
@media (max-width: 768px) {
    .yellow-btn, .border-btn {
        padding: 8px 15px;
        font-size: 14px;
        width: 100%;
        text-align: center;
    }
}
@media (max-width: 650px) {
    .yellow-btn, .border-btn {
        padding: 6px 10px;
        font-size: 11px;
        text-align: center;
        width: 110px;
    }
}
@media (max-width: 450px) {
    .yellow-btn, .border-btn {
        padding: 6px 10px;
        font-size: 8px;
        text-align: center;
        width: 100px;
    }
}
h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 5vh;
}
.header-info-block {
    display: flex;
    background: white;
    padding: 20px;
    border-radius: 8px;
    flex-direction: column;
}
#leadForm {
gap: 0 !important;
}
.header-info {
    max-width: 40vh;
    margin-right: 20px;
}
.bullet {
    display: inline-block;
    min-width: 10px;
    min-height: 10px;
    background: #ffcc00;
    border-radius: 50%;
    margin-right: 10px;
}
.yellow-dot {
    min-width: 16px;
    min-height: 16px;
    background: #F5CB08;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}
.consult-text {
    font-size: 14px;
    color: #777;
}
.phone {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    background: #ffcc00;
    color: #000;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
}
.header-info-description {
    flex: 1;
    font-size: 18px;
    color: #333;
    overflow-y: auto;
}
.header-info-content{
    padding: 5vh;
    display: flex;
    align-items: flex-end;
    gap: 30px;
    justify-content: space-between
}
@media (max-width: 1024px) {
    .header-info-content {
        padding: 5vh;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .header-info {
        max-width: 100%;
        margin-right: 0;
    }
    .header-info-description {
        font-size: 16px;
    }
    .consult-text {
        font-size: 13px;
    }
    .phone {
        font-size: 14px;
        padding: 8px 12px;
    }
}
@media (max-width: 768px) {
    .header-info-block {
        padding: 15px;
    }
    .header-info-content {
        padding: 4vh 2vh;
        gap: 15px;
    }
    .header-info-description {
        font-size: 15px;
    }
    .phone {
        font-size: 13px;
        padding: 8px 10px;
    }
}
@media (max-width: 480px) {
    .header-info-description {
        font-size: 14px;
    }
    .phone {
        display: block;
        width: 100%;
        text-align: center;
        padding: 10px;
    }
    .bullet {
        width: 8px;
        height: 8px;
        margin-right: 8px;
    }
}
.block-wrapper {
    margin: 0 auto;
    text-align: center;
    font-family: Arial, sans-serif;
    color: #222;
    background-color: white;
    padding: 4vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.block-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}
.problem-text {
    font-size: 18px;
    line-height: 1.4;
}
.block-description {
    font-size: 20px;
    line-height: 1.5;
    max-width: 70%;
    margin-top: 2vh;
}
.page-name {
    display: flex;
    flex-direction: row;
    align-items: baseline;
}
.problems-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5vh;
    margin-top: 5vh;
    justify-content: center;
    margin-bottom: 7vh;
}
.stage-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
    justify-content: center;
    margin-bottom: 7vh;
}
.stage-card{
    height: 100px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.stage-card:hover {
    transform: scale(1.03);
}
.stage-card:hover::before {
    width: 100%;
}
.stage-card > * {
    position: relative;
    z-index: 2;
}
.stage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #FFD700;
    transition: width 0.5s ease-in-out;
    z-index: 1;
}
.div-04 {
    margin: auto;
    text-align: center;
    background-color: #fff;
}
@media screen and (max-width: 1024px) {
    .problems-grid,
    .stage-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-left: 5vw;
        margin-right: 5vw;
    }
    .stage-card {
        height: auto;
        padding: 20px;
    }
    .problem-title02 p {
        line-height: 1;
        font-weight: 500;
        font-size: 14px;
    }
}
@media screen and (max-width: 768px) {
    .problems-grid,
    .stage-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-left: 4vw;
        margin-right: 4vw;
    }
    .stage-card {
        height: auto;
        padding: 16px;
        font-size: 16px;
        text-align: center;
    }
}
@media screen and (max-width: 480px) {
    .problems-grid,
    .stage-grid {
        gap: 10px;
        margin-left: 3vw;
        margin-right: 3vw;
    }
    .stage-card {
        padding: 12px;
        font-size: 14px;
    }
}
.stage-card p{
    font-size: 22px;
}
.problem-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
    width: 80%;
    justify-self: center;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-content: flex-start;
    align-items: flex-start;
    cursor: pointer;
}
.problem-card:hover{
    transform: scale(1.03);
}
.problem-title {
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    justify-content: center;
}
@media (max-width: 1024px) {
    .problem-card {
        width: 90%;
        height: auto;
        padding: 18px;
    }
    .problem-title {
        font-size: 22px;
        flex-direction: row;
        display: flex;
        align-items: baseline;
    }
    .category-flex-list {
    background-color: white;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 2vh;
    justify-content: center;
}
}
@media (max-width: 768px) {
    .problem-card {
        width: 95%;
        padding: 16px;
    }
    .problem-title {
        font-size: 20px;
        text-align: center;
        flex-direction: row;
        display: flex;
        align-items: baseline;
    }
.siteaddress a{
    color: inherit !important;
    text-decoration: none !important;
    outline: none !important;
    font-size: 14px !important;
}
}
@media (max-width: 480px) {
    .problem-card {
        width: 100%;
        padding: 14px;
    }
.problem-text {
    font-size: 14px;
    line-height: 1.4;
}
    .problem-title {
        font-size: 14px;
        display: flex;
        text-align: left;
        align-items: center;
        flex-direction: row;
    }
}
.red-dot {
    min-width: 16px;
    min-height: 16px;
    background: red;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}
.block-description-list{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin-bottom: 4vh;
}
.leaflet-marker-icon {
    will-change: transform;
    backface-visibility: hidden;
}
.description-title-center{
    margin-top: 2vh;
    display: flex;
    justify-content: center;
    margin-right: 5vh;
    margin-left: 5vh;
}
.leaflet-popup {
    margin-bottom: 30px !important;
}
.leaflet-popup-content-wrapper {
    background: #ffffff !important;
    border-radius: 12px !important;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15) !important;
    padding: 15px !important;
    min-width: 400px !important;
    min-height: 150px !important;
    position: relative;
    overflow: visible !important;
}
.leaflet-popup-content {
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    z-index: 2;
}
.leaflet-popup-close-button {
    position: absolute !important;
    top: -15px !important;
    right: -5px !important;
    width: 28px !important;
    height: 28px !important;
    font-size: 24px !important;
    line-height: 28px !important;
    text-align: center !important;
    z-index: 1000 !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.leaflet-popup-tip-container {
    bottom: -13px !important;
}
.leaflet-popup-tip {
    background: #fff !important;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1) !important;
    width: 20px !important;
    height: 20px !important;
    margin: -10px auto 0 !important;
    transform: rotate(45deg) !important;
}
.popup-content h3 {
    margin: 0 0 10px 0;
    font-size: 15px;
    line-height: 1.3;
    color: #2c3e50;
}
.popup-content p {
    margin: 0;
    font-size: 14px;
    color: #666;
}
.popup-content {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    max-width: 400px !important;
}
.popup-image {
    width: 120px;
    height: 90px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.popup-details {
    flex: 1;
    min-width: 180px;
}
.popup-details:hover{
    transform: scale(1.01);
    z-index: 2;
    cursor: pointer;
}
@media (max-width: 480px) {
    .popup-content {
        flex-direction: column;
    }
    
    .popup-image {
        width: 100%;
        height: 150px;
    }
}
.price-item {
    font-weight: 700;
    color: #27ae60;
    margin-top: 8px;
    font-size: 16px;
}
.popup-details h3 {
    margin: 0 0 5px 0;
    line-height: 1.3;
    font-size: 15px;
}
.popup-image:not([src]) {
    background: #f1f1f1 url('placeholder.svg') center no-repeat;
    background-size: 40%;
}
.siteaddress{
    display: flex;
    text-decoration: none;
    font-weight: 500;
}
.siteaddress a{
    color: inherit !important;
    text-decoration: none !important;
    outline: none !important;
}
.address {
    display: flex;
    align-items: center;
}
.close-back-modal {
    display: flex;
    justify-content: flex-end;
    position: absolute;
}
@media (max-width: 480px) {
    .popup-content {
        flex-direction: column;
        max-width: 100% !important;
    }
    .popup-image {
        width: 100%;
        height: 150px;
    }
    .popup-details {
        min-width: auto;
        width: 100%;
    }
    .leaflet-popup-content-wrapper {
        min-width: 200px !important;
        width: 90vw !important;
        padding: 12px !important;
    }
    .description-title-center {
        margin-right: 2vh;
        margin-left: 2vh;
        text-align: center;
        font-size: 16px;
    }
}
@media (min-width: 481px) and (max-width: 768px) {
    .popup-content {
        flex-direction: column;
        max-width: 95% !important;
    }
    .popup-image {
        width: 100%;
        height: 160px;
    }
    .leaflet-popup-content-wrapper {
        min-width: 320px !important;
        width: 85vw !important;
    }
    .description-title-center {
        margin-right: 3vh;
        margin-left: 3vh;
        font-size: 18px;
    }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .popup-content {
        flex-direction: row;
        gap: 12px;
    }
    .popup-image {
        width: 100px;
        height: 80px;
    }
    .leaflet-popup-content-wrapper {
        min-width: 350px !important;
    }
    .description-title-center {
        font-size: 19px;
    }
.address p{
    font-size: 14px;
}
}
.SotrydnikURL{
    color: inherit !important;
    text-decoration: none !important;
    outline: none !important;
}
.header-newbuilding-buttons{
    display: flex;
    flex-direction: row;
    gap: 2vh;
}
@media (max-width: 575.98px) {
    .header-newbuilding-buttons {
        flex-direction: column;
        gap: 1.5vh;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 576px) and (max-width: 767.98px) {
    .header-newbuilding-buttons {
        flex-direction: column;
        gap: 2vh;
    }
}
@media (min-width: 768px) and (max-width: 991.98px) {
    .header-newbuilding-buttons {
        flex-direction: row;
        gap: 1.5vh;
    }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
    .header-newbuilding-buttons {
        flex-direction: row;
        gap: 2vh;
    }
}
@media (min-width: 1200px) {
    .header-newbuilding-buttons {
        flex-direction: row;
        gap: 2vh;
    }
}
.newbuilding-section-button{
    background-color: #DCDCDC;
    color: #000;
    border: none;
    padding: 12px 25px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 0px;
    font-weight: 400;
    text-transform: uppercase;
    transition: all 0.3s;
}
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s;
}
.circular-loader {
    width: 50px;
    height: 50px;
    animation: rotate 2s linear infinite;
}
.loader-path {
    stroke-dasharray: 150, 200;
    stroke-dashoffset: -10;
    animation: dash 1.5s ease-in-out infinite;
    stroke-linecap: round;
}
@keyframes rotate {
    100% { transform: rotate(360deg); }
}
@keyframes dash {
    0% { stroke-dasharray: 1, 200; stroke-dashoffset: 0; }
    50% { stroke-dasharray: 89, 200; stroke-dashoffset: -35; }
    100% { stroke-dasharray: 89, 200; stroke-dashoffset: -124; }
}
[data-editable-type="attribute"] {
    position: relative !important;
    display: inline-block;
}
.edit-pencil {
    cursor: pointer;
    transition: opacity 0.3s;
    border-radius: 15px;
    z-index: 1000;
}
[data-editable-type="attribute"] .edit-pencil {
    position: absolute;
    top: 10px;
    right: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
[data-editable]:hover .edit-pencil {
    opacity: 1;
}
.editor-overlay {
    background: white !important;
    animation: editorFadeIn 0.3s ease !important;
    padding: 10px !important;
    box-shadow: 0 0 10px rgb(0 0 0 / 64%) !important;
    z-index: 10000 !important;
    min-width: 400px;
}
@keyframes editorFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}
.editor-overlay textarea {
    transition: all 0.3s ease !important;
    width: 100% !important;
    height: 10vh !important;
    color: black !important;
}
.editor-overlay editor-buttons {
    display: flex !important;
    flex-direction: row !important;
    gap: 10px !important;
    justify-content: center !important;
}
.editor-overlay textarea:focus {
    border-color: #2196F3 !important;
    box-shadow: 0 0 8px rgba(33,150,243,0.3) !important;
}
#seo-editor {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    z-index: 10000;
    width: 420px;
    transition: transform 0.3s ease;
}
.seo-editor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
}
.toggle-editor {
    background: none;
    border: none;
    font-size: 1.2em;
    cursor: pointer;
    padding: 5px;
}
.seo-editor-content {
    padding-right: 15px;
    padding-left: 15px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
#seo-editor.active .seo-editor-content {
    max-height: 500px;
}
.form-group {
    position: relative;;
}
.form-group input {
    color: black !important;
}
.form-group label {
    padding-top: 0px;
    display: block;
    font-size: 16px;
    color: #666;
    margin-bottom: 5px;
}
.editable-text {
    padding: 8px;
    border: 1px solid #eee;
    border-radius: 6px;
    min-height: 40px;
}
@media (max-width: 768px) {
    #seo-editor {
        width: 280px;
        right: 10px;
    }
}
#seo-editor .edit-pencil {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.05);
    padding: 5px;
    border-radius: 4px;
}
#leadForm {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
#leadForm .form-group{
    margin-bottom: 5px !important;
}
#leadForm input, #leadForm select, #leadForm textarea {
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    resize: vertical;
    width: 100%;
    margin: 0;
}
#leadForm button[type="submit"] {
    padding: 12px;
    background-color: #dbdbdb;
    color: black;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.modal {
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
}
.modal-content2 {
    background: white;
    border-radius: 8px;
    box-sizing: border-box;
    position: relative;
}
.fixed-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 15px 25px;
  z-index: 1000;
  border-radius: 30px;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border: none;
  background: #007bff;
  color: white;
  transition: all 0.3s ease;
}
@media (max-width: 768px) {
  .modal-content {
    margin: 10% auto;
    padding: 20px;
    width: 85%;
  }
  .fixed-btn {
    padding: 12px 20px;
    font-size: 15px;
    bottom: 15px;
    right: 15px;
  }
}
@media (max-width: 480px) {
  .modal-content {
    margin: 0;
    width: 100%;
    padding: 15px;
  }
.siteaddress {
    display: flex;
    text-decoration: none;
    font-weight: 500;
    flex-direction: column;
}
  .fixed-btn {
    padding: 10px 16px;
    font-size: 14px;
    bottom: 10px;
    right: 10px;
  }
  h1{
    margin-bottom: 1vh;
  }
.newbuilding-section-button {
    background-color: #DCDCDC;
    color: #000;
    border: none;
    padding: 12px 25px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 0px;
    font-weight: 400;
    text-transform: uppercase;
    transition: all 0.3s;
}
  .modal-content .form-group input,
  .modal-content .form-group select,
  .modal-content .form-group textarea {
    font-size: 16px; /* Увеличиваем для удобства ввода */
  }
}
.modal-content .form-group {
  margin-bottom: 15px;
}
.modal-content .form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}
.modal-content .form-group input,
.modal-content .form-group select,
.modal-content .form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
}
.modal-content button[type="submit"] {
  width: 100%;
  padding: 12px;
  background: #28a745;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}
.close {
    color: black;
    right: 20px;
    top: 15px;
    font-size: 28px;
    cursor: pointer;
    z-index: 1000;
}
.sitemap {
    margin: 40px auto;
    padding: 20px;
    font-family: Arial, sans-serif;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.sitemap ul {
    list-style: none;
    padding-left: 25px;
}
.sitemap h1 {
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 15px;
    margin-bottom: 30px;
}
.sitemap h2 {
    color: #34495e;
    margin: 35px 0 15px;
    padding-left: 10px;
    border-left: 4px solid #3498db;
}
.sitemap a {
    text-decoration: none;
    color: #2c3e50;
    line-height: 1.8;
    font-size: 2vh;
}
.sitemap a:hover {
    color: #2980b9;
    text-decoration: underline;
}
.subcategory {
    margin-left: 20px;
}
/* Кнопка "Оставить отзыв" */
.feedback-button {
    position: fixed;
    right: 20px;
    bottom: 80px;
    z-index: 9999;
    padding: 14px 20px;
    background-color: #ffd700;
    color: black;
    font-size: 16px;
    font-weight: 500;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: background 0.3s ease;
}

.feedback-button:hover {
    background: #ffcc00;
    color: white;
}
.feedback-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    animation: fadeIn 0.3s ease forwards;
}
.feedback-content {
    background-color: #fff;
    margin: auto;
    margin-top: 10vh;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 460px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: slideIn 0.3s ease;
}
.feedback-close {
    position: absolute;
    top: -20px;
    right: 10px;
    font-size: 50px;
    color: #888;
    cursor: pointer;
    transition: color 0.2s ease;
}

.feedback-close:hover {
    color: #333;
}
#feedback-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
#feedback-form input,
#feedback-form select,
#feedback-form textarea {
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    resize: vertical;
}
#feedback-form button[type="submit"] {
    padding: 12px;
    background-color: #dbdbdb;
    color: black;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
#feedback-form button[type="submit"]:hover {
    background-color: #222;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideIn {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
@media (max-width: 500px) {
    .feedback-content {
        padding: 20px;
    }
.feedback-button {
    position: fixed;
    right: 10px;
    bottom: 60px;
    z-index: 9999;
    padding: 12px 16px;
    background-color: #ffd700;
    color: black;
    font-size: 14px;
    font-weight: 500;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: background 0.3s ease;
}
}