/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --dark-blue: #0f1e38;
    --darker-blue: #0c1a2e;
    --red: #c0392b;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --text-dark: #1a2744;
    --text-gray: #555;
    --font-main: 'Futura PT', 'Futura', Arial, sans-serif;
    --font-serif: 'Futura PT', 'Futura', Arial, sans-serif;
    --max-width: 1200px;
}

/* Turkish language — use Jost (geometric, Futura-like, full Turkish support) */
html[lang="tr"] {
    --font-main: 'Jost', 'Futura PT', Arial, sans-serif;
    --font-serif: 'Jost', 'Futura PT', Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    overflow-x: clip;
}

[id] {
    scroll-margin-top: 80px;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.6;
    font-weight: 500;
}

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

a {
    text-decoration: none;
    color: inherit;
}

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

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--darker-blue);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.logo-title {
    font-size: 20px;
    font-weight: 900;
    color: var(--white);
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1;
}

.logo-line {
    display: block;
    width: 100%;
    height: 2px;
    background: #e02020;
    margin: 3px 0 2px;
}

.logo-sub {
    font-size: 8px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1.2px;
    text-transform: uppercase;
    line-height: 1.25;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Safari < 14.1 flex gap fallback */
@supports not (gap: 1px) {
    .main-nav>*+* {
        margin-left: 40px;
    }

    .reader-nav-pill>*+* {
        margin-left: 56px;
    }

    .footer-right>*+* {
        margin-left: 30px;
    }
}

.main-nav a {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 1.5px;
    transition: opacity 0.2s;
    text-transform: uppercase;
}

.main-nav a:hover {
    opacity: 0.7;
}

.btn-download-nav {
    background: #e02020;
    color: var(--white) !important;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 800 !important;
    font-size: 14px !important;
    letter-spacing: 1.5px;
    transition: background 0.2s !important;
}

.btn-download-nav:hover {
    background: #b91c1c !important;
}

.lang-switch {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 14px;
    border-radius: 6px;
    transition: background 0.2s;
}

.lang-switch:hover {
    background: rgba(255, 255, 255, 0.15);
}

.lang-current::after {
    content: ' ▾';
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--darker-blue);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 130px;
    z-index: 1001;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.lang-switch.open .lang-dropdown {
    display: block;
}

.lang-option {
    display: block;
    padding: 10px 18px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    transition: background 0.2s;
}

.lang-option:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.lang-option.active {
    color: var(--white);
    font-weight: 700;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: 0.3s;
}

/* ===== HERO ===== */
.hero {
    margin-top: 64px;
    background: var(--dark-blue);
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    min-height: 90dvh;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    z-index: 0;
}

.hero-bg-mobile {
    display: none;
    object-position: center center;
}

@media (max-width: 480px) {
    .hero-bg-desktop {
        display: none;
    }

    .hero-bg-mobile {
        display: block;
    }
}

.hero-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    min-height: 90vh;
    min-height: 90dvh;
    padding: 0 24px;
    z-index: 1;
}

.hero-text {
    max-width: 1000px;
    text-align: right;
    padding: 40px 0;
    margin-left: auto;
}

.hero-torn-edge {
    display: none;
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 40px;
    background: var(--white);
    z-index: 3;
    clip-path: polygon(0% 100%, 2% 45%, 5% 70%, 8% 30%, 12% 65%, 15% 20%, 18% 55%,
            22% 35%, 25% 75%, 28% 15%, 32% 60%, 35% 40%, 38% 80%,
            42% 25%, 45% 55%, 48% 35%, 52% 70%, 55% 20%, 58% 50%,
            62% 30%, 65% 65%, 68% 15%, 72% 55%, 75% 40%, 78% 75%,
            82% 20%, 85% 60%, 88% 30%, 92% 70%, 95% 25%, 98% 55%,
            100% 100%);
}

.hero-text h1 {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 28px;
    text-transform: uppercase;
}

.hero-text .white {
    color: var(--white);
}

.hero-text .red-accent {
    color: var(--white);
    opacity: 0.9;
}

.hero-subtitle {
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.9;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ===== 30 ПИСЕМ ===== */
.letters-section {
    position: relative;
    padding: 0;
    background: #fff;
}

.letters-section .container {
    margin-left: 5%;
    margin-right: auto;
    padding-left: 60px;
    transform: translateY(-40px);
    position: relative;
    z-index: 2;
}

.letters-section::before {
    content: '';
    position: absolute;
    top: -270px;
    bottom: -340px;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background-image: url('photos/texture-letters.png');
    background-size: 120% 100%;
    background-repeat: no-repeat;
    background-position: center center;
    z-index: 1;
    pointer-events: none;
}

.letters-title {
    font-family: var(--font-main);
    font-size: 30px;
    font-weight: 800;
    font-style: normal;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.15;
    text-transform: uppercase;
}

.letters-text {
    font-family: var(--font-main);
    font-size: 28px;
    color: #333;
    line-height: 1.25;
    font-weight: 500;
    font-style: normal;
}

@media (max-width: 1024px) {
    .letters-section .container {
        padding-top: 24px !important;
        padding-bottom: 28px !important;
    }

    .letters-title {
        margin-bottom: 20px !important;
    }

    .letters-text {
        margin-bottom: 8px !important;
    }
}

/* ===== COUNTDOWN ===== */
.countdown-section {
    background: var(--dark-blue);
    padding: 60px 0 60px;
    position: relative;
}

.countdown-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: 50%;
    width: 100vw;
    height: 500px;
    transform: translateX(-50%) scaleX(-1);
    background-image: url('photos/texture-map.png');
    background-size: 120% 100%;
    background-repeat: no-repeat;
    background-position: center center;
    pointer-events: none;
    z-index: 1;
}

.countdown-box {
    max-width: 1300px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    padding: 0 20px 40px;
}

/* Red frame — full rectangle */
.countdown-box::after {
    content: '';
    position: absolute;
    top: 30%;
    left: 40px;
    right: 40px;
    bottom: 0;
    border: 3px solid var(--red);
    pointer-events: none;
}

.countdown-numbers {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 0;
    position: relative;
    z-index: 1;
    background: var(--dark-blue);
    padding: 0 40px;
    margin: 0 auto;
    width: -webkit-fit-content;
    width: fit-content;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-value {
    font-size: clamp(70px, 18vw, 220px);
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    letter-spacing: -3px;
}

.countdown-label {
    font-size: clamp(14px, 2vw, 24px);
    font-weight: 600;
    color: var(--white);
    letter-spacing: 6px;
    margin-top: 10px;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.countdown-sep {
    font-size: clamp(70px, 18vw, 220px);
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    align-self: flex-start;
    margin: 0 -2px;
    position: relative;
    z-index: 1;
}

.countdown-caption {
    font-size: clamp(20px, 3.5vw, 38px);
    font-weight: 800;
    color: var(--white);
    letter-spacing: 4px;
    margin-top: 20px;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

/* ===== ABOUT / О КНИГЕ ===== */
.about-section {
    padding: 60px 0 50px;
    background: var(--white);
    position: relative;
    z-index: 2;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.about-lead {
    font-size: 24px !important;
    line-height: 1.6 !important;
    margin-bottom: 18px !important;
}

.about-left p,
.about-right p {
    font-size: 22px;
    line-height: 1.7;
    margin-bottom: 18px;
    color: #222;
    font-weight: 500;
}

.video-placeholder {
    background: #000;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    overflow: hidden;
    position: relative;
}

/* Fallback for Safari < 15 that doesn't support aspect-ratio */
@supports not (aspect-ratio: 16/9) {
    .video-placeholder {
        padding-top: 56.25%;
        height: 0;
    }

    .video-placeholder>* {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}

.about-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-fullscreen-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 4px;
    padding: 8px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 5;
}

.video-placeholder:hover .video-fullscreen-btn {
    opacity: 1;
}

.video-fullscreen-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.video-stub {
    text-align: center;
    color: var(--white);
}

.video-stub span {
    display: block;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 4px;
}

.video-stub small {
    font-size: 14px;
    font-style: italic;
    opacity: 0.7;
}

/* ===== ПЛАВАЮЩАЯ КАРТА ===== */
.about-map-wrapper {
    position: relative;
    height: 0;
    z-index: 10;
}

.floating-map {
    position: absolute;
    left: 50%;
    top: -70px;
    transform: translateX(-50%);
    z-index: 10;
    pointer-events: none;
}

.floating-map::before {
    display: none;
}

.floating-map::after {
    display: none;
}

.map-label {
    position: absolute;
    top: 72%;
    right: 40%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.map-label-text {
    font-size: 18px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
    margin-bottom: 4px;
}

.map-label-line {
    display: block;
    width: 250px;
    height: 2px;
    background: #ffffff;
}

.floating-map img {
    height: 800px;
    width: auto;
}

/* ===== ФЛАГ + ГАГАУЗИЯ WRAPPER ===== */
.gagauzia-wrapper {
    background: #052641;
    position: relative;
    z-index: 1;
}

.gagauzia-flag-banner {
    width: 100%;
    line-height: 0;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

/* White rectangle covering area above the flag curve */
.gagauzia-flag-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: var(--white);
    z-index: 1;
}

.gagauzia-flag-banner img {
    width: 130%;
    max-width: none;
    display: block;
    margin-left: -10%;
    position: relative;
    z-index: 2;
}

/* ===== ГАГАУЗИЯ / MAP ===== */
.gagauzia-section {
    padding: 0 0 80px;
    background: transparent;
    position: relative;
    z-index: 1;
}

.gagauzia-layout {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 280px;
    align-items: start;
}

.gagauzia-left p,
.gagauzia-right p {
    font-size: 24px;
    line-height: 1.7;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.gagauzia-left {
    max-width: none;
    margin-left: 0;
    margin-top: -30px;
}

.gagauzia-right {
    max-width: none;
    margin-left: auto;
    padding-top: 230px;
    padding-left: 40px;
}

.gagauzia-left strong,
.gagauzia-right strong {
    color: var(--white);
}

.gagauzia-ato {
    display: none;
}



/* ===== QUOTE ===== */
.quote-section {
    padding: 160px 0;
    background: var(--white);
    position: relative;
    margin-top: -80px;
    margin-bottom: -80px;
}

.gagauzia-wrapper::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: 50%;
    width: 100vw;
    height: 500px;
    transform: translateX(-50%);
    background-image: url('photos/texture-map.png');
    background-size: 120% 100%;
    background-repeat: no-repeat;
    background-position: center center;
    z-index: 5;
    pointer-events: none;
}

.quote-grid {
    display: flex;
    align-items: center;
    padding: 0;
}

.quote-book-img {
    flex: 0 0 29%;
    max-width: 29%;
    margin-right: 0;
    margin-left: 300px;
    overflow: hidden;
}

.quote-book-img img {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0;
    clip-path: none;
}

.quote-text {
    flex: 1;
    position: relative;
    padding: 0 300px 0 0;
    margin-left: 0;
}

.quote-text-inner {
    display: block;
    position: relative;
    padding-left: 130px;
    padding-right: 0;
}

.quote-open-img {
    position: absolute;
    top: -50px;
    left: 0;
    width: 120px;
    height: auto;
    opacity: 0.5;
    user-select: none;
    pointer-events: none;
}

.quote-text-content {
    display: block;
}

.quote-close-img {
    position: absolute;
    bottom: -15px;
    right: -130px;
    width: 120px;
    height: auto;
    opacity: 0.5;
    user-select: none;
    pointer-events: none;
}

.quote-text p {
    font-size: 20px;
    line-height: 1.7;
    margin-bottom: 18px;
    color: #222;
    position: relative;
    z-index: 1;
    font-weight: 500;
}

.quote-text p.quote-signature {
    color: #c0392b;
}

.quote-text p strong {
    color: #111;
    font-weight: 700;
}

.quote-signature {
    font-style: italic;
    text-align: right;
    color: #c0392b !important;
    font-weight: 600;
    font-size: 18px;
    position: relative;
    z-index: 1;
}

/* ===== READER / PDF ===== */
.reader-section {
    background: var(--light-gray);
    padding: 60px 0;
    position: relative;
}

.quote-bottom-paper {
    position: relative;
    height: 0;
    z-index: 5;
}

.quote-bottom-paper::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    width: 100vw;
    height: 500px;
    transform: translateX(-50%);
    background-image: url('photos/texture-book.png');
    background-size: 120% 100%;
    background-repeat: no-repeat;
    background-position: center center;
    pointer-events: none;
}

.timeline-top-paper {
    position: relative;
    height: 0;
    z-index: 5;
}

.timeline-top-paper::before {
    content: '';
    position: absolute;
    top: -420px;
    left: 50%;
    width: 100vw;
    height: 500px;
    transform: translateX(-50%);
    background-image: url('photos/texture-feedback.png');
    background-size: 120% 100%;
    background-repeat: no-repeat;
    background-position: center center;
    pointer-events: none;
}

.letter-top-paper {
    position: relative;
    height: 0;
    z-index: 5;
}

.letter-top-paper::before {
    content: '';
    position: absolute;
    top: -420px;
    left: 50%;
    width: 110vw;
    height: 500px;
    transform: translateX(-50%) rotate(2deg);
    background-image: url('photos/texture-feedback.png');
    background-size: 120% 100%;
    background-repeat: no-repeat;
    background-position: center center;
    pointer-events: none;
}

.torn-edge-top,
.torn-edge-bottom {
    display: none;
}

.torn-edge-top {
    top: -1px;
}

.torn-edge-bottom {
    bottom: -1px;
    transform: rotate(180deg);
}

.reader-label {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 16px;
    font-style: italic;
}

.reader-content {
    background: var(--white);
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.reader-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}

.reader-nav-pill {
    display: flex;
    align-items: center;
    gap: 56px;
    background: #f0f0f0;
    border-radius: 999px;
    padding: 18px 52px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.10);
}

.reader-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: #1a1a1a;
    cursor: pointer;
    padding: 0;
    transition: opacity 0.2s;
}

.reader-arrow:hover {
    opacity: 0.45;
}

.reader-arrow:disabled {
    opacity: 0.2;
    cursor: default;
}

.download-center {
    text-align: center;
}

.btn-download-big {
    display: inline-block;
    background: #e02020;
    color: var(--white);
    font-size: 26px;
    font-weight: 800;
    padding: 22px 64px;
    border-radius: 50px;
    letter-spacing: 2px;
    transition: background 0.2s;
    text-transform: uppercase;
}

.btn-download-big:hover {
    background: #b91c1c;
}

/* ===== REVIEWS ===== */
.reviews-section {
    padding: 100px 0 140px;
    background: #052641;
    position: relative;
    overflow: visible;
    margin-top: -80px;
    clip-path: polygon(0 0, 100% 80px, 100% 100%, 0 100%);
    padding-top: 160px;
}

.reviews-big-quote {
    position: absolute;
    top: 80px;
    right: 40px;
    width: 200px;
    height: auto;
    opacity: 0.3;
    pointer-events: none;
    z-index: 10;
    filter: brightness(0) invert(1);
}

.reviews-title {
    font-family: var(--font-serif);
    font-size: 58px;
    font-style: italic;
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.reviews-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.review-card {
    position: relative;
    padding-left: 60px;
}

.review-quote-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 44px;
    height: auto;
}

.review-card p {
    font-size: 18px;
    line-height: 1.75;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.review-author {
    font-size: 22px !important;
    margin-top: 24px;
    text-align: right;
    color: var(--white) !important;
}

/* ===== TIMELINE ===== */
.timeline-section {
    padding: 80px 0;
    background: var(--white);
}

.timeline-title {
    font-size: 38px;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 60px;
    color: #1a2744;
    letter-spacing: 0.5px;
    line-height: 1.25;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

/* Base timeline item — two-column grid */
.timeline-item {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 30px;
    align-items: start;
    margin: 0;
    padding: 0;
}

.timeline-today {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timeline-img {
    padding-bottom: 50px;
}

.timeline-item::before,
.timeline-item::after {
    display: none;
}

/* Left layout: text LEFT, image RIGHT (шахматка — фото справа) */
.timeline-left .timeline-content {
    text-align: right;
    padding: 0;
}

.timeline-left .timeline-img img {
    margin: 0;
}

/* Right layout: image LEFT, text RIGHT (шахматка — фото слева) */
.timeline-right {
    grid-template-columns: 3fr 2fr;
}

.timeline-right .timeline-content {
    text-align: left;
    padding: 0;
}

.timeline-right .timeline-img img {
    margin: 0;
}

/* (center-right removed — using standard left/right only) */

.timeline-date {
    font-size: 28px;
    font-weight: 900;
    color: #1a3a6b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 24px;
    line-height: 1.45;
    color: #333;
    font-weight: 400;
}

.timeline-img img {
    width: 100%;
    max-width: 100%;
    border-radius: 3px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.10);
}

/* Timeline arrows — inline inside .timeline-content, below text */
.timeline-arrow {
    width: 180px;
    height: auto;
    margin-top: 15px;
    display: inline-block;
}

.timeline-arrow.arrow-from-right {
    margin-right: 40px;
}

.timeline-arrow.arrow-from-left {
    transform: scaleX(-1);
    margin-left: 40px;
}

/* Timeline expandable */
.timeline-expandable {
    margin: 0;
    position: relative;
    z-index: 4;
}

.timeline-expand-trigger {
    text-align: center;
    cursor: pointer;
    padding: 24px 0 16px;
    position: relative;
    z-index: 4;
}

.timeline-expand-trigger::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -120px;
    height: 120px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.95) 100%);
    pointer-events: none;
    z-index: 5;
}

.timeline-expand-trigger>* {
    position: relative;
    z-index: 6;
}

.timeline-expand-trigger .expand-arrow {
    transform: none;
}

.timeline-expand-trigger p {
    display: none;
}

.expand-text {
    display: block;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.timeline-expand-trigger.expanded .expand-text::after {
    content: '';
}

.expand-arrow {
    display: inline-block;
    width: 56px;
    height: auto;
    transition: transform 0.3s;
    animation: bounceDown 1.5s ease-in-out infinite;
}

.timeline-expand-trigger.expanded .expand-arrow {
    transform: rotate(180deg);
    animation: none;
}

.timeline-expand-trigger.expanded::before {
    display: none;
}

@keyframes bounceDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}

.timeline-hidden {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s ease;
}

.timeline-hidden.visible {
    max-height: 10000px;
}

/* ===== CASE / ДЕЛО ===== */
.case-section {
    padding: 80px 0 0;
    background: var(--white);
    margin-bottom: -1px;
}

.case-today-title {
    text-align: center;
    font-size: 52px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 6px;
}

.case-today-sub {
    text-align: center;
    font-size: 22px;
    color: var(--text-gray);
    margin-bottom: 48px;
    font-style: italic;
}

.case-stats {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: #052641;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    overflow: visible;
    margin-top: 60px;
    padding-top: 0;
    padding-bottom: 40px;
}

.case-stats::before {
    content: '';
    position: absolute;
    top: -79px;
    left: 0;
    right: 0;
    height: 80px;
    background: #052641;
    clip-path: polygon(0 0, 0 100%, 100% 100%);
}

.case-stats::after {
    content: '';
    position: absolute;
    bottom: -220px;
    left: 50%;
    width: 100vw;
    height: 250px;
    transform: translateX(-50%);
    background-image: url('photos/texture-book.png');
    background-size: 120% 100%;
    background-repeat: no-repeat;
    background-position: center center;
    z-index: 10;
    pointer-events: none;
}

.case-stats-bg {
    display: none;
}

.case-stats-overlay {
    display: none;
}

.case-stats-content {
    padding: 50px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
}

.case-photo {
    position: relative;
    overflow: hidden;
    margin-top: -40px;
    margin-bottom: -80px;
}

.case-photo img {
    width: 100%;
    height: calc(100% + 100px);
    object-fit: cover;
    object-position: center top;
    display: block;
    min-height: 600px;
    clip-path: polygon(5% 0, 100% 0, 100% 100%, 20% 100%);
}

.case-label-big {
    font-size: 64px;
    font-weight: 900;
    color: var(--red);
    text-transform: uppercase;
    margin-bottom: 30px;
    font-style: italic;
    letter-spacing: 1px;
    display: block;
}

.case-stat {
    display: flex;
    align-items: baseline;
    gap: 20px;
    margin-bottom: 20px;
}

.case-stat:nth-child(3) {
    align-self: flex-end;
}

.case-big-number {
    font-size: 110px;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    font-style: italic;
}

.case-stat-label {
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    font-style: italic;
}

.case-no-evidence {
    font-size: 40px;
    color: var(--white);
    margin-top: 30px;
    margin-bottom: 16px;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.25;
}

.case-witness {
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 28px !important;
    line-height: 1.5;
    font-style: italic;
}

.case-number-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 40px;
}

.case-number-block p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
}

/* ===== EUROPE ===== */
.europe-section {
    padding: 80px 0 150px;
    background: #052641;
    color: var(--white);
}

.europe-title {
    font-size: 52px;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 60px;
    letter-spacing: 2px;
    color: var(--white);
}

.europe-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 44px;
}

.europe-grid p {
    font-size: 24px;
    line-height: 1.7;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.85);
    font-style: normal;
    font-weight: 500;
}

/* ===== LETTER ===== */
.letter-section {
    padding: 160px 0 80px;
    background: var(--white);
    overflow-x: hidden;
    position: relative;
    margin-top: -80px;
    clip-path: polygon(0 0, 100% 80px, 100% 100%, 0 100%);
}

.letter-title {
    font-size: 34px;
    font-weight: 400;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 48px;
    letter-spacing: 1px;
}

.letter-reader {
    max-width: 1600px;
    margin: 0 auto;
}

.book-reader {
    max-width: 1600px;
    margin: 0 auto;
}

.book-pdf-download {
    text-align: center;
    margin-top: 24px;
}

/* fullscreen for book reader */
#book-reader.pdf-is-fullscreen {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    width: 100dvw;
    height: 100vh;
    height: 100dvh;
    max-width: 100vw;
    z-index: 9999;
    background: #111;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 24px 16px;
    box-sizing: border-box;
    overflow: auto;
}

#book-reader.pdf-is-fullscreen .pdf-viewer-wrap {
    width: 100%;
    max-width: 100%;
    margin-bottom: 0;
    box-shadow: none;
}

#book-reader.pdf-is-fullscreen .pdf-viewer-wrap::after {
    display: none;
}

#book-reader.pdf-is-fullscreen canvas {
    max-height: calc(100vh - 110px);
    max-width: 100%;
}

#book-reader.pdf-is-fullscreen .reader-nav {
    margin-bottom: 0;
    margin-top: 20px;
}

#book-reader.pdf-is-fullscreen .reader-nav-pill {
    background: rgba(255, 255, 255, 0.12);
}

#book-reader.pdf-is-fullscreen .reader-arrow,
#book-reader.pdf-is-fullscreen .pdf-fullscreen-btn {
    color: #fff;
}

#book-reader.pdf-is-fullscreen .book-pdf-download {
    display: none;
}

.letter-pages {
    display: flex;
    gap: 8px;
    background: var(--text-dark);
    padding: 16px;
    margin-bottom: 24px;
}

.letter-page {
    width: 50%;
}

.pdf-viewer-wrap {
    background: transparent;
    padding: 0 0 0 0;
    margin-bottom: 52px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: 300px;
    position: relative;
    border-radius: 2px 2px 0 0;
}

/* pseudo-element that creates the curved "ground shadow" beneath the doc */
.pdf-viewer-wrap::after {
    content: '';
    position: absolute;
    bottom: -28px;
    left: 6%;
    right: 6%;
    height: 28px;
    background: radial-gradient(ellipse at 50% 0%, rgba(0, 0, 0, 0.18) 0%, transparent 80%);
    pointer-events: none;
}

/* fullscreen state */
.pdf-viewer-wrap.pdf-is-fullscreen {
    padding: 0;
    align-items: center;
}

.pdf-viewer-wrap.pdf-is-fullscreen canvas {
    max-height: 100vh;
    max-width: 100vw;
}

/* fullscreen on the reader container */
#letter-reader.pdf-is-fullscreen {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    width: 100dvw;
    height: 100vh;
    height: 100dvh;
    max-width: 100vw;
    z-index: 9999;
    background: #111;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 24px 16px;
    box-sizing: border-box;
    overflow: auto;
}

#letter-reader.pdf-is-fullscreen .pdf-viewer-wrap {
    width: 100%;
    max-width: 100%;
    margin-bottom: 0;
    box-shadow: none;
}

#letter-reader.pdf-is-fullscreen .pdf-viewer-wrap::after {
    display: none;
}

#letter-reader.pdf-is-fullscreen canvas {
    max-height: calc(100vh - 110px);
    max-width: 100%;
}

#letter-reader.pdf-is-fullscreen .reader-nav {
    margin-bottom: 0;
    margin-top: 20px;
}

#letter-reader.pdf-is-fullscreen .reader-nav-pill {
    background: rgba(255, 255, 255, 0.12);
}

#letter-reader.pdf-is-fullscreen .reader-arrow,
#letter-reader.pdf-is-fullscreen .pdf-fullscreen-btn {
    color: #fff;
}

#letter-reader.pdf-is-fullscreen .letter-pdf-download {
    display: none;
}

/* fullscreen toggle button – now lives inside the nav pill */
.pdf-fullscreen-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #1a1a1a;
}

.pdf-viewer-wrap canvas {
    display: none;
    max-width: 100%;
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.18),
        0 16px 48px rgba(0, 0, 0, 0.12);
    border-radius: 1px;
}

.pdf-loader {
    color: rgba(0, 0, 0, 0.45);
    font-family: var(--font-main);
    font-size: 15px;
    letter-spacing: 0.5px;
    padding: 40px 0;
    text-align: center;
}


.letter-pdf-download {
    text-align: center;
    margin-top: 24px;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--darker-blue);
    border-top: none;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-logo .logo-title {
    font-size: 20px;
    letter-spacing: 2.5px;
}

.footer-logo .logo-sub {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 600;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

@media (max-width: 500px) {
    .footer-inner {
        flex-direction: column !important;
        align-items: center !important;
    }

    .footer-right {
        justify-content: center !important;
    }
}

.footer-press {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

.footer-press:hover {
    color: var(--white);
}

.footer-scroll-top {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-arrow-up {
    width: 40px;
    height: auto;
    opacity: 0.8;
    transition: opacity 0.2s;
    filter: invert(1);
}

.footer-scroll-top:hover .footer-arrow-up {
    opacity: 1;
}

.footer-scroll-top:hover {
    opacity: 1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-text h1 {
        font-size: 32px;
    }

    .about-grid,
    .gagauzia-grid,
    .reviews-grid,
    .case-stats-inner {
        grid-template-columns: 1fr;
    }

    .quote-grid {
        flex-direction: column;
    }

    .quote-book-img {
        flex: 0 0 auto;
        max-width: 100%;
    }

    .europe-grid {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .timeline-right {
        grid-template-columns: 1fr;
    }

    .timeline-left .timeline-content,
    .timeline-right .timeline-content {
        text-align: left;
        padding: 0;
        order: 1;
    }

    .timeline-left .timeline-img,
    .timeline-right .timeline-img {
        order: 2;
    }

    .timeline-left .timeline-img img,
    .timeline-right .timeline-img img {
        margin: 0;
    }

    .timeline-arrow {
        width: 50px !important;
    }

    .letter-reader {
        max-width: 100%;
        padding: 0 16px;
        box-sizing: border-box;
    }

    .reader-nav-pill {
        padding: 14px 36px;
        gap: 40px;
    }
}

@media (max-width: 1024px) {
    .main-nav {
        display: none;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--darker-blue);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
    }

    .main-nav.open {
        display: flex;
    }

    .burger {
        display: flex;
    }

    .hero-inner {
        flex-direction: column;
        min-height: auto;
        position: static;
    }

    .hero-image {
        width: 100%;
    }

    .hero-image img {
        height: 400px;
    }

    .hero-text {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 24px;
        margin: 0 auto;
        padding: 14px 18px;
        text-align: center;
        max-width: 100%;
        background: rgba(0, 0, 0, 0.25);
        border-radius: 8px;
        z-index: 2;
    }

    .hero-text h1 {
        font-size: 26px;
        margin-bottom: 8px;
        line-height: 1;
    }

    .hero-subtitle {
        font-size: 16px;
        line-height: 1.25;
        color: rgba(255, 255, 255, 0.85);
    }

    /* Второй слайд (30 ПИСЕМ) — минимальные паддинги по бокам */
    .letters-section .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
        margin-left: 0 !important;
    }

    .quote-grid {
        grid-template-columns: 1fr;
    }

    .quote-book-img {
        text-align: center;
    }

    .quote-book-img img {
        max-width: 80%;
        margin: 0 auto;
    }

    .reviews-title {
        font-size: 32px;
    }

    .timeline-title {
        font-size: 22px;
    }

    .case-label-big {
        font-size: 32px;
    }

    .case-big-number {
        font-size: 56px;
    }

    .letter-pages {
        flex-direction: column;
    }

    .letter-page {
        width: 100%;
    }

    .letter-title {
        font-size: 22px;
    }

    .europe-title {
        font-size: 20px;
    }

    .big-quote-icon {
        font-size: 120px;
    }

    .footer-inner {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
        padding: 28px 24px;
    }

    .footer-logo {
        flex: 1 1 auto;
    }

    .footer-press {
        order: 0;
    }

    .footer-scroll-top {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .letter-reader {
        padding: 0 8px;
    }

    .reader-nav-pill {
        gap: 28px;
        padding: 12px 28px;
    }

    .reader-arrow {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 16px;
        line-height: 1.25;
    }



    .btn-download-big {
        font-size: 16px;
        padding: 14px 32px;
    }

    .reader-nav-pill {
        gap: 20px;
        padding: 10px 20px;
    }

    .reader-arrow {
        font-size: 20px;
    }

    .letter-title {
        font-size: 18px;
    }
}

/* ============================================
   ГЛОБАЛЬНЫЕ ПРАВКИ
   ============================================ */

/* 1. Убираем декоративный курсив со всего сайта */
.letters-title,
.letters-text,
.about-section p,
.gagauzia-left p,
.gagauzia-right p,
.quote-text-content p,
.quote-signature,
.timeline-title,
.timeline-text,
.timeline-date,
.case-today-title,
.case-today-sub,
.case-label-big,
.case-big-number,
.case-stat-label,
.case-no-evidence,
.case-witness,
.europe-title,
.europe-card p,
.europe-card h3,
.letter-title,
.letter-text,
.reviews-title,
.reviews-card,
.reviews-card p,
.video-stub small,
.map-label-text {
    font-style: normal !important;
}

/* 2. Снижаем чрезмерно жирные начертания до medium/semibold */
body,
body p,
body li,
body span:not([class*="title"]):not([class*="big"]):not([class*="number"]):not([class*="value"]) {
    font-weight: 500;
}

body strong,
body b {
    font-weight: 500;
}

/* Заголовки с 900/800 → 700 */
.letters-title,
.timeline-title,
.case-today-title,
.case-label-big,
.case-no-evidence,
.europe-title,
.reviews-title,
.timeline-date,
.countdown-caption {
    font-weight: 700;
}

/* Большие числа оставляем потяжелее, но не максимально */
.case-big-number,
.countdown-value,
.countdown-sep {
    font-weight: 800;
}

/* Кнопки и навигация */
.btn-download-big,
.btn-download-nav,
.btn-download-hero {
    font-weight: 600 !important;
}

/* Hero не трогаем — там декоративный жирный по дизайну */

/* 3. Мобилка для блока письма депутатам */
@media (max-width: 1024px) {
    .letter-section {
        padding: 100px 16px 60px;
        clip-path: polygon(0 0, 100% 40px, 100% 100%, 0 100%);
        margin-top: -40px;
    }

    .letter-top-paper::before {
        top: -200px;
        height: 280px;
    }
}

@media (max-width: 768px) {
    .letter-section {
        padding: 80px 12px 40px;
        clip-path: polygon(0 0, 100% 30px, 100% 100%, 0 100%);
        margin-top: -30px;
    }

    .letter-section .container {
        padding: 0;
    }

    .letter-title {
        font-size: 22px;
        line-height: 1.3;
        padding: 0 8px;
    }

    .letter-top-paper::before {
        top: -160px;
        height: 220px;
    }

    .letter-pdf-download {
        font-size: 13px;
        padding: 8px 14px;
    }

    .letter-reader .pdf-viewer-wrap canvas {
        max-width: 100%;
        height: auto !important;
    }
}

@media (max-width: 480px) {
    .letter-section {
        padding: 60px 8px 32px;
    }

    .letter-title {
        font-size: 18px;
    }

    .letter-top-paper::before {
        top: -130px;
        height: 180px;
    }
}

/* ============================================
   АНИМАЦИИ
   ============================================ */

/* 1. Появление при скролле */
.reveal {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    will-change: opacity, transform;
}

.reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    will-change: auto;
}

.reveal-left {
    opacity: 0;
    transform: translate3d(-30px, 0, 0);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.reveal-left.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.reveal-right {
    opacity: 0;
    transform: translate3d(30px, 0, 0);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.reveal-right.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.97);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.reveal-scale.is-visible {
    opacity: 1;
    transform: scale(1);
}

/* Поэтапная задержка для каскада */
.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

/* Уважение к prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {

    .reveal,
    .reveal-left,
    .reveal-right,
    .reveal-scale {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* 2. Hover-микроанимации */
.btn-download-big,
.btn-download-nav,
.btn-download-hero {
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-download-big:hover,
.btn-download-nav:hover,
.btn-download-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(224, 32, 32, 0.35);
}

.btn-download-big:active,
.btn-download-nav:active,
.btn-download-hero:active {
    transform: translateY(0);
}

/* Навигационные ссылки в хедере */
.main-nav a {
    position: relative;
    transition: color 0.2s ease;
}

.main-nav a:not(.btn-download-nav)::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 0.3s ease;
}

.main-nav a:not(.btn-download-nav):hover::after {
    transform: scaleX(1);
    transform-origin: left center;
}

/* Карточки отзывов */
.reviews-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reviews-card:hover {
    transform: translateY(-4px);
}

/* Таймлайн пункты */
.timeline-item {
    transition: transform 0.3s ease;
}

.timeline-item:hover {
    transform: translateX(6px);
}

/* Картинка книги в quote и hero — лёгкий зум */
.quote-book-img img,
.hero-book-img img {
    transition: transform 0.6s ease;
}

.quote-book-img:hover img,
.hero-book-img:hover img {
    transform: scale(1.03);
}

/* Логотип */
.logo {
    transition: opacity 0.2s ease;
}

.logo:hover {
    opacity: 0.85;
}

/* Стрелка наверх в футере */
.footer-scroll-top {
    transition: transform 0.3s ease;
}

.footer-scroll-top:hover {
    transform: translateY(-4px);
}

/* Языковой переключатель */
.lang-option {
    transition: color 0.2s ease, transform 0.2s ease;
}

.lang-option:hover {
    transform: scale(1.1);
}

/* Кнопка "Читать письмо депутатам" */
.letter-pdf-download {
    transition: background 0.2s ease, transform 0.2s ease;
}

.letter-pdf-download:hover {
    transform: translateY(-2px);
}


/* ============================================
   МОБИЛЬНЫЕ ИСПРАВЛЕНИЯ (1-4)
   ============================================ */

@media (max-width: 1024px) {

    /* 1. Карта на мобилке — показываем before блока Гагаузии в нормальном потоке */
    .about-map-wrapper {
        display: none !important;
    }

    .gagauzia-mobile-map {
        display: block !important;
        text-align: center;
        margin: 0 auto 20px;
        padding: 0 16px;
    }

    .gagauzia-mobile-map img {
        width: 95%;
        max-width: 420px;
        height: auto;
        margin: 0 auto;
        display: block;
    }

    .gagauzia-mobile-label {
        margin-top: 8px;
        text-align: center;
    }

    .gagauzia-mobile-label .map-label-text {
        font-size: 14px;
        font-style: italic;
        color: rgba(255, 255, 255, 0.7);
        white-space: nowrap;
        display: inline-block;
        margin-bottom: 6px;
    }

    .gagauzia-mobile-label .map-label-line {
        display: block;
        width: 160px;
        height: 1px;
        background: rgba(255, 255, 255, 0.5);
        margin: 0 auto;
    }

    /* 4. Дело в цифрах — на двух колонках уже узко, делаем одну */
    .case-stats {
        grid-template-columns: 1fr !important;
    }

    /* Фото Гуцул внизу блока, обрезка по высоте */
    .case-photo {
        display: block !important;
        margin: 0 !important;
        max-height: 360px;
        overflow: hidden;
    }

    .case-photo img {
        clip-path: none !important;
        object-fit: cover;
        object-position: center top;
        height: 360px !important;
        min-height: 0 !important;
    }

    .case-stats-content {
        padding: 50px 24px !important;
    }

    .case-label-big {
        font-size: 56px !important;
    }

    .case-big-number {
        font-size: 110px !important;
    }

    .case-stat-label {
        font-size: 32px !important;
    }

    .case-no-evidence {
        font-size: 32px !important;
    }

    .case-witness {
        font-size: 18px !important;
    }
}

@media (max-width: 768px) {

    /* 2. О книге — адаптив */
    .about-section {
        padding: 40px 0 30px;
    }

    .about-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    .about-section .container {
        padding: 0 16px;
    }

    .about-lead {
        font-size: 18px !important;
        line-height: 1.5 !important;
        margin-bottom: 14px !important;
    }

    .about-left p,
    .about-right p {
        font-size: 16px !important;
        line-height: 1.55 !important;
        margin-bottom: 14px !important;
    }

    .video-placeholder {
        margin-bottom: 16px;
    }

    .video-fullscreen-btn {
        opacity: 1;
    }

    /* 3. Стрелки в хронологии скрыть */
    .timeline-arrow {
        display: none !important;
    }

    /* 4. Дело в цифрах — мобильные размеры */
    .case-section {
        padding: 24px 0 0 !important;
    }

    .case-today-title {
        font-size: 32px !important;
        letter-spacing: 3px !important;
        margin-bottom: 6px !important;
    }

    .case-today-sub {
        font-size: 16px !important;
        margin-bottom: 60px !important;
        margin-top: 0 !important;
        padding: 0 16px !important;
        text-align: center !important;
    }

    .case-stats-content {
        padding: 40px 16px !important;
    }

    .case-label-big {
        font-size: 36px !important;
        margin-bottom: 18px !important;
    }

    .case-stat {
        gap: 14px !important;
        margin-bottom: 14px !important;
    }

    .case-big-number {
        font-size: 72px !important;
    }

    .case-stat-label {
        font-size: 22px !important;
    }

    .case-no-evidence {
        font-size: 24px !important;
        margin-top: 18px !important;
    }

    .case-witness {
        font-size: 14px !important;
        line-height: 1.4 !important;
    }

    .case-stats::after {
        bottom: -90px !important;
        height: 130px !important;
    }
}

@media (max-width: 480px) {
    .about-section .container {
        padding: 0 12px;
    }

    .about-lead {
        font-size: 16px !important;
    }

    .about-left p,
    .about-right p {
        font-size: 15px !important;
    }

    .case-today-title {
        font-size: 26px !important;
        letter-spacing: 2px !important;
    }

    .case-label-big {
        font-size: 28px !important;
    }

    .case-big-number {
        font-size: 58px !important;
    }

    .case-stat-label {
        font-size: 18px !important;
    }

    .case-no-evidence {
        font-size: 20px !important;
    }
}


/* ============================================
   МОБИЛКА: ГАГАУЗИЯ + ЦИТАТА КНИГИ
   ============================================ */

@media (max-width: 1024px) {

    /* Гагаузия — сворачиваем сетку и убираем гигантские отступы */
    .gagauzia-section {
        padding: 30px 0 60px !important;
        background: var(--dark-blue) !important;
    }

    .gagauzia-wrapper {
        background: var(--dark-blue);
    }

    .gagauzia-flag-banner {
        display: block !important;
    }

    .gagauzia-layout {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        padding: 0 20px !important;
    }

    .gagauzia-left,
    .gagauzia-right {
        margin: 0 !important;
        padding: 0 !important;
        max-width: 100% !important;
    }

    .gagauzia-left p,
    .gagauzia-right p {
        font-size: 17px !important;
        line-height: 1.55 !important;
        margin-bottom: 14px !important;
        color: rgba(255, 255, 255, 0.92) !important;
    }

    /* Цитата с книгой */
    .quote-section {
        padding: 80px 0 60px !important;
        clip-path: polygon(0 0, 100% 30px, 100% 100%, 0 100%) !important;
        margin-top: -30px !important;
        margin-bottom: 0 !important;
    }

    .quote-grid {
        flex-direction: column !important;
        gap: 24px;
        padding: 0 20px;
    }

    .quote-book-img {
        flex: 0 0 auto !important;
        max-width: 60% !important;
        margin: 0 auto !important;
        overflow: visible !important;
    }

    .quote-book-img img {
        width: 100% !important;
        margin: 0 !important;
    }

    .quote-text {
        flex: 1 1 auto;
        width: 100%;
    }

    .quote-text-inner {
        padding: 0;
    }

    .quote-text p {
        font-size: 16px !important;
        line-height: 1.55 !important;
        margin-bottom: 14px;
    }

    .quote-open-img,
    .quote-close-img {
        width: 50px !important;
        height: auto !important;
    }

    .quote-signature {
        text-align: left !important;
        font-size: 14px !important;
    }
}

@media (max-width: 768px) {
    .gagauzia-section {
        padding: 24px 0 40px !important;
    }

    .gagauzia-left p,
    .gagauzia-right p {
        font-size: 15px !important;
    }

    .quote-section {
        padding: 60px 0 40px !important;
    }

    .quote-book-img {
        max-width: 70% !important;
    }

    .quote-text p {
        font-size: 15px !important;
    }
}

@media (max-width: 480px) {

    .gagauzia-left p,
    .gagauzia-right p {
        font-size: 14px !important;
    }

    .quote-book-img {
        max-width: 80% !important;
    }

    .quote-text p {
        font-size: 14px !important;
    }
}


/* ============================================
   ФИНАЛЬНЫЕ МОБИЛЬНЫЕ ФИКСЫ
   ============================================ */

@media (max-width: 1024px) {

    /* Цитата — убираем огромные внутренние паддинги, текст занимает всю ширину */
    .quote-text {
        padding: 0 !important;
        margin: 0 !important;
        flex: 1 1 auto !important;
        width: 100% !important;
    }

    .quote-text-inner {
        padding: 0 !important;
    }

    .quote-open-img {
        position: static !important;
        width: 40px !important;
        margin-bottom: 8px;
        opacity: 0.4;
    }

    .quote-close-img {
        position: static !important;
        width: 40px !important;
        margin-top: 8px;
        margin-left: auto;
        display: block;
        opacity: 0.4;
    }

    .quote-text-content {
        padding: 0;
    }

    .quote-grid {
        padding: 0 20px !important;
    }

    .quote-book-img {
        flex: 0 0 auto !important;
        max-width: 80% !important;
        margin: 0 auto 24px !important;
        text-align: center !important;
    }

    .quote-book-img img {
        width: 100% !important;
        margin: 0 auto !important;
        max-width: 380px !important;
    }

    /* Гагаузия — задний фон гарантированно тёмный */
    .gagauzia-wrapper,
    .gagauzia-section {
        background: var(--dark-blue) !important;
    }
}

/* Отключаем reveal-анимации полностью на мобилке (главная причина лагов) */
@media (max-width: 1024px) {

    .reveal,
    .reveal-left,
    .reveal-right,
    .reveal-scale {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        will-change: auto !important;
    }
}


/* На мобилке текстуры/бумаги портят верстку — упрощаем */
@media (max-width: 1024px) {

    /* Письма-текстуры адаптируем, а не убираем */
    .quote-bottom-paper::before {
        height: 220px !important;
        top: -40px !important;
        background-size: 200% 100% !important;
    }

    .timeline-top-paper::before {
        height: 220px !important;
        top: -180px !important;
        background-size: 200% 100% !important;
    }

    .letter-top-paper::before {
        height: 220px !important;
        top: -180px !important;
        background-size: 200% 100% !important;
        transform: translateX(-50%) rotate(1deg) !important;
    }

    .letters-section::before {
        top: -50px !important;
        bottom: -140px !important;
        background-size: 150% 160% !important;
    }

    .case-stats::after {
        bottom: -120px !important;
        height: 180px !important;
        background-size: 200% 100% !important;
    }

    /* Сильные клипы убираем — на узких экранах ломают верстку */
    .countdown-section,
    .reviews-section,
    .europe-section,
    .reader-section,
    .letter-section,
    .quote-section {
        clip-path: none !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    /* 
    .letters-section {
        background: #fff !important;
    } */
}

@media (max-width: 768px) {

    .quote-bottom-paper::before,
    .timeline-top-paper::before,
    .letter-top-paper::before {
        height: 160px !important;
        background-size: 250% 100% !important;
    }

    .quote-bottom-paper::before {
        top: -30px !important;
    }

    .timeline-top-paper::before {
        top: -130px !important;
    }

    .letter-top-paper::before {
        top: -130px !important;
    }

    .letters-section::before {
        top: -90px !important;
        bottom: -110px !important;
    }

    .case-stats::after {
        bottom: -90px !important;
        height: 140px !important;
    }
}

@media (max-width: 480px) {

    .quote-bottom-paper::before,
    .timeline-top-paper::before,
    .letter-top-paper::before {
        height: 120px !important;
    }

    .quote-bottom-paper::before {
        top: -25px !important;
    }

    .timeline-top-paper::before {
        top: -100px !important;
    }

    .letter-top-paper::before {
        top: -100px !important;
    }

    .letters-section::before {
        top: -70px !important;
        bottom: -90px !important;
    }
}


/* ============================================
   ФИКС ГОРИЗОНТАЛЬНОЙ БЕЛОЙ ПОЛОСЫ НА МОБИЛКЕ
   (overflow-x: clip на html уже снимает большинство проблем)
   ============================================ */

@media (max-width: 1024px) {

    /* full-bleed элементы — переключаем с 100vw на 100% контейнера */
    .case-stats {
        width: 100% !important;
        margin-left: 0 !important;
    }

    .timeline-expand-trigger {
        margin-left: 0 !important;
        margin-right: 0 !important;
        transform: none !important;
    }

    .timeline-expand-trigger>* {
        transform: none !important;
    }

    /* Псевдоэлементы-текстуры: 100vw → 100% (никакого выхода за viewport) */
    .letters-section::before,
    .gagauzia-wrapper::after,
    .quote-bottom-paper::before,
    .timeline-top-paper::before,
    .case-stats::after {
        width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
    }

    .letter-top-paper::before {
        width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        transform: rotate(1deg) !important;
    }

    /* Quote — отрицательные отступы и абсолютные кавычки */
    .quote-text {
        padding: 0 !important;
    }

    .quote-close-img {
        right: 0 !important;
    }
}


/* ============================================
   QUOTE SECTION — ФИНАЛЬНЫЙ МОБИЛЬНЫЙ ПОЛИРОВКА
   ============================================ */

@media (max-width: 1024px) {

    /* +50px нижнего паддинга у gagauzia (предыдущий слайд) */
    .gagauzia-section {
        padding-bottom: 110px !important;
    }

    /* Бумага texture-map опущена на 50px ниже */
    .gagauzia-wrapper::after {
        bottom: -100px !important;
        height: 320px !important;
    }

    /* Книга: больше и по центру */
    .quote-book-img {
        flex: 0 0 auto !important;
        max-width: 92% !important;
        margin: 0 auto 28px !important;
        text-align: center !important;
        overflow: visible !important;
    }

    .quote-book-img img {
        width: 100% !important;
        max-width: 460px !important;
        margin: 0 auto !important;
    }

    /* Текст: 19px / 1.6 — комфортно для чтения */
    .quote-text p {
        font-size: 19px !important;
        line-height: 1.6 !important;
        margin-bottom: 16px !important;
    }

    .quote-signature {
        font-size: 16px !important;
        line-height: 1.5 !important;
    }

    .quote-grid {
        padding: 0 24px !important;
        gap: 28px !important;
    }
}

@media (max-width: 768px) {
    .gagauzia-section {
        padding-bottom: 90px !important;
    }

    .gagauzia-wrapper::after {
        bottom: -90px !important;
        height: 240px !important;
    }

    .quote-book-img img {
        max-width: 380px !important;
    }

    .quote-text p {
        font-size: 18px !important;
        line-height: 1.55 !important;
    }

    .quote-signature {
        font-size: 15px !important;
    }
}

@media (max-width: 480px) {
    .gagauzia-section {
        padding-bottom: 80px !important;
    }

    .gagauzia-wrapper::after {
        bottom: -80px !important;
        height: 180px !important;
    }

    .quote-book-img img {
        max-width: 340px !important;
    }

    .quote-text p {
        font-size: 17px !important;
        line-height: 1.5 !important;
    }

    .quote-grid {
        padding: 0 16px !important;
    }
}


/* Планшетная версия (1025-1280px) — quote должна быть в колонку, как на мобилке */
@media (max-width: 1280px) {
    .quote-grid {
        flex-direction: column !important;
        gap: 28px !important;
        padding: 0 24px !important;
        align-items: center !important;
    }

    .quote-book-img {
        flex: 0 0 auto !important;
        max-width: 70% !important;
        margin: 0 auto !important;
        text-align: center !important;
        overflow: visible !important;
    }

    .quote-book-img img {
        width: 100% !important;
        max-width: 480px !important;
        margin: 0 auto !important;
    }

    .quote-text {
        flex: 1 1 auto !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .quote-text-inner {
        padding: 0 !important;
    }

    .quote-text p {
        font-size: 19px !important;
        line-height: 1.6 !important;
    }

    .quote-open-img,
    .quote-close-img {
        position: static !important;
        width: 50px !important;
        opacity: 0.4;
    }

    .quote-close-img {
        margin-left: auto;
        display: block;
    }

    /* Бумага texture-map поднимается на 30px выше */
    .gagauzia-wrapper::after {
        bottom: -130px !important;
    }
}


/* Quote — финальная мобильная зачистка над книгой */
@media (max-width: 1024px) {
    .quote-section {
        clip-path: none !important;
        margin-top: 0 !important;
        padding: 40px 0 50px !important;
    }

    /* Кавычка над книгой не должна нависать */
    .quote-open-img {
        display: none !important;
    }

    /* Книга — крупнее */
    .quote-book-img {
        max-width: 100% !important;
    }

    .quote-book-img img {
        max-width: 560px !important;
        width: 95% !important;
    }
}


/* ============================================
   ФИНАЛЬНЫЕ МОБИЛЬНЫЕ ПРАВКИ
   ============================================ */

/* Lang switch в шапке: на десктопе он внутри nav, на мобилке — отдельно слева от бургера */
.header-lang {
    display: none;
}

@media (min-width: 769px) {

    /* На десктопе теперь lang-switch вне .main-nav, но должен быть в правой части хедера рядом с навигацией */
    .header-lang {
        display: inline-flex;
        align-items: center;
        margin-left: 12px;
    }
}

@media (max-width: 1024px) {

    /* Hero на мобилке: видео остаётся, но уменьшаем высоту */
    .hero {
        min-height: 75vh !important;
    }

    .hero-inner {
        min-height: 75vh !important;
        align-items: flex-end !important;
        padding-bottom: 24px !important;
        position: static !important;
    }

    .hero-text {
        animation: none;
    }

    .hero-bg-desktop {
        object-position: 11% center !important;
    }

    /* Lang switch виден слева от бургера, прижатый к правому краю */
    .header-lang {
        display: inline-flex !important;
        align-items: center;
        margin-left: auto !important;
        margin-right: 12px;
    }

    .header-lang .lang-current {
        font-size: 13px;
    }

    /* Countdown — адаптация */
    .countdown-section {
        padding: 40px 0 50px;
    }

    .countdown-section::after {
        height: 250px !important;
        bottom: -50px !important;
    }

    .countdown-box {
        padding: 0 16px 24px;
        max-width: 100%;
        box-sizing: border-box;
    }

    .countdown-box::after {
        left: 16px;
        right: 16px;
        top: 50%;
        border-top: 0;
    }

    .countdown-numbers {
        padding: 0 !important;
        width: 100% !important;
        gap: 4px !important;
        justify-content: center !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 auto !important;
    }

    .countdown-item {
        flex: 0 1 auto;
        align-items: center;
    }

    .countdown-value {
        letter-spacing: 0 !important;
        font-size: 14vw !important;
        line-height: 1 !important;
    }

    .countdown-sep {
        font-size: 14vw !important;
        margin: 0 !important;
        letter-spacing: 0 !important;
    }

    .countdown-label {
        font-size: 10px !important;
        letter-spacing: 1.5px !important;
        margin-top: 6px !important;
    }

    .countdown-caption {
        margin-top: 14px;
        letter-spacing: 1.5px;
        padding: 0 12px;
        font-size: 13px !important;
    }
}

@media (max-width: 480px) {
    .countdown-box::after {
        left: 10px;
        right: 10px;
    }

    .countdown-section::after {
        height: 180px !important;
        bottom: -40px !important;
    }

    .countdown-value,
    .countdown-sep {
        font-size: 12vw !important;
    }

    .countdown-label {
        font-size: 9px !important;
        letter-spacing: 1px !important;
    }

    .countdown-caption {
        font-size: 11px !important;
        letter-spacing: 0.5px !important;
    }
}


/* ============================================
   ЕДИНЫЕ ПАДДИНГИ И ВЫРАВНИВАНИЕ НА МОБИЛКЕ
   ============================================ */

@media (max-width: 768px) {
    .container {
        padding: 0 20px !important;
    }

    /* Левое выравнивание текста (читабельнее чем justify) */
    .letters-text,
    .about-left p,
    .about-right p,
    .gagauzia-left p,
    .gagauzia-right p,
    .quote-text p,
    .review-card p,
    .europe-card p,
    .timeline-content p,
    .case-today-sub,
    .case-witness {
        text-align: left !important;
    }

    /* Заголовки по центру */
    .timeline-title,
    .europe-title,
    .case-today-title,
    .reviews-title,
    .letter-title {
        text-align: center !important;
    }

    /* 30 ПИСЕМ — выравнивается по левому краю */
    .letters-title,
    .letters-text {
        text-align: left !important;
    }

    /* Отступы секций — единые, компактные */
    .about-section,
    .gagauzia-section,
    .quote-section,
    .reader-section,
    .reviews-section,
    .timeline-section,
    .case-section,
    .europe-section,
    .letter-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Letters-section контейнер — сброс специального margin-left */
    .letters-section .container {
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        transform: none !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 6px !important;
    }

    .letters-section .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}


/* ============================================
   ЕДИНЫЙ РАЗМЕР ТЕКСТА НА ≤1024px (планшет + мобилка)
   ============================================ */

@media (max-width: 1024px) {

    /* Бургер и переключатель языка виден */
    .header-lang {
        display: inline-flex !important;
        align-items: center;
        margin-right: 12px;
    }
}


/* ============================================
   PDF READERS — на мобилке крупнее
   ============================================ */

@media (max-width: 1024px) {

    .letter-reader,
    .book-reader {
        max-width: 100% !important;
        padding: 0 !important;
    }

    .pdf-viewer-wrap {
        padding: 0 !important;
    }

    .pdf-viewer-wrap canvas {
        max-width: 100% !important;
        height: auto !important;
    }

    .reader-section .container,
    .letter-section .container {
        padding: 0 8px !important;
    }
}


/* ============================================
   ФИНАЛЬНЫЙ ОВЕРРАЙД: единая типографика на мобилке
   Перебивает все остальные правила выше
   ============================================ */

@media (max-width: 768px) {

    /* === Все абзацы и описания: 16px === */
    .letters-text,
    .letters-section p,
    .about-section p,
    .about-lead,
    .about-left p,
    .about-right p,
    .gagauzia-section p,
    .gagauzia-left p,
    .gagauzia-right p,
    .gagauzia-ato,
    .quote-section p,
    .quote-text p,
    .quote-text-content p,
    .quote-signature,
    .reader-section p,
    .reviews-section p,
    .review-card p,
    .review-author,
    .timeline-section p,
    .timeline-content p,
    .timeline-text,
    .timeline-expand-trigger p,
    .case-section p,
    .case-today-sub,
    .case-witness,
    .case-no-evidence,
    .case-stat-label,
    .case-number-block p,
    .europe-section p,
    .europe-grid p,
    .europe-card p,
    .europe-card h3,
    .letter-section p,
    .letter-text,
    .countdown-caption,
    .video-stub small {
        font-size: 16px !important;
        line-height: 1.6 !important;
    }

    /* === Все заголовки секций: 22px === */
    .letters-title,
    .timeline-title,
    .reviews-title,
    .case-today-title,
    .case-label-big,
    .europe-title,
    .letter-title,
    .timeline-date,
    .video-stub span {
        font-size: 22px !important;
        line-height: 1.3 !important;
    }

    /* === Большие числа countdown / case остаются вариативные === */
    /* (специальные правила выше уже их регулируют) */
}

@media (max-width: 480px) {

    .letters-text,
    .letters-section p,
    .about-section p,
    .about-lead,
    .about-left p,
    .about-right p,
    .gagauzia-section p,
    .gagauzia-left p,
    .gagauzia-right p,
    .gagauzia-ato,
    .quote-section p,
    .quote-text p,
    .quote-text-content p,
    .quote-signature,
    .reader-section p,
    .reviews-section p,
    .review-card p,
    .review-author,
    .timeline-section p,
    .timeline-content p,
    .timeline-text,
    .timeline-expand-trigger p,
    .case-section p,
    .case-today-sub,
    .case-witness,
    .case-no-evidence,
    .case-stat-label,
    .case-number-block p,
    .europe-section p,
    .europe-grid p,
    .europe-card p,
    .europe-card h3,
    .letter-section p,
    .letter-text,
    .countdown-caption,
    .video-stub small {
        font-size: 17px !important;
        line-height: 1.55 !important;
    }

    .letters-title,
    .timeline-title,
    .reviews-title,
    .case-today-title,
    .case-label-big,
    .europe-title,
    .letter-title,
    .timeline-date,
    .video-stub span {
        font-size: 19px !important;
        line-height: 1.25 !important;
    }
}


/* Блокировка скролла страницы когда PDF в псевдо-fullscreen (для iOS) */
body.pdf-fs-lock {
    overflow: hidden !important;
    position: fixed;
    width: 100%;
    height: 100%;
}


/* ============================================
   ПЛАНШЕТ (572-980px) — как мобилка, но шрифты крупнее
   ============================================ */

@media (min-width: 572px) and (max-width: 980px) {
    .hero-text h1 {
        font-size: 44px !important;
        margin-bottom: 14px !important;
    }

    .hero-subtitle {
        font-size: 16px !important;
        line-height: 1.45 !important;
    }

    .hero-text {
        padding: 14px 20px !important;
        text-align: center !important;
        margin: 0 auto !important;
        max-width: 90% !important;
    }

    .hero-inner {
        align-items: flex-end !important;
        justify-content: center !important;
        padding-bottom: 24px !important;
        flex-direction: column !important;
        min-height: 70vh !important;
        position: static !important;
    }

    .hero {
        min-height: 70vh !important;
    }

    .hero-text {
        position: absolute !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 24px !important;
        margin: 0 auto !important;
        max-width: 90% !important;
    }

    .hero-bg-desktop {
        object-position: 11% center !important;
    }

    /* Основной текст */
    .letters-text,
    .about-section p,
    .about-lead,
    .about-left p,
    .about-right p,
    .gagauzia-left p,
    .gagauzia-right p,
    .quote-text p,
    .review-card p,
    .europe-card p,
    .europe-card h3,
    .timeline-content p,
    .timeline-text,
    .case-today-sub,
    .case-witness,
    .countdown-caption,
    .letter-text {
        font-size: 19px !important;
        line-height: 1.55 !important;
    }

    /* Заголовки секций */
    .letters-title,
    .timeline-title,
    .reviews-title,
    .case-today-title,
    .europe-title,
    .letter-title {
        font-size: 28px !important;
        line-height: 1.3 !important;
    }
}


/* ============================================
   ОБЛЕГЧЁННЫЕ НАЧЕРТАНИЯ (refined typography)
   На светлых фонах — light, на тёмных — medium, заголовки — semibold
   ============================================ */

/* Базовый текст на светлых фонах — light/regular */
body,
body p,
body li,
body span,
.about-section p,
.about-left p,
.about-right p,
.about-lead,
.quote-text p,
.review-card p,
.review-author,
.timeline-content p,
.timeline-text,
.timeline-expand-trigger p,
.case-today-sub,
.case-witness,
.letters-text,
.letter-text,
.letters-section p,
.letter-section p,
.timeline-section p,
.case-section p {
    font-weight: 400 !important;
}

/* На тёмных фонах текст чуть толще для читаемости */
.gagauzia-section p,
.gagauzia-left p,
.gagauzia-right p,
.europe-section p,
.europe-card p,
.europe-grid p,
.case-stats p,
.case-no-evidence,
.case-stat-label,
.reviews-section p,
.countdown-caption {
    font-weight: 500 !important;
}

.gagauzia-section p,
.gagauzia-section b,
.reviews-section p,
.reviews-section b,
.europe-section p,
.europe-section b {
    font-weight: 400 !important;
}

/* Bold/Strong — semibold вместо bold */
body strong,
body b {
    font-weight: 500 !important;
}

/* Заголовки секций — semibold вместо heavy/black */
.letters-title,
.timeline-title,
.case-today-title,
.case-label-big,
.europe-title,
.letter-title,
.reviews-title,
.about-lead {
    font-weight: 600 !important;
}

/* Hero оставляем потяжелее (это decorative big title) */
.hero-text h1 {
    font-weight: 700 !important;
}

/* Большие числа — semibold (раньше 800-900) */
.case-big-number,
.countdown-value,
.countdown-sep,
.timeline-date {
    font-weight: 600 !important;
}

/* Кнопки */
.btn-download-big,
.btn-download-nav,
.btn-download-hero {
    font-weight: 600 !important;
}


/* ============================================
   ПЛОТНЕЕ МЕЖСТРОЧКА (компактнее, серьёзнее)
   ============================================ */

body,
body p,
body li,
body span,
.about-section p,
.about-left p,
.about-right p,
.about-lead,
.gagauzia-section p,
.gagauzia-left p,
.gagauzia-right p,
.quote-text p,
.quote-text-content p,
.quote-signature,
.review-card p,
.review-author,
.timeline-content p,
.timeline-text,
.timeline-expand-trigger p,
.case-section p,
.case-today-sub,
.case-witness,
.case-no-evidence,
.europe-section p,
.europe-card p,
.europe-grid p,
.letters-text,
.letter-text,
.letter-section p {
    line-height: 1.4 !important;
}

/* Заголовки — ещё плотнее */
.letters-title,
.timeline-title,
.case-today-title,
.case-label-big,
.europe-title,
.letter-title,
.reviews-title,
.hero-text h1 {
    line-height: 1.15 !important;
}


/* ============================================
   FAB: scroll to top
   ============================================ */

.scroll-top-fab {
    position: fixed;
    right: 20px;
    bottom: 20px;
    left: auto;
    top: auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(15, 30, 56, 0.7);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, background 0.2s ease;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.scroll-top-fab.visible {
    opacity: 0.85;
    pointer-events: auto;
}

.scroll-top-fab:hover {
    opacity: 1;
    background: rgba(15, 30, 56, 0.85);
}

@media (max-width: 768px) {
    .scroll-top-fab {
        right: 14px;
        bottom: 14px;
        width: 40px;
        height: 40px;
    }
}


/* Мобильная карта в синем блоке — только для мобилки */
.gagauzia-mobile-map {
    display: none;
}


/* Огромная кавычка в отзывах — скрыть на мобилке */
@media (max-width: 768px) {

    .reviews-big-quote,
    .review-quote-img {
        display: none !important;
    }

    .review-card {
        padding-left: 16px !important;
    }
}


/* ============================================
   ФИНАЛЬНЫЙ ОВЕРРАЙД — текстуры на мобилке (max-width: 768px)
   Используем десктопный подход: width: 100vw + translateX
   ============================================ */

@media (max-width: 768px) {

    .letters-section::before,
    .gagauzia-wrapper::after,
    .quote-bottom-paper::before,
    .timeline-top-paper::before,
    .letter-top-paper::before,
    .case-stats::after {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        width: 100vw !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        background-size: 120% 100% !important;
        background-position: center center !important;
    }

    /* Уменьшаем размеры под мобильный экран */
    .letters-section::before {
        top: -81px !important;
        bottom: -280px !important;
    }

    .quote-bottom-paper::before {
        height: 200px !important;
        top: -60px !important;
    }

    .timeline-top-paper::before {
        height: 200px !important;
        top: -160px !important;
    }

    .letter-top-paper::before {
        height: 200px !important;
        top: -160px !important;
    }

    .case-stats::after {
        height: 180px !important;
        bottom: -120px !important;
    }
}


/* Отзывы — уменьшаем паддинги на мобилке */
@media (max-width: 768px) {
    .reviews-section {
        padding: 50px 0 50px !important;
    }

    .reviews-grid {
        gap: 24px !important;
    }

    .review-card {
        padding: 12px 16px !important;
    }
}


/* Хронология — уменьшаем верхний паддинг на мобилке */
@media (max-width: 768px) {
    .timeline-section {
        padding: 32px 0 50px !important;
    }

    .timeline-title {
        margin-bottom: 24px !important;
    }
}


/* Книга в quote — в 2 раза больше на мобилке */
@media (max-width: 768px) {
    .quote-book-img img {
        max-width: 100% !important;
        width: 100% !important;
    }

    .quote-book-img {
        max-width: 100% !important;
    }
}

/* ============================================
   ДЕЛО В ЦИФРАХ — Editorial card (mobile)
   Design pattern: hero image → eyebrow → big stats → highlight → caption
   ============================================ */
@media (max-width: 768px) {

    /* Удаляем белый блок case-section (СЕГОДНЯ + Дело №2 + padding) */
    .case-section {
        padding: 0 !important;
        background: transparent !important;
    }

    .case-section .container {
        display: none !important;
    }

    /* Контейнер: единый блок с лёгким наклоном */
    .case-stats {
        display: grid !important;
        grid-template-columns: auto 1fr !important;
        gap: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        position: relative !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow: hidden !important;
        background: #052641 !important;
        clip-path: polygon(0 0, 100% 24px, 100% 100%, 0 100%);
    }

    .case-stats::before {
        display: none !important;
    }

    /* Hero photo на всю ширину сверху */
    .case-photo {
        order: 0 !important;
        grid-column: 1 / -1 !important;
        width: 100% !important;
        height: 240px !important;
        max-height: 240px !important;
        margin: 0 !important;
        overflow: hidden !important;
        border: none !important;
        position: relative !important;
        z-index: 1 !important;
    }

    .case-photo img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center 18% !important;
        clip-path: none !important;
        min-height: 0 !important;
    }

    /* Editorial body: 2 колонки на одной высоте */
    .case-stats-content {
        order: 1 !important;
        grid-column: 1 / -1 !important;
        display: grid !important;
        grid-template-columns: auto 1fr !important;
        column-gap: 24px !important;
        row-gap: 14px !important;
        align-items: center !important;
        padding: 32px 24px 36px !important;
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Eyebrow на всю ширину сверху */
    .case-label-big {
        grid-column: 1 / -1 !important;
        font-size: 20px !important;
        letter-spacing: 4px !important;
        font-weight: 600 !important;
        color: var(--red) !important;
        margin: 0 0 4px !important;
        padding: 0 !important;
        border: 0 !important;
        font-style: normal !important;
        text-transform: uppercase !important;
    }

    /* Левая колонка — цифры на одном уровне */
    .case-stat {
        grid-column: 1 !important;
        display: flex !important;
        align-items: baseline !important;
        gap: 14px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .case-stat:nth-of-type(2) {
        grid-row: 2 !important;
    }

    .case-stat:nth-of-type(3) {
        grid-row: 3 !important;
    }

    .case-big-number {
        font-size: 72px !important;
        line-height: 1 !important;
        font-weight: 700 !important;
        color: var(--white) !important;
        letter-spacing: -1.5px !important;
        font-style: normal !important;
        min-width: 96px;
    }

    .case-stat-label {
        font-size: 16px !important;
        letter-spacing: 1.8px !important;
        font-weight: 500 !important;
        color: rgba(255, 255, 255, 0.7) !important;
        font-style: normal !important;
        text-transform: uppercase !important;
        white-space: normal !important;
    }

    /* Правая колонка: «Ни одного прямого доказательства» + цитата на тех же строках что цифры */
    .case-no-evidence {
        grid-column: 2 !important;
        grid-row: 2 !important;
        align-self: center !important;
        font-size: 17px !important;
        line-height: 1.25 !important;
        font-weight: 600 !important;
        color: var(--white) !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        text-align: left !important;
    }

    .case-witness {
        grid-column: 2 !important;
        grid-row: 3 !important;
        align-self: center !important;
        font-size: 14px !important;
        line-height: 1.4 !important;
        font-weight: 400 !important;
        font-style: italic !important;
        color: rgba(255, 255, 255, 0.55) !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: left !important;
    }

    /* Bottom paper texture */
    .case-stats::after {
        bottom: -80px !important;
        height: 110px !important;
    }
}



/* ============================================
   ФИКС горизонтального скролла на мобилке
   ============================================ */

html,
body {
    max-width: 100%;
    width: 100%;
}

@media (max-width: 768px) {

    /* Все элементы с width: 100vw на мобилке заменяем на 100% от родителя */
    .case-stats {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .timeline-expand-trigger {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Все секции — макс. ширина без выхода за viewport */
    section,
    .gagauzia-wrapper {
        max-width: 100vw;
    }
}


/* Слайд карты — убрать горизонтальный скролл */
@media (max-width: 768px) {
    .gagauzia-section {
        max-width: 100%;
    }

    .gagauzia-wrapper {
        max-width: 100%;
    }

    .gagauzia-flag-banner {
        overflow: hidden;
    }

    .gagauzia-flag-banner img {
        max-width: none !important;
        width: 130% !important;
        margin-left: -10% !important;
    }
}


/* ============================================
   АРТЕФАКТЫ-БУМАГА — поверх всех stacking contexts
   Соотношение 84/16 (как на компе для всех)
   ============================================ */

.quote-bottom-paper,
.timeline-top-paper,
.letter-top-paper {
    z-index: 50 !important;
}

.gagauzia-wrapper::after {
    z-index: 50 !important;
}

.letters-section::before {
    z-index: 1 !important;
}

.case-stats::after {
    z-index: 50 !important;
}

/* Соседние секции — z-index только на мобилке */
@media (max-width: 768px) {

    .reader-section,
    .reviews-section,
    .timeline-section,
    .case-section,
    .europe-section,
    .letter-section,
    .quote-section {
        position: relative;
        z-index: 0;
    }
}

/* Мобилка: артефакты с тем же соотношением 84/16 что на компе */
@media (max-width: 768px) {
    /* timeline-top-paper уже работает: top -420 / height 500 → top -25 / height 30 на мобилке = маленько,
       но оставляем как есть в базовых правилах. Обнуляем мой override чтоб не мешал */

    /* gagauzia-wrapper::after — бумага между gagauzia(синий) и quote(белый) */
    .gagauzia-wrapper::after {
        height: 240px !important;
        top: auto !important;
        bottom: -40px !important;
    }
}


/* Артефакты вокруг "Дело в цифрах" — скрыть только на мобилке */
@media (max-width: 768px) {

    .case-stats::after,
    .case-stats::before {
        display: none !important;
    }

    .europe-section {
        margin-top: -40px !important;
        padding-top: 30px !important;
    }

    .countdown-section {
        padding-top: 80px;
    }
}