:root {
    --bg: #070d1a;
    --bg-soft: #0f172a;
    --surface: #111b32;
    --surface-2: #16233f;
    --text: #e5ecff;
    --text-muted: #a6b6db;
    --accent: #2f7dff;
    --accent-hover: #4d92ff;
    --line: rgba(172, 194, 255, 0.2);
    --radius: 12px;
    --radius-sm: 10px;
    --shadow: 0 10px 26px rgba(5, 10, 24, 0.22);
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", Arial, sans-serif;
    --font-display: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", Arial, sans-serif;
    --header-h: 58px;
    --safe-top: env(safe-area-inset-top, 0);
    --safe-bottom: env(safe-area-inset-bottom, 0);
    --section-gap: 20px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--text);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: radial-gradient(860px 460px at 18% -8%, rgba(47, 125, 255, 0.18), transparent 64%), var(--bg);
    padding-top: calc(var(--header-h) + 34px);
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 6px;
    z-index: 500;
    background: #fff;
    color: #000;
    padding: 8px 10px;
    border-radius: 8px;
}

.skip-link:focus {
    left: 8px;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding-top: var(--safe-top);
    background: rgba(7, 13, 26, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    z-index: 100;
}

.header-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.topline {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px 10px;
    color: var(--text-muted);
    font-size: 0.8125rem;
    display: flex;
    gap: 8px;
    align-items: center;
}

.topline-link {
    color: var(--text);
    text-decoration: none;
}

.topline-link:hover {
    color: var(--accent-hover);
}

.topline-dot {
    color: #6f84be;
}

.icon {
    display: inline-block;
    flex-shrink: 0;
    vertical-align: middle;
}

.icon use {
    fill: none;
}

.icon-logo {
    width: 1.55rem;
    height: 1.55rem;
}

.icon-btn {
    width: 1.1rem;
    height: 1.1rem;
}

.icon-title {
    width: 1.32rem;
    height: 1.32rem;
    color: var(--accent);
}

.icon-nav {
    width: 1rem;
    height: 1rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 1.04rem;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
}

.logo:hover {
    color: var(--accent-hover);
}

.logo .icon-logo {
    color: var(--accent);
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 24px;
}

.nav-list a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.92rem;
    color: var(--text-muted);
    text-decoration: none;
}

.nav-list a:hover,
.nav-list a.active {
    color: #fff;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.nav-toggle::before {
    content: "";
    width: 20px;
    height: 2px;
    background: #fff;
    box-shadow: 0 6px 0 #fff, 0 12px 0 #fff;
}

.main {
    flex: 1;
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 20px 20px 52px;
}

.main > * {
    margin: 0;
}

.main > * + * {
    margin-top: var(--section-gap);
}

.hero-split {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--section-gap);
    align-items: stretch;
}

.hero-main {
    background: linear-gradient(160deg, rgba(17, 27, 50, 0.98) 0%, rgba(13, 22, 41, 0.98) 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px;
}

.hero-label {
    display: inline-block;
    margin: 0 0 10px;
    color: #c4d4ff;
    font-size: 0.81rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0 0 10px;
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.8vw, 2.6rem);
    line-height: 1.15;
}

.hero p {
    margin: 0;
    max-width: 66ch;
    color: var(--text-muted);
}

.hero-panel {
    margin: 0;
}

.schedule-periods {
    list-style: none;
    margin: 2px 0 0;
    padding: 0;
    display: grid;
    gap: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--line);
}

.schedule-period-item {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 8px 12px;
    font-size: 0.875rem;
    background: rgba(15, 23, 42, 0.4);
    border-bottom: 1px solid var(--line);
}

.schedule-period-item:last-child {
    border-bottom: none;
}

.schedule-period-item .schedule-days {
    font-weight: 500;
    color: var(--text);
}

.schedule-period-item .schedule-time {
    color: var(--text-muted);
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.schedule-period-item .schedule-time:first-letter {
    text-transform: lowercase;
}

.card-title-with-status {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.card-title-with-status .card-title-text {
    display: flex;
    align-items: center;
    gap: 10px;
}

.schedule-status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    flex-shrink: 0;
}

.schedule-status-open {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid #22c55e;
}

.schedule-status-closed {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid #ef4444;
}

.feature-list {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.93rem;
}

.card {
    background: rgba(14, 23, 43, 0.96);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
    margin-bottom: 0;
}

.card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    font-family: var(--font-display);
    font-size: 1.17rem;
    font-weight: 600;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    gap: 8px;
    border-radius: var(--radius-sm);
    padding: 0 18px;
    border: 1px solid transparent;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.91rem;
}

.btn:hover {
    background: var(--accent-hover);
}

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

.btn-secondary {
    border-color: var(--line);
    color: var(--text);
    background: transparent;
}

.btn-secondary:hover {
    border-color: #628ee6;
    background: rgba(86, 130, 214, 0.1);
}

.btn-block {
    width: 100%;
}

.cta-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.adv-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--section-gap);
}

.adv-item h2 {
    margin: 0 0 8px;
    font-size: 1.02rem;
}

.adv-item p {
    margin: 0;
    font-size: 0.92rem;
    color: var(--text-muted);
}

.section-head h2 {
    margin: 0 0 8px;
    font-size: 1.5rem;
}

.section-head p {
    margin: 0;
    color: var(--text-muted);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--section-gap);
}

.service-card ul {
    margin: 0;
    padding-left: 18px;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.service-card li {
    margin-bottom: 6px;
}

.contact-block {
    display: grid;
    gap: 14px;
}

.contact-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.contact-label {
    color: var(--text-muted);
    min-width: 88px;
    font-size: 0.85rem;
}

.contact-value a {
    color: #b5cbff;
    text-decoration: none;
}

.contact-value a:hover {
    color: #d3e1ff;
}

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

.schedule-list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px dashed var(--line);
    padding: 9px 0;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.schedule-list li:last-child {
    border-bottom: none;
}

.find-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 16px;
}

.find-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.86rem;
    color: #d8e3ff;
}

.form-group input,
.form-group textarea {
    width: 100%;
    font-family: inherit;
    font-size: 0.96rem;
    color: var(--text);
    background: #0d1529;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #8195c6;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #5d8fea;
    box-shadow: 0 0 0 3px rgba(93, 143, 234, 0.2);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.footer {
    border-top: 1px solid var(--line);
    background: rgba(6, 11, 24, 0.94);
    color: var(--text-muted);
    padding: 18px 20px;
    padding-bottom: calc(18px + var(--safe-bottom));
}

.footer-inner {
    max-width: 1140px;
    margin: 0 auto;
    text-align: center;
    font-size: 0.84rem;
}

.footer-inner p {
    margin: 4px 0;
}

.footer-phone a {
    text-decoration: none;
    color: #d9e6ff;
}

@media (max-width: 960px) {
    body {
        padding-top: calc(var(--header-h) + 30px);
    }

    .hero-split {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
    }

    .hero-panel-schedule {
        order: -1;
    }

    .hero-main-order {
        order: 0;
    }

    .find-grid,
    .services-grid,
    .adv-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-gap: 16px;
    }

    .topline {
        display: none;
    }

    body {
        padding-top: var(--header-h);
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-list {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        z-index: 120;
        display: block;
        background: #0a1225;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
        padding: 12px 16px 14px;
        transform: translateY(-120%);
        opacity: 0;
        visibility: hidden;
        transition: 0.2s ease;
    }

    .nav.is-open .nav-list {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-list li + li {
        margin-top: 4px;
    }

    .nav-list a {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 8px;
        border-radius: 8px;
    }

    .nav-list a:hover,
    .nav-list a.active {
        background: rgba(74, 121, 212, 0.2);
    }

    .main {
        padding: 16px;
    }

    .card,
    .hero-main {
        padding: 18px;
    }

    .cta-strip .btn,
    .find-actions .btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
