:root {
    --bg: #0d1424;
    --card: #0f1628;
    --text: #e2e8f0;
    --muted: #e2e8f0;
    --accent: #2563eb;
    --accent-2: #10b981;
    --border: rgba(148, 163, 184, .25);
    --shadow: rgba(2, 8, 23, .55)
}

* {
    box-sizing: border-box
}

html,
body {
    margin: 0;
    padding: 0
}

body {
    font-family: Manrope, Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    /* background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%); */
    background: linear-gradient(180deg, #0b1220 0%, #0d1424 100%);
    color: var(--text);
    position: relative;
    padding-top: 80px
}

body:before {
    content: "";
    position: fixed;
    inset: -20% -10%;
    pointer-events: none;
    background:
        radial-gradient(600px 300px at 10% 0%, rgba(37, 99, 235, .12), transparent),
        radial-gradient(600px 300px at 90% 10%, rgba(16, 185, 129, .12), transparent),
        radial-gradient(600px 300px at 30% 90%, rgba(37, 99, 235, .08), transparent);
    z-index: -1;
    filter: blur(0)
}

img {
    max-height: 100%;
    max-width: 100%
}

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

.site-header {
    position: fixed!important;
    top: 0;
    right: 0;
    left: 0;
    z-index: 9999!important;
    background: rgba(13, 20, 36, .85);
    backdrop-filter: saturate(180%) blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 6px 24px var(--shadow);
    padding: 5px 0;
}

.header-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    letter-spacing: .3px;
    height: 80px
}

.logo-text {
    font-size: 18px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: .3px
}

.logo-text span {
    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: .3px
}

.nav {
    display: flex;
    gap: 20px
}

.nav a {
    color: var(--muted);
    text-decoration: none;
    padding: 8px 10px;
    border-radius: 8px;
    position: relative
}

.nav a:after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform .25s ease
}

.nav a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, .06)
}

.nav a:hover:after {
    transform: scaleX(1)
}

.nav .cta {
    color: #fff;
    background: var(--accent);
    padding: 10px 16px;
    border-radius: 999px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .12);
    border: none;
    outline: none
}

.nav .cta:after {
    display: none
}

.nav .cta:hover {
    background: #1d4ed8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .16)
}

.nav .cta:active {
    background: #1e40af;
    transform: scale(.98)
}

.nav-toggle {
    display: none;
    background: none;
    border: 0;
    color: var(--text);
    font-size: 24px
}
.lang-switch{display:flex;gap:10px;margin-left:12px}
.lang-switch a{color:var(--muted);text-decoration:none;padding:8px 10px;border-radius:8px}
.lang-switch a.active{color:#fff;background:rgba(255,255,255,.08)}

.hero {
    padding: 0;
    position: relative;
    overflow: hidden;
    color: #e2e8f0;
    /* min-height: 560px; */
    height: 72vh;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    margin: auto;
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 0
}

.hero-text {
    max-width: 700px;
}

.hero-text h1 {
    font-size: 48px;
    line-height: 1.1;
    margin: 0 0 16px;
}

.hero-text h1.gradient {
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent
}

.hero-text p {
    color: #cbd5e1;
    font-size: 18px;
    margin: 0 0 24px
}

.hero-img {
    display: none
}

.hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block
}

.hero-art {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 100%
}

.orion-art {
    max-width: 650px;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 12px 28px rgba(16, 24, 40, .45));
    margin-bottom: -12px
}

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: .1px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .12);
    transition: background-color .15s ease, box-shadow .15s ease, transform .05s ease;
    border: none;
    outline: none;
    overflow: hidden
}

.btn:hover {
    background: #1d4ed8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .16)
}

.btn:active {
    background: #1e40af;
    transform: scale(.98)
}

.btn::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, .6);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: transform .4s ease, opacity .6s ease
}

.btn:active::after {
    transform: translate(-50%, -50%) scale(26);
    opacity: .25
}

.section {
    padding: 64px 0
}

.section.alt {
    background: transparent
}

.section h2 {
    font-family: 'Cinzel', Manrope, Inter, system-ui;
    letter-spacing: .4px;
    font-size: 30px;
    margin: 0 0 18px
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px
}

.card {
    background: linear-gradient(#0f1628, #0f1628) padding-box, linear-gradient(135deg, var(--accent), var(--accent-2)) border-box;
    border: 1px solid transparent;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 10px 28px var(--shadow);
    transition: transform .25s ease, box-shadow .25s ease
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(16, 24, 40, .12)
}

.card h3 {
    margin: 0 0 8px;
    font-size: 18px
}

.card p {
    margin: 0;
    color: var(--muted)
}

.list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px
}

.list-item {
    background: linear-gradient(#0f1628, #0f1628) padding-box, linear-gradient(135deg, var(--accent), var(--accent-2)) border-box;
    border: 1px solid transparent;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 10px 28px var(--shadow);
    transition: transform .25s ease, box-shadow .25s ease
}
.list-item.has-wallpaper{position:relative;overflow:hidden}
.list-item.has-wallpaper:before{content:"";position:absolute;inset:0;background:linear-gradient(135deg, rgba(37,99,235,.18), rgba(16,185,129,.18));opacity:.18;border-radius:18px;pointer-events:none}

.list-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(16, 24, 40, .12)
}

.list-item h3 {
    margin: 0 0 8px
}

.list-item p {
    margin: 0;
    color: var(--muted)
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 20px
}

.contact {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px dashed var(--border)
}

.map {
    width: 100%;
    height: 380px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border)
}

.form {
    background: linear-gradient(#0f1628, #0f1628) padding-box, linear-gradient(135deg, var(--accent), var(--accent-2)) border-box;
    /* background: rgb(234 234 234 / 50%); */
    border: 1px solid transparent;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 10px 28px var(--shadow);
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px
}

.field label {
    color: var(--muted);
    font-size: 14px
}

.field input,
.field textarea {
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    padding: 12px 14px;
    transition: border-color .2s ease, box-shadow .2s ease
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .16)
}

.span-2 {
    grid-column: span 2
}

.alert {
    margin: 0 0 12px;
    padding: 12px;
    border-radius: 10px
}

.alert.success {
    background: rgba(16, 185, 129, .1);
    border: 1px solid rgba(16, 185, 129, .4)
}

.alert.error {
    background: rgba(239, 68, 68, .1);
    border: 1px solid rgba(239, 68, 68, .4)
}

.env-hint {
    margin-top: 12px;
    color: var(--muted);
    font-size: 13px
}

.site-footer {
    border-top: 1px solid var(--border);
    padding: 28px 0;
    background: rgba(13, 20, 36, .85);
    backdrop-filter: saturate(180%) blur(10px);
    box-shadow: 0 -6px 24px var(--shadow);
    color: rgb(226, 232, 240);
}

.site-footer a {
   color: rgb(226, 232, 240);
}

.footer-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.logo-inline {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text)
}
.footer-logo{display:flex;align-items:center;gap:8px;color:var(--text)}
.footer-logo img{width:auto;height:50px}
.footer-logo .logo-text{font-size:16px;line-height:1.2;font-weight:700;letter-spacing:.3px}
.footer-logo .logo-text span{display:block;font-size:18px;letter-spacing:.6px}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

.reveal {
    opacity: 0;
    transform: translateY(18px) scale(.98);
    transition: opacity .6s ease, transform .6s ease
}

.reveal.visible {
    opacity: 1;
    transform: none
}

.partners {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px
}

.partner {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(255, 255, 255, .06)
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px
}

.step {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(16, 24, 40, .06);
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden
}

.faq {
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    background: #0f1628
}

.faq-item {
    border-bottom: 1px solid var(--border)
}

.faq-item:last-child {
    border-bottom: 0
}

.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: transparent;
    cursor: pointer
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease
}

.faq-a .inner {
    padding: 0 20px 16px;
    color: var(--muted)
}

@media (max-width:960px) {

    .cards,
    .list {
        grid-template-columns: 1fr 1fr
    }

    .hero-grid,
    .contact-grid {
        grid-template-columns: 1fr
    }

    .span-2 {
        grid-column: span 1
    }
}

@media (max-width:720px) {
    .nav {position:fixed;top:80px;left:0;right:0;display:flex;flex-direction:column;background:rgba(13,20,36,.95);padding:14px 20px;border-bottom:1px solid var(--border);box-shadow:0 16px 32px var(--shadow);z-index:2000;opacity:0;transform:translateY(-10px);pointer-events:none;transition:opacity .25s ease, transform .25s ease}
    .nav.open{opacity:1;transform:none;pointer-events:auto}
    .nav a{display:block;padding:12px 10px}
    .nav .cta{display:block;text-align:center}
    .nav-toggle {display:block}

    .hero-text h1 {
        font-size: 32px
    }

    .cards,
    .list {grid-template-columns: 1fr}
    .grid {grid-template-columns: 1fr}

    .partners {
        grid-template-columns: 1fr 1fr
    }

    .steps {
        grid-template-columns: 1fr 1fr
    }
}



.hero-text h1 {
    font-family: 'Cinzel', Manrope, Inter, system-ui
}

.form .btn {
    margin-top: 8px
}

.badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f0f4ff;
    color: #2746a0;
    font-weight: 600;
    border: 1px solid var(--border)
}

.pay-row {
    display: flex;
    gap: 12px
}

.section h2 {
    font-size: 28px;
    margin: 0 0 18px
}

.section h2:after {
    content: "";
    display: block;
    width: 64px;
    height: 4px;
    margin-top: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2))
}

.form-narrow {
    max-width: 760px;
    margin: 0 auto
}

.form-title {
    font-weight: 700;
    margin-bottom: 12px
}

.thumb {
    width: 100%;
    height: 140px;
    border-radius: 14px;
    object-fit: cover;
    margin-bottom: 12px;
    box-shadow: 0 8px 20px var(--shadow)
}

.particles-bg {
    position: fixed;
    inset: 0;
    z-index: 0
}

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

.section.on-stars {
    background: transparent;
    color: #e2e8f0
}

.section.on-stars a {
    color: #c7d2fe
}

.section.on-stars .contact {
    border-color: rgba(226, 232, 240, .25)
}

.section.on-stars .map {
    border-color: rgba(226, 232, 240, .25)
}

body.notification-open {
    overflow: hidden;
}

.fade2 {
    transform: scale(0.9);
    opacity: 0;
    transition: all .2s linear;
}

.fade2.show {
    opacity: 1;
    transform: scale(1);
}

.site-notice-overlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(3, 10, 25, .78);
    z-index: 2000;
}

.site-notice-overlay.show {
    display: flex;
}

.site-notice-dialog {
    width: min(560px, 100%);
}

.site-notice-card {
    position: relative;
    width: 100%;
    border-radius: 0.3rem;
    background: rgba(7, 18, 45, .96);
    border: 1px solid rgba(148, 163, 184, .35);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, .35);
}

.site-notice-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 1rem 1rem 0.75rem;
    border-bottom: 1px solid rgba(148, 163, 184, .22);
}

.site-notice-header h2 {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.3;
}

.site-notice-content {
    padding: 1rem;
    color: var(--muted);
    text-align: center;
}

.site-notice-content a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.site-notice-content a:hover {
    text-decoration: underline;
}

.site-notice-content p:last-child {
    margin-bottom: 0;
}

.site-notice-footer {
    display: flex;
    justify-content: center;
    padding: 0.75rem 1rem 1rem;
    border-top: 1px solid rgba(148, 163, 184, .22);
}

.site-notice-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: var(--text);
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
}

@media (max-width:640px) {
    .site-notice-overlay {
        padding: 16px;
    }

    .site-notice-card {
        border-radius: 0.5rem;
    }

    .site-notice-header,
    .site-notice-content,
    .site-notice-footer {
        padding-left: 0.875rem;
        padding-right: 0.875rem;
    }
}
