/* Variables */
:root {
    --primary: rgb(21, 138, 120);
    --primary-light: rgba(21, 138, 120, 0.1);
    --primary-dark: rgb(18, 116, 101);
    --text-dark: rgb(27, 50, 51);
    --text-muted: rgb(98, 98, 98);
    --text-green: rgb(37, 83, 85);
    --light-bg: rgb(249, 255, 253);
    --white: rgb(255, 255, 255);
    --container-padding: 100px;
}

/* Global Styles */
body {
    font-family: 'TT Firs Neue', sans-serif;
    color: var(--text-dark);
    padding-top: 80px;
    font-weight: 400;
}

/* Добавляем плавный скролл для всего сайта */
html {
    scroll-behavior: smooth;
}

.container {
    padding: 0;
}

.inner-container {
    padding: 0 var(--container-padding);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 15px 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    /*padding: 10px 0;*/
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.navbar-brand {
    width: 90px;
}

.logo{
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.nav-link {
    text-wrap: nowrap;
    position: relative;
    transition: all 0.3s ease;
    padding: 17px 32px !important;
    border-radius: 20px;
    margin: 0;
    color: var(--text-dark) !important;
    background-color: transparent;
    font-size: 20px;
    font-weight: 400;
}

.nav-link.active {
    background-color: var(--primary) !important;
    color: var(--white) !important;
    font-weight: 500;
}

.navbar-nav {
    border-radius: 20px;
    background: rgb(242, 242, 242);

}

.btn-company {
    background-color: var(--primary);
    color: var(--white);
    padding: 20px 60px;
    font-family: TT Firs Neue;
    font-size: 20px;
    font-weight: 500;
    border-radius: 20px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.btn-company:hover {
    background-color: var(--primary-dark);
    color: var(--white);
}

/* Hero Section */
.hero-section {
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
    background-color: var(--white);
}

.read-more-btn {
    display: none;
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    padding: 0;
    margin: 0;
    font-size: 16px;
    line-height: 24px;
    margin-left: 4px;
}

.read-more-btn:hover {
    text-decoration: underline;
}

.testimonial-text.expanded + .read-more-btn {
    display: inline;
}

.read-more-btn:hover {
    text-decoration: underline;
}

.read-more-btn.visible {
    display: block;
}

.hero-title {
    width: 150%;
    font-size: 90px;
    font-weight: 500;
    line-height: 98px;
    margin-bottom: 1rem;
    text-wrap: nowrap;
    color: var(--text-dark);
}

.hero-row {
    align-items: self-end;
    justify-content: space-between;
}

.hero-subtitle {
    font-family: Inter;
    font-size: 18px;
    font-weight: 400;
    line-height: 22px;
    color: var(--text-muted);
    margin-bottom: 40px;
    width: 80%;
}

.stats-container {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 30px;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.stat-number-sign {
    color: var(--primary);
}

.stat-text {
    font-family: Inter;
    font-size: 18px;
    font-weight: 400;
    line-height: 22px;
    color: var(--text-muted);
    max-width: 135px;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 25px;
}

.recycling-icon {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.recycling-icon img {
    width: 40px;
    height: 40px;
}

/* Running Text Section */
.running-text-section {
    padding: 60px 0;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.running-text-container {
    overflow: hidden;
    background-color: var(--primary);
    padding: 60px 0;
    border-radius: 40px;
}

.running-text {
    display: flex;
    white-space: nowrap;
    animation: runningText 20s linear infinite;
}

.running-text span {
    color: var(--white);
    font-size: 32px;
    font-weight: 400;
    padding: 0 2rem;
    position: relative;
}

.leaf {
    width: 25px;
    height: 25px;
    max-width: none;
}

@keyframes runningText {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Product Section */
.product-section {
    padding: 80px 0;
    background-color: var(--white);
}

.section-title {
    font-size: 60px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 40px;
    line-height: 1;
}

.section-subtitle {
    font-family: Inter;
    font-size: 30px;
    font-weight: 400;
    color: var(--text-green);
    margin-bottom: 25px;
}

.product-info-title {
    font-family: Inter;
    font-size: 20px;
    font-weight: 400;
    color: var(--text-green);
    margin-bottom: 25px;
}

.product-info {
    /*padding-right: 2rem;*/
}

.product-specs h4 {
    font-family: Inter;
    font-size: 16px;
    font-weight: 400;
    color: var(--text-green);
    margin-bottom: 8px;
}

.product-specs p {
    color: var(--text-muted);
    font-family: Inter;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 25px;
}

.product-layers {
    margin: 1rem 0;
}

.layer-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.layer-number {
    width: 26px;
    height: 26px;
    background-color: rgb(152, 195, 175);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 1rem;
    flex-shrink: 0;
    position: relative;
}

.layer-number::after {
    display: block;
    content: "";
    position: absolute;
    width: 40px;
    height: 40px;
    border: 1px solid rgb(152, 195, 175);
    border-radius: 50%;
}

.layer-info h4 {
   font-family: Inter;
    font-size: 16px;
    font-weight: 400;
    color: var(--text-green);
    margin-bottom: 5px;
}

.layer-info p {
    font-family: Inter;
    font-size: 14px;
    font-weight: 400;
    color: var(--text-muted);
    margin: 0;
}

.color-options {
    margin-top: 0;
}

.color-options h3 {
    font-family: Inter;
    font-size: 16px;
    font-weight: 400;
    color: var(--text-green);
    margin-bottom: 0.5rem;
}

.color-grid {
    display: flex;
    flex-wrap: wrap;
    grid-template-columns: repeat(8, 40px);
    gap: 0.5rem;
    margin-bottom: 60px;
}

.color-item {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s;
}

.color-item:hover {
    transform: scale(1.1);
}

.product-image {
    position: relative;
}

.product-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

/* Calculator Section */
.calculator-section {
    padding: 5rem 0;
}

.calculator-content {
    padding-right: 2rem;
}

.calculator-content .section-title {
    margin-bottom: 25px;
    width: 120%;
}

.calculator-content .section-subtitle {
    margin-bottom: 40px;
    font-family: Inter;
    font-size: 16px;
    font-weight: 400;
    color:  var(--text-muted);;
}

.calculator-form {
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    font-family: Inter;
    font-size: 14px;
    font-weight: 400;
    color: var(--text-green);
    margin-bottom: 0.5rem;
}

.calculator-form .form-group .form-control, .form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 16px;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    background-color: var(--white);
    transition: all 0.3s ease;
    box-shadow: 0px 2px 4px 0px rgba(37, 83, 85, 0.18);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem var(--primary-light);
    outline: none;
}

.form-control::placeholder, .form-select option {
    color: rgb(173, 173, 173);
    font-family: Inter;
    font-size: 16px;
    font-weight: 400;

}

.form-select option {
    border-radius: 20px;
}

 .form-agreement .checkbox-label input[type="checkbox"] {
        margin: 0;
    }

 .checkbox-label span {
     font-family: Inter;
font-size: 14px;
font-weight: 400;
     color: white;
}

.unit {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 14px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2rem;
}

.total {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: 500;
    gap: 10px;
    color: var(--text-green);
}

.price {

}

.calculator-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.calculator-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
}

/* Form Validation Styles */
.form-control.is-invalid,
.form-select.is-invalid {
    border-color: #DC2626;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23DC2626' viewBox='0 0 16 16'%3E%3Cpath d='M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM8 4a.905.905 0 0 0-.9.995l.35 3.507a.552.552 0 0 0 1.1 0l.35-3.507A.905.905 0 0 0 8 4zm.002 6a1 1 0 1 0 0 2 1 1 0 0 0 0-2z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px 16px;
}

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 12px;
    color: #DC2626;
}

.form-control.is-invalid ~ .invalid-feedback,
.form-select.is-invalid ~ .invalid-feedback {
    display: block;
}


/* About Section */
.about-section {
    padding: 5rem 0;
    background-color: var(--white);
    overflow: hidden;
}

.about_col {
    margin-top: 20px;
}

.about-header {
    margin-bottom: 6rem;
}

.about-title-group {
    /*max-width: 600px;*/
}

.about-description {
    font-family: Inter;
    font-size: 18px;
    font-weight: 400;
    line-height: 22px;
    color: var(--text-muted);
    margin: 0;
}

.about-gallery-container {
    width: 100%;
    margin-top: 40px;
    overflow: hidden;
}

.about-gallery {
    display: flex;
    gap: 30px;
    padding: 0 15px;
    width: 100%;
}

.gallery-item {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Скрываем скроллбар, но оставляем функциональность */
.about-gallery-container::-webkit-scrollbar {
    display: none;
}

.about-gallery-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Удаляем старую анимацию */
@keyframes scrollGallery {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(0);
    }
}

.recycling-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Добавляем градиенты по краям для плавного перехода */
/*.about-gallery-container::before,*/
/*.about-gallery-container::after {*/
/*    content: '';*/
/*    position: absolute;*/
/*    top: 0;*/
/*    width: 100px;*/
/*    height: 100%;*/
/*    z-index: 1;*/
/*    pointer-events: none;*/
/*}*/

/*.about-gallery-container::before {*/
/*    left: 0;*/
/*    background: linear-gradient(to right, var(--white), transparent);*/
/*}*/

/*.about-gallery-container::after {*/
/*    right: 0;*/
/*    background: linear-gradient(to left, var(--white), transparent);*/
/*}*/

/* Responsive styles for About Section */


/* Statistics Section */
.statistics-section {
    padding: 4rem 0;
    background-color: var(--white);
}

.stat_divider {
    width: 1px;
    background-color: rgb(217, 217, 217);
    flex-shrink: 0;
}

.statistics-grid {
    display: flex;
    gap: 1rem;
    text-align: center;
}

.stat-card {
    padding: 1.5rem;
    width: 20%;
}

.stat-value {
    font-size: 36px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.4;
}


/* Stages Section */
.stages-section {
    padding: 5rem 0;
}

.stages-section .container {
    padding: 60px 100px;
    background-color: rgb(218, 235, 227);
    border-radius: 40px;
}

.stages-accordion {
    margin-top: 2rem;
}

.stages-section-row {
    align-items: self-start;
}

.stage-item {
    /*background: var(--white);*/
    /*margin-bottom: 1rem;*/
    overflow: hidden;
    transition: padding 0.3s ease, margin 0.3s ease;
    border-radius: 40px;
    border: 1px solid rgb(21, 138, 120);;
}

.stage-item:first-child {

}

.stage-item:not(:first-child) {
    margin-top: -35px;
}

.stage-item:not(:last-child) {
    padding-bottom: 20px;
    border-bottom: none;
    border-radius: 40px 40px 0 0 ;
}
.btn-company.mobile {
    display: none;
}
.stage-header {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    /*background-color: var(--white);*/
    transition: background-color 0.3s ease;

}

.stage-title {
   font-size: 30px;
    font-weight: 400;
    color: var(--text-muted);
}

.stage-icon {
    font-size: 44px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    color: var(--primary);
    background-color: rgb(152, 195, 175);
    transition: transform 0.3s ease, color 0.3s ease, background-color 0.3s ease;
}

.stage-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.5rem;
}

.stage-content.show {
    max-height: 800px;
    /*padding-bottom: 1.5rem;*/
}

.stage-item.active {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    background: var(--white);
    border-radius: 40px;
    border-bottom: 1px solid rgb(21, 138, 120);
    padding-bottom: 25px;
}



.stage-item.active + * {
     border-radius: 0 0 40px 40px;
    border-top: none;
    padding-top: 35px;
}
.stage-item:nth-child(1).active + *,
.stage-item:nth-child(2).active + * {
     border-radius: 0 0 0 0;
}

.stage-item.active .stage-header .stage-title{
    color: var(--text-dark);
}

.stage-item.active .stage-header .stage-icon{
    color: var(--white);
    background-color: var(--primary);
}

.stage-item.active .stage-header .stage-title{
    color: var(--text-dark);
}

.stage-item.active .stage-header .stage-icon{
    color: var(--white);
    background-color: var(--primary);
}

.stage-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.stage-list li {
    font-family: Inter;
    font-size: 16px;
    font-weight: 400;
    line-height: 19px;
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.stage-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--text-muted);
}

.stage-note {
    font-family: Inter;
    font-size: 18px;
    font-weight: 500;
    color: var(--text-green);
    margin-bottom: 1rem;
}

.stage-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.stage-tag {
    padding: 0.5rem 1rem;
    background-color: rgb(218, 235, 227);
    border-radius: 150px;
    font-family: Inter;
    font-size: 14px;
    font-weight: 400;
    color: var(--text-muted);
}

.stages-image {
    height: 745px;
    border-radius: 40px;
    overflow: hidden;
}

.stages-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.stages-image img.fade {
    opacity: 0;
}


.region-map {
    padding: 90px 100px;
    border-radius: 40px;
    background: linear-gradient(90.00deg, rgb(218, 235, 227) 38.865%,rgba(218, 235, 227, 0) 51.923%);
    position: relative;
}

.point {
    position: absolute;
    cursor: pointer;
}

.point .tooltip {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 8px 12px;
    border-radius: 8px;
    /*min-width: 150px;*/
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    text-align: center;
}

.point .tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: rgba(21, 138, 120, 0.9) transparent transparent transparent;
}

.point .tooltip h4 {
    color: var(--text-green);
    font-family: Inter;
    font-size: 14px;
    font-weight: 400;
    margin: 0 0 5px;
}

.point .tooltip p {
    color: var(--text-muted);
    font-family: Inter;
    font-size: 12px;
    font-weight: 400;
    margin: 0;
    text-wrap: nowrap;
}

.point:hover .tooltip {
    opacity: 1;
    visibility: visible;
    bottom: calc(100% + 15px);
}

.point-img {
    transition: transform 0.3s ease;
}

.point:hover .point-img {
    transform: scale(1.2);
}

.point1 {
    right: 213px;
    bottom: 26px;
}

.point2 {
     right: 175px;
    bottom: 70px;
}

.point3 {
     right: 227px;
    bottom: 88px;
}

.point4 {
     right: 157px;
    bottom: 160px;
}

.point5 {
     right: 212px;
    bottom: 174px;
}

.point6 {
     right: 200px;
    bottom: 215px;
}

.point7 {
     right: 180px;
    bottom: 280px;
}

.point8 {
     right: 343px;
    bottom: 614px;
}

.regions-description {
    font-family: Inter;
    font-size: 18px;
    font-weight: 400;
    line-height: 22px;
    color: var(--text-muted);
    margin-bottom: 40px;
    width: 80%;
}

.regions-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.region-stat-item {
    margin-bottom: 20px;
}

.region-stat-item .stat-number {
    font-size: 30px;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.region-stat-item .stat-number-sign {
    color: var(--primary);
}

.region-stat-item .stat-text {
    font-family: Inter;
    font-size: 18px;
    font-weight: 400;
    line-height: 22px;
    color: var(--text-muted);
}

.regions-map {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.regions-map img {
    max-width: 100%;
    height: auto;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .statistics-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .stages-image {
        margin-top: 2rem;
        min-height: 300px;
    }
}

@media (max-width: 575.98px) {
    .statistics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-value {
        font-size: 28px;
    }

    .stat-label {
        font-size: 12px;
    }

    .stages-section {
        padding: 3rem 0;
    }
}

/* Order Section */
.order-section {
    padding: 80px 0;
    color: white;
}

.order-title {
    color: rgb(255, 255, 255);
    font-size: 90px;
    font-weight: 500;
    line-height: 98px;
    margin-bottom: 16px;
}

.order-subtitle {
    color: rgb(255, 255, 255);
    font-family: Inter;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 16px;
}

.order-section .container {
    background-color: var(--text-green);
    padding: 80px 100px;
    border-radius: 40px;
}

.order-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.order-features li {
    color: rgb(218, 235, 227);
    font-family: Inter;
    font-size: 18px;
    font-weight: 400;
    padding-left: 20px;
    position: relative;
}

.order-features li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: rgb(218, 235, 227);
}

.order-form {
}

/*.form-group {*/
/*    margin-bottom: 20px;*/
/*}*/

.order-form .form-select, .order-form .form-control {
    width: 100%;
    padding: 12px;
    border: none;
    border-bottom: 1px solid rgb(152, 195, 175);
    border-radius:0;
    background-color: var(--text-green);
    color: rgb(218, 235, 227);
}

.order-form .form-select:focus {
    box-shadow: none;
    color: rgb(218, 235, 227);
}

.order-form .form-select {
    color: rgb(218, 235, 227);
}

.order-form .form-control::placeholder{
    color: rgb(218, 235, 227);
}


.order-form .form-control:focus {
    background-color: var(--text-green);
    box-shadow: none;
    color: rgb(218, 235, 227);
}

.order-form .form-select option {
    background: var(--primary);
    color: white;
}

.form-agreement {
    margin-top: 20px;
    margin-bottom: 30px;
}


.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    border-radius: 5px;
}

/* Projects Section */
.projects-section {
    padding: 80px 0;
    background: white;
}

.projects-scroll-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    user-select: none;
    scroll-behavior: smooth;
    padding: 20px 0;
}

.projects-scroll-container::-webkit-scrollbar {
    display: none;
}

.projects-scroll {
    display: flex;
    gap: 20px;
}

.project-item {
    min-width: 100%;
    scroll-snap-align: start;
}

@media (max-width: 992px) {
    .calculator-content .section-title {
        width: 100%;
    }
    .projects-scroll-container {
        padding: 20px;
    }

    .project-item {
        min-width: 85%;
        scroll-snap-align: center;
}

.projects-scroll {
        padding-right: 20px;
    }
}

@media (max-width: 576px) {
    .project-item {
        min-width: 80%;
    }

    .navbar .container {
    padding: 0 15px;
    }
}

.project-card {
    flex: 0 0 47%;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s;
    background: rgb(218, 235, 227);
    padding: 30px;
    scroll-snap-align: start;
}

.project-image {
    /*height: 300px;*/
    aspect-ratio: 1.4;
    overflow: hidden;
    border-radius: 24px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-info {
    display: flex;
    margin-top: 20px;
    gap: 20px;
}

.project-info h3 {
    font-size: 30px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .project-card {
        /*flex: 0 0 300px;*/
    }
    
    .project-image {
        /*height: 200px;*/
    }
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.testimonials-slider {
    position: relative;
    margin-top: 40px;
    overflow: hidden;
}

.testimonials-track {
    position: relative;
    height: 400px;
}

.testimonial-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    gap: 30px;
    border-radius: 40px;
}

.testimonials-content-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 30px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    gap: 30px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s ease-in-out;
    visibility: hidden;
}

.testimonial-slide.active {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

.testimonial-content {
    flex: 1.6;
    display: flex;
    flex-direction: column;
    justify-content: start;
    background: rgb(218, 235, 227);
    border-radius: 40px;
    padding: 30px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h3 {
    margin: 0;
    color: var(--primary);
    font-size: 1.2rem;
}

.author-info span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.testimonial-text-wrapper {
    position: relative;
    margin: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
    overflow: hidden;
}

.testimonial-text {
    font-family: Inter;
    font-size: 16px;
    line-height: 24px;
    color: var(--text-muted);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s ease;
}

.testimonial-text.expanded {
    -webkit-line-clamp: unset;
    display: block;
}

.testimonial-image {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonials-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
    position: absolute;
    left: 30px;
    bottom: 30px;
    width: 58%;
}

.control-prev,
.control-next {
    background: none;
    border: none;
    cursor: pointer;
    padding: 16px 32px;
    border-radius: 70px;
    transition: background-color 0.3s;
    background-color: rgb(21, 138, 120);
    color: white;
}

.control-prev:hover,
.control-next:hover {
    background-color: rgba(21, 138, 120, 0.8);
}

.control-prev svg,
.control-next svg {
    fill: var(--primary);
}

.testimonials-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--text-muted);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background-color: var(--primary);
    transform: scale(1.2);
}

.project-year {
    color: rgb(37, 83, 85);
    font-family: TT Firs Neue;
    font-size: 30px;
    font-weight: 500;
}



/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.faq-subtitle {
    color: rgb(98, 98, 98);
    font-family: Inter;
    font-size: 16px;
    font-weight: 400;
    line-height: 19px;
}

.contact-info {
    margin-top: 40px;
}

.contact-info-text {
    display: flex;
    flex-wrap: wrap;
    gap: 2%;
}

.contact-item {
    margin-bottom: 20px;
    width: 48%;
}

.contact-item span {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.contact-item a {
    color: rgb(37, 83, 85);
    font-family: Inter;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: var(--primary);
}

.btn-company-mobile {
    display: none;
}

.contact-item p {
    margin: 0;
    color: rgb(37, 83, 85);
    font-family: Inter;
    font-size: 16px;
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 5px 15px;
    margin: 30px 0;
    flex-wrap: wrap;

}

.faq-header h3 {
    color: rgb(98, 98, 98);
    font-family: TT Firs Neue;
    font-size: 30px;
    font-weight: 400;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    /*background: white;*/
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-link:hover {
    /*background: var(--primary);*/
}

.social-link svg {
    fill: var(--primary);
    transition: fill 0.3s;
}

.social-link:hover svg {
    /*fill: white;*/
}

.faq-accordion {
    margin-top: 20px;
}

.faq-item {

}

.faq-button {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    color: var(--text-dark);
    font-size: 1.1rem;
    text-align: left;
    transition: color 0.3s;
}

.faq-button:hover {
    color: var(--primary);
}

.faq-icon {
    font-size: 44px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    color: var(--primary);
    transition: transform 0.3s ease, color 0.3s ease, background-color 0.3s ease;
    position: relative;
    flex-shrink: 0;
}

.faq-icon .plus,
.faq-icon .minus {
    position: absolute;
    font-size: 44px;
    transition: opacity 0.3s ease;
}

.faq-icon .minus {
    opacity: 0;
}

.faq-item.active {
    border-radius: 40px;
    box-shadow: 0px 4px 4px 0px rgba(21, 138, 120, 0.18);
    /* Зеленые цвета/100 */
    background: rgb(249, 255, 253);
}

.faq-item.active .faq-icon {
    color: var(--white);
    background-color: var(--primary);
}

.faq-item.active .faq-icon .plus {
    opacity: 0;
}

.faq-item.active .faq-icon .minus {
    opacity: 1;
}

.faq-item.active .faq-content {
    display: block;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.5;
    opacity: 0;
    transition: all 0.3s ease-out;
}

.faq-item.active .faq-content {
    max-height: 300px;
    opacity: 1;
    transition: all 0.5s ease-in;
}

.faq-header {
    cursor: pointer;
    padding: 20px;
    border-radius: 12px;
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-header:hover {
}

.faq-answer {
    padding: 0 0 20px;
    color: var(--text-muted);
    line-height: 1.6;
}

.faq-answer ul {
    list-style: none;
    padding: 0;
    margin: 15px 0 0;
}

.faq-answer li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 10px;
}

.faq-answer li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
}

@media (max-width: 768px) {
    .contact-info {
        margin-bottom: 40px;
    }
    
    .faq-button {
        padding: 15px 0;
        font-size: 1rem;
    }
}

/* Blog Section */
.blog-section {
    padding: 80px 0;
    background-color: white;
}

.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.blog-header .btn-company {

}

.blog-header .btn-company:hover {
    background-color: var(--primary);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.blog-card {
    background: rgb(218, 235, 227);
    border-radius: 20px;
    overflow: hidden;
    padding: 15px;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image {
    width: 100%;
    /*height: 180px;*/
    aspect-ratio: 1.4;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
}

.blog-image img {
        border-radius: 8px;
    height: 100%;
    width: 100%;
}

.blog-card h3 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 16px;
    font-weight: 400;
    color: var(--text-green);
    margin: 0 0 10px;
    line-height: 1.4;
}

.blog-card p {
    color: var(--text-muted);
    font-family: Inter;
    font-size: 14px;
    font-weight: 400;
    margin: 0;
    margin-bottom: 15px;
     display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    border-radius: 12px;
    padding: 13px 16px;
    background-color: white;
}

.author-text {
    display: flex;
    flex-direction: column;
}

.author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.author img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.blog-meta span {
    color: var(--text-muted);
    font-family: Inter;
    font-size: 14px;
    font-weight: 500;

}

.blog-meta time {
    color: var(--text-muted);
   font-family: Inter;
    font-size: 14px;
    font-weight: 400;
}

@media (max-width: 1200px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .running-text-container {
        padding: 40px 0;
    }
}

@media (max-width: 768px) {

    .blog-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 20px;
        margin: 0 calc(var(--container-padding) * -1);
        padding: 0 var(--container-padding);
        width: calc(100% + (var(--container-padding) * 2));
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .blog-grid::-webkit-scrollbar {
        display: none;
    }

    .blog-card {
        flex: 0 0 300px;
        min-width: 300px;
        scroll-snap-align: start;
    }

}

@media (max-width: 576px) {
    .blog-grid {
        gap: 15px;
    }

    .blog-card {
        flex: 0 0 280px;
        min-width: 280px;
    }
}

/* Footer */
.footer {

    color: white;
    padding-top: 80px;
}

.footer .container {
    background-color: var(--text-green);
    padding: 60px 100px;
    border-radius: 40px 40px 0 0 ;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-brand {
    max-width: 500px;
    display: flex;
    justify-content: end;
    flex-direction: column;
}

.footer-title {
    font-size: 60px;
    font-weight: 500;
    margin-bottom: 24px;
    line-height: 1.2;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    width: 50%;
    margin-bottom: 30px;
    font-family: Inter;
    font-size: 18px;
    font-weight: 400;
}

.footer-logo {
    width: 180px;
    margin-bottom: 20px;
}

.footer .social-links {
    display: flex;
    gap: 15px;
}

.footer .social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.footer .social-link:hover {

}

.footer .social-link svg {
    width: 50px;
    height: 50px;
}

.footer-nav h3,
.footer-contacts h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 20px;
}

.footer-nav ul,
.footer-contacts ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: 15px;
}

.footer-nav a {
    color: rgb(217, 217, 217);
    font-family: Inter;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: var(--white);
}

.footer-contacts li {
    margin-bottom: 20px;
}

.footer-contacts span {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.footer-contacts p {
    margin: 0;
    color: rgb(217, 217, 217);
    font-family: Inter;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 15px;
}

.footer-contacts a {
    color: rgb(217, 217, 217);
    font-family: Inter;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    display: block;
    transition: color 0.3s;
    margin-bottom: 15px;
}

.footer-contacts a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    margin: 0;
    color: rgb(217, 217, 217);
    font-family: Inter;
    font-size: 18px;
    font-weight: 400;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: rgb(217, 217, 217);
    font-family: Inter;
    font-size: 18px;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--white);
}

@media (max-width: 992px) {

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    .footer-title {
        width: 100%;
    }

    .footer-description {
        width: 100%;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        max-width: none;
    }
}

@media (max-width: 768px) {
    .blog-header {
        align-items: center;
    }
    .blog-header .section-title {
        margin-bottom: 0;
    }


    .footer {
        padding-top: 50px;
    }
    
    .footer-content {
        display: flex;
        flex-wrap: wrap;
        /*flex-direction: column;*/
        gap: 30px 2%;
    }

    .footer-nav {
        width: 49%;
    }

    .footer-contacts {
        width: 49%;
    }

    .footer-brand {
        order: 3;
    }
    
    .footer-title {
        font-size: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}

.container {
    width: 100%;
    margin: 0 auto;
}

@media (max-width: 1400px) {
    .container {
        max-width: 1140px;
    }

    .inner-container {
        padding: 0 80px;
    }


.stages-section .container, .order-section .container, .region-map, .footer .container  {
    padding: 50px 80px;
    }
}

@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }

        .inner-container {
        padding: 0 60px;
    }


.stages-section .container, .order-section .container, .region-map, .footer .container {
    padding: 40px 60px;
    }
}

@media (max-width: 768px) {
    .inner-container {
        padding: 0 40px;
    }


.stages-section .container, .order-section .container, .region-map, .footer .container {
    padding: 40px 40px;
    }
    .container {
        max-width: 540px;
    }

    .footer-description {
        width: 100%;
    }
     .footer .container {
        padding: 32px 20px;
        border-radius: 20px 20px 0 0;
        margin: 0;
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .container {
        max-width: 100%;
        padding: 0;
    }

    .footer-title {
        font-size: 30px;
    }

    .footer-description {
        font-size: 14px;
    }

    .footer-nav h3, .footer-contacts h3 {
    font-size: 16px;
}

    .footer-nav a, .footer-contacts p, .footer-contacts a {
        font-size: 14px;
    }

    .footer-logo {
        font-size: 36px;
        width: 100px;
    }

    .footer .social-links {
        margin: 0;
        gap: 18px;
    }

    .footer-content {
        margin-bottom: 15px;
    }

    .footer-bottom p {
        font-size: 14px;
    }

    .footer-links {
        flex-direction: row;
        width: 100%;
        justify-content: space-between;
    }

    .footer-links a {
         font-size: 14px;
    }

    .footer .social-link {
        width: 35px;
        height: 35px;
    }


}

/* Обновляем все места, где используется зеленый цвет */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.border-primary {
    border-color: var(--primary) !important;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.feature-icon {
    color: var(--primary);
}

.calculator-form input:focus,
.calculator-form select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem var(--primary-light);
}

.price-card:hover {
    border-color: var(--primary);
}

.testimonial-card::before {
    background-color: var(--primary);
}

.social-links a:hover {
    /*color: var(--primary);*/
}

.faq-item.active .faq-question {
    color: var(--primary);
}

.blog-card:hover {
    border-color: var(--primary);
}

/* Font faces */
@font-face {
    font-family: 'TT Firs Neue';
    src: url('../fonts/TTFirsNeue-Light.woff2') format('woff2'),
         url('../fonts/TTFirsNeue-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Firs Neue';
    src: url('../fonts/TTFirsNeue-Regular.woff2') format('woff2'),
         url('../fonts/TTFirsNeue-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Firs Neue';
    src: url('../fonts/TTFirsNeue-Medium.woff2') format('woff2'),
         url('../fonts/TTFirsNeue-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Firs Neue';
    src: url('../fonts/TTFirsNeue-DemiBold.woff2') format('woff2'),
         url('../fonts/TTFirsNeue-DemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Firs Neue';
    src: url('../fonts/TTFirsNeue-Bold.woff2') format('woff2'),
         url('../fonts/TTFirsNeue-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Firs Neue';
    src: url('../fonts/TTFirsNeue-ExtraBold.woff2') format('woff2'),
         url('../fonts/TTFirsNeue-ExtraBold.woff') format('woff');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Firs Neue';
    src: url('../fonts/TTFirsNeue-Italic.woff2') format('woff2'),
         url('../fonts/TTFirsNeue-Italic.woff') format('woff');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

.navbar .inner-container {
        display: flex;
    width: 100%;
    flex-wrap: inherit;
    align-items: center;
    justify-content: space-between;
}

@media (min-width: 1700px) {
    .container {
        max-width: 1620px;
    }
}

@media (min-width: 1850px) {
    .container {
        max-width: 1820px;
    }
}

/* Regions Section */
.regions-section {
    padding: 80px 0;
}

.regions-section .container {
    padding: 0;

    background-color: rgb(218, 235, 227);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: 100% 100%;
    border-radius: 40px;


}



/*---------------------------*/

.section-all-blogs {
    padding-top: 70px;
}

.breadcrumbs {
    margin-bottom: 80px;

    font-family: Inter;
    font-size: 16px;
    font-weight: 400;
}

.breadcrumbs-text {
     color: rgb(21, 138, 120);
    transition: color 0.3s ease;
}

.breadcrumbs-text:hover {
     color: var(--text-green);
}

/* Pagination Styles */
.pagination {
    display: flex;
    gap: 5px;
    align-items: center;
    margin-top: 40px;
    padding: 20px 0;
    justify-content: right;
}

.pagination-numbers {
    display: flex;
    gap: 8px;
    align-items: center;
}

.pagination-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 8px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    color: rgb(27, 50, 51);
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination-link:hover {
    background-color: #E8E8E8;
}

.pagination-current {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 8px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
        color: rgb(27, 50, 51);
    background: rgb(152, 195, 175);
}

.pagination-dots {
    color: var(--text-muted);
    padding: 0 4px;
}

.pagination-next {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 12px;
    color: var(--text-muted);
    background-color: #F4F4F4;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.pagination-next:hover {
    background-color: #E8E8E8;
}

.pagination-next svg {
    width: 16px;
    height: 16px;
}

/* Blog Detail Page */
.blog-detail {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.blog-container {
    display: flex;
    gap: 5%;
    position: relative;
}

.blog-detail-sidebar {
    position: sticky;
    top: 150px;
    height: fit-content;
    align-self: start;
    width: 30%;
}

.blog-detail-content {
    flex: 1;
    /*max-width: 100%;*/
    width: 65%;
}

.blog-detail-header {
    margin-bottom: 30px;
}

.blog-detail-title {
    color: rgb(27, 50, 51);
    font-family: TT Firs Neue;
    font-size: 60px;
    font-weight: 500;
    margin-bottom: 16px;
}

.blog-detail-meta {
    color: var(--text-muted);
    font-family: Inter;
    font-size: 14px;
    font-weight: 400;
    display: flex;
    gap: 5px;
}

.blog-detail-image {
    /*height: 400px;*/
    overflow: hidden;
    border-radius: 40px;
    margin-bottom: 60px;
}

.blog-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


.blog-detail-text p {
    color: rgb(98, 98, 98);
    font-family: Inter;
    font-size: 18px;
    font-weight: 400;
}

.blog-detail-author {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 12px;
}

.blog-detail-wrapper {
    padding: 30px 0;
    border-bottom: 1px solid rgb(217, 217, 217);
}

.blog-detail-wrapper:last-child {
    padding-bottom: 0;
    border: none;
}

.blog-detail-subtitle {
    color: rgb(27, 50, 51);
    font-family: Inter;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 15px;
}

.blog-detail-sidebar .contact-form .checkbox-label span{
    font-family: Inter;
    font-size: 14px;
    font-weight: 400;
    color: var(--text-muted);
}

.contact-form {
    border-radius: 16px;
/* Оттенки серого/100 */
    background: rgb(242, 242, 242);
    padding: 20px;
}

.contact-form h3 {
    color: rgb(27, 50, 51);
    font-family: TT Firs Neue;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 24px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: start;
}

.contact-form input[type="text"],
.contact-form input[type="tel"] {
    width: 100%;
    color: rgb(217, 217, 217);
    font-family: Inter;
    font-size: 16px;
    font-weight: 500;
    border: none;
    outline: none;
    padding: 10px;
    border-radius: 10px;
}

.contact-form input::placeholder {
        color: rgb(217, 217, 217);
    font-family: Inter;
    font-size: 16px;

}

.contact-form .btn-company {
    border-radius: 20px;
background: rgb(21, 138, 120);
    padding: 20px 60px;
    color: rgb(255, 255, 255);
    font-family: TT Firs Neue;
    font-size: 20px;
    font-weight: 500;

}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-muted);
}

.checkbox-label input[type="checkbox"] {
    margin-top: 5px;
}

.hero-image.mobile .background-image{
        display: none;
    }

.sloy-img-mobile {
        display: none;
    }
.testimonial-image-mobile {
    display: none;
    margin-top: auto;
    border-radius: 12px;
    overflow: hidden;
}

.testimonial-image-mobile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}
@media (max-width: 1400px) {
    .hero-title {
        line-height: 1;
        font-size: 70px;
    }

    .hero-subtitle {
        width: 90%;
    }

    .nav-link {
        font-size: 18px;
        padding: 15px 28px !important;
    }

    .section-title {
        font-size: 50px;
    }

    .project-info h3 {
        font-size: 26px;
    }

    .project-year {
        font-size: 26px;
    }

    .testimonials-controls {
        width: 56%;
    }
}

@media (max-width: 1200px) {

    .blog-detail-sidebar .contact-form h3 {
        font-size: 20px;
    }

    .contact-form .btn-company {
        padding: 20px 40px;
    }
    .blog-detail-title {
        font-size: 45px;
    }
    .testimonials-track {
    height: 500px;
}
    .section-title {
        font-size: 42px;
    }

    .section-subtitle {
        font-size: 26px;
    }

    .stat-text {
        font-size: 14px;
        line-height: 1;
    }

    .stats-container {
        gap: 1rem;
    }

    .navbar-brand {
        font-size: 40px;
    }

    .nav-link {
        font-size: 18px;
        padding: 15px 20px !important;
    }

    .order-title {
        font-size: 65px;
        line-height: 1;
    }
}

@media (max-width: 992px) {

    .blog-detail-sidebar .contact-form .checkbox-label span {
        font-size: 10px;
    }

    .contact-form .btn-company {
        padding: 20px 30px;
        font-size: 16px;
    }
        .testimonial-image.desktop-only {
            display: none;
        }
        .testimonial-slide {
        flex-direction: column;
        height: auto;
    }

    .testimonials-track {
        height: 600px;
    }

    .testimonial-image {
        height: 200px;
    }
     .testimonials-section {
        padding: 50px 0;
    }

    .testimonials-slider {
        margin: 0;
    }

    .testimonials-content-wrapper {
        padding: 20px;
    }

    .testimonial-content {
        padding: 20px;
    }

    .testimonials-controls {
        display: none;
    }
      .testimonial-image-mobile {
        display: block;
          aspect-ratio: 1.4;
    }

    .testimonials-section {
        padding: 50px 0;
    }

    .testimonials-slider {
        margin: 0;
        overflow: hidden;
        touch-action: pan-x;
    }

    .testimonials-track {
        position: static;
        height: auto;
        display: flex;
        width: 100%;
        transition: transform 0.3s ease-out;
    }

    .testimonial-background {
        position: static;
        display: flex;
        width: 100%;
        height: auto;
        gap: 0;
    }

    .testimonials-content-wrapper {
        position: static;
        display: flex;
        width: 90%;
        height: auto;
        padding: 0;
        gap: 5%;
    }

    .testimonial-slide {
        position: static;
        flex: 0 0 100%;
        width: 100%;
        min-width: 100%;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        gap: 0;
    }

    .testimonial-content {
        padding: 20px;
        width: 100%;
        border-radius: 20px;
    }

    .testimonial-author {
        margin-bottom: 15px;
    }

    .author-avatar {
        width: 40px;
        height: 40px;
    }

    .author-info h3 {
        font-size: 16px;
    }

    .author-info span {
        font-size: 14px;
    }

    .testimonial-text {
        font-size: 14px;
    }


    .regions-section {
        padding: 50px 0;
    }
    .navbar-toggler {
        border-radius: 12px;
        /* Зеленые цвета/700 */
        background: rgb(21, 138, 120);
        padding: 13px;
    }

    .navbar-toggler:focus {
    box-shadow: none;
}

    .hero-image .background-image{
        display: none;
    }



    .stats-container {
        gap: 0;
        justify-content: space-between;

    }

    .hero-title {
        font-size: 50px;
         margin: 0;
    }

    .stat_divider {
        height: auto;

    }

    .stat-card {
        padding: 0;
    }

     .calculator-image {
        display: none;
    }

        .product-image {
        display: none;
    }

         .sloy-img-mobile {
        display: block;
             width: 100%;
    }
}

@media (max-width: 768px) {
    .statistics-section {
        padding: 50px 0;
    }

    .statistics-section {
        padding: 50px 0;
        overflow: hidden;
    }

    .statistics-grid {
        gap: 20px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .statistics-grid::-webkit-scrollbar {
        display: none;
    }

    .blog-detail-sidebar {
        position: relative;
        right: 0;
        top: 0;
    }

        .contact-form .btn-company {
            width: 100%;
        }

    .blog-container {
        flex-wrap: wrap;
    }

    .breadcrumbs {
        margin-bottom: 30px;
    }

    .blog-detail-content {
        width: 100%;
    }

    .blog-detail-sidebar {
        width: 100%;
    }

    .stat-card {
        padding: 0.5rem;
        /*max-width: 110px;*/
        /*min-width: 80px;*/
        width: 35%;
        flex: 0 0 auto;
        scroll-snap-align: start;
    }

    .stat_divider {
        flex-shrink: 0;
    }

    .about-section {
        padding: 50px 0;
    }

    .about-gallery {
        padding: 0;
    }

    .stage-item:not(:first-child) {
    margin-top: -30px;
}

    .projects-section {
        padding: 50px 0;
    }

    .projects-scroll-container {
        padding: 0;
    }

    .project-card {
        padding: 20px;
    }

    .calculator-content {
        padding: 0;
    }

    .faq-section {
        padding: 50px 0;
    }

    .blog-section {
        padding: 50px 0;
        overflow: hidden;
    }

    .blog-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 20px;
        margin: 0;
        padding: 0 var(--container-padding);
        width: calc(100% + (var(--container-padding) * 2));
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        margin-bottom: 15px ;
    }

    .blog-grid::-webkit-scrollbar {
        display: none;
    }

    .blog-card {
        flex: 0 0 300px;
        min-width: 300px;
        scroll-snap-align: start;
    }

       .running-text {
        animation: runningText 5s linear infinite;
    }

    .running-text-section {
        padding: 40px 0;
    }

    .running-text-container {
        width: 100%;
        border-radius: 0;
        padding: 40px 0;
    }

    .running-text span {
        font-size: 18px;
        padding: 0 1rem;
    }





    .blog-detail {
        padding: 50px 0;
    }
}

@media (max-width: 576px) {
    .contact-item a {
        font-size: 16px;
        line-height: 1;
    }

    .contact-item:nth-child(3), .contact-item:nth-child(4) {
        width: 100%;
    }

    .blog-header .btn-company {
        display: none;
    }

    .btn-company-mobile {
        display: block;
        width: 100%;
        text-align: center;
    }

    .blog-header {
        margin-bottom: 25px;
    }

    .blog-detail-title {
        font-size: 30px;
    }

    .blog-detail-image {
        margin-bottom: 25px;
    }

    .blog-detail-text p {
        font-size: 16px;
    }

    .blog-detail-wrapper {
        padding: 23px 0;
    }


    .blog-grid {
        gap: 5px;
    }

    .project-info h3 {
    font-size: 14px;
}

    .project-year {
        font-size: 14px;
    }

    .statistics-grid {
        gap: 10px;
    }

    .stat-card {
        padding: 0;
    }


    .hero-title {
        width: 100%;
        font-size: 8.5vw;
        line-height: 1.3;

    }

      .hero-image.mobile .background-image{
        display: block;
        margin-bottom: 25px;
        margin-top: -90px;
    }

    .hero-subtitle {
        width: 100%;
    }


    .hero-subtitle {
        font-size: 16px;
    }

    .btn-company {
        font-size: 18px;
        padding: 14px 40px;
    }

    .stat-number {
        font-size: 24px;
    }

    .stat-text {
        font-size: 14px;
    }

    .stats-container {
        gap: 15px;
    }



    .product-section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 30px;
        margin-bottom: 25px;
    }

    .section-subtitle {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .product-info-title {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .product-specs h4 {
        font-size: 14px;
    }

    .product-specs p {
        font-size: 14px;
        margin-bottom: 16px;
    }
    
    .layer-info h4 {
        font-size: 14px;
    }

    .layer-info p {

    }

    .layer-number {
        margin-top: 5px;
        width: 15px;
        height: 15px;
        font-size: 10px;
    }

    .layer-number::after {
        width: 26px;
        height: 26px;
    }

    .layer-item {
        align-items: self-start;
    }

    .product-info .btn-company {
        display: block;
        text-align: center;
        width: 100%;
    }



    .calculator-section {
        padding: 50px 0;
    }

    .calculator-content .section-subtitle {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .form-group label {
        font-size: 12px;
    }

    .calculator-form .form-group .form-control, .form-select {
        font-size: 14px;
    }

    .form-group {
        margin-bottom: 15px;
    }



    .about-description {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .about_col {
        margin: 0;
    }

    .about-title-group .btn-company {
        display: none;
    }

    .btn-company.mobile {
        display: block;
        width: 100%;
        text-align: center;
    }

    .about-gallery {
        flex-direction: column;
        gap: 15px;
    }

    .about-header {
        margin-bottom: 30px;
    }

    .stages-section .container {
        padding: 32px 20px;
    }

    .stage-title {
        font-size: 16px;
    }

    .stage-icon {
        width: 40px;
        height: 40px;
        font-size: 36px;
        border-radius: 12px;
    }

    .stage-list li {
        font-size: 14px;
    }

    .stage-note {
        font-size: 18px;
    }

    .stage-header {
        padding: 20px 16px;
    }

    .stage-content {
        padding: 0 16px;
    }

    .stage-tag {
        font-size: 12px;
        padding: 4px 8px;
    }

    .stage-item {
        border-radius: 20px;
    }

    .stage-item:not(:last-child) {
        border-radius: 20px 20px 0 0;
    }

    .stage-item.active {
        border-radius: 20px;
    }

    .order-section {
        padding: 50px 0;
    }

    .order-section .container {
        padding: 32px 20px;
    }

    .order-title {
        font-size: 30px;
        line-height: 1;
    }

    .order-features li {
        font-size: 14px;
    }

    .order-features {
        margin-bottom: 30px;
    }

    .author-avatar {
        width: 40px;
        height: 40px;
    }

    .author-info h3 {
        font-size: 16px;
    }

    .author-info span {
        font-size: 14px;
    }

    .testimonial-author {
        margin-bottom: 15px;
    }

    .testimonial-text {
        font-size: 14px;
    }

    .testimonial-text.expanded {
        padding-right: 0;
    }



    .regions-description {
        font-size: 14px;
        width: 100%;
        margin-bottom: 25px;
    }

    .regions-stats {
        display: flex;
        flex-wrap:wrap ;
        gap: 20px;
    }

    .stat-number {
        font-size: 24px;
    }

    .stat-text {
        font-size: 14px;
    }




.point svg {
    width: 15px;
    height: 15px;
}

.faq-header h3 {
    font-size: 16px;
}

.faq-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgb(218, 235, 227);
}

.faq-content {
    padding: 0 16px 24px 16px;
}

.faq-content p {
    font-size: 16px;
}
}

.faq-content p {
   color: rgb(98, 98, 98);
    font-family: TT Firs Neue;
    font-size: 16px;
    font-weight: 400;
}

@media (max-width: 393px) {
    .region-stat-item .stat-text {
        font-size: 12px;
        line-height: 1;
        max-width: 90px;
    }


.region-stat-item .stat-number {
        font-size: 25px;
    }
}

.social-links p {
        margin: 0;
    color: rgb(98, 98, 98);
    font-family: Inter;
    font-size: 16px;
    font-weight: 400;
    width: 100%;
}

@media (max-width: 360px) {
    .pagination-next {
        padding: 10px;
    }
    .footer-title {
        font-size: 23px;
    }

    .footer-description {
        font-size: 13px;
    }
    .hero-image.mobile .background-image {
        margin-top: -70px;
    }

    .stat-text {
        font-size: 12px;
    }

    .btn-company {
        padding: 14px 30px;
    }

    .contact-item a {
        font-size: 13px;
        text-wrap: nowrap;
    }

    .contact-item p {
        font-size: 14px;
    }

}



.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card-link:hover {
    color: inherit;
}

.stage-image-mobile {
    display: none;
    margin-top: 20px;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1.4;
}

.stage-image-mobile img {
    width: 100%;
    object-fit: cover;
    border-radius: 12px;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
    height: 100%;
}

.desktop-only {
    display: block;
}

@media (max-width: 768px) {
    .stage-image-mobile {
        display: block;
    }

    .desktop-only {
        display: none;
    }



    .stage-title {
        font-size: 16px;
    }

    .stage-icon {
        width: 40px;
        height: 40px;
        font-size: 36px;
        border-radius: 12px;
    }

    .stage-list li {
        font-size: 14px;
    }

    .stage-note {
        font-size: 18px;
    }

    .stage-header {
        padding: 20px 16px;
    }

    .stage-content {
        padding: 0 16px;
    }

    .stage-tag {
        font-size: 12px;
        padding: 4px 8px;
    }

    .stage-item {
        border-radius: 20px;
    }

    .stage-item:not(:last-child) {
        border-radius: 20px 20px 0 0;
    }

    .stage-item.active {
        border-radius: 20px;
    }


}







@media (max-width: 768px) {
    .inner-container {
        padding: 0 20px;
    }
}

.section-all-blogs .blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    overflow: visible;
    -webkit-overflow-scrolling: initial;
    scrollbar-width: initial;
    -ms-overflow-style: initial;
    scroll-snap-type: none;
}

.section-all-blogs .blog-card {
    scroll-snap-align: none;
    min-width: initial;
    flex: initial;
}

@media (max-width: 992px) {
    .section-all-blogs .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        overflow: visible;
        scroll-behavior: initial;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 40px 0;
    }
    .section-all-blogs .blog-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 0;
        width: 100%;
        overflow: visible;
        scroll-behavior: initial;
        -webkit-overflow-scrolling: initial;
        scrollbar-width: initial;
        -ms-overflow-style: initial;
    }

    .section-all-blogs .blog-image {
        flex-shrink: 0;
        aspect-ratio: 1.5;
    }

    .section-all-blogs .blog-card {
        width: 100%;
        scroll-snap-align: none;
        min-width: initial;
        flex: initial;
    }
}

/* Modal Styles */
.modal-dialog {
    max-width: 710px;
}

.modal-content {
    background: var(--white);
    border-radius: 40px;
    border: none;
    padding: 40px;
    position: relative;
}

.modal-content .btn-company {
    width: 100%;
    text-align: center;
}

.modal-content .btn-close {
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 1;
    opacity: 1;
    filter: brightness(0) invert(1);
}

.modal-body {
    padding: 0;
}

.modal-body h3 {
    color: var(--text-dark);
    font-family: TT Firs Neue;
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 16px;
    text-align: center;
}

.modal-body p {
    color: var(--text-muted);
    font-family: Inter;
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 40px;
    line-height: 1;
    text-align: center;
}

.modal-body .calculator-form {
    margin-top: 0;
}

.modal-body .form-select,
.modal-body .form-control {
    width: 100%;
    padding: 12px;
    border: none;
    border-bottom: 1px solid rgb(152, 195, 175);
    background: none;
    border-radius: 0;
    box-shadow: none;
    color: rgb(37, 83, 85);
}

.modal-body .form-select:focus,
.modal-body .form-control:focus {
    border: none;
    border-bottom: 1px solid rgb(152, 195, 175);
    box-shadow: none;
}

.modal-body .form-select option {
    background: var(--white);
    color: var(--text-muted);
}

.modal-body .form-control::placeholder, .modal-body .form-select::placeholder {
    color: rgb(218, 235, 227);
}

.modal-body .checkbox-label span {
    color: var(--text-muted);
}

#successModal .modal-content {
    padding: 32px 20px;
    max-width: 400px;
    margin: 0 auto;
}

#successModal .modal-body h3 {
    margin-bottom: 8px;
}

#successModal .modal-body p {
    margin-bottom: 0;
}

.background-image-adapt {
    display: none;
}

@media (max-width: 992px) {
    .background-image-adapt {
        display: block;
    }
    .modal-dialog {
    max-width: 500px;
}
    .modal-body h3 {
        font-size: 26px;
    }

    .modal-body p {
        font-size: 16px;
    }

    .modal-content {
        padding: 30px;
    }
}

@media (max-width: 992px) {

    .navbar-nav {
        padding: 10px;
    }
      .navbar-brand {
        font-size: 30px;
          padding: 0;
    }
    .testimonial-text {
        position: relative;
        max-height: 144px; /* 6 lines * 24px line-height */
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .testimonial-text.expanded {
        max-height: none;
    }

@media (max-width: 576px) {
     .stages-section .container {
        padding: 32px 20px;
    }
        .navbar-brand {
            width: 60px;
        font-size: 20px;
    }
    .background-image-adapt {
    display: none;
}
    .section-all-blogs {
        padding-top: 40px;
    }
     .project-card {
        padding: 15px;
    }
    .projects-scroll {
    gap: 10px;
}
    .modal-dialog {
        margin-right: 20px;
        margin-left: 20px;
    }

     .modal-dialog {
    max-width: 100%;
}

       .modal-body h3 {
        font-size: 24px;
    }

    .modal-body p {
        font-size: 14px;
    }

    .modal-content {
        padding: 32px 20px;
    }

    #successModal .modal-content {
    padding: 32px 20px;
    max-width: 300px;
    margin: 0 auto;
}
}




    .read-more-btn {
        display: none;
        margin-top: 10px;
        background: none;
        border: none;
        color: var(--primary);
        font-family: Inter;
        font-size: 14px;
        font-weight: 500;
        padding: 0;
        cursor: pointer;
    }

    .read-more-btn.visible {
        display: block;
    }
}

@media (max-width: 1700px) {

.point1 {
    right: 223px;
    bottom: 26px;
}

.point2 {
     right: 185px;
    bottom: 70px;
}

.point3 {
     right: 227px;
    bottom: 88px;
}

.point4 {
     right: 167px;
    bottom: 160px;
}

.point5 {
     right: 222px;
    bottom: 174px;
}

.point6 {
     right: 210px;
    bottom: 215px;
}

.point7 {
     right: 190px;
    bottom: 280px;
}

.point8 {
     right: 363px;
    bottom: 614px;
}
}

@media (max-width: 1400px) {

.point1 {
    right: 200px;
    bottom: 26px;
}

.point2 {
     right: 165px;
    bottom: 70px;
}

.point3 {
     right: 205px;
    bottom: 88px;
}

.point4 {
     right: 155px;
    bottom: 160px;
}

.point5 {
     right: 200px;
    bottom: 160px;
}

.point6 {
     right: 190px;
    bottom: 200px;
}

.point7 {
     right: 170px;
    bottom: 250px;
}

.point8 {
     right: 330px;
    bottom: 550px;
}
}

@media (max-width: 1200px) {

.point1 {
    right: 190px;
    bottom: 50px;
}

.point2 {
     right: 155px;
    bottom: 90px;
}

.point3 {
     right: 190px;
    bottom: 105px;
}

.point4 {
     right: 145px;
    bottom: 160px;
}

.point5 {
     right: 190px;
    bottom: 170px;
}

.point6 {
     right: 180px;
    bottom: 210px;
}

.point7 {
     right: 160px;
    bottom: 270px;
}

.point8 {
     right: 320px;
    bottom: 530px;
}

.regions-description {
    width: 90%;
}

    .regions-section .container {
        background-position: unset;
    }
}

@media (max-width: 992px) {

.point1 {
    right: 135px;
    bottom: 20px;
}

.point2 {
     right: 110px;
    bottom: 50px;
}

.point3 {
     right: 140px;
    bottom: 60px;
}

.point4 {
     right: 105px;
    bottom: 100px;
}

.point5 {
     right: 130px;
    bottom: 110px;
}

.point6 {
     right: 120px;
    bottom: 140px;
}

.point7 {
     right: 110px;
    bottom: 180px;
}

.point8 {
     right: 240px;
    bottom: 360px;
}

.regions-description {
    width: 100%;
}

    .regions-section .container {
        background-position: 100% 100%;
    }

     .region-map {
        padding: 40px 60px 400px 60px;
          background: linear-gradient(180deg, rgb(218, 235, 227) 0%, rgba(218, 235, 227, 0.89) 58%, rgba(218, 235, 227, 0) 65%), linear-gradient(90deg, rgb(218, 235, 227) 0%, rgba(218, 235, 227, 0.8) 21%, rgba(218, 235, 227, 0) 47%);
    }
}

@media (max-width: 768px) {

.point1 {
    right: 100px;
    bottom: 10px;
}

.point2 {
     right: 80px;
    bottom: 30px;
}

.point3 {
     right: 100px;
    bottom: 40px;
}

.point4 {
     right: 75px;
    bottom: 70px;
}

.point5 {
     right: 100px;
    bottom: 80px;
}

.point6 {
     right: 90px;
    bottom: 100px;
}

.point7 {
     right: 80px;
    bottom: 130px;
}

.point8 {
     right: 170px;
    bottom: 280px;
}


     .region-map {
        padding: 32px 40px 280px 40px;
          background: linear-gradient(180deg, rgb(218, 235, 227) 0%, rgba(218, 235, 227, 0.89) 63%, rgba(218, 235, 227, 0) 73%), linear-gradient(90deg, rgb(218, 235, 227) 0%, rgba(218, 235, 227, 0.8) 21%, rgba(218, 235, 227, 0) 47%);
    }
}

@media (max-width: 576px) {

            .point1 {
            right: 17.5%;
            bottom: 1%;
        }


.point2 {
    right: 14%;
    bottom: 5%;
}

.point3 {
    right: 19%;
    bottom: 4%;
}

.point4 {
    right: 13%;
    bottom: 9%;
}

.point5 {
    right: 18%;
    bottom: 10%;
}

.point6 {
    right: 17%;
    bottom: 12%;
}

.point7 {
     right: 16%;
    bottom: 16%;
}

.point8 {
    right: 32%;
    bottom: 33%;
}
     .region-map {
        padding: 32px 20px 240px 20px;
          background: linear-gradient(180deg, rgb(218, 235, 227) 0%, rgba(218, 235, 227, 0.89) 63%, rgba(218, 235, 227, 0) 73%), linear-gradient(90deg, rgb(218, 235, 227) 0%, rgba(218, 235, 227, 0.8) 21%, rgba(218, 235, 227, 0) 47%);
    }
}

@media (max-width: 470px) {

            .point1 {
            right: 18%;
            bottom: 1%;
        }


.point2 {
    right: 15%;
    bottom: 5%;
}

.point3 {
    right: 19%;
    bottom: 4%;
}

.point4 {
    right: 13%;
    bottom: 9%;
}

.point5 {
    right: 18%;
    bottom: 9%;
}

.point6 {
    right: 17%;
    bottom: 11%;
}

.point7 {
     right: 16%;
    bottom: 14%;
}

.point8 {
    right: 32%;
    bottom: 29%;
}
     .region-map {
        padding: 32px 20px 210px 20px;
          background: linear-gradient(180deg, rgb(218, 235, 227) 0%, rgba(218, 235, 227, 0.89) 63%, rgba(218, 235, 227, 0) 73%), linear-gradient(90deg, rgb(218, 235, 227) 0%, rgba(218, 235, 227, 0.8) 21%, rgba(218, 235, 227, 0) 47%);
    }
}

@media (max-width: 420px) {

            .point1 {
            right: 18%;
            bottom: 1%;
        }


.point2 {
    right: 15%;
    bottom: 5%;
}

.point3 {
    right: 19%;
    bottom: 3%;
}

.point4 {
    right: 13%;
    bottom: 8%;
}

.point5 {
    right: 18%;
    bottom: 8%;
}

.point6 {
    right: 17%;
    bottom: 10%;
}

.point7 {
     right: 16%;
    bottom: 13%;
}

.point8 {
    right: 32%;
    bottom: 26%;
}
     .region-map {
        padding: 32px 20px 170px 20px;
          background: linear-gradient(180deg, rgb(218, 235, 227) 0%, rgba(218, 235, 227, 0.89) 67%, rgba(218, 235, 227, 0) 75%), linear-gradient(90deg, rgb(218, 235, 227) 0%, rgba(218, 235, 227, 0.8) 21%, rgba(218, 235, 227, 0) 47%);
    }
}

@media (max-width: 360px) {

            .point1 {
            right: 18%;
            bottom: 1%;
        }


.point2 {
    right: 13%;
    bottom: 3%;
}

.point3 {
    right: 19%;
    bottom: 3%;
}

.point4 {
    right: 13%;
    bottom: 6%;
}

.point5 {
    right: 18%;
    bottom: 6%;
}

.point6 {
    right: 17%;
    bottom: 7%;
}

.point7 {
     right: 16%;
    bottom: 10%;
}

.point8 {
    right: 32%;
    bottom: 21%;
}
     .region-map {
        padding: 32px 20px 110px 20px;
          background: linear-gradient(180deg, rgb(218, 235, 227) 0%, rgba(218, 235, 227, 0.89) 73%, rgba(218, 235, 227, 0) 80%), linear-gradient(90deg, rgb(218, 235, 227) 0%, rgba(218, 235, 227, 0.8) 21%, rgba(218, 235, 227, 0) 47%);
    }
}

/* Custom Dropdown Styles */
.custom-select {
    position: relative;
    width: 100%;
}

.custom-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background-color: var(--white);
    border: 1px solid rgba(27, 50, 51, 0.1);
    border-radius: 20px;
    cursor: pointer;
    font-size: 16px;
    color: var(--text-dark);
    transition: all 0.3s ease;
    box-shadow: 0px 2px 4px 0px rgba(37, 83, 85, 0.18);
}

.custom-select-trigger.placeholder {
    color: var(--text-muted);
}

.custom-select-trigger::after {
    content: '';
    width: 14px;
    height: 8px;
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 7L13 1' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease;
}

.custom-select.open .custom-select-trigger::after {
    transform: rotate(180deg);
}

.custom-select-trigger:hover {
    border-color: var(--primary);
}

.custom-select.open .custom-select-trigger {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-color: var(--primary);
}

.custom-select-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--primary);
    border-top: none;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.custom-select.open .custom-select-options {
    max-height: 300px;
    opacity: 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.custom-select-option {
    padding: 16px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.custom-select-option:hover,
.custom-select-option.focused {
    background-color: var(--primary-light);
    color: var(--primary);
}

.custom-select-option.selected {
    background-color: var(--primary-light);
    color: var(--primary);
    font-weight: 500;
}

.custom-select-option:last-child {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

/* Calculator form specific styles */
.calculator-form .custom-select {
    margin-bottom: 20px;
}

/* Order form specific styles */
.order-form .custom-select {
    margin-bottom: 15px;
}

.order-form .custom-select-trigger, .modalOrderForm .custom-select-trigger {
    background: none;
    box-shadow: none;
    border: none;
    border-bottom: 1px solid rgb(152, 195, 175);
    border-radius: 0;
    color: rgb(37, 83, 85);
}

.order-form .custom-select-trigger {
    color: rgb(218, 235, 227);
}

.order-form .custom-select-trigger.placeholder, .modalOrderForm .custom-select-trigger.placeholder {
    color: rgb(218, 235, 227);
    opacity: 1;
}

.order-form .custom-select-option, .modalOrderForm .custom-select-option{
    color: var(--text-muted);
}

.collapse.show {
    margin-top: 10px;
}

@media (max-width: 768px) {
    .custom-select-trigger {
        padding: 15px;
        font-size: 14px;
    }
    
    .custom-select-option {
        padding: 12px 15px;
        font-size: 14px;
    }
}

.invalid-feedback {
    display: none;
    color: #dc3545;
    font-size: 14px;
    margin-top: 4px;
}

.form-control.is-invalid {
    border-color: #dc3545;
}

.form-control.is-invalid + .invalid-feedback {
    display: block;
}

/* Обновленные медиа-запросы для контейнера */
@media (min-width: 580px) and (max-width: 1700px) {
    :root {
        --container-padding: 40px;
    }
    
    .container {
        max-width: 95%;
        margin: 0 auto;
    }
    
    .inner-container {
        padding: 0 var(--container-padding);
    }
}

@media (min-width: 992px) and (max-width: 1700px) {
    :root {
        --container-padding: 60px;
    }
    
    .container {
        max-width: 95%;
    }
}

@media (min-width: 1200px) and (max-width: 1700px) {
    .container {
        max-width: 95%;
    }
}