/* =========================================
   ФОРМУЛА СТРОЙНОСТИ — премиум лендинг
   Мария Берг · 2026
   ========================================= */

/* ====== RESET & BASE ====== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Roboto', system-ui, -apple-system, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--c-text);
    background: var(--c-bg);
    overflow-x: hidden;
    cursor: none;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: var(--t-base); }
button { font-family: inherit; cursor: none; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; color: inherit; }
ul { list-style: none; }

/* ====== VARIABLES ====== */
:root {
    /* Colors */
    --c-bg: #0a0908;
    --c-bg-soft: #131210;
    --c-bg-card: rgba(255, 255, 255, 0.03);
    --c-bg-card-hover: rgba(255, 255, 255, 0.06);
    
    --c-text: #f5f1ea;
    --c-text-soft: rgba(245, 241, 234, 0.7);
    --c-text-muted: rgba(245, 241, 234, 0.5);
    
    --c-gold: #d4af6f;
    --c-gold-bright: #e8c989;
    --c-gold-deep: #a0824a;
    --c-gold-glow: rgba(212, 175, 111, 0.4);
    
    --c-beige: #f5e6d3;
    --c-rose: #e8b4a0;
    --c-accent: #d4af6f;
    
    --c-line: rgba(245, 241, 234, 0.08);
    --c-line-strong: rgba(245, 241, 234, 0.15);
    
    /* Gradients */
    --g-gold: linear-gradient(135deg, #f5d99b 0%, #d4af6f 50%, #a0824a 100%);
    --g-gold-soft: linear-gradient(135deg, rgba(245, 217, 155, 0.15) 0%, rgba(212, 175, 111, 0.05) 100%);
    --g-card: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    --g-card-gold: linear-gradient(135deg, rgba(212, 175, 111, 0.12) 0%, rgba(212, 175, 111, 0.02) 100%);
    
    /* Shadows */
    --sh-gold: 0 20px 60px -20px rgba(212, 175, 111, 0.5);
    --sh-card: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
    --sh-deep: 0 40px 80px -40px rgba(0, 0, 0, 0.9);
    
    /* Transitions */
    --t-base: cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
    --t-slow: cubic-bezier(0.4, 0, 0.2, 1) 0.6s;
    --t-bounce: cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s;
    
    /* Layout */
    --container: 1280px;
    --pad: 24px;
    --radius: 24px;
    --radius-sm: 12px;
    --radius-lg: 32px;
}

/* ====== TYPOGRAPHY ====== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}
.accent { 
    background: var(--g-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
}

/* ====== CONTAINER ====== */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--pad);
    position: relative;
}

/* ====== CUSTOM CURSOR ====== */
.cursor {
    position: fixed;
    top: 0; left: 0;
    width: 8px;
    height: 8px;
    background: var(--c-gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    mix-blend-mode: difference;
    transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease;
    transform: translate(-50%, -50%);
}
.cursor-follower {
    position: fixed;
    top: 0; left: 0;
    width: 40px;
    height: 40px;
    border: 1px solid var(--c-gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.3s ease, width 0.3s ease, height 0.3s ease, opacity 0.3s;
    transform: translate(-50%, -50%);
    opacity: 0.6;
}
.cursor.hover { width: 0; height: 0; }
.cursor-follower.hover { width: 80px; height: 80px; background: rgba(212, 175, 111, 0.1); }
@media (max-width: 1024px) {
    body { cursor: auto; }
    button, a { cursor: pointer; }
    .cursor, .cursor-follower { display: none; }
}

/* ====== LOADER ====== */
.loader {
    position: fixed;
    inset: 0;
    background: var(--c-bg);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}
.loader.hidden { opacity: 0; visibility: hidden; }
.loader-content { text-align: center; }
.loader-text {
    font-size: clamp(20px, 4vw, 32px);
    font-weight: 300;
    letter-spacing: 0.3em;
    margin-bottom: 32px;
}
.loader-text span {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: loaderLetter 0.5s forwards;
    background: var(--g-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.loader-text .loader-space { width: 0.5em; display: inline-block; }
.loader-text span:nth-child(1) { animation-delay: 0.05s; }
.loader-text span:nth-child(2) { animation-delay: 0.1s; }
.loader-text span:nth-child(3) { animation-delay: 0.15s; }
.loader-text span:nth-child(4) { animation-delay: 0.2s; }
.loader-text span:nth-child(5) { animation-delay: 0.25s; }
.loader-text span:nth-child(6) { animation-delay: 0.3s; }
.loader-text span:nth-child(7) { animation-delay: 0.35s; }
.loader-text span:nth-child(9) { animation-delay: 0.4s; }
.loader-text span:nth-child(10) { animation-delay: 0.45s; }
.loader-text span:nth-child(11) { animation-delay: 0.5s; }
.loader-text span:nth-child(12) { animation-delay: 0.55s; }
.loader-text span:nth-child(13) { animation-delay: 0.6s; }
.loader-text span:nth-child(14) { animation-delay: 0.65s; }
.loader-text span:nth-child(15) { animation-delay: 0.7s; }
.loader-text span:nth-child(16) { animation-delay: 0.75s; }
.loader-text span:nth-child(17) { animation-delay: 0.8s; }
.loader-text span:nth-child(18) { animation-delay: 0.85s; }

@keyframes loaderLetter {
    to { opacity: 1; transform: translateY(0); }
}

.loader-bar {
    width: 280px;
    max-width: 50vw;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 auto;
    overflow: hidden;
    border-radius: 2px;
}
.loader-bar-fill {
    height: 100%;
    width: 0;
    background: var(--g-gold);
    transition: width 1.6s ease;
}

/* ====== PARTICLES ====== */
.particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}
.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--c-gold);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat linear infinite;
}
@keyframes particleFloat {
    0% { transform: translateY(100vh) translateX(0); opacity: 0; }
    10% { opacity: 0.8; }
    90% { opacity: 0.8; }
    100% { transform: translateY(-10vh) translateX(50px); opacity: 0; }
}

/* ====== HEADER ====== */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 20px 0;
    transition: var(--t-base);
}
.header.scrolled {
    background: rgba(10, 9, 8, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 14px 0;
    border-bottom: 1px solid var(--c-line);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 300;
    text-decoration: none;
}
.logo-symbol {
    width: 44px; height: 44px;
    display: grid;
    place-items: center;
    background: var(--g-gold);
    border-radius: 50%;
    color: var(--c-bg);
    font-size: 22px;
    font-weight: 700;
    box-shadow: 0 10px 30px -10px var(--c-gold-glow);
}
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
    font-size: 18px;
    letter-spacing: 0.05em;
}
.logo-text small {
    font-size: 11px;
    color: var(--c-gold);
    letter-spacing: 0.4em;
    text-transform: uppercase;
    margin-top: 2px;
}

.nav {
    display: flex;
    gap: 36px;
    align-items: center;
}
.nav-link {
    position: relative;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--c-text-soft);
    padding: 8px 0;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--c-gold);
    transition: width 0.3s ease;
}
.nav-link:hover { color: var(--c-text); }
.nav-link:hover::after { width: 100%; }

.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--c-text); transition: var(--t-base); }
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1024px) {
    .burger { display: flex; }
    .nav {
        position: fixed;
        top: 0; right: 0;
        width: 100%;
        max-width: 360px;
        height: 100vh;
        background: var(--c-bg-soft);
        flex-direction: column;
        padding: 100px 32px 32px;
        gap: 24px;
        align-items: flex-start;
        transform: translateX(100%);
        transition: transform 0.4s ease;
        border-left: 1px solid var(--c-line);
    }
    .nav.active { transform: translateX(0); }
    .nav-link { font-size: 18px; }
}

/* ====== BUTTONS ====== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 100px;
    position: relative;
    overflow: hidden;
    transition: var(--t-base);
    white-space: nowrap;
    cursor: none;
}
.btn-primary {
    background: var(--g-gold);
    color: var(--c-bg);
    box-shadow: var(--sh-gold);
}
.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #f5d99b, #e8c989);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 60px -15px rgba(212, 175, 111, 0.6);
}
.btn-primary .btn-text, .btn-primary .btn-arrow {
    position: relative;
    z-index: 1;
}
.btn-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}
.btn:hover .btn-arrow { transform: translateX(4px); }

.btn-outline {
    background: transparent;
    color: var(--c-text);
    border: 1px solid var(--c-line-strong);
}
.btn-outline:hover {
    border-color: var(--c-gold);
    background: var(--g-gold-soft);
    color: var(--c-gold-bright);
}

.btn-block { width: 100%; }
.btn-small { padding: 12px 22px; font-size: 12px; }
.btn-large { padding: 22px 48px; font-size: 15px; }

@media (max-width: 1024px) {
    .header-inner .btn-small { display: none; }
}

/* ====== HERO ====== */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 140px 0 80px;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    animation: glowFloat 12s ease-in-out infinite;
}
.hero-glow-1 {
    top: -200px; right: -100px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 111, 0.6) 0%, transparent 70%);
}
.hero-glow-2 {
    bottom: -200px; left: -100px;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(232, 180, 160, 0.4) 0%, transparent 70%);
    animation-delay: -4s;
}
.hero-glow-3 {
    top: 30%; left: 30%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(245, 217, 155, 0.3) 0%, transparent 70%);
    animation-delay: -8s;
}
@keyframes glowFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -30px) scale(1.1); }
    66% { transform: translate(-30px, 40px) scale(0.95); }
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(212, 175, 111, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 175, 111, 0.04) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.hero-container { position: relative; z-index: 2; width: 100%; }

.hero-grid-layout {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: center;
}
@media (max-width: 1024px) {
    .hero-grid-layout { grid-template-columns: 1fr; gap: 48px; }
}

/* HERO LEFT */
.hero-left { 
    opacity: 0;
    animation: heroLeftIn 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
}
@keyframes heroLeftIn {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: var(--g-card-gold);
    border: 1px solid rgba(212, 175, 111, 0.3);
    border-radius: 100px;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-gold-bright);
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
}
.hero-badge-dot {
    width: 8px; height: 8px;
    background: var(--c-gold);
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 var(--c-gold-glow); }
    50% { box-shadow: 0 0 0 8px transparent; }
}

.hero-title {
    font-size: clamp(48px, 7vw, 88px);
    font-weight: 100;
    line-height: 0.95;
    letter-spacing: -0.03em;
    margin-bottom: 28px;
}
.hero-title-accent {
    font-weight: 700;
    font-style: italic;
    background: var(--g-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-subtitle {
    font-size: clamp(15px, 1.4vw, 18px);
    color: var(--c-text-soft);
    margin-bottom: 32px;
    max-width: 500px;
}
.hero-subtitle b { color: var(--c-gold-bright); font-weight: 500; }

.hero-bullets {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 40px;
}
.hero-bullets li {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--c-text-soft);
    font-size: 15px;
}
.hero-bullets svg {
    width: 20px; height: 20px;
    flex-shrink: 0;
    padding: 4px;
    background: var(--g-gold);
    border-radius: 50%;
    color: var(--c-bg);
    stroke: currentColor;
    stroke-width: 3;
    fill: none;
}

/* HERO FORM */
.hero-form {
    background: var(--g-card);
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    padding: 36px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--sh-card);
    position: relative;
    overflow: hidden;
}
.hero-form::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--c-gold), transparent);
}
.form-header { margin-bottom: 28px; }
.form-title {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 6px;
}
.form-subtitle {
    font-size: 13px;
    color: var(--c-text-muted);
}
.form-subtitle b { color: var(--c-gold-bright); font-weight: 600; }

.form-group {
    position: relative;
    margin-bottom: 24px;
}
.form-input {
    width: 100%;
    padding: 14px 0 8px;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--c-line-strong);
    font-size: 15px;
    color: var(--c-text);
    outline: none;
    transition: border-color 0.3s;
    resize: none;
    cursor: text;
}
.form-input::placeholder { color: transparent; }
.form-textarea { min-height: 28px; line-height: 1.5; }

.form-label {
    position: absolute;
    top: 14px;
    left: 0;
    font-size: 14px;
    color: var(--c-text-muted);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label,
.form-input:valid:not([value=""]) ~ .form-label {
    top: -8px;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--c-gold);
}

/* Always show label compact when filled */
.form-group.filled .form-label {
    top: -8px;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--c-gold);
}

.form-line {
    position: absolute;
    bottom: 0; left: 0;
    width: 0;
    height: 1px;
    background: var(--g-gold);
    transition: width 0.4s ease;
}
.form-input:focus ~ .form-line { width: 100%; }

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    cursor: none;
    user-select: none;
}
.form-check input { 
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.form-check-box {
    width: 20px; height: 20px;
    border: 1px solid var(--c-line-strong);
    border-radius: 5px;
    flex-shrink: 0;
    margin-top: 2px;
    position: relative;
    transition: all 0.25s ease;
}
.form-check input:checked ~ .form-check-box {
    background: var(--g-gold);
    border-color: var(--c-gold);
}
.form-check input:checked ~ .form-check-box::after {
    content: '';
    position: absolute;
    top: 5px; left: 7px;
    width: 4px; height: 8px;
    border: solid var(--c-bg);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.form-check-text {
    font-size: 12px;
    color: var(--c-text-muted);
    line-height: 1.5;
}
.form-check-text a { color: var(--c-gold-bright); border-bottom: 1px solid var(--c-gold-deep); }

.form-secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
    font-size: 12px;
    color: var(--c-text-muted);
}
.form-secure svg {
    width: 14px; height: 14px;
    fill: var(--c-gold);
    stroke: var(--c-gold);
}

/* HERO PHOTO */
.hero-right {
    position: relative;
    opacity: 0;
    animation: heroRightIn 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.6s forwards;
}
@keyframes heroRightIn {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}
.hero-photo-wrap {
    position: relative;
    aspect-ratio: 3/4;
    max-width: 520px;
    margin: 0 auto;
}
.hero-photo-glow {
    position: absolute;
    inset: -40px;
    background: radial-gradient(ellipse at center, rgba(212, 175, 111, 0.4) 0%, transparent 60%);
    filter: blur(60px);
    animation: photoGlow 6s ease-in-out infinite;
}
@keyframes photoGlow {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

.hero-photo-frame {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
}
.hero-photo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.6));
    will-change: transform;
}

/* Floating cards */
.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: rgba(20, 18, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--c-line-strong);
    border-radius: 16px;
    z-index: 3;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    animation: floatCard 4s ease-in-out infinite;
}
@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.float-card-1 {
    top: 8%; left: -8%;
    animation-delay: 0s;
}
.float-card-2 {
    top: 50%; right: -10%;
    animation-delay: -1.5s;
}
.float-card-3 {
    bottom: 5%; left: -5%;
    animation-delay: -3s;
}
.float-card-icon {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--g-gold);
    display: grid;
    place-items: center;
    color: var(--c-bg);
}
.float-card-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; }
.float-card-text { display: flex; flex-direction: column; }
.float-card-text strong { font-size: 16px; color: var(--c-text); }
.float-card-text small { font-size: 11px; color: var(--c-text-muted); margin-top: 2px; }

.float-card-rating {
    color: var(--c-gold);
    font-size: 14px;
    letter-spacing: 1px;
    line-height: 1;
}

@media (max-width: 768px) {
    .float-card-1 { left: -2%; padding: 10px 14px; }
    .float-card-2 { right: -2%; padding: 10px 14px; }
    .float-card-3 { left: -2%; padding: 10px 14px; }
    .float-card-text strong { font-size: 14px; }
    .float-card-text small { font-size: 10px; }
}

.hero-author {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
    justify-content: center;
}
.hero-author-line {
    width: 40px;
    height: 1px;
    background: var(--c-gold);
}
.hero-author-text { display: flex; flex-direction: column; }
.hero-author-name {
    font-size: 18px;
    font-weight: 500;
    background: var(--g-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-author-role {
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--c-text-muted);
    margin-top: 2px;
}

.hero-scroll {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--c-text-muted);
}
.hero-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, var(--c-gold), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

@media (max-width: 768px) {
    .hero-scroll { display: none; }
    .hero-form { padding: 24px; }
}

/* ====== MARQUEE ====== */
.marquee-section {
    padding: 32px 0;
    border-top: 1px solid var(--c-line);
    border-bottom: 1px solid var(--c-line);
    overflow: hidden;
    background: var(--c-bg-soft);
}
.marquee { overflow: hidden; }
.marquee-track {
    display: flex;
    gap: 60px;
    animation: marquee 30s linear infinite;
    white-space: nowrap;
}
.marquee-item {
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: var(--c-text-soft);
}
.marquee-item:nth-child(odd) {
    background: var(--g-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
@keyframes marquee {
    to { transform: translateX(-50%); }
}

/* ====== SECTIONS ====== */
section { padding: 120px 0; position: relative; }
@media (max-width: 768px) { section { padding: 80px 0; } }

.section-head {
    text-align: center;
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.section-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--c-gold);
    margin-bottom: 20px;
    padding: 6px 16px;
    border: 1px solid rgba(212, 175, 111, 0.3);
    border-radius: 100px;
    background: var(--g-card-gold);
}
.section-title {
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 200;
    line-height: 1.05;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}
.section-sub {
    font-size: 17px;
    color: var(--c-text-soft);
    max-width: 600px;
    margin: 0 auto;
}

/* ====== REVEAL ANIMATIONS ====== */
[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ====== ABOUT ====== */
.about-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 80px;
    align-items: start;
}
@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
}
.about-lead {
    font-size: 22px;
    line-height: 1.45;
    margin-bottom: 24px;
    color: var(--c-text);
    font-weight: 300;
}
.about-lead b { background: var(--g-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-weight: 700; }
.about-text p {
    color: var(--c-text-soft);
    margin-bottom: 24px;
    font-size: 16px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin: 48px 0;
    padding: 32px 0;
    border-top: 1px solid var(--c-line);
    border-bottom: 1px solid var(--c-line);
}
.about-stat { text-align: center; }
.about-stat-num {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 200;
    line-height: 1;
    background: var(--g-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}
.about-stat-text {
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--c-text-muted);
}

.about-creds h4 {
    font-size: 14px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--c-gold);
    margin-bottom: 20px;
    font-weight: 500;
}
.about-creds ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.about-creds li {
    position: relative;
    padding-left: 24px;
    color: var(--c-text-soft);
    font-size: 15px;
}
.about-creds li::before {
    content: '';
    position: absolute;
    left: 0; top: 10px;
    width: 12px; height: 1px;
    background: var(--c-gold);
}

.about-visual { position: relative; }
.about-quote {
    padding: 48px;
    background: var(--g-card-gold);
    border: 1px solid rgba(212, 175, 111, 0.2);
    border-radius: var(--radius-lg);
    position: relative;
    backdrop-filter: blur(10px);
}
.quote-icon {
    width: 60px; height: 60px;
    fill: var(--c-gold);
    opacity: 0.3;
    margin-bottom: 20px;
}
.about-quote p {
    font-size: 22px;
    line-height: 1.5;
    font-style: italic;
    font-weight: 300;
    margin-bottom: 28px;
    color: var(--c-text);
}
.about-quote-signature {
    font-size: 13px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--c-gold-bright);
}

/* ====== PROBLEM ====== */
.problem { background: linear-gradient(180deg, transparent 0%, rgba(20, 18, 15, 0.5) 100%); }
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 64px;
}
.problem-card {
    padding: 36px 32px;
    background: var(--g-card);
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.problem-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--g-card-gold);
    opacity: 0;
    transition: opacity 0.4s;
}
.problem-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 111, 0.4);
}
.problem-card:hover::before { opacity: 1; }
.problem-card > * { position: relative; z-index: 1; }

.problem-card-num {
    font-size: 48px;
    font-weight: 100;
    line-height: 1;
    background: var(--g-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
    opacity: 0.6;
}
.problem-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    font-weight: 500;
}
.problem-card p {
    color: var(--c-text-soft);
    font-size: 15px;
    line-height: 1.6;
}

.problem-cta {
    text-align: center;
    padding: 48px;
    background: var(--g-card-gold);
    border: 1px solid rgba(212, 175, 111, 0.3);
    border-radius: var(--radius-lg);
}
.problem-cta h3 {
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 300;
    margin-bottom: 28px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ====== PROGRAM ====== */
.program-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 80px;
}
.program-week {
    padding: 36px 28px;
    background: var(--g-card);
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    position: relative;
    transition: all 0.4s;
    overflow: hidden;
}
.program-week::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 3px;
    background: var(--g-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.program-week:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 111, 0.3);
    box-shadow: var(--sh-card);
}
.program-week:hover::after { transform: scaleX(1); }

.program-week-badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--g-gold);
    color: var(--c-bg);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.program-week h3 {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 500;
}
.program-week ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}
.program-week li {
    position: relative;
    padding-left: 20px;
    color: var(--c-text-soft);
    font-size: 14px;
    line-height: 1.5;
}
.program-week li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--c-gold);
    font-size: 10px;
    top: 6px;
}
.program-week-result {
    padding: 12px 16px;
    background: var(--g-card-gold);
    border-left: 2px solid var(--c-gold);
    border-radius: 8px;
    font-size: 13px;
    color: var(--c-gold-bright);
    font-weight: 500;
}

.program-includes {
    padding: 64px 48px;
    background: var(--g-card);
    border: 1px solid var(--c-line);
    border-radius: var(--radius-lg);
}
.program-includes h3 {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 300;
    text-align: center;
    margin-bottom: 48px;
}
.program-includes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
}
.include-item {
    text-align: center;
    padding: 24px 16px;
    transition: transform 0.3s;
}
.include-item:hover { transform: translateY(-6px); }
.include-icon {
    font-size: 40px;
    margin-bottom: 16px;
    display: inline-block;
    padding: 16px;
    background: var(--g-card-gold);
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 111, 0.2);
}
.include-item h4 {
    font-size: 16px;
    margin-bottom: 6px;
    font-weight: 500;
}
.include-item p {
    font-size: 13px;
    color: var(--c-text-muted);
}

@media (max-width: 768px) {
    .program-includes { padding: 40px 24px; }
}

/* ====== RESULTS ====== */
.results { background: linear-gradient(180deg, transparent, rgba(20, 18, 15, 0.3)); }
.results-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
    padding: 48px;
    background: var(--g-card);
    border: 1px solid var(--c-line);
    border-radius: var(--radius-lg);
}
@media (max-width: 1024px) {
    .results-featured { grid-template-columns: 1fr; padding: 32px; gap: 40px; }
}

.results-photo {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
}
.results-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.results-photo:hover img { transform: scale(1.05); }
.results-photo-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 10px 18px;
    background: var(--g-gold);
    color: var(--c-bg);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    box-shadow: var(--sh-gold);
}

.results-info h3 {
    font-size: 32px;
    margin-bottom: 24px;
    font-weight: 300;
}
.results-stats {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 28px;
    padding: 20px 0;
    border-top: 1px solid var(--c-line);
    border-bottom: 1px solid var(--c-line);
}
.results-stats > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.results-stats span {
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--c-text-muted);
}
.results-stats b {
    font-size: 22px;
    font-weight: 500;
    background: var(--g-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.results-quote {
    font-size: 16px;
    line-height: 1.65;
    color: var(--c-text-soft);
    font-style: italic;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}
.result-card {
    padding: 36px 28px;
    background: var(--g-card);
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    transition: all 0.4s;
    text-align: center;
}
.result-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 111, 0.4);
}
.result-card-num {
    font-size: 64px;
    font-weight: 100;
    line-height: 1;
    background: var(--g-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 4px;
}
.result-card-label {
    font-size: 14px;
    letter-spacing: 0.2em;
    color: var(--c-gold);
    margin-bottom: 16px;
    text-transform: uppercase;
}
.result-card h4 {
    font-size: 17px;
    font-weight: 500;
    margin-bottom: 12px;
}
.result-card p {
    color: var(--c-text-soft);
    font-size: 14px;
    line-height: 1.55;
    font-style: italic;
}

/* ====== TARIFFS ====== */
.tariffs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}
.tariff {
    padding: 48px 36px;
    background: var(--g-card);
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all 0.4s;
}
.tariff:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 111, 0.4);
}
.tariff-popular {
    background: var(--g-card-gold);
    border: 1px solid rgba(212, 175, 111, 0.4);
    transform: scale(1.04);
    box-shadow: var(--sh-card);
}
.tariff-popular:hover { transform: scale(1.04) translateY(-8px); }
@media (max-width: 1024px) {
    .tariff-popular { transform: none; }
    .tariff-popular:hover { transform: translateY(-8px); }
}
.tariff-popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 18px;
    background: var(--g-gold);
    color: var(--c-bg);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: var(--sh-gold);
}

.tariff-head h3 {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 4px;
}
.tariff-head p {
    color: var(--c-text-muted);
    font-size: 13px;
    letter-spacing: 0.05em;
    margin-bottom: 28px;
}
.tariff-price {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--c-line);
}
.tariff-price-old {
    display: block;
    font-size: 16px;
    color: var(--c-text-muted);
    text-decoration: line-through;
    margin-bottom: 4px;
}
.tariff-price-new {
    display: block;
    font-size: 40px;
    font-weight: 200;
    background: var(--g-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}
.tariff-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
    flex-grow: 1;
}
.tariff-features li {
    color: var(--c-text-soft);
    font-size: 14px;
    line-height: 1.5;
}
.tariff-features li.off {
    color: var(--c-text-muted);
    text-decoration: line-through;
}

.tariffs-guarantee {
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: 720px;
    margin: 0 auto;
    padding: 28px 36px;
    background: var(--g-card);
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
}
.guarantee-icon {
    flex-shrink: 0;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--g-card-gold);
    border: 1px solid rgba(212, 175, 111, 0.3);
    display: grid;
    place-items: center;
    color: var(--c-gold);
}
.guarantee-icon svg { width: 28px; height: 28px; }
.tariffs-guarantee h4 {
    font-size: 17px;
    margin-bottom: 4px;
    font-weight: 500;
}
.tariffs-guarantee p {
    color: var(--c-text-soft);
    font-size: 14px;
}

@media (max-width: 600px) {
    .tariffs-guarantee { flex-direction: column; text-align: center; padding: 24px; }
}

/* ====== FAQ ====== */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    background: var(--g-card);
    border: 1px solid var(--c-line);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: all 0.3s;
}
.faq-item:hover { border-color: rgba(212, 175, 111, 0.3); }
.faq-item[open] {
    background: var(--g-card-gold);
    border-color: rgba(212, 175, 111, 0.3);
}
.faq-item summary {
    list-style: none;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    cursor: none;
    font-size: 17px;
    font-weight: 500;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
    flex-shrink: 0;
    width: 28px; height: 28px;
    border-radius: 50%;
    border: 1px solid var(--c-line-strong);
    position: relative;
    transition: all 0.3s;
}
.faq-icon::before, .faq-icon::after {
    content: '';
    position: absolute;
    background: var(--c-text);
    transition: all 0.3s;
}
.faq-icon::before {
    top: 50%; left: 7px; right: 7px;
    height: 1px;
    transform: translateY(-50%);
}
.faq-icon::after {
    left: 50%; top: 7px; bottom: 7px;
    width: 1px;
    transform: translateX(-50%);
}
.faq-item[open] .faq-icon {
    background: var(--g-gold);
    border-color: transparent;
    transform: rotate(180deg);
}
.faq-item[open] .faq-icon::before { background: var(--c-bg); }
.faq-item[open] .faq-icon::after { opacity: 0; }
.faq-content {
    padding: 0 28px 24px;
    color: var(--c-text-soft);
    font-size: 15px;
    line-height: 1.7;
    animation: faqOpen 0.4s ease;
}
@keyframes faqOpen {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ====== FINAL CTA ====== */
.final-cta {
    position: relative;
    overflow: hidden;
    padding: 140px 0;
}
.final-cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.final-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 111, 0.3) 0%, transparent 60%);
    filter: blur(80px);
    animation: glowFloat 8s ease-in-out infinite;
}
.final-cta-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}
.final-cta-title {
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 200;
    line-height: 1.1;
    margin: 24px 0 24px;
    letter-spacing: -0.02em;
}
.final-cta-sub {
    font-size: 17px;
    color: var(--c-text-soft);
    max-width: 600px;
    margin: 0 auto 48px;
}

.final-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 0 48px;
}
.counter-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 90px;
    padding: 20px 16px;
    background: var(--g-card);
    border: 1px solid var(--c-line);
    border-radius: var(--radius-sm);
    backdrop-filter: blur(10px);
}
.counter-num {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 200;
    line-height: 1;
    background: var(--g-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.counter-label {
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--c-text-muted);
    margin-top: 8px;
}
.counter-divider {
    font-size: 32px;
    color: var(--c-gold);
    opacity: 0.5;
    font-weight: 100;
}
@media (max-width: 600px) {
    .final-counter { gap: 6px; }
    .counter-item { min-width: 64px; padding: 12px 8px; }
    .counter-divider { font-size: 22px; }
}

.final-cta-note {
    margin-top: 24px;
    font-size: 13px;
    letter-spacing: 0.05em;
    color: var(--c-text-muted);
}
.final-cta-note b {
    color: var(--c-gold-bright);
    font-size: 18px;
    font-weight: 600;
}

/* ====== FOOTER ====== */
.footer {
    background: var(--c-bg-soft);
    border-top: 1px solid var(--c-line);
    padding: 80px 0 32px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
.footer-col h4 {
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--c-gold);
    margin-bottom: 20px;
    font-weight: 500;
}
.footer-col a {
    display: block;
    margin-bottom: 10px;
    color: var(--c-text-soft);
    font-size: 14px;
    transition: color 0.3s;
}
.footer-col a:hover { color: var(--c-gold-bright); }
.footer-about {
    color: var(--c-text-soft);
    font-size: 14px;
    margin-top: 16px;
    max-width: 320px;
}
.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--c-line);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: var(--c-text-muted);
}
.footer-small { font-size: 11px; opacity: 0.7; }

/* ====== TOAST ====== */
.toast {
    position: fixed;
    bottom: 32px;
    right: 32px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    background: var(--g-gold);
    color: var(--c-bg);
    border-radius: var(--radius-sm);
    box-shadow: 0 30px 60px -20px rgba(212, 175, 111, 0.6);
    transform: translateX(calc(100% + 32px));
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 9998;
    max-width: 380px;
}
.toast.show { transform: translateX(0); }
.toast.error { background: linear-gradient(135deg, #e8736f, #c44e4a); color: white; }
.toast-icon {
    flex-shrink: 0;
    width: 28px; height: 28px;
    padding: 4px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 50%;
    stroke: currentColor;
    stroke-width: 3;
    fill: none;
}
.toast-content { display: flex; flex-direction: column; gap: 2px; }
.toast-content strong { font-size: 15px; font-weight: 600; }
.toast-content span { font-size: 13px; opacity: 0.85; }

@media (max-width: 600px) {
    .toast { left: 16px; right: 16px; bottom: 16px; max-width: none; }
}

/* ====== SELECTION ====== */
::selection { background: var(--c-gold); color: var(--c-bg); }
::-moz-selection { background: var(--c-gold); color: var(--c-bg); }

/* ====== SCROLLBAR ====== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--c-bg); }
::-webkit-scrollbar-thumb { background: var(--c-gold-deep); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--c-gold); }

/* ====== UTILS ====== */
.no-scroll { overflow: hidden; }


/* ====== TZ REWORK OVERRIDES ====== */
.form-anchor {
    position: absolute;
    top: -110px;
}

.hero {
    min-height: 100svh;
    overflow: visible;
}

.hero-grid-layout {
    grid-template-columns: minmax(0, 0.96fr) minmax(460px, 1.12fr);
}

.hero-right {
    position: sticky;
    top: 96px;
    align-self: start;
}

.hero-photo-wrap {
    max-width: min(680px, 48vw);
    aspect-ratio: 3 / 4.25;
}

.hero-photo {
    object-position: center bottom;
}

.hero-author-role {
    max-width: 420px;
    line-height: 1.45;
}

.about-author-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    align-items: center;
}

.author-photo-panel {
    display: grid;
    grid-template-columns: minmax(180px, 0.9fr) minmax(220px, 1fr);
    gap: 24px;
    align-items: end;
}

.author-side-photo {
    width: 100%;
    max-height: 560px;
    object-fit: contain;
    filter: drop-shadow(0 34px 50px rgba(0, 0, 0, 0.55));
}

.author-mini-quote {
    padding: 34px;
    border-radius: var(--radius);
}

.author-mini-quote p {
    font-size: 24px;
}

.course-blocks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.course-blocks .program-week:nth-child(1),
.course-blocks .program-week:nth-child(3),
.course-blocks .program-week:nth-child(5) {
    grid-column: span 2;
}

.program-intro {
    color: var(--c-text-soft);
    margin: -8px 0 18px;
    font-size: 15px;
    line-height: 1.6;
}

.compact-band {
    background: linear-gradient(180deg, rgba(20,18,15,0.25), rgba(20,18,15,0.1));
}

.outcome-grid .result-card {
    text-align: left;
}

.outcome-grid .result-card-num {
    font-size: 42px;
}

.why-card {
    margin-bottom: 0;
}

.form-input::placeholder {
    color: transparent;
}

.form-check:focus-within .form-check-box {
    border-color: var(--c-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 111, 0.14);
}

.btn:disabled {
    opacity: 0.65;
    pointer-events: none;
}

@media (max-width: 1180px) {
    .hero-grid-layout {
        grid-template-columns: 1fr;
    }

    .hero-right {
        position: relative;
        top: auto;
        order: -1;
    }

    .hero-photo-wrap {
        max-width: min(560px, 92vw);
    }
}

@media (max-width: 1024px) {
    .about-author-grid,
    .author-photo-panel {
        grid-template-columns: 1fr;
    }

    .author-side-photo {
        max-height: 460px;
        margin: 0 auto;
    }

    .course-blocks,
    .course-blocks .program-week:nth-child(1),
    .course-blocks .program-week:nth-child(3),
    .course-blocks .program-week:nth-child(5) {
        grid-template-columns: 1fr;
        grid-column: auto;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 112px;
    }

    .hero-photo-wrap {
        max-width: 100%;
    }

    .hero-form {
        padding: 28px 22px;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .author-mini-quote p {
        font-size: 20px;
    }

    .final-cta .btn-large {
        width: 100%;
        white-space: normal;
        text-align: center;
    }
}


/* ====== HERO PHOTO POSITION FIX ====== */
.hero-photo-frame {
    overflow: visible;
}

.hero-photo {
    max-width: none;
    width: 128%;
    height: 128%;
    transform: translate(-11%, -18%) scale(1.08);
    transform-origin: center bottom;
}

.float-card-2 {
    right: -2%;
}

@media (max-width: 1180px) {
    .hero-photo {
        width: 118%;
        height: 118%;
        transform: translate(-8%, -12%) scale(1.04);
    }
}

@media (max-width: 768px) {
    .hero-photo {
        width: 112%;
        height: 112%;
        transform: translate(-5%, -8%) scale(1.02);
    }
}


/* ====== FINAL TZ LAYOUT PASS ====== */
.hero-grid-layout {
    grid-template-columns: minmax(480px, 0.82fr) minmax(620px, 1.25fr);
    gap: 28px;
}

.hero-left {
    z-index: 4;
}

.hero-right {
    min-height: calc(100vh - 120px);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.hero-photo-wrap {
    max-width: min(980px, 62vw);
    width: 100%;
    margin-right: -7vw;
    margin-left: -3vw;
    aspect-ratio: 1 / 1.02;
}

.hero-photo {
    width: 176%;
    height: 176%;
    transform: translate(-26%, -31%) scale(1.12);
}

.float-card {
    z-index: 5;
}

.float-card-1 {
    top: 14%;
    left: 16%;
}

.float-card-2 {
    top: 58%;
    right: 8%;
}

.float-card-3 {
    bottom: 10%;
    left: 12%;
}

.about-author-grid {
    grid-template-columns: minmax(0, 0.98fr) minmax(420px, 1.02fr);
}

.author-photo-panel {
    display: block;
}

.author-result-photo {
    width: 100%;
    max-height: 720px;
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius);
    border: 1px solid rgba(212, 175, 111, 0.24);
    box-shadow: var(--sh-deep);
}

.author-inline-quote {
    padding: 28px 32px;
    margin: 34px 0 0;
    border-radius: var(--radius);
}

.author-inline-quote .quote-icon {
    width: 38px;
    height: 38px;
    margin-bottom: 12px;
}

.author-inline-quote p {
    font-size: 22px;
    margin-bottom: 12px;
}

#audience .problem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

.course-blocks {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
}

.course-blocks .program-week,
.course-blocks .program-week:nth-child(1),
.course-blocks .program-week:nth-child(3),
.course-blocks .program-week:nth-child(5) {
    grid-column: auto;
}

.course-blocks .program-week {
    padding: 30px 24px;
}

.course-blocks .program-week h3 {
    font-size: 22px;
}

.course-blocks .program-week li {
    font-size: 13px;
}

/* Фотография в свободной шестой ячейке сетки блоков курса.
   Высоту задаёт ряд, поэтому кадрируем по центру-верху: лицо не срезается. */
.program-photo {
    position: relative;
    margin: 0;
    border-radius: 20px;
    overflow: hidden;
    min-height: 260px;
    border: 1px solid rgba(201, 168, 76, 0.18);
    background: var(--g-card);
}

/* Картинка выведена из потока: иначе вертикальный кадр своей высотой
   растягивал весь ряд, и соседние блоки становились выше. Высоту ячейки
   задаёт ряд, фото просто заполняет её. */
.program-photo img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--photo-pos, 50% 70%);
}

/* В одну колонку ячейка сжимается по контенту: вертикальному кадру нужна высота. */
@media (max-width: 900px) {
    .program-photo {
        min-height: 420px;
    }
}

#format .program-includes-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

#format .program-includes {
    padding: 56px 34px;
}

#format .include-item {
    padding: 18px 10px;
}

#format .include-icon {
    font-size: 36px;
    padding: 18px 20px;
}

.outcome-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
}

.outcome-grid .result-card {
    min-height: 215px;
}

@media (max-width: 1280px) {
    .hero-grid-layout {
        grid-template-columns: minmax(420px, 0.9fr) minmax(520px, 1.1fr);
        gap: 20px;
    }

    .hero-photo-wrap {
        max-width: min(850px, 58vw);
        margin-right: -5vw;
    }

    .hero-photo {
        width: 160%;
        height: 160%;
        transform: translate(-22%, -27%) scale(1.1);
    }

    .float-card-1 { left: 12%; }
    .float-card-2 { right: 4%; }
    .float-card-3 { left: 8%; }
}

@media (max-width: 1180px) {
    .hero-grid-layout,
    .about-author-grid {
        grid-template-columns: 1fr;
    }

    .hero-right {
        order: -1;
        min-height: auto;
    }

    .hero-photo-wrap {
        max-width: min(720px, 96vw);
        margin: 0 auto;
        aspect-ratio: 1 / 1.08;
    }

    .hero-photo {
        width: 135%;
        height: 135%;
        transform: translate(-13%, -17%) scale(1.05);
    }

    .course-blocks,
    .outcome-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #format .program-includes-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    #audience .problem-grid,
    .course-blocks,
    .outcome-grid,
    #format .program-includes-grid {
        grid-template-columns: 1fr;
    }

    .hero-photo-wrap {
        max-width: 100%;
        aspect-ratio: 1 / 1.12;
    }

    .hero-photo {
        width: 122%;
        height: 122%;
        transform: translate(-8%, -10%) scale(1.02);
    }

    .float-card-1 { left: 4%; top: 8%; }
    .float-card-2 { right: 2%; top: 54%; }
    .float-card-3 { left: 4%; bottom: 8%; }
}


/* ====== USER FIX: HERO FIT + AUTHOR ALIGN ====== */
.hero {
    min-height: 100vh;
    padding-top: 112px;
    padding-bottom: 0;
}

.hero-grid-layout {
    grid-template-columns: minmax(520px, 0.9fr) minmax(560px, 1.1fr);
    gap: 16px;
    align-items: start;
}

.hero-title {
    font-size: clamp(46px, 5.9vw, 82px);
    line-height: 0.98;
    max-width: 640px;
}

.hero-left {
    padding-top: 18px;
}

.hero-right {
    min-height: calc(100vh - 112px);
    justify-content: flex-start;
    overflow: visible;
}

.hero-photo-wrap {
    max-width: min(760px, 51vw);
    margin: 0 -2vw 0 -1vw;
    aspect-ratio: 1 / 1.18;
}

.hero-photo {
    width: 136%;
    height: 136%;
    transform: translate(-14%, -17%) scale(1.02);
}

.float-card-1 {
    top: 18%;
    left: 10%;
}

.float-card-2 {
    top: 63%;
    right: 4%;
}

.float-card-3 {
    bottom: 12%;
    left: 9%;
}

.about-author-grid {
    align-items: start;
}

.author-photo-panel {
    margin-top: 0;
    align-self: start;
    padding-top: 0;
}

.author-result-photo {
    margin-top: 0;
    max-height: 640px;
}

@media (max-width: 1280px) {
    .hero-grid-layout {
        grid-template-columns: minmax(470px, 0.92fr) minmax(500px, 1.08fr);
    }

    .hero-title {
        font-size: clamp(44px, 5.7vw, 76px);
    }

    .hero-photo-wrap {
        max-width: min(690px, 50vw);
    }

    .hero-photo {
        width: 130%;
        height: 130%;
        transform: translate(-12%, -14%) scale(1);
    }
}

@media (max-width: 1180px) {
    .hero {
        padding-top: 104px;
        padding-bottom: 60px;
    }

    .hero-grid-layout {
        grid-template-columns: 1fr;
    }

    .hero-right {
        min-height: auto;
    }

    .hero-photo-wrap {
        max-width: min(620px, 92vw);
        margin: 0 auto;
        aspect-ratio: 1 / 1.16;
    }

    .hero-photo {
        width: 120%;
        height: 120%;
        transform: translate(-8%, -9%) scale(1);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: clamp(42px, 15vw, 62px);
    }

    .hero-photo-wrap {
        max-width: 100%;
        aspect-ratio: 1 / 1.18;
    }

    .hero-photo {
        width: 112%;
        height: 112%;
        transform: translate(-5%, -6%) scale(1);
    }
}


/* ====== USER FIX: LIFT HERO PHOTO AND SIGNATURE ====== */
.hero-right {
    padding-top: 92px;
}

.hero-photo-wrap {
    max-width: min(740px, 49vw);
    aspect-ratio: 1 / 1.08;
}

.hero-photo {
    width: 132%;
    height: 132%;
    transform: translate(-12%, -29%) scale(1.01);
}

.hero-author {
    position: relative;
    z-index: 6;
    margin-top: -118px;
    margin-left: 4vw;
    justify-content: flex-start;
}

.hero-author-name {
    font-size: 20px;
}

.hero-author-role {
    font-size: 12px;
    line-height: 1.35;
    max-width: 520px;
}

.float-card-1 {
    top: 8%;
    left: 7%;
}

.float-card-2 {
    top: 51%;
    right: 1%;
}

.float-card-3 {
    bottom: 24%;
    left: 8%;
}

@media (max-width: 1280px) {
    .hero-right {
        padding-top: 88px;
    }

    .hero-photo-wrap {
        max-width: min(680px, 48vw);
    }

    .hero-photo {
        width: 128%;
        height: 128%;
        transform: translate(-10%, -27%) scale(1);
    }

    .hero-author {
        margin-top: -106px;
        margin-left: 3vw;
    }
}

@media (max-width: 1180px) {
    .hero-right {
        padding-top: 0;
    }

    .hero-photo-wrap {
        max-width: min(620px, 92vw);
        aspect-ratio: 1 / 1.16;
    }

    .hero-photo {
        width: 120%;
        height: 120%;
        transform: translate(-8%, -9%) scale(1);
    }

    .hero-author {
        margin: 20px auto 0;
        justify-content: center;
    }
}


/* ====== USER FIX: HERO BOTTOM SPACING ====== */
.marquee-section {
    margin-top: 50px;
}

.hero {
    padding-bottom: 50px;
}

.hero-photo {
    transform: translate(-12%, -35%) scale(1.01);
}

.hero-author {
    margin-top: -58px;
    margin-bottom: 18px;
}

@media (max-width: 1280px) {
    .hero-photo {
        transform: translate(-10%, -33%) scale(1);
    }

    .hero-author {
        margin-top: -52px;
        margin-bottom: 18px;
    }
}

@media (max-width: 1180px) {
    .hero-photo {
        transform: translate(-8%, -12%) scale(1);
    }

    .hero-author {
        margin: 20px auto 18px;
    }
}


/* ====== USER FIX: FULL WIDTH MARQUEE ====== */
.marquee-section {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    overflow: hidden;
}

.marquee,
.marquee-track {
    width: max-content;
    min-width: 100vw;
}

.marquee-track {
    padding-right: 80px;
}


/* ====== USER FIX: RIGHT EDGE WIDTH ====== */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

@supports not (overflow-x: clip) {
    html,
    body {
        overflow-x: hidden;
    }
}

.header,
.hero,
.marquee-section,
.about,
.problem,
.program,
.results,
.tariffs,
.final-cta,
.footer {
    width: 100%;
    max-width: 100%;
}

.marquee-section {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.marquee {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.marquee-track {
    min-width: max-content;
    width: max-content;
}

.footer {
    overflow: hidden;
}
