/* =========================
   BASE
========================= */
html {
    scroll-behavior: smooth;
}

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

body {
    font-family: 'Inter', sans-serif;
    background: #ECE8E1;
    color: #3B0A2A;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

section {
    padding: 80px 0;
}

h2 {
    font-family: 'Playfair Display', serif;
    color: #2A061E;
}

p {
    color: #6B4C5A;
}

/* =========================
   NAV
========================= */

.burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.burger span {
    width: 25px;
    height: 2px;
    background: #3B0A2A;
    display: block;
}
nav {
    display: flex;
    align-items: center;
    padding: 20px 0;
    position: sticky;
    top: 0;
    background: #ECE8E1;
    backdrop-filter: blur(8px);
    z-index: 1000;
    border-bottom: 1px solid #D8D2C8;
    transition: transform 0.35s;
}

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

.logo img {
    height: 60px;
    transition: 0.3s;
}

nav a {
    color: #6B4C5A;
    text-decoration: none;
    margin-left: 30px;
    font-size: 14px;
    transition: 0.3s;
}

nav a:hover {
    color: #3B0A2A;
}

nav.scrolled {
    padding: 8px 0;
    background: rgba(236,232,225,0.95);
}

nav.scrolled .logo img {
    height: 42px;
}

nav.scrolled a {
    font-size: 13px;
    margin-left: 20px;
}

nav.nav-hidden {
    transform: translateY(-100%);
}

/* ===== DISCLAIMER PAGE ===== */

.logo-top {
    text-align: center;
    margin: 60px 0 40px;
}

.logo-top img {
    max-width: 280px;
    width: 100%;
}

.title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    line-height: 1.3;
    text-align: center;
    margin: 0 auto 40px;
    color: #2A061E;
    max-width: 900px;   /* 🔥 ограничение ширины */
}

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

.text p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 16px;
    color: #3B0A2A;
}
.buttons {
    text-align: center;
    margin-top: 60px;
    margin-bottom: 80px; /* 🔥 добавляет воздух снизу */
}

.btn {
    display: inline-block;
    padding: 14px 34px;
    margin: 10px 15px;
    min-width: 140px;
    border: 1px solid #3B0A2A;
    background: transparent;
    color: #3B0A2A;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

/* hover как в hero */
.btn:hover {
    background: #3B0A2A;
    color: #ECE8E1;
}
@media (max-width: 900px) {

    .burger {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #F5F2EE;

        flex-direction: column;
        align-items: center;
        gap: 20px;

        padding: 20px 0;

        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }

    .nav-links.active {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }
}

/* =========================
   UNIVERSAL HEADER
========================= */
.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    gap: 20px;
}

.line {
    width: 80px;
    height: 1px;
    background: #3B0A2A;
    opacity: 0.8;
}
.line {
    height: 1px;
    width: 0;
    background: linear-gradient(
        to right,
        rgba(59, 10, 42, 0),
        rgba(59, 10, 42, 0.8),
        rgba(59, 10, 42, 0)
    );
    animation: lineGrow 1s ease forwards;
}

@keyframes lineGrow {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 80px;
        opacity: 0.8;
    }
}

.label {
    font-size: 13px;
    letter-spacing: 3px;
    margin-left: 20px;
}
.section-header .line {
    width: 120px;
    height: 1px;
    background: #3B0A2A;
    margin-right: 20px;
    transition: width 0.6s ease;
}
.section-title {
    font-size: 72px;
    color: #B8ADA0;
    margin-bottom: 60px;
    font-family: 'Playfair Display', serif;
}
.section-subtitle {
    font-size: 22px;
    max-width: 500px;
    margin-bottom: 40px;
}
/* =========================
   HERO
========================= */
.hero {
    padding: 120px 0 140px;
}

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

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 72px;
    color: #B8ADA0;
    margin-bottom: 40px;
}

.hero-right img {
    max-width: 260px;
}

/* =========================
   GRID / CARD
========================= */
.grid {
    display: grid;
    gap: 30px;
}

.card {
    border: 1px solid #D8D2C8;
    padding: 25px;
    background: #F7F3ED;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    background: #fff;
}

/* =========================
   ABOUT
========================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.about-title {
    font-size: 72px;
    color: #B8ADA0;
    margin-bottom: 80px;
}

/* =========================
   NUMBERS
========================= */
.numbers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 100px;
}

.number-item h3 {
    font-size: 64px;
}

.number-item p {
    text-transform: uppercase;
    font-size: 14px;
}

/* =========================
   INVEST
========================= */
.invest-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.invest-title {
    font-size: 72px;
    color: #B8ADA0;
    margin-bottom: 80px;
}

/* =========================
   SERVICES
========================= */
.services-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    align-items: center;
}

.services-title {
    font-size: 72px;
    color: #B8ADA0;
    margin-bottom: 40px;
}

/* =========================
   NEWS
========================= */
.news-title {
    font-size: 72px;
    color: #B8ADA0;
    margin-bottom: 20px;
}

.news-grid {
    gap: 40px;
}

.news-date {
    margin-top: 20px;
    font-size: 13px;
}
.news-meta {
    font-size: 14px;
    color: #8C8172;
    margin-bottom: 30px;
}

.news-lead {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.card:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}
.card.external::after {
    content: "↗";
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 14px;
    opacity: 0.6;
}

/* =========================
   CONTACT
========================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-title {
    font-size: 72px;
    color: #B8ADA0;
    margin-bottom: 80px;
}

.contact-box {
    padding: 40px;
    border: 1px solid #D8D2C8;
    background: #F7F3ED;
}

.contact-cta-single p {
    font-size: 26px;
    color: #6B4C5A;
}

/* =========================
   DOCUMENTS
========================= */
.docs-buttons {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.doc-btn {
    padding: 20px 40px;
    border: 2px solid #3B0A2A;
    border-radius: 40px;
    text-decoration: none;
    color: #3B0A2A;
    transition: 0.3s;
}

.doc-btn:hover {
    background: #3B0A2A;
    color: #ECE8E1;
}

/* =========================
   FINAL
========================= */
.final-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    margin-bottom: 80px;
}

.final-bottom {
    text-align: center;
}

/* =========================
   IMAGE SYSTEM
========================= */
.img-wrap {
    display: flex;
    justify-content: center;
}

.img-wrap img {
    max-width: 220px;
}

.img-large img {
    max-width: 260px;
}

img {
    transition: 0.3s;
}

img:hover {
    transform: scale(1.02);
}

.circle {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

/* КОЛЬЦО — оставляем как есть */
.circle.ring img {
    width: 320px;
}

/* ИКОНКА — увеличиваем */
.circle.icon img {
    width: 260px;
}

/* ЛОГО — балансируем */
.circle.logo img {
    width: 150px;
}

.circle.ring {
    position: relative;
    width: 160px;
    height: 160px;
}

/* КОЛЬЦО ВРАЩАЕТСЯ */
.circle.ring img {
    width: 100%;
    height: 100%;
    animation: rotateClockwise 20s linear infinite;
}
/* ВРАЩАЮЩАЯСЯ ЛИНИЯ */
.rotating-line {
    position: absolute;
    top: 50%;
    left: 50%;

    width: 140%;          /* чуть короче */
    height: 0.6px;        /* ещё тоньше */

    transform: translate(-50%, -50%);

    background: linear-gradient(
    to right,
    rgba(59, 10, 42, 0.4) 0%,
    rgba(59, 10, 42, 0.1) 30%,
    transparent 50%,
    rgba(59, 10, 42, 0.1) 70%,
    rgba(59, 10, 42, 0.4) 100%
);
filter: blur(0.6px);
    animation: rotateLine 20s linear infinite;
    transform-origin: center;
}
@keyframes rotateLine {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}
/* =========================
   MOBILE
========================= */
@media (max-width: 900px) {

    .hero-grid,
    .services-grid,
    .about-grid,
    .invest-grid,
    .contact-grid,
        .final-grid {
        grid-template-columns: 1fr;
    }

    .hero-title,
    .about-title,
    .invest-title,
    .services-title,
    .news-title,
    .contact-title {
        font-size: 48px;
    }

    .numbers-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

/* LEGAL PAGE */

.page {
    padding: 120px 0;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    color: #B8ADA0;
    margin-bottom: 40px;
    pointer-events: none;
}

.legal-text {
    max-width: 900px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.legal-text pre {
    margin-bottom: 0;
    white-space: pre-wrap;
    word-break: break-word;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.9;
    color: #6B4C5A;
    position: relative
}

/* FOOTER */

footer {
    text-align: center;
    padding-top: 40px;
    padding-bottom: 80px;   /* больше воздуха снизу */
    font-size: 14px;
    opacity: 0.8;
}

/* BACK LINK */

.back-link {
    display: inline-block;
    margin-bottom: 30px;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #3B0A2A;
    text-decoration: none;
    opacity: 0.7;
    transition: all 0.3s ease;
    z-index: 2;
    position: relative;
}

.back-link:hover {
    opacity: 1;
}

.back-link.bottom {
    margin-top: 60px;
}

/* MOVING TEXT */
.ticker {
    position: relative;
    line-height: 0.9;
    overflow: hidden;
    white-space: nowrap;
    width: 100vw;
    height: 300px;
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 25%,
        black 75%,
        transparent 100%
);
}
.ticker-track {
    display: flex;
    width: max-content;
}
.ticker-track span {
    white-space: nowrap;
    padding-right: 80px; /* зазор между повторами */
}

.fast {
    font-family: 'Playfair Display', serif;
    position: relative;
    z-index: 2;
    color: #2A0620;
    font-size: 120px;
    animation: scrollFast 35s linear infinite;
}
.slow {
    font-family: 'Playfair Display', serif;
    position: absolute;
    top: 60px;
    left: 0;
    z-index: 1;
    color: rgba(59, 10, 42, 0.38);
    font-size: 120px;
    animation: scrollSlow 70s linear infinite;
    opacity: 0.2;
    transform: translateY(20px);
    filter: blur(0.5px);
    mix-blend-mode: multiply;
}

@keyframes scrollFast {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@keyframes scrollSlow {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}
@keyframes scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}


