/* =========================================================
   FILE: style.css
   PROJECT: VERKHOVTSEV.RF
   VERSION: 20.1 FULL FILE + DOWNLOAD CTA
   ========================================================= */

:root {
    --bg-main: #000000;
    --bg-soft: #050505;
    --bg-elevated: #0b0b0b;

    --text-main: #ffffff;
    --text-soft: rgba(255, 255, 255, 0.88);
    --text-dim: rgba(255, 255, 255, 0.62);
    --text-faint: rgba(255, 255, 255, 0.42);

    --accent-gold: #D4AF37;
    --accent-gold-soft: rgba(212, 175, 55, 0.22);
    --accent-gold-strong: #c8a233;

    --line-border: rgba(255, 255, 255, 0.08);
    --line-border-strong: rgba(255, 255, 255, 0.16);

    --header-h: 80px;
    --safe-top: 180px;

    --container-x: 5%;
    --text-left: 10%;
    --text-right: 8%;

    --transition-fast: 0.25s ease;
    --transition-slow: 0.5s cubic-bezier(0.2, 0.6, 0.2, 1);
    --reveal-duration: 1.2s;

    --shadow-soft: 0 12px 40px rgba(0, 0, 0, 0.35);
    --shadow-button: 0 6px 24px rgba(0, 0, 0, 0.28);

    --radius-xs: 2px;
    --radius-sm: 4px;
    --radius-md: 8px;
}

/* =========================================================
   01. GLOBAL
   ========================================================= */

html {
    scroll-snap-type: y proximity;
    scroll-behavior: smooth;
    overflow-x: hidden;
    overflow-y: auto;
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    line-height: 1.6;
    overflow-x: hidden;
    overflow-y: visible;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
    overflow: hidden;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

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

a {
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}

/* =========================================================
   02. BASE SECTIONS
   ========================================================= */

.snap-section,
.full-view-section,
.footer,
.vectors-screen,
.final-process-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    height: auto !important;
    overflow: visible;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    border-bottom: 1px solid var(--line-border);
}

.snapping-container {
    position: relative;
    width: 100%;
}

/* =========================================================
   03. NAVBAR
   ========================================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-h);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-left: var(--container-x);
    padding-right: var(--container-x);
    z-index: 9000;
    background-color: rgba(0, 0, 0, 0.72);
    border-bottom: 1px solid var(--line-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-decoration: none;
    color: #fff;
    font-weight: 900;
    letter-spacing: 4px;
    font-size: 0.92rem;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-logo-img {
    height: 32px;
    width: auto;
    margin-right: 15px;
    display: block;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0;
}

.nav-links a {
    margin-left: 34px;
    text-decoration: none;
    color: #ffffff;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    opacity: 0.56;
    transition:
        opacity var(--transition-fast),
        color var(--transition-fast),
        border-color var(--transition-fast),
        background var(--transition-fast),
        transform var(--transition-fast);
}

.nav-links a:hover {
    opacity: 1;
    color: var(--accent-gold);
}

.nav-links a:focus-visible {
    outline: 1px solid rgba(255, 255, 255, 0.35);
    outline-offset: 4px;
}

/* =========================================================
   04. CTA DEFAULT
   ========================================================= */

.cta-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 28px;
    border: 1px solid rgba(255, 255, 255, 0.86);
    border-radius: var(--radius-xs);
    background: transparent;
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 500;
    letter-spacing: 1px;
    opacity: 1 !important;
    box-shadow: none;
    white-space: nowrap;
    transition:
        background var(--transition-fast),
        color var(--transition-fast),
        border-color var(--transition-fast),
        transform var(--transition-fast),
        box-shadow var(--transition-fast);
}

.cta-nav:hover {
    background: #ffffff;
    color: #000000 !important;
    border-color: #ffffff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-button);
}

.cta-nav:active {
    transform: translateY(0);
}

.hero-actions {
    margin-top: 24px;
}

.hero-actions .cta-nav,
.final-process-text .cta-nav,
.footer .cta-nav {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.86) !important;
}

/* =========================================================
   04A. DOWNLOAD CTA
   ========================================================= */

.cta-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 28px;
    border: 1px solid var(--accent-gold);
    border-radius: var(--radius-xs);
    background: transparent;
    color: var(--accent-gold) !important;
    text-decoration: none !important;
    font-weight: 500;
    font-size: 0.98rem;
    letter-spacing: 0.6px;
    line-height: 1.2;
    white-space: nowrap;
    opacity: 1 !important;
    visibility: visible !important;
    transition:
        background var(--transition-fast),
        color var(--transition-fast),
        border-color var(--transition-fast),
        transform var(--transition-fast),
        box-shadow var(--transition-fast);
}

.cta-download:hover {
    background: var(--accent-gold);
    color: #000000 !important;
    border-color: var(--accent-gold);
    transform: translateY(-1px);
    box-shadow: var(--shadow-button);
}

.cta-download:active {
    transform: translateY(0);
}

.download-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.download-actions .cta-download {
    margin-top: 0;
}

/* =========================================================
   05. ICON CTAS
   ========================================================= */

.cta-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
}

.nav-cta-group {
    margin-left: 30px;
}

.icon-cta {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 52px;
    height: 52px;
    min-width: 52px;
    min-height: 52px;
    flex: 0 0 52px;
    border-radius: 999px;
    text-decoration: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid rgba(212, 175, 55, 0.42);
    background: var(--accent-gold);
    color: #000000 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
    transform: translateZ(0);
    transition:
        transform var(--transition-fast),
        background var(--transition-fast),
        box-shadow var(--transition-fast),
        border-color var(--transition-fast),
        filter var(--transition-fast);
}

.icon-cta:hover {
    transform: translateY(-2px);
    background: #e1bb4b;
    border-color: #e1bb4b;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.34);
    filter: brightness(1.03);
}

.icon-cta:active {
    transform: translateY(0);
}

.icon-cta svg {
    width: 30px;
    height: 30px;
    display: block;
    fill: currentColor;
    color: currentColor;
    pointer-events: none;
}

.icon-cta-phone,
.icon-cta-telegram {
    background: var(--accent-gold);
    color: #000000 !important;
}

.hero-actions .icon-cta,
.final-process-text .icon-cta,
.navbar .icon-cta {
    visibility: visible !important;
    opacity: 1 !important;
}

/* =========================================================
   06. BURGER
   ========================================================= */

.burger {
    display: none;
    width: 46px;
    height: 46px;
    min-width: 46px;
    min-height: 46px;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 6px;
    cursor: pointer !important;
    position: relative;
    z-index: 9999 !important;
    pointer-events: auto !important;
    appearance: none;
    -webkit-appearance: none;
}

.burger span {
    display: block;
    width: 28px;
    height: 2px;
    background-color: #ffffff;
    transition:
        transform 0.3s ease,
        opacity 0.3s ease,
        width 0.3s ease;
    pointer-events: none;
}

.burger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* =========================================================
   07. DESKTOP GRID
   ========================================================= */

.snap-section {
    display: grid !important;
    grid-template-columns: 55% 45% !important;
}

.section-reverse {
    grid-template-columns: 45% 55% !important;
}

.text-side {
    position: relative;
    z-index: 2;
    padding-top: var(--safe-top);
    padding-bottom: 100px;
    padding-left: var(--text-left);
    padding-right: var(--text-right);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background-color: var(--bg-main);
}

.image-side {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.full-view-section {
    width: 100%;
    min-height: 100vh;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* =========================================================
   08. TYPOGRAPHY
   ========================================================= */

.section-num {
    display: block;
    margin-bottom: 25px;
    font-size: 0.84rem;
    font-weight: 900;
    line-height: 1;
    color: var(--accent-gold);
    opacity: 0.92;
    letter-spacing: 0.5px;
}

h1 {
    margin: 0 0 36px 0;
    font-size: clamp(2.8rem, 7.2vh, 5.3rem);
    font-weight: 900;
    line-height: 0.88;
    letter-spacing: -0.055em;
    text-transform: uppercase;
}

.section-title {
    margin: 0 0 30px 0;
    font-size: clamp(2.05rem, 5.7vh, 3.8rem);
    font-weight: 900;
    line-height: 0.92;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}

.description {
    max-width: 920px;
    margin: 0;
    font-size: 1.17rem;
    line-height: 1.72;
    color: var(--text-soft);
}

.large-p {
    max-width: 920px;
    margin: 0;
    font-size: 1.42rem;
    line-height: 1.62;
    color: var(--text-soft);
}

.line-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0 0;
}

.line-list li {
    position: relative;
    margin: 0;
    padding: 18px 0;
    border-bottom: 1px solid var(--line-border);
    font-size: 1.16rem;
    line-height: 1.55;
    color: var(--text-soft);
}

/* =========================================================
   09. HERO STATS
   ========================================================= */

.hero-stats {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 58px;
    margin-top: 6vh;
    padding-top: 3vh;
    border-top: 1px solid var(--line-border);
}

.stat {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-faint);
}

.stat span {
    display: block;
    margin-bottom: 6px;
    font-size: 2.28rem;
    font-weight: 700;
    line-height: 1;
    color: var(--accent-gold);
}

/* =========================================================
   10. VECTORS
   ========================================================= */

.vectors-screen {
    background-color: #000000;
    display: flex !important;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: var(--safe-top) !important;
    padding-left: var(--text-left) !important;
    padding-right: 35% !important;
    padding-bottom: 150px !important;
}

.vectors-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.vectors-list {
    display: flex;
    flex-direction: column;
    gap: 45px;
    margin-top: 5vh;
}

.vector-item {
    position: relative;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line-border);
}

.item-index {
    display: block;
    margin-bottom: 10px;
    font-size: 0.76rem;
    font-weight: 900;
    color: var(--accent-gold);
    opacity: 0.88;
    letter-spacing: 0.4px;
}

.vector-item p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.68;
    font-weight: 300;
    color: var(--text-soft);
    opacity: 0.96;
}

.vector-item strong {
    color: #ffffff;
    font-weight: 700;
}

.vector-item a {
    color: var(--accent-gold);
    text-decoration: underline;
    text-underline-offset: 5px;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.vector-item a:hover {
    color: #f0cc63;
    opacity: 1;
}

/* =========================================================
   11. FINAL PROCESS SECTION
   ========================================================= */

.final-process-section {
    display: grid !important;
    grid-template-columns: 48% 52% !important;
    min-height: 100vh;
    background: #000000;
}

.final-process-text {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #000000;
    padding-top: var(--safe-top);
    padding-bottom: 120px;
    padding-left: var(--text-left);
    padding-right: var(--text-right);
}

.final-process-text .section-title {
    margin-bottom: 40px;
}

.final-process-text .vectors-list {
    gap: 26px;
    margin-top: 0;
}

.final-process-text .vector-item {
    padding-bottom: 22px;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.final-process-text .item-index {
    font-size: 0.92rem;
    color: var(--accent-gold);
    font-weight: 700;
    margin-bottom: 10px;
}

.final-process-text .vector-item p {
    font-size: 1.15rem;
    line-height: 1.7;
    margin: 0;
    color: #ffffff;
    opacity: 0.95;
}

.final-process-image {
    position: relative;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.final-process-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.20) 0%,
            rgba(0, 0, 0, 0.08) 45%,
            rgba(0, 0, 0, 0.18) 100%
        );
}

/* =========================================================
   12. FOOTER
   ========================================================= */

.footer {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 5%;
    text-align: center;
    background: #000000;
}

.logo-bg {
    font-size: 15vw;
    font-weight: 900;
    opacity: 0.03;
    text-transform: uppercase;
    letter-spacing: 25px;
    pointer-events: none;
    line-height: 1;
}

.footer p {
    max-width: 980px;
    margin-top: 18px;
    margin-bottom: 0;
    font-size: 0.92rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.42);
    text-transform: none;
    letter-spacing: 0.2px;
}

/* =========================================================
   13. REVEAL
   ========================================================= */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--reveal-duration) cubic-bezier(0.2, 0.6, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }
.delay-4 { transition-delay: 0.8s; }

/* =========================================================
   14. ACCESSIBILITY / HELPERS
   ========================================================= */

::selection {
    background: rgba(212, 175, 55, 0.28);
    color: #ffffff;
}

.text-side a:not(.cta-nav):not(.icon-cta):not(.cta-download),
.final-process-text a:not(.cta-nav):not(.icon-cta):not(.cta-download),
.footer a:not(.cta-nav):not(.icon-cta):not(.cta-download) {
    color: var(--accent-gold);
}

.text-side a:not(.cta-nav):not(.icon-cta):not(.cta-download):hover,
.final-process-text a:not(.cta-nav):not(.icon-cta):not(.cta-download):hover,
.footer a:not(.cta-nav):not(.icon-cta):not(.cta-download):hover {
    color: #f0cc63;
}

.text-side,
.final-process-text,
.vectors-content {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* =========================================================
   15. LARGE DESKTOP
   ========================================================= */

@media (min-width: 1441px) {
    .text-side {
        padding-left: 11%;
        padding-right: 9%;
    }

    .final-process-text {
        padding-left: 11%;
        padding-right: 9%;
    }

    .vectors-screen {
        padding-left: 11% !important;
        padding-right: 34% !important;
    }

    h1 {
        font-size: clamp(3rem, 6.7vh, 5.8rem);
    }

    .section-title {
        font-size: clamp(2.2rem, 5vh, 4rem);
    }
}

/* =========================================================
   16. MID DESKTOP
   ========================================================= */

@media (max-width: 1280px) {
    .nav-links a {
        margin-left: 26px;
        font-size: 0.7rem;
    }

    .vectors-screen {
        padding-right: 26% !important;
    }

    .hero-stats {
        gap: 34px;
    }

    .nav-cta-group {
        margin-left: 24px;
    }
}

/* =========================================================
   17. TABLET
   ========================================================= */

@media (max-width: 1024px) {
    .text-side {
        padding-left: 8%;
        padding-right: 7%;
    }

    .final-process-text {
        padding-left: 8%;
        padding-right: 7%;
    }

    .vectors-screen {
        padding-left: 8% !important;
        padding-right: 16% !important;
    }

    .nav-links a {
        margin-left: 18px;
        font-size: 0.66rem;
        letter-spacing: 1.1px;
    }

    .hero-stats {
        gap: 28px;
        flex-wrap: wrap;
    }

    .description {
        font-size: 1.08rem;
    }

    .large-p {
        font-size: 1.28rem;
    }

    .line-list li {
        font-size: 1.08rem;
    }

    .vector-item p,
    .final-process-text .vector-item p {
        font-size: 1.04rem;
    }

    .icon-cta {
        width: 48px;
        height: 48px;
        min-width: 48px;
        min-height: 48px;
        flex-basis: 48px;
    }

    .icon-cta svg {
        width: 28px;
        height: 28px;
    }

    .cta-download {
        min-height: 48px;
        padding: 13px 24px;
        font-size: 0.94rem;
    }
}

/* =========================================================
   18. MOBILE
   ========================================================= */

@media (max-width: 768px) {
    .burger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: calc(var(--header-h) + 8px);
        right: 20px;
        width: min(260px, calc(100vw - 40px));
        height: auto;
        max-height: calc(100vh - var(--header-h) - 28px);
        overflow-y: auto;
        background-color: rgba(0, 0, 0, 0.98);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 10px;
        backdrop-filter: blur(22px);
        -webkit-backdrop-filter: blur(22px);
        box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
        padding: 18px 18px 20px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 6px;
        transition:
            opacity 0.28s ease,
            transform 0.28s ease,
            visibility 0.28s ease;
        z-index: 8000;
        pointer-events: none;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px) scale(0.98);
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
        pointer-events: all;
    }

    .nav-links a {
        margin: 0;
        padding: 10px 0;
        font-size: 0.92rem;
        line-height: 1.2;
        opacity: 1;
        letter-spacing: 1.4px;
        text-align: left;
    }

    .nav-cta-group {
        margin-left: 0;
        margin-top: 12px;
        justify-content: flex-start;
    }

    .snap-section {
        display: flex !important;
        flex-direction: column !important;
    }

    .section-reverse {
        display: flex !important;
        flex-direction: column !important;
    }

    .final-process-section {
        display: flex !important;
        flex-direction: column !important;
    }

    .text-side {
        padding: 120px 25px 80px !important;
    }

    .final-process-text {
        padding: 120px 25px 80px !important;
    }

    .image-side {
        min-height: 45vh;
        height: 45vh;
        order: -1;
    }

    .final-process-image {
        min-height: 45vh;
        height: 45vh;
    }

    .vectors-screen {
        padding: 120px 25px 80px !important;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
        margin-top: 36px;
        padding-top: 24px;
    }

    .stat span {
        font-size: 1.9rem;
    }

    h1 {
        font-size: clamp(2.2rem, 10.8vw, 4rem);
        line-height: 0.92;
        margin-bottom: 28px;
    }

    .section-title {
        font-size: clamp(1.9rem, 8.8vw, 3.1rem);
        line-height: 0.96;
        margin-bottom: 24px;
    }

    .description,
    .large-p,
    .line-list li,
    .vector-item p,
    .final-process-text .vector-item p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .logo {
        letter-spacing: 2px;
        font-size: 0.76rem;
    }

    .nav-logo-img {
        height: 28px;
        margin-right: 10px;
    }

    .logo-bg {
        font-size: 18vw;
        letter-spacing: 8px;
    }

    .footer {
        padding: 80px 25px;
    }

    .footer p {
        font-size: 0.92rem;
    }

    .cta-group {
        gap: 10px;
    }

    .icon-cta {
        width: 46px;
        height: 46px;
        min-width: 46px;
        min-height: 46px;
        flex-basis: 46px;
    }

    .icon-cta svg {
        width: 26px;
        height: 26px;
    }

    .download-actions {
        gap: 10px;
        margin-top: 20px;
    }

    .cta-download {
        width: auto;
        min-height: 46px;
        padding: 13px 20px;
        font-size: 0.92rem;
        white-space: normal;
        text-align: center;
    }
}

/* =========================================================
   19. SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {
    :root {
        --header-h: 74px;
    }

    .navbar {
        padding-left: 20px;
        padding-right: 20px;
    }

    .text-side,
    .final-process-text,
    .vectors-screen {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .nav-links {
        top: calc(var(--header-h) + 6px);
        right: 14px;
        width: calc(100vw - 28px);
        max-height: calc(100vh - var(--header-h) - 20px);
        padding: 16px 16px 18px;
    }

    .nav-links a {
        font-size: 0.88rem;
        letter-spacing: 1.1px;
        padding: 9px 0;
    }

    h1 {
        font-size: clamp(2rem, 11vw, 3rem);
    }

    .section-title {
        font-size: clamp(1.75rem, 8.5vw, 2.5rem);
    }

    .section-num {
        font-size: 0.78rem;
        margin-bottom: 20px;
    }

    .description,
    .large-p,
    .line-list li,
    .vector-item p,
    .final-process-text .vector-item p {
        font-size: 0.98rem;
    }

    .hero-stats {
        gap: 18px;
    }

    .stat span {
        font-size: 1.75rem;
    }

    .icon-cta {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        flex-basis: 44px;
    }

    .icon-cta svg {
        width: 24px;
        height: 24px;
    }

    .cta-download {
        width: 100%;
        justify-content: center;
        min-height: 44px;
        padding: 12px 18px;
        font-size: 0.9rem;
    }

    .download-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }
}
/* =========================================================
   FAMILY BLOCK
   ========================================================= */

.family-section {
    position: relative;
    width: 100%;
    background: #000000;
    padding: 0;
    margin: 0;
}

.family-block {
    position: relative;
    width: 100%;
    min-height: 430px;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    background: rgba(0,0,0,0.82);
    display: flex;
    align-items: center;
    padding: 80px 8%;
}

.family-bg {
    position: absolute;
    left: 6%;
    top: 50%;
    transform: translateY(-50%);
    width: 360px;
    height: 360px;
    background: url('gerb_mini.jpg') no-repeat center;
    background-size: contain;
    opacity: 0.16;
    filter: none;
    pointer-events: none;
    z-index: 0;
}

.family-content {
    position: relative;
    z-index: 2;
    max-width: 620px;
    margin-left: 38%;
}

.family-content p {
    margin: 0 0 24px 0;
    color: rgba(255,255,255,0.78);
    font-size: 1.15rem;
    line-height: 1.65;
    text-align: left;
}

.family-content p:last-child {
    margin-bottom: 0;
}

.family-link {
    color: #D4AF37;
    text-decoration: none;
    border-bottom: 1px solid rgba(212,175,55,0.45);
    transition: all 0.3s ease;
}

.family-link:hover {
    color: #ffffff;
    border-bottom-color: #ffffff;
    text-shadow: 0 0 6px rgba(255,255,255,0.35);
}

@media (min-width: 1440px) {
    .family-bg {
        left: 7%;
        width: 390px;
        height: 390px;
        opacity: 0.15;
    }

    .family-content {
        margin-left: 40%;
        max-width: 680px;
    }
}

@media (max-width: 1024px) {
    .family-block {
        min-height: 390px;
        padding: 70px 7%;
    }

    .family-bg {
        left: 4%;
        width: 330px;
        height: 330px;
        opacity: 0.15;
    }

    .family-content {
        margin-left: 42%;
        max-width: 520px;
    }
}

@media (max-width: 768px) {
    .family-block {
        min-height: 680px;
        display: block;
        padding: 300px 28px 70px;
        background: #000000;
    }

    .family-bg {
        left: 50%;
        top: 48px;
        transform: translateX(-50%);
        width: 300px;
        height: 300px;
        opacity: 0.22;
        filter: none;
    }

    .family-content {
        max-width: 100%;
        margin-left: 0;
        padding: 0;
    }

    .family-content p {
        font-size: 1.28rem;
        line-height: 1.55;
        color: rgba(255,255,255,0.78);
        margin-bottom: 28px;
    }
}

@media (max-width: 480px) {
    .family-block {
        min-height: 650px;
        padding: 285px 26px 64px;
    }

    .family-bg {
        top: 44px;
        width: 280px;
        height: 280px;
        opacity: 0.24;
    }

    .family-content p {
        font-size: 1.2rem;
        line-height: 1.55;
    }
}
    width: 480px;
}