@font-face {
    font-family: 'PlayfairDisplay';
    src: url('./PlayfairDisplay.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --accent-color: #9F1514;
    --gold-color: #a68b5b;
    --bg-color: #00001C;
    --text-color: #e0e0e0;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'PlayfairDisplay';
    background-color: var(--bg-color);
    letter-spacing: 4px;

    overflow-x: hidden !important;
    width: 100%;
    max-width: 100%;
}

html,
body {
    overflow-x: hidden !important;
    /* overflow-y: hidden !important; */
    width: 100%;
    max-width: 100%;
    position: relative;
}

/* Для Webkit браузеров (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 8px;
    /* Ширина вертикального скролла */
    height: 8px;
    /* Высота горизонтального скролла */
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
    /* Цвет фона трека */
    border-left: 1px solid rgba(166, 139, 91, 0.2);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-color);
    /* Цвет ползунка */
    border-radius: 4px;
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
    /* Цвет при наведении */
    box-shadow: 0 0 5px var(--accent-color);
}

/* Для Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--gold-color) var(--bg-color);

    max-width: 100%;
    box-sizing: border-box;
}


@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(-100%);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(100%);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


@keyframes slideLeft {
    0% {
        opacity: 0;
        transform: translateX(100%);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideRight {
    0% {
        opacity: 0;
        transform: translateX(-100%);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fade {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}



/* header */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--bg-color);
    max-height: 80px;
    height: 100%;
    padding: 2rem 4rem;
    /* border-bottom: 1px solid var(--gold-color); */

    display: flex;
    justify-content: space-between;
    align-items: center;

    font-size: 1.2rem;
    transition: .3s;
    animation: slideDown 1s ease-out forwards;
    animation-delay: 6s;
    /* Было 0, стало 3 */
}

.logo {
    transition: .3s;
    opacity: 0;
    animation: slideRight 1s ease-out forwards;
    animation-delay: 6.8s;
    /* Было 0.8, стало 3.8 */
}

.logo p {
    color: var(--gold-color);
    margin: 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    transition: .3s;
    opacity: 0;
    animation: slideLeft 1s ease-out forwards;
    animation-delay: 6.8s;
    /* Было 0.8, стало 3.8 */
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    transition: .3s;
}

/* Точка после каждой ссылки, КРОМЕ последней */
nav a:not(:last-child)::after {
    content: '•';
    color: var(--gold-color);
    margin-left: 2rem;
    /* Убираем position: relative, left, top - они не нужны */
}

nav a:hover {
    color: var(--gold-color);
}

/* ===== БУРГЕР-МЕНЮ ===== */
.burger {
    display: none;
    /* скрыт на десктопе */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.burger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--gold-color);
    transition: all 0.3s ease;
}

/* Анимация бургера в крестик (при открытом меню) */
.burger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ===== АДАПТИВ ===== */

/* Планшеты (до 1024px) */
@media (max-width: 1024px) {
    header {
        padding: 1.5rem 2rem;
    }

    nav {
        gap: 1.5rem;
    }

    nav a:not(:last-child)::after {
        margin-left: 1.5rem;
    }
}

/* Мобильные устройства (до 768px) */
@media (max-width: 768px) {
    header {
        padding: 1rem 1.5rem;
        max-height: none;
    }

    /* показываем бургер */
    .burger {
        display: flex;
    }

    /* навигация скрыта по умолчанию */
    nav {
        position: fixed;
        top: 0;
        left: 0;
        /* меняем с right на left */
        right: 0;
        bottom: 0;
        width: 100%;
        /* на весь экран */
        max-width: none;
        /* убираем ограничение */
        height: 100vh;
        background-color: var(--bg-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        /* padding: 2rem; */
        box-shadow: none;
        /* убираем тень, т.к. фон на весь экран */
        transition: transform 0.3s ease;
        /* меняем transition на transform */
        z-index: 1000;
        opacity: 1;
        animation: none;
        transform: translateX(100%);
        /* скрыто справа */
    }

    /* открытое меню */
    nav.active {
        transform: translateX(0);
        /* показываем */

    }

    /* ссылки в мобильном меню */
    nav a {
        font-size: 1.4rem;
        width: 100%;
        text-align: center;
        padding: 0.5rem 0;
    }

    /* убираем точки между ссылками на мобилках */
    nav a:not(:last-child)::after {
        content: none;
    }

    /* чтобы фон не скроллился при открытом меню */
    body.menu-open {
        overflow: hidden;
    }
}

/* Очень маленькие телефоны (до 480px) */
@media (max-width: 480px) {
    header {
        padding: 0.8rem 1rem;
    }

    .logo p {
        font-size: 1rem;
    }

    nav a {
        font-size: 1.2rem;
    }
}

/* hero */
/* Добавьте после секции hero */
.hero {
    padding: 4rem;
    display: flex;
    justify-content: space-between;
    height: calc(100vh - 90px);
    overflow: hidden;
    position: relative;
}

/* Затемняющий градиент снизу */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top,
            #00001C 0%,
            rgba(0, 0, 28, 0.95) 20%,
            rgba(0, 0, 28, 0.7) 40%,
            rgba(0, 0, 28, 0.3) 60%,
            transparent 100%);
    pointer-events: none;
    z-index: 11;
}

.hero .left {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: flex-start;
    gap: 1rem
}

.hero .left h1 {
    color: var(--accent-color);
    font-size: 6rem;
    font-weight: normal;
    margin-bottom: 0;
    /* text-shadow: #a68b5b 2px 0px 1px; */

    opacity: 0;
    animation: slideRight 1s ease-out forwards;
    animation-delay: 6.8s;
    /* Добавляем задержку */
}

.hero .left h1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(45deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.1) 2px,
            rgba(0, 0, 0, 0.1) 4px);
    mix-blend-mode: multiply;
    pointer-events: none;
}

.hero .left p {
    color: var(--text-color);
    font-size: 1.2rem;

    opacity: 0;
    animation: slideRight 1s ease-out forwards;
    animation-delay: 7.2s;
    /* Было 0.8, стало 4.2 (чуть позже заголовка) */
}


.hero .right {
    position: relative;
    /* overflow: hidden; */

}

.hero .right .hero-img {
    max-width: 100%;
    height: auto;
    z-index: 10;
    position: relative;

    opacity: 0;
    animation: slideUp 1s ease-in-out forwards;
    animation-delay: 7.6s;
    /* Было 1.6, стало 4.6 */
}

.hero .right .circle {
    border-radius: 50%;
    background: linear-gradient(to top, #2e0605 20%, var(--accent-color) 100%);

    width: 800px;
    height: 800px;
    position: absolute;
    bottom: -60%;
    left: 10%;
    z-index: 1;

    opacity: 0;
    animation: slideUp 1s ease-in-out forwards;
    animation-delay: 6.8s;
}


/* Если хотите, чтобы он слегка вибрировал после появления: */
/* .circle { animation: slideUp 1s ease-in-out forwards, ripplePulse 5s infinite ease-in-out 7.8s; } */
.hero .right .glow {
    position: absolute;
    bottom: -40%;
    left: -10%;
    width: 1200px;
    height: 1200px;
    border-radius: 50%;

    opacity: 0;
    animation: fade 1s ease-in-out forwards;
    animation-delay: 6.5s;
    /* Начало свечения */
}

.hero .right .glow::before {
    content: '';
    position: absolute;
    top: 65%;
    left: 55%;
    transform: translate(-50%, -50%);
    width: 1200px;
    height: 1200px;
    background: var(--accent-color);
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.3;
}

@media (max-width: 768px) {
    .hero {
        display: flex;
        flex-direction: column;
        /* Убеждаемся, что секция занимает весь экран, чтобы было куда прижимать */
        height: calc(100vh - 80px); 
        padding: 2rem 1.5rem 0 1.5rem; /* Обнуляем нижний паддинг, чтобы картинка коснулась края */
        justify-content: flex-start;
        overflow: hidden;
    }

    .hero .left {
        text-align: center;
        align-items: center;
        margin-bottom: 1rem;
        z-index: 20;
    }

    .hero .left h1 {
        font-size: 3rem;
    }

    .hero .right {
        /* Магия здесь: */
        flex-grow: 1;          /* Занимает всё оставшееся место по вертикали */
        display: flex;
        align-items: flex-end; /* Прижимает контент (картинку) к низу */
        justify-content: center;
        position: relative;
        width: 100%;
    }

    .hero .right .hero-img {
        max-width: 100%;
        height: auto;
        display: block;
        margin-bottom: 0;      /* Убираем любые отступы снизу */
        position: relative;
        z-index: 10;
    }

    /* Подправляем декор, чтобы он не улетел */
    .hero .right .circle {
        width: 300px;
        height: 300px;
        /* left: 50%; */
        transform: translateX(-50%); /* Центрируем нимб за картинкой */
        bottom: -50px;
    }

    .hero .right .glow::before {
        width: 100vw;
        height: 100vw;
        top: 100%; /* Смещаем свечение в самый низ */
    }
}
@media (max-height: 600px) {
    .hero .right .circle {
        bottom: ;
    }
}




/* --- MANIFESTO SECTION --- */
.manifesto {
    min-height: 140vh;
    /* Увеличил высоту для свободного скролла */
    padding: 12rem 4rem;
    background-color: var(--bg-color);
    display: flex;
    justify-content: center;
}

.manifesto-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40rem;
    /* Огромный отступ между приветствием и манифестом */
    max-width: 1400px;
    width: 100%;
}

/* --- БЛОК 1: ПРЕДСТАВЛЕНИЕ --- */
.manifesto-intro {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    /* Обязательно для позиционирования пятна */
}

.manifesto-intro::before {
    content: '';
    position: absolute;

    top: -30%;
    left: -10%;

    width: 500px;
    height: 800px;
    background: var(--accent-color);
    border-radius: 50%;

    filter: blur(120px);
    opacity: .15;

    z-index: 1;
    pointer-events: none;
}

.intro-name {
    font-size: clamp(3rem, 8vw, 6rem);
    /* Адаптивный размер */
    text-transform: uppercase;
    letter-spacing: 20px;
    margin-bottom: 2rem;
    color: var(--text-color);
    font-weight: 300;
}

.intro-lead {
    font-size: 1.5rem;
    color: var(--gold-color);
    letter-spacing: 5px;
    line-height: 1.8;
    opacity: 0.8;
    font-family: 'PlayfairDisplay', serif;
}

.intro-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin-top: 5rem;
}

.horizontal-line {
    width: clamp(50px, 15vw, 200px);
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold-color), transparent);
}

.diamond-point {
    width: 12px;
    height: 12px;
    border: 1px solid var(--gold-color);
    transform: rotate(45deg);
}

/* --- БЛОК 2: МАНИФЕСТ ГРИД --- */
.manifesto-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.5fr;
    /* Текст занимает больше места, заголовок — узкую полосу справа */
    gap: 8rem;
    align-items: center;
}

/* Контентная часть (слева) */
.manifesto-right {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.manifesto-quote {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--text-color);
    line-height: 1.3;
    max-width: 900px;
}

.manifesto-quote .highlight {
    color: var(--accent-color);
    font-style: italic;
    white-space: nowrap;
}

.manifesto-text {
    font-size: 1.2rem;
    color: rgba(224, 224, 224, 0.6);
    line-height: 2;
    max-width: 650px;
    letter-spacing: 1px;
}

/* Декоративная часть (справа) */
.manifesto-left {
    display: flex;
    justify-content: flex-end;
    position: relative;
}

.manifesto-left::before {
    content: '';
    position: absolute;

    top: 0%;
    right: -20%;

    width: 800px;
    height: 800px;
    background: var(--gold-color);
    border-radius: 50%;

    filter: blur(120px);
    opacity: .10;

    z-index: 1;
    pointer-events: none;
}

.section-title {
    color: transparent;
    font-size: 6rem;
    text-transform: uppercase;
    font-weight: 200;
    writing-mode: vertical-lr;
    transform: rotate(180deg);
    letter-spacing: 25px;
    -webkit-text-stroke: 1px var(--gold-color);
    /* Очень тонкая, прозрачная обводка */
    position: relative;
}


/* Линия-шлейф от заголовка */
.section-title::after {
    content: '';
    position: absolute;
    width: 1px;
    height: 300px;
    background: linear-gradient(to bottom, var(--gold-color), transparent);
    bottom: -350px;
    left: 45%;
}

/* Кнопка */
.btn-primary {
    background: transparent;
    border: 1px solid rgba(166, 139, 91, 0.8);
    color: var(--gold-color);
    padding: 1rem 3rem;
    font-family: 'PlayfairDisplay';
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    cursor: pointer;
    align-self: flex-start;
    transition: all 0.4s ease;
    position: relative;

    /* Двойная обводка */
    outline: 1px solid rgba(166, 139, 91, 0.2);
    outline-offset: 4px;
    /* Отступ между обводками */
}

.btn-primary:hover {
    background: var(--gold-color);
    color: var(--bg-color);
    outline: 1px solid var(--bg-color);
}
@media (max-width: 768px) {
    .manifesto{
        padding: 10rem 1rem;
    }
    .intro-name{
        font-size: 1.5rem;
        text-align: center;
    }
    .intro-lead{
        font-size: .8rem;
    }
    .intro-divider{
        margin-top: 2rem;
    }
    .manifesto-wrapper{
        gap: 16rem;
    }

    .manifesto-grid{
        gap: 1rem;
    }
    .manifesto-right{
        gap: 2rem
    }
    .manifesto-right .manifesto-text{
        font-size: .8rem;
    }
    .manifesto-quote{
        font-size: 1rem;
    }
    .manifesto-left .section-title{
        margin-left: 0;
        font-size: 3rem;
    }
    .manifesto-left .section-title::after{
        height: 150px;
        bottom: -150px;
    }
    .manifesto-right .btn-primary{
        padding: .5rem 1rem;
        font-size: .8rem;
    }
}
















/* --- PRELOADER --- */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeOutLoader 1s ease forwards;
    animation-delay: 5s;
    pointer-events: none;
}

.preloader.active {
    display: flex;
}

.preloader h1 {
    margin: 0;
    font-size: 6rem;
}

.preloader-text {
    font-size: 5rem;
    color: var(--accent-color);
    letter-spacing: 15px;
    font-weight: normal;
    opacity: 0;
    animation: zoomInText 2s ease-out forwards;
}

/* Анимации заставки */
@keyframes zoomInText {
    0% {
        opacity: 0;
        transform: scale(0.9);
        filter: blur(10px);
    }

    100% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

@keyframes fadeOutLoader {
    0% {
        opacity: 1;
        visibility: visible;
    }

    100% {
        opacity: 0;
        visibility: hidden;
    }
}

/* --- СТИЛИ УЗОРА В PRELOADER --- */

/* Контейнер для центрирования текста и узора */
.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    justify-content: center;
}

.victorian-flourish {
    width: 700px;
    /* Чуть шире для строгости */
    height: auto;
    opacity: 0;
    animation: fade 1s ease forwards;
    animation-delay: 1.2s;
}

.drawing-path {
    fill: none;
    stroke: var(--accent-color);
    stroke-width: 2;
    /* Четкая, не слишком тонкая линия */
    stroke-linecap: butt;
    /* Рубленые, не скругленные концы линий */
    stroke-linejoin: miter;
    /* Острые углы соединений */

    /* Начальное состояние для анимации */
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;

    /* Анимация отрисовки */
    animation: drawLine 3.5s ease-in-out forwards;
    animation-delay: 1s;
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

.corner-flourish {
    position: fixed;
    width: 200px;
    height: 200px;
    pointer-events: none;
    opacity: 0;
    animation: fade 0.8s ease forwards;
    animation-delay: 1s;
}

.corner-path {
    fill: none;
    stroke: var(--accent-color);
    stroke-width: 18;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 8000;
    stroke-dashoffset: 8000;
    animation: drawLine 4s ease-in-out forwards;
    animation-delay: 1s;
}

@keyframes fade {
    to {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .preloader h1 {
        font-size: 4rem;
    }

    .drawing-path {
        stroke-width: 4;
    }
}






/* --- QR-CODES SECTION --- */
.qr-codes {
    min-height: 120vh;
    /* Увеличил высоту, чтобы блоку было просторнее */
    width: 100%;
    padding: 0 2rem 10rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-color);
}

/* Масштабное свечение на фоне всего блока */
.qr-codes::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1400px;
    /* Огромный радиус свечения */
    height: 1000px;
    background: var(--accent-color);
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.15;
    /* Деликатное свечение, чтобы не перебивало QR */
    z-index: 0;
    pointer-events: none;
}

.qr-codes-wrapper {
    display: flex;
    gap: 10rem;
    align-items: center;
    position: relative;
    z-index: 1;
    max-width: 1600px;
    width: 100%;
    justify-content: center;
}

/* Контейнер для кода и текста */
.qr-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    flex: 1;
    max-width: 400px;
}

.qr-code {
    width: 100%;
    height: auto;
    opacity: 0;
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.5));
    animation: fade 1s ease forwards;
    transition: .3s;
}

.qr-code:hover {
    transform: scale(1.1);
}

.qr-code:nth-child(1) {
    animation-delay: 1.2s;
}

.qr-code:nth-child(2) {
    animation-delay: 1.8s;
}

/* Подписи под кодами */
.qr-label {
    font-family: 'PlayfairDisplay', serif;
    /* В стиле твоего манифеста */
    color: var(--gold-color);
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 8px;
    opacity: 0.8;
}
@media (max-width: 768px) {
    .qr-codes {
        padding: 10rem 2rem;
        overflow: visible;
    }
    .qr-codes-wrapper {
        flex-direction: column;
        gap: 4rem;
    }
    .qr-code{
        width: auto;
    }
    .qr-label{
        font-size: 1rem;
    }
    .qr-item{
        gap: 1.5rem;
    }
}














.gap {
    height: 20rem;
    width: 100%;

}

/* --- VERDICTS SECTION --- */
.verdicts {
    min-height: 120vh;
    /* Увеличил высоту для большего масштаба */
    padding: 15rem 6rem;
    /* Больше отступов по бокам и сверху/снизу */
    background-color: var(--bg-color);
    position: relative;
}

/* Оставляем свечение, но делаем его чуть больше и мягче */
.verdicts::after {
    content: '';
    position: absolute;
    bottom: -15%;
    right: -10%;
    width: 1000px;
    height: 1000px;
    background: var(--accent-color);
    border-radius: 50%;
    filter: blur(160px);
    opacity: 0.08;
    /* Еще чуть приглушеннее */
    z-index: 0;
}

.verdicts-wrapper {
    max-width: 1600px;
    /* Расширил контейнер */
    margin: 0 auto;
    display: grid;
    grid-template-columns: 120px 1fr;
    /* Увеличил колонку под заголовок */
    gap: 12rem;
    /* Огромный зазор между названием и контентом */
    position: relative;
    z-index: 1;
}

/* Сетка карточек */
.verdicts-grid {
    display: grid;
    /* Увеличил минимальную ширину карточки до 400px, чтобы они не теснились */
    /* grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); */
    grid-template-columns: 1fr;
    gap: 8rem 5rem;
    /* 8rem между рядами, 5rem между колонками */
}

/* Карточка отзыва */
.verdict-card {
    background: rgba(255, 255, 255, 0.01);
    /* Почти прозрачный фон */
    border: 1px solid rgba(166, 139, 91, 0.8);
    padding: 5rem 4rem;
    /* Мощные внутренние отступы */
    position: relative;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);

    outline: 1px solid rgba(166, 139, 91, 0.2);
    outline-offset: 12px;
    /* Увеличил отступ рамки */
}

.verdict-card:hover {
    border-color: var(--gold-color);
    outline-color: rgba(166, 139, 91, 0.4);
    background: rgba(159, 21, 20, 0.03);
    /* transform: translateY(-15px); */
}

/* Шапка карточки */
.verdict-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
    /* Больше места до текста */
}

.verdict-number {
    font-family: 'PlayfairDisplay', serif;
    color: var(--gold-color);
    font-size: 1rem;
    letter-spacing: 5px;
}

.verdict-status {
    color: var(--accent-color);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 5px;
}

/* Текст отзыва */
.verdict-text {
    font-size: 1.2rem;
    line-height: 2.1;
    /* Очень свободный межстрочный интервал */
    color: var(--text-color);
    font-style: italic;
    margin-bottom: 5rem;
    /* Дистанция до футера */
    opacity: 0.8;
    max-width: 90%;
    /* Чтобы текст не размазывался по всей ширине */
}

/* Автор */
.verdict-author {
    color: var(--gold-color);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.verdict-pos {
    font-size: 0.85rem;
    color: rgba(224, 224, 224, 0.4);
    letter-spacing: 2px;
}

/* Адаптация вертикального заголовка */
/* .verdicts-aside .section-title {
    color: transparent;
    -webkit-text-stroke: 1px var(--gold-color);
    font-size: 6rem; 
    writing-mode: vertical-lr;
    transform: rotate(180deg);
    letter-spacing: 15px;
    opacity: 0.3;
} */
@media (max-width: 768px) {
    .verdicts{
        padding: 15rem 1rem;
    }
    .verdicts-aside .section-title {
        font-size: 3rem;
    }
    .verdicts-wrapper{
        grid-template-columns: 1fr;
        gap: 0;
    }
    .verdicts-aside{
        width: 100%;
    }
    .verdicts-wrapper .section-title{
        margin: 0;
        padding-top: 2rem;
        margin: 0 auto;
    }
    .verdicts-wrapper .section-title::after{
        bottom: -300px;
    }
    .verdict-card{
        padding: 1rem;
    }
    .verdict-text{
        font-size: .8rem;
    }
    .verdict-author{
        font-size: 1rem;
    }
}






.epitaph-footer {
    background-color: var(--bg-color);
    color: #c5a059;
    /* Тусклое золото */
    padding: 80px 20px 40px;
    font-family: 'Playfair Display', serif;
    /* Или ваш Queen */
    text-align: center;
    border-top: 1px solid rgba(197, 160, 89, 0.2);
}

.footer-sign .monogram {
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 10px;
    opacity: 0.8;
}

.final-phrase {
    font-style: italic;
    letter-spacing: 5px;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 40px;
}

.separator {
    width: 100px;
    border: 0;
    border-top: 1px solid #c5a059;
    margin: 0 auto 40px;
    opacity: 0.3;
}

.footer-columns {
    display: flex;
    justify-content: center;
    gap: 100px;
    margin-bottom: 60px;
}

.footer-group h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 1px solid rgba(197, 160, 89, 0.1);
    display: inline-block;
    padding-bottom: 5px;
}

.footer-group ul {
    list-style: none;
    padding: 0;
}

.footer-group ul li {
    margin-bottom: 10px;
}

.footer-group ul li a {
    color: #888;
    /* Увядающий серый */
    text-decoration: none;
    transition: 0.4s;
    font-size: 0.95rem;
}

.footer-group ul li a:hover {
    color: #c5a059;
    /* letter-spacing: 1px;  */
}

.footer-bottom {
    font-size: 0.8rem;
    opacity: 0.5;
    letter-spacing: 1px;
}

.sub-text {
    font-style: italic;
    margin-top: 5px;
}
@media (max-width: 768px) {
    .epitaph-footer {
        padding: 40px 20px 20px;
    }
    .footer-columns {
        flex-direction: column;
        gap: 40px;
    }
    .footer-sign .monogram{
        font-size: 2rem;
    }
    .final-phrase{
        font-size: .8rem;
    }
}










.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background: transparent;
    border: 1px solid var(--gold-color);
    color: var(--gold-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    /* Круглая форма */
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    /* Легкое смещение вниз перед появлением */
}

/* Показываем кнопку */
.back-to-top.show {
    opacity: 0.7;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    opacity: 1;
    background-color: var(--gold-color);
    color: var(--bg-color);
    /* Инверсия цветов при наведении */
    box-shadow: 0 0 20px rgba(197, 160, 89, 0.4);
}

.back-to-top .arrow {
    font-size: 2rem;
    line-height: 1;
    margin-top: -5px;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
}