:root {
    --bg-main: #070915;
    --bg-alt: #101426;
    --accent: #f4b84a;
    --accent-soft: rgba(244, 184, 74, 0.12);
    --accent-strong: #ffcf66;
    --text-main: #f7f5f0;
    --text-muted: #b3b0c4;
    --border-soft: rgba(255, 255, 255, 0.08);
    --error: #ff4b6a;
}

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

body {
    font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #1b2241 0, #070915 40%, #000000 100%);
    color: var(--text-main);
    min-height: 100vh;
    line-height: 1.6;
}

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

a {
    color: var(--accent-strong);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(14px);
    background: linear-gradient(to bottom, rgba(7, 9, 21, 0.98), rgba(7, 9, 21, 0.9));
    border-bottom: 1px solid var(--border-soft);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #050713;
    background-image: url("/upload/images/logok20pencil.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 0 16px rgba(244, 184, 74, 0.7),
        0 0 42px rgba(244, 184, 74, 0.45);
    color: #20110c;
    font-family: "Uncial Antiqua", "Times New Roman", serif;
    font-size: 22px;
    font-weight: 700;
}

.logo-text-title {
    font-family: "Uncial Antiqua", "Times New Roman", serif;
    letter-spacing: 0.08em;
    font-size: 18px;
}

.logo-text-sub {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 14px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    position: relative;
    padding-bottom: 3px;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-strong));
    transition: width 0.2s ease-out;
}

.nav-links a:hover {
    color: var(--text-main);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-contacts {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}

.nav-phone {
    font-weight: 600;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid var(--accent-strong);
    background: radial-gradient(circle at 20% 0, #ffe8b0 0, #f4b84a 35%, #8b3c1e 100%);
    color: #20110c;
    box-shadow:
        0 0 16px rgba(244, 184, 74, 0.75),
        0 0 40px rgba(244, 184, 74, 0.35);
    cursor: pointer;
    text-decoration: none;
}

.btn:hover {
    filter: brightness(1.02);
    transform: translateY(-1px);
    box-shadow:
        0 0 20px rgba(244, 184, 74, 0.9),
        0 0 46px rgba(244, 184, 74, 0.45);
}

.btn-outline {
    background: transparent;
    color: var(--accent-strong);
    border-color: var(--accent);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--accent-soft);
    box-shadow: 0 0 18px rgba(244, 184, 74, 0.45);
}

.btn-outline--vk {
    border-color: #0077ff;
    color: #e5f0ff;
    font-size: 13px;
    gap: 6px;
    display: inline-flex;
    align-items: center;
}

.btn-outline--vk::before {
    content: "VK";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 999px;
    background: #0077ff;
    color: #ffffff;
}

.btn-outline--vk:hover {
    background: transparent;
    box-shadow: none;
}

main {
    flex: 1;
}

.hero {
    padding: 46px 0 64px;
    background-image:
        linear-gradient(to bottom, rgba(3, 6, 18, 0.55), rgba(3, 6, 18, 0.70)),
        url("/upload/images/promo_bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 40px;
    align-items: center;
}

.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid var(--border-soft);
    background: rgba(3, 10, 36, 0.9);
    color: var(--accent-strong);
    font-size: 12px;
    margin-bottom: 18px;
}

.hero-tagline span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background: var(--accent-soft);
    font-size: 11px;
}

.hero-title {
    font-family: "Uncial Antiqua", "Times New Roman", serif;
    font-size: clamp(32px, 4vw, 42px);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.hero-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 520px;
    margin-bottom: 22px;
}

.hero-list {
    list-style: none;
    display: grid;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 14px;
}

.hero-list li {
    display: flex;
    gap: 8px;
    color: var(--text-muted);
}

.hero-list li::before {
    content: "◆";
    color: var(--accent-strong);
    font-size: 10px;
    margin-top: 4px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.hero-note {
    font-size: 12px;
    color: var(--text-muted);
}

.hero-note strong {
    color: var(--accent-strong);
}

.hero-visual {
    position: relative;
}

.hero-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border-soft);
    background:
        radial-gradient(circle at top left, rgba(244, 184, 74, 0.22) 0, transparent 55%),
        radial-gradient(circle at bottom right, rgba(111, 66, 193, 0.5) 0, transparent 55%),
        #050713;
    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.9),
        0 0 40px rgba(244, 184, 74, 0.25);
}

.hero-photo {
    position: relative;
    height: 340px;
    background-image: url("/upload/images/promo.jpg");
    background-size: cover;
    background-position: center;
    filter: saturate(1.1) contrast(1.1);
}

.hero-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.25), rgba(5, 7, 19, 0.7));
}

.hero-card-bottom {
    padding: 14px 16px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: linear-gradient(to right, rgba(8, 13, 37, 0.96), rgba(11, 12, 26, 0.96));
}

.hero-card-text {
    font-size: 12px;
    color: var(--text-muted);
}

.hero-card-text strong {
    color: var(--accent-strong);
}

.hero-pill {
    font-size: 10px;
    line-height: 1.4;
    border-radius: 999px;
    padding: 4px 10px;
    border: 1px solid rgba(244, 184, 74, 0.6);
    background: rgba(0, 0, 0, 0.35);
    letter-spacing: 0.08em;
    color: var(--accent-strong);
    max-width: 150px;
    text-align: center;
}

.hero-floating {
    position: absolute;
    inset: auto auto -60px -18px;
    padding: 8px 12px;
    border-radius: 16px;
    background: rgba(4, 9, 30, 0.96);
    border: 1px solid var(--border-soft);
    backdrop-filter: blur(12px);
    font-size: 11px;
    color: var(--text-muted);
    max-width: 220px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.9);
}

.hero-floating strong {
    color: var(--accent-strong);
}

.hero-floating span {
    display: block;
    font-size: 10px;
    margin-top: 3px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-muted);
}

section {
    padding: 44px 0;
}

.section-title {
    font-family: "Uncial Antiqua", "Times New Roman", serif;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--accent-strong);
}

.section-heading {
    font-size: 24px;
    margin-bottom: 14px;
}

.section-sub {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 580px;
    margin-bottom: 24px;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 32px;
}

.about-card {
    padding: 18px 18px 16px;
    border-radius: 18px;
    background: radial-gradient(circle at top left, rgba(244, 184, 74, 0.18) 0, transparent 55%), #080c1e;
    border: 1px solid var(--border-soft);
}

.about-card-title {
    font-size: 16px;
    margin-bottom: 8px;
}

.about-card-text {
    font-size: 14px;
    color: var(--text-muted);
}

.about-list {
    margin-top: 16px;
    display: grid;
    gap: 10px;
    font-size: 14px;
}

.about-list-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.about-bullet {
    margin-top: 4px;
    width: 16px;
    height: 16px;
    border-radius: 999px;
    border: 1px solid rgba(244, 184, 74, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: var(--accent-strong);
}

.about-photo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.photo-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-soft);
    background: #050713;
    aspect-ratio: 4 / 3;
}

.photo-card.large {
    grid-column: span 2;
    aspect-ratio: 16 / 9;
    background-image: url("/upload/images/table_view.webp");
    background-size: cover;
    background-position: center;
}

.photo-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 22px;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.2), rgba(5, 7, 19, 0.95));
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.photo-label {
    position: absolute;
    left: 10px;
    bottom: 10px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.72);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent-strong);
}

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.pill {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    background: rgba(4, 9, 28, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
}

.pill strong {
    color: var(--accent-strong);
    font-weight: 600;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.benefit-card {
    border-radius: 16px;
    border: 1px solid var(--border-soft);
    background: #080c1e;
    padding: 14px 14px 14px;
    font-size: 13px;
    color: var(--text-muted);
}

.benefit-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(8, 15, 44, 0.96);
    border: 1px solid rgba(244, 184, 74, 0.4);
    font-size: 11px;
    margin-bottom: 7px;
    color: var(--accent-strong);
}

.benefit-title {
    font-size: 14px;
    color: var(--text-main);
    margin-bottom: 5px;
}

.schedule {
    border-radius: 20px;
    border: 1px solid var(--border-soft);
    background: radial-gradient(circle at top left, rgba(244, 184, 74, 0.13) 0, transparent 55%), #080c1e;
    padding: 20px 18px 18px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    padding: 3px 9px;
    font-size: 11px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #2ecc71;
    box-shadow: 0 0 10px rgba(46, 204, 113, 0.9);
}

.schedule-list {
    margin-top: 14px;
    margin-bottom: 14px;
    display: grid;
    gap: 6px;
    font-size: 13px;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 4px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.schedule-item span {
    color: var(--text-muted);
}

.schedule-item strong {
    color: var(--text-main);
}

.disclaimer {
    font-size: 11px;
    color: var(--text-muted);
}

.disclaimer a {
    color: var(--accent-strong);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.gallery-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border-soft);
    background: #050713;
    height: 375px;
}

.gallery-item.wide {
    grid-column: span 2;
}

.gallery-caption {
    position: absolute;
    inset: auto 8px 8px 8px;
    padding: 5px 7px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.76);
    font-size: 10px;
    color: var(--text-muted);
}

.reels-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

@media (max-width: 900px) {
    .reels-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .reels-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.reel-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-soft);
    background: #050713;
    height: 260px;
    cursor: pointer;
}

.reel-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.reels-note {
    margin-top: 12px;
    font-size: 11px;
    color: var(--text-muted);
    text-align: center;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: radial-gradient(circle at top, rgba(244, 184, 74, 0.08) 0, rgba(5, 7, 19, 0.9) 60%);
    display: inline-block;
}

#reels .container {
    text-align: center;
}

.cta {
    border-radius: 22px;
    border: 1px solid var(--border-soft);
    background: radial-gradient(circle at top, rgba(244, 184, 74, 0.18) 0, transparent 58%), #050713;
    padding: 20px 18px 18px;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 24px;
    align-items: center;
}

.cta-list {
    list-style: none;
    font-size: 13px;
    color: var(--text-muted);
    display: grid;
    gap: 6px;
    margin-top: 8px;
}

.cta-list li {
    position: relative;
    padding-left: 14px;
}

.cta-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--accent-strong);
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.booking-sessions {
    margin-top: 22px;
}

.booking-sessions-title {
    font-size: 18px;
    margin-bottom: 12px;
}

.booking-sessions-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
}

.booking-card {
    border-radius: 16px;
    border: 1px solid var(--border-soft);
    background: #080c1e;
    padding: 10px 12px 12px;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
    gap: 12px;
    align-items: center;
}

.booking-card-cover {
    width: 100%;
    height: 160px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-soft);
    background: #050713;
    margin-bottom: 8px;
}

.booking-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.booking-card-date {
    font-size: 14px;
    font-weight: 600;
}

.booking-card-slot {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid rgba(244, 184, 74, 0.6);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-strong);
}

.booking-card-scenario {
    margin-top: 4px;
    font-size: 14px;
}

.booking-card-meta {
    margin-top: 6px;
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.booking-card-form {
    font-size: 12px;
}

.booking-card-full {
    font-size: 12px;
    color: var(--text-muted);
}

.booking-form {
    display: grid;
    gap: 6px;
}

.booking-input {
    width: 100%;
    border-radius: 999px;
    border: 1px solid var(--border-soft);
    padding: 6px 10px;
    font-size: 12px;
    background: #050713;
    color: var(--text-main);
}

.booking-input::placeholder {
    color: var(--text-muted);
}

.booking-form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.booking-select {
    border-radius: 999px;
    border: 1px solid var(--border-soft);
    padding: 4px 8px;
    font-size: 12px;
    background: #050713;
    color: var(--text-main);
}

.booking-submit {
    padding: 8px 14px;
    font-size: 11px;
}

.booking-message {
    margin-top: 14px;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 12px;
}

.booking-message--error {
    background: rgba(255, 75, 106, 0.1);
    border: 1px solid rgba(255, 75, 106, 0.5);
}

.booking-message--success {
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.5);
}

.contacts-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 24px;
}

.contacts-list {
    font-size: 14px;
    color: var(--text-muted);
    display: grid;
    gap: 8px;
    margin-top: 4px;
}

.contact-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-muted);
}

.contact-main {
    font-size: 16px;
    color: var(--text-main);
}

.map-card {
    border-radius: 18px;
    border: 1px solid var(--border-soft);
    background: #050713;
    overflow: hidden;
}

.map-embed {
    width: 100%;
    height: 230px;
    border: 0;
    filter: grayscale(0.2) contrast(1.05) saturate(1.1);
}

.map-footer {
    padding: 8px 10px 10px;
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

footer {
    border-top: 1px solid var(--border-soft);
    padding: 12px 0 16px;
    background: #040612;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 11px;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--accent-strong);
}

@media (max-width: 900px) {
    .hero-grid,
    .about-grid,
    .cta,
    .contacts-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero {
        padding-top: 30px;
    }

    .hero-visual {
        order: -1;
    }

    .hero-floating {
        position: relative;
        inset: auto;
        margin-top: 10px;
    }
}

@media (max-width: 720px) {
    .nav-links {
        display: none;
    }

    .nav-contacts {
        display: none;
    }

    .hero-card-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .benefits-grid {
        grid-template-columns: minmax(0, 1fr);
    }

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

    .cta {
        padding: 18px 14px 14px;
    }

    header {
        position: static;
    }
}

@media (max-width: 480px) {
    .gallery-item.wide {
        grid-column: span 2;
    }

    .hero-photo {
        height: 260px;
    }
}

