:root {
    --gold: #D4AF37;
    --gold-bright: #F6E6A2;
    --gold-deep: #8c651b;
    --black: #030303;
    --black-2: #0a0907;
    --panel: rgba(14, 13, 11, .78);
    --panel-2: rgba(24, 21, 15, .86);
    --line: rgba(212, 175, 55, .24);
    --line-strong: rgba(246, 230, 162, .48);
    --text: #f8f1dd;
    --text-grey: #c8bfa8;
    --muted: #8d836f;
    --radius-xl: 42px;
    --radius-lg: 28px;
    --radius-md: 18px;
    --shadow: 0 34px 120px rgba(0,0,0,.64);
    --gold-shadow: 0 32px 120px rgba(212,175,55,.18);
    --display: "Cormorant Garamond", serif;
    --body: "Manrope", sans-serif;
    --ease: cubic-bezier(.19, 1, .22, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    font-family: var(--body);
    background:
        radial-gradient(circle at 20% 8%, rgba(246,230,162,.16), transparent 28vw),
        radial-gradient(circle at 84% 14%, rgba(212,175,55,.10), transparent 26vw),
        linear-gradient(145deg, #030303, #070604 56%, #130e06);
    overflow-x: hidden;
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .32;
    background-image:
        linear-gradient(rgba(212,175,55,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212,175,55,.035) 1px, transparent 1px);
    background-size: 74px 74px;
    mask-image: linear-gradient(to bottom, #000, transparent 78%);
}
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .12;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='170' height='170'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='170' height='170' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}
a { color: var(--gold-bright); text-decoration-color: rgba(246,230,162,.36); text-underline-offset: 4px; transition: color .3s var(--ease), text-shadow .3s var(--ease); }
a:hover { color: #fff6c8; text-shadow: 0 0 18px rgba(246,230,162,.22); }
p { margin: 0 0 20px; color: var(--text-grey); line-height: 1.72; }
strong { color: #fff1b5; font-weight: 800; }
em { color: var(--gold-bright); }

.topbar, .hero-grid, .container, footer { position: relative; z-index: 1; width: min(1180px, calc(100vw - 36px)); margin: 0 auto; }
.topbar { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.brand { font-family: var(--display); font-size: 30px; letter-spacing: .02em; color: var(--gold-bright); text-decoration: none; text-transform: none; }

.luxury-hero { position: relative; z-index: 1; padding-bottom: clamp(52px, 8vw, 96px); }
.hero-grid { min-height: calc(100vh - 112px); display: grid; grid-template-columns: minmax(0, .88fr) minmax(360px, .72fr); gap: clamp(34px, 6vw, 78px); align-items: center; }
.eyebrow { display: inline-flex; margin: 0 0 20px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--gold-bright); font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; background: rgba(212,175,55,.06); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.035em; color: var(--text); margin: 0; }
h1 { max-width: 760px; font-size: clamp(48px, 7.4vw, 104px); line-height: .92; color: #f9edc2; text-shadow: 0 18px 52px rgba(212,175,55,.16); }
h1::after { content: ""; display: block; width: min(280px, 48vw); height: 1px; margin: 28px 0 0; background: linear-gradient(90deg, var(--gold-bright), var(--gold), transparent); }
.hero-lead { max-width: 650px; margin-top: 28px; font-size: clamp(18px, 2vw, 23px); color: #d9cfb9; }
.accent, .highlight { color: var(--gold-bright); font-weight: 800; }
.highlight { padding: 2px 7px; border-radius: 7px; background: rgba(212,175,55,.14); box-shadow: inset 0 0 0 1px rgba(246,230,162,.16); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.btn-gold, .btn-line { min-height: 58px; display: inline-flex; align-items: center; justify-content: center; padding: 0 24px; border-radius: 999px; font-weight: 900; text-decoration: none; cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease); }
.btn-gold { border: 0; color: #080604; text-transform: uppercase; letter-spacing: .07em; background: linear-gradient(100deg, #a87518, var(--gold), var(--gold-bright), #b9821d); box-shadow: 0 22px 56px rgba(212,175,55,.30); }
.btn-gold:hover { transform: translateY(-5px); box-shadow: 0 30px 78px rgba(212,175,55,.44); }
.btn-line { color: var(--gold-bright); border: 1px solid var(--line); background: rgba(255,255,255,.035); }
.btn-line:hover { transform: translateY(-4px); border-color: var(--line-strong); background: rgba(212,175,55,.08); }

.hero-photo { position: relative; margin: 0; padding: 14px; border: 1px solid var(--line-strong); border-radius: 38px; background: linear-gradient(145deg, rgba(246,230,162,.12), rgba(255,255,255,.035)); box-shadow: var(--shadow), var(--gold-shadow); }
.hero-photo::before { content: ""; position: absolute; inset: -18px; z-index: -1; border-radius: 48px; background: radial-gradient(circle at 50% 18%, rgba(246,230,162,.20), transparent 52%); filter: blur(10px); }
.hero-photo img { width: 100%; max-height: 78vh; object-fit: contain; object-position: center; border-radius: 27px; background: #050505; }
.hero-photo figcaption { margin-top: 12px; color: var(--muted); text-align: center; font-size: 13px; }

.container { padding: clamp(54px, 8vw, 92px) 0 80px; }
.text-section, .info-block, .secret-section, .important, .bonus-box, .luxury-form { border: 1px solid var(--line); border-radius: var(--radius-xl); background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(212,175,55,.035)); box-shadow: var(--shadow); }
.text-section { padding: clamp(26px, 4vw, 46px); margin-bottom: 30px; }
h2 { font-size: clamp(34px, 4.8vw, 64px); line-height: 1.02; color: var(--gold-bright); margin-bottom: 22px; }
h3 { font-size: clamp(27px, 3vw, 38px); color: var(--gold-bright); margin-bottom: 18px; }
ul { margin: 0 0 24px; padding: 0; list-style: none; display: grid; gap: 12px; }
li { color: var(--text-grey); padding: 18px 20px; border: 1px solid rgba(212,175,55,.16); border-radius: 18px; background: rgba(0,0,0,.22); }
.info-block, .bonus-box, .important { padding: clamp(26px, 4vw, 44px); margin: 32px 0; }
.important { border-color: var(--line-strong); }
.bonus-box h3 { margin-top: 0; }
.secret-section { display: grid; grid-template-columns: .86fr 1fr; gap: clamp(24px, 5vw, 58px); align-items: start; padding: clamp(28px, 5vw, 54px); margin: 34px 0; }
.form-note { text-align: center; font-size: 19px; color: #e4d8bd; margin: 46px auto 0; max-width: 760px; }

.diploma-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 34px 0; }
.diploma-card { border: 1px solid rgba(212,175,55,.22); border-radius: 24px; padding: 9px; background: rgba(255,255,255,.035); cursor: zoom-in; transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease); }
.diploma-card:hover { transform: translateY(-7px); border-color: var(--line-strong); box-shadow: 0 24px 80px rgba(212,175,55,.13); }
.diploma-photo { width: 100%; height: 300px; object-fit: cover; object-position: center top; border-radius: 16px; display: block; }

.luxury-form { max-width: 900px; margin: 34px auto 0; padding: clamp(30px, 5vw, 58px); text-align: center; border-color: var(--line-strong); background: radial-gradient(circle at 50% 0%, rgba(246,230,162,.13), transparent 42%), linear-gradient(145deg, rgba(25,20,10,.95), rgba(0,0,0,.96)); }
.luxury-form h2 { margin-bottom: 8px; }
.input-group { margin: 24px 0 18px; }
input[type="email"] { width: min(100%, 500px); min-height: 62px; padding: 0 24px; border-radius: 999px; border: 1px solid rgba(246,230,162,.30); color: #fff; background: rgba(0,0,0,.56); outline: none; font: inherit; transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease); }
input[type="email"]:focus { transform: translateY(-2px); border-color: var(--line-strong); box-shadow: 0 0 0 5px rgba(212,175,55,.12); }
.legal-container { max-width: 650px; margin: 24px auto; padding: 20px; border: 1px solid rgba(212,175,55,.16); border-radius: 22px; background: rgba(255,255,255,.035); text-align: left; }
.legal-header { display: block; text-align: center; color: var(--gold-bright); font-weight: 800; margin-bottom: 14px; }
.checkbox-item { display: grid; grid-template-columns: 18px 1fr; gap: 12px; margin-bottom: 12px; }
.checkbox-item label { font-size: 11px; line-height: 1.55; color: #a99f8b; }
.checkbox-item input { margin-top: 4px; accent-color: var(--gold); }
.luxury-form .btn-gold { width: min(100%, 500px); min-height: 64px; }

footer { padding: 40px 0 54px; border-top: 1px solid rgba(212,175,55,.18); text-align: center; color: var(--muted); font-size: 13px; }
footer p { color: var(--muted); }

.lightbox { position: fixed; inset: 0; z-index: 50; display: none; }
.lightbox-visible { display: block; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.84); backdrop-filter: blur(10px); }
.lightbox-dialog { position: relative; z-index: 1; width: min(960px, calc(100% - 32px)); max-height: calc(100vh - 48px); margin: 24px auto; display: flex; align-items: center; justify-content: center; }
.lightbox-image { max-width: 100%; max-height: calc(100vh - 48px); border-radius: 18px; background: #fff; box-shadow: 0 34px 120px rgba(0,0,0,.68); }
.lightbox-close { position: fixed; right: 22px; top: 18px; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: #080705; color: var(--gold-bright); font-size: 30px; cursor: pointer; }
.lightbox-open { overflow: hidden; }
.cookie-popup { position: fixed; left: 18px; right: 18px; bottom: 18px; z-index: 40; display: none; }
.cookie-popup-visible { display: block; }
.cookie-popup-inner { width: min(960px, 100%); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 24px; background: rgba(8,7,5,.94); box-shadow: var(--shadow); backdrop-filter: blur(18px); }
.cookie-popup-text { display: grid; gap: 4px; color: var(--text-grey); font-size: 13px; line-height: 1.45; }
.cookie-popup-text strong { color: var(--gold-bright); }
.btn-cookie { min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: linear-gradient(100deg, var(--gold), var(--gold-bright)); color: #080604; font-weight: 800; cursor: pointer; }

.reveal { opacity: 0; transform: translateY(24px); animation: riseIn .86s var(--ease) forwards; animation-delay: var(--delay, 0s); }
@keyframes riseIn { to { opacity: 1; transform: translateY(0); } }

@media (max-width: 940px) {
    .hero-grid, .secret-section { grid-template-columns: 1fr; }
    .hero-grid { min-height: auto; padding-top: 20px; }
    .hero-photo { max-width: 620px; margin: 0 auto; }
    .diploma-grid { grid-template-columns: 1fr; }
    .diploma-photo { height: auto; max-height: 540px; object-fit: contain; background: #050505; }
}
@media (max-width: 620px) {
    .topbar { min-height: 70px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 4px; }
    .topbar span { font-size: 10px; }
    h1 { font-size: clamp(42px, 14vw, 66px); }
    .hero-actions { display: grid; }
    .btn-gold, .btn-line { width: 100%; }
    .hero-photo { padding: 8px; border-radius: 28px; }
    .hero-photo img { border-radius: 20px; max-height: none; }
    .text-section, .info-block, .secret-section, .important, .bonus-box, .luxury-form { border-radius: 26px; }
    .cookie-popup-inner { flex-direction: column; align-items: stretch; }
    .btn-cookie { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
