:root {
    --bg: #080807;
    --panel: rgba(21, 20, 18, .82);
    --panel-2: rgba(255, 255, 255, .055);
    --text: #f5efe6;
    --muted: #b7aca0;
    --line: rgba(227, 192, 126, .22);
    --gold: #e2bf79;
    --gold-2: #9b733f;
    --soft: #f8d8df;
    --danger: #efb6b6;
    --shadow: 0 28px 90px rgba(0, 0, 0, .52);
    --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--text);
    font-family: Inter, Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(226, 191, 121, .14), transparent 35%),
        radial-gradient(circle at 80% 10%, rgba(255, 216, 226, .12), transparent 30%),
        linear-gradient(180deg, #11100f 0%, var(--bg) 40%, #050505 100%);
    min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.page-glow {
    position: fixed;
    z-index: -1;
    width: 380px;
    height: 380px;
    filter: blur(50px);
    opacity: .25;
    border-radius: 999px;
}
.page-glow-one { top: 100px; left: -100px; background: #e2bf79; }
.page-glow-two { right: -140px; top: 40%; background: #f0c9d4; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0 5vw;
    background: rgba(9, 9, 8, .74);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 230px; }
.brand img { width: 48px; height: 48px; object-fit: cover; border-radius: 16px; border: 1px solid var(--line); }
.brand strong { display: block; letter-spacing: .08em; text-transform: uppercase; font-size: 14px; }
.brand em { display: block; color: var(--muted); font-size: 12px; font-style: normal; margin-top: 2px; }

.main-nav { display: flex; align-items: center; gap: 28px; color: #d6c9bc; font-size: 14px; }
.main-nav a { transition: .2s ease; }
.main-nav a:hover { color: var(--gold); }
.header-action {
    padding: 12px 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(226,191,121,.18), rgba(255,255,255,.04));
    color: var(--gold);
}

.section-pad { padding: 92px 5vw; }
.hero {
    min-height: calc(100vh - 82px);
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
    align-items: center;
    gap: 60px;
}
.eyebrow {
    margin: 0 0 14px;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: .22em;
    font-size: 12px;
}
h1, h2, h3 { margin: 0; line-height: 1.05; }
h1 { font-size: clamp(42px, 7vw, 92px); letter-spacing: -.07em; max-width: 900px; }
h2 { font-size: clamp(32px, 4vw, 58px); letter-spacing: -.05em; }
h3 { font-size: 22px; letter-spacing: -.02em; }
.hero-text, .section-head p, .split-section p, .product-body p, .contacts p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.65;
}
.hero-text { max-width: 650px; margin: 28px 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid var(--line);
    font-weight: 700;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); border-color: rgba(226,191,121,.65); }
.btn.primary { color: #17130d; background: linear-gradient(135deg, #ffe1a0, #b48a4b); border-color: transparent; }
.btn.ghost { background: rgba(255,255,255,.05); color: var(--text); }
.hero-stats { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-stats span {
    padding: 15px 17px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.045);
    border-radius: 18px;
    color: var(--muted);
}
.hero-stats b { display: block; color: var(--text); margin-bottom: 2px; }
.hero-card {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(226, 191, 121, .18);
    border-radius: 44px;
    background: linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.015));
    box-shadow: var(--shadow);
    overflow: hidden;
}
.hero-card::before {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: 34px;
    border: 1px solid rgba(255,255,255,.08);
}
.hero-card img { width: min(82%, 540px); border-radius: 34px; opacity: .95; box-shadow: 0 20px 80px rgba(0,0,0,.5); }
.glass-panel {
    position: absolute;
    left: 40px;
    right: 40px;
    bottom: 40px;
    padding: 22px;
    border-radius: 24px;
    background: rgba(9,9,8,.72);
    border: 1px solid rgba(226,191,121,.23);
    backdrop-filter: blur(16px);
}
.glass-panel span { display: block; color: var(--gold); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 8px; }
.glass-panel b { font-size: 22px; }

.intro-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin: 0 5vw;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: var(--radius);
    overflow: hidden;
    background: rgba(255,255,255,.06);
}
.intro-strip article { padding: 32px; background: rgba(10,10,9,.72); }
.intro-strip span { color: var(--gold); font-size: 13px; }
.intro-strip b { display: block; font-size: 23px; margin: 12px 0 8px; }
.intro-strip p { margin: 0; color: var(--muted); line-height: 1.55; }

.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 820px; margin-bottom: 34px; }
.section-head p:last-child { margin: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 34px; }
.filter-btn {
    border: 1px solid rgba(255,255,255,.09);
    background: rgba(255,255,255,.04);
    color: #d7cbc0;
    border-radius: 999px;
    padding: 11px 16px;
    cursor: pointer;
    transition: .2s ease;
}
.filter-btn:hover, .filter-btn.active { background: rgba(226,191,121,.15); border-color: rgba(226,191,121,.45); color: var(--gold); }
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}
.product-card {
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
    box-shadow: 0 18px 60px rgba(0,0,0,.22);
    transition: .22s ease;
}
.product-card:hover { transform: translateY(-6px); border-color: rgba(226,191,121,.38); }
.product-card.is-hidden { display: none; }
.product-image { position: relative; aspect-ratio: 1 / .82; overflow: hidden; background: linear-gradient(135deg, #312b24, #111); }
.product-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.95) contrast(1.04); transition: transform .45s ease; }
.product-card:hover .product-image img { transform: scale(1.06); }
.product-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,.72));
}
.product-number, .product-category {
    position: absolute;
    z-index: 2;
    top: 14px;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(0,0,0,.56);
    border: 1px solid rgba(255,255,255,.15);
    color: #fff2d4;
    font-size: 12px;
}
.product-number { left: 14px; }
.product-category { right: 14px; }
.product-body { padding: 22px; }
.product-body .composition { color: var(--gold); margin: 10px 0 8px; font-size: 14px; }
.product-body p:not(.composition) { margin: 0; min-height: 72px; font-size: 15px; }
.product-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; }
.price { color: var(--text); font-size: 18px; font-weight: 800; }
.product-bottom a {
    padding: 10px 13px;
    border-radius: 999px;
    color: #17130d;
    background: linear-gradient(135deg, #ffe1a0, #b48a4b);
    font-size: 14px;
    font-weight: 800;
}

.split-section {
    display: grid;
    grid-template-columns: 1fr .72fr;
    align-items: center;
    gap: 34px;
    margin: 0 5vw 40px;
    padding-left: 46px;
    padding-right: 46px;
    border: 1px solid rgba(226,191,121,.16);
    border-radius: 34px;
    background: linear-gradient(135deg, rgba(226,191,121,.1), rgba(255,255,255,.035));
}
.split-section.reverse { grid-template-columns: .72fr 1fr; }
.action-box {
    min-height: 260px;
    padding: 34px;
    border-radius: 28px;
    background: rgba(0,0,0,.34);
    border: 1px solid rgba(255,255,255,.08);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 16px;
}
.action-box span { color: var(--gold); text-transform: uppercase; letter-spacing: .18em; font-size: 12px; }
.action-box b { font-size: 28px; }
.bot-box { background: radial-gradient(circle at top right, rgba(226,191,121,.16), rgba(0,0,0,.38)); }

.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.contact-cards article {
    padding: 24px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.04);
}
.contact-cards span { display: block; color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.contact-cards b { line-height: 1.4; }
.contact-cards a { color: var(--gold); }

.footer {
    margin-top: 30px;
    background: #2f2f2f;
    border-top: 1px solid rgba(255,255,255,.08);
}
.footer-top {
    display: grid;
    grid-template-columns: 1.2fr .7fr .9fr .9fr;
    gap: 54px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 54px 24px;
}
.footer-brand img { width: 44px; height: 44px; border-radius: 13px; margin-bottom: 12px; }
.footer h3, .footer h4 { margin: 0 0 12px; }
.footer p { color: #ddd; margin: 0 0 22px; }
.footer small { display: block; margin-top: 18px; color: #b5b5b5; }
.footer strong { display: block; color: #fff; margin-top: 6px; line-height: 1.45; }
.footer-col { display: flex; flex-direction: column; gap: 13px; }
.footer-col h4 { color: #d9c3a0; }
.footer-col a { color: #fff; transition: .2s ease; }
.footer-col a:hover { color: var(--gold); }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a {
    width: 38px; height: 38px; border-radius: 999px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.1); color: #fff; font-size: 12px; font-weight: 800;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    max-width: 1180px;
    margin: 0 auto;
    padding: 22px 24px 28px;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    color: #cfcfcf;
    font-size: 13px;
}
.footer-bottom p { margin: 0; }

.scroll-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 54px;
    height: 54px;
    border: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, #ffe1a0, #b48a4b);
    color: #15110d;
    font-size: 28px;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: .2s ease;
    box-shadow: 0 14px 40px rgba(0,0,0,.3);
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }

@media (max-width: 1180px) {
    .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .main-nav { gap: 16px; }
}
@media (max-width: 900px) {
    .site-header { height: auto; min-height: 74px; flex-wrap: wrap; padding: 14px 5vw; }
    .main-nav { order: 3; width: 100%; overflow-x: auto; padding-bottom: 4px; }
    .header-action { margin-left: auto; }
    .hero { grid-template-columns: 1fr; padding-top: 58px; }
    .hero-card { min-height: 440px; }
    .intro-strip, .contact-cards, .footer-top { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .split-section, .split-section.reverse { grid-template-columns: 1fr; padding: 34px; }
    .footer-bottom { flex-direction: column; }
}
@media (max-width: 580px) {
    .product-grid { grid-template-columns: 1fr; }
    .hero-stats { flex-direction: column; }
    .brand { min-width: auto; }
    .brand strong { font-size: 12px; }
    .header-action { display: none; }
    .section-pad { padding: 64px 5vw; }
}


/* Личный кабинет */
.header-actions { display:flex; align-items:center; gap:10px; }
.header-login { padding:12px 18px; border-radius:999px; border:1px solid rgba(255,255,255,.12); background:rgba(255,255,255,.05); }
.header-login:hover { border-color:var(--line); color:var(--gold); }
.account-page { min-height:100vh; }
.account-header { position:relative; }
.account-main { min-height:calc(100vh - 82px); display:grid; place-items:center; padding:70px 20px; }
.account-card { width:min(100%, 540px); padding:42px; border-radius:34px; border:1px solid rgba(226,191,121,.2); background:rgba(15,14,13,.9); box-shadow:var(--shadow); backdrop-filter:blur(18px); }
.account-card h1 { font-size:clamp(38px,7vw,62px); }
.account-card h2 { font-size:30px; margin-bottom:10px; }
.account-lead { color:var(--muted); line-height:1.6; margin:14px 0 26px; }
.account-tabs { display:grid; grid-template-columns:1fr 1fr; gap:8px; padding:6px; border:1px solid rgba(255,255,255,.08); border-radius:18px; background:rgba(255,255,255,.035); margin-bottom:24px; }
.account-tab { border:0; border-radius:13px; padding:13px; background:transparent; color:var(--muted); cursor:pointer; font-weight:800; }
.account-tab.active { color:#17130d; background:linear-gradient(135deg,#ffe1a0,#b48a4b); }
.account-form { display:none; }
.account-form.active { display:flex; flex-direction:column; gap:16px; }
.account-form label { display:flex; flex-direction:column; gap:8px; color:#ded4c8; font-size:14px; font-weight:700; }
.account-form input { width:100%; min-height:52px; border-radius:15px; border:1px solid rgba(255,255,255,.11); background:rgba(255,255,255,.055); color:var(--text); padding:0 16px; outline:none; font:inherit; }
.account-form input:focus { border-color:rgba(226,191,121,.65); box-shadow:0 0 0 3px rgba(226,191,121,.09); }
.account-form input[type=date] { color-scheme:dark; }
.wide { width:100%; border:0; cursor:pointer; font:inherit; margin-top:5px; }
.wide:disabled { opacity:.55; cursor:wait; }
.link-button { border:0; background:none; color:var(--gold); cursor:pointer; font:inherit; padding:5px; }
.form-message { min-height:22px; margin:0; color:#efb6b6; font-size:14px; text-align:center; }
.form-message.ok { color:#bfe7bd; }
.code-input { text-align:center; letter-spacing:.55em; font-size:28px !important; font-weight:800; }
.code-icon { width:62px; height:62px; border-radius:20px; display:grid; place-items:center; background:rgba(226,191,121,.12); border:1px solid var(--line); color:var(--gold); font-size:30px; margin-bottom:6px; }
.waiting-panel, .result-panel { text-align:center; align-items:center; }
.spinner { width:52px; height:52px; border:4px solid rgba(255,255,255,.12); border-top-color:var(--gold); border-radius:50%; animation:spin .9s linear infinite; }
@keyframes spin { to { transform:rotate(360deg); } }
@media (max-width:580px) { .account-card{padding:28px 20px;border-radius:26px}.account-main{padding:32px 14px}.header-actions{gap:6px}.header-login,.header-action{padding:10px 13px}.main-nav a[href="/account"]{display:none} }
