/* Rawlplug Russia - Main Styles */

* { margin: 0; padding: 0; box-sizing: border-box; }

/* Prevent horizontal scroll */
html, body {
    overflow-x: hidden;
    width: 100%;
}

html {
    scroll-behavior: smooth;
}

body { 
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif; 
    line-height: 1.6; 
    color: #333; 
    background: #f5f5f5; 
}

/* HEADER */
.site-header {
    background: #fff;
    padding: 0.6rem 0 0.5rem;
    border-bottom: 1px solid #eee;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    gap: 2rem;
}

.header-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 0;
    position: relative;
}

.logo-tooltip {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    border-radius: 10px;
    padding: 14px 18px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all 0.25s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.logo-tooltip::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 24px;
    width: 12px;
    height: 12px;
    background: #fff;
    transform: rotate(45deg);
    box-shadow: -2px -2px 4px rgba(0,0,0,0.04);
}

.logo-tooltip strong {
    font-size: 1rem;
    font-weight: 700;
    color: #222;
}

.logo-tooltip span {
    font-size: 0.8rem;
    color: #888;
}

.header-logo:hover .logo-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text-main {
    font-size: 1.8rem;
    font-weight: 800;
    color: #222;
    letter-spacing: 3px;
}

.logo-text-sub {
    font-size: 0.55rem;
    font-weight: 500;
    color: #999;
    letter-spacing: 3px;
    margin-top: 3px;
}

.logo-main {
    font-size: 1.6rem;
    font-weight: 800;
    color: #222;
    line-height: 1;
    letter-spacing: 2px;
}

.logo-sub {
    font-size: 0.55rem;
    font-weight: 500;
    color: #999;
    letter-spacing: 3.5px;
    margin-top: 2px;
    line-height: 1;
}

.header-search {
    flex: 1 1 auto;
    max-width: 560px;
    position: relative;
}

.header-search input {
    width: 100%;
    padding: 0.7rem 6.5rem 0.7rem 1.5rem;
    border: none;
    border-radius: 30px;
    font-size: 0.9rem;
    background: #f8f8f8;
    color: #333;
    outline: none;
}

.header-search input::placeholder {
    color: #bbb;
}

.header-search button {
    position: absolute;
    right: 3px;
    top: 50%;
    transform: translateY(-50%);
    background: #ff7a00;
    border: none;
    padding: 0.5rem 1.6rem;
    border-radius: 24px;
    color: #fff;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.8px;
}

.header-user-block {
    flex-shrink: 0;
}

.header-login-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #444;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
}

.header-login-link:hover {
    color: #222;
}

.header-login-link svg {
    color: #888;
    flex-shrink: 0;
}

/* NAV */
.site-nav {
    background: #fff;
    border-top: 1px solid #f0f0f0;
}

.nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    gap: 5rem;
}

.site-nav a {
    color: #333;
    text-decoration: none;
    padding: 1rem 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    position: relative;
    transition: color 0.2s ease;
}

.site-nav a::after {
    content: '';
    position: absolute;
    bottom: 0.6rem;
    left: 0.5rem;
    right: 0.5rem;
    height: 2px;
    background: #d97706;
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.site-nav a:hover {
    color: #d97706;
}

.site-nav a:hover::after {
    transform: scaleX(1);
}

@media (max-width: 768px) {
    .site-nav {
        display: none;
    }
    .header-search {
        display: none;
    }
}

/* MAIN LAYOUT */
.main-content { 
    max-width: 1600px; 
    margin: 2rem auto; 
    padding: 0 2rem; 
    display: block;
}

/* LEFT COLUMN */
.left-column { 
    display: flex; 
    flex-direction: column; 
    gap: 1rem; 
}

/* HERO BANNER */
.hero { 
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%); 
    border-radius: 12px; 
    overflow: hidden; 
    position: relative; 
    height: 560px; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    opacity: 0.9; 
}

.hero-overlay { 
    position: relative; 
    flex: 1;
    background: linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 100%); 
    display: flex; 
    align-items: center; 
    padding: 3rem; 
}

.hero-partners {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 1rem 0;
    overflow: hidden;
}

.hero-partners .partners-marquee {
    display: flex;
    gap: 2rem;
    animation: marquee 35s linear infinite;
    width: max-content;
    padding: 0;
}

.hero-partners .partners-marquee:hover {
    animation-play-state: paused;
}

.hero-partners .partner-logo {
    width: 150px;
    height: 70px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    padding: 0.6rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.hero-partners .partners-marquee .partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(0%);
    opacity: 1;
}

.hero-partners .partner-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.25);
}

/* Partners section */
.partners-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    overflow: hidden;
}

.partners-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.partners-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.partners-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.partners-section-title span {
    color: #ff6600;
}

.partners-section-subtitle {
    font-size: 1.05rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.partners-marquee-wrapper {
    position: relative;
    width: 100%;
}

.partners-marquee {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: partners-scroll 30s linear infinite;
}

.partners-marquee:hover {
    animation-play-state: paused;
}

.partners-marquee .partner-logo {
    flex: 0 0 auto;
    width: 160px;
    height: 80px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.partners-marquee .partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partners-marquee .partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(255, 102, 0, 0.15);
    border-color: rgba(255, 102, 0, 0.2);
}

.partners-marquee .partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes partners-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .partners-section {
        padding: 50px 0;
    }

    .partners-section-title {
        font-size: 1.5rem;
    }

    .partners-marquee .partner-logo {
        width: 120px;
        height: 60px;
    }
}

.hero-content { 
    color: white; 
    max-width: 500px; 
}

.hero-badge {
    display: inline-block;
    background: #ff6600;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.hero h1 { 
    font-size: 2.5rem; 
    font-weight: 700; 
    margin-bottom: 0.5rem; 
    line-height: 1.2; 
}

.hero p { 
    font-size: 1rem; 
    margin-bottom: 2rem; 
    opacity: 0.85;
    line-height: 1.35;
}

.hero-btn { 
    background: #ff6600; 
    color: white; 
    border: none; 
    padding: 0.9rem 1.8rem; 
    border-radius: 8px; 
    font-weight: 600; 
    cursor: pointer; 
    font-size: 0.95rem; 
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

/* SIDEBAR CATEGORIES */
.sidebar { 
    background: white; 
    border-radius: 16px; 
    padding: 1.5rem; 
    box-shadow: 0 4px 20px rgba(0,0,0,0.08); 
    height: 450px; 
    display: flex; 
    flex-direction: column; 
}

.sidebar-header {
    margin-bottom: 0.5rem;
}

.sidebar h3 { 
    color: #333; 
    font-size: 1.1rem; 
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.sidebar-subtitle {
    color: #999;
    font-size: 0.75rem;
}

.category-list { 
    list-style: none; 
    flex: 1; 
    display: flex; 
    flex-direction: column; 
    justify-content: space-around; 
}

.category-item {
    border-bottom: 1px solid #f0f0f0;
}

.category-item:last-child {
    border-bottom: none;
}

.category-item a {
    color: #444;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.7rem 0;
}

.cat-icon {
    width: 32px;
    height: 32px;
    background: #fff5eb;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff6600;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.cat-name {
    flex: 1;
    line-height: 1.3;
}

.cat-arrow {
    color: #ccc;
    font-size: 0.75rem;
}

.sidebar-catalog-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.8rem;
    border: 2px solid #ff6600;
    border-radius: 10px;
    color: #ff6600;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s;
}

.sidebar-catalog-btn:hover {
    background: #ff6600;
    color: white;
}

.category-list a { 
    color: #555; 
    text-decoration: none; 
    font-size: 0.95rem; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    transition: color 0.3s; 
}

.category-list a:hover { 
    color: #d97706; 
}

.category-list a::after { 
    content: "›"; 
    font-size: 1.2rem; 
}

/* PARTNERS SECTION */
.partners-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #252542 100%);
    padding: 3rem 2rem;
    margin: 0;
    overflow: hidden;
    position: relative;
}

.partners-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
}

.partners-header {
    text-align: center;
    margin-bottom: 1.75rem;
    position: relative;
    z-index: 1;
}

.partners-label {
    display: inline-block;
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.35rem 0.9rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.6rem;
}

.partners-title {
    font-size: 1.6rem;
    font-weight: 300;
    color: #fff;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.partners-title span {
    font-weight: 700;
}

.partners-marquee-wrap {
    max-width: 1400px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem 0;
    overflow: hidden;
}

.partners-marquee {
    display: flex;
    gap: 2.5rem;
    animation: marquee 35s linear infinite;
    width: max-content;
    padding: 0;
}

.partners-marquee:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.partner-logo {
    width: 180px;
    height: 90px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    overflow: hidden;
    padding: 0.75rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s;
}

.partner-logo:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.25);
}

/* NEWS SECTION */
.news-section {
    margin: 3rem 1rem;
}

.news-section-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
}

.news-divider {
    width: 60px;
    height: 3px;
    background: #d97706;
    margin-bottom: 1.5rem;
    border-radius: 2px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.news-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 50%, #b45309 100%);
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.news-placeholder::before {
    content: '\f1ea';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 2.5rem;
    opacity: 0.9;
    margin-bottom: 0.3rem;
}

.news-placeholder::after {
    content: '';
    position: absolute;
    top: -30%;
    right: -30%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.news-content {
    padding: 1.2rem;
}

.news-tags {
    margin-bottom: 0.6rem;
}

.news-tag {
    font-size: 0.7rem;
    color: #d97706;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.news-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.news-read-more {
    color: #d97706;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.news-read-more:hover {
    color: #b45309;
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}

/* FEATURE CARDS */
.features { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 1rem; 
}

.feature-card { 
    background: white; 
    border-radius: 12px; 
    overflow: hidden; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.08); 
    display: flex; 
}

.feature-img { 
    flex: 0 0 40%; 
}

.feature-img img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

.feature-content { 
    flex: 1; 
    padding: 1.5rem; 
    background: #d97706; 
    color: white; 
}

.feature-content h3 { 
    font-size: 1.1rem; 
    margin-bottom: 0.8rem; 
}

.feature-content p { 
    font-size: 0.9rem; 
    opacity: 0.9; 
    line-height: 1.35; 
}

/* PREMIUM PRINCIPLES SECTION - Light Theme */
.principles-section {
    padding: 2rem 0;
    background: #f5f5f5;
    margin: 0;
    width: 100%;
    position: relative;
}

.principles-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
}

.principles-header {
    text-align: center;
    margin-bottom: 4rem;
}

.principles-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #f59e0b;
    margin-bottom: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 153, 204, 0.1);
    border-radius: 20px;
}

.principles-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #78350f;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.principles-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    margin-top: 0.5rem;
}

.principles-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

/* Центральная линия таймлайна */
.principles-grid::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #f59e0b;
    border-radius: 2px;
    transform: translateX(-50%);
}

/* Timeline item */
.timeline-item {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
}

.timeline-item:nth-child(odd) {
    justify-content: flex-end;
    padding-right: calc(50% + 40px);
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-left: calc(50% + 40px);
}

/* Маркер на линии */
.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 20px;
    background: white;
    border: 3px solid #f59e0b;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Соединительная линия к карточке */
.timeline-item::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 2px;
    background: #cbd5e1;
    transform: translateY(-50%);
}

.timeline-item:nth-child(odd)::after {
    right: 50%;
    margin-right: 10px;
}

.timeline-item:nth-child(even)::after {
    left: 50%;
    margin-left: 10px;
}

/* Premium Gradient Cards */
.principle-card {
    width: 100%;
    max-width: 600px;
    min-width: 350px;
    border-radius: 20px;
    overflow: visible;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 10px 15px -3px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    flex-shrink: 0;
}

.principle-card:hover {
    transform: scale(1.02);
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset;
}

/* Фоны карточек через timeline-item */
.timeline-item:nth-child(1) .principle-card,
.timeline-item:nth-child(2) .principle-card,
.timeline-item:nth-child(3) .principle-card,
.timeline-item:nth-child(4) .principle-card {
    background-image: url('../images/banner/1.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* Лёгкий белый фон для читаемости текста */
.timeline-item:nth-child(1) .principle-card .card-inner,
.timeline-item:nth-child(2) .principle-card .card-inner,
.timeline-item:nth-child(3) .principle-card .card-inner,
.timeline-item:nth-child(4) .principle-card .card-inner {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    margin: 10px;
    min-height: calc(100% - 20px);
}

.card-inner {
    display: flex;
    align-items: center;
    padding: 1.25rem 1.5rem;
    gap: 1rem;
}

.card-icon-wrap {
    flex-shrink: 0;
}

.card-icon-bg {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px -5px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.timeline-item:nth-child(1) .card-icon-bg {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.timeline-item:nth-child(2) .card-icon-bg {
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
}

.timeline-item:nth-child(3) .card-icon-bg {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

.timeline-item:nth-child(4) .card-icon-bg {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.card-icon-bg svg {
    width: 34px;
    height: 34px;
}

.card-text {
    flex: 1;
    min-width: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.card-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    font-size: 0.75rem;
    font-weight: 800;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.timeline-item:nth-child(1) .card-number {
    background: #fbbf24;
    color: white;
}

.timeline-item:nth-child(2) .card-number {
    background: #fbbf24;
    color: white;
}

.timeline-item:nth-child(3) .card-number {
    background: #f97316;
    color: white;
}

.timeline-item:nth-child(4) .card-number {
    background: #8b5cf6;
    color: white;
}

.card-text h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #78350f;
    margin-bottom: 0.5rem;
    line-height: 1.25;
}

.card-text p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.35;
    margin: 0;
}

.card-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #78350f;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.card-text p {
    font-size: 1rem;
    color: #475569;
    line-height: 1.6;
}

/* PRESS CENTER SECTION */
.press-center {
    padding: 4rem 0;
    background: #f8f9fa;
}

.press-center-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.press-center-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.press-center-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #f59e0b;
    letter-spacing: 0.05em;
}

.press-center-btn {
    padding: 0.75rem 1.5rem;
    background: #f59e0b;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.3s ease;
}

.press-center-btn:hover {
    background: #d97706;
}

.press-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.press-card,
a.press-card {
    background: white;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.press-card:hover,
a.press-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.press-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.press-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    padding: 1rem;
    background: rgba(0,0,0,0.3);
    border-radius: 8px;
}

.press-content {
    padding: 1rem;
}

.press-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.press-tag {
    padding: 0.25rem 0.75rem;
    background: #e9ecef;
    color: #495057;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
}

.press-tag-primary {
    background: #f59e0b;
    color: white;
}

.press-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #212529;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Responsive */
@media (max-width: 1024px) {
    .principles-title {
        font-size: 2.4rem;
    }
    
    .principle-card {
        max-width: 480px;
        min-width: 340px;
    }
    
    .press-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .press-center-title {
        font-size: 1.5rem;
    }
    
    .timeline-item:nth-child(odd) {
        padding-right: calc(50% + 30px);
    }
    
    .timeline-item:nth-child(even) {
        padding-left: calc(50% + 30px);
    }
    
    .timeline-item::after {
        width: 30px;
    }
    
    .card-inner {
        padding: 1rem 1.25rem;
    }
    
    .card-icon-bg {
        width: 55px;
        height: 55px;
    }
    
    .card-icon-bg svg {
        width: 28px;
        height: 28px;
    }
    
    .card-text h3 {
        font-size: 1.1rem;
    }
    
    .card-text p {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .principles-section {
        padding: 4rem 0;
    }
    
    .press-center {
        padding: 3rem 0;
    }
    
    .press-center-container {
        padding: 0 1.5rem;
    }
    
    .principles-title {
        font-size: 2rem;
    }
    
    .principles-grid {
        gap: 1.5rem;
        padding-left: 50px;
    }
    
    .principles-grid::before {
        left: 25px;
        transform: none;
    }
    
    .timeline-item,
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        justify-content: flex-start;
        padding-left: 0;
        padding-right: 0;
    }
    
    .timeline-item::before {
        left: -32px;
        transform: translateY(-50%);
        width: 16px;
        height: 16px;
        border-width: 3px;
    }
    
    .timeline-item::after {
        display: none;
    }
    
    .principle-card {
        width: 100%;
        max-width: none;
        min-width: auto;
    }
    
    .card-inner {
        padding: 1rem;
        align-items: center;
    }
    
    .card-icon-bg {
        width: 55px;
        height: 55px;
    }
    
    .card-icon-bg svg {
        width: 28px;
        height: 28px;
    }
    
    .card-text h3 {
        font-size: 1.15rem;
    }
}

@media (max-width: 480px) {
    .principles-section {
        padding: 3rem 0;
    }
    
    .principles-header {
        margin-bottom: 2.5rem;
    }
    
    .principles-title {
        font-size: 1.6rem;
    }
    
    .principles-grid {
        padding-left: 35px;
        gap: 1.25rem;
    }
    
    .principles-grid::before {
        left: 18px;
    }
    
    .timeline-item::before {
        left: -24px;
        width: 14px;
        height: 14px;
        border-width: 2px;
    }
    
    .card-inner {
        flex-direction: row;
        text-align: left;
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .card-icon-bg {
        width: 48px;
        height: 48px;
        border-radius: 12px;
    }
    
    .card-icon-bg svg {
        width: 24px;
        height: 24px;
    }
    
    .card-text h3 {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }
    
    .card-text p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .card-number {
        width: 26px;
        height: 26px;
        font-size: 0.7rem;
    }
}

/* NEON CONNECTION LINE */
.neon-connector {
    width: 100%;
    height: 140px;
    background:
        radial-gradient(ellipse 80px 100% at center, rgba(26, 26, 46, 0.06) 0%, transparent 55%),
        #f5f5f5;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.neon-connector svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.neon-line {
    fill: none;
    stroke: #1a1a2e;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    filter: drop-shadow(0 0 1px rgba(26, 26, 46, 0.6))
            drop-shadow(0 0 4px rgba(26, 26, 46, 0.35))
            drop-shadow(0 0 10px rgba(26, 26, 46, 0.15));
    animation: neon-draw 1.4s cubic-bezier(0.22, 1, 0.36, 1) forwards,
               neon-breathe 4s ease-in-out 1.6s infinite;
}

.neon-line-left,
.neon-line-right {
    animation-delay: 0.35s, 1.95s;
}

.neon-connector-sm {
    height: 60px;
}

.neon-connector-sm .neon-line {
    stroke-width: 2;
}

@keyframes neon-draw {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes neon-breathe {
    0%, 100% {
        opacity: 0.85;
        filter: drop-shadow(0 0 1px rgba(26, 26, 46, 0.6))
                drop-shadow(0 0 4px rgba(26, 26, 46, 0.35))
                drop-shadow(0 0 10px rgba(26, 26, 46, 0.15));
    }
    50% {
        opacity: 1;
        filter: drop-shadow(0 0 1px rgba(26, 26, 46, 0.8))
                drop-shadow(0 0 5px rgba(26, 26, 46, 0.5))
                drop-shadow(0 0 12px rgba(26, 26, 46, 0.25));
    }
}

@media (max-width: 768px) {
    .neon-connector {
        height: 90px;
    }
    .neon-connector-sm {
        height: 50px;
    }
}

/* SOLUTIONS INTRO */
.solutions-intro {
    background: #f5f5f5;
    padding: 20px 0 70px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.solutions-intro .container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
}

.solutions-intro-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 24px;
    padding: 70px 60px;
    min-height: 320px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 2px solid #1a1a2e;
    animation: intro-card-appear 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    position: relative;
    overflow: visible;
}

.pixel-corner {
    position: absolute;
    width: 100px;
    height: 100px;
    object-fit: contain;
    pointer-events: none;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    opacity: 0;
}

.pixel-corner-tl {
    top: -36px;
    left: -36px;
    animation: icon-pop-tl 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 1.2s forwards;
}

.pixel-corner-tr {
    top: -36px;
    right: -36px;
    animation: icon-pop-tr 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 1.4s forwards;
}

.pixel-corner-bl {
    bottom: -36px;
    left: -36px;
    animation: icon-pop-bl 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 1.6s forwards;
}

.pixel-corner-br {
    bottom: -36px;
    right: -36px;
    animation: icon-pop-br 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 1.8s forwards;
}

@keyframes icon-pop-tl {
    0% { opacity: 0; transform: scale(0.5) rotate(-20deg); }
    100% { opacity: 1; transform: scale(1) rotate(-12deg); }
}

@keyframes icon-pop-tr {
    0% { opacity: 0; transform: scale(0.5) rotate(20deg); }
    100% { opacity: 1; transform: scale(1) rotate(12deg); }
}

@keyframes icon-pop-bl {
    0% { opacity: 0; transform: scale(0.5) rotate(-15deg); }
    100% { opacity: 1; transform: scale(1) rotate(-8deg); }
}

@keyframes icon-pop-br {
    0% { opacity: 0; transform: scale(0.5) rotate(15deg); }
    100% { opacity: 1; transform: scale(1) rotate(10deg); }
}

.pixel-direction-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    object-fit: contain;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(255, 102, 0, 0.18);
    padding: 6px;
    transition: all 0.3s ease;
}

.direction-item:hover .pixel-direction-icon {
    background: #fff5eb;
    border-color: #ff6600;
    transform: scale(1.08);
}

@keyframes intro-card-appear {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.solutions-intro-title {
    font-size: 4rem;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 2.5rem;
    line-height: 1.2;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.type-line {
    display: block;
    min-height: 1.2em;
}

.type-line-text {
    display: inline;
    position: relative;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.type-line-text.typing::after,
.type-line-text.typing-done::after {
    content: '|';
    position: absolute;
    right: -0.25em;
    top: -0.05em;
    color: #ff6600;
    font-weight: 300;
    animation: blink-cursor 0.7s step-end infinite;
}

.type-line-text.typing-done::after {
    animation: none;
    opacity: 0;
}

@keyframes blink-cursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.highlight-box {
    display: inline;
    background: transparent;
    color: inherit;
    padding: 0.05em 0.25em;
    border-radius: 12px;
    border: 2px dashed transparent;
    transform: scale(1);
    opacity: 1;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    word-break: break-word;
    overflow-wrap: anywhere;
}

.highlight-box.active {
    background: #ffcc00;
    color: #1a1a2e;
    border-color: #ff6600;
    transform: scale(1.02);
}

.neon-accent {
    display: inline;
    background: linear-gradient(90deg, #9a3412 0%, #b45309 25%, #d97706 50%, #b45309 75%, #9a3412 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 25px rgba(180, 83, 9, 0.2);
    animation: neon-shine 3.2s linear infinite;
}

@keyframes neon-shine {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

.solutions-intro-text {
    font-size: 1.15rem;
    color: #444;
    line-height: 1.85;
    max-width: 860px;
    margin: 0 auto 2.2rem;
    opacity: 0;
    animation: text-fade-in 0.8s ease-out 0.35s forwards;
}

@keyframes text-fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.solutions-intro-directions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    opacity: 0;
    animation: text-fade-in 0.8s ease-out 0.55s forwards;
}

.direction-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 16px;
    padding: 1.6rem 2rem;
    font-size: 1.15rem;
    font-weight: 600;
    color: #222;
    text-decoration: none;
    box-shadow: none;
    transition: all 0.3s ease;
    cursor: pointer;
    user-select: none;
    text-align: center;
}

.direction-item::after {
    content: '→';
    color: #ff6600;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.direction-item:hover::after {
    transform: translateX(5px);
}

.direction-item i {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(255, 102, 0, 0.18);
    color: #ff6600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.direction-item:hover {
    background: #ffffff;
    border-color: rgba(255, 102, 0, 0.3);
    box-shadow: 0 10px 30px rgba(255, 102, 0, 0.12);
    transform: translateY(-3px);
}

.direction-item:hover i {
    background: #ff6600;
    color: #ffffff;
    border-color: #ff6600;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .neon-connector {
        height: 100px;
    }

    .solutions-intro {
        padding: 10px 0 45px;
    }

    .solutions-intro .container {
        padding: 0 1rem;
    }

    .solutions-intro-card {
        padding: 28px 18px;
        border-radius: 18px;
    }

    .solutions-intro-title {
        font-size: 1.55rem;
        line-height: 1.25;
        margin-bottom: 1.8rem;
    }

    .solutions-intro-text {
        font-size: 1rem;
    }

    .solutions-intro-directions {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .direction-item {
        font-size: 0.95rem;
        padding: 1rem 1.2rem;
        text-align: left;
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    .direction-item::after {
        margin-left: auto;
    }
}

@media (max-width: 480px) {
    .solutions-intro .container {
        padding: 0 0.75rem;
    }

    .solutions-intro-card {
        padding: 22px 14px;
        border-radius: 16px;
    }

    .solutions-intro-title {
        font-size: 1.3rem;
        margin-bottom: 1.4rem;
    }

    .direction-item {
        font-size: 0.9rem;
        padding: 0.85rem 1rem;
    }
}

/* INTERACTIVE HOUSE SECTION */
.house-section {
    width: 100%;
    margin: 4rem 0;
    text-align: center;
    background: #f5f5f5;
    padding: 3rem 0;
}

.house-title {
    font-size: 2.5rem;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.house-subtitle {
    font-size: 1.1rem;
    color: #1a1a2e;
    margin-bottom: 2rem;
}

.house-container {
    position: relative;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    overflow: hidden;
    background: #f5f5f5;
}

.house-image {
    width: 100%;
    height: auto;
    display: block;
    background: transparent;
    pointer-events: none;
    -webkit-user-drag: none;
    user-select: none;
}

/* Non-clickable group dots (roof equipment & mounting) */
.equipment-dot,
.mounting-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #d97706;
    border-radius: 50%;
    border: 2px solid #fff;
    transform: translate(-50%, -50%);
    z-index: 5;
    pointer-events: none;
    box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.3);
}

/* Equipment group connecting lines (JS-generated) */
.equipment-line {
    position: absolute;
    height: 0;
    z-index: 4;
    pointer-events: none;
    transform-origin: 0 0;
    border-top: 1.5px solid #d97706;
    opacity: 0.85;
    filter: drop-shadow(0 0 2px rgba(217, 119, 6, 0.5));
}

/* Hide labels and individual hotspot connector lines */
.hotspot-label,
.hotspot-line {
    display: none !important;
}

/* Hotspot with label container - reference style */
.hotspot-with-label {
    position: absolute;
    z-index: 10;
    transform: translate(-50%, -50%);
}

.hotspot {
    position: relative;
    width: 32px;
    height: 32px;
    cursor: pointer;
    z-index: 11;
}

.hotspot-icon {
    width: 100%;
    height: 100%;
    background: #d97706;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    transition: transform 0.2s ease;
}

/* Connector lines */
.hotspot-line {
    position: absolute;
    background: #d97706;
    z-index: 9;
}

.line-to-left {
    width: 35px;
    height: 1px;
    right: 100%;
    top: 50%;
    margin-right: 5px;
}

.line-to-right {
    width: 35px;
    height: 1px;
    left: 100%;
    top: 50%;
    margin-left: 5px;
}

.line-to-top {
    width: 1px;
    height: 25px;
    bottom: 100%;
    left: 50%;
    margin-bottom: 5px;
}

.line-to-top-right {
    width: 45px;
    height: 1px;
    bottom: 100%;
    left: 50%;
    transform: rotate(-30deg);
    transform-origin: left center;
    margin-bottom: 15px;
}

.line-to-top-right-short {
    width: 35px;
    height: 1px;
    bottom: 100%;
    left: 50%;
    transform: rotate(-15deg);
    transform-origin: left center;
    margin-bottom: 10px;
}

.line-to-left-short {
    width: 30px;
    height: 1px;
    right: 100%;
    top: 50%;
    margin-right: 5px;
}

.line-to-right-up {
    width: 35px;
    height: 1px;
    right: 100%;
    bottom: 100%;
    transform: rotate(-20deg);
    transform-origin: right center;
    margin-right: 5px;
    margin-bottom: -5px;
}

.line-to-top-anker {
    width: 1px;
    height: 25px;
    bottom: 100%;
    left: 50%;
    margin-bottom: 5px;
}

/* Labels styling - visible with background */
.hotspot-label {
    position: absolute;
    font-size: 0.8rem;
    color: #b45309;
    font-weight: 600;
    white-space: nowrap;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.95);
    padding: 4px 10px;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    border: 1px solid rgba(30, 58, 95, 0.2);
}

/* Specific label positions matching reference */
.label-vent {
    bottom: 160%;
    left: 50%;
    transform: translateX(-50%);
}

.label-opory {
    bottom: 160%;
    left: 140%;
    transform: translateX(0);
}

.label-left-outer {
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-right: 45px;
}

.label-interier {
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-right: 40px;
}

.label-terrasy {
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    margin-left: 45px;
}

.label-anker {
    bottom: 190%;
    left: 50%;
    transform: translateX(-50%);
}

.label-frp {
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    margin-left: 45px;
}

.label-kabel {
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-right: 45px;
}

.label-kabel-right {
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    margin-left: 45px;
}

.label-fire-right {
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    margin-left: 45px;
}

.label-elektro {
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    margin-left: 45px;
}

.label-fasad {
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    margin-left: 45px;
}

.label-montazh {
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-right: 45px;
}

/* Animation for hotspots appearance - triggered by JS when in viewport */
.hotspot-with-label {
    opacity: 0;
    transform: translate(-50%, -30%);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hotspot-with-label.animate {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.hotspot-with-label.animate:nth-child(1) { transition-delay: 0.1s; }
.hotspot-with-label.animate:nth-child(2) { transition-delay: 0.2s; }
.hotspot-with-label.animate:nth-child(3) { transition-delay: 0.3s; }
.hotspot-with-label.animate:nth-child(4) { transition-delay: 0.4s; }
.hotspot-with-label.animate:nth-child(5) { transition-delay: 0.5s; }
.hotspot-with-label.animate:nth-child(6) { transition-delay: 0.6s; }
.hotspot-with-label.animate:nth-child(7) { transition-delay: 0.7s; }
.hotspot-with-label.animate:nth-child(8) { transition-delay: 0.8s; }
.hotspot-with-label.animate:nth-child(9) { transition-delay: 0.9s; }
.hotspot-with-label.animate:nth-child(10) { transition-delay: 1.0s; }
.hotspot-with-label.animate:nth-child(11) { transition-delay: 1.1s; }

/* Active hotspot styling */
/* Active hotspot - just slightly larger, stays blue */
.hotspot-with-label.active-hotspot .hotspot-icon {
    background: #d97706;
    transform: scale(1.15) rotate(90deg);
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.6);
}

.hotspot:hover .hotspot-icon {
    transform: scale(1.2) rotate(90deg);
    background: #d97706;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.5);
}

/* === WAREHOUSE HOTSPOT — custom icon & green color === */
.hotspot-with-label.hotspot-warehouse .hotspot-icon {
    background: #22c55e;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    animation: pulse-green 2s infinite;
}

.hotspot-with-label.hotspot-warehouse .hotspot-icon {
    color: transparent;
    position: relative;
}

.hotspot-with-label.hotspot-warehouse .hotspot-icon::before {
    content: '\f494';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.85rem;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hotspot-with-label.hotspot-warehouse:hover .hotspot-icon {
    background: #22c55e;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.5);
}

.hotspot-with-label.hotspot-warehouse.active-hotspot .hotspot-icon {
    background: #22c55e;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.6);
}

@keyframes pulse-green {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
}

/* Info Card Popup */
.house-info-card {
    width: 340px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    overflow: hidden;
    position: absolute;
    z-index: 1000;
    opacity: 0;
    transform: scale(0.9) translateY(10px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
    top: 50%;
    left: 50%;
}

.house-info-card.active {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: all;
}

.info-card-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    background: rgba(255,255,255,0.95);
    border: none;
    border-radius: 50%;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.info-card-close:hover {
    background: #f0f0f0;
    color: #000;
    transform: scale(1.1);
}

.info-card-image {
    width: 100%;
    height: 160px;
    overflow: hidden;
    background: #f5f5f5;
}

.info-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.info-card-content {
    padding: 1rem;
    text-align: left;
}

.info-card-content h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #8B0000;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.info-card-content p {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.35;
    margin-bottom: 0.5rem;
}

.info-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #8B0000;
    font-weight: 500;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.info-card-link:hover {
    color: #5c0000;
    gap: 0.6rem;
}

.link-arrow {
    transition: transform 0.2s ease;
}

.info-card-link:hover .link-arrow {
    transform: translateX(3px);
}

/* Mobile popup */
@media (max-width: 768px) {
    .house-info-card {
        width: 340px;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) scale(0.9);
        position: fixed;
    }
    
    .house-info-card.active {
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Enhanced pulse animation */
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 191, 255, 0.4); }
    50% { box-shadow: 0 0 0 12px rgba(0, 191, 255, 0); }
}

.hotspot-icon {
    animation: pulse 2s infinite, glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        filter: brightness(1);
    }
    to {
        filter: brightness(1.2);
    }
}

/* Pulse animation */
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 191, 255, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(0, 191, 255, 0); }
}

.hotspot-icon {
    animation: pulse 2s infinite;
}

.hotspot:hover .hotspot-icon {
    transform: scale(1.15);
    background: #d97706;
    animation: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .hotspot-label {
        font-size: 0.65rem;
    }
    
    .line-to-left,
    .line-to-right {
        width: 25px;
    }
}

@media (max-width: 768px) {
    .house-title {
        font-size: 1.5rem;
    }
    
    .house-subtitle {
        font-size: 0.9rem;
    }
    
    .hotspot {
        width: 24px;
        height: 24px;
    }
    
    .hotspot-icon {
        font-size: 0.85rem;
    }
    
    .hotspot-label {
        font-size: 0.6rem;
    }
    
    .line-to-left,
    .line-to-right {
        width: 20px;
    }
}

@media (max-width: 640px) {
    .hotspot-label {
        display: none;
    }
    
    .hotspot-line {
        display: none;
    }
}

.house-mobile-list {
    display: none;
}

@media (max-width: 768px) {
    .house-section {
        margin: 2rem 0;
        padding: 2rem 0;
    }
    .house-title {
        font-size: 1.3rem;
        padding: 0 1rem;
    }
    .house-subtitle {
        font-size: 0.85rem;
        padding: 0 1rem;
    }
    .house-container {
        overflow: visible;
    }
    .house-container .hotspot-with-label,
    .house-container .equipment-dot,
    .house-container .mounting-dot,
    .house-container .equipment-line,
    .house-container .mounting-line {
        display: none !important;
    }
    .house-mobile-list {
        display: flex;
        flex-direction: column;
        gap: 0.6rem;
        padding: 0 1rem 2rem;
        max-width: 600px;
        margin: 1.5rem auto 0;
    }
    .house-mobile-item {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        width: 100%;
        padding: 0.85rem 1rem;
        background: #fff;
        border: 1px solid rgba(180, 83, 9, 0.15);
        border-radius: 12px;
        text-align: left;
        color: #1e293b;
        font-size: 0.9rem;
        font-weight: 500;
        cursor: pointer;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
        word-break: break-word;
        overflow-wrap: anywhere;
    }
    .house-mobile-item::before {
        content: '+';
        width: 24px;
        height: 24px;
        background: #d97706;
        color: #fff;
        border-radius: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
        flex-shrink: 0;
    }
    .house-mobile-item span {
        flex: 1;
    }
    .house-mobile-item.warehouse-inner,
    .house-mobile-item.warehouse-exit {
        display: none;
    }
}

@media (max-width: 480px) {
    .house-mobile-item {
        font-size: 0.85rem;
        padding: 0.75rem 0.9rem;
    }
    .house-title {
        font-size: 1.15rem;
    }
    .house-subtitle {
        font-size: 0.8rem;
    }
}

/* PORTFOLIO SECTION -->
.portfolio { 
    width: 100%; 
    margin: 4rem 0; 
    overflow: hidden; 
}

.portfolio-title { 
    text-align: center !important; 
    font-size: 6rem !important; 
    color: #1e293b !important; 
    margin-bottom: 0.5rem !important; 
    text-transform: uppercase !important; 
    font-weight: 300 !important; 
    letter-spacing: 6px !important; 
    line-height: 1.1 !important; 
    padding: 0 2rem !important; 
    word-break: break-word;
    overflow-wrap: anywhere;
}

.portfolio-subtitle { 
    text-align: center; 
    font-size: 1.5rem; 
    color: rgba(30,41,59,0.6); 
    margin-bottom: 2rem; 
    font-weight: 300; 
    padding: 0 2rem; 
    word-break: break-word;
    overflow-wrap: anywhere;
}

/* Animated scrolling projects */
.projects-scroll { 
    display: flex; 
    width: max-content;
    gap: 2rem; 
    padding: 2rem 0; 
    animation: scrollProjects 240s linear infinite; 
}

.projects-scroll:hover { 
    animation-play-state: paused; 
}

.project-card { 
    flex: 0 0 800px; 
    background: white; 
    border-radius: 12px; 
    overflow: hidden; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); 
    transition: transform 0.3s, box-shadow 0.3s; 
}

@media (max-width: 768px) {
    .portfolio-title {
        font-size: 2.5rem !important;
        letter-spacing: 2px !important;
    }
    .portfolio-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    .projects-scroll {
        animation: none;
        width: 100%;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 1rem;
        gap: 1rem;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
    }
    .project-card {
        flex: 0 0 85vw;
        max-width: 320px;
        scroll-snap-align: start;
    }
    .project-img {
        height: auto;
    }
}

@media (max-width: 480px) {
    .portfolio-title {
        font-size: 2rem !important;
    }
    .portfolio-subtitle {
        font-size: 0.9rem;
    }
    .project-card {
        flex: 0 0 90vw;
    }
}

.project-card:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 12px 30px rgba(0,0,0,0.2); 
}

.project-img { 
    width: 100%; 
    height: 420px; 
    object-fit: cover;
    pointer-events: none;
    -webkit-user-drag: none;
    user-select: none;
}

@keyframes scrollProjects {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 1rem)); }
}

/* STACKING CARDS STYLE */
.products-stack {
    min-height: 300vh;
    position: relative;
    background: linear-gradient(180deg, #fafbfc 0%, #f0f4f8 100%);
}

.stack-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 2rem;
    position: relative;
}

/* Stack Header */
.stack-header {
    text-align: center;
    margin-bottom: 4rem;
    position: sticky;
    top: 100px;
    z-index: 10;
    background: rgba(250, 251, 252, 0.9);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    margin-bottom: 2rem;
}

.stack-eyebrow {
    font-family: 'SF Mono', monospace;
    font-size: 0.8rem;
    font-weight: 600;
    color: #f59e0b;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
    display: block;
}

.stack-title {
    font-size: 3rem;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.stack-desc {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2rem;
}

/* Scroll Indicator */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: #94a3b8;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid #f59e0b;
    border-radius: 13px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 4px;
    height: 8px;
    background: #f59e0b;
    border-radius: 2px;
    animation: scrollWheel 1.5s ease-in-out infinite;
}

@keyframes scrollWheel {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(8px); opacity: 0.3; }
}

/* Stack Cards */
.stack-cards {
    position: relative;
    height: 200vh;
}

.stack-card {
    position: sticky;
    top: calc(150px + var(--index) * 20px);
    margin-bottom: 2rem;
    z-index: var(--index);
    transform-origin: center top;
    transition: transform 0.3s ease;
}

.stack-card:nth-child(1) { --color: #f59e0b; }
.stack-card:nth-child(2) { --color: #ff6b35; }
.stack-card:nth-child(3) { --color: #fbbf24; }

.card-index {
    position: absolute;
    top: -20px;
    left: 30px;
    font-size: 6rem;
    font-weight: 900;
    color: var(--color);
    opacity: 0.15;
    line-height: 1;
    z-index: 0;
    font-family: 'SF Mono', monospace;
}

.card-inner {
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 20px 40px -10px rgba(0, 0, 0, 0.15);
    border-left: 6px solid var(--color);
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.card-visual {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f4fc 100%);
    border-radius: 16px;
    padding: 1.5rem;
}

.card-visual img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.stack-card:hover .card-visual img {
    transform: scale(1.1) rotate(-5deg);
}

.card-data {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.data-code {
    font-family: 'SF Mono', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color);
    background: rgba(0,0,0,0.05);
    padding: 0.4rem 0.8rem;
    border-radius: 100px;
    display: inline-block;
    width: fit-content;
}

.data-bar {
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color) 0%, transparent 100%);
    border-radius: 2px;
    margin-top: 0.5rem;
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.content-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.3;
}

.content-desc {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
}

.content-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--color);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    width: fit-content;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.content-btn:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px -10px var(--color);
}

.content-btn svg {
    transition: transform 0.3s ease;
}

.content-btn:hover svg {
    transform: translateX(5px);
}

/* RECOMMENDED PRODUCTS */
/* MODERN RECOMMENDED PRODUCTS SECTION */
.recommended { 
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 5rem 0; 
    margin: 4rem 0;
    position: relative;
    overflow: hidden;
}

.recommended::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,153,204,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.recommended-header {
    max-width: 1400px;
    margin: 0 auto 2.5rem;
    padding: 0 2rem;
    text-align: center;
}

.recommended-title { 
    font-size: 2.8rem; 
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
    display: inline;
    color: white;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 60' preserveAspectRatio='none'%3E%3Cpath d='M5,30 Q2,12 20,10 L380,8 Q398,10 395,30 Q398,50 380,52 L20,50 Q2,48 5,30 Z' fill='%23f59e0b'/%3E%3C/svg%3E") center center / 100% 100% no-repeat;
    padding: 0.6rem 2rem;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.recommended-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    font-weight: 400;
}

/* Modern Pill Tabs */
.recommended-tabs { 
    max-width: 1400px; 
    margin: 0 auto 3rem; 
    padding: 0 2rem; 
    display: flex; 
    gap: 0.75rem; 
    flex-wrap: wrap;
    justify-content: center;
}

.tab-btn { 
    padding: 0.75rem 1.5rem; 
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    color: #64748b; 
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer; 
    white-space: nowrap; 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.tab-btn:hover { 
    color: #f59e0b;
    border-color: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,153,204,0.15);
}

.tab-btn.active { 
    background: #f59e0b;
    color: white;
    border-color: #f59e0b;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(0,153,204,0.3);
}

/* Product Grid */
.recommended-grid { 
    max-width: 1400px; 
    margin: 0 auto; 
    padding: 0 2rem; 
    display: grid; 
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem; 
}

/* Modern Card */
.recommended-card { 
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.recommended-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.card-image-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    background: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.recommended-img {
    max-width: 90%;
    max-height: 90%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.recommended-card:hover .recommended-img {
    transform: scale(1.03);
}

/* Badges */
.card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.4rem 0.8rem;
    background: #f59e0b;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-badge.badge-new {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.card-badge.badge-stock {
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
}

/* Card Content */
.card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.recommended-code { 
    color: #f59e0b;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.card-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #92400e;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.recommended-desc { 
    color: #64748b; 
    font-size: 0.9rem; 
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Modern Button */
.recommended-btn { 
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.5rem;
    background: transparent;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    color: #475569;
    text-decoration: none; 
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: auto;
}

.recommended-btn svg {
    transition: transform 0.3s ease;
}

.recommended-btn:hover { 
    background: #f59e0b;
    border-color: #f59e0b;
    color: white;
}

.recommended-btn:hover svg {
    transform: translateX(4px);
}

/* CONTACTS */
/* CONTACTS SECTION */
.contacts {
    background: transparent;
    padding: 0;
    margin: 0;
}

.contacts-map-wrap {
    position: relative;
    width: 100%;
    margin: 0 auto;
    line-height: 0;
}

.russia-map {
    width: 115%;
    max-width: none;
    aspect-ratio: 2752 / 1536;
    display: block;
    margin-left: -7.5%;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.map-city {
    position: absolute;
    width: 28px;
    height: 28px;
    transform: translate(-50%, -50%);
    z-index: 2;
    cursor: pointer;
}

.city-dot {
    width: 100%;
    height: 100%;
    background: #fbbf24;
    border-radius: 50%;
    border: 1.5px solid #fff;
    box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.7);
    display: block;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.7);
    }
    70% {
        transform: scale(1.5);
        box-shadow: 0 0 0 8px rgba(251, 191, 36, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(251, 191, 36, 0);
    }
}

.map-city:hover .city-dot {
    animation: none;
    transform: scale(1.3);
    background: #f59e0b;
}

.city-card {
    position: absolute;
    top: 50%;
    width: 245px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    padding: 1rem 1.15rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.09);
    transform: translateY(-50%);
    line-height: 1.5;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease, visibility 0.2s ease;
}

.map-city:hover .city-card,
.map-city.active .city-card {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.city-card--right {
    left: 20px;
}

.city-card--left {
    right: 20px;
}

.city-card--bottom {
    top: auto;
    bottom: 20px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
}

.city-card--bottom::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: rgba(255, 255, 255, 0.94);
}

.city-card__name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.2rem;
}

.city-card__info {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.45;
    margin-bottom: 0.6rem;
}

.city-card__link {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.85rem;
    color: #555;
    text-decoration: none;
    font-weight: 600;
    line-height: 1.5;
    transition: color 0.2s ease;
}

.city-card__link:hover {
    color: #d97706;
}

.city-card__link i {
    font-size: 0.75rem;
    width: 1.1em;
    color: #999;
}

.contacts-info-row {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
}

.contacts-dark .contacts-info-row {
    max-width: 1200px;
}

.contact-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.4rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.contacts-dark .contact-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgba(217, 119, 6, 0.15);
}

.contacts-dark .contact-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 140, 0, 0.4);
    box-shadow: 0 14px 35px rgba(255, 140, 0, 0.15);
}

.contact-card i {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
}

.contact-card span,
.contact-card a {
    font-size: 0.95rem;
    color: #222;
    text-decoration: none;
    font-weight: 600;
    line-height: 1.4;
}

.contacts-dark .contact-card span,
.contacts-dark .contact-card a {
    color: #f1f1f1;
}

.contact-card a {
    color: #d97706;
}

.contacts-dark .contact-card a {
    color: #ff8c00;
}

.contact-card a:hover {
    color: #b45309;
}

.contacts-dark .contact-card a:hover {
    color: #ffb347;
}

@media (max-width: 992px) {
    .contacts-info-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .contacts {
        padding: 0;
    }

    .contacts-map-wrap {
        padding: 0;
        border-radius: 0;
    }

    .contacts-info-row {
        grid-template-columns: 1fr;
    }

    .russia-map {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
    }

    .map-city {
        width: 18px;
        height: 18px;
    }

    .city-dot {
        border-width: 1px;
    }

    .city-card {
        width: 170px;
        padding: 0.65rem 0.8rem;
    }

    .city-card--right {
        left: 12px;
    }

    .city-card--left {
        right: 12px;
    }

    .city-card__name {
        font-size: 0.85rem;
    }

    .city-card__info,
    .city-card__link {
        font-size: 0.7rem;
    }
}

/* FOOTER */
.footer { 
    background: #2a2a2a; 
    color: #f5f5f5; 
    padding: 1.5rem 0; 
    text-align: center; 
    margin-top: 0; 
    border-top: 1px solid #3a3a3a;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links a {
    color: #f5f5f5;
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #ff6600;
}

/* CONTAINER */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .recommended-grid { grid-template-columns: repeat(2, 1fr); }
    .stack-title { font-size: 2.5rem; }
    .card-inner { grid-template-columns: 150px 1fr; }
}

@media (max-width: 992px) {
    .main-content { grid-template-columns: 1fr; max-width: 100%; }
    .sidebar { display: none; }
    .left-column .features { grid-template-columns: 1fr; }
    .project-card { flex: 0 0 90vw; }
    .contacts-grid { grid-template-columns: 1fr; }
    .search-box { display: none; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .recommended-grid { grid-template-columns: repeat(2, 1fr); }
    .recommended-tabs { 
        overflow-x: auto;
        justify-content: flex-start;
        padding: 0 1rem;
        gap: 0.5rem;
    }
    .recommended-title { font-size: 2.2rem; padding: 0.5rem 1.5rem; }
    .portfolio-title { font-size: 3rem !important; }
}

@media (max-width: 768px) {
    .recommended-grid { grid-template-columns: 1fr; }
    .recommended-title { font-size: 1.8rem; padding: 0.4rem 1.25rem; }
    .recommended-subtitle { font-size: 1rem; }
    .tab-btn { padding: 0.6rem 1.2rem; font-size: 0.85rem; }
    .card-image-wrapper { height: 200px; }
    .stack-title { font-size: 2rem; }
    .card-inner { grid-template-columns: 1fr; }
    .card-visual { height: 200px; }
    .card-index { font-size: 4rem; top: -10px; }
    .content-title { font-size: 1.5rem; }
}

@media (max-width: 576px) {
    .products-grid { grid-template-columns: 1fr; }
    .products-title { font-size: 1.5rem; }
    .recommended { padding: 3rem 0; }
    .recommended-title { font-size: 1.5rem; padding: 0.3rem 1rem; }
    .portfolio-title { font-size: 2rem !important; }
    
    .press-grid {
        grid-template-columns: 1fr;
    }
    
    .press-center-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }
    .footer-links a {
        margin: 0 0.75rem;
    }
}


.recommended-tabs {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.recommended-tabs::-webkit-scrollbar {
    display: none;
}

/* === MOBILE MENU === */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 340px;
    max-width: 85vw;
    height: 100vh;
    background: #fff;
    z-index: 2000;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 2px 0 15px rgba(0,0,0,0.15);
}

.mobile-menu-panel.active {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e5e7eb;
    background: #d97706;
    color: #fff;
}

.mobile-menu-title {
    font-weight: 700;
    font-size: 1.1rem;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 0;
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
}

.mobile-menu-nav a,
.mobile-menu-categories a,
.mobile-menu-actions a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.25rem;
    color: #374151;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
    border-bottom: 1px solid #f3f4f6;
}

.mobile-menu-nav a:hover,
.mobile-menu-categories a:hover,
.mobile-menu-actions a:hover {
    background: #fff7ed;
    color: #d97706;
}

.mobile-menu-section {
    margin-top: 0.5rem;
}

.mobile-menu-section-title {
    padding: 0.75rem 1.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #9ca3af;
}

.mobile-menu-categories,
.mobile-menu-actions {
    display: flex;
    flex-direction: column;
}

.mobile-menu-badge {
    margin-left: auto;
    background: #d97706;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
}

body.mobile-menu-open {
    overflow: hidden;
}

@media (min-width: 993px) {
    .mobile-menu-overlay,
    .mobile-menu-panel {
        display: none !important;
    }
}

/* === SEARCH AUTOCOMPLETE === */
.search-autocomplete {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    z-index: 1500;
    max-height: 420px;
    overflow-y: auto;
    display: none;
    padding: 0.5rem 0;
}

.search-autocomplete.active {
    display: block;
}

.search-autocomplete-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1rem;
    text-decoration: none;
    color: #374151;
    transition: background 0.15s;
    cursor: pointer;
}

.search-autocomplete-item:hover {
    background: #fff7ed;
}

.search-autocomplete-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 6px;
    background: #f9fafb;
    flex-shrink: 0;
}

.search-autocomplete-item .ac-info {
    flex: 1;
    min-width: 0;
}

.search-autocomplete-item .ac-name {
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-autocomplete-item .ac-meta {
    font-size: 0.78rem;
    color: #9ca3af;
    margin-top: 1px;
}

.search-autocomplete-item .ac-price {
    font-size: 0.85rem;
    font-weight: 600;
    color: #d97706;
    white-space: nowrap;
    flex-shrink: 0;
}

.search-autocomplete-empty {
    padding: 1rem;
    text-align: center;
    color: #9ca3af;
    font-size: 0.9rem;
}

.search-autocomplete-footer {
    padding: 0.5rem 1rem;
    border-top: 1px solid #f3f4f6;
    text-align: center;
}

.search-autocomplete-footer a {
    font-size: 0.85rem;
    color: #d97706;
    text-decoration: none;
    font-weight: 500;
}

.search-autocomplete-footer a:hover {
    text-decoration: underline;
}

@media (max-width: 992px) {
    .search-autocomplete {
        position: fixed;
        top: 60px;
        left: 1rem;
        right: 1rem;
        max-height: 60vh;
    }
}



/* PAGINATION */
.pagination {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.pagination__list {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination__item {
    display: flex;
}

.pagination__link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    min-width: 40px;
    justify-content: center;
}

.pagination__link:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
    color: #d97706;
}

.pagination__link--active {
    background: #d97706;
    border-color: #d97706;
    color: #fff;
    cursor: default;
}

.pagination__link--active:hover {
    background: #d97706;
    color: #fff;
}

.pagination__link--disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.pagination__link svg {
    flex-shrink: 0;
}

.pagination__ellipsis {
    padding: 0.5rem;
    color: #6b7280;
}

.pagination__info {
    color: #6b7280;
    font-size: 0.875rem;
}

@media (max-width: 640px) {
    .pagination__link {
        padding: 0.4rem 0.6rem;
        font-size: 0.875rem;
        min-width: 36px;
    }
    
    .pagination__link span {
        display: none;
    }
    
    .pagination__link--prev svg,
    .pagination__link--next svg {
        margin: 0;
    }
}


/* === CART BADGE === */
.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  background: #ef4444;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
  animation: badgePulse 2s infinite;
  z-index: 10;
}

.cart-badge:empty,
.cart-badge[data-count="0"],
.cart-badge[style*="display: none"] {
  display: none !important;
}

.header-cart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes badgePulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Анимация при изменении */
.cart-badge--update {
  animation: badgeBounce 0.5s ease;
}

@keyframes badgeBounce {
  0%, 100% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.3);
  }
  50% {
    transform: scale(0.9);
  }
  75% {
    transform: scale(1.1);
  }
}


/* === FAVORITES BADGE === */
.favorites-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  background: #ec4899; /* Розовый для избранного */
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(236, 72, 153, 0.4);
  animation: badgePulse 2s infinite;
  z-index: 10;
}

.favorites-badge:empty,
.favorites-badge[data-count="0"],
.favorites-badge[style*="display: none"] {
  display: none !important;
}

.header-favorites {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 24px;
}

/* Цифра рядом с сердечком */
.favorites-badge--inline {
  position: static;
  display: inline-flex;
  animation: none;
  box-shadow: none;
  margin-left: 2px;
}

.favorites-badge--update {
  animation: badgeBounce 0.5s ease;
}


/* Favorites text next to icon */
.favorites-text {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-left: 2px;
  min-width: 16px;
  text-align: center;
}

.favorites-text:empty {
  display: none;
}

/* === WAREHOUSE ENTER MODAL === */
.warehouse-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
}

.warehouse-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    animation: modalFadeIn 0.3s ease;
}

.warehouse-modal__content {
    position: relative;
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.35);
    max-width: 420px;
    width: 90%;
    animation: modalSlideUp 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.warehouse-modal__icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #fff;
    font-size: 1.8rem;
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.35);
}

.warehouse-modal__content h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.warehouse-modal__content p {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.warehouse-modal__buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.warehouse-modal__btn {
    flex: 1;
    padding: 0.9rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.25s;
}

.warehouse-modal__btn--yes {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.warehouse-modal__btn--yes:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.45);
}

.warehouse-modal__btn--no {
    background: #f1f5f9;
    color: #475569;
}

.warehouse-modal__btn--no:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}


/* ============================================================
   MONTI-STYLE HEADER & HERO
   ============================================================ */

/* ----- Header Monti ----- */
.site-header-monti {
    position: relative;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

/* Top bar */
.header-top-bar {
    background: #000000;
    color: #fff;
    border-bottom: 1px solid #333333;
}

.header-top-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: stretch;
    gap: 0;
}

.header-logo-monti {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #000000;
    text-decoration: none;
    height: 72px;
    min-width: 0;
    padding: 0 0.5rem;
    overflow: visible;
}

.header-logo-monti img {
    height: 177px;
    max-height: none;
    width: auto;
    display: block;
    position: relative;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    transition: transform 0.3s ease;
}

.header-logo-monti:hover img {
    transform: scale(1.03);
}

.header-logo-monti::after {
    display: none;
}

.nav-hidden {
    display: none !important;
}

/* Top bar navigation */
.header-nav-menu-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    flex: 1 1 auto;
    padding: 0 1rem;
}

.header-nav-menu-top a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.2s ease;
}

.header-nav-menu-top a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #ff6600;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.header-nav-menu-top a:hover {
    color: #ff6600;
}

.header-nav-menu-top a:hover::after {
    transform: scaleX(1);
}

.header-top-right {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: #000000;
    padding: 0.7rem 1rem;
    min-height: 72px;
}

.header-slogan-bar {
    padding: 0 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.02em;
    white-space: nowrap;
    display: flex;
    align-items: center;
    height: 100%;
}

.header-cart-icon,
.header-menu-toggle {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease;
    position: relative;
}

.header-cart-icon:hover,
.header-menu-toggle:hover {
    background: #ff6600;
}

.header-login-link-monti {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 0.7rem;
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
    border-radius: 4px;
    transition: color 0.2s ease, background 0.2s ease;
}

.header-login-link-monti:hover {
    color: #ff6600;
    background: rgba(255,255,255,0.08);
}

.header-cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 20px;
    height: 20px;
    background: #ff6600;
    color: #fff;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    margin: 3px 0;
    border-radius: 1px;
}

.header-menu-toggle {
    display: none;
}

/* Bottom nav bar */
.header-nav-bar {
    display: none !important;
}

/* Bottom nav bar - old styles kept for reference
.header-nav-bar {
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
}

.header-nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
}

.header-nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.header-nav-menu a {
    display: block;
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 1.1rem 0;
    position: relative;
    transition: color 0.2s ease;
}

.header-nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0.8rem;
    left: 0;
    width: 100%;
    height: 2px;
    background: #ff6600;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.header-nav-menu a:hover {
    color: #ff6600;
}

.header-nav-menu a:hover::after {
    transform: scaleX(1);
}

.header-nav-contacts {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-social {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 1rem;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.header-social[aria-label="WhatsApp"] {
    background: #25d366;
}

.header-social[aria-label="Telegram"] {
    background: #0088cc;
}

.header-social:hover {
    transform: translateY(-2px);
}

.header-phone,
.header-email {
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.header-phone:hover,
.header-email:hover {
    color: #ff6600;
}

.header-email {
    font-weight: 500;
    color: #666;
}

/* Hide old header/nav styles on pages where they may still appear */
.site-header,
.site-nav {
    display: none !important;
}

/* ----- Hero Monti Slider ----- */
.hero-monti {
    position: relative;
    background: #f5f5f5;
    overflow: hidden;
    border-bottom: 3px solid #ff6600;
    box-shadow: 0 6px 24px rgba(255, 102, 0, 0.12);
}

.hero-slider {
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0 auto;
    min-height: 600px;
}

.hero-slider::before,
.hero-slider::after,
.hero-corner-br,
.hero-corner-bl,
.hero-corner-tr {
    display: none;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease, visibility 0.7s ease;
    display: flex;
    align-items: center;
    padding: 2rem 4rem 0;
    z-index: 5;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.hero-slide-inner {
    display: flex;
    align-items: center;
    gap: 3rem;
    width: 100%;
}

/* Left side: product image */
.hero-slide-visual {
    flex: 1 1 55%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 480px;
    padding: 2rem 1rem 2.5rem;
    background: transparent;
}

.hero-product-img {
    max-width: 100%;
    max-height: 520px;
    object-fit: contain;
    transform: translateX(-40px) scale(0.96);
    opacity: 0;
    filter: drop-shadow(0 20px 34px rgba(0,0,0,0.18));
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
    pointer-events: none;
}

.hero-slide.active .hero-product-img {
    transform: translateX(0) scale(1);
    opacity: 1;
}

/* Right side: content */
.hero-slide-content {
    flex: 1 1 45%;
    padding: 1rem 2rem;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    position: relative;
    overflow: visible;
}

.hero-slide-content::before {
    display: none;
}

.hero-slide-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1.15;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    word-break: break-word;
    overflow-wrap: anywhere;
    transform: translateY(30px);
    opacity: 0;
    display: block;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
    overflow: visible;
    max-height: none;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s, opacity 0.8s ease 0.2s;
}

.hero-slide.active .hero-slide-title {
    transform: translateY(0);
    opacity: 1;
}

.hero-slide-desc {
    font-size: 1.15rem;
    color: #333;
    line-height: 1.7;
    max-width: none;
    margin-bottom: 2rem;
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.35s, opacity 0.8s ease 0.35s;
}

.hero-slide.active .hero-slide-desc {
    transform: translateY(0);
    opacity: 1;
}

.hero-slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 0;
    background: #1a1a2e;
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
    transition: box-shadow 0.25s ease, transform 0.25s ease, background 0.25s ease;
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s, opacity 0.8s ease 0.5s, box-shadow 0.25s ease, background 0.25s ease;
}

.hero-slide.active .hero-slide-btn {
    transform: translateY(0);
    opacity: 1;
}

.hero-slide-btn:hover {
    background: #ff6600;
    box-shadow: 0 6px 20px rgba(255,102,0,0.25);
    transform: translateY(-2px);
}

.hero-btn-line {
    display: block;
    width: 5px;
    align-self: stretch;
    background: #ff6600;
}

.hero-slide-btn span:last-child {
    padding: 1rem 1.8rem;
}

.hero-slide-btn:hover .hero-btn-line {
    background: #fff;
}

/* Slider navigation */
.hero-slider-nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.hero-slider-arrows {
    display: flex;
    gap: 1.2rem;
}

.hero-slider-arrow {
    width: 36px;
    height: 24px;
    border: none;
    background: transparent;
    color: #333;
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.hero-slider-arrow:hover {
    color: #ff6600;
    transform: scale(1.15);
}

.hero-slider-dots {
    display: flex;
    gap: 1rem;
}

.hero-slider-dot {
    background: transparent;
    border: none;
    color: #aaa;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.3rem 0.2rem;
    position: relative;
    transition: color 0.2s ease;
}

.hero-slider-dot::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #ff6600;
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.hero-slider-dot.active,
.hero-slider-dot:hover {
    color: #333;
}

.hero-slider-dot.active::after,
.hero-slider-dot:hover::after {
    transform: scaleX(1);
}

/* Responsive header/hero */
@media (max-width: 992px) {
    .header-nav-menu {
        gap: 1.5rem;
    }
    .header-nav-contacts .header-email,
    .header-slogan-bar {
        display: none;
    }
    .hero-slide-inner {
        gap: 2rem;
    }
    .hero-slide-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .header-nav-bar {
        display: none;
    }
    .header-nav-menu-top {
        display: none;
    }
    .header-menu-toggle {
        display: flex;
    }
    .header-top-inner {
        padding: 0;
        grid-template-columns: auto 1fr auto;
    }
    .header-logo-monti {
        padding: 0 0.3rem;
        height: 60px;
    }
    .header-logo-monti img {
        height: 55px;
        padding: 0;
        border-radius: 0;
        border: none;
    }
    .header-logo-monti:hover img {
        transform: scale(1.03);
    }
    .header-logo-monti::after {
        display: none;
    }
    .header-top-right {
        padding: 0.6rem 0.3rem;
    }
    .header-slogan-bar {
        display: none;
    }

    .hero-slider {
        min-height: auto;
    }
    .hero-slider::before,
    .hero-slider::after,
    .hero-corner-br,
    .hero-corner-bl,
    .hero-corner-tr {
        display: none;
    }
    .hero-slide {
        padding: 1.5rem 1rem 0;
    }
    .hero-slide-inner {
        flex-direction: column;
        gap: 1rem;
    }
    .hero-slide-visual {
        min-height: auto;
        padding: 1rem 0 1.5rem;
    }
    .hero-product-img {
        max-height: 180px;
    }
    .hero-product-name {
        font-size: 1.2rem;
    }
    .hero-slide-content {
        text-align: left;
        padding: 0;
        background: transparent;
        border-radius: 0;
        width: 100%;
        overflow-wrap: anywhere;
    }
    .hero-slide-content::before {
        display: none;
    }
    .hero-slide-title {
        font-size: 1.25rem;
        line-height: 1.25;
        word-break: break-word;
        overflow-wrap: anywhere;
    }
    .hero-slide-desc {
        font-size: 0.9rem;
        line-height: 1.5;
        margin: 0 0 1rem;
    }
    .hero-slider-nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 1.5rem 2rem;
    }
}

@media (max-width: 480px) {
    .header-nav-contacts .header-phone {
        display: none;
    }
    .hero-slide {
        padding: 1rem 0.75rem 0;
    }
    .hero-slide-title {
        font-size: 1.1rem;
        line-height: 1.25;
        word-break: break-word;
        overflow-wrap: anywhere;
        margin-bottom: 0.8rem;
    }
    .hero-slide-desc {
        display: none;
    }
}
