:root {
    --color-black: #111111;
    --color-dark-gray: #1a1a1a;
    --color-mustard: #E6B325; /* Благородный горчичный */
    --color-mustard-hover: #cf9f1e;
    --color-white: #ffffff;
    --color-light-gray: #f4f4f4;
    
    --font-main: 'Inter', sans-serif;
    --font-display: 'Syne', sans-serif;

    --container-width: 1240px;
    --section-padding: 100px 0;
    --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-black);
    color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

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

/* Typography Defaults */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn--outline {
    border-color: var(--color-mustard);
    color: var(--color-mustard);
    background: transparent;
}

.btn--outline:hover {
    background: var(--color-mustard);
    color: var(--color-black);
}

/* Global Section Styles */
.section-black {
    background-color: var(--color-black);
    color: var(--color-white);
}

.section-mustard {
    background-color: var(--color-mustard);
    color: var(--color-black);
}

.section-mustard a:not(.btn) {
    color: var(--color-black);
    text-decoration: underline;
    text-decoration-color: transparent;
}

.section-mustard a:not(.btn):hover {
    text-decoration-color: var(--color-black);
}

/* HEADER */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(17, 17, 17, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.header__logo {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 800;
    color: var(--color-mustard);
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.header__nav {
    display: none;
}

@media (min-width: 768px) {
    .header__nav { display: block; }
}

.header__list {
    display: flex;
    gap: 30px;
}

.header__link {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-white);
}

.header__link:hover {
    color: var(--color-mustard);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header__burger {
    background: none;
    border: none;
    color: var(--color-white);
    cursor: pointer;
    display: block;
}

@media (min-width: 768px) {
    .header__burger { display: none; }
}

/* FOOTER */
.footer {
    padding: 80px 0 30px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

@media (min-width: 768px) {
    .footer__grid {
        grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    }
}

.footer__logo {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
    display: block;
    color: var(--color-black);
}

.footer__desc {
    font-size: 14px;
    opacity: 0.8;
    max-width: 300px;
}

.footer__title {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--color-black);
}

.footer__links li, 
.footer__contacts li {
    margin-bottom: 12px;
}

.footer__links a {
    font-size: 15px;
    font-weight: 500;
}

.footer__contacts li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
}

.footer__contacts svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.footer__bottom {
    border-top: 1px solid rgba(0,0,0, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    opacity: 0.7;
}
/* ================= HEADER TWEAK ================= */
/* Убираем фон хедера на первом экране для прозрачности */
.header.scrolled {
    background: rgba(17, 17, 17, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header {
    background: transparent; /* Изначально прозрачный */
    border-bottom: none;
    transition: background 0.4s ease, border-bottom 0.4s ease;
}

/* ================= HERO SECTION ================= */
.hero {
    padding-top: 180px; /* Отступ для хедера */
    padding-bottom: 120px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero__content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}

@media (min-width: 992px) {
    .hero__content {
        grid-template-columns: 1fr 1fr;
        gap: 100px;
    }
}

/* Text Side */
.hero__title {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .hero__title { font-size: 64px; }
}

.text-mustard { color: var(--color-mustard); }

.hero__description {
    font-size: 18px;
    opacity: 0.8;
    max-width: 480px;
    margin-bottom: 40px;
    line-height: 1.5;
}

/* Custom Button Style for Hero */
.btn--mustard {
    background-color: var(--color-mustard);
    color: var(--color-black);
    padding: 16px 36px;
    font-size: 18px;
    border: none;
}

.btn--mustard:hover {
    background-color: var(--color-mustard-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px rgba(230, 179, 37, 0.5);
}

/* Visual Side: Chat Interface */
.chat-interface {
    background: var(--color-dark-gray);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    max-width: 400px;
    margin: 0 auto;
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg); /* Легкий 3D-эффект */
    transition: transform 0.5s ease;
}

.chat-interface:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

.chat-header {
    padding: 16px 24px;
    background: rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-status {
    width: 10px;
    height: 10px;
    background: #22c55e; /* Зеленый онлайн */
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2);
}

.chat-header span { font-weight: 600; font-size: 14px; }

.chat-messages {
    padding: 24px;
    height: 400px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: flex-end; /* Сообщения снизу */
}

.message {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 15px;
    line-height: 1.4;
    position: relative;
    opacity: 0; /* Скрыто для анимации */
    transform: translateY(20px);
}

.message--user {
    align-self: flex-end;
    background: var(--color-mustard);
    color: var(--color-black);
    border-bottom-right-radius: 4px;
}

.message--bot {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    border-bottom-left-radius: 4px;
}

/* Typing Indicator */
.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 4px 8px;
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    background: var(--color-mustard);
    border-radius: 50%;
    animation: typing 1.4s infinite both;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.6; }
    40% { transform: scale(1); opacity: 1; }
}
/* ================= ADVANTAGES SECTION ================= */
.advantages {
    position: relative;
    padding-top: 0; /* Убираем верхний паддинг из-за бегущей строки */
    overflow: hidden;
}

/* Marquee Style */
.marquee-container {
    background: var(--color-black);
    color: var(--color-mustard);
    padding: 15px 0;
    transform: rotate(-1deg) scale(1.02); /* Легкий наклон для стиля */
    margin-bottom: 80px;
    border-top: 1px solid var(--color-mustard);
    border-bottom: 1px solid var(--color-mustard);
}

.marquee-content {
    display: flex;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
}

.marquee-content span {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 24px;
    text-transform: uppercase;
    margin: 0 30px;
}

.marquee-content .divider {
    color: var(--color-white);
}

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

/* Headers */
.advantages__header {
    margin-bottom: 60px;
    border-bottom: 2px solid var(--color-black);
    padding-bottom: 40px;
}

.section-title {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--color-black);
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 18px;
    max-width: 600px;
    color: var(--color-black);
    opacity: 0.8;
}

/* Grid System */
.advantages__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0; /* Убираем гапы, будем рисовать границы */
    border: 2px solid var(--color-black);
}

@media (min-width: 768px) {
    .advantages__grid {
        grid-template-columns: 1fr 1fr;
    }
}

.adv-card {
    padding: 40px;
    border: 1px solid var(--color-black); /* Внутренние границы */
    transition: background 0.3s ease, color 0.3s ease;
    position: relative;
}

.adv-card:hover {
    background: var(--color-black);
    color: var(--color-mustard);
}

/* Иконки меняют цвет при ховере на карточку */
.adv-card:hover .adv-card__icon {
    color: var(--color-mustard);
    transform: scale(1.1) rotate(5deg);
}

.adv-card__icon {
    margin-bottom: 24px;
    width: 48px;
    height: 48px;
    color: var(--color-black);
    transition: transform 0.4s ease;
}

.adv-card__icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.5;
}

.adv-card__title {
    font-size: 24px;
    margin-bottom: 16px;
    font-weight: 800;
}

.adv-card__desc {
    font-size: 16px;
    line-height: 1.5;
    opacity: 0.9;
}
/* ================= TECHNOLOGY TIMELINE ================= */
.technology {
    padding-bottom: 120px;
}

.text-white { color: var(--color-white); }
.text-gray { color: rgba(255,255,255, 0.6); }

.tech-header {
    text-align: center;
    margin-bottom: 80px;
}

/* Timeline Container */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Line */
.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-50%);
}

.timeline-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0; /* Будет расти через JS */
    background: var(--color-mustard);
    box-shadow: 0 0 15px var(--color-mustard);
}

/* Items */
.timeline-item {
    position: relative;
    width: 50%;
    padding: 0 40px;
    margin-bottom: 60px;
    opacity: 0; /* Для анимации */
}

.timeline-item.left { left: 0; text-align: right; }
.timeline-item.right { left: 50%; text-align: left; }

/* Dots */
.timeline-dot {
    position: absolute;
    top: 20px;
    width: 16px;
    height: 16px;
    background: var(--color-black);
    border: 2px solid var(--color-mustard);
    border-radius: 50%;
    z-index: 2;
    transition: transform 0.3s ease;
}

.timeline-item.left .timeline-dot { right: -8px; }
.timeline-item.right .timeline-dot { left: -8px; }

.timeline-item:hover .timeline-dot {
    background: var(--color-mustard);
    transform: scale(1.3);
    box-shadow: 0 0 20px rgba(230, 179, 37, 0.6);
}

/* Content Box */
.timeline-content {
    background: rgba(255,255,255, 0.03);
    border: 1px solid rgba(255,255,255, 0.1);
    padding: 30px;
    border-radius: 12px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.timeline-item:hover .timeline-content {
    border-color: var(--color-mustard);
    transform: translateY(-5px);
}

.step-number {
    display: block;
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    color: rgba(255,255,255, 0.1);
    line-height: 1;
    margin-bottom: 10px;
}

.timeline-item:hover .step-number {
    color: var(--color-mustard);
}

.step-title {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--color-white);
}

.step-desc {
    font-size: 15px;
    color: rgba(255,255,255, 0.7);
    line-height: 1.6;
}

.tech-footer {
    text-align: center;
    margin-top: 60px;
}

/* Responsive Timeline */
@media (max-width: 768px) {
    .timeline-line { left: 20px; }
    
    .timeline-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 0;
        text-align: left;
    }
    
    .timeline-item.left, 
    .timeline-item.right { 
        left: 0; 
    }
    
    .timeline-item.left .timeline-dot,
    .timeline-item.right .timeline-dot {
        left: 12px; /* Center of line at 20px -> 20 - 8 = 12 */
        right: auto;
    }
}
/* ================= BLOG SECTION ================= */
.blog {
    padding-bottom: 120px;
}

.blog__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
    border-bottom: 2px solid var(--color-black);
    padding-bottom: 20px;
}

/* Эффект обводки текста для контраста на горчичном */
.text-white-stroke {
    -webkit-text-stroke: 1px var(--color-black); /* Черная обводка */
    color: transparent;
}

.btn-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 16px;
    color: var(--color-black);
}

.btn-link:hover {
    gap: 12px; /* Стрелка отъезжает при ховере */
}

/* Grid */
.blog__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .blog__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Card Styles */
.blog-card {
    background-color: var(--color-black);
    color: var(--color-white);
    border-radius: 0; /* Острые углы для строгости */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0, 0.2);
}

.blog-card__image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.placeholder-img {
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease;
}

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

.blog-card__tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--color-mustard);
    color: var(--color-black);
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.blog-card__content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card__date {
    font-size: 13px;
    opacity: 0.5;
    margin-bottom: 12px;
    display: block;
}

.blog-card__title {
    font-size: 20px;
    margin-bottom: 16px;
    line-height: 1.3;
    color: var(--color-white);
}

.blog-card__excerpt {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 24px;
    line-height: 1.6;
    flex-grow: 1;
}

.blog-card__link {
    font-weight: 600;
    color: var(--color-mustard);
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.05em;
    position: relative;
    display: inline-block;
    width: max-content;
}

.blog-card__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-mustard);
    transition: width 0.3s ease;
}

.blog-card__link:hover::after {
    width: 100%;
}
/* ================= CASES SECTION ================= */
.cases {
    padding-bottom: 120px;
    border-top: 1px solid rgba(255,255,255, 0.1);
}

.cases__header {
    margin-bottom: 100px;
    text-align: left;
}

.case-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    margin-bottom: 120px;
    align-items: center;
}

@media (min-width: 992px) {
    .case-item {
        grid-template-columns: 1fr 1fr;
        gap: 100px;
    }
    
    /* Чередование сторон (зиг-заг) */
    .case-item.reverse {
        direction: rtl; /* Меняет порядок визуально */
    }
    
    .case-item.reverse .case-item__content {
        direction: ltr; /* Возвращаем текст в норму */
    }
}

/* Content Side */
.case-number {
    font-family: var(--font-display);
    font-size: 64px;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
    display: block;
    margin-bottom: 20px;
    line-height: 1;
}

.case-title {
    font-size: 32px;
    color: var(--color-white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.case-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    line-height: 1.6;
}

.case-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
    border-left: 2px solid var(--color-mustard);
    padding-left: 20px;
}

.stat-value {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--color-mustard);
}

.stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
}

.case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.case-tags span {
    font-size: 12px;
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.8);
    transition: 0.3s;
}

.case-tags span:hover {
    border-color: var(--color-mustard);
    color: var(--color-mustard);
}

/* Visual Side (Terminal) */
.terminal-window {
    background: #0d0d0d;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0, 0.5);
    border: 1px solid rgba(255,255,255, 0.1);
    overflow: hidden;
    font-family: 'Courier New', Courier, monospace;
    transition: transform 0.5s ease;
}

.case-item:hover .terminal-window {
    transform: scale(1.02);
    border-color: var(--color-mustard);
}

.terminal-header {
    background: #222;
    padding: 10px 15px;
    display: flex;
    gap: 8px;
}

.dot { width: 10px; height: 10px; border-radius: 50%; }
.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }

.terminal-body {
    padding: 20px;
    color: #a9a9a9;
    font-size: 14px;
    line-height: 1.8;
}

.cmd { color: var(--color-mustard); margin-right: 8px; }
.success { color: #27c93f; }
.highlight { color: var(--color-mustard); background: rgba(230, 179, 37, 0.1); display: inline-block; padding: 0 4px; }
/* ================= CONTACT SECTION ================= */
.contact {
    padding-bottom: 120px;
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}

@media (min-width: 992px) {
    .contact__grid {
        grid-template-columns: 1fr 1fr;
        gap: 100px;
        align-items: start;
    }
}

/* Left Side */
.contact__title {
    font-size: 48px;
    margin-bottom: 24px;
    color: var(--color-black);
    line-height: 1.1;
}

.contact__desc {
    font-size: 18px;
    color: var(--color-black);
    margin-bottom: 50px;
    opacity: 0.8;
}

.detail-item {
    margin-bottom: 30px;
}

.detail-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 8px;
    opacity: 0.6;
}

.detail-value {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-black);
    font-family: var(--font-display);
}

/* Right Side (Form) */
.contact__form-wrapper {
    background: var(--color-black);
    padding: 40px;
    border-radius: 24px; /* Мягкие углы контейнера */
    color: var(--color-white);
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0, 0.15);
}

.form-group {
    margin-bottom: 24px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
}

.form-group input {
    width: 100%;
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 16px;
    border-radius: 8px;
    color: var(--color-white);
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--color-mustard);
    background: #222;
}

/* Checkbox Style */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 10px;
}

.checkbox-group input {
    width: 20px;
    height: 20px;
    accent-color: var(--color-mustard);
    margin-top: 2px;
}

.checkbox-group label {
    font-size: 13px;
    line-height: 1.4;
    cursor: pointer;
}

.checkbox-group a {
    color: var(--color-mustard);
    text-decoration: underline;
}

/* Button */
.btn--submit {
    width: 100%;
    background: var(--color-mustard);
    color: var(--color-black);
    border: none;
    padding: 18px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn--submit:hover {
    background: var(--color-mustard-hover);
    transform: translateY(-2px);
}

.btn--submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Errors */
.error-message {
    color: #ff5f56;
    font-size: 12px;
    margin-top: 6px;
    display: none; /* Скрыто по умолчанию */
}

.form-group.error input {
    border-color: #ff5f56;
}

.form-group.error .error-message {
    display: block;
}

/* Success Message Overlay */
.success-message {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-black);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    z-index: 10;
}

.success-message.active {
    opacity: 1;
    pointer-events: auto;
}

.success-icon {
    width: 60px;
    height: 60px;
    background: var(--color-mustard);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--color-black);
}
/* Checkbox Visibility Fix */
.checkbox-group {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    margin-top: 15px;
    width: 100%;
}

.checkbox-group input {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    accent-color: var(--color-mustard);
    margin-top: 2px;
    cursor: pointer;
}

.checkbox-group label {
    font-size: 14px; /* Чуть крупнее */
    line-height: 1.5;
    color: #ffffff !important; /* Принудительно белый цвет текста */
    cursor: pointer;
    flex: 1;
    white-space: normal; /* Разрешаем перенос текста */
    display: block; /* Занимает всю ширину */
}

/* Стили для ссылки внутри лейбла */
.checkbox-group a,
.checkbox-group .link {
    color: #E6B325 !important; /* Принудительно горчичный цвет (hex код) */
    text-decoration: underline;
    text-underline-offset: 3px;
    display: inline; /* Ссылка идет в строку с текстом */
    font-weight: 700; /* Жирный шрифт, чтобы лучше было видно */
}

.checkbox-group a:hover {
    color: #ffffff !important; /* При наведении — белый */
    text-decoration: none;
}
/* ================= MOBILE MENU OVERLAY ================= */
@media (max-width: 768px) {
    .header__nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--color-black);
        z-index: 900; /* Под хедером, но над контентом */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        
        /* Скрыто по умолчанию */
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .header__nav.is-active {
        opacity: 1;
        visibility: visible;
        pointer-events: all;
    }

    .header__list {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .header__link {
        font-family: var(--font-display);
        font-size: 32px;
        font-weight: 700;
        color: var(--color-white);
    }

    /* Анимация бургера */
    .header__burger {
        z-index: 1001; /* Поверх меню */
        position: relative;
    }
}

/* ================= COOKIE POPUP ================= */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    justify-content: center;
    pointer-events: none; /* Чтобы не мешал кликам, пока скрыт */
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.cookie-popup.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.cookie-content {
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-mustard);
    padding: 20px 30px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 600px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    flex-wrap: wrap;
}

.cookie-content p {
    font-size: 13px;
    color: var(--color-white);
    margin: 0;
    line-height: 1.4;
    flex: 1;
}

.cookie-content a {
    color: var(--color-mustard);
    text-decoration: underline;
}

.btn--small {
    background: var(--color-mustard);
    color: var(--color-black);
    border: none;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
}

.btn--small:hover {
    background: var(--color-white);
}

@media (max-width: 480px) {
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    .btn--small {
        width: 100%;
    }
}
/* ================= LEGAL & CONTACT PAGES ================= */
.legal-page {
    background-color: var(--color-black);
    min-height: 100vh;
    padding-top: 140px; /* Отступ от хедера */
    padding-bottom: 80px;
}

.section-tag {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 20px;
}

.text-mustard { color: var(--color-mustard); }
.text-gray { color: rgba(255, 255, 255, 0.6); }

.legal-title {
    font-size: 48px;
    color: var(--color-white);
    margin-bottom: 40px;
    line-height: 1.1;
}

.lead-text {
    font-size: 18px;
    max-width: 800px;
    margin-bottom: 60px;
    line-height: 1.6;
}

/* Cards Grid */
.contact-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

@media (min-width: 992px) {
    .contact-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Card Style */
.contact-card {
    background: #161616;
    border: 1px solid #333;
    padding: 40px 30px;
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-mustard);
}

.contact-card__icon {
    width: 50px;
    height: 50px;
    background: rgba(230, 179, 37, 0.1); /* Полупрозрачный горчичный */
    color: var(--color-mustard);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.contact-card h2 {
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--color-white);
    margin-bottom: 15px;
}

.contact-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.contact-address {
    font-style: normal;
    color: var(--color-white);
    font-weight: 500;
}

/* Links */
.contact-link {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-mustard);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.contact-link:hover {
    border-bottom-color: var(--color-mustard);
}

/* Footer Extra Text */
.contact-extra {
    border-top: 1px solid #333;
    padding-top: 30px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.inline-link {
    color: var(--color-white);
    text-decoration: underline;
    text-decoration-color: var(--color-mustard);
    transition: color 0.3s ease;
}

.inline-link:hover {
    color: var(--color-mustard);
}
/* ================= LEGAL CONTENT STYLES ================= */

/* Ограничиваем ширину текста для удобства чтения */
.legal-content {
    max-width: 800px;
    margin-top: 60px;
}

.legal-block {
    margin-bottom: 50px;
}

.legal-content h2 {
    font-size: 28px;
    color: var(--color-white);
    margin-bottom: 20px;
    border-left: 3px solid var(--color-mustard);
    padding-left: 15px;
    line-height: 1.2;
}

.legal-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 20px;
}

.legal-content strong {
    color: var(--color-white);
    font-weight: 600;
}

/* Стили для списков */
.legal-list {
    margin: 20px 0;
    padding-left: 0;
}

.legal-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Кастомный маркер списка (квадратик) */
.legal-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background-color: var(--color-mustard);
}

.legal-list li strong {
    color: var(--color-mustard); /* Выделяем заголовки пунктов */
}

/* Контактный блок внутри политики */
.contact-info-block {
    margin-top: 60px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.contact-info-block h2 {
    border-left: none; /* Убираем черту у заголовка внутри блока */
    padding-left: 0;
    color: var(--color-mustard);
}

.contact-data-list {
    margin-top: 20px;
    list-style: none;
}

.contact-data-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--color-white);
    font-size: 16px;
}

.contact-data-list i {
    color: var(--color-mustard);
    width: 20px;
    height: 20px;
}

.contact-data-list a {
    color: var(--color-white);
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255, 0.3);
    transition: 0.3s;
}

.contact-data-list a:hover {
    color: var(--color-mustard);
    border-color: var(--color-mustard);
}
/* ================= DISCLAIMER SPECIFIC STYLES ================= */

.warning-box {
    border: 1px solid var(--color-mustard);
    background: rgba(230, 179, 37, 0.05); /* Еле заметный желтый фон */
    padding: 30px;
    border-radius: 8px;
    margin: 40px 0;
}

.warning-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--color-mustard);
}

.warning-header h3 {
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}

.warning-header i { /* Иконка */
    width: 24px;
    height: 24px;
}

.warning-box p {
    margin-bottom: 0;
    opacity: 0.9;
    color: var(--color-white);
}
/* ================= PRIVACY DATA GRID ================= */

.data-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
}

@media (min-width: 768px) {
    .data-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.data-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: 0.3s;
}

.data-item:hover {
    border-color: var(--color-mustard);
    background: rgba(255, 255, 255, 0.05);
}

.data-icon {
    width: 40px;
    height: 40px;
    background: var(--color-mustard);
    color: var(--color-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.data-text {
    display: flex;
    flex-direction: column;
}

.data-text strong {
    color: var(--color-white);
    font-size: 16px;
    margin-bottom: 4px;
}

.data-text span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}
/* ================= PRIVACY POLICY SPECIFIC ================= */

/* Hero Card Style */
.policy-hero-card {
    border-left: 4px solid var(--color-mustard);
    padding: 20px 30px;
    background: linear-gradient(90deg, rgba(230, 179, 37, 0.05) 0%, transparent 100%);
    margin-bottom: 40px;
}

.policy-hero-card p {
    font-size: 18px;
    color: var(--color-white);
    margin: 0;
}

/* Storage Grid */
.storage-info {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.storage-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    padding: 15px 25px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.storage-item i {
    color: var(--color-mustard);
}

.storage-item span {
    color: var(--color-white);
    font-size: 14px;
}

/* Data Collection Boxes */
.data-collection-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 30px;
}

@media (min-width: 768px) {
    .data-collection-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.data-box {
    background: #111;
    border: 1px solid #333;
    padding: 30px;
    transition: 0.3s;
}

.data-box:hover {
    border-color: var(--color-mustard);
    transform: translateY(-5px);
}

.data-box-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #333;
}

.data-box-header i {
    width: 30px;
    height: 30px;
    color: var(--color-mustard);
}

.data-box h3 {
    margin: 0;
    font-size: 18px;
    color: var(--color-white);
}

.data-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.data-box ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.data-box ul li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--color-mustard);
    font-weight: bold;
    font-size: 18px;
    line-height: 1;
    top: -2px;
}
/* ================= TERMS OF USE SPECIFIC ================= */

.terms-accent {
    border-left-color: var(--color-mustard);
}

.property-box {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 35px;
    border: 1px dashed rgba(230, 179, 37, 0.3);
    position: relative;
    overflow: hidden;
}

/* Эффект фонового логотипа или знака */
.property-box::after {
    content: 'COPYRIGHT';
    position: absolute;
    bottom: -10px;
    right: -10px;
    font-family: var(--font-display);
    font-size: 60px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    pointer-events: none;
}

.property-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    color: var(--color-mustard);
}

.property-header i {
    width: 28px;
    height: 28px;
}

.property-header h3 {
    margin: 0;
    font-size: 20px;
    text-transform: uppercase;
}

.property-box p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}