/* ============================================================
   Media Vision Group — стили сайта
   Палитра: чёрный #0a0a0b, алый #D80032 → бордо #78121E
   Шрифты: Montserrat (заголовки), Mulish (текст)
   ============================================================ */

:root {
    --red: #d80032;
    --red-bright: #ef233c;
    --maroon: #78121e;
    --bg: #0a0a0b;
    --bg-2: #0f0f12;
    --card: #141419;
    --card-2: #18181e;
    --line: #232329;
    --line-light: #2c2c34;
    --text: #f4f4f6;
    --muted: #9b9ba3;
    --muted-2: #6e6e76;
    --radius: 20px;
    --radius-sm: 12px;
    --grad: linear-gradient(90deg, #d80032 0%, #78121e 100%);
    --grad-180: linear-gradient(180deg, #78121e 0%, #d80032 100%);
    --shadow-red: 0 10px 40px rgba(216, 0, 50, .35);
    --font-head: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    --font-body: 'Mulish', 'Segoe UI', Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16.5px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.18; font-weight: 800; }
::selection { background: var(--red); color: #fff; }

.container { width: min(1180px, 92%); margin: 0 auto; }
section[id], [id="apply"] { scroll-margin-top: 96px; }
.container-narrow { width: min(820px, 92%); }
.center { text-align: center; }
.muted { color: var(--muted); }

/* ---------- Кнопки ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1rem;
    padding: .85rem 1.9rem;
    border-radius: 500px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
    will-change: transform;
}
.btn-lg { padding: 1.05rem 2.4rem; font-size: 1.06rem; }
.btn-sm { padding: .62rem 1.35rem; font-size: .92rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 6px 24px rgba(216, 0, 50, .28); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-red); }
.btn-ghost { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .16); color: var(--text); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .4); transform: translateY(-3px); background: rgba(255, 255, 255, .08); }
.btn-outline { background: transparent; border-color: var(--red); color: var(--red-bright); }
.btn-outline:hover { background: rgba(216, 0, 50, .12); transform: translateY(-3px); }

/* ---------- Появление при скролле ---------- */
.js .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .75s cubic-bezier(.22, .61, .36, 1), transform .75s cubic-bezier(.22, .61, .36, 1);
    transition-delay: var(--d, 0s);
}
.js .reveal.in { opacity: 1; transform: none; }

/* ============================================================
   Шапка
   ============================================================ */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    background: rgba(10, 10, 11, .55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: background .3s ease, border-color .3s ease;
}
.site-header.scrolled { background: rgba(10, 10, 11, .88); border-bottom-color: var(--line); }

.header-inner { display: flex; align-items: center; gap: 2rem; padding: 1rem 0; }

.brand { display: inline-flex; align-items: center; gap: .65rem; font-family: var(--font-head); font-weight: 800; font-size: 1.12rem; letter-spacing: -.01em; }
.brand-mark { display: inline-flex; border-radius: 10px; overflow: hidden; }
.brand-text b { color: var(--red-bright); font-weight: 800; }

.main-nav { display: flex; gap: 1.6rem; margin-left: auto; }
.nav-link { font-weight: 600; font-size: .95rem; color: var(--muted); position: relative; padding: .2rem 0; transition: color .25s ease; }
.nav-link::after {
    content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
    background: var(--red-bright); border-radius: 2px; transition: width .3s ease;
}
.nav-link:hover { color: var(--text); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--text); }

.header-actions { display: flex; align-items: center; gap: 1rem; }

.lang-switch { display: flex; gap: .4rem; font-family: var(--font-head); font-weight: 700; font-size: .85rem; color: var(--muted-2); }
.lang-switch a { padding: .18rem .5rem; border-radius: 8px; transition: color .2s ease, background .2s ease; }
.lang-switch a:hover { color: var(--text); }
.lang-switch a.active { color: #fff; background: rgba(216, 0, 50, .22); }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: .4rem; }
.burger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 9rem 0 5rem; overflow: hidden; }
.hero-bg {
    position: absolute; inset: 0; z-index: -1;
    background: url('../img/hero.jpg') center / cover no-repeat;
    animation: heroZoom 18s ease-in-out infinite alternate;
}
.hero-bg::after {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 70% 55% at 50% 45%, rgba(216, 0, 50, .16), transparent 60%),
        linear-gradient(180deg, rgba(10, 10, 11, .82) 0%, rgba(10, 10, 11, .45) 40%, rgba(10, 10, 11, .97) 100%);
}
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.07); } }

.hero-inner { max-width: 900px; }

.kicker {
    display: inline-flex; align-items: center; gap: .6rem;
    font-family: var(--font-head); font-weight: 700; font-size: .85rem;
    letter-spacing: .22em; text-transform: uppercase; color: var(--red-bright);
    margin-bottom: 1.4rem;
}
.kicker::before { content: ''; width: 34px; height: 2px; background: var(--red-bright); border-radius: 2px; }

.hero-title { font-size: clamp(2.5rem, 6.2vw, 4.7rem); font-weight: 900; letter-spacing: -.025em; margin-bottom: 1.4rem; }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--muted); max-width: 620px; margin-bottom: 2.4rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.6rem; }
.hero-badge {
    display: inline-flex; align-items: center; gap: .6rem;
    font-size: .92rem; font-weight: 600; color: var(--muted);
    border: 1px solid var(--line-light); border-radius: 500px; padding: .55rem 1.2rem;
    background: rgba(20, 20, 25, .5);
}
.hero-badge svg { width: 18px; height: 18px; color: var(--red-bright); }

/* ============================================================
   Секции
   ============================================================ */
.section { padding: 6.5rem 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 3.4rem; }
.section-head .kicker { justify-content: center; }
.section-head .kicker::after { content: ''; width: 34px; height: 2px; background: var(--red-bright); border-radius: 2px; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); letter-spacing: -.02em; }
.section-sub { color: var(--muted); margin-top: 1rem; font-size: 1.08rem; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2rem 1.8rem;
    transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.card:hover { transform: translateY(-6px); border-color: rgba(216, 0, 50, .45); box-shadow: 0 18px 46px rgba(0, 0, 0, .45), 0 0 0 1px rgba(216, 0, 50, .08); }
.card h3 { font-size: 1.18rem; margin-bottom: .7rem; }
.card p { color: var(--muted); font-size: .98rem; }

.icon-badge {
    width: 58px; height: 58px; border-radius: 16px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(216, 0, 50, .12);
    border: 1px solid rgba(216, 0, 50, .25);
    color: var(--red-bright);
    margin-bottom: 1.3rem;
    transition: transform .5s ease;
}
.icon-badge svg { width: 28px; height: 28px; }
.card:hover .icon-badge { transform: rotate(8deg) scale(1.08); }
.icon-badge-red { background: var(--grad); color: #fff; border-color: transparent; }

/* ---------- Шаги ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-bottom: 3rem; }
.step { position: relative; padding: 2.2rem 1.8rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); overflow: hidden; transition: border-color .35s ease, transform .35s ease; }
.step:hover { border-color: rgba(216, 0, 50, .45); transform: translateY(-4px); }
.step-num {
    position: absolute; top: .4rem; right: 1.2rem;
    font-family: var(--font-head); font-weight: 900; font-size: 4.6rem; line-height: 1;
    color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .1);
    transition: -webkit-text-stroke-color .4s ease;
}
.step:hover .step-num { -webkit-text-stroke-color: rgba(216, 0, 50, .5); }
.step h3 { font-size: 1.2rem; margin-bottom: .7rem; }
.step p { color: var(--muted); font-size: .98rem; }

/* ---------- Цифры ---------- */
.stats-band { background: var(--grad-180); padding: 4.2rem 0; position: relative; overflow: hidden; }
.stats-band::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse 60% 90% at 50% 0%, rgba(255, 255, 255, .14), transparent 60%);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; position: relative; }
.stat-value { font-family: var(--font-head); font-weight: 900; font-size: clamp(2.4rem, 4.5vw, 3.6rem); line-height: 1; color: #fff; letter-spacing: -.02em; }
.stat-suffix { color: rgba(255, 255, 255, .85); }
.stat-label { margin-top: .5rem; font-size: .95rem; color: rgba(255, 255, 255, .82); font-weight: 600; }

/* ---------- FAQ (нативные details/summary, стилизованные) ---------- */
.faq { display: grid; gap: .9rem; }
.faq-item {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color .3s ease;
}
.faq-item[open] { border-color: rgba(216, 0, 50, .45); }
.faq-head {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    width: 100%; padding: 1.15rem 1.4rem;
    background: transparent; border: 0; cursor: pointer;
    font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; line-height: 1.4;
    color: var(--text); text-align: left;
    list-style: none; appearance: none; -webkit-appearance: none; user-select: none;
    transition: color .25s ease;
}
.faq-head:hover { color: var(--red-bright); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ''; }
.faq-item summary::before { display: none; }
.faq-head:focus-visible { outline: 2px solid var(--red); outline-offset: -2px; border-radius: var(--radius-sm); }
.faq-q { flex: 1 1 auto; }
.faq-plus { position: relative; flex: 0 0 22px; height: 22px; font-style: normal; }
.faq-plus::before, .faq-plus::after {
    content: ''; position: absolute; background: var(--red-bright); border-radius: 2px;
    transition: transform .35s ease;
}
.faq-plus::before { width: 16px; height: 2px; top: 10px; left: 3px; }
.faq-plus::after { width: 2px; height: 16px; top: 3px; left: 10px; }
.faq-item[open] .faq-plus::after { transform: scaleY(0); }
.faq-a {
    padding: 0 1.4rem 1.3rem; color: var(--muted); font-size: .98rem; line-height: 1.6;
}
/* Плавное появление ответа при открытии (без JS, чисто на CSS) */
.faq-item[open] .faq-a { animation: faqOpen .45s ease both; }
@keyframes faqOpen {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: none; }
}

/* ---------- Партнёры: мы работали с ---------- */
.partners-btns { display: flex; gap: .7rem; justify-content: center; margin: -2.2rem 0 2rem; }
.pn-btn {
    width: 48px; height: 48px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .05); border: 1px solid var(--line-light);
    color: var(--text); cursor: pointer;
    transition: background .25s ease, border-color .25s ease, color .25s ease, transform .2s ease, opacity .2s ease;
}
.pn-btn svg { width: 20px; height: 20px; }
.pn-btn:hover:not(:disabled) { background: var(--grad); border-color: transparent; color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-red); }
.pn-btn:disabled { opacity: .3; cursor: default; }

.partners-track {
    display: flex; gap: 1.25rem;
    overflow-x: auto; overscroll-behavior-x: contain;
    padding: .35rem .2rem 1.2rem;
    cursor: grab; user-select: none; -webkit-user-select: none;
    scrollbar-width: none;
}
.partners-track::-webkit-scrollbar { display: none; }
.partners-track.drag { cursor: grabbing; }
.partner-card {
    flex: 0 0 auto; width: 200px; margin: 0;
    background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px;
    padding: 1rem 1rem 1.15rem; text-align: center;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.partner-card:hover { transform: translateY(-5px); border-color: rgba(216, 0, 50, .45); box-shadow: 0 18px 42px rgba(0, 0, 0, .4); }
.partner-photo {
    position: relative;
    aspect-ratio: 1 / 1; border-radius: 16px; overflow: hidden;
    background:
        radial-gradient(ellipse 90% 70% at 50% 8%, rgba(216, 0, 50, .14), transparent 60%),
        linear-gradient(160deg, #15151d, #0c0c11 70%);
    display: flex; align-items: center; justify-content: center;
}
/* Виньетка: затемнение по краям (и фото, и заглушки) */
.partner-photo::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    box-shadow: inset 0 0 42px 20px rgba(5, 5, 9, .62);
    border-radius: 16px;
    z-index: 2;
}
.partner-photo img { width: 100%; height: 100%; object-fit: cover; display: block; -webkit-user-drag: none; }

/* Заглушка: виниловая пластинка + эквалайзер */
.partner-ph {
    position: absolute; inset: 0; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 13px; z-index: 1;
}
.ph-vinyl {
    width: 96px; height: 96px; border-radius: 50%; position: relative;
    display: flex; align-items: center; justify-content: center;
    background: repeating-radial-gradient(circle at 50% 50%, #1d1d26 0 3px, #0d0d13 3px 6px);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05), 0 14px 34px rgba(0, 0, 0, .55);
    animation: phSpin 16s linear infinite;
}
.ph-vinyl::before {
    content: ''; position: absolute; width: 38px; height: 38px; border-radius: 50%;
    background: var(--grad); box-shadow: 0 0 0 4px rgba(0, 0, 0, .38), 0 0 22px rgba(216, 0, 50, .5);
}
.ph-vinyl b {
    position: relative; z-index: 1; color: #fff;
    font-family: var(--font-head); font-size: .8rem; font-weight: 800;
    letter-spacing: .05em; text-transform: uppercase;
    animation: phSpin 16s linear infinite reverse;
}
.ph-eq { display: flex; gap: 4px; align-items: flex-end; height: 20px; }
.ph-eq i { width: 4px; border-radius: 2px; background: var(--grad); transform-origin: bottom; animation: phEq 1.1s ease-in-out infinite alternate; }
.ph-eq i:nth-child(1) { height: 9px;  animation-delay: .05s; }
.ph-eq i:nth-child(2) { height: 15px; animation-delay: .35s; }
.ph-eq i:nth-child(3) { height: 20px; animation-delay: .62s; }
.ph-eq i:nth-child(4) { height: 13px; animation-delay: .2s; }
.ph-eq i:nth-child(5) { height: 8px;  animation-delay: .48s; }
@keyframes phSpin { to { transform: rotate(360deg); } }
@keyframes phEq { from { transform: scaleY(.45); } to { transform: scaleY(1); } }
.partner-card figcaption {
    margin-top: .85rem; font-family: var(--font-head); font-weight: 700;
    font-size: .98rem; color: var(--text); word-break: break-word;
}
@media (max-width: 640px) {
    .partners-nav { flex-direction: column; align-items: flex-start; gap: .9rem; }
    .partners-btns { align-self: flex-end; }
    .partner-card { width: 160px; }
}

/* ---------- CTA + контакты ---------- */
.cta-banner {
    text-align: center; padding: 3.2rem 2rem; margin-bottom: 4rem;
    background: var(--grad-180); border-radius: 28px; position: relative; overflow: hidden;
}
.cta-banner::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 100% at 50% -20%, rgba(255, 255, 255, .18), transparent 55%); }
.cta-banner h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); position: relative; }
.cta-banner p { position: relative; color: rgba(255, 255, 255, .85); margin-top: .7rem; font-size: 1.06rem; }

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 3rem; align-items: start; }
.contact-info h3:not(.kicker) { font-size: 1.9rem; margin-bottom: 1rem; }
.contact-info > p { color: var(--muted); margin-bottom: 2rem; }
.contact-list { display: grid; gap: 1.3rem; }
.contact-list li { position: relative; padding-left: 1.4rem; }
.contact-list li::before {
    content: ''; position: absolute; left: 0; top: .55em;
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--red); box-shadow: 0 0 10px rgba(216, 0, 50, .7);
}
.contact-list span { display: block; font-size: .85rem; color: var(--muted-2); text-transform: uppercase; letter-spacing: .08em; }
.contact-list a { font-weight: 600; color: var(--text); transition: color .2s ease; }
.contact-list a:hover { color: var(--red-bright); }
.contact-list .muted { text-transform: none; letter-spacing: 0; font-size: .95rem; }

/* ---------- Форма ---------- */
.form-card { padding: 2.2rem; }
.apply-form { display: grid; gap: 1.15rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.field { display: grid; gap: .4rem; }
.field-full { grid-column: 1 / -1; }
.field-label { font-family: var(--font-head); font-weight: 700; font-size: .9rem; }
.field-hint { color: var(--muted-2); font-weight: 500; font-size: .82rem; }
.field input, .field textarea {
    width: 100%; background: #0e0e12; border: 1px solid var(--line-light);
    border-radius: var(--radius-sm); color: var(--text);
    font-family: var(--font-body); font-size: .99rem;
    padding: .8rem 1rem; transition: border-color .25s ease, box-shadow .25s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(216, 0, 50, .18); }
.field input.invalid, .field textarea.invalid { border-color: var(--red-bright); }
.field-error { color: var(--red-bright); font-size: .83rem; min-height: 0; display: none; }
.field-error.show { display: block; }

.chips { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .5rem; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
    display: inline-block; padding: .5rem 1rem; border-radius: 500px;
    border: 1px solid var(--line-light); color: var(--muted);
    font-size: .9rem; font-weight: 600; cursor: pointer;
    transition: all .25s ease; user-select: none;
}
.chip span:hover { border-color: var(--red); color: var(--text); }
.chip input:checked + span { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 4px 16px rgba(216, 0, 50, .3); }

.agree { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; color: var(--muted); cursor: pointer; }
.agree input[type="checkbox"] {
    appearance: none; -webkit-appearance: none; -moz-appearance: none;
    margin: .1rem 0 0; width: 22px; height: 22px; flex: 0 0 22px;
    border: 2px solid #54545f; border-radius: 7px; background: #101016;
    cursor: pointer; position: relative;
    transition: border-color .25s ease, background-color .25s ease, box-shadow .25s ease, transform .15s ease;
}
.agree input[type="checkbox"]:hover { border-color: var(--red-bright); }
.agree input[type="checkbox"]:checked {
    border-color: var(--red-bright);
    background-color: var(--red);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
    background-size: 13px; background-position: center; background-repeat: no-repeat;
    box-shadow: 0 0 0 4px rgba(216, 0, 50, .16);
}
.agree input[type="checkbox"]:active { transform: scale(.92); }
.agree input[type="checkbox"]:focus-visible { outline: 2px solid var(--red-bright); outline-offset: 2px; }
.agree a { color: var(--red-bright); text-decoration: underline; text-underline-offset: 3px; }
.agree .field-error { display: none; }
.agree.has-error .field-error { display: block; }

.form-errors { background: rgba(216, 0, 50, .1); border: 1px solid rgba(216, 0, 50, .4); border-radius: var(--radius-sm); padding: .9rem 1.1rem; }
.form-errors ul { display: grid; gap: .25rem; }
.form-errors li { color: var(--red-bright); font-size: .9rem; }

.form-ok { text-align: center; padding: 2.4rem 1rem; }
.form-ok svg { width: 58px; height: 58px; color: #3ddc84; margin: 0 auto 1.2rem; }
.form-ok h3 { font-size: 1.5rem; margin-bottom: .6rem; }
.form-ok p { color: var(--muted); }

#applySubmit .spinner {
    display: none; width: 18px; height: 18px; border-radius: 50%;
    border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: #fff;
    animation: spin .7s linear infinite;
}
#applySubmit.loading .spinner { display: inline-block; }
#applySubmit.loading [data-label] { opacity: .75; }
@keyframes spin { to { transform: rotate(360deg); } }

.hp { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; width: 0; }

/* ============================================================
   Внутренние страницы
   ============================================================ */
.page-hero { padding: 11rem 0 3.5rem; position: relative; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.02em; max-width: 800px; }
.page-sub { color: var(--muted); font-size: 1.1rem; max-width: 640px; margin-top: 1.2rem; }
.page-hero .kicker { margin-bottom: 1.1rem; }
.page-hero::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: radial-gradient(ellipse 60% 46% at 50% 0%, rgba(216, 0, 50, .14), transparent 65%);
}
.page-hero-photo {
    background: url('../img/artist.jpg') center / cover no-repeat;
    min-height: 60vh;
}
.page-hero-photo::before {
    content: ''; position: absolute; inset: 0; z-index: 0;
    background:
        linear-gradient(180deg, rgba(10, 10, 11, .78) 0%, rgba(10, 10, 11, .62) 45%, rgba(10, 10, 11, .92) 100%),
        radial-gradient(ellipse 60% 46% at 50% 0%, rgba(216, 0, 50, .18), transparent 65%);
}
.page-hero-photo .container { position: relative; z-index: 1; }

.group-title { font-size: 1.35rem; margin: 2.6rem 0 1.3rem; color: var(--muted); }
.group-title::before { content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--red); margin-right: .7rem; box-shadow: 0 0 12px rgba(216, 0, 50, .8); }

.platform-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.pf-icon {
    width: 52px; height: 52px; border-radius: 14px; overflow: hidden;
    background: #0e0e12; border: 1px solid var(--line-light);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.2rem;
    transition: transform .5s ease, border-color .35s ease;
}
.pf-icon img { width: 100%; height: 100%; object-fit: contain; padding: 9px; }
.pf-icon-fallback {
    background: var(--grad); border-color: transparent; color: #fff;
    font-family: var(--font-head); font-weight: 800; font-size: 1.05rem;
}
.platform-card:hover .pf-icon { transform: rotate(-6deg) scale(1.1); border-color: rgba(216, 0, 50, .5); }

/* ---------- Фото-полоса ---------- */
.photo-band {
    position: relative; min-height: 420px; display: flex; align-items: center;
    overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.photo-band > img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: center 30%;
    filter: saturate(1.05);
}
.photo-band::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(10, 10, 11, .92) 15%, rgba(10, 10, 11, .55) 55%, rgba(10, 10, 11, .75));
}
.photo-band-in { position: relative; z-index: 1; padding: 4.5rem 0; max-width: 760px; }
.photo-band blockquote {
    font-family: var(--font-head); font-weight: 800;
    font-size: clamp(1.5rem, 3.2vw, 2.3rem); line-height: 1.25; letter-spacing: -.02em;
    margin: .4rem 0 1.2rem;
}
.photo-band-author { color: var(--muted); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; }

/* ---------- Логотип из файла ---------- */
.brand-logo { height: 38px; width: auto; }

/* ---------- Политика ---------- */
.prose { display: grid; gap: 2.2rem; }
.prose h2 { font-size: 1.35rem; margin-bottom: .5rem; color: var(--text); }
.prose p { color: var(--muted); }

/* ---------- 404 ---------- */
.page-hero-404 { display: flex; align-items: center; min-height: 100svh; padding-top: 8rem; }
.nf-code {
    font-family: var(--font-head); font-weight: 900; font-size: clamp(5rem, 16vw, 11rem); line-height: 1;
    background: var(--grad-180); -webkit-background-clip: text; background-clip: text; color: transparent;
    opacity: .9;
}

/* ============================================================
   Подвал
   ============================================================ */
.site-footer { background: #0c0c0f; border-top: 1px solid var(--line); padding: 4rem 0 2rem; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.6rem; }
.footer-brand p { color: var(--muted); font-size: .95rem; margin-top: 1.1rem; max-width: 340px; }
.footer-col h4 { font-size: .95rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text); margin-bottom: 1.1rem; }
.footer-col ul { display: grid; gap: .6rem; }
.footer-col a { color: var(--muted); font-size: .95rem; transition: color .2s ease; }
.footer-col a:hover { color: var(--red-bright); }
.footer-bottom {
    border-top: 1px solid var(--line); padding-top: 1.6rem;
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .6rem 1.6rem;
    color: var(--muted-2); font-size: .85rem;
}
.footer-bottom p:first-child { justify-self: start; }
.footer-bottom .footer-copy { justify-self: center; text-align: center; letter-spacing: .04em; white-space: nowrap; }
.footer-bottom p:last-child { justify-self: end; }
.footer-bottom a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom a:hover { color: var(--red-bright); }
.footer-disclaimer { color: var(--muted-2); }
@media (max-width: 760px) {
    .footer-bottom { grid-template-columns: 1fr; justify-items: center; text-align: center; }
    .footer-bottom p:first-child, .footer-bottom p:last-child { justify-self: center; }
}

/* ============================================================
   Адаптив
   ============================================================ */
@media (max-width: 1024px) {
    .grid-3, .platform-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
    .steps { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
    .main-nav {
        position: fixed; inset: 0;
        z-index: 5;
        background: rgba(8, 8, 10, .97);
        -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
        flex-direction: column; align-items: center; justify-content: center; gap: 1.7rem;
        padding: 5.5rem 1.5rem 2rem;
        opacity: 0; visibility: hidden; pointer-events: none;
        transform: translateY(-14px);
        transition: opacity .35s ease, transform .35s ease, visibility .35s;
    }
    .main-nav.open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
    .nav-link { font-size: 1.35rem; padding: .35rem 0; }
    .header-actions { position: relative; }
    .burger { display: flex; z-index: 30; }
    .burger.open { position: relative; z-index: 30; }
    .header-actions .btn:not(.header-login) { display: none; }
    .hero { padding-top: 7.5rem; }
    .section { padding: 4.5rem 0; }
    .grid-3, .platform-grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 1.6rem; }
    .hero-actions .btn { width: 100%; }
    body { font-size: 15.5px; }
}

/* ---------- Доступность ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .js .reveal { opacity: 1; transform: none; }
}


/* ============================================================
   Анимации и фон
   ============================================================ */
body { overflow-x: hidden; }

.orb {
    position: fixed; border-radius: 50%; filter: blur(95px);
    z-index: 0; pointer-events: none; will-change: transform;
}
.orb-1 { width: 540px; height: 540px; top: -160px; left: -180px; opacity: .4;
    background: radial-gradient(circle, rgba(216, 0, 50, .55), transparent 68%);
    animation: orbFloat1 26s ease-in-out infinite alternate; }
.orb-2 { width: 480px; height: 480px; top: 32%; right: -200px; opacity: .32;
    background: radial-gradient(circle, rgba(120, 18, 30, .7), transparent 68%);
    animation: orbFloat2 34s ease-in-out infinite alternate; }
.orb-3 { width: 400px; height: 400px; bottom: -140px; left: 24%; opacity: .26;
    background: radial-gradient(circle, rgba(216, 0, 50, .4), transparent 68%);
    animation: orbFloat3 40s ease-in-out infinite alternate; }

@keyframes orbFloat1 { from { transform: translate(0, 0) scale(1); } to { transform: translate(110px, 80px) scale(1.18); } }
@keyframes orbFloat2 { from { transform: translate(0, 0) scale(1.1); } to { transform: translate(-90px, -70px) scale(0.92); } }
@keyframes orbFloat3 { from { transform: translate(0, 0) scale(0.95); } to { transform: translate(70px, -90px) scale(1.12); } }

main, .site-footer { position: relative; z-index: 1; }

/* Лёгкое «парение» иконок на карточках */
.icon-badge svg { animation: badgeFloat 5.5s ease-in-out infinite; }
.card:hover .icon-badge svg { animation-play-state: paused; }
@keyframes badgeFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* Блик на главной кнопке */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
    content: ''; position: absolute; top: -25%; left: -75%; width: 45%; height: 150%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .32), transparent);
    transform: skewX(-22deg); transition: left .55s ease; pointer-events: none;
}
.btn-primary:hover::after { left: 135%; }

/* ============================================================
   Новости
   ============================================================ */
.news-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.news-cover { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: linear-gradient(135deg, #1c1c24, #101016); }
.news-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.news-card:hover .news-cover img, .news-row-card:hover .news-cover img { transform: scale(1.06); }
.news-cover-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    font-family: var(--font-head); font-weight: 900; font-size: 2.3rem; letter-spacing: .12em; color: rgba(216, 0, 50, .5); }
.news-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.news-body time { font-size: .8rem; color: var(--muted-2); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .6rem; }
.news-body h3 { font-size: 1.16rem; margin-bottom: .6rem; line-height: 1.35; color: var(--text); }
.news-body p { flex: 1; }
.news-more { display: inline-flex; align-items: center; gap: .55rem; margin-top: 1.1rem; color: var(--red-bright); font-weight: 700; font-size: .92rem; }
.news-arrow { font-style: normal; display: inline-flex; transition: transform .3s ease; }
.news-card:hover .news-arrow, .news-row-card:hover .news-arrow { transform: translateX(7px); }
.news-empty { text-align: center; color: var(--muted); padding: 3.4rem 0; font-size: 1.05rem; }
.news-list { display: grid; gap: 1.6rem; }
.news-row-card { display: grid; grid-template-columns: 280px 1fr; padding: 0; overflow: hidden; }
.news-row-card .news-cover { aspect-ratio: auto; min-height: 220px; }
.news-row-body { padding: 1.6rem 1.8rem; display: flex; flex-direction: column; justify-content: center; }
.news-row-body h2 { font-size: 1.5rem; margin: .4rem 0 .7rem; line-height: 1.3; }
.news-row-body p { margin-bottom: .4rem; }
.news-detail { padding: 8.6rem 0 5rem; }
.news-breadcrumb a, .news-detail-foot a { color: var(--muted); font-weight: 600; font-size: .93rem; transition: color .25s ease; }
.news-breadcrumb a:hover, .news-detail-foot a:hover { color: var(--red-bright); }
.news-detail-head time { font-size: .8rem; color: var(--muted-2); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.news-detail-head h1 { font-size: clamp(1.9rem, 4vw, 3rem); margin: .8rem 0 1.1rem; letter-spacing: -.02em; line-height: 1.2; }
.news-lead { color: var(--muted); font-size: 1.16rem; line-height: 1.65; }
.news-detail-cover { margin: 2.3rem 0 0; border-radius: 20px; overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, .5); }
.news-detail-cover img { width: 100%; display: block; }
.news-content { margin-top: 2.3rem; line-height: 1.78; color: #cfcfd7; font-size: 1.05rem; }
.news-content h2, .news-content h3, .news-content h4 { color: var(--text); margin: 1.9rem 0 .85rem; line-height: 1.3; letter-spacing: -.01em; }
.news-content p { margin-bottom: 1.15rem; }
.news-content ul, .news-content ol { margin: 0 0 1.2rem 1.3rem; }
.news-content li { margin-bottom: .5rem; }
.news-content blockquote { border-left: 3px solid var(--red-bright); padding: .35rem 0 .35rem 1.25rem; margin: 1.5rem 0; color: var(--text); font-style: italic; }
.news-content img { max-width: 100%; height: auto; border-radius: 16px; margin: 1.3rem 0; }
.news-content a { color: var(--red-bright); text-decoration: underline; text-underline-offset: 3px; }
.news-content figure { margin: 1.5rem 0; }
.news-content figcaption { font-size: .85rem; color: var(--muted-2); margin-top: .55rem; text-align: center; }
.news-content hr { border: 0; border-top: 1px solid var(--line); margin: 1.7rem 0; }
.news-detail-foot { margin-top: 3rem; display: flex; }

/* ============================================================
   Куки-уведомление
   ============================================================ */
.cookie-bar {
    position: fixed; left: 50%; bottom: 1.2rem; transform: translateX(-50%);
    z-index: 300; display: flex; align-items: center; gap: 1.3rem;
    max-width: min(940px, calc(100% - 2rem)); width: 100%;
    padding: 1rem 1.2rem 1rem 1.5rem;
    background: rgba(19, 19, 24, .97); border: 1px solid var(--line-light);
    border-radius: 18px; box-shadow: 0 26px 70px rgba(0, 0, 0, .55);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    animation: cookieIn .55s cubic-bezier(.22, .61, .36, 1);
}
.cookie-bar[hidden] { display: none; }
.cookie-bar p { color: var(--muted); font-size: .92rem; line-height: 1.55; flex: 1; }
.cookie-bar a { color: var(--red-bright); text-decoration: underline; text-underline-offset: 3px; }
.cookie-bar .btn { flex: 0 0 auto; }
@keyframes cookieIn { from { opacity: 0; transform: translate(-50%, 130%); } to { opacity: 1; transform: translate(-50%, 0); } }


@media (max-width: 900px) {
    .news-row-card { grid-template-columns: 1fr; }
    .news-row-card .news-cover { aspect-ratio: 16 / 9; min-height: 0; }
}
@media (max-width: 640px) {
    .cookie-bar { flex-direction: column; align-items: stretch; text-align: center; }
    .cookie-bar .btn { width: 100%; }
    .news-row-body { padding: 1.3rem 1.4rem 1.5rem; }
}


/* ============================================================
   Карта доставки
   ============================================================ */
.map-card {
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(216, 0, 50, .07), transparent 60%),
        var(--bg-2);
    border: 1px solid var(--line); border-radius: 28px;
    padding: clamp(1rem, 3vw, 2.4rem);
    overflow: hidden;
}
.map-svg { width: 100%; height: auto; display: block; }
.map-continents path, .map-continents ellipse {
    fill: rgba(255, 255, 255, .045);
    stroke: rgba(255, 255, 255, .1);
    stroke-width: 1.6;
    transition: fill .3s ease;
}
.map-marker { cursor: pointer; }
.map-dot {
    fill: var(--red-bright);
    filter: drop-shadow(0 0 8px rgba(216, 0, 50, .8));
    transition: transform .25s ease;
    transform-box: fill-box; transform-origin: center;
}
.map-marker:hover .map-dot { transform: scale(1.5); }
.map-pulse {
    fill: none; stroke: var(--red-bright); stroke-width: 2;
    animation: mapPulse 2.6s ease-out infinite;
    transform-box: fill-box; transform-origin: center;
}
.map-marker:nth-child(2) .map-pulse { animation-delay: .5s; }
.map-marker:nth-child(3) .map-pulse { animation-delay: 1s; }
.map-marker:nth-child(4) .map-pulse { animation-delay: 1.5s; }
.map-marker:nth-child(5) .map-pulse { animation-delay: 2s; }
@keyframes mapPulse {
    0%   { transform: scale(.45); opacity: .95; }
    100% { transform: scale(2.6); opacity: 0; }
}
.map-label {
    fill: #dedee6; font-size: 13px; font-weight: 700;
    text-anchor: middle; font-family: var(--font-head);
    paint-order: stroke; stroke: rgba(8, 8, 10, .92); stroke-width: 4px;
}
.map-marker-world .map-dot { fill: #fff; filter: drop-shadow(0 0 10px rgba(255, 255, 255, .6)); }
.map-marker-world .map-pulse { stroke: rgba(255, 255, 255, .8); }
.map-marker-world .map-label { fill: #fff; }
.map-legend { display: flex; flex-wrap: wrap; gap: .65rem; justify-content: center; margin-top: 1.7rem; }
.map-chip {
    display: inline-flex; align-items: center; gap: .4rem;
    border: 1px solid var(--line-light); background: rgba(255, 255, 255, .03);
    border-radius: 500px; padding: .55rem 1.1rem;
    font-size: .86rem; color: var(--muted);
    transition: border-color .25s ease, color .25s ease;
}
.map-chip:hover { border-color: rgba(216, 0, 50, .45); color: var(--text); }
.map-chip b { color: var(--red-bright); font-weight: 700; }
.map-chip-world { border-color: rgba(255, 255, 255, .14); }
.map-chip-world b { color: #fff; }
@media (max-width: 640px) {
    .map-label { display: none; }
    .map-card { border-radius: 20px; }
    .map-chip { font-size: .8rem; padding: .5rem .9rem; }
}
