/* ============================================
   HERO
============================================ */
.hero {
    padding: 160px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: linear-gradient(rgba(15, 23, 42, 0.73), rgba(15, 23, 42, 0.73)), var(--hero-bg, none);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

#bubbles-canvas {
     position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-content { max-width: 800px; margin: 0 auto; }

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4.2rem;
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: 2px;
    margin-bottom: 24px;
    color: #ffffff;
}
.hero-content h1 .blue-gradient-text { font-weight: 600; display: block; }

.hero-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 620px;
    margin: 0 auto 36px;
    line-height: 1.8;
    font-weight: 300;
}

.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-wave-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 2;
    pointer-events: none;
}
.hero-wave-bottom svg { width: 100%; height: 100%; display: block; }
.hero-wave-bottom .wave-fill { fill: var(--white); }



/* ============================================
   ПОПАП УСПЕШНОЙ ОТПРАВКИ ФОРМЫ
============================================ */
.form-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}
.form-popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.form-popup {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 36px 32px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    box-shadow: 0 30px 80px rgba(20, 129, 186, 0.20);
    border: 1px solid rgba(20, 129, 186, 0.08);
    transform: translateY(20px) scale(0.96);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.4, 0.64, 1),
                opacity 0.35s ease;
}
.form-popup-overlay.show .form-popup {
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* Кнопка-крестик */
.form-popup-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(20, 129, 186, 0.06);
    border: none;
    color: #64748B;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}
.form-popup-close:hover {
    background: rgba(20, 129, 186, 0.14);
    color: #1481BA;
    transform: rotate(90deg);
}

/* Иконка галочки */
.form-popup-icon {
    margin: 0 auto 18px;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: popupIconIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s both;
}
.form-popup-icon svg {
    display: block;
}
.form-popup-icon svg path {
    stroke-dasharray: 40;
    stroke-dashoffset: 40;
    animation: popupCheck 0.55s ease-out 0.45s forwards;
}

@keyframes popupIconIn {
    0%   { transform: scale(0);   opacity: 0; }
    100% { transform: scale(1);   opacity: 1; }
}
@keyframes popupCheck {
    0%   { stroke-dashoffset: 40; }
    100% { stroke-dashoffset: 0;  }
}

/* Заголовок */
.form-popup-title {
    font-family: "Playfair Display", serif;
    font-size: 28px;
    font-weight: 600;
    color: #1A2332;
    margin-bottom: 8px;
    letter-spacing: -0.4px;
}

.form-popup-text {
    font-size: 15px;
    color: #64748B;
    line-height: 1.6;
    margin-bottom: 24px;
    font-weight: 300;
}

/* Кнопка */
.form-popup-btn {
    display: inline-block;
    padding: 14px 44px;
    background: linear-gradient(135deg, #1481BA, #33A7DD);
    color: #fff;
    border: 2px solid transparent;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    font-family: "Inter", sans-serif;
    letter-spacing: 0.3px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(20, 129, 186, 0.25);
    transition: all 0.3s ease;
}
.form-popup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 35px rgba(20, 129, 186, 0.35);
    border-color: #33A7DD;
}
.form-popup-btn:active {
    transform: translateY(0);
}

/* Мобильная версия */
@media (max-width: 480px) {
    .form-popup {
        padding: 32px 24px 24px;
        border-radius: 16px;
    }
    .form-popup-icon {
        width: 64px;
        height: 64px;
    }
    .form-popup-title {
        font-size: 24px;
    }
    .form-popup-text {
        font-size: 14px;
    }
    .form-popup-btn {
        width: 100%;
        padding: 14px 20px;
    }
}

/* ============================================
   SERVICES
============================================ */
.services {
    padding: 80px 0 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
    margin-top: -80px;
    clip-path: polygon(0% 80px, 100% 80px, 100% 100%, 0% 100%);
}
.services-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/assets/images/bg_fiber.png');
    background-size: auto 100%;
    background-position: center;
    background-repeat: repeat-x;
    opacity: 1;
    z-index: 0;
    pointer-events: none;
    mask-image: linear-gradient(to bottom, transparent 0%, #000 15%, #000 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 15%, #000 85%, transparent 100%);
}
.services .container { position: relative; z-index: 1; padding-top: 20px; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding-bottom: 60px;
}
.service-card {
    background: var(--white);
    padding: 40px 32px 36px;
    border: 1px solid rgba(20, 129, 186, 0.2);
    transition: all 0.5s ease;
    text-align: center;
    position: relative;
    border-radius: 8px;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--blue-gradient);
    opacity: 0;
    transition: 0.5s;
}
.service-card:hover::before { opacity: 0.5; }
.service-card:hover {
    border-color: var(--blue-primary);
    border-width: 2px;
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(20,129,186,0.03);
}
.service-card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    margin-bottom: 20px;
    background: #e8edf2;
    border-radius: 4px;
}
.service-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}
.service-card p {
    color: var(--text-gray);
    font-size: 0.92rem;
    font-weight: 300;
    line-height: 1.7;
}

/* ===== ВОЛНА МЕЖДУ SERVICES И ADVANTAGES ===== */
.wave-between {
    position: relative;
    width: 100%;
    height: 80px;
    overflow: hidden;
    background: var(--white);
}
.wave-between svg {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    height: 80px;
}
.wave-between .wave-fill { fill: var(--blue-bg); }

/* ============================================
   ADVANTAGES
============================================ */
.advantages {
    padding: 80px 0 0;
    background: var(--blue-bg);
    position: relative;
    overflow: hidden;
    margin-top: -80px;
    clip-path: polygon(0% 80px, 100% 80px, 100% 100%, 0% 100%);
}
.advantages .container { position: relative; z-index: 1; padding: 40px 24px 80px; }

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 16px;
    padding: 20px 0;
}
.advantage-card {
    text-align: center;
    padding: 40px 24px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(4px);
    border: 2px solid rgba(20,129,186,0.1);
    transition: 0.4s;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.advantage-card:hover {
    border-color: var(--blue-primary);
    border-width: 2px;
    box-shadow: 0 8px 40px rgba(20,129,186,0.12);
    background: rgba(255, 255, 255, 0.98);
    transform: translateY(-4px);
}
.advantage-card img {
    height: 48px;
    width: 48px;
    margin: 0 auto 16px;
    opacity: 0.6;
}
.advantage-card h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    font-size: 1.05rem;
}
.advantage-card p {
    color: var(--text-gray);
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.6;
}
.advantages-cta {
    font-family: 'Playfair Display', serif;
    font-weight: 300;
    font-size: 1.6rem;
    text-align: center;
    color: var(--text-dark);
    margin-top: 20px;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    padding: 24px 40px;
    border-radius: 8px;
    display: inline-block;
    width: 100%;
    border: 2px solid rgba(20,129,186,0.08);
}
.advantages-cta .blue-primary { font-weight: 600; }

.wave-after-advantages {
    position: relative;
    width: 100%;
    height: 80px;
    overflow: hidden;
    background: var(--blue-bg);
    margin-top: -80px;
}
.wave-after-advantages svg {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    height: 80px;
}
.wave-after-advantages .wave-fill { fill: var(--white); }

/* ============================================
   FORM SECTION
============================================ */
.form-section {
    padding: 80px 0 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
    margin-top: -80px;
    clip-path: polygon(0% 80px, 100% 80px, 100% 100%, 0% 100%);
}
.form-section-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/assets/images/bg_fiber.png');
    background-size: auto 100%;
    background-position: center;
    background-repeat: repeat-x;
    opacity: 1;
    z-index: 0;
    pointer-events: none;
    mask-image: linear-gradient(to bottom, transparent 0%, #000 15%, #000 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 15%, #000 85%, transparent 100%);
}
.form-section .container { position: relative; z-index: 1; padding-top: 20px; }

.form-section .form-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding-bottom: 60px;
}
.form-section .form-inner .washer-container {
    display: flex;
    justify-content: center;
    align-items: center;
}
.form-section .form-inner .washer-container .washing-machine-container {
    width: 320px;
    transform: scale(0.85);
}
.form-section .form-wrapper {
    max-width: 100%;
    padding: 40px 48px;
    background: rgba(236, 244, 247, 0.92);
    backdrop-filter: blur(8px);
    border: 2px solid var(--blue-primary);
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(20,129,186,0.06);
    position: relative;
    transition: all 0.3s ease;
}
.form-section .form-wrapper:hover {
    box-shadow: 0 12px 60px rgba(20,129,186,0.12);
    border-color: var(--blue-secondary);
}
.form-section .form-wrapper::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: var(--blue-gradient);
    border-radius: 0 0 4px 4px;
}
.form-section .form-wrapper .form-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(20,129,186,0.08);
}
.form-section .form-wrapper .form-header .form-icon {
    width: 48px;
    height: 48px;
    background: var(--blue-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
    border: 2px solid transparent;
    transition: 0.3s;
}
.form-section .form-wrapper:hover .form-icon { border-color: var(--white); }
.form-section .form-wrapper .form-header .form-title-group h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 1.2;
}
.form-section .form-wrapper .form-header .form-title-group h2 .blue-primary { font-weight: 600; }
.form-section .form-wrapper .form-header .form-title-group p {
    color: var(--text-gray);
    font-size: 0.9rem;
    font-weight: 300;
    margin-top: 2px;
}
.form-section .form-wrapper .form-body {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.form-section .form-wrapper .form-body input {
    flex: 1;
    min-width: 200px;
    background: var(--white);
    border: 1px solid rgba(20,129,186,0.06);
    padding: 16px 20px;
    color: var(--text-dark);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: 0.3s;
    font-weight: 300;
    border-radius: 4px;
}
.form-section .form-wrapper .form-body input:focus {
    border-color: var(--blue-primary);
    border-width: 2px;
    box-shadow: 0 0 0 3px rgba(20,129,186,0.08);
    background: var(--white);
}
.form-section .form-wrapper .form-body input::placeholder { color: #94a3b8; }
.form-section .form-wrapper .form-body .btn { flex-shrink: 0; }

.wave-between-form-gallery {
    position: relative;
    width: 100%;
    height: 80px;
    overflow: hidden;
    background: var(--white);
}
.wave-between-form-gallery svg {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    height: 80px;
}
.wave-between-form-gallery .wave-fill { fill: var(--blue-bg); }

/* ============================================
   GALLERY
============================================ */
.gallery {
    padding: 80px 0 0;
    background: var(--blue-bg);
    position: relative;
    overflow: hidden;
    margin-top: -80px;
    clip-path: polygon(0% 80px, 100% 80px, 100% 100%, 0% 100%);
}
.gallery .container { position: relative; z-index: 1; padding-top: 20px; }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding-bottom: 60px;
}
.gallery-item {
    aspect-ratio: 4/3;
    overflow: hidden;
    border: 1px solid rgba(20,129,186,0.02);
    transition: 0.4s;
    display: block;
    background: #e8edf2;
    border-radius: 4px;
}
.gallery-item:hover {
    border-color: var(--blue-primary);
    border-width: 2px;
    transform: scale(1.02);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; background: #e8edf2; }

.wave-after-gallery {
    position: relative;
    width: 100%;
    height: 80px;
    overflow: hidden;
    background: var(--blue-bg);
    margin-top: -80px;
}
.wave-after-gallery svg {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    height: 80px;
}
.wave-after-gallery .wave-fill { fill: var(--white); }

/* ============================================
   CALLBACK
============================================ */
.callback-section {
    padding: 80px 0 60px;
    background: var(--white);
    position: relative;
    overflow: hidden;
    margin-top: -80px;
    clip-path: polygon(0% 80px, 100% 80px, 100% 100%, 0% 100%);
}
.callback-section-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/assets/images/bg_fiber.png');
    background-size: auto 100%;
    background-position: center;
    background-repeat: repeat-x;
    opacity: 1;
    z-index: 0;
    pointer-events: none;
    mask-image: linear-gradient(to bottom, transparent 0%, #000 15%, #000 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 15%, #000 85%, transparent 100%);
}
.callback-section .container { position: relative; z-index: 1; padding-top: 20px; }
.callback-section .form-wrapper {
    max-width: 820px;
    margin: 0 auto;
    padding: 48px 56px;
    background: rgba(236, 244, 247, 0.92);
    backdrop-filter: blur(8px);
    border: 2px solid var(--blue-primary);
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(20,129,186,0.06);
    position: relative;
    transition: all 0.3s ease;
}
.callback-section .form-wrapper:hover {
    box-shadow: 0 12px 60px rgba(20,129,186,0.12);
    border-color: var(--blue-secondary);
}
.callback-section .form-wrapper::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: var(--blue-gradient);
    border-radius: 0 0 4px 4px;
}
.callback-section .form-wrapper .form-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(20,129,186,0.08);
}
.callback-section .form-wrapper .form-header .form-icon {
    width: 48px;
    height: 48px;
    background: var(--blue-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
    border: 2px solid transparent;
    transition: 0.3s;
}
.callback-section .form-wrapper:hover .form-icon { border-color: var(--white); }
.callback-section .form-wrapper .form-header .form-title-group h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 1.2;
}
.callback-section .form-wrapper .form-header .form-title-group h2 .blue-primary { font-weight: 600; }
.callback-section .form-wrapper .form-header .form-title-group p {
    color: var(--text-gray);
    font-size: 0.9rem;
    font-weight: 300;
    margin-top: 2px;
}
.callback-section .form-wrapper .form-body { display: flex; flex-direction: column; gap: 16px; }
.callback-section .form-wrapper .form-body .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.callback-section .form-wrapper .form-body input,
.callback-section .form-wrapper .form-body textarea {
    width: 100%;
    background: var(--white);
    border: 1px solid rgba(20,129,186,0.06);
    padding: 16px 20px;
    color: var(--text-dark);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: 0.3s;
    font-weight: 300;
    border-radius: 4px;
}
.callback-section .form-wrapper .form-body input:focus,
.callback-section .form-wrapper .form-body textarea:focus {
    border-color: var(--blue-primary);
    border-width: 2px;
    box-shadow: 0 0 0 3px rgba(20,129,186,0.08);
}
.callback-section .form-wrapper .form-body input::placeholder,
.callback-section .form-wrapper .form-body textarea::placeholder { color: #94a3b8; }
.callback-section .form-wrapper .form-body textarea { resize: vertical; min-height: 100px; }
.callback-section .form-wrapper .form-body .btn { width: 100%; text-align: center; padding: 16px; }

/* ============================================
   СТИРАЛЬНАЯ МАШИНА
============================================ */
.washing-machine-container {
    width: 100%;
    max-width: 380px;
    position: relative;
    margin: 0 auto;
}
.washing-machine-body {
    background: linear-gradient(170deg, #eef2f6 25%, #eef2f6 60%, #dce3ec 100%);
    border-radius: 30px 30px 18px 18px;
    padding: 28px 24px 30px;
    box-shadow:
        0 30px 60px rgba(0,0,0,0.08),
        inset 0 -8px 0 rgba(0,0,0,0.04),
        inset 0 8px 20px rgba(255,255,255,0.6);
    border-bottom: 6px solid #c8d0da;
    position: relative;
    width: 100%;
}
.washer-logo-top {
    position: absolute;
    top: 12px; left: 0; right: 0;
    z-index: 5;
    text-align: center;
    pointer-events: none;
}
.washer-logo-top .brand-top {
    font-family: 'Playfair Display', serif;
    font-size: clamp(10px, 1.2vw, 13px);
    font-weight: 700;
    color: rgba(13, 95, 138, 0.3);
    letter-spacing: 3px;
    text-transform: uppercase;
}
.washer-logo-center {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -180%);
    z-index: 10;
    pointer-events: none;
    text-align: center;
}
.washer-logo-center .brand-center {
    font-family: 'Playfair Display', serif;
    font-size: clamp(13px, 3vw, 25px);
    font-weight: 400;
    color: rgba(13, 95, 138, 0.2);
    letter-spacing: 6px;
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(255,255,255,0.1);
    line-height: 1;
}
.control-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding: 0 4px;
    margin-top: 10px;
}
.control-knob {
    width: clamp(20px, 2.5vw, 28px);
    height: clamp(20px, 2.5vw, 28px);
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #f8fafc, #d0d8e0);
    border: 2px solid #b0bcc9;
    box-shadow: inset -2px -2px 4px rgba(0,0,0,0.08), inset 2px 2px 4px white;
    cursor: pointer;
    transition: 0.15s;
    flex-shrink: 0;
}
.control-knob:active { transform: scale(0.9); }
.control-display {
    background: #1a2634;
    color: #7ef0ba;
    font-family: 'Courier New', monospace;
    font-weight: 700;
    font-size: clamp(11px, 1.2vw, 13px);
    padding: 5px 16px;
    border-radius: 20px;
    letter-spacing: 1px;
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.5);
    min-width: 90px;
    text-align: center;
    flex-shrink: 0;
}
.control-display .status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 6px;
    animation: blinkDot 1.2s infinite;
}
.control-display .status-dot.running { background: #7ef0ba; }
@keyframes blinkDot { 0%, 100% { opacity: 1; } 50% { opacity: 0.2; } }

.time-display {
    font-family: 'Courier New', monospace;
    font-size: clamp(12px, 1.3vw, 14px);
    font-weight: 700;
    color: #7ef0ba;
    letter-spacing: 2px;
    min-width: 50px;
    display: inline-block;
    text-align: center;
}

.door-wrapper {
    position: relative;
    width: 100%;
    max-width: 230px;
    aspect-ratio: 1/1;
    margin: 0 auto 14px;
    pointer-events: none;
}
.door-frame {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(145deg, #e8edf4, #c8d2de);
    padding: clamp(10px, 1.5vw, 16px);
    box-shadow: inset 0 -6px 0 #b0bcc9, 0 8px 25px rgba(0,0,0,0.1);
    border: 2px solid #dce3ec;
}
.door-glass {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 35%, #d0dce8, #b0c0d0);
    box-shadow: inset 0 8px 25px rgba(0,0,0,0.15), 0 0 0 4px rgba(200,215,230,0.3);
    position: relative;
    overflow: hidden;
}

.drum-water {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 78%; height: 78%;
    z-index: 2;
    pointer-events: none;
    border-radius: 50%;
    overflow: hidden;
    opacity: 0;
    transition: opacity 1.2s ease;
    background: radial-gradient(ellipse at 50% 80%, rgba(60, 153, 196, 0.4), rgba(20, 129, 186, 0.1));
}
.drum-water.active { opacity: 1; }
.drum-water .water-surface {
    position: absolute;
    bottom: 0; left: -20%;
    width: 140%; height: 60%;
    background: rgba(60, 153, 196, 0.25);
    border-radius: 40% 40% 0 0 / 60% 60% 0 0;
    animation: waterSlosh 2.5s ease-in-out infinite alternate;
    transform-origin: bottom center;
}
.drum-water .water-surface::before {
    content: '';
    position: absolute;
    top: -10px; left: -10%;
    width: 120%; height: 30px;
    background: rgba(131, 202, 226, 0.3);
    border-radius: 50%;
    animation: waterRipple 3s ease-in-out infinite alternate;
}
.drum-water .water-bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    animation: bubbleRise 2s ease-in-out infinite;
}
.drum-water .water-bubble:nth-child(2) { width: 8px; height: 8px; bottom: 20%; left: 25%; animation-delay: 0.3s; }
.drum-water .water-bubble:nth-child(3) { width: 12px; height: 12px; bottom: 30%; left: 55%; animation-delay: 0.8s; }
.drum-water .water-bubble:nth-child(4) { width: 6px; height: 6px; bottom: 15%; left: 75%; animation-delay: 0.5s; }
.drum-water .water-bubble:nth-child(5) { width: 10px; height: 10px; bottom: 40%; left: 40%; animation-delay: 1.1s; }
.drum-water .water-bubble:nth-child(6) { width: 7px; height: 7px; bottom: 25%; left: 10%; animation-delay: 0.7s; }
.drum-water .water-bubble:nth-child(7) { width: 14px; height: 14px; bottom: 10%; left: 60%; animation-delay: 1.4s; }

@keyframes waterSlosh {
    0% { transform: translateX(-8%) scaleY(1); }
    50% { transform: translateX(8%) scaleY(1.1); }
    100% { transform: translateX(-5%) scaleY(0.95); }
}
@keyframes waterRipple {
    0% { transform: translateX(-15%) scaleX(1); opacity: 0.6; }
    100% { transform: translateX(15%) scaleX(1.3); opacity: 0.2; }
}
@keyframes bubbleRise {
    0% { transform: translateY(0) scale(0.5); opacity: 0.1; }
    50% { opacity: 0.6; }
    100% { transform: translateY(-60px) scale(1.2); opacity: 0; }
}

.drum-empty {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 78%; height: 78%;
    z-index: 1;
    pointer-events: none;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 40%, #d8e4f0, #b8c8d8);
    box-shadow: inset 0 0 40px rgba(0,0,0,0.1);
    border: 2px solid #c0d0de;
    opacity: 1;
    transition: opacity 1s ease;
}
.drum-empty.hidden { opacity: 0; }

.door-glass::after {
    content: '';
    position: absolute;
    top: 10%; left: 16%;
    width: 32%; height: 22%;
    background: radial-gradient(circle, rgba(255,255,255,0.4), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 3;
}

.load-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 6px;
    font-size: clamp(10px, 1vw, 12px);
    color: #6b7a8a;
    transition: all 0.5s ease;
    overflow: hidden;
    max-height: 30px;
    opacity: 1;
}
.load-indicator.done {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
    pointer-events: none;
}
.load-indicator .bar {
    flex: 1;
    max-width: 180px;
    height: 4px;
    background: rgba(0,0,0,0.06);
    border-radius: 2px;
    overflow: hidden;
}
.load-indicator .bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #1481BA, #33A7DD);
    border-radius: 2px;
    transition: width 0.1s ease;
    width: 0%;
}
.load-indicator .load-percent {
    font-weight: 700;
    color: #1481BA;
    min-width: 32px;
    text-align: center;
}


/* ============================================
   COOKIE BANNER + SETTINGS
============================================ */
.cookie-banner {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 99998;
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: #fff;
    padding: 18px 24px;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.25);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.cookie-banner.show { transform: translateY(0); }

.cookie-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    min-width: 280px;
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
}
.cookie-banner-text strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
    letter-spacing: 0.2px;
}

.cookie-banner-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 11px 22px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    font-family: "Inter", sans-serif;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.25s ease;
    border: 2px solid transparent;
    white-space: nowrap;
}
.cookie-btn-primary {
    background: linear-gradient(135deg, #1481BA, #33A7DD);
    color: #fff;
    box-shadow: 0 4px 20px rgba(20, 129, 186, 0.35);
}
.cookie-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(20, 129, 186, 0.5);
    border-color: #33A7DD;
}
.cookie-btn-outline {
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.25);
}
.cookie-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

/* ============================================================
   COOKIE SETTINGS MODAL
============================================================ */
.cookie-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}
.cookie-modal-overlay.show { opacity: 1; visibility: visible; }

.cookie-modal {
    position: relative;
    background: #fff;
    border-radius: 20px;
    max-width: 720px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px 44px 32px;
    box-shadow: 0 30px 80px rgba(20, 129, 186, 0.20);
    border: 1px solid rgba(20, 129, 186, 0.08);
    transform: translateY(20px) scale(0.97);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.4, 0.64, 1), opacity 0.35s ease;
}
.cookie-modal-overlay.show .cookie-modal {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.cookie-modal-close {
    position: absolute;
    top: 16px; right: 16px;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: rgba(20, 129, 186, 0.06);
    border: none;
    color: #64748B;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}
.cookie-modal-close:hover {
    background: rgba(20, 129, 186, 0.14);
    color: #1481BA;
    transform: rotate(90deg);
}

.cookie-modal-title {
    font-family: "Playfair Display", serif;
    font-size: 26px;
    font-weight: 600;
    color: #1A2332;
    margin-bottom: 20px;
    letter-spacing: -0.4px;
}
.cookie-modal-subtitle {
    font-family: "Playfair Display", serif;
    font-size: 17px;
    font-weight: 600;
    color: #1A2332;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.cookie-modal-desc {
    font-size: 14px;
    color: #64748B;
    line-height: 1.7;
    margin-bottom: 24px;
}
.cookie-modal-desc a {
    color: #1481BA;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: 0.25s;
}
.cookie-modal-desc a:hover {
    border-bottom-color: #1481BA;
}

.cookie-category {
    border: 1px solid #e2ebf0;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.25s ease;
}
.cookie-category:hover { border-color: rgba(20, 129, 186, 0.3); }

.cookie-category-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    cursor: pointer;
    background: #fbfdfe;
    transition: background 0.25s;
}
.cookie-category-head:hover { background: #f3f8fb; }

.cookie-category-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 14px;
    color: #1A2332;
    flex: 1;
}
.cookie-category-title i {
    color: #1481BA;
    font-size: 12px;
    width: 14px;
    transition: transform 0.25s ease;
}
.cookie-category.open .cookie-category-title i { transform: rotate(180deg); }

.cookie-category-status {
    font-size: 11px;
    color: #10b981;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(16, 185, 129, 0.10);
    padding: 4px 10px;
    border-radius: 20px;
    flex-shrink: 0;
}

/* Переключатель */
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
    cursor: pointer;
}
.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}
.cookie-switch-slider {
    position: absolute;
    inset: 0;
    background: #d4dce6;
    border-radius: 24px;
    transition: background 0.3s ease;
}
.cookie-switch-slider::before {
    content: '';
    position: absolute;
    top: 3px; left: 3px;
    width: 18px; height: 18px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: transform 0.3s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.cookie-switch input:checked + .cookie-switch-slider {
    background: linear-gradient(135deg, #1481BA, #33A7DD);
}
.cookie-switch input:checked + .cookie-switch-slider::before {
    transform: translateX(20px);
}

.cookie-category-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    font-size: 13px;
    line-height: 1.7;
    color: #64748B;
    padding: 0 20px;
}
.cookie-category.open .cookie-category-body {
    max-height: 300px;
    padding: 14px 20px 18px;
}

.cookie-modal-note {
    font-size: 13px;
    color: #64748B;
    line-height: 1.7;
    margin: 20px 0;
    padding: 16px 20px;
    background: #f3f8fb;
    border-left: 4px solid #1481BA;
    border-radius: 8px;
}
.cookie-modal-note strong { color: #1A2332; }

.cookie-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 12px;
    flex-wrap: wrap;
}
.cookie-modal-actions .cookie-btn {
    padding: 13px 28px;
    font-size: 14px;
    border-radius: 10px;
}
.cookie-modal-actions .cookie-btn-primary {
    background: linear-gradient(135deg, #1481BA, #33A7DD);
    color: #fff;
    border: 2px solid transparent;
}
.cookie-modal-actions .cookie-btn-primary:hover {
    border-color: #33A7DD;
}
.cookie-modal-actions .cookie-btn-outline {
    background: transparent;
    color: #1481BA;
    border-color: rgba(20, 129, 186, 0.25);
}
.cookie-modal-actions .cookie-btn-outline:hover {
    background: rgba(20, 129, 186, 0.06);
    border-color: #1481BA;
}

/* Адаптив */
@media (max-width: 640px) {
    .cookie-banner { padding: 16px 18px; }
    .cookie-banner-inner { flex-direction: column; align-items: stretch; gap: 14px; }
    .cookie-banner-text { font-size: 12px; }
    .cookie-banner-actions { flex-direction: column; }
    .cookie-banner-actions .cookie-btn { width: 100%; text-align: center; }

    .cookie-modal { padding: 28px 20px 22px; border-radius: 16px; }
    .cookie-modal-title { font-size: 22px; }
    .cookie-modal-subtitle { font-size: 15px; }
    .cookie-category-head { padding: 14px 14px; }
    .cookie-category-title { font-size: 13px; gap: 8px; }
    .cookie-category-title span { line-height: 1.4; }
    .cookie-modal-actions { flex-direction: column; }
    .cookie-modal-actions .cookie-btn { width: 100%; }
}

/* ============================================
   RESPONSIVE (только лендинг)
============================================ */
@media (max-width: 992px) {
    .hero-content h1 { font-size: 3.2rem; }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .advantages-grid { grid-template-columns: 1fr 1fr; }
    .form-section .form-inner { grid-template-columns: 1fr; }
    .form-section .form-inner .washer-container .washing-machine-container { transform: scale(1); max-width: 280px; }
    .form-section .form-wrapper { padding: 32px 28px; }
    .form-section .form-wrapper .form-header { flex-direction: column; text-align: center; }
    .callback-section .form-wrapper { padding: 32px 28px; }
    .callback-section .form-wrapper .form-header { flex-direction: column; text-align: center; }
    .callback-section .form-wrapper .form-body .form-row { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .hero-wave-bottom { height: 60px; }
    .wave-between, .wave-between-form-gallery,
    .wave-after-advantages, .wave-after-gallery { height: 60px; }
    .wave-between svg, .wave-between-form-gallery svg,
    .wave-after-advantages svg, .wave-after-gallery svg { height: 60px; }
    .advantages-cta { padding: 16px 24px; }
    .advantages .container { padding: 40px 24px 80px; }
    .services, .form-section, .gallery, .callback-section {
        clip-path: polygon(0% 60px, 100% 60px, 100% 100%, 0% 100%);
    }
    .services { margin-top: -60px; }
    .advantages { margin-top: -60px; }
    .form-section { margin-top: -60px; }
    .gallery { margin-top: -60px; }
    .callback-section { margin-top: -60px; }
    .services-bg, .form-section-bg, .callback-section-bg {
        mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
        -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
    }
}

@media (max-width: 768px) {
    .hero { padding: 140px 0 60px; min-height: auto; }
    .hero-content h1 { font-size: 2.6rem; }
    .hero-content p { font-size: 0.95rem; }
    .section-title { font-size: 2.2rem; }
    .services-grid { grid-template-columns: 1fr; }
    .advantages-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .form-section .form-wrapper .form-body { flex-direction: column; }
    .form-section .form-wrapper .form-body input { min-width: auto; width: 100%; }
    .form-section .form-wrapper .form-body .btn { width: 100%; }
    .form-section .form-wrapper { padding: 24px 20px; }
    .form-section .form-inner .washer-container .washing-machine-container { max-width: 240px; }
    .callback-section .form-wrapper { padding: 24px 20px; }
    .form-section .form-wrapper .form-header .form-title-group h2,
    .callback-section .form-wrapper .form-header .form-title-group h2 { font-size: 1.4rem; }
    .advantages-cta { font-size: 1.2rem; }
    .hero-wave-bottom { height: 50px; }
    .wave-between, .wave-between-form-gallery,
    .wave-after-advantages, .wave-after-gallery { height: 50px; }
    .wave-between svg, .wave-between-form-gallery svg,
    .wave-after-advantages svg, .wave-after-gallery svg { height: 50px; }
    .washing-machine-container { max-width: 260px; }
    .door-wrapper { max-width: 150px; }
    .washer-logo-center .brand-center { font-size: 20px; letter-spacing: 3px; }
    .washer-logo-top .brand-top { font-size: 11px; }
    .advantages-cta { padding: 14px 20px; }
    .advantages .container { padding: 30px 20px 60px; }
    .services, .form-section, .gallery, .callback-section {
        clip-path: polygon(0% 50px, 100% 50px, 100% 100%, 0% 100%);
    }
    .services { margin-top: -50px; }
    .advantages {
        clip-path: polygon(0% 50px, 100% 50px, 100% 100%, 0% 100%);
        margin-top: -50px;
    }
    .form-section { margin-top: -50px; }
    .gallery { margin-top: -50px; }
    .callback-section { margin-top: -50px; }
    .services-bg, .form-section-bg, .callback-section-bg {
        mask-image: linear-gradient(to bottom, transparent 0%, #000 10%, #000 90%, transparent 100%);
        -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 10%, #000 90%, transparent 100%);
    }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 2rem; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; text-align: center; }
    .gallery-grid { grid-template-columns: 1fr; }
    .form-section .form-wrapper { padding: 20px 16px; }
    .form-section .form-inner .washer-container .washing-machine-container { max-width: 200px; }
    .callback-section .form-wrapper { padding: 20px 16px; }
    .washing-machine-container { max-width: 220px; }
    .door-wrapper { max-width: 120px; }
    .washer-logo-center .brand-center { font-size: 16px; letter-spacing: 2px; }
    .washer-logo-top .brand-top { font-size: 9px; letter-spacing: 2px; }
    .hero-wave-bottom { height: 40px; }
    .wave-between, .wave-between-form-gallery,
    .wave-after-advantages, .wave-after-gallery { height: 40px; }
    .wave-between svg, .wave-between-form-gallery svg,
    .wave-after-advantages svg, .wave-after-gallery svg { height: 40px; }
    .control-display { min-width: 70px; font-size: 10px; padding: 4px 10px; }
    .control-knob { width: 18px; height: 18px; }
    .time-display { font-size: 10px; min-width: 40px; }
    .advantages-cta { padding: 12px 16px; font-size: 1rem; }
    .advantages .container { padding: 20px 16px 40px; }
    .services, .form-section, .gallery, .callback-section {
        clip-path: polygon(0% 40px, 100% 40px, 100% 100%, 0% 100%);
    }
    .services { margin-top: -40px; }
    .advantages {
        clip-path: polygon(0% 40px, 100% 40px, 100% 100%, 0% 100%);
        margin-top: -40px;
    }
    .form-section { margin-top: -40px; }
    .gallery { margin-top: -40px; }
    .callback-section { margin-top: -40px; }
    .services-bg, .form-section-bg, .callback-section-bg {
        mask-image: linear-gradient(to bottom, transparent 0%, #000 8%, #000 92%, transparent 100%);
        -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 8%, #000 92%, transparent 100%);
    }
}