/* Base Styles */
:root {
    --primary: #0064fe;
    --secondary: #2e3a46;
    --accent: #c5a86d;
    --text-primary: #fff;
    --text-secondary: #c5c5c5;
    --bg-primary: #0d0d0d;
    --bg-secondary: #1a1a1a;
    --border: #2c2c2c;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --info: #17a2b8;
    --shadow: rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
    --section-padding: 40px;
    --section-gap: 40px;
    --heading-margin: 40px;
    --container-width: 1200px;
    --container-padding: 20px;
}

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

html {
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
    overflow-y: scroll;
    scrollbar-gutter: stable;
    width: 100%;
}

body {
    color: var(--text-primary);
    background-color: var(--bg-primary);
    min-height: 100vh;
    line-height: 1.6;
    font-weight: 400;
    width: 100%;
    overflow-x: hidden;
    position: relative;
}

body.modal-open {
    overflow: hidden;
}

/* Main content offset for fixed header */
main {
    margin-top: 80px; /* Header height on desktop */
}

@media screen and (max-width: 1400px) {
    main {
        margin-top: 70px; /* Header height on tablet */
    }
}

@media screen and (max-width: 768px) {
    main {
        margin-top: 55px; /* Header height on mobile */
    }
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

@media screen and (max-width: 1200px) {
    :root {
        --section-padding: 60px;
        --section-gap: 30px;
        --heading-margin: 30px;
        --container-width: 960px;
    }
}

@media screen and (max-width: 768px) {
    :root {
        --section-padding: 40px;
        --section-gap: 20px;
    }
    
    html, body {
        width: 100%;
        overflow-x: hidden;
    }
    
    .container {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }

    img {
        max-width: 100%;
        height: auto;
    }
}

@media screen and (max-width: 480px) {
    :root {
        --container-padding: 10px;
    }
    
    .header {
        padding: 15px 0;
    }
    
    .nav__menu {
        display: none;
    }
    
    .contacts {
        flex-direction: column;
        align-items: flex-end;
    }
    
    .phone {
        margin-bottom: 10px;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .hero__title {
        font-size: 2rem;
    }
    
    .hero__subtitle {
        font-size: 1.2rem;
    }
    
    .info-block {
        padding: 30px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .statistics-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .process-steps {
        flex-direction: column;
    }
    
    .step {
        width: 100%;
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 480px) {
    .statistics-grid {
        grid-template-columns: 1fr;
    }
    
    .hero__title {
        font-size: 1.8rem;
    }
    
    .hero__subtitle {
        font-size: 1rem;
    }
    
    .callback-btn {
        width: 100%;
    }
}

/* Фиксированные размеры для мобильных устройств */
@media screen and (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .container {
        width: 100%;
        padding: 0 15px;
    }
    
    .header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: #1a1a1a;
    }
}

/* Typography */
h1 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

h3 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

h4 {
    font-weight: 400;
    line-height: 1.2;
    color: var(--text-primary);
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: rgba(13, 13, 13, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    color: var(--text-primary);
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    white-space: nowrap;
}

.logo:hover {
    color: var(--accent);
}

.menu {
    display: flex;
    gap: 40px;
    margin: 0 30px;
}

.menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.menu a:hover {
    color: var(--accent);
}

.menu a:hover::after {
    width: 100%;
}

.contact-block {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 0px;
}

.icon-btn {
    color: white;
    font-size: 20px;
    transition: color 0.3s ease;
}

.icon-btn:hover {
    color: var(--accent);
}

.phone {
    font-size: 16px;
    color: var(--text-primary);
    white-space: nowrap;
}

.btn-outline {
    display: inline-block;
    padding: 8px 16px;
    color: var(--text-primary);
    background-color: transparent;
    border: 1px solid var(--accent);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.3s ease;
}

@media (max-width: 992px) {
    .menu {
        gap: 20px;
    }
    
    .btn-outline {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .phone {
        font-size: 14px;
    }
}

@media (max-width: 1400px) {
    .header {
        height: 70px;
    }

    .header .container {
        justify-content: space-between;
        padding: 0 15px;
        max-width: 100%;
        overflow: hidden;
    }

    .menu {
        display: none;
    }

    .contact-block {
        display: none;
    }

    .logo {
        font-size: 20px;
    }

    .menu-toggle {
        display: block;
    }

    .header-mobile-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

    .header-left {
        flex-shrink: 0;
    }

    .header-right {
        flex-shrink: 0;
    }

    .mobile-social-links {
        display: flex;
        gap: 15px;
    }

    .mobile-social-icon {
        font-size: 20px;
        color: var(--text-primary);
    }
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: none;
}

.btn-outline:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(197, 168, 109, 0.4);
}

.btn-outline:active {
    transform: translateY(0);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(197, 168, 109, 0.2);
    }
    70% {
        transform: scale(1.02);
        box-shadow: 0 0 0 3px rgba(197, 168, 109, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(197, 168, 109, 0);
    }
}

@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

/* Hero Section */
.hero {
    padding: 100px 0;
    background: transparent;
    color: #fff;
    position: relative;
    overflow: hidden;
}

/* Геометрическая сетка для hero блока */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(197, 168, 109, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(197, 168, 109, 0.05) 1px, transparent 1px),
        linear-gradient(rgba(0, 100, 254, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 100, 254, 0.03) 1px, transparent 1px);
    background-size: 60px 60px, 60px 60px, 30px 30px, 30px 30px;
    animation: gridMove 60s linear infinite;
    pointer-events: none;
    opacity: 1;
    z-index: 0;
}

/* Скрыть фоновое изображение на планшетах и мобильных */
@media (max-width: 1024px) {
    .hero {
        background-image: none;
    }
}

/* Snowfall over the text block */
.hero__content {
    position: relative;
    z-index: 1; /* контент над снегом */
}

.hero__content::before {
    content: '';
    position: absolute;
    inset: -20px -10px -20px -100px; /* не заходим на область с картинкой справа */
    pointer-events: none;
    opacity: 0.22;
    background-image:
        radial-gradient(3px 3px at 20px 30px, #ffffff 60%, transparent 61%),
        radial-gradient(3px 3px at 100px 80px, #ffffff 60%, transparent 61%),
        radial-gradient(3.5px 3.5px at 160px 50px, #ffffff 60%, transparent 61%),
        radial-gradient(5px 5px at 60px 10px, #ffffff 60%, transparent 61%),
        radial-gradient(4.5px 4.5px at 140px 120px, #ffffff 60%, transparent 61%),
        radial-gradient(2.5px 2.5px at 80px 160px, #ffffff 60%, transparent 61%);
    background-repeat: repeat;
    background-size: 220px 220px;
    animation: hero-snow 18s linear infinite;
    mask-image: linear-gradient(90deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.6) 90%, rgba(0,0,0,0) 100%);
    z-index: 0;
}

/* Снег на весь блок в мобильной версии */
@media (max-width: 768px) {
    .hero__content::before {
        inset: -20px -20px -20px -20px; /* покрываем весь блок */
        mask-image: none; /* убираем маску для полного покрытия */
    }
}

@keyframes hero-snow {
    0% { background-position: 0 0; }
    100% { background-position: 0 600px; }
}

.hero .container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.hero__content {
    max-width: 800px;
    margin: 0;
    padding: 0;
    text-align: left;
}

.hero__content .delivery-card__image img {
    width: 100%;
    height: 450px;
    object-fit: contain;
}

.hero__logo {
    margin-left: 48px;
    margin-top: 24px;
}

.hero__logo img {
    width: 180px;
    height: auto;
    object-fit: contain;
    display: block;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #FFFFFF;
    line-height: 1.2;
    max-width: 700px;
}

.hero__subtitle {
    font-size: 1.4rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.5;
    max-width: 600px;
}

/* УТП теги в Hero */
.hero__utp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 2rem 0;
    max-width: 700px;
}

.utp-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(197, 168, 109, 0.12);
    border: 1px solid rgba(197, 168, 109, 0.3);
    border-radius: 30px;
    padding: 10px 18px;
    font-size: 0.95rem;
    color: #fff;
    white-space: nowrap;
}

.utp-tag i {
    color: var(--accent);
    font-size: 1rem;
}

@media (max-width: 768px) {
    .hero__utp-tags {
        flex-direction: column;
        gap: 10px;
    }

    .utp-tag {
        width: fit-content;
        font-size: 0.9rem;
        padding: 8px 14px;
    }
}

.hero__features {
    margin: 2rem 0;
}

.hero__features p {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #FFFFFF;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hero__features p:last-child {
    margin-bottom: 0;
}

.hero__features p i {
    color: var(--accent);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.hero .btn {
    display: inline-block;
    padding: 18px 40px;
    background: var(--accent);
    color: var(--bg-primary);
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 18px;
    line-height: 1;
    letter-spacing: 0.2px;
    transition: all 0.3s ease;
    margin-top: 1.25rem;
    margin-left: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    animation: hero-pulse 1.8s infinite;
}

.hero .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shine 3s infinite;
}

.hero .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}

@keyframes shine {
    0% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

@keyframes hero-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(214, 185, 132, 0.55), 0 6px 18px rgba(0, 0, 0, 0.25);
        transform: translateY(0);
    }
    60% {
        box-shadow: 0 0 0 12px rgba(214, 185, 132, 0), 0 6px 18px rgba(0, 0, 0, 0.25);
        transform: translateY(-1px);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(214, 185, 132, 0), 0 6px 18px rgba(0, 0, 0, 0.25);
        transform: translateY(0);
    }
}

/* Info Block Section */
.info-block {
    background: transparent;
    position: relative;
}

.info-block__content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
    background: #0F0F0F;
    border: 1px solid #D6B984;
    border-radius: 8px;
}

.info-block__text {
    text-align: center;
    margin-bottom: 40px;
}

.info-block__text h2 {
    font-size: 36px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 16px;
}

.info-block__text p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-top: 1rem;
    font-weight: 500;
}

.info-block__services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.info-block__column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-block__item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #FFFFFF;
    transition: transform 0.3s ease;
}

.info-block__item:hover {
    transform: translateX(5px);
}

.info-block__item i {
    color: #D6B984;
    font-size: 18px;
}

/* Client Segments - Для кого работаем */
.client-segments {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.client-segment {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(197, 168, 109, 0.2);
    border-radius: 12px;
    padding: 30px 25px;
    transition: all 0.3s ease;
}

.client-segment:hover {
    border-color: rgba(197, 168, 109, 0.5);
    transform: translateY(-5px);
}

.client-segment__icon {
    width: 60px;
    height: 60px;
    background: rgba(197, 168, 109, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.client-segment__icon i {
    font-size: 28px;
    color: var(--accent);
}

.client-segment h3 {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 12px;
    font-weight: 600;
}

.client-segment p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 992px) {
    .client-segments {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 5px 0 20px;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero p {
        font-size: 1.125rem;
    }

    .hero .container {
        flex-direction: column;
        gap: 3em;
    }

    .hero__content {
        text-align: left;
        padding-left: 15px;
    }

    .info-block__services {
        grid-template-columns: 1fr;
    }

    .info-block__content {
        padding: 20px;
    }

    .navbar {
        padding: 0 16px;
    }
    
    .logo {
        margin-right: 16px;
    }
    
    .logo img {
        height: 32px;
    }
    
    .nav__menu {
        gap: 20px;
    }
    
}

/* Services Section */
.services {
    padding: var(--section-padding) 0;
    background: transparent;
}

.services .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.services .section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 20px;
}

.services .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: rgba(255, 215, 0, 0.8);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 8px;
    padding: 35px 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Background image specifically for the first card (factories search) */
.service-card--factories {
    background-image: url('../sq/101.png');
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: 140px auto;
}

.service-card--factories i,
.service-card--factories h3,
.service-card--factories p {
    position: relative;
    z-index: 1;
}

.service-card--factories::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.15) 100%);
    pointer-events: none;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.8);
}

.service-card:hover::before {
    transform: translateX(100%);
}

.service-card i {
    font-size: 2.5rem;
    color: #D4B170;
    margin-bottom: 1.5rem;
}

.service-image {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(80%) sepia(100%) saturate(1000%) hue-rotate(0deg);
}

.service-card:hover .service-image img {
    filter: brightness(0) saturate(100%) invert(80%) sepia(100%) saturate(1000%) hue-rotate(0deg) brightness(1.2);
}

.service-card h3 {
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 15px;
}

.service-card p {
    color: #cfcfcf;
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.9;
}

/* Solutions Section - Какие задачи решаем */
.solutions-section {
    padding: var(--section-padding) 0;
    background: transparent;
}

.solutions-section .section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 20px;
}

.solutions-section .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: rgba(255, 215, 0, 0.8);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.solution-card {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.solution-card:hover {
    border-color: rgba(255, 215, 0, 0.4);
    transform: translateY(-5px);
}

.solution-card__problem {
    padding: 25px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    display: flex;
    gap: 15px;
    align-items: flex-start;
    background: rgba(0, 0, 0, 0.3);
}

.solution-card__problem i {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.solution-card__problem p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.solution-card__answer {
    padding: 25px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.solution-card__answer i {
    color: var(--accent);
    font-size: 1.2rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.solution-card__answer p {
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 1024px) {
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Trust Section - Бейджи доверия */
.trust-section {
    padding: 30px 0;
    background: rgba(197, 168, 109, 0.05);
    border-top: 1px solid rgba(197, 168, 109, 0.15);
    border-bottom: 1px solid rgba(197, 168, 109, 0.15);
}

.trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
}

.trust-badge i {
    color: var(--accent);
    font-size: 1.1rem;
}

@media (max-width: 1200px) {
    .trust-badges {
        gap: 25px 40px;
    }
}

@media (max-width: 768px) {
    .trust-badges {
        gap: 15px 30px;
        justify-content: flex-start;
    }

    .trust-badge {
        font-size: 0.85rem;
    }
}

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

@media (max-width: 768px) {
    
    .services .section-title {
        font-size: 28px;
        padding-bottom: 15px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px; /* Уменьшаю верхний отступ с 60px до 30px */
    }
    
    .service-card {
        padding: 30px 20px;
    }
}

/* Features Section */
.features {
    padding: 80px 0;
    background: transparent;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature {
    padding: 30px;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.feature h3 {
    font-size: 36px;
    color: var(--accent);
    margin-bottom: 10px;
    font-weight: 700;
}

.feature p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Process Section */
.process {
    padding: var(--section-padding) 0;
    background: transparent;
}

.process h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 50px;
    position: relative;
}

.process h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: var(--accent);
}

.process__steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 50px;
    position: relative;
}

.step {
    text-align: center;
    max-width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step__number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--bg-secondary);
    color: var(--accent);
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 2px solid var(--accent);
    position: relative;
    z-index: 1;
}

.step__content {
    margin-top: 20px;
}

.step__title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
    white-space: nowrap;
}

.step__description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.step-arrow {
    flex: 1;
    height: 2px;
    background-color: var(--accent);
    margin: 30px 20px 0;
    position: relative;
}

.step-arrow::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 0 8px 12px;
    border-color: transparent transparent transparent var(--accent);
}

@media (max-width: 1024px) {
    .process__steps {
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }
    
    .step-arrow {
        display: none;
    }
    
    .step__title {
        font-size: 14px;
    }
}

@media (max-width: 768px) {    
    .process h2 {
        font-size: 28px;
        text-align: center; /* Center heading */
    }
    
    .process__steps {
        flex-direction: column; /* Stack steps vertically */
        align-items: center;    /* Center steps horizontally */
        gap: 30px;              /* Add gap between steps */
    }

    .step {
        max-width: 90%; /* Limit step width */
        width: 100%;
        text-align: center; /* Center text within step */
    }

    .step__number {
        margin-left: auto;
        margin-right: auto; /* Center number circle */
    }

    .step__title {
        font-size: 14px;
        white-space: normal; /* Allow title text wrapping */
        text-align: center;
    }

    .step__description {
        font-size: 12px;
        text-align: center;
    }

    .step-arrow {
        display: none; /* Hide arrows on mobile */
    }
    
    .step {
        max-width: 100%;
    }
    
    .step__title {
        font-size: 14px;
        white-space: normal;
    }
    
    .step__description {
        font-size: 12px;
    }
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, rgba(214, 185, 123, 0.05) 0%, rgba(214, 185, 123, 0) 100%);
    z-index: 1;
}

.contact .container {
    position: relative;
    z-index: 2;
}

.contact h2 {
    text-align: center;
    font-size: 36px;
    color: #fff;
    margin-bottom: 60px;
    position: relative;
}

.contact h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: #D6B97B;
}

.contact__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    background: #1a1a1a;
    border: 1px solid #D6B97B;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact__form {
    padding-right: 40px;
    border-right: 1px solid rgba(214, 185, 123, 0.2);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: #2a2a2a;
    border: 1px solid rgba(214, 185, 123, 0.3);
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #D6B97B;
    outline: none;
    box-shadow: 0 0 0 2px rgba(214, 185, 123, 0.1);
}

.form-group textarea {
    height: 150px;
    resize: none;
}

.contact__form .primary-btn {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    font-weight: 500;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.detail {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.detail span {
    color: #D6B97B;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.detail a,
.detail p {
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.detail a:hover {
    color: #D6B97B;
}

@media (max-width: 1024px) {
    .contact__wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact__form {
        padding-right: 0;
        border-right: none;
        border-bottom: 1px solid rgba(214, 185, 123, 0.2);
        padding-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .contact {
        padding: 60px 0;
    }
    
    .contact h2 {
        font-size: 28px;
        margin-bottom: 40px;
    }
    
    .contact__wrapper {
        padding: 30px;
    }
    
    .detail a,
    .detail p {
        font-size: 16px;
    }
}

/* Footer */
.footer {
    padding: var(--section-padding) 0 40px;
    background: transparent;
    margin-top: var(--section-gap);
}

.footer__wrapper {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    margin-bottom: 2rem;
}

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

/* Prevent grid shift when dropdown opens */
.links-group {
    min-width: 0;
    overflow: visible;
}

/* Footer dropdown styles */
.cargo-types-toggle {
    position: relative;
}

.cargo-types-toggle ul {
    position: absolute;
    left: 0;
    top: 100%;
    background: var(--bg-secondary);
    border-radius: 8px;
    padding: 10px 15px !important;
    z-index: 100;
    min-width: 200px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
}

.links-group h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.links-group ul {
    list-style: none;
}

.links-group li {
    margin-bottom: 0.5rem;
}

.links-group a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.links-group a:hover {
    color: var(--accent);
}

.footer__bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer__bottom p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.footer__legal-info {
    margin-bottom: 20px;
}

.footer__company,
.footer__address {
    color: var(--text-secondary);
    font-size: 13px;
    margin-bottom: 5px;
}

.footer__links-bottom {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.footer__links-bottom a {
    color: var(--accent);
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.3s ease;
}

.footer__links-bottom a:hover {
    text-decoration: underline;
}

.footer__divider {
    color: var(--text-secondary);
    opacity: 0.5;
}

.footer__copyright {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.footer__age {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1px solid var(--accent);
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    color: var(--accent);
}

/* Центрирование футера */
.footer__info {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.footer__info h3 {
    color: #C5A86D;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
}

.footer__info p {
    color: #D0D0D0;
    margin-bottom: 8px;
    text-align: center;
}

.footer__info p:first-of-type {
    font-weight: 700;
    color: #E0E0E0;
}

.footer__legal {
    font-size: 12px;
    color: var(--text-secondary);
    opacity: 0.7;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .footer__legal {
        font-size: 11px;
        padding: 0 15px;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .info-block {
        width: calc(100% - 120px);
    }
    
    .info-block__content {
        padding: 25px 30px;
    }
}

@media (max-width: 768px) {    
    .services h2,
    .process h2 {
        font-size: 28px;
        padding-bottom: 15px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .info-block {
        width: calc(100% - 60px);
    }
    
    .info-block__content {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }
    
    .info-block__list li {
        justify-content: center;
    }
    
    .process__steps {
        flex-direction: column;
    }
    
    .step-arrow {
        width: 2px;
        height: 40px;
        margin: 10px 0;
    }
    
    .step-arrow::before {
        right: 50%;
        top: 100%;
        transform: translateX(50%) rotate(135deg);
    }
}

@media (max-width: 576px) {
    .services h2,
    .process h2 {
        font-size: 24px;
    }
    
    .service-card h3 {
        font-size: 18px;
    }
    
    .service-card p {
        font-size: 14px;
    }
    
    .info-block {
        width: 100%;
    }
    
    .info-block__text h2 {
        font-size: 24px;
    }
    
    .info-block__text p {
        font-size: 16px;
    }
}

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scale-in {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Updated styles for how we work section */
.how-we-work {
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0.05) 100%);
}

.work-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 50px;
    position: relative;
}

.work-step {
    flex: 1;
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.work-step__number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #1a1a1a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.work-step:hover .work-step__number {
    transform: scale(1.1);
    background: linear-gradient(45deg, #1a1a1a, #333);
}

.work-step__title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.work-step__description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Updated button styles */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    background: #1a1a1a;
    color: #fff;
    border: none;
    cursor: pointer;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.button--outline {
    background: transparent;
    border: 2px solid #1a1a1a;
    color: #1a1a1a;
}

/* Statistics Section */
.statistics {
    padding: var(--section-padding) 0;
    background: transparent;
}

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

.stat-item {
    background-color: var(--bg-secondary);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
    border: 1px solid rgba(197, 168, 109, 0.3);
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: rgba(197, 168, 109, 0.6);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.stat-number::after {
    content: "+";
    position: absolute;
    right: -35px;
    color: var(--accent);
}

.stat-number.no-plus::after {
    display: none;
}

.stat-label {
    font-size: 18px;
    color: var(--text-secondary);
    margin-top: 10px;
}

@media (max-width: 768px) {
    .stat-number {
        font-size: 36px;
    }
    
    .stat-number::after {
        right: -28px;
    }
}

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

@media (max-width: 768px) {    
    .statistics-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .stat-label {
        font-size: 16px;
    }
}

/* Video Instruction Section */
.video-instruction {
    padding: var(--section-padding) 0;
    background: transparent;
}

.video-instruction__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.video-instruction__video {
    position: relative;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-instruction__text {
    padding-left: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.video-instruction__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.video-instruction__description {
    font-size: 1.1rem;
    color: #D0D0D0;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Responsive Video Instruction */
@media (max-width: 1024px) {
    .video-instruction__content {
        gap: 50px;
    }
    
    .video-instruction__title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .video-instruction__content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .video-instruction__text {
        order: 1;
        padding-left: 0;
        text-align: center;
    }
    
    .video-instruction__video {
        order: 2;
    }
    
    .video-instruction__title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .video-instruction__description {
        font-size: 1rem;
        margin-bottom: 0;
    }
}

/* Partners Section */
.partners {
    padding: 40px 0;
    background: transparent;
}

.partners__wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
    border: 1px solid var(--accent);
    border-radius: 12px;
    text-align: center;
}

.partners__title {
    font-size: 36px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

.partners__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: #D6B97B;
}

.partners__subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.partners__grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 30px;
}

.partners__column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.partner-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 1rem;
    text-align: left;
    min-width: 200px;
}

.partner-item i {
    color: var(--accent);
    font-size: 1rem;
}

.partners__text {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(197, 168, 109, 0.2);
}

.partners__description {
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .partners__wrapper {
        padding: 25px;
    }
    
    .partners__grid {
        flex-direction: column;
        gap: 20px;
    }
    
    .partners__column {
        align-items: center;
    }
    
    .partner-item {
        justify-content: center;
        text-align: center;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .partners__wrapper {
        padding: 20px;
    }
    
    .partners__title {
        font-size: 2.4rem;
    }
    
    .partners__subtitle {
        font-size: 1rem;
    }
    
    .partners__description {
        font-size: 0.9rem;
    }
}

/* Delivery Methods Section */
.delivery-methods {
    padding: var(--section-padding) 0;
    background: transparent;
}

.delivery-methods__title {
    font-size: 36px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

.delivery-methods__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: #D6B97B;
}

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

@media (max-width: 1300px) and (min-width: 1025px) {
    .delivery-methods__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

.delivery-card {
    background: var(--bg-secondary);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    text-align: center;
    flex-direction: column;
    padding: 20px;
}

.delivery-card:hover {
    transform: translateY(-5px);
}

.delivery-card__image {
    width: 100%;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.delivery-card__image img {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.delivery-card__content {
    padding: 0 20px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.delivery-card__title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.delivery-card__description {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

.delivery-card__details {
    display: flex;
    justify-content: space-between;
    margin-top: auto;
}

.delivery-card__detail {
    display: flex;
    align-items: center;
    color: var(--text-secondary);
}

.delivery-card__detail i {
    margin-right: 8px;
    color: var(--accent);
}

@media (max-width: 1024px) {
    .delivery-methods__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .delivery-card {
        padding: 15px;
    }

    .delivery-card__title {
        font-size: 16px;
    }

    .delivery-card__description {
        font-size: 13px;
        margin-bottom: 15px;
    }

    .delivery-card__details {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
        flex-wrap: nowrap;
    }

    .delivery-card__detail {
        font-size: 12px;
        white-space: nowrap;
    }

    .delivery-card__image {
        height: 120px;
        margin-bottom: 15px;
    }

    .delivery-card__image i {
        font-size: 50px;
    }
}

@media (max-width: 576px) {
    .delivery-methods {
        padding: 40px 0;
    }

    .delivery-methods__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .delivery-card__image {
        height: 140px;
    }

    .delivery-card__title {
        font-size: 18px;
    }

    .delivery-card__description {
        font-size: 14px;
    }
}

.delivery-card__image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.delivery-card__image i {
    font-size: 48px;
    color: #c8aa6e;
    transition: transform 0.3s ease, color 0.3s ease;
}

.delivery-card:hover .delivery-card__image i {
    transform: scale(1.1);
    color: #fff;
}

@media (max-width: 768px) {
    .delivery-card__image i {
        font-size: 36px;
    }
}

/* Warehouse Section */
.warehouse {
    padding: var(--section-padding) 0;
    background: transparent;
}

.warehouse__wrapper {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 12px;
    padding: 40px;
}

.warehouse__title {
    text-align: center;
    font-size: 36px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 20px;
}

.warehouse__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: rgba(255, 215, 0, 0.8);
}

.warehouse__subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.warehouse__services {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.warehouse__service {
    text-align: center;
    padding: 25px 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.warehouse__service:hover {
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateY(-3px);
}

.warehouse__service-icon {
    width: 50px;
    height: 50px;
    background: rgba(197, 168, 109, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.warehouse__service-icon i {
    font-size: 1.3rem;
    color: var(--accent);
}

.warehouse__service h3 {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 10px;
    font-weight: 600;
}

.warehouse__service p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

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

@media (max-width: 768px) {
    .warehouse__wrapper {
        padding: 25px 20px;
    }

    .warehouse__title {
        font-size: 1.5rem;
    }

    .warehouse__subtitle {
        font-size: 1rem;
    }

    .warehouse__services {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .warehouse__service {
        padding: 20px 10px;
    }

    .warehouse__service h3 {
        font-size: 0.9rem;
    }

    .warehouse__service p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .warehouse__wrapper {
        padding: 20px 15px;
    }

    .warehouse__title {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }

    .warehouse__subtitle {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .warehouse__services {
        display: flex;
        flex-direction: column;
        gap: 0;
        margin-bottom: 25px;
        background: rgba(255, 255, 255, 0.02);
        border-radius: 8px;
        padding: 15px;
    }

    .warehouse__service {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px 0;
        background: none;
        border: none;
        border-bottom: 1px solid rgba(255, 215, 0, 0.1);
        border-radius: 0;
        text-align: left;
    }

    .warehouse__service:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .warehouse__service:first-child {
        padding-top: 0;
    }

    .warehouse__service:hover {
        transform: none;
    }

    .warehouse__service-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
        margin: 0;
    }

    .warehouse__service-icon i {
        font-size: 1rem;
    }

    .warehouse__service h3 {
        font-size: 0.95rem;
        margin-bottom: 0;
    }

    .warehouse__service p {
        display: none;
    }
}

/* Новая галерея */
.warehouse-gallery {
    margin: 0;
    padding: 0;
}

.gallery-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
}

.gallery-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 20px;
}

.gallery-slide {
    flex: 0 0 320px;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    background: transparent;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(214, 185, 132, 0.9);
    border: none;
    border-radius: 50%;
    color: #1a1a1a;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-nav:hover {
    background: #d6b984;
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav--prev {
    left: 20px;
}

.gallery-nav--next {
    right: 20px;
}

@media (max-width: 768px) {
    .gallery-slide {
        flex: 0 0 280px;
        height: 240px;
    }
    
    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .gallery-nav--prev {
        left: 10px;
    }
    
    .gallery-nav--next {
        right: 10px;
    }
}

@media (max-width: 1024px) {
    .gallery__slide {
        flex: 0 0 22%;
        min-width: 22%;
        max-width: 22%;
    border-radius: 8px;
    }
    .gallery__slide img {
        border-radius: 8px;
}
}

@media (max-width: 768px) {
    .gallery__slide {
        flex: 0 0 32%;
        min-width: 32%;
        max-width: 32%;
        border-radius: 6px;
    }
    .gallery__slide img {
        border-radius: 6px;
    }
}

.gallery__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #D6B97B;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.gallery__arrow i {
    color: #1a1a1a;
    font-size: 16px;
}

.gallery__arrow:hover {
    background: #c4a86d;
}

.gallery__arrow--prev {
    left: 20px;
}

.gallery__arrow--next {
    right: 20px;
}

@media (max-width: 1024px) {
    .gallery__slide {
        flex: 0 0 calc(33.333% - 14px);
        min-width: calc(33.333% - 14px);
        /* No height override - keeps 250px */
    }
}

@media (max-width: 768px) {
    .gallery__slide {
        flex: 0 0 calc(50% - 10px);
        min-width: calc(50% - 10px);
        /* No height override - keeps 250px */
    }
    
    .gallery__arrow {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 576px) {
    .gallery__slide {
        flex: 0 0 100%;
        min-width: 100%;
        /* No height override - keeps 250px */
    }
    
    .gallery__slider {
        gap: 0; /* Remove gap */
        padding: 0; /* Ensure no padding here either */
    }
}

@media (max-width: 768px) {
    .warehouse__title {
        font-size: 28px;
    }

    .warehouse__features {
        gap: 20px;
        flex-direction: column;
        align-items: center;
    }

    .feature-item {
        white-space: normal;
        text-align: center;
    }
    
    /* Центрирование текста в мобильной версии */
    .section-title,
    h1, h2, h3, h4, h5, h6 {
        text-align: center;
    }
    
    /* Центрирование контента в мобильной версии */
    .container {
        text-align: center;
    }
    
    /* Исключения для элементов, которые должны быть слева */
    .header,
    .footer,
    .footer *,
    .faq-question,
    .stage-item {
        text-align: left;
    }
    
    /* Восстанавливаем нормальное выравнивание для футера */
    .footer .container {
        text-align: left;
    }
    
    /* Дополнительное центрирование для мобильных */
    .hero__content,
    .about-content,
    .service-card,
    .warehouse__features,
    .faq-grid {
        text-align: center;
    }
    
    /* Центрирование кнопок в мобильной версии */
    .btn {
        display: block;
        margin: 0 auto;
    }
    
    /* Дополнительное центрирование для кнопки "Получить расчет" */
    .btn-mobile-full {
        display: block !important;
        margin: 0 auto !important;
        width: fit-content;
        padding: 12px 24px !important;
        font-size: 16px !important;
    }
    
    /* Центрирование текста в параграфах */
    p {
        text-align: center;
    }
}

/* FAQ Section */
.faq {
    padding: var(--section-padding) 0;
    background: transparent;
}

/* FAQ Styles - Two Columns Version */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 50px auto 0;
}

.faq-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: #1a1a1a;
    border: 1px solid #D6B97B;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #C5A86D;
    box-shadow: 0 4px 15px rgba(214, 185, 123, 0.2);
}

.faq-question {
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    background: transparent;
    border: none;
    text-align: left;
}

.faq-question:hover {
    background-color: rgba(214, 185, 123, 0.1);
}

.faq-question h3 {
    color: #fff;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
    margin: 0;
    flex: 1;
}

.faq-icon {
    width: 32px;
    height: 32px;
    background: #D6B97B;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-icon i {
    color: #1a1a1a;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: rgba(0, 0, 0, 0.2);
}

.faq-answer p {
    color: #e0e0e0;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    padding-bottom: 20px;
    margin-top: 15px;
}

/* Active states */
.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 20px 20px;
}

.faq-item.active .faq-icon i {
    transform: rotate(180deg);
}

.faq-item.active .faq-question {
    background-color: rgba(214, 185, 123, 0.1);
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 30px auto 0;
    }

    .faq-question h3 {
        font-size: 13.5px !important;
        font-weight: 400 !important;
        line-height: 1.4 !important;
    }

    .faq-answer p {
        font-size: 13px !important;
    }

    .faq-question {
        padding: 12px 15px !important;
    }
}

/* Section Title */
.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 600;
    color: #fff;
    margin-bottom: var(--heading-margin);
    position: relative;
    padding-bottom: 20px;
    
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: #D6B97B;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    :root {
        --section-padding: 60px;
        --section-gap: 30px;
        --heading-margin: 30px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 40px;
        --section-gap: 20px;
        --heading-margin: 20px;
    }
    
    .section-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .services h2,
    .statistics h2,
    .process h2,
    .delivery-methods__title,
    .faq h2 {
        font-size: 28px;
        padding-bottom: 15px;
    }
}

/* Modal styles */
.stages-modal,
.calculator-modal,
.about-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stages-modal.active,
.calculator-modal.active,
.about-modal.active {
    opacity: 1;
}

.stages-modal__content,
.calculator-modal__content,
.about-modal__content {
    display: none;
    position: relative;
    max-width: 800px;
    margin: 50px auto;
    padding: 40px;
    background-color: var(--bg-primary);
    border: 1px solid var(--accent);
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    max-height: 80vh;
    overflow-y: auto;
}

.stages-modal__content.active,
.calculator-modal__content.active,
.about-modal__content.active {
    opacity: 1;
    transform: translateY(0);
}

/* Custom scrollbar for modals */
.stages-modal__content::-webkit-scrollbar,
.calculator-modal__content::-webkit-scrollbar,
.about-modal__content::-webkit-scrollbar {
    width: 8px;
}

.stages-modal__content::-webkit-scrollbar-track,
.calculator-modal__content::-webkit-scrollbar-track,
.about-modal__content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.stages-modal__content::-webkit-scrollbar-thumb,
.calculator-modal__content::-webkit-scrollbar-thumb,
.about-modal__content::-webkit-scrollbar-thumb {
    background: rgba(197, 168, 109, 0.3);
    border-radius: 4px;
}

.stages-modal__content::-webkit-scrollbar-thumb:hover,
.calculator-modal__content::-webkit-scrollbar-thumb:hover,
.about-modal__content::-webkit-scrollbar-thumb:hover {
    background: rgba(197, 168, 109, 0.5);
}

/* Modal Close Button */
.stages-modal__close,
.calculator-modal__close,
.about-modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10;
}

.stages-modal__close::before,
.stages-modal__close::after,
.calculator-modal__close::before,
.calculator-modal__close::after,
.about-modal__close::before,
.about-modal__close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 2px;
    background-color: #C5A86D;
    transform-origin: center;
}

.stages-modal__close::before,
.calculator-modal__close::before,
.about-modal__close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.stages-modal__close::after,
.calculator-modal__close::after,
.about-modal__close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.stages-modal__close:hover::before,
.stages-modal__close:hover::after,
.calculator-modal__close:hover::before,
.calculator-modal__close:hover::after,
.about-modal__close:hover::before,
.about-modal__close:hover::after {
    background-color: #B89A5E;
}

/* Hide the HTML close button text */
.stages-modal__close span,
.calculator-modal__close span,
.about-modal__close span {
    display: none;
}

/* Body styles when modal is open */
body.modal-open {
    overflow: hidden !important;
    height: 100vh !important;
    position: relative;
}

/* Work Stages Modal Specific Styles */
.stages-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-height: 100%;
    overflow-y: auto;
}

.stage-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 100%;
}

.stage-number {
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    flex-shrink: 0;
}

.stage-content {
    flex: 1;
    min-width: 0;
}

.stage-content h3 {
    color: var(--text-primary);
    margin-bottom: 10px;
    font-size: 18px;
}

.stage-content p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

.stage-details {
    list-style-type: none;
    padding-left: 0;
    margin-top: 10px;
}

.stage-details li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

.stage-details li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent);
}

.stage-warning {
    margin-top: 15px;
    padding: 10px;
    background-color: rgba(255, 0, 0, 0.1);
    border-left: 3px solid #ff0000;
    color: var(--text-primary);
    font-size: 14px;
}

.stage-note {
    font-style: italic;
    color: var(--accent);
}

@media (max-width: 768px) {
    .stages-modal__content {
        margin: 20px auto;
        padding: 20px;
    }
    
    .stage-item {
        padding: 15px;
    }
    
    .stage-number {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
    
    .stage-content h3 {
        font-size: 16px;
    }
    
    .stage-content p {
        font-size: 13px;
    }
}

/* About Section */
.about {
    padding: 80px 0;
    background: transparent;
    color: var(--text-primary);
}

.about .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--text-primary);
}

.about-logo {
    max-width: 450px;
    margin: 0 auto 30px;
}

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

.about-subtitle {
    font-size: 24px;
    font-style: italic;
    color: #cccccc;
    margin-bottom: 30px;
    line-height: 1.4;
}

.about-text {
    margin-bottom: 40px;
    line-height: 1.6;
    font-size: 18px;
}

.about-features {
    margin-bottom: 40px;
    width: 100%;
}

.about-features h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--accent);
}

.about-features ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.about-features li {
    margin-bottom: 15px;
    padding-left: 35px;
    position: relative;
    text-align: left;
    font-size: 18px;
}

.about-features li:before {
    content: "✓";
    color: #f3cb82;
    position: absolute;
    left: 0;
    font-size: 20px;
}

.about-footer {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: 40px 0;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contacts-block,
.social-block {
    flex: 1;
    text-align: left;
}

.contacts-block h4,
.social-block h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--accent);
}

.contact-link,
.social-link {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    font-size: 18px;
}

.contact-link i,
.social-link i {
    font-size: 24px;
    width: 30px;
    text-align: center;
}

.contact-link.whatsapp i {
    color: #25D366;
}

.contact-link.telegram i {
    color: #0088cc;
}

.social-link.instagram i {
    color: #E1306C;
}

.social-link.youtube i {
    color: #FF0000;
}

.contact-link:hover,
.social-link:hover {
    transform: translateX(5px);
    color: var(--accent);
}

@media (max-width: 768px) {
    .about {
        padding: 60px 0;
    }

    .about h2 {
        font-size: 28px;
    }

    .about-subtitle {
        font-size: 20px;
    }

    .about-text {
        font-size: 16px;
    }

    .about-features ul {
        grid-template-columns: 1fr;
    }

    .about-features li {
        font-size: 16px;
    }

    .about-footer {
        flex-direction: column;
        gap: 30px;
    }

    .contacts-block,
    .social-block {
        text-align: center;
    }
}

/* About Modal */
.about-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    overflow-y: auto;
}

.about-modal__content {
    position: relative;
    background-color: var(--bg-primary);
    margin: 50px auto;
    padding: 40px;
    width: 90%;
    max-width: 800px;
    border-radius: 12px;
    border: 1px solid var(--accent);
    animation: modalFadeIn 0.3s ease;
}

.about-modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: var(--text-primary);
    cursor: pointer;
    transition: color 0.3s ease;
}

.about-modal__close:hover {
    color: var(--accent);
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-logo {
    margin-bottom: 30px;
}

.about-logo img {
    max-width: 200px;
    height: auto;
}

.about-subtitle {
    font-size: 24px;
    font-style: italic;
    color: #cccccc;
    margin-bottom: 30px;
    line-height: 1.4;
}

.about-text {
    margin-bottom: 40px;
    line-height: 1.6;
    font-size: 18px;
}

.about-features {
    margin-bottom: 40px;
    width: 100%;
}

.about-features h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--accent);
}

.about-features ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.about-features li {
    margin-bottom: 15px;
    padding-left: 35px;
    position: relative;
    text-align: left;
    font-size: 18px;
}

.about-features li:before {
    content: "✓";
    color: #f3cb82;
    position: absolute;
    left: 0;
    font-size: 20px;
}

.about-footer {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: 40px 0;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contacts-block,
.social-block {
    flex: 1;
    text-align: left;
}

.contacts-block h4,
.social-block h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--accent);
}

.contact-link,
.social-link {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    font-size: 18px;
}

.contact-link i,
.social-link i {
    font-size: 24px;
    width: 30px;
    text-align: center;
}

.contact-link.whatsapp i {
    color: #25D366;
}

.contact-link.telegram i {
    color: #0088cc;
}

.social-link.instagram i {
    color: #E1306C;
}

.social-link.youtube i {
    color: #FF0000;
}

.contact-link:hover,
.social-link:hover {
    transform: translateX(5px);
    color: var(--accent);
}

@media (max-width: 768px) {
    .about-modal__content {
        margin: 20px auto;
        padding: 20px;
    }

    .about-subtitle {
        font-size: 20px;
    }

    .about-text {
        font-size: 16px;
    }

    .about-features ul {
        grid-template-columns: 1fr;
    }

    .about-features li {
        font-size: 16px;
    }

    .about-footer {
        flex-direction: column;
        gap: 30px;
    }

    .contacts-block,
    .social-block {
        text-align: center;
    }

    .about-logo {
        display: flex;
        justify-content: center;
        margin-bottom: 20px;
    }

    .about-logo img {
        max-width: 200px;
    }

    .about-subtitle {
        text-align: center;
        margin-bottom: 20px;
    }

    .about-text {
        text-align: center;
        margin-bottom: 20px;
    }

    .about-features {
        text-align: center;
        margin-bottom: 20px;
    }

    .about-features h3 {
        margin-bottom: 15px;
    }

    .about-features ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .about-features li {
        margin-bottom: 10px;
    }

    .about-footer {
        text-align: center;
    }

    .contacts-block,
    .social-block {
        margin-bottom: 20px;
    }

    .contacts-block h4,
    .social-block h4 {
        margin-bottom: 15px;
    }

    .contact-link,
    .social-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin: 0 15px;
    }

    /* Специальные стили для Instagram и YouTube */
    .social-link.instagram {
        margin-right: 69px; /* Уменьшаем отступ справа для Instagram на 1px */
    }

    .social-link.youtube {
        margin-left: 69px; /* Уменьшаем отступ слева для YouTube на 1px */
    }
}

/* Modal Base Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    opacity: 1;
}

.modal__content {
    position: relative;
    background-color: var(--bg-primary);
    margin: 50px auto;
    padding: 40px;
    width: 90%;
    max-width: 800px;
    border: 1px solid var(--accent);
    border-radius: 8px;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.modal__content.active {
    opacity: 1;
    transform: translateY(0);
}

/* Calculator Modal Styles */
.calculator-modal__content {
    background: #000;
    color: #fff;
    padding: 40px;
    border-radius: 12px;
    max-width: 600px;
    margin: 50px auto;
    position: relative;
    animation: modalFadeIn 0.3s ease-out;
}

.volume-type-selector {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.volume-type-btn {
    flex: 1;
    padding: 15px 20px;
    background: transparent;
    border: 1px solid #C5A86D;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.volume-type-btn.active {
    background: #C5A86D;
    color: #000;
}

.dimensions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    border-color: #C5A86D;
    outline: none;
}

.category-selector {
    display: flex;
    gap: 20px;
    margin: 30px 0;
}

.category-btn {
    flex: 1;
    padding: 15px 20px;
    background: transparent;
    border: 1px solid #C5A86D;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.category-btn.active {
    background: #C5A86D;
    color: #000;
}

.btn-primary {
    width: 100%;
    padding: 20px;
    background: #C5A86D;
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
    animation: pulse 3s infinite;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: none;
}

.btn-primary:hover {
    animation: none;
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(197, 168, 109, 0.4);
}

.btn-order {
    display: block;
    width: 100%;
    padding: 20px;
    background: #C5A86D;
    color: #000;
    text-align: center;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    margin-top: 30px;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    animation: pulse 3s infinite;
}

.btn-order::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: none;
}

.btn-order:hover {
    animation: none;
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(197, 168, 109, 0.4);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(197, 168, 109, 0.2);
    }
    70% {
        transform: scale(1.02);
        box-shadow: 0 0 0 3px rgba(197, 168, 109, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(197, 168, 109, 0);
    }
}

@keyframes shine {
    0% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .calculator-modal__content {
        margin: 20px;
        padding: 20px;
    }

    .dimensions-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .volume-type-selector,
    .category-selector {
        flex-direction: column;
        gap: 10px;
    }

    .form-group input {
        padding: 10px 12px;
        font-size: 14px;
    }

    .btn-primary,
    .btn-order {
        padding: 15px;
        font-size: 16px;
    }
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Callback Modal */
.callback-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
}

.callback-modal.active {
    display: block;
}

.callback-modal__content {
    position: relative;
    max-width: 500px;
    margin: 50px auto;
    padding: 40px;
    background-color: #000;
    border: 1px solid #C5A86D;
    border-radius: 10px;
    color: #fff;
    transform: translateY(-50px);
    opacity: 0;
    transition: all 0.3s ease;
}

.callback-modal.active .callback-modal__content {
    transform: translateY(0);
    opacity: 1;
}

.callback-modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.callback-modal__close::before,
.callback-modal__close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #C5A86D;
    transform: rotate(45deg);
}

.callback-modal__close::after {
    transform: rotate(-45deg);
}

.callback-modal__title {
    margin-bottom: 30px;
    font-size: 24px;
    text-align: center;
    color: #C5A86D;
}

.callback-form .form-group {
    margin-bottom: 20px;
}

.callback-form label {
    display: block;
    margin-bottom: 8px;
    color: #fff;
}

.callback-form input {
    width: 100%;
    padding: 12px;
    background-color: #1a1a1a;
    border: 1px solid #C5A86D;
    border-radius: 5px;
    color: #fff;
    font-size: 16px;
}

.callback-form input.error {
    border-color: #ff4444;
}

.callback-form .btn-primary {
    width: 100%;
    margin-top: 20px;
    padding: 15px;
    font-size: 18px;
}

/* Success Message */
.success-message {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001;
}

.success-message.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.success-message__content {
    padding: 20px 30px;
    background-color: rgba(0, 0, 0, 0.9);
    border: 1px solid #C5A86D;
    border-radius: 10px;
    color: #fff;
    text-align: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* Модальное окно личного кабинета */
.modal-cabinet {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-cabinet.active {
    display: block;
    opacity: 1;
}

.modal-cabinet__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background-color: #171717;
    color: white;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    padding: 1.5rem;
    max-width: 28rem;
    width: 90%;
    margin: 0 auto;
    text-align: center;
    transition: transform 0.3s ease;
}

.modal-cabinet.active .modal-cabinet__content {
    transform: translate(-50%, -50%) scale(1);
}

.modal-cabinet__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
}

.modal-cabinet__close::before,
.modal-cabinet__close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1.5rem;
    height: 0.125rem;
    background-color: #C5A86D;
    transform-origin: center;
}

.modal-cabinet__close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.modal-cabinet__close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.modal-cabinet__title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.modal-cabinet__subtitle {
    font-size: 1rem;
    line-height: 1.5;
    color: #9CA3AF;
}

/* Delivery Page Styles */
.delivery-page {
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

.delivery-hero {
    padding: 120px 0 80px;
    background-color: var(--bg-primary);
    position: relative;
}

.delivery-hero__content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.delivery-hero__title {
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.delivery-hero__subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.delivery-hero .btn {
    background-color: var(--accent);
    color: var(--bg-primary);
    padding: 12px 32px;
    border-radius: 4px;
    font-weight: 500;
    transition: var(--transition);
}

.delivery-hero .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(197, 168, 109, 0.3);
}

.delivery-stats {
    padding: 80px 0;
    background-color: var(--bg-primary);
}

.delivery-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.delivery-stats__card {
    background-color: var(--bg-primary);
    padding: 32px;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
}

.delivery-stats__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.delivery-stats__card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.delivery-stats__value {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.delivery-stats__label {
    font-size: 1rem;
    color: var(--text-secondary);
}

.delivery-cargo {
    padding: 80px 0;
    background-color: var(--bg-primary);
}

.delivery-cargo__title {
    text-align: center;
    font-size: 36px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 40px;
    position: relative;
}

.delivery-cargo__title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--accent);
}

.delivery-cargo__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
    justify-content: center;
}

.delivery-cargo__tab {
    background-color: var(--bg-secondary);
    padding: 16px 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--border);
}

.delivery-cargo__tab:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
}

.delivery-cargo__tab.active {
    background-color: var(--accent);
    color: var(--bg-primary);
    border-color: var(--accent);
}

.delivery-cargo__tab i {
    font-size: 20px;
}

.delivery-cargo__content {
    background-color: var(--bg-secondary);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.delivery-cargo__panel {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.delivery-cargo__panel.active {
    display: block;
    opacity: 1;
}

.delivery-cargo__subtitle {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.delivery-cargo__description {
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

.delivery-cargo__features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.delivery-cargo__feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background-color: var(--bg-primary);
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.delivery-cargo__feature:hover {
    transform: translateX(4px);
    border-color: var(--accent);
}

.delivery-cargo__feature i {
    font-size: 20px;
    color: var(--accent);
}

.delivery-cargo__feature span {
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .delivery-cargo__tabs {
        flex-direction: column;
    }
    
    .delivery-cargo__features {
        grid-template-columns: 1fr;
    }
    
    .delivery-cargo__content {
        padding: 20px;
    }
}

.delivery-steps {
    padding: 80px 0;
    background-color: var(--bg-primary);
}

.delivery-steps__title {
    text-align: center;
    margin-bottom: 3rem;
}

.delivery-steps__timeline {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.delivery-steps__step {
    display: flex;
    align-items: center;
    gap: 24px;
    background-color: var(--bg-primary);
    padding: 24px;
    border-radius: 8px;
    transition: var(--transition);
}

.delivery-steps__step:hover {
    transform: translateX(8px);
}

.delivery-steps__number {
    width: 48px;
    height: 48px;
    background-color: var(--accent);
    color: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
}

.delivery-steps__content {
    flex: 1;
}

.delivery-steps__content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.delivery-steps__content p {
    color: var(--text-secondary);
}

.delivery-customs {
    padding: 80px 0;
    background-color: var(--bg-primary);
}

.delivery-customs__title {
    text-align: center;
    margin-bottom: 3rem;
}

.delivery-customs__content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.delivery-customs__section {
    background-color: var(--bg-secondary);
    padding: 32px;
    border-radius: 8px;
}

.delivery-customs__section h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.delivery-customs__list {
    list-style: none;
}

.delivery-customs__list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.delivery-customs__list li i {
    color: var(--accent);
}

.delivery-warning {
    padding: 80px 0;
    background-color: var(--bg-primary);
}

.delivery-warning__content {
    background-color: var(--bg-primary);
    padding: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.delivery-warning__icon {
    font-size: 2rem;
    color: var(--accent);
}

.delivery-warning__text {
    color: var(--text-secondary);
    flex: 1;
}

@media (max-width: 1024px) {
    .delivery-stats__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .delivery-customs__content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .delivery-hero__title {
        font-size: 2.5rem;
    }
    
    .delivery-hero__subtitle {
        font-size: 1.125rem;
    }
    
    .delivery-stats__grid {
        grid-template-columns: 1fr;
    }
    
    .delivery-cargo__tabs {
        flex-direction: column;
    }
    
    .delivery-cargo__features {
        grid-template-columns: 1fr;
    }
    
    .delivery-customs__content {
        grid-template-columns: 1fr;
    }
    
    .delivery-steps__step {
        flex-direction: column;
        text-align: center;
    }
    
    .delivery-warning__content {
        flex-direction: column;
        text-align: center;
    }
}

/* Cargo Types Section */
.cargo-types {
    background-color: var(--neutral-900);
    color: var(--white);
    padding: 4rem 0;
}

.cargo-types .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.cargo-types__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.cargo-types__tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--neutral-800);
    border-radius: 0.75rem;
    color: var(--white);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cargo-types__tab:hover {
    background-color: var(--neutral-700);
}

.cargo-types__tab.active {
    background-color: var(--gold);
    color: var(--neutral-900);
}

.cargo-types__content {
    background-color: var(--neutral-800);
    border-radius: 1rem;
    padding: 2rem;
}

.cargo-types__panel {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cargo-types__panel.active {
    display: block;
    opacity: 1;
}

.cargo-types__subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.cargo-types__description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--neutral-400);
    margin-bottom: 2rem;
    max-width: 48rem;
}

.cargo-types__features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.cargo-types__feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background-color: var(--neutral-900);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.cargo-types__feature:hover {
    transform: translateY(-2px);
    background-color: var(--neutral-700);
}

.cargo-types__feature i {
    font-size: 1.25rem;
    color: var(--gold);
}

.cargo-types__feature span {
    font-size: 0.875rem;
    color: var(--white);
}

.cargo-types__cta {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--neutral-400);
    max-width: 48rem;
}

@media (max-width: 768px) {
    .cargo-types {
        padding: 2rem 0;
    }

    .cargo-types__tabs {
        gap: 0.5rem;
    }

    .cargo-types__tab {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }

    .cargo-types__content {
        padding: 1.5rem;
    }

    .cargo-types__subtitle {
        font-size: 1.25rem;
    }

    .cargo-types__description,
    .cargo-types__cta {
        font-size: 0.875rem;
    }

    .cargo-types__features {
        grid-template-columns: 1fr;
    }
}

/* Air Delivery Page Styles */
.air-delivery {
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

.air-delivery__hero {
    padding: 120px 0;
    background-color: var(--bg-primary);
}

.air-delivery__hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.air-delivery__title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
    position: relative;
}

.air-delivery__title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: var(--accent-color);
}

.air-delivery__subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.air-delivery__cta {
    padding: 16px 32px;
    background-color: var(--accent-color);
    color: var(--text-primary);
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.air-delivery__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.air-delivery__stats {
    padding: 80px 0;
    background-color: var(--bg-secondary);
}

.air-delivery__stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.air-delivery__stat {
    text-align: center;
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.air-delivery__stat:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.air-delivery__stat i {
    font-size: 32px;
    color: var(--accent-color);
    margin-bottom: 16px;
}

.air-delivery__stat-value {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.air-delivery__stat-label {
    font-size: 16px;
    color: var(--text-secondary);
}

.air-delivery__advantages {
    padding: 80px 0;
    background-color: var(--bg-primary);
}

.air-delivery__section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-primary);
    position: relative;
}

.air-delivery__section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--accent-color);
}

.air-delivery__advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.air-delivery__advantage {
    text-align: center;
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.air-delivery__advantage:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.air-delivery__advantage i {
    font-size: 32px;
    color: var(--accent-color);
    margin-bottom: 16px;
}

.air-delivery__advantage h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.air-delivery__advantage p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.air-delivery__cargo-types {
    padding: 80px 0;
    background-color: var(--bg-secondary);
}

.air-delivery__cargo-tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.air-delivery__cargo-tab {
    padding: 12px 24px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.air-delivery__cargo-tab:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.air-delivery__cargo-tab.active {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--text-primary);
}

.air-delivery__cargo-panel {
    display: none;
    padding: 40px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--bg-primary);
}

.air-delivery__cargo-panel.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.air-delivery__cargo-subtitle {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.air-delivery__cargo-description {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.air-delivery__cargo-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.air-delivery__cargo-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.air-delivery__cargo-feature:hover {
    transform: translateX(5px);
    border-color: var(--accent-color);
}

.air-delivery__cargo-feature i {
    color: var(--accent-color);
    font-size: 20px;
}

.air-delivery__cargo-feature span {
    color: var(--text-primary);
    font-size: 16px;
}

.air-delivery__cargo-details {
    margin-top: 32px;
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: var(--bg-secondary);
}

.air-delivery__cargo-details h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.air-delivery__cargo-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.air-delivery__cargo-details li {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    padding-left: 24px;
    position: relative;
}

.air-delivery__cargo-details li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.air-delivery__steps {
    padding: 80px 0;
    background-color: var(--bg-primary);
}

.air-delivery__steps-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.air-delivery__step {
    position: relative;
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.air-delivery__step:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.air-delivery__step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-primary);
}

.air-delivery__step-content h3 {
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.air-delivery__step-content p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.air-delivery__customs {
    padding: 80px 0;
    background-color: var(--bg-secondary);
}

.air-delivery__customs-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.air-delivery__customs-info,
.air-delivery__customs-documents {
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--bg-primary);
}

.air-delivery__customs-info h3,
.air-delivery__customs-documents h3 {
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.air-delivery__customs-info p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.air-delivery__customs-info ul,
.air-delivery__customs-documents ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.air-delivery__customs-info li,
.air-delivery__customs-documents li {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    padding-left: 24px;
    position: relative;
}

.air-delivery__customs-info li::before,
.air-delivery__customs-documents li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.air-delivery__warning {
    padding: 40px 0;
    background-color: var(--bg-primary);
}

.air-delivery__warning-content {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--bg-secondary);
}

.air-delivery__warning-icon {
    font-size: 24px;
    color: var(--accent-color);
}

.air-delivery__warning-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1024px) {
    .air-delivery__stats-grid,
    .air-delivery__advantages-grid,
    .air-delivery__cargo-features,
    .air-delivery__steps-timeline,
    .air-delivery__customs-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .air-delivery__hero {
        padding: 80px 0;
    }
    
    .air-delivery__title {
        font-size: 36px;
    }
    
    .air-delivery__subtitle {
        font-size: 18px;
    }
    
    .air-delivery__stats-grid,
    .air-delivery__advantages-grid,
    .air-delivery__cargo-features,
    .air-delivery__steps-timeline,
    .air-delivery__customs-content {
        grid-template-columns: 1fr;
    }
    
    .air-delivery__cargo-tabs {
        flex-direction: column;
    }
    
    .air-delivery__cargo-panel {
        padding: 20px;
    }
    
    .air-delivery__section-title {
        font-size: 28px;
    }
}

/* Railway Page Styles */
.railway-page {
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

.railway-hero {
    padding: 120px 0 80px;
    background-color: var(--bg-primary);
    position: relative;
}

.railway-hero__content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.railway-hero__title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
    position: relative;
}

.railway-hero__title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: var(--accent);
}

.railway-hero__subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.railway-hero__text {
    margin-bottom: 40px;
}

.railway-hero__text p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.railway-advantages {
    padding: 80px 0;
    background-color: var(--bg-secondary);
}

.railway-advantages__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.railway-advantages__item {
    text-align: center;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.railway-advantages__item:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.railway-advantages__item i {
    font-size: 32px;
    color: var(--accent);
    margin-bottom: 16px;
}

.railway-advantages__item h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.railway-advantages__item p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.railway-steps {
    padding: 80px 0;
    background-color: var(--bg-primary);
}

.railway-steps__title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 60px;
    color: var(--text-primary);
    position: relative;
}

.railway-steps__title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--accent);
}

.railway-steps__timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.railway-steps__step {
    position: relative;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.railway-steps__step:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.railway-steps__number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--bg-primary);
}

.railway-steps__content h3 {
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.railway-steps__content p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .railway-advantages__grid,
    .railway-steps__timeline {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .railway-hero {
        padding: 80px 0;
    }
    
    .railway-hero__title {
        font-size: 36px;
    }
    
    .railway-hero__subtitle {
        font-size: 18px;
    }
    
    .railway-advantages__grid,
    .railway-steps__timeline {
        grid-template-columns: 1fr;
    }
    
    .railway-steps__title {
        font-size: 28px;
    }
}

.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 10px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-secondary);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent);
    color: var(--text-primary);
    transform: translateY(-2px);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 215, 0, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
    }
}

.social-link.pulse {
    animation: pulse 2s infinite;
}

.social-link.pulse:hover {
    animation: none;
    transform: scale(1.1);
}

.privacy-policy {
    padding: 60px 0;
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

.privacy-policy h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

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

.privacy-content h2 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--accent);
}

.privacy-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.privacy-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.privacy-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .privacy-policy {
        padding: 40px 0;
    }
    
    .privacy-policy h1 {
        font-size: 2rem;
    }
    
    .privacy-content h2 {
        font-size: 1.25rem;
    }
}

.footer__privacy-link {
    color: var(--text-primary);
    text-decoration: none;
    border-bottom: 1px solid var(--text-primary);
    transition: all 0.3s ease;
}

.footer__privacy-link:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

@media (max-width: 768px) {
    .footer__privacy-link {
        display: inline-block;
        margin-top: 8px;
    }
}

/* Privacy Policy Modal */
.privacy-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    overflow-y: auto;
}

.privacy-modal.active {
    display: flex;
}

.privacy-modal__content {
    position: relative;
    background-color: #1a1a1a;
    padding: 40px;
    border-radius: 8px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    margin: 20px;
    color: #fff;
}

.privacy-modal__close {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 40px;
    height: 40px;
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid rgba(197, 168, 109, 0.3);
    border-radius: 8px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.privacy-modal__close:hover {
    background: rgba(26, 26, 26, 0.9);
    border-color: var(--accent);
    transform: rotate(90deg);
}

.privacy-modal__close * {
    pointer-events: none;
}

.privacy-modal__close::before,
.privacy-modal__close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 2px;
    background: linear-gradient(135deg, var(--accent) 0%, #d4b87a 100%);
    transform-origin: center;
    transition: all 0.3s ease;
}

.privacy-modal__close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.privacy-modal__close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.privacy-modal__close:hover::before,
.privacy-modal__close:hover::after {
    background: linear-gradient(135deg, #d4b87a 0%, var(--accent) 100%);
    box-shadow: 0 0 8px rgba(197, 168, 109, 0.5);
}

.privacy-modal__title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #fff;
    text-align: center;
}

.privacy-content {
    color: #fff;
}

.privacy-content h3 {
    font-size: 18px;
    margin: 20px 0 10px;
    color: #fff;
}

.privacy-content p {
    margin-bottom: 15px;
    line-height: 1.5;
    color: #fff;
}

.privacy-content ul {
    margin-bottom: 15px;
    padding-left: 20px;
    color: #fff;
}

.privacy-content li {
    margin-bottom: 5px;
    line-height: 1.5;
    color: #fff;
}

@media (max-width: 768px) {
    .privacy-modal__content {
        padding: 30px 20px;
        margin: 10px;
    }

    .privacy-modal__title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .privacy-content h3 {
        font-size: 16px;
    }
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .menu {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .gallery__slide {
        flex: 0 0 calc(50% - 10px);
        min-width: calc(50% - 10px);
    }
    
    .video-preview img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
}

@media screen and (max-width: 768px) {
    .links-group h4 {
        font-size: 0.9rem;
    }
    
    .links-group a {
        font-size: 0.85rem;
    }
}

@media screen and (max-width: 768px) {
    .footer__links .social-links {
        display: flex;
        justify-content: center;
        gap: 2px; /* Минимальное расстояние между иконками */
    }
    
    .footer__links .social-link {
        margin: 0 1px; /* Минимальные отступы */
        padding: 5px; /* Добавляем внутренний отступ для лучшего нажатия */
    }

    .footer__links .social-link.pulse {
        animation: pulse 1.5s infinite;
        transform-origin: center; /* Фиксируем точку трансформации */
    }

    @keyframes pulse {
        0% {
            transform: scale(1);
            box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
        }
        70% {
            transform: scale(1.05);
            box-shadow: 0 0 0 5px rgba(255, 255, 255, 0);
        }
        100% {
            transform: scale(1);
            box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
        }
    }
}

/* About Modal Mobile Styles */
@media (max-width: 768px) {
    .about-modal__content {
        padding: 20px;
    }

    .about-content {
        text-align: center;
    }

    .about-logo {
        display: flex;
        justify-content: center;
        margin-bottom: 20px;
    }

    .about-logo img {
        max-width: 200px;
    }

    .about-subtitle {
        text-align: center;
        margin-bottom: 20px;
    }

    .about-text {
        text-align: center;
        margin-bottom: 20px;
    }

    .about-features {
        text-align: center;
        margin-bottom: 20px;
    }

    .about-features h3 {
        margin-bottom: 15px;
    }

    .about-features ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .about-features li {
        margin-bottom: 10px;
    }

    .about-footer {
        text-align: center;
    }

    .contacts-block,
    .social-block {
        margin-bottom: 20px;
    }

    .contacts-block h4,
    .social-block h4 {
        margin-bottom: 15px;
    }

    .contact-link,
    .social-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin: 0 15px;
    }

    /* Специальные стили для Instagram и YouTube */
    .social-link.instagram {
        margin-right: 69px; /* Уменьшаем отступ справа для Instagram на 1px */
    }

    .social-link.youtube {
        margin-left: 69px; /* Уменьшаем отступ слева для YouTube на 1px */
    }
}

@media (max-width: 768px) {
    /* Стили для мобильной версии */
    .section-title {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    /* Стили для калькулятора в мобильной версии */
    .calculator-modal__content {
        width: 95%;
        max-width: 100%;
        padding: 15px;
    }

    .volume-type-selector {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .volume-type-btn {
        width: 100%;
    }

    .dimensions-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

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

    .form-group label {
        font-size: 14px;
        margin-bottom: 5px;
    }

    .form-group input {
        padding: 10px;
        font-size: 14px;
    }

    .category-selector {
        flex-direction: column;
        gap: 10px;
    }

    .category-btn {
        width: 100%;
    }

    .calculator-result {
        margin-top: 15px;
    }

    .result-item {
        margin-bottom: 10px;
    }

    .btn-primary {
        width: 100%;
        padding: 12px;
        font-size: 14px;
    }

    .btn-order {
        width: 100%;
        padding: 12px;
        margin-top: 20px;
    }
}

.about-modal__content .about-logo {
    max-width: 450px;
    margin: 0 auto 30px;
}

.about-modal__content .about-logo img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .about-modal__content .about-logo {
        max-width: 450px;
    }
}


/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-primary);
    z-index: 2000;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu__close {
    position: absolute;
    top: 25px;
    right: 25px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 28px;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.mobile-menu__nav {
    display: flex;
    flex-direction: column;
    padding: 80px 30px 20px 30px;
    gap: 0;
}

.mobile-menu__nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    padding: 16px 0;
    min-height: 44px;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
    border-bottom: 1px solid rgba(197, 168, 109, 0.1);
}

.mobile-menu__nav a:hover {
    color: var(--accent);
}

/* Мобильное выпадающее меню */
.mobile-menu-dropdown {
    width: 100%;
}

.mobile-menu-dropdown-toggle {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    padding: 16px 0;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: color 0.3s ease;
    border-bottom: 1px solid rgba(197, 168, 109, 0.1);
}

.mobile-menu-dropdown-toggle:hover {
    color: var(--accent);
}

.mobile-dropdown-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
    margin-left: auto;
}

.mobile-menu-dropdown-content {
    padding: 10px 0 10px 20px;
    background: rgba(197, 168, 109, 0.03);
}

.mobile-menu-dropdown-content a {
    padding: 12px 0;
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 400;
    min-height: 44px;
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
    border-bottom: none;
}

.mobile-menu-dropdown-content a:hover {
    color: var(--accent);
}

.mobile-menu__contacts {
    padding: 30px 30px 20px 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-top: 1px solid rgba(197, 168, 109, 0.2);
}

.mobile-menu__phone {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-menu__email {
    color: var(--text-primary);
    font-size: 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.8;
}

.mobile-menu__social {
    display: flex;
    gap: 16px;
    margin-top: 10px;
    justify-content: center;
}

.mobile-menu__social a {
    font-size: 22px;
    color: var(--text-primary);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(20, 20, 20, 0.95) 100%);
    border: 1px solid rgba(197, 168, 109, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}

.mobile-menu__social a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--accent) 0%, rgba(197, 168, 109, 0.5) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu__social a:hover::before {
    opacity: 0.1;
}

.mobile-menu__social a:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
    box-shadow: 0 6px 20px rgba(197, 168, 109, 0.4);
    color: var(--accent);
}

.mobile-menu__social a i {
    position: relative;
    z-index: 1;
}

.mobile-menu__account {
    width: 100%;
    padding: 14px 24px;
    background-color: var(--accent);
    color: var(--bg-primary);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.mobile-menu__account:hover {
    opacity: 0.9;
}

/* Gallery Responsiveness */
.warehouse__gallery {
    position: relative;
    margin-top: 40px;
    border-radius: 8px;
    overflow: hidden;
}

.gallery__slider {
    display: flex;
    gap: 20px;
    overflow: hidden;
    scrollbar-width: none;
    padding: 0;
}

.gallery__slider::-webkit-scrollbar {
    display: none;
}

.gallery__slide {
    flex: 0 0 calc(25% - 15px);
    min-width: calc(25% - 15px);
    max-width: calc(25% - 15px);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .gallery__slide {
        min-width: 300px;
        height: 200px;
    }
    
    .gallery__arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .gallery__slide {
        min-width: 250px;
        height: 170px;
    }
    
    .gallery__slider {
        gap: 15px;
        padding: 0;
    }
}

/* Global Mobile Adjustments */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .section-title {
        font-size: 28px;
        margin-bottom: 25px;
    }
    
    section {
        padding: 40px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 28px;
        line-height: 1.3;
    }
    
    h2 {
        font-size: 24px;
        line-height: 1.3;
    }
    
    h3 {
        font-size: 20px;
        line-height: 1.3;
    }
    
    p {
        font-size: 16px;
        line-height: 1.5;
    }
    
    .btn, .button {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    .footer__wrapper {
        flex-direction: column;
        gap: 40px;
        text-align: left;
        align-items: center;
    }
    
    .footer__links {
        grid-template-columns: 1fr 1fr;
        gap: 150px;
        justify-content: center;
        max-width: 900px;
        margin: 0 auto;
    }
    
    .footer__bottom {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    /* Центрируем только нижнюю часть футера */
    .footer__bottom p {
        text-align: center;
    }
    
    /* Увеличиваем шрифт в футере для мобильных */
    .footer h4 {
        font-size: 18px;
    }
    
    .footer a {
        font-size: 16px;
    }
    
    .footer__bottom p {
        font-size: 16px;
    }
    
    /* Центрирование футера в мобильной версии */
    .footer__info {
        text-align: center;
        margin: 0 auto 30px;
        max-width: 500px;
    }
    
    .footer__info h3 {
        font-size: 22px;
        font-weight: 700;
        text-align: center;
    }
    
    .footer__info p {
        font-size: 16px;
        text-align: center;
    }
    
    .footer__info p:first-of-type {
        font-weight: 700;
        color: #E0E0E0;
    }
}

/* Анимация свечения для заголовка */
@keyframes glow-gold {
    0% {
        color: #C5A86D;
        text-shadow: 0 0 5px rgba(197, 168, 109, 0.3);
    }
    50% {
        color: #D6B97B;
        text-shadow: 0 0 15px rgba(214, 185, 123, 0.8), 0 0 25px rgba(197, 168, 109, 0.6);
    }
    100% {
        color: #C5A86D;
        text-shadow: 0 0 5px rgba(197, 168, 109, 0.3);
    }
}

/* Small Devices */
@media (max-width: 576px) {
    h1 {
        font-size: 24px;
    }
    
    h2 {
        font-size: 22px;
    }
    
    h3 {
        font-size: 18px;
    }
    
    .footer__legal {
        font-size: 12px;
    }
    
    .btn, .button {
        width: 100%;
        text-align: center;
    }
    
    .process__steps {
        flex-direction: column;
        gap: 30px;
    }
    
    .step-arrow {
        display: none;
    }
    
    statistics-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .gallery__slider {
        padding: 0 8px;
        gap: 6px;
        background: transparent;
    }
    .gallery__slide {
        flex: 0 0 29%;
        min-width: 29%;
        max-width: 29%;
        border-radius: 12px;
    }
    .gallery__slide img {
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    }
}

@media (min-width: 1025px) {
  .gallery__slide {
    flex: 0 0 calc(25% - 15px) !important;
    min-width: calc(25% - 15px) !important;
    max-width: calc(25% - 15px) !important;
    border-radius: 16px !important;
  }
  .gallery__slide img {
    border-radius: 16px !important;
    }
}

/* Добавляем стили для кнопки личного кабинета в мобильной версии */
.mobile-cabinet-btn {
    display: none;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

/* Стили для иконок соцсетей в мобильной версии */
.mobile-social-links {
    display: none;
    gap: 12px;
    align-items: center;
}

.mobile-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.mobile-social-icon:hover {
    background: var(--accent);
    color: var(--bg-primary);
}

.mobile-social-icon:active {
    transform: scale(0.9);
}

@keyframes shine {
    0% { transform: rotate(0) translate(-50%, -50%); }
    100% { transform: rotate(360deg) translate(-50%, -50%); }
}

/* Media queries для мобильных устройств */
@media (max-width: 768px) {
    .mobile-cabinet-btn {
        display: block;
    }

    .mobile-social-links {
        display: flex;
        margin-left: auto;
    }
}

/* Остальные стили остаются без изменений */

.calculator-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    z-index: 1000;
    overflow-y: auto;
}

/* Остальные стили остаются без изменений */

/* Mobile header layout adjustments */
.header-mobile-wrapper {
    display: none;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.header-left {
    display: flex;
    align-items: center;
}

.header-right {
    display: flex;
    align-items: center;
}

.menu-toggle {
    margin-right: 15px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 20px;
    cursor: pointer;
    display: none;
}

@media (max-width: 1400px) {
    .menu-toggle {
        display: block;
    }

    .header-mobile-wrapper {
        display: flex;
    }

    .logo {
        font-size: 22px;
        margin-left: 10px;
    }
}

/* Remainder of existing CSS below */

/* Десктопная версия хедера */
@media (min-width: 1401px) {
    .header-mobile-wrapper {
        display: none;
    }

    .desktop-logo {
        display: block;
    }
}

/* Мобильная/планшетная версия хедера */
@media (max-width: 1400px) {
    .desktop-logo {
        display: none !important;
    }

    .menu {
        display: none !important;
    }

    .contact-block {
        display: none !important;
    }

    .header-mobile-wrapper {
        display: flex !important;
        width: 100%;
        justify-content: space-between;
        align-items: center;
    }

    .header .container {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 15px;
    }

    .mobile-social-links {
        display: flex !important;
        gap: 15px;
    }

    .mobile-social-icon {
        font-size: 22px;
        color: var(--text-primary);
        transition: color 0.3s ease;
    }

    .mobile-social-icon:hover {
        color: var(--accent);
    }
}

/* Остальные стили остаются без изменений */

@media (max-width: 768px) {
    .mobile-cabinet-btn {
        display: block;
    }
}

/* ========================================
   COMPREHENSIVE RESPONSIVE FIXES
   ======================================== */

/* TABLET VERSION (768px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    /* Prevent horizontal overflow */
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
    }

    .container {
        max-width: 100%;
        padding: 0 20px;
        overflow: hidden;
    }

    /* Hero Section - Tablet (как десктоп - текст слева, фото справа) */
    .hero {
        padding: 100px 0 80px;
    }

    .hero .container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .hero h1 {
        font-size: 2.5rem;
        max-width: 55%;
        line-height: 1.2;
        text-align: left;
    }

    .hero__content {
        max-width: 55%;
        text-align: left;
    }

    .hero__features {
        margin: 1.5rem 0;
    }

    .hero__features p {
        font-size: 1rem;
        margin-bottom: 0.7rem;
    }

    .hero .btn {
        margin-left: 0;
        padding: 16px 32px;
        font-size: 15px;
    }

    /* Info Block - Tablet */
    .info-block__content {
        padding: 30px;
    }

    .info-block__text h2 {
        font-size: 28px;
    }

    .info-block__text p {
        font-size: 1.1rem;
    }

    /* Solutions Section - Tablet */
    .solutions-section .section-title {
        font-size: 28px;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Partners Section - Tablet */
    .partners__wrapper {
        padding: 25px;
    }

    .partners__title {
        font-size: 28px;
    }

    .partners__grid {
        gap: 40px;
    }

    /* Process Section - Tablet */
    .process h2 {
        font-size: 28px;
    }

    .process__steps {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .step {
        max-width: 100%;
    }

    .step__title {
        font-size: 13px;
        white-space: normal;
        line-height: 1.3;
    }

    .step__description {
        font-size: 12px;
    }

    .step__number {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    /* Services Section - Tablet */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .services .section-title {
        font-size: 28px;
    }

    /* Delivery Methods - Tablet */
    .delivery-methods__title {
        font-size: 28px;
    }

    .delivery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* MOBILE VERSION (до 768px) */
@media (max-width: 768px) {
    /* Hero Section - Mobile */
    .hero {
        padding: 5px 0 20px;
        min-height: auto;
        display: flex;
        align-items: center;
    }

    .hero .container {
        flex-direction: column;
        width: 100%;
        align-items: center;
        justify-content: center;
    }

    .hero h1 {
        font-size: 1.75rem;
        max-width: 100%;
        text-align: center;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero__content {
        text-align: center;
        padding: 0 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero__features {
        margin: 1rem 0 1.5rem;
        display: inline-flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .hero__features p {
        font-size: 1.15rem;
        justify-content: flex-start;
        text-align: left;
        margin-bottom: 0.7rem;
        display: flex;
        align-items: center;
        gap: 14px;
    }

    .hero__features p i {
        flex-shrink: 0;
        width: 28px;
        font-size: 1.6rem;
    }

    .hero .btn {
        margin-left: 0;
        padding: 16px 30px;
        font-size: 17px;
        width: 100%;
        text-align: center;
    }

    /* Info Block - Mobile */
    .info-block__content {
        padding: 20px 15px;
    }

    .info-block__text h2 {
        font-size: 1.4rem;
    }

    .info-block__text p {
        font-size: 1rem;
    }

    .info-block__services {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .info-block__item {
        font-size: 0.9rem;
    }

    /* Solutions Section - Mobile */
    .solutions-section {
        padding: 30px 0;
    }

    .solutions-section .section-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .solution-card__problem,
    .solution-card__answer {
        padding: 20px;
    }

    .solution-card__problem p,
    .solution-card__answer p {
        font-size: 0.9rem;
    }

    /* Partners Section - Mobile */
    .partners {
        padding: 30px 0;
    }

    .partners__wrapper {
        padding: 25px 20px;
    }

    .partners__title {
        font-size: 1.5rem;
    }

    .partners__subtitle {
        font-size: 0.95rem;
    }

    .partners__grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px 20px;
    }

    .partners__column {
        display: contents;
    }

    .partner-item {
        justify-content: flex-start;
        text-align: left;
        font-size: 0.9rem;
        min-width: auto;
    }

    /* Process Section - Mobile */
    .process {
        padding: 30px 0;
    }

    .process h2 {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    .process__steps {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-top: 30px;
    }

    .step {
        max-width: 100%;
        text-align: center;
    }

    .step__number {
        width: 45px;
        height: 45px;
        font-size: 18px;
        margin-bottom: 15px;
    }

    .step__title {
        font-size: 0.85rem;
        white-space: normal;
        line-height: 1.3;
    }

    .step__description {
        font-size: 0.75rem;
        line-height: 1.4;
    }

    /* Services Section - Mobile */
    .services {
        padding: 30px 0;
    }

    .services .section-title {
        font-size: 1.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 30px;
    }

    /* Delivery Methods - Mobile */
    .delivery-methods {
        padding: 30px 0;
    }

    .delivery-methods__title {
        font-size: 1.5rem;
    }

    .delivery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* All Section Titles Consistency */
    section h2 {
        font-size: 1.5rem;
    }
}

/* SMALL MOBILE (до 480px) */
@media (max-width: 480px) {
    .hero {
        min-height: auto;
        padding: 0 0 15px;
    }

    .hero h1 {
        font-size: 1.5rem;
        line-height: 1.2;
    }

    .hero__features p {
        font-size: 1rem;
        gap: 10px;
        margin-bottom: 0.5rem;
    }

    .hero__features p i {
        font-size: 1.2rem;
        width: 22px;
    }

    .info-block__text h2 {
        font-size: 1.2rem;
    }

    .partners__title,
    .solutions-section .section-title,
    .process h2,
    .services .section-title,
    .delivery-methods__title {
        font-size: 1.3rem;
    }

    .process__steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .step__number {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .step__title {
        font-size: 0.8rem;
    }

    .step__description {
        font-size: 0.7rem;
    }
}

/* Step Content Layout Fix for all breakpoints */
.step__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step__text {
    margin-top: 10px;
    text-align: center;
}

.step__text h3 {
    margin-bottom: 8px;
}.logo {
    font-weight: 700;
    font-size: 24px;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo:hover {
    color: #c8aa6e;
} /* Анимированный фон с плавающими градиентами и сеткой на весь сайт */

.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(135deg, #000000 0%, #0a0a0a 25%, #050505 50%, #0d0d0d 75%, #000000 100%);
}

/* Глобальная сетка на весь сайт - еле заметная */
.animated-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(197, 168, 109, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(197, 168, 109, 0.05) 1px, transparent 1px),
        linear-gradient(rgba(0, 100, 254, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 100, 254, 0.03) 1px, transparent 1px);
    background-size: 60px 60px, 60px 60px, 30px 30px, 30px 30px;
    animation: gridMove 60s linear infinite;
    pointer-events: none;
    opacity: 1;
    z-index: 1;
}

@keyframes gridMove {
    0% {
        background-position: 0 0, 0 0, 0 0, 0 0;
    }
    100% {
        background-position: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
    }
}

/* Дополнительные градиентные акценты */
.animated-background::after {
    content: '';
    position: absolute;
    top: 20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(197, 168, 109, 0.03) 0%, transparent 70%);
    animation: floatGradient 20s ease-in-out infinite;
    pointer-events: none;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.12;
    animation: float 20s infinite ease-in-out;
    z-index: 0;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #c5a86d 0%, transparent 70%);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 25s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #0064fe 0%, transparent 70%);
    top: 60%;
    right: 10%;
    animation-delay: 5s;
    animation-duration: 20s;
}

.orb-3 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, #2e3a46 0%, transparent 70%);
    bottom: 20%;
    left: 30%;
    animation-delay: 10s;
    animation-duration: 30s;
}

.orb-4 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #c5a86d 0%, transparent 70%);
    top: 40%;
    right: 25%;
    animation-delay: 15s;
    animation-duration: 22s;
}

.orb-5 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #0064fe 0%, transparent 70%);
    bottom: 10%;
    right: 40%;
    animation-delay: 8s;
    animation-duration: 28s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(50px, -50px) scale(1.1);
    }
    50% {
        transform: translate(-30px, 50px) scale(0.9);
    }
    75% {
        transform: translate(40px, 30px) scale(1.05);
    }
}

/* Адаптивность для планшетов */
@media screen and (max-width: 1024px) {
    .orb-1 {
        width: 400px;
        height: 400px;
    }

    .orb-2 {
        width: 350px;
        height: 350px;
    }

    .orb-3 {
        width: 380px;
        height: 380px;
    }

    .orb-4 {
        width: 300px;
        height: 300px;
    }

    .orb-5 {
        width: 250px;
        height: 250px;
    }
}

/* Адаптивность для мобильных устройств */
@media screen and (max-width: 768px) {
    .gradient-orb {
        filter: blur(60px);
        opacity: 0.1;
    }

    .orb-1 {
        width: 300px;
        height: 300px;
        left: -50px;
    }

    .orb-2 {
        width: 250px;
        height: 250px;
        right: -50px;
    }

    .orb-3 {
        width: 280px;
        height: 280px;
        left: 10%;
    }

    .orb-4 {
        width: 200px;
        height: 200px;
    }

    .orb-5 {
        width: 180px;
        height: 180px;
    }

    @keyframes float {
        0%, 100% {
            transform: translate(0, 0) scale(1);
        }
        25% {
            transform: translate(30px, -30px) scale(1.05);
        }
        50% {
            transform: translate(-20px, 30px) scale(0.95);
        }
        75% {
            transform: translate(25px, 20px) scale(1.02);
        }
    }
}

/* Плавающий градиентный акцент */
@keyframes floatGradient {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(200px, -100px);
    }
    50% {
        transform: translate(100px, 100px);
    }
    75% {
        transform: translate(-100px, 50px);
    }
}

/* Уменьшенная анимация для устройств с низким энергопотреблением */
@media (prefers-reduced-motion: reduce) {
    .gradient-orb {
        animation: none;
    }

    .animated-background::before {
        animation: none;
    }

    .animated-background::after {
        animation: none;
    }
}
/* Улучшенный Hero блок с адаптивной машиной */

/* Переопределяем скрытие фона - оставляем машину только на больших экранах */
@media (max-width: 1024px) {
    .hero {
        background-image: none !important;
        background-color: transparent;
    }

    .hero::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero {
        background-image: none !important;
        min-height: auto !important;
        padding: 5px 0 20px !important;
    }

    .hero__content {
        padding: 0 15px;
        background: none;
        backdrop-filter: none;
    }

    .hero__content h1::after {
        margin-top: 10px;
    }

    .hero__features {
        margin: 1rem 0 1.2rem !important;
    }

    .hero .btn {
        margin-top: 0.5rem;
        box-shadow: none !important;
        animation: none !important;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 0 0 15px !important;
    }
}

/* Анимация появления hero контента - без сдвига layout */
.hero__content {
    animation: heroFadeIn 1s ease-out;
    will-change: opacity;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Анимация для features - без сдвига layout */
.hero__features p {
    opacity: 0;
    animation: featureFadeIn 0.6s ease-out forwards;
    will-change: opacity;
}

.hero__features p:nth-child(1) { animation-delay: 0.3s; }
.hero__features p:nth-child(2) { animation-delay: 0.45s; }
.hero__features p:nth-child(3) { animation-delay: 0.6s; }
.hero__features p:nth-child(4) { animation-delay: 0.75s; }

@keyframes featureFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Анимация кнопки - только на десктопе */
@media (min-width: 769px) {
    .hero .btn {
        animation: buttonPulse 2s ease-in-out infinite;
    }
}

@keyframes buttonPulse {
    0%, 100% {
        box-shadow: 0 6px 18px rgba(197, 168, 109, 0.3);
    }
    50% {
        box-shadow: 0 6px 25px rgba(197, 168, 109, 0.5);
    }
}

/* Декоративные элементы */
.hero__content h1::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent) 0%, transparent 100%);
    margin-top: 15px;
    border-radius: 2px;
    animation: lineGrow 1s ease-out 0.5s backwards;
}

@keyframes lineGrow {
    from {
        width: 0;
    }
    to {
        width: 80px;
    }
}

/* Плавающие частицы для hero */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.hero-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.3;
    animation: floatParticle 8s infinite ease-in-out;
}

.hero-particle:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
}

.hero-particle:nth-child(2) {
    left: 25%;
    top: 60%;
    animation-delay: 2s;
}

.hero-particle:nth-child(3) {
    left: 40%;
    top: 30%;
    animation-delay: 4s;
}

.hero-particle:nth-child(4) {
    left: 60%;
    top: 70%;
    animation-delay: 1s;
}

.hero-particle:nth-child(5) {
    left: 80%;
    top: 40%;
    animation-delay: 3s;
}

@keyframes floatParticle {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    50% {
        transform: translateY(-30px) translateX(20px);
        opacity: 0.5;
    }
    90% {
        opacity: 0.3;
    }
}

/* Улучшение для очень больших экранов */
@media (min-width: 1440px) {
    .hero {
        background-size: 40% auto !important;
        background-position: right 200px center !important;
    }
}
/* Убираем фоны у секций чтобы была видна глобальная сетка */

.about,
.services,
.process,
.faq,
.calculator-section,
.statistics,
.footer,
footer,
.gallery,
.clients,
.info-block,
.video-instruction,
.partners,
.delivery-methods,
.warehouse {
    background: transparent !important;
    background-color: transparent !important;
}

/* Hero оставляем с изображением */
.hero {
    background-color: transparent !important;
}

/* Оставляем фон только у body для базового цвета - темный градиент */
body {
    background: linear-gradient(135deg, #000000 0%, #0a0a0a 25%, #050505 50%, #0d0d0d 75%, #000000 100%);
}

/* Footer теперь тоже прозрачный, фон через глобальную сетку */

/* Карточки услуг и другие элементы оставляем с фоном */
.service-card,
.faq-item,
.calculator-form-wrapper,
.step__content {
    /* Эти элементы уже имеют свои фоны в других файлах */
}
/* Исправление модальных окон */

.about-modal__content,
.stages-modal__content,
.calculator-modal__content {
    display: block !important;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

.about-modal__content.active,
.stages-modal__content.active,
.calculator-modal__content.active {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Убедимся что модальные окна правильно отображаются */
.about-modal,
.stages-modal,
.calculator-modal {
    display: none;
}

.about-modal.active,
.stages-modal.active,
.calculator-modal.active {
    display: block !important;
    opacity: 1 !important;
}
/* Компактный зигзаг дизайн для раздела "Как мы работаем" */

.process {
    padding: 30px 0;
    position: relative;
    overflow: visible;
}

.process h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

/* Контейнер этапов */
.process__steps {
    position: relative;
    max-width: 1000px;
    margin: 0 auto !important;
    padding: 40px 0 40px 0 !important;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 120px;
}

/* Центральная вертикальная линия */
.process__steps::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg,
        transparent 0%,
        var(--accent) 10%,
        var(--accent) 90%,
        transparent 100%
    );
    transform: translateX(-50%);
    z-index: 0;
    box-shadow: 0 0 10px rgba(197, 168, 109, 0.5);
}

/* Анимированная точка, движущаяся по линии */
.process__steps::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 1;
    box-shadow:
        0 0 15px rgba(197, 168, 109, 0.8),
        0 0 30px rgba(197, 168, 109, 0.4);
    animation: moveAlongLine 8s ease-in-out infinite;
}

@keyframes moveAlongLine {
    0%, 100% {
        top: 10%;
        opacity: 1;
    }
    50% {
        top: 90%;
        opacity: 0.8;
    }
}

/* Отдельный этап */
.step {
    position: relative;
    width: 45%;
    min-height: auto;
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    margin-bottom: 0 !important;
    transform: translateY(20px);
    clear: both;
}

/* Блоки СЛЕВА от линии (нечетные: 1, 3, 5) */
.step:nth-child(odd) {
    align-self: flex-start;
    margin-left: 0 !important;
    margin-right: auto !important;
}

/* Блоки СПРАВА от линии (четные: 2, 4) */
.step:nth-child(even) {
    align-self: flex-end;
    margin-left: auto !important;
    margin-right: 0 !important;
}

/* Горизонтальная соединительная линия от блока к центру */
.step::after {
    content: '';
    position: absolute;
    top: 30px;
    width: 50px;
    height: 2px;
    z-index: 0;
}

/* Линия для блоков СЛЕВА (идет от блока направо к центру) */
.step:nth-child(odd)::after {
    left: 100%;
    background: linear-gradient(90deg, var(--accent), rgba(197, 168, 109, 0.3));
}

/* Линия для блоков СПРАВА (идет от блока налево к центру) */
.step:nth-child(even)::after {
    right: 100%;
    background: linear-gradient(270deg, var(--accent), rgba(197, 168, 109, 0.3));
}

/* Видимое состояние */
.step.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Контейнер блока этапа */
.step__content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(20, 20, 20, 0.9) 100%);
    border-radius: 12px;
    border: 1px solid rgba(197, 168, 109, 0.2);
    position: relative;
    overflow: visible;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    width: 100%;
    min-height: 180px;
}

/* Анимация при наведении */
.step:hover .step__content {
    transform: translateY(-2px);
    border-color: var(--accent);
    box-shadow: 0 4px 15px rgba(197, 168, 109, 0.3);
}

/* Номер этапа - круг слева */
.step__number {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent) 0%, #d4b87a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--bg-primary);
    position: relative;
    box-shadow:
        0 3px 12px rgba(197, 168, 109, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.step:hover .step__number {
    transform: scale(1.05);
    box-shadow:
        0 5px 18px rgba(197, 168, 109, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Текстовый контент - справа от цифры */
.step__text {
    flex: 1;
    position: relative;
    z-index: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.step__title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.step:hover .step__title {
    color: var(--accent);
}

.step__description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Адаптивность для планшетов */
@media screen and (max-width: 1024px) {
    .process {
        padding: 40px 0;
    }

    .process h2 {
        margin-bottom: 30px;
    }

    .process__steps {
        max-width: 100%;
        padding: 30px 20px !important;
        gap: 100px;
    }

    .step {
        width: 48%;
        margin-bottom: 0 !important;
    }

    .step::after {
        width: 30px;
    }

    .step__content {
        padding: 18px 20px;
        gap: 15px;
        min-height: 160px;
    }

    .step__number {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .step__title {
        font-size: 1.1rem;
    }

    .step__description {
        font-size: 0.95rem;
    }
}

/* Мобильная версия - возвращаемся к вертикальному центральному расположению */
@media screen and (max-width: 768px) {
    .process {
        padding: 30px 0;
    }

    .process h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .process__steps {
        padding: 15px 15px !important;
        max-width: 100%;
        align-items: center;
        gap: 20px;
    }

    /* Убираем центральную линию на мобильных */
    .process__steps::before {
        display: none;
    }

    .process__steps::after {
        display: none;
    }

    /* Блоки по центру */
    .step {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 0 !important;
        align-self: stretch !important;
    }

    .step:nth-child(odd),
    .step:nth-child(even) {
        margin-left: 0 !important;
        margin-right: 0 !important;
        align-self: stretch !important;
    }

    /* Убираем горизонтальные линии */
    .step::after {
        display: none;
    }

    .step__content {
        padding: 15px 15px;
        gap: 12px;
        min-height: auto;
    }

    .step__number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .step__title {
        font-size: 1rem;
    }

    .step__description {
        font-size: 0.85rem;
        line-height: 1.5;
    }
}

/* Очень маленькие экраны */
@media screen and (max-width: 480px) {
    .process {
        padding: 25px 0;
    }

    .process h2 {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }

    .process__steps {
        padding: 15px 10px !important;
        gap: 15px;
    }

    .step {
        margin-bottom: 0 !important;
    }

    .step__content {
        padding: 12px 12px;
        gap: 10px;
        min-height: auto;
    }

    .step__number {
        width: 35px;
        height: 35px;
        font-size: 0.95rem;
    }

    .step__title {
        font-size: 0.9rem;
    }

    .step__description {
        font-size: 0.8rem;
        line-height: 1.4;
    }
}
/* Переопределение старых стилей для блока "Как мы работаем" */

/* Добавляем отступы между секциями */
.statistics {
    margin-bottom: 40px !important;
}

.video-instruction {
    margin-bottom: 40px !important;
}

.process {
    margin-top: 40px !important;
}

/* КРИТИЧНО: Перезаписываем старые стили из style.css */
.process__steps {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    gap: 15px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 15px 0 15px 0 !important;
    max-width: 1000px !important;
}

.step {
    position: relative !important;
    width: 45% !important;
    margin-bottom: 0 !important;
    max-width: none !important;
    text-align: left !important;
}

.step:nth-child(odd) {
    align-self: flex-start !important;
    margin-left: 0 !important;
    margin-right: auto !important;
}

.step:nth-child(even) {
    align-self: flex-end !important;
    margin-left: auto !important;
    margin-right: 0 !important;
}

.step__content {
    min-height: 100px !important;
    padding: 14px 18px !important;
    margin-top: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
}

.step__number {
    width: 42px !important;
    height: 42px !important;
    flex-shrink: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    font-size: 1.05rem !important;
}

.step__text {
    flex: 1 !important;
    text-align: left !important;
}

.step__title {
    font-size: 1.05rem !important;
    white-space: normal !important;
    text-align: left !important;
    margin-bottom: 3px !important;
}

.step__description {
    font-size: 0.88rem !important;
    text-align: left !important;
    line-height: 1.4 !important;
}

/* Убираем старые стрелки */
.step-arrow {
    display: none !important;
}

/* Адаптивность для планшетов */
@media screen and (max-width: 1024px) {
    .statistics {
        margin-bottom: 35px !important;
    }

    .video-instruction {
        margin-bottom: 35px !important;
    }

    .process {
        margin-top: 35px !important;
    }

    .process__steps {
        gap: 15px !important;
        padding: 15px 20px !important;
    }

    .step {
        width: 48% !important;
    }

    .step__content {
        min-height: 95px !important;
        padding: 12px 15px !important;
    }

    .step__number {
        width: 40px !important;
        height: 40px !important;
        font-size: 1rem !important;
    }
}

/* Мобильная версия */
@media screen and (max-width: 768px) {
    .statistics {
        margin-bottom: 30px !important;
    }

    .video-instruction {
        margin-bottom: 30px !important;
    }

    .process {
        margin-top: 30px !important;
    }

    .process__steps {
        gap: 15px !important;
        padding: 12px 15px !important;
        align-items: center !important;
    }

    .step {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        align-self: stretch !important;
    }

    .step:nth-child(odd),
    .step:nth-child(even) {
        margin-left: 0 !important;
        margin-right: 0 !important;
        align-self: stretch !important;
    }

    .step__content {
        min-height: auto !important;
        padding: 12px 14px !important;
    }

    .step::after {
        display: none !important;
    }
}
/* Переработанные карточки доставки в строгом стиле */

.delivery-card {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

/* Убираем старые стили для изображений */
.delivery-card__image {
    display: none !important;
}

/* Иконка в строгом стиле */
.delivery-card__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--accent) 0%, #d4b87a 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--bg-primary);
    box-shadow:
        0 10px 30px rgba(197, 168, 109, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.delivery-card__icon::before {
    content: '';
    position: absolute;
    inset: -50%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%) rotate(45deg);
    transition: transform 0.6s;
}

.delivery-card:hover .delivery-card__icon::before {
    transform: translateX(100%) rotate(45deg);
}

.delivery-card:hover .delivery-card__icon {
    transform: translateY(-5px) scale(1.05);
    box-shadow:
        0 15px 40px rgba(197, 168, 109, 0.6),
        inset 0 2px 0 rgba(255, 255, 255, 0.5);
}

/* Кнопка "Подробнее" */
.delivery-card__more {
    margin-top: 20px;
    padding: 12px 24px;
    background: linear-gradient(135deg, rgba(197, 168, 109, 0.1) 0%, rgba(197, 168, 109, 0.05) 100%);
    border: 1px solid rgba(197, 168, 109, 0.3);
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    color: var(--accent);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.delivery-card__more i {
    transition: transform 0.3s ease;
}

.delivery-card:hover .delivery-card__more {
    background: linear-gradient(135deg, var(--accent) 0%, #d4b87a 100%);
    color: var(--bg-primary);
    border-color: var(--accent);
    box-shadow: 0 4px 15px rgba(197, 168, 109, 0.4);
}

.delivery-card:hover .delivery-card__more i {
    transform: translateX(5px);
}

/* Активная карточка */
.delivery-card--active {
    pointer-events: none;
    opacity: 0.7;
}

.delivery-card--active .delivery-card__icon {
    background: linear-gradient(135deg, rgba(197, 168, 109, 0.5) 0%, rgba(212, 184, 122, 0.5) 100%);
    box-shadow: 0 5px 15px rgba(197, 168, 109, 0.2);
}

.delivery-card--active .delivery-card__more {
    background: rgba(197, 168, 109, 0.15);
    border-color: rgba(197, 168, 109, 0.2);
    color: rgba(197, 168, 109, 0.7);
}

/* Адаптивность */
@media (max-width: 768px) {
    .delivery-card__icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .delivery-card__more {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}
/* Стили для формы калькулятора во втором блоке */

.calculator-section {
    padding: 80px 0;
    background: transparent;
    position: relative;
    overflow: hidden;
}

/* Убрана локальная сетка - теперь используется глобальная */

.calculator-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.calculator-section__subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.calculator-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(20, 20, 20, 0.98) 100%);
    border-radius: 24px;
    padding: 50px;
    border: 1px solid rgba(197, 168, 109, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

/* Декоративный элемент */
.calculator-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent) 0%, #d4b87a 100%);
    border-radius: 24px 24px 0 0;
}

.calc-form {
    display: grid;
    gap: 20px;
}

.calc-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* Горизонтальная форма для десктопа */
@media (min-width: 1024px) {
    .calc-form {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
        align-items: flex-end;
    }

    .calc-form__row {
        display: contents;
    }

    .calc-form__group {
        flex: 1 1 200px;
        min-width: 180px;
    }

    .calc-form__submit {
        flex: 0 0 auto;
        margin-top: 0;
        white-space: nowrap;
    }
}

.calc-form__group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.calc-form__label {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.calc-form__label i {
    color: var(--accent);
    font-size: 1rem;
}

/* Radio группа */
.calc-form__radio-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.calc-form__radio {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 15px 20px;
    background: rgba(13, 13, 13, 0.6);
    border: 2px solid rgba(197, 168, 109, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 200px;
}

.calc-form__radio:hover {
    border-color: var(--accent);
    background: rgba(13, 13, 13, 0.9);
}

.calc-form__radio input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: var(--accent);
    cursor: pointer;
}

.calc-form__radio input[type="radio"]:checked + .calc-form__radio-label {
    color: var(--accent);
    font-weight: 600;
}

.calc-form__radio:has(input[type="radio"]:checked) {
    border-color: var(--accent);
    background: rgba(197, 168, 109, 0.1);
    box-shadow: 0 0 0 3px rgba(197, 168, 109, 0.1);
}

.calc-form__radio-label {
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
    cursor: pointer;
}

.calc-form__input {
    padding: 15px 20px;
    background: rgba(13, 13, 13, 0.8);
    border: 1px solid rgba(197, 168, 109, 0.2);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    outline: none;
}

.calc-form__input:focus {
    border-color: var(--accent);
    background: rgba(13, 13, 13, 1);
    box-shadow: 0 0 0 3px rgba(197, 168, 109, 0.1);
}

.calc-form__input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* Убираем спиннеры у числовых полей */
.calc-form__input::-webkit-inner-spin-button,
.calc-form__input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.calc-form__input[type=number] {
    -moz-appearance: textfield;
}

/* Отступ для блока ввода габаритов */
#dimensionsInputs {
    margin-top: 20px;
}

/* Селект */
.calc-form__select {
    padding: 15px 20px;
    background: rgba(13, 13, 13, 0.8);
    border: 1px solid rgba(197, 168, 109, 0.2);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    outline: none;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23c5a86d' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 45px;
}

.calc-form__select:focus {
    border-color: var(--accent);
    background-color: rgba(13, 13, 13, 1);
    box-shadow: 0 0 0 3px rgba(197, 168, 109, 0.1);
}

.calc-form__select option {
    background: #1a1a1a;
    color: var(--text-primary);
}

/* Кнопка */
.calc-form__submit {
    padding: 18px 40px;
    background: linear-gradient(135deg, var(--accent) 0%, #d4b87a 100%);
    color: var(--bg-primary);
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    margin-top: 15px;
    box-shadow: 0 8px 20px rgba(197, 168, 109, 0.3);
}

.calc-form__submit::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: width 0.5s ease, height 0.5s ease;
}

.calc-form__submit:hover::before {
    width: 300px;
    height: 300px;
}

.calc-form__submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(197, 168, 109, 0.5);
}

.calc-form__submit:active {
    transform: translateY(0);
}

/* Результат */
.calc-result {
    margin-top: 40px;
    padding: 30px;
    background: rgba(13, 13, 13, 0.6);
    border-radius: 16px;
    border: 1px solid rgba(0, 100, 254, 0.2);
    display: none;
}

.calc-result.active {
    display: block;
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.calc-result__title {
    font-size: 1.3rem;
    color: var(--accent);
    margin-bottom: 20px;
    text-align: center;
}

.calc-result__items {
    display: grid;
    gap: 15px;
}

.calc-result__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(26, 26, 26, 0.5);
    border-radius: 12px;
    border-left: 3px solid var(--accent);
}

.calc-result__label {
    font-size: 1rem;
    color: var(--text-secondary);
}

.calc-result__value {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent);
}

/* Мобильная адаптивность */
@media (max-width: 768px) {
    .calculator-section {
        padding: 60px 0;
    }

    .calculator-section h2 {
        font-size: 2rem;
    }

    .calculator-form-wrapper {
        padding: 30px 20px;
    }

    .calc-form__row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .calc-form__submit {
        width: 100%;
        padding: 16px 30px;
    }

    .calc-result {
        padding: 20px;
    }

    .calc-result__item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .calc-result__value {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .calc-form__radio-group {
        flex-direction: column;
        gap: 15px;
    }

    .calc-form__radio {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    .calculator-section h2 {
        font-size: 1.6rem;
    }

    .calculator-section__subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .calc-form__input,
    .calc-form__select {
        padding: 12px 15px;
        font-size: 0.95rem;
    }

    .calc-form__radio {
        padding: 12px 15px;
    }

    .calc-form__radio-label {
        font-size: 0.9rem;
    }
}

/* Consent Checkbox Styles */
.calc-form__consent {
    margin-top: 25px;
    margin-bottom: 20px;
}

.consent-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
}

.consent-checkbox input[type="checkbox"] {
    display: none;
}

.consent-checkbox__mark {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(197, 168, 109, 0.4);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.03);
    position: relative;
    transition: all 0.3s ease;
    margin-top: 2px;
}

.consent-checkbox__mark::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 6px;
    width: 5px;
    height: 10px;
    border: solid var(--accent);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transition: transform 0.2s ease;
}

.consent-checkbox input[type="checkbox"]:checked + .consent-checkbox__mark {
    background: rgba(197, 168, 109, 0.15);
    border-color: var(--accent);
}

.consent-checkbox input[type="checkbox"]:checked + .consent-checkbox__mark::after {
    transform: rotate(45deg) scale(1);
}

.consent-checkbox__text {
    color: var(--text-secondary);
}

.consent-checkbox__text a {
    color: var(--accent);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.consent-checkbox__text a:hover {
    text-decoration: underline;
}

/* Callback form consent */
.consent-group {
    margin-top: 15px;
}

.consent-group .consent-checkbox {
    font-size: 13px;
}

.consent-group .consent-checkbox__mark {
    width: 18px;
    height: 18px;
}

.consent-group .consent-checkbox__mark::after {
    top: 1px;
    left: 5px;
    width: 4px;
    height: 9px;
}
/* Улучшенные стили для модального окна "О нас" */

.about-modal__content h2 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 2rem;
    background: linear-gradient(135deg, var(--accent) 0%, #d4b87a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--accent);
    margin-bottom: 20px;
    font-weight: 500;
}

.about-text p {
    text-align: center;
    line-height: 1.8;
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.about-text strong {
    color: var(--accent);
    font-weight: 600;
}

.about-features {
    margin-bottom: 30px;
}

.about-features h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 15px;
    text-align: center;
}

.about-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.about-features li i {
    color: var(--accent);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.about-features li strong {
    color: var(--accent);
    font-weight: 600;
}

/* Красивые карточки соцсетей */
.about-contacts-wrapper {
    margin-top: 35px;
    margin-bottom: 25px;
}

.about-contacts-wrapper h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    text-align: center;
}

.about-social-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.social-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(20, 20, 20, 0.95) 100%);
    border-radius: 12px;
    border: 1px solid rgba(197, 168, 109, 0.2);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(197, 168, 109, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
    box-shadow: 0 8px 20px rgba(197, 168, 109, 0.3);
}

.social-card:hover::before {
    opacity: 1;
}

.social-card__icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.8rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, var(--accent) 0%, #d4b87a 100%);
    color: rgba(26, 26, 26, 0.9);
}

.social-card__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    z-index: 1;
}

.social-card__title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.social-card__subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.about-footer-text {
    text-align: center;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(197, 168, 109, 0.2);
}

/* Адаптивность */
@media (max-width: 768px) {
    .about-modal__content h2 {
        font-size: 1.6rem;
    }

    .about-subtitle {
        font-size: 1rem;
    }

    .about-text p {
        font-size: 0.95rem;
    }

    .about-features h3,
    .about-contacts-wrapper h3 {
        font-size: 1.1rem;
    }

    .about-features li {
        font-size: 0.9rem;
    }

    .about-social-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .social-card {
        padding: 15px;
    }

    .social-card__icon {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }

    .social-card__title {
        font-size: 1rem;
    }

    .social-card__subtitle {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .about-modal__content h2 {
        font-size: 1.4rem;
    }

    .about-social-grid {
        gap: 10px;
    }

    .social-card {
        padding: 12px;
        gap: 12px;
    }

    .social-card__icon {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }
}
/* Переделанное модальное окно "О нас" */

/* Хедер с логотипом */
.about-header {
    text-align: center;
    padding: 0 0 30px 0;
    border-bottom: 1px solid rgba(197, 168, 109, 0.2);
    margin-bottom: 30px;
}

.about-header__logo {
    width: 180px;
    height: 180px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 245, 245, 0.95) 100%);
    border-radius: 50%;
    padding: 0;
    border: 2px solid rgba(197, 168, 109, 0.4);
    box-shadow: 0 10px 30px rgba(197, 168, 109, 0.3);
    position: relative;
    overflow: hidden;
}

.about-header__logo::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, var(--accent) 0%, #d4b87a 50%, var(--accent) 100%);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.6;
    animation: rotate 8s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.about-header__logo img {
    width: 140%;
    height: 140%;
    object-fit: contain;
    object-position: center;
}

.about-header__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    background: linear-gradient(135deg, var(--accent) 0%, #d4b87a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-header__subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin: 0;
    font-weight: 500;
}

/* Тело модального окна */
.about-body {
    padding: 0;
}

.about-intro {
    text-align: center;
    margin-bottom: 35px;
}

.about-intro p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 0 0 15px 0;
}

.about-intro p:last-child {
    margin-bottom: 0;
}

.about-intro strong {
    color: var(--accent);
    font-weight: 600;
}

/* Статистика */
.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 35px;
}

.about-stat {
    text-align: center;
    padding: 25px 20px;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.6) 0%, rgba(20, 20, 20, 0.8) 100%);
    border-radius: 12px;
    border: 1px solid rgba(197, 168, 109, 0.2);
    transition: all 0.3s ease;
}

.about-stat:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(197, 168, 109, 0.2);
}

.about-stat__number {
    font-size: 2.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent) 0%, #d4b87a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    line-height: 1;
}

.about-stat__label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Секции */
.about-section {
    margin-bottom: 35px;
}

.about-section:last-child {
    margin-bottom: 0;
}

.about-section__title {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin: 0 0 20px 0;
    text-align: center;
    font-weight: 600;
}

/* Список преимуществ */
.about-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.about-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px 18px;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.4) 0%, rgba(20, 20, 20, 0.6) 100%);
    border-radius: 10px;
    border: 1px solid rgba(197, 168, 109, 0.15);
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    transition: all 0.3s ease;
}

.about-list li:hover {
    border-color: rgba(197, 168, 109, 0.3);
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.6) 0%, rgba(20, 20, 20, 0.8) 100%);
}

.about-list li i {
    color: var(--accent);
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.about-list li strong {
    color: var(--accent);
    font-weight: 600;
}

/* Адаптивность */
@media (max-width: 768px) {
    .about-header__logo {
        width: 140px;
        height: 140px;
        margin-bottom: 15px;
    }

    .about-header__title {
        font-size: 2rem;
        margin-bottom: 8px;
    }

    .about-header__subtitle {
        font-size: 1rem;
    }

    .about-intro p {
        font-size: 0.95rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 25px;
    }

    .about-stat {
        padding: 20px 15px;
    }

    .about-stat__number {
        font-size: 2.2rem;
    }

    .about-section {
        margin-bottom: 25px;
    }

    .about-section__title {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }

    .about-list {
        gap: 10px;
    }

    .about-list li {
        padding: 12px 15px;
        font-size: 0.9rem;
    }

    .about-social-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .about-header {
        padding-bottom: 20px;
        margin-bottom: 20px;
    }

    .about-header__logo {
        width: 120px;
        height: 120px;
    }

    .about-header__title {
        font-size: 1.6rem;
    }

    .about-header__subtitle {
        font-size: 0.9rem;
    }

    .about-intro p {
        font-size: 0.9rem;
    }

    .about-stat__number {
        font-size: 2rem;
    }

    .about-stat__label {
        font-size: 0.85rem;
    }

    .about-section__title {
        font-size: 1.2rem;
    }

    .about-list li {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
}
/* Стили для модального окна отзывов */

.reviews-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    overflow-y: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.reviews-modal.active {
    opacity: 1;
}

.reviews-modal__content {
    position: relative;
    max-width: 1100px;
    margin: 50px auto;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.98) 0%, rgba(13, 13, 13, 0.98) 100%);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(197, 168, 109, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: translateY(30px);
    transition: transform 0.3s ease;
}

.reviews-modal.active .reviews-modal__content {
    transform: translateY(0);
}

.reviews-modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(197, 168, 109, 0.1);
    border: 1px solid rgba(197, 168, 109, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1;
}

.reviews-modal__close:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: rotate(90deg);
}

.reviews-modal__close span::before,
.reviews-modal__close span::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    transform: translate(-50%, -50%) rotate(45deg);
}

.reviews-modal__close span::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.reviews-modal__content h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 30px;
    background: linear-gradient(135deg, var(--accent) 0%, #d4b87a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Intro Section */
.reviews-intro {
    text-align: center;
    margin-bottom: 40px;
}

.reviews-intro p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 25px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Reviews Links Container */
.reviews-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.reviews-links .telegram-channel-link {
    margin: 0;
    flex: 1;
    min-width: 280px;
    max-width: 380px;
}

/* Yandex Link Styles */
.yandex-link {
    border-color: rgba(252, 63, 29, 0.3) !important;
}

.yandex-link::before {
    background: linear-gradient(135deg, transparent 0%, rgba(252, 63, 29, 0.1) 100%) !important;
}

.yandex-link:hover {
    border-color: #FC3F1D !important;
    box-shadow: 0 10px 30px rgba(252, 63, 29, 0.3) !important;
}

.yandex-link .telegram-channel-icon {
    background: linear-gradient(135deg, #FC3F1D 0%, #CC3318 100%);
}

.yandex-link .telegram-channel-subtitle {
    color: #FC3F1D;
}

/* Telegram Channel Link */
.telegram-channel-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(20, 20, 20, 0.95) 100%);
    border-radius: 15px;
    border: 1px solid rgba(0, 136, 204, 0.3);
    text-decoration: none;
    max-width: 500px;
    margin: 0 auto;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.telegram-channel-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(0, 136, 204, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.telegram-channel-link:hover {
    transform: translateY(-3px);
    border-color: #0088cc;
    box-shadow: 0 10px 30px rgba(0, 136, 204, 0.3);
}

.telegram-channel-link:hover::before {
    opacity: 1;
}

.telegram-channel-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0088cc 0%, #005580 100%);
    border-radius: 15px;
    font-size: 2rem;
    color: white;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.telegram-channel-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    z-index: 1;
}

.telegram-channel-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
}

.telegram-channel-subtitle {
    font-size: 1rem;
    color: #0088cc;
}

.telegram-channel-link .fa-arrow-right {
    font-size: 1.3rem;
    color: var(--accent);
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.telegram-channel-link:hover .fa-arrow-right {
    transform: translateX(5px);
}

/* Reviews Stats */
.reviews-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.review-stat {
    text-align: center;
    padding: 25px 20px;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.6) 0%, rgba(20, 20, 20, 0.8) 100%);
    border-radius: 12px;
    border: 1px solid rgba(197, 168, 109, 0.2);
    transition: all 0.3s ease;
}

.review-stat:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(197, 168, 109, 0.2);
}

.review-stat__number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent) 0%, #d4b87a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.review-stat__label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Gallery Title */
.reviews-gallery-title {
    text-align: center;
    font-size: 1.6rem;
    color: var(--text-primary);
    margin: 40px 0 25px;
}

/* Reviews Gallery */
.reviews-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.review-image-wrapper {
    position: relative;
    aspect-ratio: 3/4;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid rgba(197, 168, 109, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.review-image-wrapper:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(197, 168, 109, 0.3);
}

.review-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.review-image-wrapper:hover .review-image {
    transform: scale(1.05);
}

/* Reviews Footer */
.reviews-footer {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(197, 168, 109, 0.2);
}

.reviews-footer p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 25px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.reviews-footer .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    font-size: 1.1rem;
    text-decoration: none;
}

.reviews-footer .btn-primary i {
    font-size: 1.3rem;
}

/* Адаптивность */
@media (max-width: 768px) {
    .reviews-modal__content {
        margin: 20px;
        padding: 30px 20px;
    }

    .reviews-modal__content h2 {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }

    .reviews-intro p {
        font-size: 1rem;
    }

    .telegram-channel-link {
        padding: 18px 20px;
        gap: 12px;
    }

    .telegram-channel-icon {
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
    }

    .telegram-channel-title {
        font-size: 1.1rem;
    }

    .telegram-channel-subtitle {
        font-size: 0.9rem;
    }

    .reviews-links {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .reviews-links .telegram-channel-link {
        min-width: auto;
        max-width: 100%;
        width: 100%;
    }

    .reviews-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .review-stat {
        padding: 20px 15px;
    }

    .review-stat__number {
        font-size: 2rem;
    }

    .reviews-gallery-title {
        font-size: 1.3rem;
    }

    .reviews-gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }

    .reviews-footer p {
        font-size: 0.95rem;
    }

    .reviews-footer .btn-primary {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .reviews-modal__content {
        margin: 10px;
        padding: 25px 15px;
    }

    .reviews-modal__content h2 {
        font-size: 1.4rem;
    }

    .telegram-channel-link {
        flex-direction: column;
        text-align: center;
    }

    .reviews-gallery {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
}

/* Lightbox для просмотра фото */
.reviews-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 20000;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.reviews-lightbox.active {
    opacity: 1;
}

.reviews-lightbox__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reviews-lightbox__image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.reviews-lightbox__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(197, 168, 109, 0.2);
    border: 2px solid rgba(197, 168, 109, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 20001;
}

.reviews-lightbox__close:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: rotate(90deg);
}

.reviews-lightbox__close::before,
.reviews-lightbox__close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 3px;
    background: white;
    transform: translate(-50%, -50%) rotate(45deg);
}

.reviews-lightbox__close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}
/* Cookie Consent Banner - Full Width Design */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(20, 20, 20, 0.98);
    border-top: 1px solid rgba(197, 168, 109, 0.3);
    padding: 20px 0;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.cookie-consent.active {
    transform: translateY(0);
}

.cookie-consent__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* Left side with icon and text */
.cookie-consent__content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.cookie-consent__icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(197, 168, 109, 0.2) 0%, rgba(197, 168, 109, 0.08) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cookie-consent__icon i {
    font-size: 22px;
    color: var(--accent, #C5A86D);
}

.cookie-consent__text {
    flex: 1;
}

.cookie-consent__text p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.cookie-consent__text a {
    color: var(--accent, #C5A86D);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.cookie-consent__text a:hover {
    text-decoration: underline;
}

/* Buttons */
.cookie-consent__buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-consent__btn {
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
    position: relative;
    z-index: 1;
}

.cookie-consent__btn i {
    font-size: 14px;
}

.cookie-consent__btn--accept {
    background: linear-gradient(135deg, var(--accent, #C5A86D) 0%, #d4b87a 100%);
    color: #0d0d0d;
}

.cookie-consent__btn--accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 168, 109, 0.35);
}

.cookie-consent__btn--reject {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
}

.cookie-consent__btn--reject:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
}

/* Tablet styles */
@media (max-width: 900px) {
    .cookie-consent__container {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .cookie-consent__content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-consent__buttons {
        justify-content: center;
    }
}

/* Mobile styles */
@media (max-width: 600px) {
    .cookie-consent {
        padding: 24px 0;
    }

    .cookie-consent__icon {
        width: 44px;
        height: 44px;
    }

    .cookie-consent__icon i {
        font-size: 20px;
    }

    .cookie-consent__text p {
        font-size: 13px;
    }

    .cookie-consent__buttons {
        flex-direction: column-reverse;
        width: 100%;
    }

    .cookie-consent__btn {
        width: 100%;
        padding: 14px 20px;
        justify-content: center;
    }
}

/* ── MAX иконка ── */
.max-icon {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    line-height: 1;
    color: inherit;
}
.max-icon-lg {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.5px;
    line-height: 1;
    color: inherit;
}
.icon-btn--max {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.social-link--max {
    font-size: 11px;
    font-weight: 800;
}
.social-card__icon--max {
    display: flex;
    align-items: center;
    justify-content: center;
}
.mobile-social--max {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-secondary);
    font-size: 10px;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
}

/* ── Кнопка "Связаться" в мобильном хедере ── */
.mobile-contact-btn {
    display: none;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.mobile-contact-btn:active { transform: scale(0.96); }
.mobile-contact-btn.open {
    background: var(--accent);
    color: var(--bg-primary);
}
.mobile-contact-btn__arrow {
    font-size: 10px;
    transition: transform 0.25s ease;
}
.mobile-contact-btn.open .mobile-contact-btn__arrow {
    transform: rotate(180deg);
}
@media (max-width: 768px) {
    .mobile-contact-btn { display: flex; }
}

/* ── Панель контактов (мобильная шапка) ── */
.mobile-contact-panel {
    display: none;
    position: sticky;
    top: 60px;
    z-index: 999;
    background: #111;
    border-bottom: 1px solid var(--border);
    padding: 8px 16px 12px;
    flex-direction: column;
    gap: 6px;
    animation: slideDownPanel 0.25s ease;
}
.mobile-contact-panel.open { display: flex; }
@keyframes slideDownPanel {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.mobile-contact-panel__item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 14px;
    border-radius: 12px;
    background: var(--bg-secondary);
    text-decoration: none;
    color: var(--text-primary);
    transition: background 0.2s ease;
    border: 1px solid var(--border);
}
.mobile-contact-panel__item:active { background: #2a2a2a; }
.mobile-contact-panel__icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    flex-shrink: 0;
}
.mobile-contact-panel__label {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
}
.mobile-contact-panel__arrow {
    font-size: 11px;
    color: var(--text-secondary);
}

/* ── Блок "Связаться с менеджером" ── */
.contact-manager-section {
    padding: 24px 0;
    background: rgba(197, 168, 109, 0.06);
    border-top: 1px solid rgba(197, 168, 109, 0.15);
    border-bottom: 1px solid rgba(197, 168, 109, 0.15);
}
.contact-manager {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.contact-manager__text {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}
.contact-manager__icon {
    color: var(--accent);
    font-size: 20px;
}
.contact-manager__select-wrap {
    position: relative;
    flex: 1;
    min-width: 160px;
    max-width: 240px;
}
.contact-manager__select-wrap::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
    font-size: 11px;
    pointer-events: none;
}
.contact-manager__select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    background: var(--bg-secondary);
    border: 1px solid rgba(197, 168, 109, 0.4);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 15px;
    padding: 10px 36px 10px 14px;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s ease;
}
.contact-manager__select:focus { border-color: var(--accent); }
.contact-manager__btn {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    background: var(--accent) !important;
    color: #000 !important;
    border-radius: 10px;
    padding: 10px 22px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.contact-manager__btn:hover {
    background: #d4b87a !important;
    transform: translateY(-1px);
}
.contact-manager__btn:active { transform: scale(0.97); }
@media (max-width: 600px) {
    .contact-manager {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .contact-manager__text { justify-content: center; font-size: 16px; }
    .contact-manager__select-wrap { max-width: 100%; }
    .contact-manager__btn { justify-content: center; padding: 12px; }
}

/* ── Секция мессенджеров ── */
.messenger-section {
    padding: 40px 0;
    background: rgba(255,255,255,0.02);
    border-top: 1px solid rgba(197, 168, 109, 0.12);
    border-bottom: 1px solid rgba(197, 168, 109, 0.12);
}

.messenger-section__title {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-secondary);
    margin: 0 0 28px;
    letter-spacing: 0.2px;
}

.messenger-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.messenger-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px 12px 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.25s ease;
    cursor: pointer;
}

.messenger-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(197, 168, 109, 0.35);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.messenger-card__icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #fff;
    flex-shrink: 0;
}

.messenger-card__name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
}

.messenger-card__cta {
    font-size: 12px;
    font-weight: 500;
    color: var(--accent);
}

@media (max-width: 600px) {
    .messenger-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .messenger-section__title {
        font-size: 15px;
    }
    .messenger-card__icon {
        width: 46px;
        height: 46px;
        font-size: 22px;
    }
}
