:root {
    color-scheme: light dark;
    --bg: #f2f2f2;
    --text: #181c28;
    --muted: #5f677c;
    --primary: #0d9bdc;
    --primary-weak: #d9ecfb;
    --card: #ebf1f5;
    --border: #d8dbdf;
    --shadow: 0 10px 25px rgba(2, 6, 23, 0.09);
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

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

.container {
    width: min(1100px, 92vw);
    margin: 0 auto;
}

.section {
    padding: 20px 0;
}

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

.hero {
    padding: 72px 0 56px;
    background: radial-gradient(80% 80% at 0% 0%, var(--primary-weak), transparent);
    border-bottom: 1px solid var(--border);
}

.hero-inner h1 {
    margin: 0 0 8px;
    font-size: clamp(1.8rem, 3vw + 1rem, 2.6rem);
}

.lead {
    max-width: 70ch;
    color: var(--muted);
    font-size: 1.1rem;
}

.brand-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.brand-logo {
    display: block;
    border-radius: 12px;
}

.split-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.card {
    padding: 22px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hours-table {
    width: 100%;
    border-collapse: collapse;
    font-variant-numeric: tabular-nums;
}

.hours-table th,
.hours-table td {
    padding: 8px 0;
    text-align: left;
    border-bottom: 1px dashed var(--border);
}

.hours-table th {
    width: 30%;
    font-weight: 700;
}

.hours h3 {
    margin-top: 24px;
    padding-top: 16px;
    font-size: 1.4rem;
}

.hours .contact,
.map-address {
    font-style: normal;
}

.hours .contact {
    margin-top: 8px;
}

.hours .contact a {
    color: inherit;
    text-underline-offset: 0.15em;
}

.map .map-frame {
    position: relative;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border: 1px solid var(--border);
    border-radius: 12px;
}

.map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.map-address {
    margin-top: 14px;
    color: var(--text);
    line-height: 1.5;
}

.carousel {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 2;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 600ms ease;
    will-change: transform;
}

.carousel-slide {
    display: grid;
    min-width: 100%;
    height: 100%;
    place-items: center;
    background: #0b1220;
}

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

.carousel-btn {
    position: absolute;
    z-index: 2;
    display: grid;
    width: 44px;
    height: 44px;
    padding: 0;
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.55);
    border: 0;
    border-radius: 50%;
    place-items: center;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.75);
}

.carousel-btn:focus-visible,
.carousel:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
}

.carousel-btn.prev,
.carousel-btn.next {
    top: 50%;
    transform: translateY(-50%);
}

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

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

.carousel-btn.autoplay {
    right: 12px;
    bottom: 12px;
    font-size: 17px;
}

.carousel-btn[hidden],
[hidden] {
    display: none;
}

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

.site-footer {
    padding: 28px 0;
    background: var(--card);
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 0.95rem;
    text-align: center;
}

@media (max-width: 860px) {
    .split-inner {
        grid-template-columns: 1fr;
    }

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

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .carousel-track {
        transition: none;
    }
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0b1220;
        --text: #e5e7eb;
        --muted: #aeb7c5;
        --primary: #38bdf8;
        --primary-weak: #0b2e41;
        --card: #0f172a;
        --border: #1f2a44;
        --shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
    }
}
