@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

:root {
    --primary: #E1C197;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: #fff;
    line-height: 1.2;
    min-height: 100vh;
}

.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #E5E5E5;
    z-index: 1000;
}

.header-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    height: 63px;
    width: auto;
}

.operator-info {
    text-align: right;
    margin-right: 24px;
}

.operator-status {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.status-dot {
    width: 8px;
    height: 8px;
}

.operator-time {
    color: #666;
    font-size: 14px;
}

.phone-number {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
}

.mobile-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #E5E5E5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    padding: 0;
    color: #333;
}

.mobile-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: #fff;
    transition: all 0.3s ease;
    z-index: 999;
    padding: 60px 30px;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 32px;
    background: none;
    border: none;
    cursor: pointer;
}

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

.mobile-nav a {
    color: #333;
    text-decoration: none;
    font-size: 18px;
}

.hero-section {
    padding-top: 80px;
    position: relative;
    overflow: hidden;
    flex-grow: 1;
    background: #fff;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.hero-content {
    padding: 40px 0;
    max-width: 600px;
}

.hero-title {
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 16px;
}

.hero-subtitle {
    color: #666;
    margin-bottom: 40px;
}

.hero-image {
    position: relative;
    width: 100%;
}

.desktop-image {
    display: none;
}

.mobile-image {
    display: block;
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-check {
    width: 24px;
    height: 24px;
    border: 1px solid var(--primary);
    border-radius: 50%;
    position: relative;
}

.feature-check::after {
    content: "✓";
    color: var(--primary);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
}

.feature-item p:first-child {
    font-weight: 500;
}

.feature-item p:last-child {
    color: #666;
    font-size: 14px;
}

.btn-primary {
    background: var(--primary);
    color: #000;
    padding: 16px 32px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
}

@media (min-width: 1024px) {
    .hero-section {
        min-height: 690px;
        display: flex;
    }

    .hero-image {
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
    }

    .desktop-image {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .mobile-image {
        display: none;
    }

    .hero-content {
        padding: 80px 0;
        max-width: 45%;
    }

    .hero-title {
        /*font-size: 44px;*/
        margin-bottom: 24px;
    }

    .features-list {
        flex-direction: row;
        gap: 40px;
    }

    .feature-check {
        width: 32px;
        height: 32px;
    }

    .btn-primary {
        width: auto;
    }
    
    .container {
        padding: 0 80px;
    }
}

.hero-text-block {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 40px;
}

.status-dot-hero {
    width: 16px;
    height: 16px;
}

.products-section {
    padding: 80px 0;
    background: #F5F5F5;
}

.section-title {
    font-size: 32px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 24px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 8px;
}

.section-description {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-bottom: 40px;
}

.product-card {
    padding: 16px;
    background: #fff;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.product-card.active {
    background: var(--primary);
    border-color: var(--primary);
}

.product-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    background: #fff;
    padding: 24px;
    border-radius: 8px;
}

.product-images {
    position: relative;
}

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

.image-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 16px;
}

.prev-btn,
.next-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    cursor: pointer;
}

.installation-title {
    font-weight: 500;
    margin-bottom: 16px;
}

.installation-options {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}

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

.features-list {
    list-style: none;
    margin-bottom: 24px;
}

.features-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
}

.features-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: var(--primary);
    border-radius: 50%;
}

.price-block {
    margin-bottom: 24px;
}

.price-label {
    color: #666;
    margin-bottom: 8px;
}

.price-amount {
    font-size: 24px;
    font-weight: 600;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.order-btn {
    background: var(--primary);
    color: #000;
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
}

.measure-link {
    color: var(--primary);
    text-align: center;
    text-decoration: none;
}

@media (min-width: 768px) {
    .product-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .action-buttons {
        flex-direction: row;
        align-items: center;
    }
}
.sub-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 24px 0;
}

.sub-product-card {
    padding: 12px 24px;
    background: #fff;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.sub-product-card.active {
    background: var(--primary);
    border-color: var(--primary);
}

@media (min-width: 768px) {
    .sub-products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
.slider {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.product-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-image.active {
    opacity: 1;
}
.portfolio-section {
    background: #F5F5F5;
    padding: 80px 0;
}

.portfolio-header {
    text-align: center;
    margin-bottom: 40px;
}

.portfolio-header h2 {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 8px;
}

.portfolio-header p {
    font-size: 24px;
    color: #666;
}

.portfolio-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.portfolio-btn {
    padding: 12px 24px;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.portfolio-btn.active {
    background: var(--primary);
    border-color: var(--primary);
}

.portfolio-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.portfolio-item {
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 8px;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

@media (min-width: 768px) {
    .portfolio-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .portfolio-gallery {
        grid-template-columns: repeat(4, 1fr);
    }
}

.products-section {
    background: #fff;
    padding: 80px 0;
}

.portfolio-section {
    background: #F5F5F5;
    padding: 80px 0;
    margin-top: 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 8px;
}

.section-header p {
    font-size: 24px;
    color: #666;
}

.products-section + .portfolio-section {
    margin-top: 0;
}
.measure-call {
    background: #b99889;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.measure-content {
    position: relative;
    z-index: 2;
}

.measure-text {
    max-width: 600px;
    color: #fff;
}

.measure-text h2 {
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 8px;
}

.measure-text h3 {
    font-size: 36px;
    font-weight: 400;
    margin-bottom: 40px;
}

.measure-features {
    margin-bottom: 40px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.check-icon {
    width: 24px;
    height: 24px;
    background: #fff;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
}

.check-icon::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #b99889;
}

.measure-form {
    max-width: 400px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    border: 1px solid #c6bebe;
    padding: 12px;
    border: none;
    border-radius: 8px;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background: #E1C197;
    border: none;
    border-radius: 8px;
    color: #000;
    font-weight: 500;
    cursor: pointer;
}

.measure-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
}

.measure-image img {
    position: absolute;
    top: 50%;
    right: -15%;
    transform: translateY(-50%);
    width: 100%;
    height: auto;
    max-width: none;
}

@media (max-width: 768px) {
    .measure-call {
        padding: 40px 20px;
        min-height: auto;
    }
 
    .measure-image {
        position: absolute;
        bottom: -500px;
        right: 43px;
        width: 100%;
        height: auto;
        z-index: 1;
        pointer-events: none;
    }
 
    .measure-image img {
        width: 100%;
        max-width: 500px;
        transform: rotate(-15deg);
    }
 
    .measure-content {
        position: relative;
        z-index: 2;
        margin-bottom: 200px;
    }
 }
 .faq-section {
    padding: 80px 0;
    background: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
}

.section-title span {
    color: #666;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #E5E5E5;
    margin-bottom: 16px;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 500;
    margin: 0;
}

.toggle-icon {
    width: 24px;
    height: 24px;
    position: relative;
    flex-shrink: 0;
}

.toggle-icon::before,
.toggle-icon::after {
    content: '';
    position: absolute;
    background: #333;
    transition: transform 0.3s ease;
}

.toggle-icon::before {
    width: 2px;
    height: 16px;
    top: 4px;
    left: 11px;
}

.toggle-icon::after {
    width: 16px;
    height: 2px;
    top: 11px;
    left: 4px;
}

.faq-item.active .toggle-icon::before {
    transform: rotate(90deg);
}

.faq-answer {
    display: none;
    padding: 0 0 16px;
    color: #666;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    display: block;
}
.contacts-section {
    padding: 80px 0;
    background: #f9f9f9;
}

.contacts-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-item {
    margin-bottom: 32px;
}

.contact-item h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
}

.contact-item p {
    color: #666;
    margin-bottom: 8px;
}

.contact-item a {
    color: #333;
    text-decoration: none;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary);
    color: #fff;
}

.contacts-map iframe {
    border-radius: 12px;
}

@media (max-width: 768px) {
    .contacts-wrapper {
        grid-template-columns: 1fr;
    }

    .contacts-map {
        height: 300px;
    }
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 9999;
}

.modal-window {
    background: white;
    width: 100%;
    max-width: 650px;
    padding: 24px;
    border-radius: 8px;
    position: relative;
}

.modal-close {
    position: absolute;
    right: 9px;
    top: 0px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 40px;
    color: #666;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-right: 32px;
}

.title-with-icon {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.title-with-icon span {
    font-size: 18px;
    font-weight: 500;
}

.modal-header p {
    color: #666;
    font-size: 14px;
}

.step-count {
    color: #666;
}

.step-content h3 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 20px;
}

.form-select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    appearance: none;
    background: url("data:image/svg+xml;charset=utf-8,%3Csvg width='10' height='6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23000' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 16px center/10px 6px;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
}

.range-container {
    margin-top: 30px;
}

.range-input {
    width: 100%;
    margin-bottom: 10px;
}

.range-values {
    display: flex;
    justify-content: space-between;
    color: #666;
}

.error-message {
    margin-top: 16px;
    padding: 12px;
    background: #eb5757;
    color: white;
    border-radius: 4px;
    text-align: center;
    display: none;
}

.error .error-message {
    display: block;
}

.modal-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 24px;
}

.btn-back, .btn-next {
    padding: 12px 32px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-back {
    background: #f5f5f5;
}

.btn-next {
    background: #E1C197;
}

.form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
    font-size: 16px;
}

@media (max-width: 768px) {
    .modal-window {
        padding: 20px;
    }
    
    .title-with-icon span {
        font-size: 16px;
    }
    
    .step-content h3 {
        font-size: 20px;
    }
    
    .btn-back, .btn-next {
        padding: 10px 20px;
    }
}
.form-group {
    margin-bottom: 16px;
}

.form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.input-error {
    color: #eb5757;
    font-size: 12px;
    margin-top: 4px;
    display: none;
}

.error .input-error {
    display: block;
}

.success-message {
    text-align: center;
    padding: 40px 20px;
}

.success-message h3 {
    margin-bottom: 8px;
}

.success-message p {
    color: #666;
}
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: #fff;
    transition: all 0.3s ease;
    z-index: 1001;
    padding: 60px 30px;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 32px;
    background: none;
    border: none;
    cursor: pointer;
}

.buttons-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-callback {
    background: transparent;
    color: #000;
    padding: 16px 32px;
    font-size: 16px;
    border: 2px solid var(--primary);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-callback:hover {
    background: var(--primary);
}

@media (max-width: 768px) {
    .buttons-group {
        flex-direction: column;
    }
    
    .btn-callback {
        width: 100%;
    }
}