.skip-to-content {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99999;
    background: #111827;
    color: #fff;
    padding: 12px 24px;
    border-radius: 0 0 8px 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: top 0.2s ease;
    white-space: nowrap;
}

.skip-to-content:focus {
    top: 0;
    outline: 3px solid #C5A059;
    outline-offset: 2px;
}

*:focus {
    outline: none;
}

*:focus-visible {
    outline: 3px solid #C5A059;
    outline-offset: 2px;
    border-radius: 4px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid #C5A059;
    outline-offset: 2px;
    box-shadow: 0 0 0 6px rgba(197, 160, 89, 0.15);
}

.bg-\\[\\#111827\\] *:focus-visible,
.bg-\\[\\#0A2E26\\] *:focus-visible,
.bg-black *:focus-visible,
footer *:focus-visible,
header *:focus-visible {
    outline-color: #F59E0B;
    box-shadow: 0 0 0 6px rgba(245, 158, 11, 0.25);
}

.nav-link:focus-visible {
    outline-offset: 4px;
}

.tab-btn:focus-visible {
    outline-offset: 4px;
}

.facility-card:focus-visible,
.blog-item:focus-visible,
.preview-card:focus-visible {
    outline: 3px solid #C5A059;
    outline-offset: 4px;
}

[onclick*="closeModal"]:focus-visible,
[onclick*="closeMapModal"]:focus-visible,
[onclick*="closeImmersive"]:focus-visible {
    outline-color: #fff;
}

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

    .animate-kenburns,
    .animate-marquee,
    .animate-bounce-gentle,
    .animate-float-slow,
    .mascot-3d,
    .animate-text,
    .animate-modalUp {
        animation: none !important;
    }

    .swiper-wrapper {
        transition-duration: 0ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

@media (prefers-contrast: more) {
    :root {
        --text-main: #000000;
        --text-muted: #333333;
        --gold: #8B6914;
    }

    body {
        color: #000;
    }

    .text-gray-400, .text-gray-500, .text-gray-600 {
        color: #333 !important;
    }

    .border-gray-100, .border-gray-200 {
        border-color: #666 !important;
    }

    a {
        text-decoration: underline;
    }
}

.a11y-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    z-index: 99996;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
    pointer-events: none;
}
.a11y-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.a11y-widget-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99999;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0848ca 0%, #0036a3 100%);
    color: #fff;
    border: 3px solid #fff;
    outline: 4px solid #0848ca;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(8, 72, 202, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    padding: 0;
}
.a11y-widget-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 30px rgba(8, 72, 202, 0.5);
}
.a11y-widget-btn svg {
    width: 28px;
    height: 28px;
    fill: #fff;
    pointer-events: none;
}

.a11y-widget-panel {
    position: fixed;
    top: 0;
    right: -420px;
    z-index: 99998;
    width: 400px;
    max-width: 100vw;
    height: 100vh;
    background: #f0f2f6;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow: hidden;
}
.a11y-widget-panel.open {
    right: 0;
}

.a11y-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: linear-gradient(135deg, #0848ca 0%, #0036a3 100%);
    color: #fff;
    flex-shrink: 0;
}
.a11y-panel-title {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.a11y-panel-close {
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    transition: background 0.2s;
}
.a11y-panel-close:hover {
    background: rgba(255,255,255,0.35);
}
.a11y-panel-close svg {
    stroke: #fff;
}

.a11y-panel-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.a11y-section {
    background: rgba(255,255,255,0.7);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 16px;
    border: 1px solid rgba(8, 72, 202, 0.06);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
.a11y-section-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #0848ca;
    margin-bottom: 12px;
    opacity: 0.8;
}

.a11y-font-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
.a11y-font-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid transparent;
    background: rgba(8, 72, 202, 0.06);
    color: #0848ca;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.a11y-font-btn:hover {
    border-color: #0848ca;
    background: rgba(8, 72, 202, 0.12);
}
.a11y-font-display {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    min-width: 60px;
    text-align: center;
}

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

.a11y-btn {
    aspect-ratio: 1;
    border-radius: 14px;
    border: 2px solid transparent;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 6px;
    text-align: center;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
    position: relative;
}
.a11y-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(8, 72, 202, 0.12);
    border-color: rgba(8, 72, 202, 0.2);
}
.a11y-btn.active {
    border-color: #0848ca;
    background: rgba(8, 72, 202, 0.08);
}
.a11y-btn.active::after {
    content: '\2713';
    position: absolute;
    top: -7px;
    right: -7px;
    width: 20px;
    height: 20px;
    background: #0848ca;
    color: #fff;
    border-radius: 50%;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(8, 72, 202, 0.3);
}
.a11y-btn-icon {
    font-size: 22px;
    line-height: 1;
    display: block;
}
.a11y-btn-label {
    font-size: 11px;
    font-weight: 600;
    color: #333;
    line-height: 1.2;
    word-break: break-word;
}
.a11y-btn.active .a11y-btn-icon,
.a11y-btn.active .a11y-btn-label {
    color: #0848ca;
}

.a11y-reset-btn {
    width: 100%;
    padding: 14px;
    background: #0848ca;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.a11y-reset-btn:hover {
    opacity: 0.85;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

[aria-hidden="true"] {
    pointer-events: none;
}

@media (max-width: 768px) {
    .a11y-widget-btn {
        bottom: 16px;
        right: 16px;
        width: 48px;
        height: 48px;
        outline-width: 3px;
    }
    .a11y-widget-btn svg {
        width: 24px;
        height: 24px;
    }
    .a11y-widget-panel {
        width: 100vw;
        max-width: 100vw;
        right: -100vw;
        height: 100vh;
        height: 100dvh;
    }
    .a11y-widget-panel.open {
        right: 0;
    }
    .a11y-panel-body {
        padding: 16px;
        padding-bottom: 100px;
        -webkit-overflow-scrolling: touch;
    }
    .a11y-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }
    .a11y-btn {
        aspect-ratio: auto;
        padding: 8px 6px;
        border-radius: 10px;
        gap: 3px;
        min-height: 0;
    }
    .a11y-btn-icon {
        font-size: 16px;
    }
    .a11y-btn-label {
        font-size: 9px;
        line-height: 1.1;
    }
    .a11y-btn.active::after {
        width: 16px;
        height: 16px;
        font-size: 8px;
        top: -5px;
        right: -5px;
    }
    .a11y-section {
        padding: 10px;
        margin-bottom: 10px;
        border-radius: 12px;
    }
    .a11y-section-title {
        font-size: 10px;
        margin-bottom: 8px;
    }
    .a11y-font-controls {
        gap: 10px;
    }
    .a11y-font-btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    .a11y-font-display {
        font-size: 16px;
        min-width: 44px;
    }
    .a11y-reset-btn {
        padding: 10px;
        font-size: 12px;
        border-radius: 10px;
    }
    .a11y-panel-header {
        padding: 12px 16px;
    }
    .a11y-panel-title {
        font-size: 15px;
    }
    .a11y-overlay {
        z-index: 99996;
    }
}

body {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

p, li, span, a, h1, h2, h3, h4, h5, h6, label, button {

    max-width: 100%;
}

.tab-btn,
.filter-btn,
.nav-link,
.facility-card,
.preview-info {
    min-height: auto;
    overflow: visible;
}

@media (max-width: 320px) {
    body {
        overflow-x: hidden;
    }

    .max-w-\[1400px\],
    .max-w-7xl,
    .max-w-6xl,
    .max-w-5xl,
    .max-w-4xl,
    .max-w-3xl {
        max-width: 100%;
        padding-left: 12px;
        padding-right: 12px;
    }

    .text-6xl, .text-7xl, .text-8xl {
        font-size: 2rem !important;
    }

    .text-5xl {
        font-size: 1.75rem !important;
    }

    .text-4xl {
        font-size: 1.5rem !important;
    }

    .text-3xl {
        font-size: 1.25rem !important;
    }

    .tracking-\[0\.4em\] {
        letter-spacing: 0.15em !important;
    }

    .tracking-\[0\.2em\] {
        letter-spacing: 0.1em !important;
    }

    .animate-marquee {
        flex-wrap: wrap;
        animation: none;
        gap: 12px;
        justify-content: center;
    }

    .facility-card {
        width: 100% !important;
        height: 250px !important;
        border-radius: 16px !important;
    }

    [role="tablist"] {
        flex-wrap: wrap;
        gap: 4px;
    }

    .tab-btn {
        font-size: 0.75rem !important;
        padding-bottom: 0.5rem;
    }

    .animate-modalUp {
        max-width: 100% !important;
        border-radius: 0 !important;
    }

    .a11y-widget-panel {
        right: 8px;
        width: calc(100vw - 16px);
    }

    .a11y-widget-btn {
        right: 8px;
        bottom: 8px;
    }
}

input:not(:focus),
select:not(:focus),
textarea:not(:focus) {
    border-color: #9CA3AF;
}

.tab-btn.active {
    border-bottom-width: 3px;
}

.swiper-pagination-bullet {
    border: 1px solid rgba(255, 255, 255, 0.6);
}

[lang]:not(html):not(body) {

}
