/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

/* Запрет выделения для большинства элементов, НО НЕ для интерактивных */
body, div, section, header, nav, main, footer, h1, h2, h3, h4, h5, h6, p, span, img {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Разрешаем взаимодействие с формами */
input, textarea, select, button, label {
    -webkit-user-select: auto !important;
    -khtml-user-select: auto !important;
    -moz-user-select: auto !important;
    -ms-user-select: auto !important;
    user-select: auto !important;
}

/* Предотвращение зума на всех устройствах */
html, body {
    width: 100%;
    height: 100%;
    position: relative;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Жёсткий контроль ширины всех элементов */
* {
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Предотвращение горизонтального скролла */
body, html, .container, section, div, header, main, footer, form, input, select, textarea, button {
    overflow-x: hidden !important;
}

/* Дополнительные ограничения ширины для мобильных */
@media (max-width: 767px) {
    * {
        max-width: 100vw !important;
    }
    
    .container {
        padding: 0 8px !important;
    }
    
    .constructor__form,
    .size-card,
    .about__stat,
    .hero__slider {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .header__content {
        justify-content: space-between;
        align-items: center;
    }
    
    .header__actions {
        gap: 0.5rem;
        align-items: center;
        flex-shrink: 0;
    }
    
    .header__phone {
        font-size: 0.8rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 120px;
    }
}
    
    .header__phone-number {
        font-size: 0.8rem !important;
    }
    
    .header__burger {
        flex-shrink: 0;
        margin-left: 8px;
    }
    
    .hero__dot {
        width: 12px !important;
        height: 12px !important;
        border-radius: 50% !important;
        aspect-ratio: 1;
    }
    
    .hero__slide {
        aspect-ratio: auto !important;
        min-height: 300px;
    }
    
    .hero__slide img {
        width: auto !important;
        height: auto !important;
        max-width: 90% !important;
        max-height: 250px !important;
        object-fit: contain !important;
        aspect-ratio: auto !important;
    }
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
    min-width: 320px;
    max-width: 100vw;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 12px;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

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

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

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: #1a1a1a;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.5rem;
        margin-bottom: 3rem;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 48px;
}

.btn--primary {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.btn--secondary {
    background: #f8f9fa;
    color: #495057;
    border: 2px solid #dee2e6;
}

.btn--secondary:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

.btn--full {
    width: 100%;
}

/* Header - Glass Effect */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    padding: 0.75rem 0;
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, opacity 0.3s ease;
    height: auto;
    min-height: 60px;
    max-height: 80px;
}

.header.hidden {
    transform: translateY(-100%);
    opacity: 0;
}



.header__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (min-width: 1024px) {
    .header__content {
        justify-content: flex-start;
        gap: 2rem;
    }
    
    .header__actions {
        margin-left: auto;
        gap: 2rem;
    }
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    overflow: visible !important;
}

.logo * {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    overflow: visible !important;
}

.logo__icon {
    background: #ff6b35;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    padding: 8px 12px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo__main {
    font-size: 1rem;
    font-weight: 700;
    color: white;
}

.logo__sub {
    font-size: 0.8rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
}

/* Navigation */
.nav--desktop {
    display: none;
}

/* Mobile Navigation */
.nav--mobile,
#mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
<<<<<<< HEAD
    right: 0;
    bottom: 0;
    height: 100vh;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
    padding-top: 80px; /* Space for header */
    overflow-y: auto;
=======
    width: 100%;
    height: 100vh;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
>>>>>>> 04e25cb5db966fdaa24f5833c8199ceccbf65a5a
}

.nav--mobile.active,
#mobile-nav.active {
    opacity: 1;
    visibility: visible;
}

/* Lock body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

.nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

.nav__link {
    display: block;
    padding: 1rem 2rem;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 0.5rem 0;
}

.nav__link:hover {
    color: #ff6b35;
    background: rgba(255, 107, 53, 0.1);
}

/* Header Actions */
.header__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Phone */
.phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    background: rgba(255, 107, 53, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 107, 53, 0.3);
}

.phone:hover {
    background: rgba(255, 107, 53, 0.2);
    border-color: rgba(255, 107, 53, 0.5);
}

.phone__number {
    font-size: 0.9rem;
    font-weight: 600;
}

/* Burger Menu */
.burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 10001;
}

.burger__line {
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 1px;
    transition: all 0.3s ease;
    margin: 2px 0;
}

.burger.active .burger__line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.active .burger__line:nth-child(2) {
    opacity: 0;
}

.burger.active .burger__line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .nav--desktop {
        display: block;
    }
    
    .nav--mobile,
    #mobile-nav {
        display: none;
    }
    
    .burger {
        display: none;
    }
    
    .nav__list {
        display: flex;
        flex-direction: row;
        gap: 2rem;
        padding: 0;
    }
    
    .nav__link {
        padding: 0.5rem 0;
    }
    
    .phone {
        background: #ff6b35;
        padding: 12px 20px;
        border-radius: 8px;
        font-weight: 600;
    }
    
    .phone:hover {
        background: #f7931e;
        transform: translateY(-1px);
    }
    
    .phone__number {
        font-size: 1rem;
    }
}







/* Hero Section */
.hero {
    padding: 80px 0 40px;
    background: #ffffff;
    text-align: center;
    border-bottom: 1px solid #dee2e6;
}

@media (min-width: 768px) {
    .hero {
        padding: 120px 0 60px;
    }
}

.hero__title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.2;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .hero__title {
        font-size: 2.5rem;
        margin-bottom: 3rem;
        padding: 0;
    }
}

.hero__slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.hero__slides {
    display: flex;
    transition: transform 0.5s ease;
}

.hero__slide {
    min-width: 100%;
    aspect-ratio: 16/10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: transparent;
    position: relative;
}

.hero__slide img {
    max-width: 90%;
    max-height: 80%;
    object-fit: contain;
}

.hero__slide-price {
    position: absolute;
    bottom: 20px;
    background: rgba(255, 107, 53, 0.9);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1.1rem;
    backdrop-filter: blur(10px);
}

.hero__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.hero__arrow:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero__arrow--prev {
    left: 16px;
}

.hero__arrow--next {
    right: 16px;
}

.hero__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.hero__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #dee2e6;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero__dot--active {
    background: #ff6b35;
}

/* About Section */
.about {
    padding: 80px 0;
    background: #f8f9fa;
}

.about__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.about__stat {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.about__stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.about__stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ff6b35;
    margin-bottom: 0.5rem;
}

.about__stat-description {
    font-size: 1rem;
    color: #6c757d;
    font-weight: 500;
}

/* Sizes Section */
.sizes {
    padding: 80px 0;
    background: white;
}

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

@media (min-width: 480px) {
    .sizes__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

.size-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.size-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.size-card__image {
    width: 100%;
    height: 120px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.size-card__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.size-card__description {
    color: #6c757d;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.size-card__price {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ff6b35;
}

/* Constructor Section */
.constructor {
    padding: 80px 0;
    background: #f8f9fa;
}

.constructor__content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.constructor__form {
    background: white;
    padding: 1rem;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

@media (min-width: 768px) {
    .constructor__form {
        padding: 2rem;
    }
}

.form-group {
    margin-bottom: 1.5rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Дополнительные ограничения для элементов конструктора */
.constructor .form-group * {
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #495057;
}

/* Общие стили для инпутов - предотвращение зума */
.constructor input, 
.constructor select, 
.constructor textarea, 
.contact-form input,
.contact-form select,
.contact-form textarea,
.contact-form button {
    font-size: 16px !important; /* Предотвращает зум на iOS */
    min-height: 44px; /* Минимальная высота для touch */
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    -webkit-text-size-adjust: 100% !important;
    -ms-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
    touch-action: manipulation;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}

/* Возвращаем обычные размеры на планшетах и десктопе */
@media (min-width: 768px) {
    input, select, textarea, button {
        font-size: 14px !important;
        min-height: auto;
    }
}

.radio-group,
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.radio-option,
.checkbox-option {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.radio-option input[type="radio"] {
    margin-top: 2px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    -webkit-appearance: radio !important;
    -moz-appearance: radio !important;
    appearance: radio !important;
}

.checkbox-option input[type="checkbox"] {
    margin-top: 2px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    -webkit-appearance: checkbox !important;
    -moz-appearance: checkbox !important;
    appearance: checkbox !important;
}

.radio-option span,
.checkbox-option span {
    line-height: 1.4;
    user-select: none;
}

.radio-option:hover,
.checkbox-option:hover {
    background: rgba(255, 107, 53, 0.1);
}

.radio-option input,
.checkbox-option input {
    margin: 0;
}

select {
    width: 100%;
    padding: 12px;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
}

select:focus {
    outline: none;
    border-color: #ff6b35;
}

.size-controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.size-presets {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    width: 100%;
}

@media (min-width: 480px) {
    .size-presets {
        grid-template-columns: repeat(2, 1fr);
    }
}

.preset-btn {
    padding: 8px 8px;
    border: 2px solid #dee2e6;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
    font-weight: 500;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (min-width: 480px) {
    .preset-btn {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
}

.preset-btn.active {
    border-color: #ff6b35;
    background: rgba(255, 107, 53, 0.1);
    color: #ff6b35;
}

.size-inputs {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0.5rem;
    align-items: end;
}

@media (min-width: 480px) {
    .size-inputs {
        grid-template-columns: 1fr auto 1fr auto 1fr;
    }
}

.input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.input-wrapper label {
    font-size: 0.8rem;
    color: #6c757d;
}

.input-wrapper input {
    padding: 6px 4px;
    border: 2px solid #dee2e6;
    border-radius: 6px;
    font-size: 0.8rem;
    text-align: center;
    min-width: 0;
    width: 100%;
}

@media (min-width: 480px) {
    .input-wrapper input {
        padding: 8px;
        font-size: 0.9rem;
    }
}

.input-wrapper input:focus {
    outline: none;
    border-color: #ff6b35;
}

.multiply,
.equals {
    padding: 4px 2px;
    color: #6c757d;
    font-weight: 600;
    text-align: center;
    font-size: 0.8rem;
    min-width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 480px) {
    .multiply,
    .equals {
        padding: 8px 4px;
        font-size: 1rem;
        min-width: auto;
    }
}

/* Summary */
.summary {
    background: white;
    border: 2px solid #dee2e6;
    border-radius: 16px;
    padding: 1.5rem;
    position: sticky;
    top: 100px;
}

.summary__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.summary__details {
    margin-bottom: 1.5rem;
}

.summary__detail {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f3f4;
    font-size: 0.9rem;
}

.summary__detail:last-child {
    border-bottom: none;
}

/* Новые стили для отображения стенда */
.summary__stand-info {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.summary__stand-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 6px;
    background: white;
    padding: 4px;
    flex-shrink: 0;
}

.summary__stand-details h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    color: #ff6b35;
}

.summary__stand-details p {
    margin: 0.25rem 0;
    font-size: 0.85rem;
    color: #6c757d;
}

.summary__options {
    margin-bottom: 1rem;
}

.summary__options h5 {
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
    color: #495057;
}

.summary__option {
    display: inline-block;
    background: #ff6b35;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    margin: 0.2rem 0.2rem 0.2rem 0;
}

@media (max-width: 767px) {
    .summary__stand-info {
        flex-direction: column;
        text-align: center;
    }
    
    .summary__stand-image {
        width: 100px;
        height: 100px;
        margin: 0 auto;
    }
}

.summary__price {
    border-top: 2px solid #dee2e6;
    padding-top: 1rem;
    margin-bottom: 1rem;
}

.summary__price-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.summary__price-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ff6b35;
    padding-top: 0.5rem;
    border-top: 1px solid #dee2e6;
}

.summary__timeline {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.summary__actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Contacts Section */
.contacts {
    padding: 80px 0;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
}

.contacts__content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.contacts__title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.contacts__item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contacts__icon {
    flex-shrink: 0;
}

.contacts__item a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.contacts__item a:hover {
    text-decoration: underline;
}

.contacts__form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
}

.contacts__form-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-form .form-group {
    margin-bottom: 1rem;
}

.contact-form .checkbox-option {
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
}

.contact-form .checkbox-option input[type="checkbox"] {
    flex-shrink: 0;
    margin-top: 2px;
    width: 18px;
    height: 18px;
}

.contact-form .checkbox-option span {
    line-height: 1.4;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.15);
}

.contacts__privacy {
    font-size: 0.8rem;
    text-align: center;
    margin-top: 1rem;
    opacity: 0.8;
}

.contacts__privacy a {
    color: white;
    text-decoration: underline;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer__content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.footer__links a {
    color: #adb5bd;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer__links a:hover {
    color: white;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal__content {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    position: relative;
    animation: modalAppear 0.3s ease;
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6c757d;
}

.modal__close:hover {
    color: #1a1a1a;
}

/* Tablet Styles */
@media (min-width: 768px) {
    .container {
        padding: 0 40px;
    }
    
    .hero__title {
        font-size: 3.5rem;
    }
    
    .about__stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .sizes__grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .size-inputs {
        grid-template-columns: 1fr auto 1fr auto 1fr;
    }
    
    .radio-group,
    .checkbox-group {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .contacts__content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .footer__content {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .header__burger {
        display: none;
    }
    
    .header__nav--desktop {
        display: block;
    }
    
    .header__nav--mobile {
        display: none;
    }
    
    .header__nav-list {
        flex-direction: row;
        gap: 2rem;
    }
    
    .header__phone {
        background: #ff6b35;
        padding: 12px 20px;
        border-radius: 8px;
        transition: all 0.3s ease;
        font-weight: 600;
        font-size: 1rem !important;
        max-width: none !important;
        overflow: visible !important;
        text-overflow: unset !important;
    }
    
    .header__phone:hover {
        background: #f7931e;
        opacity: 1;
        transform: translateY(-1px);
    }
    
    .header__logo-icon {
        font-size: 1.5rem;
        padding: 12px;
    }
    
    .header__logo-line1 {
        font-size: 1.4rem;
    }
    
    .hero {
        padding: 160px 0 100px;
    }
    
    .hero__title {
        font-size: 4rem;
    }
    
    .about__stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
    
    .sizes__grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .constructor__content {
        grid-template-columns: 1fr 400px;
        gap: 3rem;
    }
    
    .size-presets {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .summary__actions {
        flex-direction: row;
    }
}

/* Large Desktop Styles */
@media (min-width: 1200px) {
    .section-title {
        font-size: 3rem;
    }
    
    .hero__title {
        font-size: 4.5rem;
    }
    
    .about__stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 4rem;
    }
    
    .about__stat {
        padding: 3rem 2rem;
    }
    
    .about__stat-number {
        font-size: 3rem;
    }
}
