:root {
    --dark: #0f0f0f;
    --accent: #d97837;
    --accent-light: #e8934d;
    --text: #ffffff;
    --text-light: #cccccc;
    --border-color: rgba(255, 255, 255, 0.1);
    --accent-bg: rgba(217, 120, 55, 0.08);
    --carousel-btn-bg: rgba(0, 0, 0, 0.4);
    --carousel-btn-hover: rgba(0, 0, 0, 0.7);
    --shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    --divider-gradient: linear-gradient(90deg, transparent, rgba(217, 120, 55, 0.3), transparent);
    --font-heading: 'Georgia', 'Times New Roman', serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
}

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

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

body {
    font-family: var(--font-body);
    background: var(--dark);
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
    min-width: 320px;
    overflow-x: clip;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

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

h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 6.4vw, 3.6rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4.2vw, 2.7rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 3.5vw, 1.8rem);
    font-weight: 600;
    margin-bottom: 1rem;
}

p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 1.2rem;
}

strong {
    color: var(--text);
    font-weight: 600;
}

.accent {
    color: var(--accent);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    min-height: clamp(40rem, 100vh, 80rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6rem 2rem;
    position: relative;
}

.section.full-image {
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
}

.section.full-image .carousel {
    width: 100%;
    height: clamp(33.75rem, 100vh, 67.5rem);
    position: relative;
    overflow: hidden;
}

.section.full-image .carousel img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.section.full-image .carousel img.active {
    opacity: 1;
}

/* Кнопки карусели */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--carousel-btn-bg);
    color: white;
    border: none;
    font-size: 2.5rem;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s, transform 0.2s;
    border-radius: 50%;
    line-height: 1;
    backdrop-filter: blur(4px);
}
.carousel-btn:hover {
    background: var(--carousel-btn-hover);
    transform: translateY(-50%) scale(1.1);
}
.carousel-btn.prev {
    left: 5rem;
}
.carousel-btn.next {
    right: 5rem;
}

/* Двухколоночный макет (текст + фото) */
.row-2 {
    display: flex;
    align-items: center;
    gap: 3rem;
}
.row-2 .text-col {
    flex: 0 0 55%;
}
.row-2 .photo-col {
    flex: 0 0 40%;
    max-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.row-2 .photo-col img {
    max-height: 90vh;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: var(--shadow);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

.grid-2 img {
    width: 100%;
    height: auto;
    display: block;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}
.benefits-grid .highlight-block,
.benefits-grid .contact-highlight {
    margin: 0;
}

.prose {
    max-width: 700px;
}
.prose p:last-child {
    margin-bottom: 0;
}

.metric {
    display: inline-block;
    margin-right: 3rem;
    margin-bottom: 1.5rem;
}

.metric-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 1rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.lyric {
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text);
    margin: 2rem 0;
    max-width: 600px;
}

.contact-block {
    margin-top: 3rem;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
}

.contact-block h3 {
    margin-bottom: 0.5rem;
}

.contact-block p {
    margin-bottom: 0.5rem;
}

a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid var(--accent);
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.8;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.9rem;
    color: var(--text-light);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

.divider {
    height: 1px;
    background: var(--divider-gradient);
    margin: 4rem 0;
}

.highlight-block {
    background: var(--accent-bg);
    border-left: 3px solid var(--accent);
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.nav-dots {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 100;
}

.nav-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(217, 120, 55, 0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.nav-dot.active {
    background: var(--accent);
    width: 12px;
    height: 12px;
    margin-left: -2px;
}

/* Inline-стили, вынесенные в классы */
.subtitle {
    font-size: 1.2rem;
    color: var(--accent);
    margin-bottom: 3rem;
}

.divider--short {
    margin: 2rem 0;
}

.highlight-block h3 {
    margin-top: 0;
}

.highlight-block p {
    margin-bottom: 0;
}

.contact-highlight {
    margin: 1.5rem 0;
}

.list-title {
    color: var(--accent);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 400;
    margin-bottom: 1rem;
}

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

.list li {
    padding: 0.7rem 0;
    color: var(--text-light);
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.lyric--accent {
    margin-top: 4rem;
    color: var(--accent);
}

.mt-1_5 {
    margin-top: 1.5rem;
}

.footer-divider {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-text {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* Анимация появления секций при скролле */
.section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Первая секция видна сразу (без задержки) */
#section-0 {
    opacity: 1;
    transform: none;
}

/* Логотип SVG — увеличен */
.logo {
    display: block;
    margin-bottom: 3rem;
}
.logo img {
    max-height: 100px;
    width: auto;
}

@media (max-width: 1024px) {
    .nav-dots {
        display: none;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    .section {
        padding: 4rem 1rem;
        min-height: auto;
    }
    .row-2 {
        flex-direction: column;
        align-items: stretch;
        gap: 1.25rem;
    }
    .row-2 .text-col,
    .row-2 .photo-col {
        flex: 0 0 100%;
        max-height: none;
    }
    .row-2 .photo-col img {
        max-height: 60vh;
        width: 100%;
        height: auto;
        object-fit: cover;
    }
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .grid-2-col {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    p {
        font-size: 1rem;
    }
    .lyric {
        font-size: 1.2rem;
    }
    .metric-number {
        font-size: 2.25rem;
    }
    .metric {
        display: block;
        margin-right: 0;
    }
    .carousel-btn {
        font-size: 1.6rem;
        width: 40px;
        height: 40px;
    }
    .carousel-btn.prev {
        left: 0.75rem;
    }
    .carousel-btn.next {
        right: 0.75rem;
    }
    .section.full-image .carousel {
        height: clamp(23.63rem, 70vh, 47.25rem);
    }
    .highlight-block {
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.875rem;
    }
    .section {
        padding: 3rem 0.875rem;
    }
    h1 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    h2 {
        font-size: 1.35rem;
        margin-bottom: 1rem;
    }
    p {
        font-size: 0.95rem;
    }
    .subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    .logo {
        margin-bottom: 2rem;
    }
    .logo img {
        max-height: 56px;
    }
    .section.full-image .carousel {
        height: clamp(20.25rem, 60vh, 40.5rem);
    }
    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 1.4rem;
    }
    .footer-divider {
        margin-top: 2rem;
    }
}

@media print {
    body {
        background: white;
        color: black;
    }
    .section {
        page-break-after: always;
        break-inside: avoid;
        opacity: 1 !important;
        transform: none !important;
        min-height: auto;
        padding: 2rem;
    }
    .section.full-image {
        display: none;
    }
    .scroll-indicator,
    .nav-dots,
    .carousel-btn {
        display: none !important;
    }
    a {
        border: none;
    }
    .logo img {
        max-height: 60px;
    }
}
