:root {
    --bg: #080e18;
    --panel: #0d1526;
    --text: #f0f4ff;
    --muted: #8fa8c8;
    --accent: #0ea5e9;
    --accent-dim: rgba(14, 165, 233, .18);
    --border: rgba(255, 255, 255, .1);
    --radius: 16px;
    --max: 1100px;
    --shadow: 0 10px 30px rgba(0, 0, 0, .4);
    --shadow-inset: rgba(50, 50, 93, .25) 0px 30px 60px -12px inset,
        rgba(0, 0, 0, .3) 0px 18px 36px -18px inset;
    --shadow-card: 0 12px 28px rgba(0, 0, 0, .4);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

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

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 18px;
}

/* ── HEADER ── */
.site-header {
    position: sticky;
    top: 0;
    background: rgba(8, 14, 24, .93);
    border-bottom: 1px solid var(--border);
    z-index: 50;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-card), var(--shadow-inset);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 18px;
    min-height: 68px;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -.01em;
}

.brand-name span {
    color: var(--accent);
}

.brand-sub {
    font-size: .72rem;
    color: var(--muted);
    letter-spacing: .04em;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    gap: 6px;
    margin-left: auto;
    white-space: nowrap;
}

.main-nav a {
    color: var(--muted);
    padding: 9px 10px;
    border-radius: 10px;
    font-size: .95rem;
    transition: color .15s, background .15s;
}

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

/* ── BUTTONS ── */
.btn {
    padding: 10px 16px;
    border-radius: 12px;
    font-weight: 700;
    border: 1px solid var(--border);
    display: inline-block;
    transition: transform .08s ease, opacity .15s ease;
    white-space: nowrap;
    font-size: .95rem;
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    border: none;
}

.btn-primary:hover {
    opacity: .88;
}

.btn-outline {
    background: transparent;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, .06);
}

.btn-large {
    font-size: 1.05rem;
    padding: 14px 22px;
}

/* ── HAMBURGER ── */
.hamburger {
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px;
    display: inline-flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger-bar {
    width: 26px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    display: block;
}

/* ── MOBILE MENU ── */
.mobile-menu {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(-6px);
    transition: max-height 280ms ease, opacity 220ms ease, transform 220ms ease;
    border-top: 1px solid var(--border);
    background: rgba(8, 14, 24, .98);
    box-shadow: var(--shadow-card), var(--shadow-inset);
}

.mobile-menu-inner {
    padding: 12px 0 16px;
    display: grid;
    gap: 10px;
}

.mobile-link {
    padding: 12px 10px;
    color: var(--muted);
    border-radius: 10px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .03);
    transition: color .15s, background .15s;
}

.mobile-link:hover {
    color: var(--text);
    background: rgba(255, 255, 255, .08);
}

body:not(.nav-collapsed) .mobile-menu {
    display: none;
}

body.menu-open .mobile-menu {
    opacity: 1;
    transform: translateY(0);
}

body.menu-open main {
    filter: blur(2px);
    pointer-events: none;
    user-select: none;
}

body.menu-open .mobile-menu,
body.menu-open .site-header {
    pointer-events: auto;
    filter: none;
}

.desktop-only {
    display: inline-block;
}

.mobile-only {
    display: none;
}

body.nav-collapsed .main-nav,
body.nav-collapsed .desktop-only {
    display: none !important;
}

body.nav-collapsed .mobile-only {
    display: inline-flex !important;
}

body.nav-measuring .main-nav,
body.nav-measuring .desktop-only,
body.nav-measuring .mobile-only {
    visibility: hidden;
}

/* ── HERO ── */
.hero {
    padding: 52px 0 44px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 20px;
    align-items: center;
}

.hero-eyebrow {
    display: inline-block;
    background: var(--accent-dim);
    color: var(--accent);
    border: 1px solid rgba(14, 165, 233, .3);
    border-radius: 999px;
    padding: 4px 14px;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.hero h1 {
    margin: 0 0 12px;
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    line-height: 1.15;
}

.hero h1 span {
    color: var(--accent);
}

.lead {
    font-size: 1.08rem;
    color: var(--muted);
    margin: 0 0 14px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.small-note {
    font-size: .88rem;
    color: var(--muted);
    margin-top: 10px;
}

.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .04);
    font-size: .82rem;
    color: var(--muted);
}

.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}

.hero-visual {
    display: grid;
    gap: 12px;
}

.hero-visual-card {
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    background: rgba(255, 255, 255, .03);
    box-shadow: var(--shadow-card), var(--shadow-inset);
    padding: 28px 20px;
    text-align: center;
}

.hero-visual-icon {
    font-size: 3.2rem;
    margin-bottom: 10px;
}

.hero-visual-card h3 {
    margin: 0 0 6px;
    font-size: 1.05rem;
    color: var(--text);
}

.hero-visual-card p {
    margin: 0;
    font-size: .88rem;
    color: var(--muted);
}

.hero-visual-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/* ── SECTIONS ── */
.section {
    padding: 42px 0;
}

.section.alt {
    background: var(--panel);
}

.section-header {
    margin-bottom: 22px;
}

.section-label {
    display: inline-block;
    color: var(--accent);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.section h2 {
    margin: 0;
    font-size: 1.55rem;
}

/* ── SERVICE GRID ── */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 12px;
}

.service-card {
    background: rgba(255, 255, 255, .04);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card), var(--shadow-inset);
    overflow: hidden;
}

.service-accordion {
    cursor: pointer;
}

.service-accordion>summary {
    list-style: none;
    padding: 18px 16px;
    font-weight: 800;
    user-select: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.service-accordion>summary::-webkit-details-marker {
    display: none;
}

.service-accordion>summary::after {
    content: "▾";
    margin-left: auto;
    opacity: .55;
    font-size: .9rem;
}

.service-accordion[open]>summary::after {
    content: "▴";
}

.service-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.service-accordion .detail-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    padding: 14px 16px 18px;
    border-top: 1px solid var(--border);
    background: rgba(0, 0, 0, .15);
}

.detail-list span {
    padding: 5px 10px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, .03);
    font-size: .85rem;
    color: var(--muted);
}

/* ── AREAS + MAP ── */
.areas-wrap {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 20px;
    align-items: start;
}

.area-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.area-list li {
    padding: 11px 14px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .03);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .97rem;
    color: var(--text);
}

.area-list li::before {
    content: "📍";
    font-size: 1rem;
}

.area-note {
    font-size: .88rem;
    color: var(--muted);
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--accent-dim);
}

.map-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: rgba(255, 255, 255, .03);
    min-height: 340px;
    box-shadow: var(--shadow-card), var(--shadow-inset);
}

.map-card iframe {
    width: 100%;
    height: 100%;
    min-height: 340px;
    border: 0;
    display: block;
}

.map-caption {
    padding: 10px 14px;
    color: var(--muted);
    font-size: .88rem;
    border-top: 1px solid var(--border);
    background: rgba(0, 0, 0, .15);
}

/* ── CONTACT ── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.contact-card {
    background: rgba(255, 255, 255, .04);
    padding: 26px 22px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    text-align: center;
    box-shadow: var(--shadow-card), var(--shadow-inset);
}

.contact-card.primary {
    border-color: rgba(14, 165, 233, .35);
    background: var(--accent-dim);
}

.contact-icon {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.contact-card h3 {
    margin: 0 0 6px;
    font-size: 1.1rem;
}

.contact-card p {
    margin: 0 0 16px;
    font-size: .9rem;
    color: var(--muted);
}

/* ── FOOTER ── */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 18px 0;
    color: var(--muted);
    box-shadow: var(--shadow-inset);
}

.footer-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
}

.footer-copy {
    margin: 0;
    text-align: center;
    font-size: .9rem;
}

#site-counter {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    padding: 6px 10px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: rgba(13, 21, 38, .75);
    color: var(--muted);
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
    box-shadow: var(--shadow-inset);
}

#site-counter span {
    color: var(--text);
    font-weight: 800;
    margin-left: 4px;
}

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .areas-wrap {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual-cards {
        grid-template-columns: 1fr 1fr;
    }

    .hero {
        padding: 36px 0 30px;
    }
}

@media (max-width: 520px) {
    .container {
        padding: 0 14px;
    }

    .hero-visual-cards {
        grid-template-columns: 1fr;
    }
}

/* ── GALLERY ── */
.gallery-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.gallery-tab {
    padding: 9px 18px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .04);
    color: var(--muted);
    cursor: pointer;
    font-size: .9rem;
    font-weight: 600;
    font-family: inherit;
    transition: all .15s ease;
}

.gallery-tab:hover {
    color: var(--text);
    background: rgba(255, 255, 255, .08);
}

.gallery-tab.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.slideshow-wrap {
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    background: rgba(0, 0, 0, .3);
    box-shadow: var(--shadow-card), var(--shadow-inset);
}

.slide-stage {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #000;
}

.slide-stage img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
    transition: opacity .3s ease;
}

.slide-stage img.fade-out {
    opacity: 0;
}

.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0, 0, 0, .55);
    border: 1px solid var(--border);
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    padding: 4px 14px;
    cursor: pointer;
    border-radius: 10px;
    backdrop-filter: blur(4px);
    transition: background .15s;
}

.slide-btn:hover {
    background: rgba(14, 165, 233, .5);
}

.slide-btn.prev {
    left: 12px;
}

.slide-btn.next {
    right: 12px;
}

.slide-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 12px 16px;
    border-top: 1px solid var(--border);
    background: rgba(0, 0, 0, .25);
}

.slide-dots {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    justify-content: center;
}

.slide-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background .2s, transform .2s;
}

.slide-dot.active {
    background: var(--accent);
    transform: scale(1.35);
}

.slide-counter {
    font-size: .82rem;
    color: var(--muted);
    white-space: nowrap;
    min-width: 48px;
    text-align: right;
}

.gallery-empty {
    text-align: center;
    padding: 48px 20px;
    color: var(--muted);
    font-size: .95rem;
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .02);
}


.ticket-form {
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow-card), var(--shadow-inset);
}

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

.ticket-form label {
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-weight: 700;
    font-size: .9rem;
}

.ticket-form input,
.ticket-form select,
.ticket-form textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, .25);
    font: inherit;
}

.ticket-form textarea {
    resize: vertical;
    margin-top: 14px;
}

.ticket-form button {
    margin-top: 16px;
}

#ticketMessage.success {
    color: #5eead4;
}

#ticketMessage.error {
    color: #fca5a5;
}

@media (max-width: 700px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

#login-section {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 14px;
    flex-wrap: wrap;
}

#login-form {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0;
}

#login-form label {
    display: none;
}

#login-form input {
    width: 170px;
    padding: 9px 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .05);
    color: var(--text);
    font: inherit;
    outline: none;
    transition:
        border-color .15s ease,
        background .15s ease,
        box-shadow .15s ease;
}

#login-form input::placeholder {
    color: var(--muted);
}

#login-form input:focus {
    border-color: rgba(14, 165, 233, .45);
    background: rgba(255, 255, 255, .08);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, .15);
}

#login-form button,
#logout {
    padding: 9px 14px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .06);
    color: var(--text);
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    transition:
        background .15s ease,
        border-color .15s ease,
        transform .08s ease;
}

#login-form button:hover,
#logout:hover {
    background: rgba(255, 255, 255, .12);
}

#login-form button:active,
#logout:active {
    transform: translateY(1px);
}

#login-form button {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

#logout {
    background: rgba(239, 68, 68, .15);
    border-color: rgba(239, 68, 68, .3);
    color: #fecaca;
}

@media (max-width: 980px) {

    #login-section {
        width: 100%;
        margin-left: 0;
        margin-top: 10px;
        justify-content: center;
    }

    #login-form {
        width: 100%;
        justify-content: center;
    }

    #login-form input {
        width: 100%;
        max-width: 260px;
    }
}

@media (max-width: 640px) {

    #login-form {
        flex-direction: column;
        align-items: stretch;
    }

    #login-form input,
    #login-form button,
    #logout {
        width: 100%;
    }

    #login-section {
        padding-bottom: 10px;
    }
}