:root {
    --bg: #f7f7f5;
    --text: #1f1f1c;
    --muted: #5c5c56;
    --surface: #ffffff;
    --line: #e7e5e1;
    --primary: #111111;
    --header-offset: 100px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

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

header {
    position: sticky;
    top: 0;
    background: rgb(247 247 245 / 92%);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
    z-index: 20;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.brand img {
    height: clamp(2rem, 4vw, 2.8rem);
    width: auto;
    filter: brightness(0) saturate(100%);
}

nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav a {
    text-decoration: none;
    color: var(--muted);
}

nav a:hover {
    color: var(--text);
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

main section {
    padding: 4rem 0;
}

h1,
h2,
h3 {
    line-height: 1.2;
    margin-top: 0;
}

#hero {
    padding: 0;
}

.hero-carousel {
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - var(--header-offset));
}

.hero-track {
    display: flex;
    height: 100%;
    transition: transform 0.55s ease;
}

.hero-slide {
    min-width: 100%;
    margin: 0;
}

.hero-slide img {
    width: 100%;
    height: calc(100vh - var(--header-offset) + 27px);
    object-fit: cover;
}

.hero-control {
    position: absolute;
    top: calc(50% + 0.9rem);
    transform: translateY(-50%);
    width: 2.6rem;
    height: 2.6rem;
    border: 1px solid rgb(255 255 255 / 60%);
    border-radius: 999px;
    background: rgb(0 0 0 / 45%);
    color: #fff;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    z-index: 6;
}

.hero-control:hover {
    background: rgb(0 0 0 / 62%);
}

.hero-control.prev {
    left: 1rem;
}

.hero-control.next {
    right: 1rem;
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: clamp(0.9rem, 2.2vh, 1.4rem);
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 6;
}

.hero-dot {
    width: 0.6rem;
    height: 0.6rem;
    border: 0;
    border-radius: 999px;
    background: rgb(255 255 255 / 55%);
    cursor: pointer;
}

.hero-dot.is-active {
    background: #fff;
}

.store-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.store-intro {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1.6rem 1.8rem;
    margin-bottom: 1.5rem;
}

.store-intro h2 {
    margin-bottom: 0.8rem;
}

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

.store-intro p + p {
    margin-top: 0.9rem;
}

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 420px;
}

.card img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-content h3 {
    font-size: clamp(1.4rem, 2.4vw, 2rem);
}

.card-content p {
    font-size: 1.08rem;
    margin-bottom: 0;
    color: var(--muted);
}

.card:nth-child(even) img {
    order: 2;
}

.partners {
    background: #efeeea;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
    margin-top: 1rem;
}

.partner {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0.8rem 0.9rem;
    text-align: center;
    font-weight: 600;
}

.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-box {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 1.2rem;
}

.contact-box p {
    margin: 0.3rem 0;
}

.contact-box a {
    color: var(--text);
}

iframe {
    width: 100%;
    min-height: 320px;
    border: 0;
    border-radius: 14px;
}

footer {
    padding: 2rem 0;
    color: var(--muted);
}

@media (max-width: 900px) {
    .store-grid,
    .partners-grid,
    .contact-wrap {
        grid-template-columns: 1fr;
    }

    .hero-slide img {
        height: min(56vh, 430px);
    }

    .hero-control {
        top: calc(50% - 0.2rem);
        width: 2.2rem;
        height: 2.2rem;
    }

    .hero-dots {
        bottom: 0.75rem;
    }

    .card {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .card:nth-child(even) img {
        order: 0;
    }
}
