:root {
    --primary: #76B729;
    --primary-light: #8AD038;
    --primary-dark: #5a8f1f;
    --primary-soft: rgba(118, 183, 41, 0.1);
    --secondary: #1a1a2e;
    --text: #0f172a;
    --text-light: #475569;
    --text-muted: #94a3b8;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --gradient-primary: linear-gradient(135deg, #8AD038 0%, #5a8f1f 100%);
    --gradient-header: rgba(255, 255, 255, 0.8);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-premium: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --header-height: 92px;
}

/* --- Global Overrides --- */
html, body {
    min-width: unset !important;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

html.menu-open,
body.menu-open {
    overflow: hidden !important;
    overscroll-behavior: none;
}

body.menu-open {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
}

/* Override rigid containers from style.css */
body .container, 
body .container2 {
    max-width: 1200px !important;
    min-width: unset !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
}

@media (max-width: 640px) {
    body .container, 
    body .container2 {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

.redesign-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    :root {
        --header-height: 84px;
    }

    body .container,
    body .container2,
    .redesign-container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 68px;
    }

    body .container,
    body .container2,
    .redesign-container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .header-content,
    .hero-grid,
    .hero-text,
    .hero-stats,
    .stat-item,
    .section-header,
    .catalog-grid,
    .card-content,
    .project-cta-content,
    .project-features,
    .feature-item,
    .final-cta-content-light,
    .cta-features-inline,
    .inline-feature,
    .footer-grid,
    .footer-contact-item,
    .cta-phone-row {
        min-width: 0;
    }

    .section-title,
    .section-subtitle,
    .hero-title,
    .hero-description,
    .stat-text,
    .card-content h3,
    .card-content p,
    .project-title,
    .project-description,
    .feature-item span,
    .cta-title-light,
    .cta-desc-light,
    .inline-feature span,
    .phone-time,
    .footer-brand-area p,
    .footer-contact-item .text,
    .footer-links a,
    .copyright,
    .developer {
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: break-word;
    }
}

/* --- Patterns & Backgrounds --- */
.bg-pattern {
    position: fixed;
    inset: 0;
    background-image: 
        radial-gradient(var(--primary-soft) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.4;
    pointer-events: none;
    z-index: -1;
}

/* --- Floating Widgets --- */
.mobile-float {
    position: fixed;
    bottom: 30px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 1000;
}

.float-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
    cursor: pointer;
}

.float-btn:hover {
    transform: scale(1.1) translateY(-5px);
}

.float-btn.call {
    background: white;
    color: var(--primary);
}

.float-btn.whatsapp {
    background: #25D366;
    color: white;
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 14px 0;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.95);
    border-bottom: none;
}

.header.scrolled {
    padding: 14px 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.03);
    border-bottom: none;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    width: 100%;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    z-index: 10;
    flex-shrink: 0;
    margin-right: 0;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -1.2px;
    color: var(--secondary);
    text-transform: none;
    transition: var(--transition);
}

.site-brand-master {
    color: var(--primary);
}

.site-brand-mebel {
    color: var(--secondary);
}

.site-brand:hover {
    transform: scale(1.02);
    opacity: 0.9;
}

.site-brand-footer {
    color: white;
}

.site-brand-footer .site-brand-mebel {
    color: white;
}

.logo-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-logo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.site-brand-footer {
    width: 300px;
    height: 50px;
    overflow: visible;
}

.nav {
    display: flex;
    gap: 24px;
    flex-grow: 1;
    justify-content: center;
    margin: 0 20px 0 28px;
}

.mobile-nav-contact {
    display: none;
}

.nav-link-icon {
    display: none;
}

.nav-link--mobile-only {
    display: none !important;
}

.nav-caret {
    display: none;
}

.dropdown-caret {
    display: none;
}

.nav-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--secondary);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

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

.nav-link:hover::after {
    width: 100%;
}

.chevron {
    margin-left: 8px;
    transition: transform 0.3s ease;
    opacity: 0.8;
    flex-shrink: 0;
    display: block;
}

.dropdown > .nav-link .chevron {
    display: none;
}

.dropdown > .nav-link {
    gap: 8px;
}

.dropdown > .nav-link::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    flex-shrink: 0;
    order: 2;
    margin-left: 2px;
    vertical-align: middle;
    position: relative;
    top: -1px;
}

.dropdown:hover > .nav-link::before {
    transform: rotate(225deg);
}

.dropdown:hover .chevron {
    transform: rotate(180deg);
    opacity: 1;
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% - 5px);
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: white;
    min-width: 440px;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1000;
    border: 1px solid rgba(0,0,0,0.05);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    right: 0;
    height: 15px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(10px);
}

.dropdown-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: 14px;
    text-decoration: none;
    transition: var(--transition);
    background: transparent;
}

.dropdown-link:hover {
    background: var(--bg-light);
    transform: translateX(5px);
}

.dropdown-link .icon {
    width: 40px;
    height: 40px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    box-shadow: none;
    color: var(--primary);
}

.dropdown-link .icon svg {
    width: 20px;
    height: 20px;
    display: block;
}

.dropdown-link .title {
    font-size: 15px;
    font-weight: 700;
    color: var(--secondary);
}

.dropdown-link:hover .title {
    color: var(--primary);
}

.nav-more {
    display: none;
}

.nav-more__toggle,
.nav-more__menu,
.nav-more__grid,
.nav-more__link,
.nav-more__icon,
.nav-more__caret {
    box-sizing: border-box;
}

.nav-more__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    color: var(--primary);
}

.nav-more__icon svg {
    width: 20px;
    height: 20px;
    display: block;
}

@media (min-width: 768px) {
    .nav-more {
        position: relative;
        display: inline-flex;
        align-items: center;
        flex: 0 0 auto;
    }

    .nav-more__toggle {
        position: relative;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 0 18px 0 0;
        border: 0;
        background: transparent;
        color: var(--secondary);
        font: inherit;
        font-size: 15px;
        line-height: 1.2;
        cursor: pointer;
        white-space: nowrap;
    }

    .nav-more__label {
        display: inline-block;
    }

    .nav-more__caret {
        position: absolute;
        top: 50%;
        right: 0;
        width: 12px;
        height: 12px;
        color: currentColor;
        transform: translateY(-50%);
        transition: transform 0.24s ease;
        pointer-events: none;
    }

    .nav-more__caret svg {
        width: 100%;
        height: 100%;
        display: block;
    }

    .nav-more.is-open .nav-more__caret {
        transform: translateY(-50%) rotate(180deg);
    }

    .nav-more__menu {
        position: absolute;
        top: calc(100% + 14px);
        left: 0;
        min-width: 290px;
        background: #fff;
        border: 1px solid #eef2f7;
        border-radius: 22px;
        box-shadow: 0 22px 48px rgba(15, 23, 42, 0.12);
        padding: 18px;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(8px);
        transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
        z-index: 1005;
    }

    .nav-more.is-open .nav-more__menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-more__grid {
        display: none;
    }

    .nav-more__link {
        display: grid;
        grid-template-columns: 22px minmax(0, 1fr);
        align-items: center;
        column-gap: 12px;
        width: 100%;
        padding: 12px 14px;
        border-radius: 14px;
        color: var(--secondary);
        text-decoration: none;
        font-size: 15px;
        font-weight: 700;
        line-height: 1.35;
        transition: background-color 0.2s ease, color 0.2s ease;
    }

    .nav-more__link:hover,
    .nav-more__link:focus-visible {
        background: #f7fafc;
        color: var(--primary);
        outline: none;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .nav-more {
        order: 3;
        display: inline-flex !important;
    }

    .nav > .nav-link:nth-of-type(3),
    .nav > .nav-link:nth-of-type(4),
    .nav > .nav-link:nth-of-type(5) {
        display: none !important;
    }

    .nav-more__menu {
        left: 50%;
        min-width: 500px;
        padding: 22px;
        transform: translateX(-50%) translateY(8px);
    }

    .nav-more.is-open .nav-more__menu {
        transform: translateX(-50%) translateY(0);
    }

    .nav-more__grid--tablet {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 16px;
    }

    .nav-more__grid--desktop {
        display: none;
    }
}

@media (min-width: 1024px) {
    .nav-more {
        order: 999;
    }

    .nav-more__toggle {
        min-height: 24px;
    }

    .nav-more__menu {
        left: auto;
        right: 0;
    }

    .nav-more__grid--tablet {
        display: none;
    }

    .nav-more__grid--desktop {
        display: grid;
        gap: 6px;
    }
}

.nav-more__toggle::before,
.nav-more__toggle::after,
.nav-more__menu::before,
.nav-more__menu::after,
.nav-more__link::before,
.nav-more__link::after {
    content: none;
    display: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
    margin-left: auto;
}

@media (min-width: 768px) {
    .nav-more__toggle {
        appearance: none;
        -webkit-appearance: none;
        text-decoration: none !important;
        font-weight: 700;
        letter-spacing: 0;
        vertical-align: middle;
        flex-shrink: 0;
    }

    .nav-more__label {
        text-decoration: none !important;
    }

    .nav-more__toggle:hover,
    .nav-more__toggle:focus-visible,
    .nav-more.is-open .nav-more__toggle {
        background: transparent;
        color: var(--secondary);
        text-decoration: none !important;
        opacity: 1;
        outline: none;
    }
}

.contact-info-header {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    white-space: nowrap;
    min-width: fit-content;
    line-height: 1;
}

.phone-link {
    font-size: 19px;
    font-weight: 800;
    color: var(--secondary);
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
    line-height: 1.2;
}

.work-time {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.btn-primary {
    padding: 12px 24px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(118, 183, 41, 0.2);
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(118, 183, 41, 0.3);
}

.header-mobile-call {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: 10px;
    transition: var(--transition);
    margin-right: 8px;
}

.header-mobile-call:hover {
    background: var(--primary);
    color: white;
}

.burger {
    display: none;
    width: 42px;
    height: 42px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    cursor: pointer;
    z-index: 1002;
    transition: var(--transition);
    padding: 0;
    box-shadow: var(--shadow-sm);
}

.burger:hover {
    border-color: var(--primary-soft);
    background: var(--bg-light);
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #1a1a2e; /* Solid dark color */
    transition: var(--transition);
    border-radius: 2px;
}

.burger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.burger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    padding: calc(80px + var(--header-height)) 0 80px !important;
    background: 
        radial-gradient(circle at 70% 30%, rgba(118, 183, 41, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 10% 80%, rgba(26, 26, 46, 0.03) 0%, transparent 40%),
        linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    overflow: hidden;
    min-height: auto;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(var(--text-muted) 0.5px, transparent 0.5px);
    background-size: 32px 32px;
    opacity: 0.15;
    pointer-events: none;
}

.hero-shapes .shape {
    position: absolute;
    filter: blur(120px);
    opacity: 0.6;
    z-index: 1;
    border-radius: 50%;
    animation: shape-float 15s ease-in-out infinite alternate;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: rgba(118, 183, 41, 0.15);
    top: -200px;
    right: -100px;
}

.shape-2 {
    width: 450px;
    height: 450px;
    background: rgba(26, 26, 46, 0.05);
    bottom: -100px;
    left: -150px;
    animation-delay: -5s;
}

.shape-3 {
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(118, 183, 41, 0.08);
    top: 40%;
    right: 15%;
    filter: blur(80px);
    border-radius: 50%;
    z-index: 1;
    animation: shape-float 12s ease-in-out infinite alternate-reverse;
}

@keyframes shape-float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 40px) scale(1.1); }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 10;
}

.badge-animated {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 28px;
    border: 1px solid #f1f5f9;
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    position: relative;
}

.badge-pulse::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid var(--primary);
    animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
    75%, 100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

.hero-badge-float {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(118, 183, 41, 0.08);
    border: 1px solid rgba(118, 183, 41, 0.15);
    border-radius: 100px;
    margin-bottom: 24px;
    animation: badge-float 4s ease-in-out infinite;
    backdrop-filter: blur(5px);
}

.badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(118, 183, 41, 0.3);
}

.badge-icon svg {
    transform: rotate(-15deg) translate(0.5px, 0.5px); /* Тонкая корректировка угла и положения */
}

.badge-text {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: 0.2px;
}

@keyframes badge-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes hero-reveal-up {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text > .hero-badge-float,
.hero-text > .hero-title,
.hero-text > .hero-description,
.hero-text > .hero-stats,
.hero-text > .hero-cta-area,
.hero-visual {
    opacity: 0;
    animation: hero-reveal-up 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    will-change: transform, opacity;
}

.hero-text > .hero-title {
    animation-delay: 0.08s;
}

.hero-text > .hero-description {
    animation-delay: 0.18s;
}

.hero-text > .hero-stats {
    animation-delay: 0.3s;
}

.hero-text > .hero-cta-area {
    animation-delay: 0.42s;
}

.hero-visual {
    animation-delay: 0.28s;
}

@media (prefers-reduced-motion: reduce) {
    .hero-text > .hero-title,
    .hero-text > .hero-description,
    .hero-text > .hero-stats,
    .hero-text > .hero-cta-area,
    .hero-visual {
        opacity: 1;
        animation: none;
        transform: none;
    }
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    margin-top: 0;
    margin-bottom: 28px;
    letter-spacing: -2px;
    color: #1e293b;
}

.title-line.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.highlight-text {
    color: var(--primary);
    font-weight: 800;
}

.hero-description {
    font-size: 18px;
    color: #475569; /* Darker slate for better readability */
    margin-bottom: 40px;
    max-width: 600px;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 48px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-icon-wrap {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--primary);
    flex-shrink: 0;
}

.stat-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    color: #1e293b;
}

.stat-text > span {
    white-space: normal;
    overflow-wrap: anywhere;
}

.hero-cta-area {
    display: flex;
    align-items: center;
    gap: 24px;
}

.cta-trust-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    max-width: 320px;
    color: #64748b;
    margin: 0;
}

.cta-trust-note .dot {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 0.5em;
}

.btn-primary {
    padding: 12px 24px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(118, 183, 41, 0.2);
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(118, 183, 41, 0.3);
}

.hero-cta-primary > span {
    white-space: nowrap;
    font-size: 17px;
    line-height: 1.2;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 18px 36px;
    background: white;
    color: var(--text);
    border: 2px solid #f1f5f9;
    border-radius: var(--radius-lg);
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: #f8fafc;
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
}

/* removed old trust badges styles as they moved inline */


/* --- Hero Visual (New Grid) --- */
.hero-visual {
    position: relative;
    height: 600px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.visual-grid {
    position: relative;
    width: 100%;
    max-width: 650px;
    height: 100%;
}

.visual-card {
    position: absolute;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0,0,0,0.15);
    background: #f1f5f9;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1;
}

.visual-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.visual-card:hover {
    z-index: 20;
    transform: translate3d(0, -10px, 0) scale(1.02);
    box-shadow: 0 50px 100px rgba(0,0,0,0.2);
}

.visual-card:hover img {
    transform: scale(1.05);
}

/* Positions */
.card-wardrobe {
    width: 320px;
    height: 420px;
    left: 0;
    top: 0;
    z-index: 2;
}

.card-living {
    width: 320px;
    height: 240px;
    left: 40px;
    bottom: 20px;
    z-index: 5;
}

.card-main-kitchen {
    width: 440px;
    height: 520px;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.card-main-kitchen:hover {
    transform: translateY(-52%) scale(1.02);
}

/* --- Global Icon Styling --- */
.stat-icon, .check-icon {
    stroke: currentColor;
    flex-shrink: 0;
}

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

/* Old containers support */
.plus svg, .circle svg, .cont_img svg {
    max-width: 100%;
    max-height: 100%;
    stroke: var(--primary);
    transition: var(--transition);
}

.plus:hover svg {
    color: var(--primary-light);
    transform: scale(1.1);
}

.circle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-soft);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    padding: 6px;
}

.cont_img {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    color: var(--primary);
    margin-right: 15px;
}

/* --- Catalog Section --- */
.catalog-section {
    padding: 80px 0;
    background: #ffffff;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.section-title {
    font-size: 40px;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.15;
    margin-bottom: 15px;
    letter-spacing: -1px;
    text-wrap: balance;
}

.section-title .highlight-text {
    display: inline-block;
    vertical-align: baseline;
}

.section-subtitle {
    font-size: 18px;
    color: #64748b;
    line-height: 1.5;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 280px;
    gap: 30px;
}

.catalog-card {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    text-decoration: none;
    background: #f1f5f9;
    display: block;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.catalog-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 28px;
    border: 2px solid var(--primary);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
    z-index: 5;
}

.catalog-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 40px 80px rgba(0,0,0,0.15);
}

.catalog-card:hover::after {
    opacity: 0.3;
}

.card-large {
    grid-column: span 2;
    grid-row: span 2;
}

.card-medium {
    grid-column: span 2;
    grid-row: span 1;
}

.card-small {
    grid-column: span 1;
    grid-row: span 1;
}

@media (min-width: 1025px) {
    .catalog-grid > a[href*="detskaya-mebel-na-zakaz.html"] {
        grid-column: span 2;
        grid-row: span 1;
    }
}

.catalog-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.card-tag {
    position: absolute;
    top: 24px;
    left: 24px;
    color: white;
    padding: 6px 14px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
    box-shadow: 0 10px 20px rgba(118, 183, 41, 0.3);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.4) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 32px;
    transition: var(--transition);
    z-index: 2;
}

.card-content {
    width: 100%;
    color: white;
    transform: translateY(10px);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    text-align: center;
    position: relative;
}

.card-title-row {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-width: 100%;
}

.catalog-card:hover .card-content {
    transform: translateY(0);
}

.card-content h3 {
    font-size: clamp(20px, 1.6vw, 25px);
    font-weight: 800;
    margin-bottom: 0;
    text-wrap: balance;
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.card-content p {
    font-size: 14px;
    opacity: 0.9;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    transform: translateY(10px);
    opacity: 0;
    transition: var(--transition);
    max-width: 72%;
    line-height: 1.4;
    display: none;
}

.card-medium .card-content h3 {
    font-size: clamp(19px, 1.4vw, 26px);
}

.card-small .card-content h3 {
    font-size: clamp(17px, 1.2vw, 22px);
    max-width: 100%;
}

.card-small .card-content p {
    max-width: 100%;
}

.card-link-arrow {
    position: static;
    width: 22px;
    height: 22px;
    min-width: 22px;
    background: transparent;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: currentColor;
    transform: translateY(0);
    opacity: 1;
    transition: transform 0.3s ease, color 0.3s ease;
    box-shadow: none;
    z-index: auto;
}

.card-link-arrow svg {
    width: 18px;
    height: 18px;
    transition: inherit;
}

.catalog-card:hover .card-link-arrow {
    transform: translateX(2px);
    opacity: 1;
    background: transparent;
    color: currentColor;
    box-shadow: none;
}

.catalog-card:hover img {
    transform: scale(1.1);
}

.catalog-card:hover .card-link-arrow {
    transform: translateX(2px);
    opacity: 1;
    background: transparent;
    color: currentColor;
    box-shadow: none;
}

@media (min-width: 1025px) {
    .card-title-row {
        gap: 10px;
        align-items: baseline;
    }

    .card-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-end;
        text-align: center;
        row-gap: 0;
        column-gap: 0;
    }

    .card-content h3 {
        width: auto;
        max-width: 100%;
        text-align: center;
        display: block;
    }

    .card-content p {
        grid-column: auto;
        text-align: center;
    }

    .card-link-arrow {
        position: static;
        align-self: center;
        justify-self: auto;
        width: 1em;
        height: 1em;
        min-width: 1em;
        color: var(--primary);
        opacity: 1;
        transform: translateX(0) translateY(0.08em);
        pointer-events: none;
    }

    .card-link-arrow svg {
        width: 100%;
        height: 100%;
    }

    .catalog-card:hover .card-link-arrow {
        opacity: 1;
        transform: translateX(2px) translateY(0.08em);
        color: var(--primary);
    }
}

.project-cta-section {
    position: relative;
}

.project-cta-wrapper {
    background: linear-gradient(135deg, #ffffff 0%, #f9fbf7 50%, #f4f9ed 100%);
    border-radius: 40px;
    padding: 85px 70px;
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 70px;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(0,0,0,0.08),
        0 0 0 1px rgba(118, 183, 41, 0.1);
}

.project-cta-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(138, 208, 56, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.project-cta-wrapper::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(118, 183, 41, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.project-cta-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
}

.floating-icons {
    position: absolute;
    inset: 0;
}

.float-icon {
    position: absolute;
    background: white;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    color: var(--primary);
    animation: floatIcon 6s ease-in-out infinite;
}

.icon-1 {
    top: 20px;
    left: 20px;
    animation-delay: 0s;
}

.icon-2 {
    top: 60px;
    right: 40px;
    animation-delay: 1.5s;
}

.icon-3 {
    bottom: 40px;
    left: 60px;
    animation-delay: 3s;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

.project-image-stack {
    position: relative;
    width: 200px;
    height: 240px;
    z-index: 2;
}

.stack-card {
    position: absolute;
    width: 180px;
    height: 220px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    transition: all 0.4s ease;
}

.card-back {
    background: linear-gradient(135deg, #e8f5e0 0%, #d4ecc5 100%);
    top: 20px;
    left: 20px;
    transform: rotate(8deg);
}

.card-middle {
    background: linear-gradient(135deg, #c8e6b8 0%, #b3dba0 100%);
    top: 10px;
    left: 10px;
    transform: rotate(4deg);
}

.card-front {
    background: var(--gradient-primary);
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(0deg);
}

.stack-card svg {
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.project-cta-wrapper:hover .card-back {
    transform: rotate(12deg) translateX(10px);
}

.project-cta-wrapper:hover .card-middle {
    transform: rotate(6deg) translateX(5px);
}

.project-cta-content {
    position: relative;
    z-index: 2;
    max-width: 640px;
}

.content-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(118, 183, 41, 0.1);
    color: var(--primary-dark);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 24px;
    border: 1px solid rgba(118, 183, 41, 0.2);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0% { box-shadow: 0 0 0 0 rgba(118, 183, 41, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(118, 183, 41, 0); }
    100% { box-shadow: 0 0 0 0 rgba(118, 183, 41, 0); }
}

.project-title {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text);
    letter-spacing: -1px;
    text-align: left;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-description {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 32px;
    max-width: 56ch;
}

.project-features {
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    padding: 10px 0;
    border-radius: 100px;
    box-shadow: none;
}

.feature-check {
    width: 24px;
    height: 24px;
    background: transparent;
    color: var(--primary);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.feature-check svg {
    width: 24px;
    height: 24px;
}

.project-features .feature-item:nth-child(1) .feature-check svg,
.project-features .feature-item:nth-child(3) .feature-check svg {
    transform: scale(1.12);
    transform-origin: center;
}

.project-cta-buttons {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.btn-primary-glow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 36px;
    background: linear-gradient(135deg, #8AD038 0%, #76B729 100%);
    color: white;
    border: none;
    border-radius: 14px;
    font-family: inherit;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(118, 183, 41, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-primary-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(118, 183, 41, 0.5);
}

.btn-primary-glow svg {
    flex-shrink: 0;
    transform: translateY(1px);
    transition: transform 0.3s ease;
}

.btn-primary-glow:hover svg {
    transform: translateY(1px) translateX(5px);
}

.btn-phone-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    padding: 16px 20px;
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(118, 183, 41, 0.16);
    border-radius: 16px;
}

.btn-phone-link:hover {
    color: var(--primary);
    transform: translateX(5px);
}

/* Light final CTA */
.final-cta-light {
    position: relative;
}

.final-cta-wrapper-light {
    background: linear-gradient(135deg, #ffffff 0%, #f9fbf7 50%, #f4f9ed 100%);
    border-radius: 40px;
    padding: 85px 70px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 70px;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(0,0,0,0.08),
        0 0 0 1px rgba(118, 183, 41, 0.1);
}

.final-cta-wrapper-light::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(138, 208, 56, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.final-cta-wrapper-light::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(118, 183, 41, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-decor-light {
    display: none;
}

.decor-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.3;
}

.c1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(138, 208, 56, 0.2), transparent);
    top: -150px;
    right: -100px;
    animation: floatCircleLight 8s ease-in-out infinite;
}

.c2 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, rgba(118, 183, 41, 0.15), transparent);
    bottom: -80px;
    left: 30%;
    animation: floatCircleLight 10s ease-in-out infinite reverse;
}

.c3 {
    width: 150px;
    height: 150px;
    background: rgba(138, 208, 56, 0.1);
    top: 50%;
    right: 25%;
    animation: floatCircleLight 6s ease-in-out infinite;
}

@keyframes floatCircleLight {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-15px) scale(1.05); }
}

.decor-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(138, 208, 56, 0.4), transparent);
}

.l1 {
    width: 200px;
    top: 20%;
    left: -60px;
    transform: rotate(-20deg);
}

.final-cta-content-light {
    position: relative;
    z-index: 2;
}

.cta-badge-green {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(138, 208, 56, 0.1);
    border: 1px solid rgba(138, 208, 56, 0.2);
    color: var(--primary);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 24px;
    width: fit-content;
}

.pulse-green {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
    0% { box-shadow: 0 0 0 0 rgba(118, 183, 41, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(118, 183, 41, 0); }
    100% { box-shadow: 0 0 0 0 rgba(118, 183, 41, 0); }
}

.cta-title-light {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--text);
    letter-spacing: -1px;
}

.text-gradient-green {
    background: linear-gradient(135deg, #76B729 0%, #8AD038 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-desc-light {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 35px;
    max-width: 90%;
}

.cta-features-inline {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
    row-gap: 18px;
    margin-bottom: 40px;
    max-width: 90%;
}

.inline-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
}

.if-icon {
    width: 24px;
    height: 24px;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: none;
    border: none;
    flex-shrink: 0;
}

.if-icon svg {
    width: 24px;
    height: 24px;
}

.final-cta-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 35px;
    flex-wrap: wrap;
    align-items: center;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 36px;
    background: linear-gradient(135deg, #8AD038 0%, #76B729 100%);
    color: white;
    border: none;
    border-radius: 14px;
    font-family: inherit;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(118, 183, 41, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(118, 183, 41, 0.5);
}

.btn-cta-primary svg {
    transition: transform 0.3s ease;
}

.btn-cta-primary:hover svg {
    transform: translateX(5px);
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 20px 32px;
    background: white;
    color: var(--text);
    border: 2px solid rgba(118, 183, 41, 0.2);
    border-radius: 14px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.btn-cta-secondary:hover {
    border-color: #25D366;
    color: #25D366;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.btn-cta-secondary svg {
    color: #25D366;
    flex-shrink: 0;
    transform: translateY(1px);
}

.cta-phone-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.phone-text {
    font-size: 15px;
    color: var(--text-muted);
}

.phone-link-green {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s;
}

.phone-link-green:hover {
    color: var(--primary-dark);
}

.phone-time {
    font-size: 13px;
    color: var(--text-muted);
    background: rgba(118, 183, 41, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
}

.final-cta-visual-light {
    position: relative;
    height: 100%;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-card-container {
    position: relative;
    width: 280px;
    height: 330px;
}

.vcard {
    position: absolute;
    width: 250px;
    height: 300px;
    border-radius: 24px;
    box-shadow: 0 20px 48px rgba(0,0,0,0.12);
    transition: all 0.4s ease;
}

.vcard-back {
    background: linear-gradient(135deg, #e8f5e0 0%, #d4ecc5 100%);
    top: 20px;
    left: 20px;
    transform: rotate(8deg);
}

.vcard-mid {
    background: linear-gradient(135deg, #d4ecc5 0%, #c2e0b0 100%);
    top: 10px;
    left: 10px;
    transform: rotate(4deg);
}

.vcard-front {
    background: linear-gradient(135deg, #8AD038 0%, #76B729 100%);
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: white;
}

.vcard-icon {
    width: 92px;
    height: 92px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vcard-text {
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    padding: 0 24px;
}

.final-cta-wrapper-light:hover .vcard-back {
    transform: rotate(12deg) translateX(10px);
}

.final-cta-wrapper-light:hover .vcard-mid {
    transform: rotate(6deg) translateX(5px);
}

.floating-tag-light {
    position: absolute;
    background: white;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
}

.ft-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulseDot 2s infinite;
}

.ft-1 {
    top: 30px;
    right: -20px;
    animation: floatTag 4s ease-in-out infinite;
}

.ft-2 {
    bottom: 60px;
    left: -30px;
    animation: floatTag 4s ease-in-out infinite reverse;
}

@keyframes floatTag {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}


@media (max-width: 1200px) {
    .final-cta-wrapper-light {
    background: linear-gradient(135deg, #ffffff 0%, #f9fbf7 50%, #f4f9ed 100%);
    border-radius: 40px;
    padding: 85px 70px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 70px;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(0,0,0,0.08),
        0 0 0 1px rgba(118, 183, 41, 0.1);
}

    .final-cta-visual-light {
        order: -1;
        min-height: 250px;
    }

    .cta-features-inline {
        justify-items: center;
    }

    .final-cta-actions,
    .cta-phone-row {
        justify-content: center;
    }

    .cta-desc-light {
        max-width: 100%;
    }

    .cta-badge-green {
        margin-left: auto;
        margin-right: auto;
    }

}

@media (max-width: 767px) {
    .header { padding: 12px 0; }
    .header-content { justify-content: space-between; gap: 10px; }
    
    .nav {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        width: 100vw;
        max-width: 100vw;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        padding: 72px 20px 28px;
        box-sizing: border-box;
        transform: translate3d(100%, 0, 0);
        transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.2s ease;
        z-index: 1001;
        box-shadow: -15px 0 40px rgba(0,0,0,0.15);
        margin: 0;
        gap: 0;
        overflow-y: auto;
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
    }
    
    .nav.active {
        transform: translate3d(0, 0, 0);
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }
    
    .nav-link {
        font-size: 18px;
        padding: 14px 0;
        width: 100%;
        border-bottom: 1px solid #f1f5f9;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap: 10px;
        box-sizing: border-box;
    }
    
    .nav-link::after { display: none; }

    .nav > .nav-link,
    .nav-link--mobile-only {
        display: flex !important;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        padding: 0;
        min-width: 100%;
        display: block;
        border: none;
    }

    .dropdown-grid {
        grid-template-columns: 1fr;
    }

    .dropdown {
        display: contents;
    }

    .dropdown > .nav-link {
        display: none;
    }

    .dropdown-link {
        padding: 14px 0;
        border-bottom: 1px solid #f1f5f9;
        border-radius: 0;
        box-shadow: none;
        font-size: 18px;
    }

    .dropdown-link {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .dropdown-link .icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 22px;
        height: 22px;
        color: var(--primary);
        flex-shrink: 0;
    }

    .dropdown-link .icon svg {
        width: 18px;
        height: 18px;
    }

    .dropdown-link .title {
        font-size: 18px;
        font-weight: 700;
        color: var(--secondary);
    }

    .dropdown-menu .dropdown-link:nth-child(-n+3) {
        display: none;
    }

    .mobile-nav-contact {
        display: grid;
        gap: 12px;
        margin-bottom: 20px;
        padding-bottom: 16px;
        border-bottom: 1px solid #eef2f7;
    }

    .mobile-nav-contact-item {
        display: flex;
        align-items: center;
        gap: 12px;
        text-decoration: none;
        color: var(--secondary);
    }

    .mobile-nav-contact-item .icon {
        width: 36px;
        height: 36px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        background: #f8fafc;
        color: var(--primary);
        flex-shrink: 0;
    }

    .mobile-nav-contact-item .icon svg {
        width: 18px;
        height: 18px;
    }

    .mobile-nav-contact-text {
        display: flex;
        flex-direction: column;
        gap: 2px;
        min-width: 0;
    }

    .mobile-nav-contact-text strong {
        font-size: 15px;
        font-weight: 800;
        line-height: 1.2;
    }

    .mobile-nav-contact-text span {
        font-size: 12px;
        color: var(--text-muted);
        line-height: 1.35;
    }

    .burger { display: flex; }
    .header-mobile-call { display: flex; }
    .contact-info-header { display: none; }
    .site-brand { font-size: 22px; margin-right: 0; }
    
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }

    .final-cta-wrapper-light {
    background: linear-gradient(135deg, #ffffff 0%, #f9fbf7 50%, #f4f9ed 100%);
    border-radius: 40px;
    padding: 70px 70px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 70px;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(0,0,0,0.08),
        0 0 0 1px rgba(118, 183, 41, 0.1);
}

    .cta-title-light {
        font-size: 26px;
    }

    .cta-features-inline {
        grid-template-columns: 1fr;
        row-gap: 14px;
    }

    .final-cta-actions {
        display: flex;
        flex-wrap: nowrap;
        gap: 12px;
        justify-content: center;
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        width: auto;
        justify-content: center;
        flex: 0 1 auto;
        padding-left: 18px;
        padding-right: 18px;
        font-size: 15px;
    }

    .cta-phone-row {
        flex-direction: column;
        gap: 8px;
    }

    .visual-card-container {
        transform: scale(0.85);
    }

    .floating-tag-light {
        display: none;
    }

    .project-cta-wrapper {
        grid-template-columns: 1fr;
        padding: 60px 40px;
        text-align: center;
    }

    .project-cta-visual {
        order: -1;
        height: 250px;
    }

    .project-features {
        justify-content: center;
    }

    .feature-item {
        justify-content: center;
    }

    .project-cta-buttons {
        justify-content: center;
    }

    .project-description {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .project-cta-wrapper {
        padding: 40px 24px;
        border-radius: 24px;
    }

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

    .project-features {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .feature-item {
        width: 100%;
        justify-content: center;
    }

    .btn-primary-glow {
        width: 100%;
        justify-content: center;
    }

    .btn-phone-link {
        width: 100%;
        justify-content: center;
    }
    .section-title { font-size: 26px; }
    .section-subtitle { font-size: 15px; }
    .catalog-section, .about-section, .guarantees-section, .guarantees-section-new, .process-section { padding: 60px 0 !important; }
    .hero-section { padding: calc(60px + var(--header-height)) 0 60px !important; }
    
    .catalog-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; gap: 20px; }
    .card-large, .card-medium, .card-small { grid-column: span 1; grid-row: span 1; }
    
    .about-grid { grid-template-columns: 1fr; gap: 24px; }
    .about-visual { order: -1; margin-bottom: 20px; }
    .about-visual-creative {
        order: -1;
        padding: 0;
        margin-bottom: 4px;
    }
    .image-wrapper {
        max-width: 100%;
        border-radius: 22px;
    }
    .benefits-stack { gap: 14px; }
    .benefit-premium-card {
        align-items: flex-start;
        gap: 14px;
        padding: 18px 16px;
        border-radius: 16px;
    }
    .benefit-icon-box {
        width: 38px;
        height: 38px;
    }
    .benefit-icon-box svg {
        width: 24px;
        height: 24px;
        max-width: 24px;
        max-height: 24px;
        flex: 0 0 24px;
    }
    .benefit-info h4 {
        font-size: 16px;
        margin-bottom: 6px;
    }
    .benefit-info p { font-size: 13px; }
    .experience-float-badge {
        top: 10px;
        left: 10px;
        padding: 12px 14px;
        border-radius: 14px;
    }
    .experience-float-badge .count {
        font-size: 28px;
        margin-bottom: 4px;
    }
    .experience-float-badge .label {
        font-size: 12px;
        line-height: 1.25;
    }
    .stat-pill-float { bottom: 20px; right: 0; padding: 10px 16px; font-size: 13px; }
    
    .header-actions .btn-primary { display: none; }

    .brands-section-premium { padding: 30px 20px; margin-top: 40px; }
    .brands-track { gap: 40px; flex-wrap: nowrap; animation-duration: 20s; }
    .brands-track img { height: 28px; }
    .brands-header .highlight { font-size: 20px; }
    .header {
        padding: 14px 0;
    }

    .header-content {
        gap: 8px;
        min-height: 48px;
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow: visible;
    }

    .site-brand {
        margin-right: auto;
        text-align: left;
    }

    .header-actions {
        display: grid !important;
        grid-template-columns: 40px 40px;
        gap: 8px !important;
        flex: 0 0 88px;
        margin-left: 0;
        justify-content: end;
        align-items: center;
    }

    .header-mobile-call,
    .burger {
        width: 40px;
        height: 40px;
        min-width: 40px;
        margin-right: 0;
        border-radius: 10px;
    }

    .hero-section {
        padding: calc(50px + var(--header-height)) 0 50px !important;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }

    .hero-visual {
        display: none;
    }

    .hero-title {
        font-size: clamp(32px, 9vw, 42px);
        line-height: 1.08;
        letter-spacing: -1.2px;
        margin-bottom: 18px;
    }

    .hero-description {
        font-size: 16px;
        line-height: 1.55;
        margin: 0 auto 26px;
        max-width: 100%;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 18px;
        margin-bottom: 28px;
        width: 100%;
    }

    .hero-stats .stat-item {
        justify-content: center;
        gap: 12px;
        min-width: 0;
    }

    .hero-stats .stat-item:last-child {
        grid-column: 1 / -1;
        justify-self: center;
    }

    .stat-icon-wrap {
        width: 40px;
        height: 40px;
    }

    .stat-text {
        font-size: 13px;
        text-align: left;
        min-width: 0;
    }

    .hero-cta-area {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        max-width: 360px;
        margin: 0 auto;
    }

    .hero-cta-primary {
        width: 100%;
        justify-content: center;
    }

    .cta-trust-note {
        max-width: none;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: calc(50px + var(--header-height)) 0 50px !important;
    }

    .hero-title {
        font-size: 28px;
        margin-bottom: 16px;
    }

    .hero-description {
        font-size: 15px;
        margin-bottom: 22px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 18px;
        justify-items: center;
        width: 100%;
    }

    .hero-stats .stat-item,
    .hero-stats .stat-item:last-child {
        grid-column: auto;
        justify-self: center;
        display: grid;
        grid-template-columns: 26px auto;
        justify-content: center;
        align-items: center;
        gap: 14px;
        width: auto;
        max-width: none;
    }

    .hero-stats .stat-icon-wrap {
        width: 26px;
        height: 26px;
        flex: 0 0 26px;
        margin-top: 0;
    }

    .stat-text {
        font-size: 12px;
        text-align: left;
        line-height: 1.35;
        font-weight: 600;
        display: block;
    }

    .stat-text > span {
        display: inline;
        white-space: nowrap;
    }

    .stat-text > span + span::before {
        content: ' ';
    }

    .cta-trust-note {
        display: inline-flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 10px !important;
        width: fit-content !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: left !important;
        font-size: 13px !important;
        line-height: 1.25 !important;
        white-space: nowrap !important;
    }

    .cta-trust-note .dot {
        width: 6px !important;
        height: 6px !important;
        margin-top: 0 !important;
        align-self: center !important;
        flex: 0 0 6px !important;
    }

    .about-section { padding: 48px 0 !important; }
    .about-grid { gap: 20px; }
    .about-content .section-title { font-size: 28px; }
    .about-content .section-subtitle {
        font-size: 14px;
        line-height: 1.6;
    }
    .benefit-premium-card {
        padding: 16px 14px;
        gap: 12px;
        border-radius: 14px;
    }
    .benefit-icon-box {
        width: 34px;
        height: 34px;
    }
    .benefit-icon-box svg {
        width: 22px;
        height: 22px;
        max-width: 22px;
        max-height: 22px;
        flex: 0 0 22px;
    }
    .benefit-info h4 { font-size: 15px; }
    .benefit-info p { font-size: 12.5px; }
    .experience-float-badge {
        top: 8px;
        left: 8px;
        padding: 10px 12px;
        border-radius: 12px;
    }
    .experience-float-badge .count { font-size: 24px; }
    .experience-float-badge .label { font-size: 11px; }
}

@media (max-width: 420px) {
    .hero-title {
        font-size: 30px !important;
        line-height: 1.08 !important;
        letter-spacing: -0.7px !important;
        margin-bottom: 22px !important;
    }

    .hero-title .title-line {
        display: block !important;
    }

    .hero-title .title-line:first-child {
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .hero-title .highlight-text {
        display: block !important;
    }

    .cta-title-light {
        font-size: 29px !important;
        line-height: 1.08 !important;
        letter-spacing: -0.9px !important;
        text-wrap: initial !important;
    }

    .hero-badge-float {
        gap: 8px !important;
        padding: 8px 12px !important;
        max-width: 100% !important;
        border-radius: 20px !important;
    }

    .badge-icon {
        width: 24px !important;
        height: 24px !important;
        flex: 0 0 24px !important;
        box-shadow: 0 3px 10px rgba(118, 183, 41, 0.18) !important;
    }

    .badge-icon svg {
        width: 15px !important;
        height: 15px !important;
        transform: none !important;
    }

    .badge-text {
        font-size: 12px !important;
        line-height: 1.2 !important;
        letter-spacing: 0 !important;
    }

    .hero-cta-area {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
        box-sizing: border-box !important;
    }

    .cta-trust-note {
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
        padding-left: 14px !important;
        padding-right: 14px !important;
        box-sizing: border-box !important;
        font-size: 13px !important;
        line-height: 1.35 !important;
        text-align: center !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
    }

    .cta-trust-note .dot {
        display: none !important;
    }

    .project-cta-wrapper {
        padding-left: 16px !important;
        padding-right: 16px !important;
        overflow: hidden !important;
    }

    .project-cta-visual {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .project-sketch-visual {
        width: 100% !important;
        max-width: 272px !important;
        height: auto !important;
        aspect-ratio: 272 / 380 !important;
        min-width: 0 !important;
    }

    .project-cta-buttons {
        width: 100% !important;
        justify-content: center !important;
    }

    .btn-primary-glow {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        justify-content: center !important;
        padding: 16px 18px !important;
        font-size: 15px !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
    }

    .btn-primary-glow span {
        white-space: nowrap !important;
    }

    .final-cta-actions {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding: 16px 18px !important;
        font-size: 15px !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        box-sizing: border-box !important;
    }

    .btn-cta-primary span,
    .btn-cta-secondary {
        white-space: nowrap !important;
    }
}

@media (min-width: 900px) and (max-width: 1024px) {
    .mobile-nav-contact {
        display: none !important;
    }

    .dropdown > .nav-link {
        display: inline-flex !important;
    }

    .dropdown > .nav-link::after {
        content: none !important;
        display: inline-block !important;
        position: static !important;
        width: auto !important;
        height: auto !important;
        margin-left: 6px;
        background: none !important;
        font-size: 12px;
        line-height: 1;
        color: currentColor;
    }

    .header {
        padding: 14px 0;
    }

    .header-content {
        display: grid;
        grid-template-columns: auto 1fr auto;
        justify-content: stretch !important;
        gap: 18px;
        min-height: 0;
        overflow: visible;
    }

    .site-brand {
        font-size: 24px;
        margin-right: 0;
        text-align: left;
    }

    .nav {
        position: static;
        right: auto;
        top: auto;
        width: auto;
        height: auto;
        background: transparent;
        flex-direction: row;
        justify-content: flex-start;
        padding: 0;
        transition: none;
        z-index: auto;
        box-shadow: none;
        margin: 0;
        gap: 18px;
        justify-self: center;
        align-self: center;
    }

    .nav.active {
        right: auto;
    }

    .nav-link {
        font-size: 15px;
        padding: 0;
        width: auto;
        border-bottom: none !important;
        display: inline-flex;
        justify-content: flex-start;
        box-shadow: none !important;
        background: transparent !important;
        outline: none;
    }

    .nav-link::after {
        content: none !important;
    }

    .dropdown-menu {
        position: absolute;
        transform: translateX(-50%) translateY(10px);
        box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
        opacity: 0;
        visibility: hidden;
        padding: 18px;
        min-width: 280px;
        display: block;
        border: 1px solid #eef2f7;
    }

    .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }

    .dropdown-grid {
        grid-template-columns: 1fr;
    }

    .burger,
    .header-mobile-call {
        display: none !important;
    }

    .contact-info-header {
        display: flex;
    }

    .header-actions {
        display: flex !important;
        flex: 0 0 auto;
        margin-left: auto;
        gap: 0;
        justify-content: flex-end;
        align-items: center;
        justify-self: end;
    }

    .hero-grid {
        grid-template-columns: 1.05fr 0.95fr !important;
        gap: 36px !important;
        text-align: left !important;
        align-items: center;
    }

    .hero-text {
        text-align: left;
    }

    .hero-visual {
        display: block !important;
    }

    .visual-grid {
        max-width: 100%;
        transform: scale(0.92);
        transform-origin: center right;
    }

    .hero-description {
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
    }

    .hero-stats {
        display: flex;
        flex-wrap: wrap;
        gap: 20px 24px;
        justify-content: flex-start;
        width: 100%;
    }

    .hero-stats .stat-item {
        min-width: 0;
    }

    .hero-cta-area {
        align-items: flex-start;
        margin: 0;
        max-width: none;
    }

    .cta-trust-note {
        justify-content: flex-start;
        text-align: left;
    }

    .project-cta-wrapper {
        grid-template-columns: 0.92fr 1.08fr !important;
        text-align: left !important;
        padding: 60px 40px !important;
        gap: 40px !important;
        align-items: center;
    }

    .project-cta-visual {
        order: 0;
        height: auto;
        justify-content: center;
    }

    .project-sketch-visual {
        margin: 0;
        width: 280px;
        height: 380px;
        transform: rotate(0deg);
    }

    .project-cta-content {
        max-width: 100% !important;
        text-align: left;
    }

    .project-features {
        justify-content: flex-start;
    }

    .feature-item {
        justify-content: flex-start;
    }

    .project-cta-buttons {
        justify-content: flex-start;
    }

    .project-description {
        max-width: 100%;
    }
}

@media (min-width: 768px) and (max-width: 899px) {
    .mobile-nav-contact {
        display: none !important;
    }

    .dropdown > .nav-link {
        display: inline-flex !important;
    }

    .dropdown > .nav-link::after {
        content: none !important;
        display: inline-block !important;
        position: static !important;
        width: auto !important;
        height: auto !important;
        margin-left: 6px;
        background: none !important;
        font-size: 12px;
        line-height: 1;
        color: currentColor;
    }

    .header {
        padding: 14px 0;
    }

    .header-content {
        display: grid;
        grid-template-columns: auto 1fr auto;
        justify-content: stretch !important;
        gap: 18px;
        min-height: 0;
        overflow: visible;
    }

    .site-brand {
        font-size: 24px;
        margin-right: 0;
        text-align: left;
    }

    .nav {
        position: static;
        right: auto;
        top: auto;
        width: auto;
        height: auto;
        background: transparent;
        flex-direction: row;
        justify-content: flex-start;
        padding: 0;
        transition: none;
        z-index: auto;
        box-shadow: none;
        margin: 0;
        gap: 18px;
        justify-self: center;
        align-self: center;
    }

    .nav.active {
        right: auto;
    }

    .nav-link {
        font-size: 15px;
        padding: 0;
        width: auto;
        border-bottom: none !important;
        display: inline-flex;
        justify-content: flex-start;
        box-shadow: none !important;
        background: transparent !important;
        outline: none;
    }

    .nav-link::after {
        content: none !important;
    }

    .nav > .nav-link:nth-of-type(3),
    .nav > .nav-link:nth-of-type(4),
    .nav > .nav-link:nth-of-type(5) {
        display: none;
    }

    .dropdown-menu {
        position: absolute;
        transform: translateX(-50%) translateY(10px);
        box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
        opacity: 0;
        visibility: hidden;
        padding: 18px;
        min-width: 280px;
        display: block;
        border: 1px solid #eef2f7;
    }

    .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }

    .dropdown-grid {
        grid-template-columns: 1fr;
    }

    .burger,
    .header-mobile-call {
        display: none !important;
    }

    .contact-info-header {
        display: flex;
    }

    .header-actions {
        display: flex !important;
        flex: 0 0 auto;
        margin-left: auto;
        gap: 0;
        justify-content: flex-end;
        align-items: center;
        justify-self: end;
    }

    .hero-section {
        padding: calc(56px + var(--header-height)) 0 56px !important;
    }

    .hero-grid {
        grid-template-columns: 1fr !important;
        gap: 34px !important;
        text-align: center !important;
    }

    .hero-grid {
        text-align: center !important;
    }

    .hero-text {
        text-align: center !important;
    }

    .hero-title {
        font-size: clamp(42px, 6.4vw, 56px);
        line-height: 1.08;
        letter-spacing: -1.6px;
        margin-bottom: 22px;
    }

    .hero-description {
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
        max-width: 680px !important;
        margin-bottom: 30px;
        font-size: 17px;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px 20px;
        justify-content: center !important;
        align-items: start;
        max-width: 720px;
        margin: 0 auto 30px;
    }

    .hero-stats .stat-item,
    .hero-stats .stat-item:last-child {
        grid-column: auto;
        justify-self: center;
        justify-content: center;
        gap: 10px;
    }

    .stat-icon-wrap {
        width: 34px;
        height: 34px;
    }

    .stat-text {
        font-size: 12px;
        line-height: 1.35;
        text-align: left;
    }

    .hero-cta-area {
        display: flex;
        flex-direction: column;
        align-items: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        gap: 16px;
        max-width: 420px;
        width: 100%;
    }

    .cta-trust-note {
        width: 100%;
        justify-content: center !important;
        text-align: center !important;
        max-width: 420px;
    }

    .hero-cta-primary {
		width: 100%;
        justify-content: center;
    }

    .hero-visual {
        display: flex !important;
        justify-content: center;
        align-items: center;
        height: 460px;
        margin-top: 12px;
    }

    .visual-grid {
        width: 100%;
        max-width: 680px;
        height: 460px;
        transform: none;
    }

    .card-wardrobe {
        width: 240px;
        height: 320px;
        left: 36px;
        top: 24px;
    }

    .card-main-kitchen {
        width: 460px;
        height: 320px;
        right: 24px;
        bottom: 0;
        top: auto;
        transform: none;
    }

    .card-main-kitchen:hover {
        transform: translateY(-10px) scale(1.02);
    }

    .card-living {
        width: 190px;
        height: 132px;
        left: 96px;
        bottom: 10px;
    }
}

/* --- About Block Stabilization --- */
.about-section {
    padding: 80px 0;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: stretch;
}

.about-content {
    min-width: 0;
}

.about-content .section-title {
    text-align: left;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 15px;
}

.about-content .section-subtitle {
    text-align: left;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 35px;
    display: block;
}

.benefits-stack {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.benefit-premium-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #f2f4f7;
    transition: all 0.3s ease;
}

.benefit-premium-card:hover {
    background: #fff;
    transform: translateX(8px);
    border-color: var(--primary-soft);
    box-shadow: 0 15px 35px rgba(0,0,0,0.04);
}

.benefit-visual {
    flex-shrink: 0;
}

.benefit-icon-box {
    width: 52px;
    height: 52px;
    background: transparent;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
    flex-shrink: 0;
}

.benefit-premium-card:hover .benefit-icon-box {
    color: var(--primary);
    transform: scale(1.15);
}

.benefit-icon-box svg {
    width: 32px;
    height: 32px;
    max-width: 32px;
    max-height: 32px;
    flex: 0 0 32px;
}

.benefit-info {
    flex: 1 1 auto;
    min-width: 0;
}

.benefit-info h4,
.benefit-info p {
    text-align: left;
}

.benefit-info h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
    line-height: 1.2;
}

.benefit-info p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

.about-visual-creative {
    position: relative;
    padding-left: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 18px;
    padding-bottom: 18px;
}

.image-wrapper {
    position: relative;
    width: 100%;
    max-width: 520px;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.14);
    animation: about-visual-float 7s ease-in-out infinite;
}

.img-main {
    display: block;
    width: 100%;
    height: auto;
}

.img-overlay-accent {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.04) 0%, rgba(15, 23, 42, 0.18) 100%);
    pointer-events: none;
}

.experience-float-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    padding: 18px 22px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
    z-index: 3;
    animation: badge-float 6.5s ease-in-out infinite;
}

.experience-float-badge .count {
    font-size: 40px;
    font-weight: 900;
    line-height: 1;
    color: var(--primary);
    margin-bottom: 8px;
}

.experience-float-badge .label {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--secondary);
}

.stat-pill-float {
    display: none;
}

.stat-pill-float .icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    flex-shrink: 0;
}

.stat-pill-float .text {
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}

.decoration {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

.decoration.dots {
    display: none;
}

.decoration.square {
    display: none;
}

.brands-section-premium {
    margin-top: 72px;
    padding: 38px 42px;
    background: #ffffff;
    border-radius: 28px;
    border: 1px solid #eef2f7;
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.06);
}

.brands-header {
    text-align: center;
    margin-bottom: 24px;
}

.brands-header h3 {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--secondary);
    margin: 0;
}

.brands-header .highlight {
    color: var(--primary);
}

.brands-marquee {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}

.brands-track {
    display: flex;
    align-items: center;
    gap: 72px;
    width: max-content;
    animation: marquee-scroll 28s linear infinite;
    will-change: transform;
}

.brands-track img {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.45;
    transition: var(--transition);
}

.brands-track img:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.06);
}

@keyframes about-visual-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes badge-float {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -4px, 0); }
}

@keyframes badge-float-reverse {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, 4px, 0); }
}

@keyframes decoration-drift {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(10px, -8px, 0); }
}

@keyframes decoration-tilt {
    0%, 100% { transform: rotate(14deg) translate3d(0, 0, 0); }
    50% { transform: rotate(18deg) translate3d(-4px, -4px, 0); }
}

@keyframes marquee-scroll {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(calc(-50% - 36px), 0, 0); }
}

/* --- Process Section --- */
.process-section {
    padding: 80px 0;
}
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.process-step {
    position: relative;
    text-align: center;
}

.step-number-wrap {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 900;
    color: var(--primary);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border: 2px solid #f1f5f9;
    transition: var(--transition);
}

.process-step:hover .step-number {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(118, 183, 41, 0.3);
}

.step-icon-float {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    color: var(--primary);
}

.step-content h4 {
    font-size: 20px;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 15px;
}

.step-content p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
}

.step-content a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
}

/* Connectors */
.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 40px;
    left: calc(50% + 50px);
    width: calc(100% - 70px);
    height: 2px;
    border-top: 2px dashed #e2e8f0;
    z-index: 1;
}

/* Responsive Process */
@media (max-width: 1200px) {
    .process-grid { grid-template-columns: repeat(2, 1fr); gap: 60px 30px; }
    .process-step:nth-child(even)::after { display: none; }
}

@media (max-width: 768px) {
    .process-grid { grid-template-columns: 1fr; gap: 50px; }
    .process-step::after { display: none !important; }
    .process-section { padding: 80px 0; }
}

/* --- Guarantees Section --- */
.guarantees-section {
    padding: 80px 0;
    background: #ffffff;
    position: relative;
    z-index: 10;
}

.guarantees-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.guarantee-card {
    padding: 32px;
    background: #f8fafc;
    border-radius: 28px;
    border: 1px solid #f1f5f9;
    transition: var(--transition);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.guarantee-card:hover {
    background: #fff;
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-soft);
}

.guarantee-icon-circle {
    width: 52px;
    height: 52px;
    background: transparent;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
}

.guarantee-icon-circle svg {
    width: 32px;
    height: 32px;
}

.guarantee-card:hover .guarantee-icon-circle {
    color: var(--primary-light);
    transform: rotate(10deg) scale(1.1);
}

.guarantee-card h4 {
    font-size: 18px;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.guarantee-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

@media (max-width: 1200px) {
    .guarantees-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .guarantees-grid { grid-template-columns: 1fr; }
    .guarantees-section { padding: 60px 0; }
}

/* New Guarantees Section */
.guarantees-section-new {
    position: relative;
    padding: 80px 0;
    background: var(--bg-light);
}

.guarantees-wrapper {
    background: transparent;
    border-radius: 0;
    padding: 0;
    position: relative;
    overflow: visible;
    box-shadow: none;
    border: none;
}

.guarantees-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-label-green {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(138, 208, 56, 0.1);
    border: 1px solid rgba(138, 208, 56, 0.2);
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    margin-bottom: 24px;
}

.guarantees-title {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text);
    letter-spacing: -0.5px;
}

.text-gradient {
    background: linear-gradient(135deg, #76B729 0%, #8AD038 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.guarantees-subtitle {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.5;
}

.guarantees-grid-new {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.guarantee-card-new {
    background: #ffffff;
    border-radius: 24px;
    padding: 35px 30px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.02),
        0 10px 30px -5px rgba(0, 0, 0, 0.06);
}

.guarantee-card-new:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(118, 183, 41, 0.15);
    border-color: rgba(118, 183, 41, 0.3);
}

.guarantee-card-new.featured {
    background: #ffffff;
    border: 1px solid rgba(118, 183, 41, 0.1);
}

.gc-icon-wrap {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.gc-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8AD038 0%, #76B729 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(118, 183, 41, 0.3);
    flex: 0 0 60px;
}

.gc-icon svg {
    width: 32px;
    height: 32px;
}

.gc-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
    line-height: 1.3;
    text-align: center;
}

.gc-text {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    text-align: center;
}

.gc-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.guarantees-footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 24px;
    padding: 40px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.guarantees-footer::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(138, 208, 56, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.gf-content {
    position: relative;
    z-index: 1;
}

.gf-content h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.gf-content p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
    line-height: 1.6;
}

.gf-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.gf-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    transition: color 0.3s ease;
}

.gf-phone:hover {
    color: var(--primary-light);
}

.gf-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: linear-gradient(135deg, #8AD038 0%, #76B729 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(118, 183, 41, 0.3);
}

.gf-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(118, 183, 41, 0.4);
}

@media (max-width: 1024px) {
    .guarantees-wrapper {
        padding: 60px 40px;
    }

    .guarantees-grid-new {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .guarantees-title {
        font-size: 36px;
    }

    .guarantees-footer {
        flex-direction: column;
        text-align: center;
        padding: 40px;
    }

    .gf-actions {
        flex-direction: column;
        width: 100%;
    }

    .gf-phone,
    .gf-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .guarantees-wrapper {
        padding: 0 24px;
        border-radius: 24px;
    }

    .guarantees-header {
        margin-bottom: 40px;
    }

    .guarantees-grid-new {
        grid-template-columns: 1fr;
    }

    .guarantees-title {
        font-size: 26px;
    }

    .guarantees-subtitle {
        font-size: 15px;
    }

    .guarantee-card-new {
        padding: 28px 22px;
    }

    .gc-icon-wrap {
        margin-bottom: 20px;
    }

    .gc-title {
        font-size: 18px;
    }

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

    .guarantees-footer {
        padding: 30px 24px;
    }

    .gf-content h4 {
        font-size: 20px;
    }
}

/* --- Footer Premium --- */
.footer-premium {
    background: radial-gradient(circle at 10% 90%, rgba(118, 183, 41, 0.05) 0%, transparent 40%),
                linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    color: var(--secondary);
    padding: 60px 0 60px;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-premium::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(118, 183, 41, 0.2), transparent);
    z-index: 2;
}

.footer-premium::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(118, 183, 41, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(118, 183, 41, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    opacity: 0.6;
}

.footer-premium::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(118, 183, 41, 0.4), transparent);
    z-index: 2;
}

.footer-premium::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    opacity: 0.4;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1.15fr) minmax(360px, 1.2fr) minmax(280px, 0.95fr);
    gap: 60px;
    align-items: start;
}

.footer-brand-area .site-brand-footer { font-size: 32px;}

.footer-brand-area .site-brand-mebel { color: var(--secondary); }

.footer-brand-area p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    max-width: 320px;
}

.footer-title { font-size: 18px; font-weight: 800; margin-bottom: 28px; color: var(--secondary); }

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 36px;
    row-gap: 0;
    width: 100%;
}

.footer-links-area {
    width: 100%;
}

.footer-contacts-area {
    justify-self: end;
    width: min(100%, 320px);
}

.footer-links li {
    margin-bottom: 16px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 15px;
    display: inline-grid;
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: center;
    column-gap: 10px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-link-icon {
    width: 18px;
    height: 18px;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 18px;
}

.footer-link-icon svg {
    width: 16px;
    height: 16px;
    display: block;
}

.footer-contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.footer-contact-item .icon {
    width: 24px;
    height: 24px;
    color: var(--primary);
    flex-shrink: 0;
    filter: drop-shadow(0 4px 10px rgba(118, 183, 41, 0.2));
}

.footer-contact-item svg {
    width: 100%;
    height: 100%;
}

.footer-contact-item .text {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
}

.footer-contact-item b {
    display: block;
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 4px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-contact-item a {
    color: inherit;
    text-decoration: none;
}

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

.social-link {
    width: 44px;
    height: 44px;
    background: rgba(118, 183, 41, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--primary);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

.social-link img {
    width: 24px;
    height: 24px;
}

.social-link svg {
    width: 24px;
    height: 24px;
    display: block;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #64748b;
}

@media (max-width: 1023px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
        justify-items: center !important;
    }

    .footer-brand-area {
        width: 100% !important;
        text-align: center !important;
        display: grid !important;
        justify-items: center !important;
    }

    .footer-brand-area p {
        max-width: 42ch !important;
        margin: 0 auto !important;
    }

    .footer-links-area {
        width: fit-content !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        justify-self: center !important;
    }

    .footer-links-columns {
        width: fit-content !important;
        max-width: 100% !important;
        grid-template-columns: repeat(2, minmax(220px, 260px)) !important;
        column-gap: 40px !important;
        row-gap: 8px !important;
        justify-content: center !important;
    }

    .footer-links li {
        margin-bottom: 8px !important;
    }

    .footer-links a {
        word-break: normal !important;
        overflow-wrap: normal !important;
        white-space: normal !important;
    }

    .footer-contacts-area {
        width: fit-content !important;
        max-width: 100% !important;
        justify-self: center !important;
        display: grid !important;
        grid-template-columns: repeat(3, minmax(180px, 220px));
        gap: 20px 36px !important;
        align-items: start;
        justify-content: center !important;
    }

    .footer-contact-item {
        margin-bottom: 0 !important;
        gap: 12px !important;
        align-items: flex-start !important;
        min-width: 0 !important;
        justify-content: flex-start !important;
    }

    .footer-contact-item .icon {
        width: 22px !important;
        height: 22px !important;
    }

    .footer-contact-item .text {
        font-size: 14px !important;
        line-height: 1.4 !important;
        display: flex !important;
        align-items: baseline !important;
        gap: 8px !important;
        flex-wrap: wrap !important;
        white-space: normal !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .footer-contact-item b {
        margin-bottom: 0 !important;
        font-size: 13px !important;
        display: inline !important;
        flex: 0 0 auto;
    }
}

@media (max-width: 640px) {
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-premium {
    background: radial-gradient(circle at 10% 90%, rgba(118, 183, 41, 0.05) 0%, transparent 40%),
                linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    color: var(--secondary);
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-premium::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(118, 183, 41, 0.2), transparent);
    z-index: 2;
}

.footer-premium::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(118, 183, 41, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(118, 183, 41, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    opacity: 0.6;
}

.footer-premium::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(118, 183, 41, 0.4), transparent);
    z-index: 2;
}

.footer-premium::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    opacity: 0.4;
}
    .footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #64748b;
}
}


/* --- Project CTA Section Improvements --- */
.project-cta-wrapper {
    background: linear-gradient(135deg, #ffffff 0%, #f9fbf7 50%, #f4f9ed 100%) !important;
    border-radius: 40px !important;
    padding: 85px 70px !important;
    grid-template-columns: 1fr 1.6fr !important;
    gap: 70px !important;
    box-shadow: 0 30px 80px rgba(0,0,0,0.06), 0 0 0 1px rgba(118, 183, 41, 0.08) !important;
}

.project-cta-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(var(--primary) 0.5px, transparent 0.5px),
        radial-gradient(var(--primary) 0.5px, transparent 0.5px);
    background-size: 30px 30px;
    background-position: 0 0, 15px 15px;
    opacity: 0.04;
    pointer-events: none;
    top: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

.project-cta-wrapper::after {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px !important;
    height: 400px !important;
    background: radial-gradient(circle, rgba(138, 208, 56, 0.12) 0%, transparent 70%) !important;
    filter: blur(40px);
    pointer-events: none;
    bottom: auto !important;
    left: auto !important;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
    50% { transform: translateY(-20px) rotate(8deg) scale(1.05); }
}

.project-image-stack {
    width: 220px !important;
    height: 260px !important;
    filter: drop-shadow(0 20px 40px rgba(118, 183, 41, 0.15));
}

.stack-card {
    width: 190px !important;
    height: 230px !important;
    border-radius: 24px !important;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1) !important;
}

.card-back { transform: rotate(10deg) !important; background: linear-gradient(135deg, #f0f9eb 0%, #e1f2d5 100%) !important; }
.card-middle { transform: rotate(5deg) !important; background: linear-gradient(135deg, #e4f4da 0%, #d5eed1 100%) !important; }
.card-front { 
    background: linear-gradient(135deg, var(--primary) 0%, #5d9e1c 100%) !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
}

.card-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.1) 50%, transparent 60%);
    border-radius: inherit;
    pointer-events: none;
}

.title-decoration {
    display: inline-block;
    width: 40px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
    vertical-align: middle;
    margin-left: 10px;
}

.feature-item {
    font-size: 14px !important;
    font-weight: 700 !important;
    background: transparent !important;
    padding: 10px 0 !important;
    border-radius: 100px !important;
    box-shadow: none !important;
    border: none !important;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1) !important;
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: none !important;
    border-color: transparent !important;
}

.feature-check {
    width: 22px !important;
    height: 22px !important;
    background: transparent !important;
    color: var(--primary) !important;
    border: none !important;
    box-shadow: none !important;
    font-size: 12px !important;
}

/* --- Vertical Measurer Image --- */
.cta-image-vertical {
    position: relative;
    width: 300px;
    height: 450px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
    margin-left: auto;
    
    transform: rotate(2deg);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 2;
}

.cta-image-vertical:hover {
    transform: rotate(0deg) scale(1.02);
    box-shadow: 0 35px 60px -15px rgba(118, 183, 41, 0.25);
}

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









@media (max-width: 1024px) {
    .final-cta-wrapper-light {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
    .cta-image-vertical {
        margin: 0 auto;
        transform: rotate(0deg);
        width: 260px;
        height: 360px;
    }
    
}

/* --- Project Sketch Visual --- */
.project-sketch-visual {
    position: relative;
    width: 100%;
    max-width: 320px;
    height: 440px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 
        10px 10px 30px rgba(0,0,0,0.1),
        0 0 0 1px rgba(0,0,0,0.05);
    margin: 0 auto;
    transform: rotate(-2deg);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    background:
        linear-gradient(180deg, #f7edd9 0%, #efe1c7 100%);
    z-index: 2;
}

.project-sketch-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(120, 88, 32, 0.06) 100%),
        radial-gradient(circle at top left, rgba(255,255,255,0.32) 0%, rgba(255,255,255,0) 42%);
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: 1;
}

.project-sketch-visual:hover {
    transform: rotate(0deg) scale(1.03);
    box-shadow: 20px 20px 50px rgba(0,0,0,0.15);
}

.project-sketch-visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: sepia(0.3) saturate(0.82) brightness(1.02) contrast(0.96);
}

.sketch-accent-border {
    position: absolute;
    inset: 15px;
    border: 1px dashed rgba(118, 183, 41, 0.3);
    border-radius: 8px;
    pointer-events: none;
}

@media (max-width: 1024px) {
    .project-cta-wrapper {
        grid-template-columns: 1fr !important;
        text-align: center;
        padding: 50px 30px !important;
        gap: 20px !important;
    }
    .project-title {
        text-align: center !important;
    }
    .project-cta-visual {
        height: auto;
    }
    .project-sketch-visual {
        margin: 0 auto 0;
        transform: rotate(0deg);
        width: 280px;
        height: 380px;
    }
    .project-cta-content {
        max-width: 100% !important;
    }
    .project-features {
        justify-content: center;
    }
}

@media (min-width: 900px) and (max-width: 1024px) {
    .project-cta-wrapper {
        grid-template-columns: 1fr 1.6fr !important;
        text-align: left !important;
        padding: 85px 70px !important;
        gap: 70px !important;
        align-items: center !important;
    }

    .project-cta-visual {
        order: 0 !important;
        height: 300px !important;
        justify-content: center;
    }

    .project-sketch-visual {
        margin: 0 auto !important;
        width: 320px !important;
        height: 440px !important;
        transform: rotate(-2deg) !important;
    }

    .project-cta-content {
        max-width: 640px !important;
        text-align: left !important;
    }

    .project-features {
        justify-content: flex-start !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 24px !important;
    }

    .feature-item {
        width: auto !important;
        justify-content: flex-start !important;
    }

    .project-cta-buttons {
        justify-content: flex-start !important;
    }

    .project-description {
        max-width: 100% !important;
    }

    .process-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 30px !important;
    }

    .process-step::after {
        display: block !important;
    }

    .process-step:nth-child(even)::after {
        display: block !important;
    }

    .final-cta-wrapper-light {
        grid-template-columns: 1fr 300px !important;
        gap: 70px !important;
        padding: 85px 70px !important;
        align-items: stretch !important;
    }

    .final-cta-visual-light {
        order: 0 !important;
        min-height: 100% !important;
        display: flex !important;
        align-items: stretch !important;
        justify-content: flex-end !important;
    }

    .final-cta-content-light {
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: left !important;
    }

    .cta-title-light,
    .cta-desc-light,
    .phone-text {
        text-align: left !important;
    }

    .cta-features-inline {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        justify-items: start !important;
        row-gap: 18px !important;
        column-gap: 28px !important;
        max-width: 90% !important;
    }

    .final-cta-actions {
        justify-content: flex-start !important;
        flex-wrap: wrap !important;
    }

    .cta-phone-row {
        justify-content: flex-start !important;
        flex-direction: row !important;
    }

    .cta-desc-light {
        max-width: 90% !important;
    }

    .cta-image-vertical {
        width: 280px !important;
        height: 480px !important;
        margin-left: auto !important;
        margin-right: 0 !important;
        transform: translateY(20px) !important;
        border-radius: 30px !important;
        overflow: hidden;
    }

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

@media (min-width: 900px) and (max-width: 1023px) {
    .nav-link {
        border-bottom: none !important;
        box-shadow: none !important;
        background: transparent !important;
        border-left: 0 !important;
        border-right: 0 !important;
    }

    .nav-link::before,
    .nav-link::after {
        content: none !important;
        display: none !important;
        border: 0 !important;
        background: none !important;
        box-shadow: none !important;
    }

    .dropdown > .nav-link .chevron {
        display: none !important;
    }

    .dropdown > .nav-link::before {
        content: none !important;
        display: none !important;
        border: 0 !important;
        width: 0 !important;
        height: 0 !important;
    }

    .dropdown > .nav-link::after {
        content: "" !important;
        display: inline-block !important;
        position: static !important;
        width: 8px !important;
        height: 5px !important;
        margin-left: 6px;
        background: currentColor !important;
        clip-path: polygon(50% 100%, 0 0, 100% 0);
        border: 0 !important;
        box-shadow: none !important;
        vertical-align: middle;
    }

    .dropdown-menu {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    .dropdown:hover .dropdown-menu,
    .dropdown:focus-within .dropdown-menu {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }
}

/* Final mobile overrides for About section (must stay at file end) */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    .about-content .section-title,
    .about-content .section-subtitle {
        text-align: center !important;
        max-width: 100% !important;
    }

    .about-visual-creative {
        order: -1 !important;
        padding: 0 !important;
        margin-bottom: 4px !important;
    }

    .image-wrapper {
        max-width: 100% !important;
        border-radius: 22px !important;
    }

    .benefits-stack { gap: 14px !important; }

    .benefit-premium-card {
        align-items: flex-start !important;
        gap: 14px !important;
        padding: 18px 16px !important;
        border-radius: 16px !important;
    }

    .benefit-visual {
        display: flex !important;
        align-items: flex-start !important;
        justify-content: center !important;
    }

    .benefit-icon-box {
        width: 38px !important;
        height: 38px !important;
        align-items: center !important;
        justify-content: center !important;
        margin-top: 2px !important;
    }

    .benefit-icon-box svg {
        width: 24px !important;
        height: 24px !important;
        max-width: 24px !important;
        max-height: 24px !important;
        flex: 0 0 24px !important;
    }

    .benefit-info h4 {
        font-size: 16px !important;
        margin: 0 0 6px !important;
        line-height: 1.25 !important;
    }

    .benefit-info p {
        font-size: 13px !important;
        line-height: 1.45 !important;
    }

    .experience-float-badge {
        top: 10px !important;
        left: 10px !important;
        padding: 12px 14px !important;
        border-radius: 14px !important;
    }

    .experience-float-badge .count {
        font-size: 28px !important;
        margin-bottom: 4px !important;
    }

    .experience-float-badge .label {
        font-size: 12px !important;
        line-height: 1.25 !important;
    }
}

@media (max-width: 480px) {
    .about-section { padding: 48px 0 !important; }
    .about-grid { gap: 20px !important; }

    .about-content .section-title { font-size: 26px !important; }

    .about-content .section-subtitle {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }

    .benefit-premium-card {
        padding: 16px 14px !important;
        gap: 12px !important;
        border-radius: 14px !important;
    }

    .benefit-icon-box {
        width: 34px !important;
        height: 34px !important;
        margin-top: 1px !important;
    }

    .benefit-icon-box svg {
        width: 22px !important;
        height: 22px !important;
        max-width: 22px !important;
        max-height: 22px !important;
        flex: 0 0 22px !important;
    }

    .benefit-info h4 {
        font-size: 15px !important;
        margin: 0 0 5px !important;
    }
    .benefit-info p { font-size: 12.5px !important; }

    .experience-float-badge {
        top: 8px !important;
        left: 8px !important;
        padding: 10px 12px !important;
        border-radius: 12px !important;
    }

    .experience-float-badge .count { font-size: 24px !important; }
    .experience-float-badge .label { font-size: 11px !important; }
}

@media (max-width: 1024px) {
    .final-cta-wrapper-light {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }
}

@media (max-width: 768px) {
    .cta-title-light {
        line-height: 1.12 !important;
        text-wrap: balance;
    }

    .cta-desc-light {
        max-width: 34ch !important;
        margin-left: auto !important;
        margin-right: auto !important;
        text-wrap: pretty;
    }

    .cta-features-inline {
        grid-template-columns: 1fr !important;
        justify-items: stretch !important;
        row-gap: 12px !important;
        column-gap: 0 !important;
        max-width: 100% !important;
        margin-bottom: 28px !important;
    }

    .inline-feature {
        width: 100% !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        gap: 10px !important;
    }

    .inline-feature span {
        display: block !important;
        text-align: left !important;
        line-height: 1.35 !important;
    }

    .if-icon {
        width: 22px !important;
        height: 22px !important;
        margin-top: 1px !important;
        flex: 0 0 22px !important;
    }

    .if-icon svg {
        width: 22px !important;
        height: 22px !important;
    }
}

@media (max-width: 768px) {
    .project-features {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 12px 20px !important;
    }

    .project-features .feature-item {
        width: auto !important;
        justify-content: center !important;
        padding: 8px 0 !important;
    }

    .project-features .feature-item:nth-child(3) {
        flex-basis: 100% !important;
        justify-content: center !important;
    }
}

@media (max-width: 480px) {
    .stat-text { font-weight: 700; }
}

@media (max-width: 767px) {
    .footer-premium {
        padding: 52px 0 36px !important;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        text-align: center !important;
    }

    .footer-brand-area {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .footer-brand-area .site-brand-footer {
        display: inline-block !important;
        font-size: 28px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
    }

    .footer-brand-area p {
        max-width: 280px !important;
        margin: 0 auto !important;
        font-size: 14px !important;
    }

    .footer-links-area {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        max-width: 300px !important;
        margin: 0 auto !important;
    }

    .footer-links-columns {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px 18px !important;
        width: 100% !important;
        max-width: 300px !important;
        margin: 0 auto !important;
        text-align: left !important;
        justify-content: center !important;
    }

    .footer-links li {
        margin-bottom: 0 !important;
    }

    .footer-links a {
        font-size: 14px !important;
        line-height: 1.3 !important;
        grid-template-columns: 16px minmax(0, 1fr) !important;
        column-gap: 8px !important;
    }

    .footer-contacts-area {
        width: 100% !important;
        max-width: 300px !important;
        margin: 4px auto 0 !important;
        text-align: left !important;
        display: grid !important;
        justify-content: center !important;
    }

    .footer-contact-item {
        margin-bottom: 20px !important;
        justify-content: flex-start !important;
        width: fit-content !important;
    }

    .footer-bottom {
        padding-top: 30px !important;
        flex-direction: column !important;
        gap: 12px !important;
    }
}

@media (max-width: 480px) {
    .footer-brand-area .site-brand-footer {
        font-size: 24px !important;
    }
    .footer-links-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        text-align: left !important;
        gap: 6px 16px !important;
        max-width: 300px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .footer-links a {
        line-height: 1.2 !important;
    }

    .footer-link-icon {
        width: 16px !important;
        height: 16px !important;
        flex-basis: 16px !important;
    }

    .footer-link-icon svg {
        width: 14px !important;
        height: 14px !important;
    }
}

@media (max-width: 767px) {
    .nav-more {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .nav {
        padding: 68px 16px 24px !important;
    }

    .mobile-nav-contact {
        display: grid !important;
        gap: 10px !important;
        padding: 0 4px 14px !important;
        margin-bottom: 12px !important;
        border-bottom: 1px solid #eef2f7 !important;
    }

    .mobile-nav-contact-item {
        display: grid !important;
        grid-template-columns: 20px minmax(0, 1fr) !important;
        align-items: start !important;
        column-gap: 10px !important;
        text-decoration: none !important;
    }

    .mobile-nav-contact-item .icon {
        width: 20px !important;
        height: 20px !important;
        color: var(--primary) !important;
        margin-top: 2px !important;
    }

    .mobile-nav-contact-item .icon svg {
        width: 100% !important;
        height: 100% !important;
        display: block !important;
    }

    .mobile-nav-contact-text strong {
        display: block !important;
        font-size: 14px !important;
        line-height: 1.25 !important;
        color: var(--secondary) !important;
    }

    .mobile-nav-contact-text span {
        display: block !important;
        font-size: 12px !important;
        line-height: 1.25 !important;
        color: #94a3b8 !important;
        margin-top: 2px !important;
    }

    .nav-link {
        min-height: 0 !important;
        padding: 12px 4px !important;
        font-size: 17px !important;
        line-height: 1.3 !important;
        font-weight: 700 !important;
        gap: 10px !important;
    }

    .nav-link-icon {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 20px !important;
        height: 20px !important;
        color: var(--primary) !important;
        flex: 0 0 20px !important;
    }

    .nav-link-icon svg {
        width: 18px !important;
        height: 18px !important;
        display: block !important;
    }
}

@media (max-width: 767px) {
    .card-title-row {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        max-width: 100% !important;
    }

    .card-content h3 {
        font-size: 18px !important;
        line-height: 1.15 !important;
        font-weight: 800 !important;
        letter-spacing: -0.01em !important;
        color: #ffffff !important;
        margin: 0 !important;
        text-align: center !important;
    }

    .card-link-arrow {
        width: 16px !important;
        height: 16px !important;
        min-width: 16px !important;
        color: var(--primary) !important;
        opacity: 0.95 !important;
        transform: none !important;
        align-self: center !important;
    }

    .card-link-arrow svg {
        width: 16px !important;
        height: 16px !important;
        stroke-width: 2.35 !important;
    }

    .catalog-card:hover .card-link-arrow {
        transform: none !important;
        color: var(--primary) !important;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .catalog-grid > a[href*="garderobnie-komnati-na-zakaz.html"] {
        grid-column: 3 / span 2 !important;
        grid-row: 3 !important;
    }

    .catalog-grid > a[href*="spalni-na-zakaz.html"] {
        grid-column: 4 !important;
        grid-row: 2 !important;
    }

    .catalog-grid > a[href*="gostinaya-mebel-na-zakaz.html"] {
        grid-column: 1 / span 2 !important;
        grid-row: 3 !important;
    }

    .catalog-grid > a[href*="detskaya-mebel-na-zakaz.html"] {
        grid-column: 3 !important;
        grid-row: 2 !important;
    }

    .card-title-row {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        max-width: 100% !important;
    }

    .card-content h3 {
        font-size: clamp(18px, 2vw, 22px) !important;
        line-height: 1.15 !important;
        font-weight: 800 !important;
        letter-spacing: -0.01em !important;
        color: #ffffff !important;
        margin: 0 !important;
        text-align: center !important;
    }

    .card-link-arrow {
        width: 18px !important;
        height: 18px !important;
        min-width: 18px !important;
        color: var(--primary) !important;
        opacity: 1 !important;
        transform: translateY(0.02em) !important;
        align-self: center !important;
    }

    .card-link-arrow svg {
        width: 18px !important;
        height: 18px !important;
        stroke-width: 2.35 !important;
    }

    .catalog-card:hover .card-link-arrow {
        transform: translateX(2px) translateY(0.02em) !important;
        color: var(--primary) !important;
    }
}

@media (min-width: 768px) and (max-width: 819px) {
    .catalog-section {
        padding: 70px 0 !important;
    }

    .catalog-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        grid-auto-rows: 220px !important;
        gap: 22px !important;
    }

    .card-large {
        grid-column: span 2 !important;
        grid-row: span 2 !important;
    }

    .card-medium {
        grid-column: span 2 !important;
        grid-row: span 1 !important;
    }

    .card-small {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }

    .catalog-grid > a[href*="detskaya-mebel-na-zakaz.html"] {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }

    .catalog-grid > a[href*="detskaya-mebel-na-zakaz.html"] {
        grid-column: 3 !important;
        grid-row: 2 !important;
    }

    .catalog-grid > a[href*="spalni-na-zakaz.html"] {
        grid-column: 4 !important;
        grid-row: 2 !important;
    }

    .catalog-grid > a[href*="gostinaya-mebel-na-zakaz.html"] {
        grid-column: 1 / span 2 !important;
        grid-row: 3 !important;
    }

    .catalog-grid > a[href*="garderobnie-komnati-na-zakaz.html"] {
        grid-column: 3 / span 2 !important;
        grid-row: 3 !important;
    }

    .catalog-card {
        border-radius: 26px !important;
    }

    .card-overlay {
        padding: 26px !important;
    }

    .card-content {
        gap: 12px !important;
        transform: translateY(0) !important;
    }

    .card-content h3 {
        font-size: 16px !important;
    }

    .card-link-arrow {
        width: 16px !important;
        height: 16px !important;
        min-width: 16px !important;
    }

    .card-link-arrow svg {
        width: 16px !important;
        height: 16px !important;
    }

    .card-content p {
        display: none !important;
    }
}

@media (min-width: 1024px) and (max-width: 1366px) {
    .card-link-arrow {
        color: var(--primary) !important;
        opacity: 1 !important;
    }

    .catalog-card:hover .card-link-arrow {
        color: var(--primary) !important;
    }

    .catalog-grid > a[href*="detskaya-mebel-na-zakaz.html"] {
        grid-column: 3 !important;
        grid-row: 2 !important;
    }

    .catalog-grid > a[href*="spalni-na-zakaz.html"] {
        grid-column: 4 !important;
        grid-row: 2 !important;
    }

    .catalog-grid > a[href*="gostinaya-mebel-na-zakaz.html"] {
        grid-column: 1 / span 2 !important;
        grid-row: 3 !important;
    }

    .catalog-grid > a[href*="garderobnie-komnati-na-zakaz.html"] {
        grid-column: 3 / span 2 !important;
        grid-row: 3 !important;
    }
}

@media (min-width: 769px) and (max-width: 899px) {
    .project-cta-content,
    .project-title,
    .project-description {
        text-align: center !important;
    }

    .project-cta-buttons {
        justify-content: center !important;
        align-items: center !important;
    }

    .about-section,
    .process-section {
        padding: 60px 0 !important;
    }

    .about-content .section-title,
    #process .section-title {
        font-size: 32px !important;
    }

    .about-content .section-subtitle,
    #process .section-subtitle {
        font-size: 15px !important;
        line-height: 1.6 !important;
        max-width: 100% !important;
        text-align: center !important;
    }

    .about-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    .about-content .section-title {
        text-align: center !important;
        max-width: 100% !important;
    }

    .about-visual-creative {
        order: -1 !important;
        padding: 0 !important;
        margin-bottom: 4px !important;
    }

    .image-wrapper {
        max-width: 100% !important;
        border-radius: 22px !important;
    }

    .benefits-stack {
        gap: 14px !important;
    }

    .benefit-premium-card {
        align-items: flex-start !important;
        gap: 14px !important;
        padding: 18px 16px !important;
        border-radius: 16px !important;
    }

    .benefit-visual {
        display: flex !important;
        align-items: flex-start !important;
        justify-content: center !important;
    }

    .benefit-icon-box {
        width: 38px !important;
        height: 38px !important;
        align-items: center !important;
        justify-content: center !important;
        margin-top: 2px !important;
    }

    .benefit-icon-box svg {
        width: 24px !important;
        height: 24px !important;
        max-width: 24px !important;
        max-height: 24px !important;
        flex: 0 0 24px !important;
    }

    .benefit-info h4 {
        font-size: 16px !important;
        margin: 0 0 6px !important;
        line-height: 1.25 !important;
    }

    .benefit-info p {
        font-size: 13px !important;
        line-height: 1.45 !important;
    }

    .experience-float-badge {
        top: 10px !important;
        left: 10px !important;
        padding: 12px 14px !important;
        border-radius: 14px !important;
    }

    .experience-float-badge .count {
        font-size: 28px !important;
        margin-bottom: 4px !important;
    }

    .experience-float-badge .label {
        font-size: 12px !important;
        line-height: 1.25 !important;
    }

    #process .section-header {
        text-align: center !important;
    }

    .process-grid {
        grid-template-columns: 1fr !important;
        gap: 50px !important;
    }

    .process-step::after {
        display: none !important;
    }
}

@media (min-width: 768px) and (max-width: 819px) {
    .guarantees-wrapper {
        padding: 0 !important;
        border-radius: 0 !important;
    }

    .guarantees-header {
        margin-bottom: 60px !important;
    }

    .guarantees-grid-new {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 24px !important;
    }

    .guarantees-title {
        font-size: 36px !important;
    }

    .guarantees-subtitle {
        font-size: 18px !important;
    }

    .guarantee-card-new {
        padding: 35px 30px !important;
    }

    .gc-icon-wrap {
        margin-bottom: 24px !important;
    }

    .gc-title {
        font-size: 20px !important;
    }

    .gc-text {
        font-size: 15px !important;
    }

    .hero-cta-area {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        max-width: 420px !important;
        width: 100% !important;
    }

    .hero-cta-primary {
        order: 1 !important;
        width: 100% !important;
        min-width: 0 !important;
        justify-content: center !important;
    }

    .cta-trust-note {
        order: 2 !important;
        margin-top: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
        width: fit-content !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: left !important;
        line-height: 1.25 !important;
        white-space: nowrap !important;
    }

    .cta-trust-note .dot {
        width: 6px !important;
        height: 6px !important;
        flex: 0 0 6px !important;
        margin-top: 0 !important;
        align-self: center !important;
    }

    .project-cta-buttons {
        justify-content: center !important;
        align-items: center !important;
        gap: 24px !important;
    }

    .btn-primary-glow,
    .btn-phone-link {
        width: auto !important;
        min-width: 250px !important;
        justify-content: center !important;
    }

    .cta-features-inline {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        justify-items: center !important;
        row-gap: 18px !important;
        column-gap: 28px !important;
        max-width: 90% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-bottom: 35px !important;
    }

    .inline-feature {
        width: auto !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 10px !important;
    }

    .inline-feature span {
        text-align: left !important;
        line-height: 1.35 !important;
    }

    .final-cta-actions {
        display: grid !important;
        grid-template-columns: max-content max-content !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 12px !important;
        margin-bottom: 35px !important;
        width: auto !important;
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        justify-content: center !important;
        white-space: nowrap !important;
        padding-left: 22px !important;
        padding-right: 22px !important;
        font-size: 15px !important;
    }

    .btn-cta-primary {
        order: 1 !important;
    }

    .btn-cta-secondary {
        order: 2 !important;
    }

    .cta-phone-row {
        justify-content: center !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 10px !important;
    }

    .phone-link-green {
        font-size: 20px !important;
    }

    .phone-time {
        padding-left: 10px !important;
        padding-right: 10px !important;
        white-space: nowrap !important;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .hero-visual {
        height: 430px !important;
        margin-top: 0 !important;
    }

    .visual-grid {
        max-width: 720px !important;
        height: 430px !important;
    }

    .card-living {
        display: none !important;
    }

    .card-wardrobe {
        width: 420px !important;
        height: 370px !important;
        left: 18px !important;
        top: 18px !important;
        z-index: 2 !important;
    }

    .card-main-kitchen {
        width: 420px !important;
        height: 330px !important;
        right: 18px !important;
        top: 100px !important;
        bottom: auto !important;
        transform: none !important;
        z-index: 4 !important;
    }

    .card-main-kitchen:hover {
        transform: translateY(-10px) scale(1.02) !important;
    }
}

@media (min-width: 900px) and (max-width: 932px) {
    .catalog-section,
    .about-section,
    .process-section,
    .guarantees-section,
    .guarantees-section-new {
        padding: 60px 0 !important;
    }

    .hero-section {
        padding: calc(60px + var(--header-height)) 0 60px !important;
    }

    .hero-grid {
        grid-template-columns: 1fr !important;
        gap: 34px !important;
        text-align: center !important;
    }

    .hero-text,
    .hero-title,
    .hero-description {
        text-align: center !important;
    }

    .hero-description {
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 680px !important;
    }

    .hero-stats {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 18px 20px !important;
        justify-content: center !important;
        max-width: 720px !important;
        margin: 0 auto 30px !important;
    }

    .hero-stats .stat-item,
    .hero-stats .stat-item:last-child {
        justify-self: center !important;
        justify-content: center !important;
        gap: 10px !important;
    }

    .hero-cta-area {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        margin-left: auto !important;
        margin-right: auto !important;
        gap: 16px !important;
        max-width: 420px !important;
        width: 100% !important;
    }

    .hero-cta-primary {
        width: 100% !important;
        justify-content: center !important;
    }

    .cta-trust-note {
        width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
        max-width: 420px !important;
    }

    .project-cta-wrapper {
        grid-template-columns: 1fr !important;
        text-align: center !important;
        padding: 60px 40px !important;
        gap: 20px !important;
    }

    .project-title,
    .project-description,
    .project-cta-content {
        text-align: center !important;
        max-width: 100% !important;
    }

    .project-cta-visual {
        order: -1 !important;
        height: auto !important;
    }

    .project-sketch-visual {
        margin: 0 auto !important;
        width: 280px !important;
        height: 380px !important;
        transform: rotate(0deg) !important;
    }

    .project-features,
    .project-cta-buttons {
        justify-content: center !important;
    }

    .feature-item {
        justify-content: center !important;
    }

    .about-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    .about-content .section-title,
    .about-content .section-subtitle {
        text-align: center !important;
        max-width: 100% !important;
    }

    .about-visual-creative {
        order: -1 !important;
        padding: 0 !important;
        margin-bottom: 4px !important;
    }

    .image-wrapper {
        max-width: 100% !important;
        border-radius: 22px !important;
    }

    .benefits-stack {
        gap: 14px !important;
    }

    .benefit-premium-card {
        align-items: flex-start !important;
        gap: 14px !important;
        padding: 18px 16px !important;
        border-radius: 16px !important;
    }

    .benefit-icon-box {
        width: 38px !important;
        height: 38px !important;
        margin-top: 2px !important;
    }

    .benefit-icon-box svg {
        width: 24px !important;
        height: 24px !important;
        max-width: 24px !important;
        max-height: 24px !important;
        flex: 0 0 24px !important;
    }

    .benefit-info h4 {
        font-size: 16px !important;
        margin: 0 0 6px !important;
        line-height: 1.25 !important;
    }

    .benefit-info p {
        font-size: 13px !important;
        line-height: 1.45 !important;
    }

    .experience-float-badge {
        top: 10px !important;
        left: 10px !important;
        padding: 12px 14px !important;
        border-radius: 14px !important;
    }

    .experience-float-badge .count {
        font-size: 28px !important;
        margin-bottom: 4px !important;
    }

    .experience-float-badge .label {
        font-size: 12px !important;
        line-height: 1.25 !important;
    }

    .process-grid {
        grid-template-columns: 1fr !important;
        gap: 50px !important;
    }

    .process-step::after {
        display: none !important;
    }

    .process-step:nth-child(even)::after {
        display: none !important;
    }

    .final-cta-wrapper-light {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        padding: 70px 40px !important;
    }

    .final-cta-visual-light {
        order: -1 !important;
        min-height: auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .final-cta-content-light,
    .cta-title-light,
    .cta-desc-light,
    .phone-text {
        text-align: center !important;
    }

    .final-cta-content-light {
        width: 100% !important;
        max-width: 680px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        align-items: center !important;
    }

    .cta-desc-light {
        max-width: 34ch !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .cta-features-inline {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        justify-items: center !important;
        row-gap: 18px !important;
        column-gap: 28px !important;
        max-width: 90% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-bottom: 35px !important;
        width: min(100%, 620px) !important;
    }

    .inline-feature {
        width: 100% !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 10px !important;
    }

    .inline-feature span {
        text-align: left !important;
        line-height: 1.35 !important;
    }

    .final-cta-actions {
        display: grid !important;
        grid-template-columns: max-content max-content !important;
        gap: 12px !important;
        justify-content: center !important;
        align-items: center !important;
        margin-bottom: 35px !important;
        width: max-content !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        width: auto !important;
        justify-content: center !important;
        white-space: nowrap !important;
        padding-left: 22px !important;
        padding-right: 22px !important;
        font-size: 15px !important;
    }

    .cta-phone-row {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 10px !important;
        justify-content: center !important;
        align-items: center !important;
        width: max-content !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .phone-link-green {
        font-size: 20px !important;
    }

.phone-time {
        padding-left: 10px !important;
        padding-right: 10px !important;
        white-space: nowrap !important;
    }

    .cta-image-vertical {
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

.hero-title,
.section-title,
.project-title,
.cta-title-light,
.guarantees-title,
.gc-title,
.step-content h4 {
    line-height: 1.15 !important;
}
/* --- Mobile Bottom Nav Panel --- */
.mobile-bottom-nav {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: none;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(22px) saturate(170%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 0 !important;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
    border: none !important;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    z-index: 9999;
    padding: 6px 10px calc(6px + env(safe-area-inset-bottom, 0px));
    margin-left: 0;
    margin-right: 0;
    transform: none !important;
    translate: none !important;
    box-sizing: border-box;
    gap: 6px;
}

.bottom-nav-separator {
    width: 1px;
    height: 24px;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.06), transparent);
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    flex: 1;
    gap: 5px;
    transition: var(--transition);
}

.bottom-nav-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    transition: var(--transition);
}

.bottom-nav-item span {
    font-size: 10px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.35px;
    line-height: 1;
    margin: 0;
}

.call-btn {
    color: var(--primary);
}

.call-btn .bottom-nav-icon {
    color: var(--primary);
    background: transparent;
}

.whatsapp-btn {
    color: #128C7E;
}

.whatsapp-btn .bottom-nav-icon {
    color: #ffffff;
    background: #25D366;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.24);
}

.bottom-nav-item:active {
    transform: scale(0.92);
}

@media (max-width: 1024px) {
    .mobile-bottom-nav {
        display: flex;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: none;
        padding: 6px 10px calc(6px + env(safe-area-inset-bottom, 0px));
    }

    body {
        padding-bottom: 0 !important;
    }

    .bottom-nav-item {
        gap: 4px;
    }

    .bottom-nav-icon {
        width: 26px;
        height: 26px;
    }

    .bottom-nav-item span {
        font-size: 9px;
        letter-spacing: 0.3px;
    }
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: none;
    }
    
    /* Добавляем отступ внизу страницы, чтобы контент не перекрывался */
    body {
        padding-bottom: 0 !important;
    }
    
    /* Скрываем старые плавающие кнопки, если они есть */
    .mobile-float {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .mobile-bottom-nav {
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: none;
        bottom: 0 !important;
        padding: 6px 10px calc(6px + env(safe-area-inset-bottom, 0px));
    }

    .bottom-nav-item {
        gap: 4px;
    }

    .bottom-nav-icon {
        width: 26px;
        height: 26px;
    }

    .bottom-nav-item span {
        font-size: 9px;
        letter-spacing: 0.3px;
    }
}

/* Final CTA Image Size Fix */
.cta-image-vertical {
    width: 260px !important;
    height: 440px !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    border-radius: 30px !important;
    overflow: hidden !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
}
.cta-image-vertical img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}
@media (max-width: 768px) {
    .cta-image-vertical {
        width: 220px !important;
        height: 360px !important;
        margin: 0 auto !important;
    }
}

/* Simple Measurer Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

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

.modal-simple {
    background: white;
    border-radius: 28px;
    width: 100%;
    max-width: 420px;
    padding: 28px 20px 20px;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    transform: scale(0.95) translateY(10px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    box-sizing: border-box;
}

.modal-overlay.active .modal-simple {
    transform: scale(1) translateY(0);
}

.modal-close-simple {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    background: rgba(118, 183, 41, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    transition: all 0.3s ease;
}

.modal-close-simple:hover {
    background: var(--primary);
    color: white;
    transform: rotate(90deg);
}

.modal-simple-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.simple-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #f0f7e8 0%, #e8f5e0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 18px;
    box-shadow: 0 8px 20px rgba(118, 183, 41, 0.15);
}

.simple-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.2;
}

.simple-subtitle {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 22px;
    max-width: 220px;
}

.simple-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.simple-input-wrap {
    position: relative;
    width: 100%;
    min-width: 0;
}

.simple-input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    transition: color 0.3s;
}

.simple-input-wrap input {
    width: 100%;
    padding: 17px 18px 17px 48px;
    border: 2px solid #e8e8e8;
    border-radius: 16px;
    font-family: inherit;
    font-size: 16px;
    color: var(--text);
    background: white;
    transition: all 0.3s ease;
    text-align: left;
    letter-spacing: 0.5px;
    box-sizing: border-box;
}

.simple-input-wrap input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(118, 183, 41, 0.1);
}

.simple-input-wrap:focus-within .simple-input-icon {
    color: var(--primary);
}

.simple-input-wrap input::placeholder {
    color: #bbb;
    text-align: left;
}

.simple-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 24px;
    background: linear-gradient(135deg, #8AD038 0%, #76B729 100%);
    color: white;
    border: none;
    border-radius: 16px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(118, 183, 41, 0.4);
}

.simple-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(118, 183, 41, 0.5);
}

.simple-submit:active {
    transform: translateY(0);
}

.simple-submit svg {
    transition: transform 0.3s ease;
}

.simple-submit:hover svg {
    transform: translateX(4px);
}

.simple-error {
    min-height: 18px;
    margin-top: -2px;
    font-size: 12px;
    color: #d93025;
    text-align: left;
    width: 100%;
    padding-left: 4px;
}

.simple-input-wrap input.error {
    border-color: #d93025;
    box-shadow: 0 0 0 4px rgba(217, 48, 37, 0.08);
}

.success-simple {
    padding: 50px 40px;
}

.success-icon-big {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #8AD038 0%, #76B729 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 auto 24px;
    box-shadow: 0 10px 30px rgba(118, 183, 41, 0.3);
    animation: scaleIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleIn {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

@media (min-width: 481px) {
    .modal-simple {
        padding: 40px 24px 30px;
    }

    .modal-close-simple {
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }

    .simple-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 24px;
    }

    .simple-title {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .simple-subtitle {
        font-size: 16px;
        margin-bottom: 32px;
        max-width: 240px;
    }

    .simple-form {
        gap: 16px;
    }

    .simple-input-wrap input {
        padding: 18px 20px 18px 52px;
        font-size: 17px;
    }

    .simple-error {
        margin-top: -4px;
        font-size: 13px;
    }

    .simple-submit {
        padding: 20px 32px;
        font-size: 17px;
    }
}

@media (max-width: 480px) {
    .modal-simple {
        max-width: min(420px, calc(100vw - 24px));
    }
}

/* Thanks Page */
.thanks-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(138, 208, 56, 0.14), transparent 28%),
        radial-gradient(circle at top right, rgba(118, 183, 41, 0.08), transparent 24%),
        linear-gradient(180deg, #f8fbf3 0%, #ffffff 34%, #f8fafc 100%);
}

.thanks-main {
    padding-top: calc(var(--header-height) + 54px);
    padding-bottom: 72px;
}

.thanks-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    align-items: stretch;
    gap: 32px;
}

.thanks-shell {
    position: relative;
    padding: 42px;
    border-radius: 36px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(118, 183, 41, 0.14);
    box-shadow: 0 35px 80px rgba(15, 23, 42, 0.09);
    backdrop-filter: blur(18px);
    overflow: hidden;
}

.thanks-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(138, 208, 56, 0.07), transparent 44%),
        radial-gradient(circle at 100% 0, rgba(118, 183, 41, 0.14), transparent 22%);
    pointer-events: none;
}

.thanks-copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.thanks-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: var(--radius-full);
    background: rgba(118, 183, 41, 0.12);
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.thanks-badge::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 6px rgba(118, 183, 41, 0.12);
}

.thanks-title {
    margin: 24px 0 16px;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 0.98;
    letter-spacing: -0.04em;
    font-weight: 900;
    color: var(--secondary);
}

.thanks-lead {
    max-width: 590px;
    margin: 0 0 28px;
    font-size: 19px;
    line-height: 1.65;
    color: var(--text-light);
}

.thanks-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 30px;
}

.thanks-point {
    padding: 18px 18px 20px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.95));
    border: 1px solid rgba(148, 163, 184, 0.15);
    box-shadow: 0 20px 40px rgba(148, 163, 184, 0.12);
}

.thanks-point strong {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    color: var(--secondary);
}

.thanks-point p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-light);
}

.thanks-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.thanks-actions .btn-hero-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 26px;
    border-radius: 18px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-weight: 800;
    box-shadow: 0 18px 36px rgba(118, 183, 41, 0.24);
    transition: var(--transition);
}

.thanks-actions .btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 40px rgba(118, 183, 41, 0.3);
}

.thanks-action-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 26px;
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: rgba(255, 255, 255, 0.82);
    color: var(--secondary);
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    transition: var(--transition);
}

.thanks-action-secondary:hover {
    transform: translateY(-2px);
    border-color: rgba(118, 183, 41, 0.24);
    color: var(--primary-dark);
}

.thanks-visual {
    position: relative;
    min-height: 100%;
    padding: 42px 32px 34px;
    border-radius: 36px;
    background: linear-gradient(160deg, #1b2437 0%, #101726 100%);
    color: white;
    box-shadow: 0 35px 80px rgba(15, 23, 42, 0.18);
    overflow: hidden;
}

.thanks-visual::before,
.thanks-visual::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.thanks-visual::before {
    width: 240px;
    height: 240px;
    top: -80px;
    right: -70px;
    background: rgba(138, 208, 56, 0.2);
}

.thanks-visual::after {
    width: 180px;
    height: 180px;
    left: -50px;
    bottom: 84px;
    background: rgba(255, 255, 255, 0.06);
}

.thanks-check {
    position: relative;
    z-index: 1;
    width: 82px;
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 26px;
    background: linear-gradient(135deg, #8ad038, #5a8f1f);
    color: white;
    box-shadow: 0 18px 40px rgba(138, 208, 56, 0.28);
}

.thanks-visual-title {
    position: relative;
    z-index: 1;
    margin: 28px 0 12px;
    font-size: 30px;
    line-height: 1.15;
    font-weight: 800;
}

.thanks-visual-text {
    position: relative;
    z-index: 1;
    margin: 0 0 26px;
    max-width: 32ch;
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.76);
}

.thanks-contact-card {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 14px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.thanks-contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    color: white;
}

.thanks-contact-item svg {
    flex-shrink: 0;
    color: #9edc57;
}

.thanks-contact-item span {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.58);
}

.thanks-contact-item strong,
.thanks-contact-item a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
}

.thanks-contact-item a:hover {
    color: #b3ea72;
}

.thanks-note {
    position: relative;
    z-index: 1;
    margin: 24px 0 0;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.64);
}

@media (max-width: 1080px) {
    .thanks-hero {
        grid-template-columns: 1fr;
    }

    .thanks-shell,
    .thanks-visual {
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .thanks-main {
        padding-top: calc(var(--header-height) + 30px);
        padding-bottom: 48px;
    }

    .thanks-copy {
        align-items: stretch;
    }

    .thanks-shell,
    .thanks-visual {
        padding: 28px 22px;
        border-radius: 28px;
    }

    .thanks-title {
        margin-top: 18px;
        font-size: 38px;
    }

    .thanks-lead {
        font-size: 17px;
        margin-bottom: 22px;
    }

    .thanks-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 24px;
    }

    .thanks-actions {
        width: 100%;
        flex-direction: column;
        align-self: stretch;
    }

    .thanks-actions .btn-hero-primary,
    .thanks-actions .thanks-action-secondary {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
        max-width: 100%;
    }

    .thanks-visual-title {
        font-size: 24px;
    }

    .thanks-page .footer-links a {
        display: block !important;
        grid-template-columns: none !important;
        padding-left: 0 !important;
    }

    .thanks-page .footer-links-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .thanks-page .footer-link-icon {
        display: none !important;
    }
}

/* 404 Page */
.error-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 12% 14%, rgba(118, 183, 41, 0.14), transparent 20%),
        radial-gradient(circle at 86% 16%, rgba(15, 23, 42, 0.08), transparent 20%),
        linear-gradient(180deg, #fbfcf7 0%, #ffffff 46%, #f8fafc 100%);
}

.error-main {
    padding-top: calc(var(--header-height) + 52px);
    padding-bottom: 72px;
}

.error-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
    gap: 30px;
    align-items: stretch;
}

.error-copy-card,
.error-visual-card {
    position: relative;
    overflow: hidden;
    border-radius: 36px;
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.1);
}

.error-copy-card {
    padding: 44px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(118, 183, 41, 0.12);
    backdrop-filter: blur(16px);
}

.error-copy-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(138, 208, 56, 0.08), transparent 42%),
        radial-gradient(circle at 100% 0, rgba(118, 183, 41, 0.1), transparent 20%);
    pointer-events: none;
}

.error-copy {
    position: relative;
    z-index: 1;
}

.error-code {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: var(--radius-full);
    background: rgba(15, 23, 42, 0.06);
    color: var(--secondary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.error-code::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 6px rgba(118, 183, 41, 0.15);
}

.error-title {
    margin: 26px 0 16px;
    font-size: clamp(42px, 5vw, 72px);
    line-height: 0.95;
    letter-spacing: -0.05em;
    font-weight: 900;
    color: var(--secondary);
    max-width: 10ch;
}

.error-lead {
    max-width: 34ch;
    margin: 0 0 28px;
    font-size: 19px;
    line-height: 1.65;
    color: var(--text-light);
}

.error-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 30px;
}

.error-primary,
.error-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 26px;
    border-radius: 18px;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    transition: var(--transition);
}

.error-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 18px 36px rgba(118, 183, 41, 0.24);
}

.error-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 40px rgba(118, 183, 41, 0.3);
}

.error-secondary {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(15, 23, 42, 0.12);
    color: var(--secondary);
}

.error-secondary:hover {
    transform: translateY(-2px);
    border-color: rgba(118, 183, 41, 0.24);
    color: var(--primary-dark);
}

.error-hints {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.error-hint {
    padding: 18px 18px 20px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.95));
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: 0 18px 36px rgba(148, 163, 184, 0.1);
}

.error-hint strong {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    color: var(--secondary);
}

.error-hint p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-light);
}

.error-visual-card {
    padding: 38px;
    background: linear-gradient(160deg, #141d30 0%, #0f172a 100%);
    color: white;
}

.error-visual-card::before,
.error-visual-card::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.error-visual-card::before {
    width: 250px;
    height: 250px;
    top: -90px;
    right: -80px;
    background: rgba(138, 208, 56, 0.18);
}

.error-visual-card::after {
    width: 190px;
    height: 190px;
    left: -60px;
    bottom: 92px;
    background: rgba(255, 255, 255, 0.05);
}

.error-visual {
    position: relative;
    z-index: 1;
}

.error-number {
    font-size: clamp(120px, 22vw, 220px);
    line-height: 0.82;
    font-weight: 900;
    letter-spacing: -0.08em;
    color: rgba(255, 255, 255, 0.08);
    user-select: none;
}

.error-visual-title {
    margin: -10px 0 14px;
    font-size: 30px;
    line-height: 1.12;
    font-weight: 800;
}

.error-visual-text {
    max-width: 34ch;
    margin: 0 0 24px;
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.74);
}

.error-link-list {
    display: grid;
    gap: 12px;
}

.error-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

.error-link span {
    color: rgba(255, 255, 255, 0.64);
    font-size: 13px;
    font-weight: 600;
}

.error-link:hover {
    transform: translateX(4px);
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 1080px) {
    .error-hero {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .error-main {
        padding-top: calc(var(--header-height) + 28px);
        padding-bottom: 48px;
    }

    .error-copy-card,
    .error-visual-card {
        padding: 28px 22px;
        border-radius: 28px;
    }

    .error-title {
        max-width: none;
        font-size: 42px;
    }

    .error-lead {
        font-size: 17px;
        margin-bottom: 22px;
    }

    .error-actions {
        flex-direction: column;
        margin-bottom: 24px;
    }

    .error-primary,
    .error-secondary {
        width: 100%;
        box-sizing: border-box;
        max-width: 100%;
    }

    .error-hints {
        grid-template-columns: 1fr;
    }

    .error-visual-title {
        font-size: 24px;
    }

    .error-page .footer-links a {
        display: block !important;
        grid-template-columns: none !important;
        padding-left: 0 !important;
    }

    .error-page .footer-links-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .error-page .footer-link-icon {
        display: none !important;
    }
}

@media (max-width: 834px) {
    .header {
        padding: 12px 0;
    }

    body.menu-open .mobile-bottom-nav {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translateY(18px) !important;
    }

    .header-content {
        justify-content: space-between !important;
        gap: 10px !important;
    }

    .nav {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
        height: 100vh !important;
        background: white !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        padding: 56px 16px 24px !important;
        box-sizing: border-box !important;
        transform: translate3d(100%, 0, 0) !important;
        transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.2s ease !important;
        z-index: 1001 !important;
        box-shadow: -15px 0 40px rgba(0, 0, 0, 0.15) !important;
        margin: 0 !important;
        gap: 0 !important;
        overflow-y: auto !important;
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
    }

    .nav.active {
        transform: translate3d(0, 0, 0) !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    .mobile-nav-contact {
        display: grid !important;
        gap: 8px !important;
        padding: 0 4px 10px !important;
        margin-bottom: 8px !important;
        border-bottom: 1px solid #eef2f7 !important;
    }

    .mobile-nav-contact-item {
        display: grid !important;
        grid-template-columns: 20px minmax(0, 1fr) !important;
        align-items: start !important;
        column-gap: 10px !important;
        text-decoration: none !important;
    }

    .mobile-nav-contact-item .icon {
        width: 20px !important;
        height: 20px !important;
        color: var(--primary) !important;
        margin-top: 2px !important;
        background: transparent !important;
        border-radius: 0 !important;
    }

    .mobile-nav-contact-item .icon svg {
        width: 100% !important;
        height: 100% !important;
        display: block !important;
    }

    .mobile-nav-contact-text strong {
        display: block !important;
        font-size: 13px !important;
        line-height: 1.25 !important;
        color: var(--secondary) !important;
    }

    .mobile-nav-contact-text span {
        display: block !important;
        font-size: 11px !important;
        line-height: 1.25 !important;
        color: #94a3b8 !important;
        margin-top: 2px !important;
    }

    .nav-link {
        min-height: 0 !important;
        font-size: 16px !important;
        padding: 10px 4px !important;
        width: 100% !important;
        border-bottom: 1px solid #f1f5f9 !important;
        display: grid !important;
        grid-template-columns: 20px minmax(0, 1fr) !important;
        justify-content: flex-start !important;
        align-items: start !important;
        column-gap: 10px !important;
        box-sizing: border-box !important;
        box-shadow: none !important;
        background: transparent !important;
        line-height: 1.2 !important;
        font-weight: 700 !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
    }

    .nav-link::after {
        display: none !important;
    }

    .nav-link-icon {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 20px !important;
        height: 20px !important;
        color: var(--primary) !important;
        min-width: 20px !important;
        align-self: start !important;
    }

    .nav-link-icon svg {
        width: 18px !important;
        height: 18px !important;
        display: block !important;
    }

    .nav-more,
    .nav-more__toggle,
    .nav-more__menu,
    .nav-more__grid,
    .nav-more__grid--tablet,
    .nav-more__link {
        display: none !important;
    }

    .nav > .nav-link,
    .nav-link--mobile-only {
        display: grid !important;
    }

    .burger {
        display: flex !important;
    }

    .header-mobile-call {
        display: flex !important;
    }

    .contact-info-header {
        display: none !important;
    }

    .header-actions {
        display: grid !important;
        grid-template-columns: 40px 40px;
        gap: 8px !important;
        flex: 0 0 88px;
        margin-left: 0 !important;
        justify-content: end !important;
        align-items: center !important;
    }

    .header-mobile-call,
    .burger {
        width: 40px;
        height: 40px;
        min-width: 40px;
        border-radius: 10px;
    }
}

.portfolio-more-wrap {
    display: none;
    justify-content: center;
    margin-top: 18px;
}

.portfolio-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 220px;
    padding: 16px 28px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #8AD038 0%, #76B729 100%);
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 12px 30px rgba(118, 183, 41, 0.24);
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.portfolio-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(118, 183, 41, 0.3);
}

.portfolio-more-btn:active {
    transform: translateY(0);
}

.portfolio-more-btn svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    transition: transform 0.25s ease;
}

.portfolio-more-btn.is-collapse svg {
    transform: rotate(180deg);
}

@media (max-width: 767px) {
    .portfolio-grid > .portfolio-card.is-hidden-mobile {
        display: none !important;
    }

    .portfolio-more-wrap {
        display: flex;
    }

    .portfolio-more-btn {
        width: 100%;
        max-width: 320px;
        padding: 15px 22px;
        font-size: 15px;
        box-sizing: border-box;
    }
}
