:root {
    --primary: #630d16; /* Бордовый */
    --primary-light: #8a1a25;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --bg-light: #ffffff;
    --bg-alt: #f8f8f8;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --container: 1240px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: initial;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin: 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

img {
    max-width: 100%;
    display: block;
}

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn--header {
    background: var(--primary);
    color: white;
    font-size: 0.9rem;
}

.btn--header:hover {
    background: var(--text-dark);
    transform: translateY(-2px);
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.header--scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

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

.logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.nav__list {
    display: flex;
    gap: 35px;
}

.nav__link {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

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

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

.nav__link:hover::after {
    width: 100%;
}

/* --- Footer --- */
.footer {
    background: var(--text-dark);
    color: var(--text-light);
    padding: 80px 0 40px;
    margin-top: 100px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 1fr 1.2fr;
    gap: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 60px;
}

.logo--footer {
    color: var(--text-light);
    margin-bottom: 20px;
    display: block;
}

.footer__description {
    color: #a0a0a0;
    font-size: 0.95rem;
    max-width: 300px;
}

.footer__title {
    margin-bottom: 25px;
    font-size: 1.1rem;
    color: var(--text-light);
}

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

.footer__links a {
    color: #a0a0a0;
    font-size: 0.9rem;
}

.footer__links a:hover {
    color: var(--text-light);
    padding-left: 5px;
}

.footer__contacts li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: #a0a0a0;
    font-size: 0.9rem;
}

.footer__contacts i {
    color: var(--primary-light);
    width: 18px;
}

.footer__bottom {
    padding-top: 30px;
    text-align: center;
    font-size: 0.85rem;
    color: #666;
}

/* --- Burger (Mobile Only) --- */
.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

/* Responsive */
@media (max-width: 992px) {
    .nav, .btn--header { display: none; }
    .burger { display: block; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 576px) {
    .footer__grid { grid-template-columns: 1fr; gap: 40px; }
}
/* --- Utility Classes для CSS-анимации появления --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Класс .is-loaded будет добавлен через JS при загрузке */
body.is-loaded .fade-in {
    opacity: 1;
    transform: translateY(0);
}

.fade-in--delay-1 { transition-delay: 0.2s; }
.fade-in--delay-2 { transition-delay: 0.4s; }
.fade-in--delay-3 { transition-delay: 0.6s; }


/* --- Hero Section --- */
.hero {
    position: relative;
    padding: 160px 0 100px;
    min-height: 90vh; /* Почти на весь экран */
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Анимированный фон на чистом CSS */
.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-light) 60%, #fff0f0 100%);
}

.blob {
    position: absolute;
    filter: blur(60px);
    opacity: 0.4;
    animation: blobFloat 20s infinite linear;
}

.blob--1 {
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: linear-gradient(to right, var(--primary), #a72b39);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.blob--2 {
    bottom: -15%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: linear-gradient(to right, #a72b39, #ff9a9e);
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    animation-direction: reverse;
    animation-duration: 25s;
}

@keyframes blobFloat {
    0% { transform: rotate(0deg) translate(0, 0) scale(1); }
    33% { transform: rotate(120deg) translate(50px, -30px) scale(1.1); }
    66% { transform: rotate(240deg) translate(-20px, 50px) scale(0.9); }
    100% { transform: rotate(360deg) translate(0, 0) scale(1); }
}

/* Контент Hero */
.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(99, 13, 22, 0.08);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 30px;
    margin-bottom: 25px;
}

.hero__title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    background: linear-gradient(to right, var(--text-dark), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero__text {
    font-size: 1.15rem;
    color: #555;
    max-width: 480px;
    margin-bottom: 40px;
}

.hero__actions {
    display: flex;
    gap: 20px;
}

/* Кнопки */
.btn--primary {
    background: var(--primary);
    color: white;
    border: 2px solid var(--primary);
    padding: 16px 36px;
    font-size: 1rem;
}

.btn--primary:hover {
    background: transparent;
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -10px rgba(99, 13, 22, 0.5);
}

.btn--outline {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid #e0e0e0;
    padding: 16px 36px;
    font-size: 1rem;
}

.btn--outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
}

/* Визуал справа */
.image-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 20px 20px 60px rgba(0,0,0,0.1);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
}

.image-frame:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-10px);
}

.image-frame__img {
    width: 100%;
    height: auto;
    object-fit: cover;
    /* Временный фильтр, пока нет реального фото, чтобы вписать в гамму */
    filter: sepia(0.2) contrast(1.1); 
}

/* Адаптив */
@media (max-width: 992px) {
    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .hero__title { font-size: 2.8rem; }
    .hero__text { margin: 0 auto 30px; }
    .hero__actions { justify-content: center; }
    .blob { opacity: 0.3; }
    .image-frame { transform: none; }
    .image-frame:hover { transform: translateY(-5px); }
}

@media (max-width: 576px) {
    .hero__title { font-size: 2.2rem; }
    .hero__actions { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }
}
/* --- Common Section Styles --- */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    display: block;
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-dark);
}

/* --- Features Section --- */
.features {
    padding: 100px 0;
    background-color: var(--bg-alt);
}

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

.feature-card {
    background: var(--bg-light);
    padding: 50px 40px;
    border-radius: 20px;
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border-color: rgba(99, 13, 22, 0.1);
}

.feature-card--active {
    background: var(--primary);
    color: white;
}

.feature-card__icon {
    width: 60px;
    height: 60px;
    background: rgba(99, 13, 22, 0.05);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    color: var(--primary);
}

.feature-card--active .feature-card__icon {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.feature-card__title {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.feature-card__text {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
}

.feature-card--active .feature-card__text {
    color: rgba(255, 255, 255, 0.8);
}

/* --- Practices Section --- */
.practices {
    padding: 120px 0;
}

.practices__list {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.practice-item {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.practice-item--reverse {
    direction: rtl; /* Быстрый способ зеркально отобразить грид */
}

.practice-item--reverse .practice-item__content {
    direction: ltr;
}

.practice-item__num {
    font-size: 4rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    color: rgba(99, 13, 22, 0.1);
    line-height: 1;
    display: block;
    margin-bottom: 10px;
}

.practice-item__title {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.practice-item__text {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
}

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

.practice-item__list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.practice-item__list i {
    color: var(--primary);
    width: 20px;
}

.practice-item__image {
    position: relative;
}

.practice-item__image img {
    width: 100%;
    border-radius: 30px;
    z-index: 2;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.image-decor {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary);
    border-radius: 30px;
    z-index: 1;
}

.practice-item--reverse .image-decor {
    right: auto;
    left: -20px;
}

/* Responsive */
@media (max-width: 992px) {
    .features__grid { grid-template-columns: 1fr; }
    .practice-item { grid-template-columns: 1fr; gap: 40px; }
    .practice-item--reverse { direction: ltr; }
    .section-title { font-size: 2rem; }
}
/* --- Benefits Section --- */
.benefits {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-alt) 100%);
    text-align: center;
}

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

.benefit-card {
    padding: 40px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(99, 13, 22, 0.08);
}

.benefit-card__number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 15px;
    line-height: 1;
}

.benefit-card__title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.benefit-card__text {
    font-size: 0.95rem;
    color: #666;
}

.benefits__cta {
    max-width: 600px;
    margin: 0 auto;
}

.benefits__cta p {
    margin-bottom: 25px;
    font-weight: 500;
    color: #444;
}

/* --- FAQ Section --- */
.faq {
    padding: 120px 0;
}

.container--narrow {
    max-width: 800px;
}

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

.faq__item {
    border: 1px solid #eee;
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.faq__item:hover {
    border-color: rgba(99, 13, 22, 0.3);
}

.faq__item.is-active {
    border-color: var(--primary);
    background: #fffafa;
}

.faq__question {
    width: 100%;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    text-align: left;
    cursor: pointer;
    color: var(--text-dark);
}

.faq__question i {
    transition: transform 0.4s ease;
    color: var(--primary);
}

.faq__item.is-active .faq__question i {
    transform: rotate(180deg);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq__answer p {
    padding: 0 30px 30px;
    margin: 0;
    color: #555;
    line-height: 1.7;
}

.faq__item.is-active .faq__answer {
    max-height: 200px; /* Примерная высота контента */
}

/* Responsive */
@media (max-width: 992px) {
    .benefits__grid { grid-template-columns: 1fr; }
    .benefit-card { padding: 30px; }
}
/* --- Contact Section --- */
.contact {
    padding: 120px 0;
    background: var(--bg-light);
}

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

.contact__description {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 40px;
}

.contact__card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: var(--bg-alt);
    border-radius: 20px;
    border-left: 4px solid var(--primary);
}

.contact__card-icon {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

/* Form Styles */
.contact__form-wrapper {
    background: white;
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
}

.form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
}

.form__input {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #eee;
    border-radius: 12px;
    font-family: inherit;
    transition: var(--transition);
    background: #fdfdfd;
}

.form__input:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(99, 13, 22, 0.05);
}

.form__captcha {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f8f8;
    border-radius: 12px;
}

.form__label {
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}

.form__checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.85rem;
    color: #666;
}

.form__checkbox a {
    color: var(--primary);
    text-decoration: underline;
}

.form__submit {
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.form__success {
    position: absolute;
    inset: -10px;
    background: white;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 30px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.form__success--active {
    opacity: 1;
    visibility: visible;
}

.form__success i {
    width: 60px;
    height: 60px;
    color: #28a745;
    margin-bottom: 20px;
}

/* --- Mobile Menu --- */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 2000;
    visibility: hidden;
    pointer-events: none;
}

.mobile-menu--active {
    visibility: visible;
    pointer-events: auto;
}

.mobile-menu__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    transition: opacity 0.4s;
}

.mobile-menu--active .mobile-menu__overlay {
    opacity: 1;
}

.mobile-menu__content {
    position: absolute;
    right: 0;
    top: 0;
    width: 80%;
    max-width: 400px;
    height: 100%;
    background: white;
    padding: 40px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.mobile-menu__close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu__nav {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 60px;
}

.mobile-menu__link {
    font-size: 1.2rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}

/* --- Cookie Popup --- */
.cookie-popup {
    position: fixed;
    bottom: 30px;
    left: 30px;
    right: 30px;
    max-width: 500px;
    background: white;
    padding: 20px 30px;
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
    z-index: 1500;
    transform: translateY(150%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-popup--active {
    transform: translateY(0);
}

.cookie-popup__content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cookie-popup p {
    font-size: 0.85rem;
    margin: 0;
    color: #666;
}

.btn--small {
    padding: 10px 20px;
    font-size: 0.85rem;
    white-space: nowrap;
}

/* Responsive */
@media (max-width: 992px) {
    .contact__grid { grid-template-columns: 1fr; gap: 50px; }
    .contact__form-wrapper { padding: 30px; }
    .cookie-popup { left: 15px; right: 15px; bottom: 15px; }
    .cookie-popup__content { flex-direction: column; text-align: center; }
}
/* --- Стили Бургера --- */
.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 2001; /* Чтобы был выше оверлея */
}

/* Центральная линия */
.burger span,
.burger::before,
.burger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary); /* Тот самый бордовый цвет */
    transition: var(--transition);
}

.burger span {
    top: 50%;
    transform: translateY(-50%);
}

.burger::before {
    top: 0;
}

.burger::after {
    bottom: 0;
}

/* Эффект при открытом меню (если добавишь класс .is-active через JS) */
.burger.is-active span {
    opacity: 0;
}

.burger.is-active::before {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    background-color: var(--text-dark); /* Можно поменять на черный при открытии */
}

.burger.is-active::after {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
    background-color: var(--text-dark);
}

/* Показываем бургер на мобильных */
@media (max-width: 992px) {
    .burger {
        display: block;
    }
}
/* --- Стили для Legal & Contact Pages --- */
.legal-page {
    padding-top: 120px; /* Отступ под хедер */
    background-color: var(--bg-light);
}

.pages {
    padding: 60px 0 100px;
}

.section-tag {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 15px;
}

.pages h1 {
    font-size: 3rem;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.lead-text {
    font-size: 1.2rem;
    color: #555;
    max-width: 800px;
    line-height: 1.8;
    margin-bottom: 60px;
}

/* Карточки контактов */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.contact-card {
    background: var(--bg-alt);
    padding: 40px 30px;
    border-radius: 20px;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.contact-card:hover {
    transform: translateY(-5px);
    background: white;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border-color: var(--primary);
}

.contact-card__icon {
    color: var(--primary);
    margin-bottom: 20px;
}

.contact-card__icon i {
    width: 32px;
    height: 32px;
}

.contact-card h2 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.contact-card p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
}

.contact-link {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
    word-break: break-all;
}

.contact-address {
    font-style: normal;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.6;
}

.contact-extra {
    padding: 30px;
    background: #fffafa;
    border-radius: 15px;
    border-left: 4px solid var(--primary);
    max-width: 800px;
}

.contact-extra a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
}

/* Адаптив для страниц */
@media (max-width: 992px) {
    .contact-cards { grid-template-columns: 1fr; }
    .pages h1 { font-size: 1.6rem; }
}
.legal-content h2 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    color: var(--text-dark);
}

.legal-list {
    margin-bottom: 30px;
}

.legal-list li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
    color: #444;
}

.legal-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background-color: var(--primary);
    border-radius: 50%;
}

.contact-info-block {
    margin-top: 60px;
    padding: 40px;
    background-color: var(--bg-alt);
    border-radius: 20px;
}

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

.contact-data li {
    margin-bottom: 10px;
    font-size: 1rem;
}

.contact-data a {
    color: var(--primary);
    font-weight: 600;
}
.legal-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.warning-icon {
    width: 48px;
    height: 48px;
    color: var(--primary); /* Наш бордовый цвет */
}

.legal-block {
    margin-bottom: 25px;
    padding: 25px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
}

.risk-warning {
    border-left: 4px solid var(--primary);
    background: #fffafa;
}

.agreement {
    border: 1px dashed #ccc;
    background: #fcfcfc;
    text-align: center;
    font-size: 0.95rem;
}

.legal-block p {
    margin: 0;
    line-height: 1.7;
    color: #444;
}

.legal-block strong {
    color: var(--text-dark);
}

@media (max-width: 576px) {
    .legal-header { flex-direction: column; text-align: center; }
}
.data-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 25px 0;
}

.data-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--bg-alt);
    border-radius: 12px;
}

.data-item i {
    color: var(--primary);
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.data-item strong {
    display: block;
    font-size: 1rem;
    color: var(--text-dark);
}

.data-item span {
    font-size: 0.9rem;
    color: #666;
}

.terminology-list {
    list-style: none;
    padding: 0;
}

.terminology-list li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
}

.terminology-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.policy-contacts-box {
    margin-top: 20px;
}

.policy-mail {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: underline;
}

.policy-address {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #888;
}

@media (max-width: 600px) {
    .data-grid { grid-template-columns: 1fr; }
}
/* --- Специфические стили для Privacy Policy --- */
.policy-hero-card {
    background: var(--primary);
    color: white;
    padding: 40px;
    border-radius: 24px;
    margin-bottom: 40px;
    font-size: 1.1rem;
    line-height: 1.7;
}

.policy-notice {
    background: #fffafa;
    border-left: 4px solid var(--primary);
    padding: 25px;
    margin-bottom: 40px;
    font-size: 0.95rem;
    color: #444;
}

.storage-info {
    display: flex;
    gap: 30px;
    margin: 30px 0;
}

.storage-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--bg-alt);
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: 600;
}

.storage-item i {
    color: var(--primary);
    width: 20px;
}

.data-collection-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 40px 0;
}

.data-box {
    background: white;
    border: 1px solid #eee;
    padding: 30px;
    border-radius: 20px;
    transition: var(--transition);
}

.data-box:hover {
    border-color: var(--primary);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

.data-box h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.data-box h3 i {
    width: 24px;
}

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

.data-box li {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #666;
    padding-left: 15px;
    position: relative;
}

.data-box li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.rights-block {
    margin-top: 60px;
    text-align: center;
    padding: 50px;
    background: var(--bg-alt);
    border-radius: 30px;
}

.contact-btn {
    display: inline-block;
    margin-top: 20px;
    background: var(--primary);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition);
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(99, 13, 22, 0.2);
}

@media (max-width: 768px) {
    .data-collection-grid { grid-template-columns: 1fr; }
    .storage-info { flex-direction: column; gap: 10px; }
}
/* --- Специфические стили для Refund Policy --- */
.refund-accent {
    background: linear-gradient(135deg, var(--primary) 0%, #3d080e 100%);
}

.refund-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 40px 0;
}

.refund-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid #eee;
    text-align: center;
    transition: var(--transition);
}

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

.refund-card i {
    color: var(--primary);
    width: 35px;
    height: 35px;
    margin-bottom: 20px;
}

.refund-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.refund-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* Блок шагов */
.procedure-block {
    margin: 60px 0;
    padding: 40px;
    background: var(--bg-alt);
    border-radius: 24px;
}

.steps-mini {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
}

.step-mini {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1rem;
    font-weight: 500;
}

.step-mini span {
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.85rem;
}

.warning-block {
    margin-top: 40px;
    padding: 30px;
    background: #fff8f8;
    border-left: 4px solid var(--primary);
}

@media (max-width: 992px) {
    .refund-grid { grid-template-columns: 1fr; }
}
/* --- Специфические стили для Terms --- */
.terms-accent {
    background: linear-gradient(135deg, #4a0a10 0%, var(--primary) 100%);
    box-shadow: 0 10px 30px rgba(99, 13, 22, 0.15);
}

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

.legal-section h2 {
    font-size: 1.6rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.property-block {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: #fffafa;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(99, 13, 22, 0.1);
}

.property-icon {
    color: var(--primary);
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}

.contact-data-block {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.policy-phone {
    font-weight: 600;
    color: var(--text-dark);
}

.policy-address {
    font-size: 0.9rem;
    color: #888;
}