:root {
    --bg: #1f1f21;
    --bg-soft: #2b2b2f;
    --text: #f4f4f4;
    --muted: #d8d8d8;
    --accent: #ffc329;
    --accent-strong: #ffbf1f;
    --shadow: rgba(255, 195, 41, 0.36);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Finlandica", Arial, sans-serif;
}

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

button {
    font: inherit;
}

.page-shell {
    overflow: clip;
}

.site-header,
.hero,
.partners,
.contacts {
    width: min(1180px, calc(100% - 140px));
    margin: 0 auto;
}

.site-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 22px;
    padding: 26px 0 6px;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.brand img {
    display: block;
    width: clamp(190px, 19vw, 310px);
    height: auto;
}

.brand__mark,
.x-star {
    position: relative;
    display: inline-block;
    width: 22px;
    height: 22px;
}

.brand__mark::before,
.brand__mark::after,
.x-star::before,
.x-star::after {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 100%;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, #ffe88a, var(--accent));
    box-shadow: 0 0 8px #ffd451, 0 0 20px var(--shadow);
    transform: rotate(45deg);
}

.brand__mark::after,
.x-star::after {
    transform: rotate(-45deg);
}

.site-nav {
    display: flex;
    justify-content: center;
    gap: clamp(18px, 3vw, 44px);
    margin: 0 auto;
}

.site-nav a {
    font-size: clamp(16px, 1.1vw, 21px);
    opacity: 0.95;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 12px 24px;
    border: 0;
    border-radius: 0;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn--header,
.btn--primary {
    background: var(--accent);
    color: #1f1f21;
    box-shadow: 0 0 36px var(--shadow);
}

.btn--header {
    min-width: 170px;
    font-size: clamp(16px, 1.05vw, 20px);
    font-weight: 700;
}

.btn--primary {
    min-width: 200px;
    font-size: clamp(18px, 1.3vw, 24px);
    font-weight: 700;
}

.btn--light {
    min-width: 220px;
    font-size: clamp(18px, 1.3vw, 24px);
    font-weight: 700;
    background: #efefef;
    color: #121212;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    gap: 24px;
    padding: 34px 0 78px;
    min-height: auto;
    align-items: center;
}

.hero__copy {
    position: relative;
    z-index: 1;
    max-width: 680px;
}

.hero h1 {
    margin: 0;
    font-size: clamp(30px, 3.1vw, 48px);
    line-height: 1.06;
    font-weight: 800;
    letter-spacing: 0;
    width: fit-content;
    max-width: 100%;
}

.hero h1 span {
    display: block;
    white-space: nowrap;
}

.hero__outline {
    width: 100%;
    color: transparent;
    -webkit-text-stroke: 1px var(--accent);
    text-shadow: 0 0 0 var(--accent);
    margin-top: 12px;
    font-weight: 700;
    font-size: 1.2em;
    letter-spacing: 0.14em;
}

.hero p {
    width: min(100%, 650px);
    margin: 18px 0 0;
    font-size: clamp(14px, 0.9vw, 16px);
    line-height: 1.65;
    color: #ececec;
}

.hero__cta {
    margin-top: 28px;
    min-height: 54px;
    min-width: 146px;
}

.hero__visual {
    position: relative;
    min-height: 560px;
}

.hero__pattern {
    position: absolute;
    inset: 0;
    opacity: 0.82;
}

.hero__pattern .x-star {
    position: absolute;
    width: clamp(62px, 4.8vw, 94px);
    height: clamp(62px, 4.8vw, 94px);
}

.hero__pattern .x-star:nth-child(1) {
    top: 8%;
    left: 2%;
}

.hero__pattern .x-star:nth-child(2) {
    top: 8%;
    right: 4%;
}

.hero__pattern .x-star:nth-child(3) {
    top: 36%;
    left: 3%;
}

.hero__pattern .x-star:nth-child(4) {
    top: 36%;
    right: 5%;
}

.hero__product {
    position: absolute;
    right: -17%;
    bottom: -2%;
    width: min(115%, 690px);
    z-index: 1;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.section-title h2 {
    margin: 0;
    font-size: clamp(22px, 1.55vw, 34px);
    line-height: 1;
    font-weight: 700;
}

.x-star--small {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.partners {
    padding: 18px 0 74px;
}

.partners__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.partner-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 168px;
    padding: 18px;
    background: var(--accent);
}

.partner-card img {
    width: 100%;
    max-width: 188px;
    max-height: 74px;
    object-fit: contain;
}

.contacts {
    position: relative;
    padding: 26px 0 72px;
}

.section-divider {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 92px;
}

.section-divider .x-star {
    width: 68px;
    height: 68px;
}

.contacts__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.85fr);
    gap: 56px;
    align-items: start;
}

.contacts__info {
    padding-top: 8px;
}

.contacts__lead {
    max-width: 420px;
    margin: 0 0 24px;
    font-size: clamp(14px, 0.95vw, 17px);
    line-height: 1.45;
}

.contacts__email {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    min-width: min(100%, 340px);
    padding: 12px 18px;
    background: var(--accent);
    color: #1b1b1d;
    font-size: clamp(14px, 0.95vw, 16px);
    box-shadow: none;
}

.contacts__list {
    list-style: none;
    margin: 30px 0 0;
    padding: 0;
}

.contacts__list li {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
    font-size: clamp(14px, 0.95vw, 17px);
    line-height: 1.45;
}

.contacts__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    color: var(--accent);
    font-size: 18px;
    line-height: 1;
}

.contacts__schedule {
    padding-left: 32px;
    color: #f0f0f0;
}

.socials {
    display: grid;
    gap: 12px;
    padding-top: 58px;
}

.social-card {
    display: grid;
    grid-template-columns: 24px 1fr auto;
    align-items: center;
    gap: 16px;
    min-height: 62px;
    padding: 14px 16px;
    background: #2f2f33;
}

.social-card span:nth-child(2) {
    font-size: clamp(18px, 1.2vw, 22px);
}

.social-card strong {
    font-size: clamp(22px, 1.45vw, 28px);
    color: var(--accent);
    font-weight: 400;
}

.age-gate {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 100;
}

.age-gate.is-visible {
    display: flex;
}

.age-gate__panel {
    width: min(760px, calc(100% - 32px));
    padding: 48px 42px 40px;
    background: #222224;
    text-align: center;
}

.age-gate__panel h2 {
    margin: 0;
    font-size: clamp(34px, 3vw, 54px);
    line-height: 1.05;
}

.age-gate__panel h2 span {
    color: var(--accent);
}

.age-gate__panel p {
    margin: 22px 0 30px;
    font-size: clamp(18px, 1.4vw, 26px);
}

.age-gate__actions {
    display: flex;
    justify-content: center;
    gap: 18px;
}

@media (max-width: 950px) {
    .site-header,
    .hero,
    .partners,
    .contacts {
        width: min(100%, calc(100% - 72px));
    }

    .site-header {
        grid-template-columns: 1fr;
    }

    .site-nav {
        width: 100%;
        justify-content: center;
        margin: 0;
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero__copy {
        order: 2;
    }

    .hero__visual {
        order: 1;
        min-height: 460px;
    }

    .hero__product {
        right: -6%;
        width: min(100%, 520px);
    }

    .hero__cta,
    .btn--header {
        min-width: 0;
    }

    .partners__grid,
    .contacts__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 780px) {
    .site-header,
    .hero,
    .partners,
    .contacts {
        width: calc(100% - 24px);
    }

    .site-header {
        padding-top: 16px;
        gap: 18px;
    }

    .brand img {
        width: 220px;
    }

    .site-nav {
        gap: 18px;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 6px;
    }

    .site-nav a,
    .btn--header {
        font-size: 16px;
    }

    .btn {
        min-height: 58px;
    }

    .hero {
        grid-template-columns: 1fr;
        padding-top: 28px;
        padding-bottom: 60px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero h1 span {
        white-space: normal;
    }

    .hero__outline {
        -webkit-text-stroke-width: 1px;
        font-size: 1.2em;
        letter-spacing: 0.06em;
    }

    .hero p,
    .contacts__lead,
    .contacts__list li {
        font-size: 16px;
    }

    .hero__cta {
        min-width: 100%;
        min-height: 58px;
        margin-top: 28px;
        font-size: 18px;
    }

    .hero__visual {
        min-height: 320px;
    }

    .hero__pattern {
        inset: 0;
    }

    .hero__pattern .x-star,
    .section-divider .x-star {
        width: 56px;
        height: 56px;
    }

    .hero__product {
        right: -8px;
        bottom: 0;
        width: 300px;
    }

    .partners__grid,
    .contacts__grid {
        grid-template-columns: 1fr;
    }

    .partner-card {
        min-height: 180px;
    }

    .section-title {
        gap: 16px;
        margin-bottom: 28px;
    }

    .section-title h2 {
        font-size: 34px;
    }

    .contacts {
        padding-top: 42px;
    }

    .contacts__info,
    .socials {
        padding-top: 14px;
    }

    .section-divider {
        margin-bottom: 54px;
        overflow: hidden;
    }

    .contacts__email {
        min-width: 100%;
        min-height: 62px;
        font-size: 18px;
        text-align: center;
        word-break: break-word;
    }

    .contacts__list {
        margin-top: 36px;
    }

    .contacts__schedule {
        padding-left: 32px;
    }

    .social-card {
        min-height: 86px;
        grid-template-columns: 28px 1fr auto;
        padding: 16px 18px;
        gap: 14px;
    }

    .social-card span:nth-child(2),
    .social-card strong {
        font-size: 22px;
    }

    .age-gate__panel {
        padding: 32px 18px 24px;
    }

    .age-gate__actions {
        flex-direction: column;
    }
}

/* Контакты магазинов */
.contacts__quick,
.contacts__stores {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.contacts__quick {
    margin-bottom: 20px;
}

.contacts__quick > * {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 9px;
    min-width: 0;
    min-height: 95px;
    padding: 20px 22px;
    background: #2f2f33;
}

.contacts__quick span,
.store-card__number {
    color: #bcbcbc;
    font-size: 14px;
}

.contacts__quick strong {
    overflow-wrap: anywhere;
    font-size: clamp(16px, 1.15vw, 19px);
    font-weight: 600;
}

.contacts__quick a:hover strong,
.contacts__quick a:focus-visible strong {
    color: var(--accent);
}

.contacts__instagram strong {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.contacts__instagram img,
.store-card__actions img {
    display: block;
    width: 22px;
    height: 22px;
    flex: none;
}

.store-card {
    display: flex;
    flex-direction: column;
    min-height: 218px;
    padding: 25px 24px 21px;
    background: #2b2b2f;
    border: 1px solid #414145;
}

.store-card h3 {
    margin: 17px 0 13px;
    font-size: clamp(22px, 1.7vw, 27px);
    line-height: 1.1;
}

.store-card__phone {
    width: fit-content;
    color: var(--accent);
    font-size: clamp(17px, 1.25vw, 20px);
    font-weight: 600;
}

.store-card__actions {
    display: flex;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 20px;
}

.store-card__actions a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: fit-content;
    padding: 10px 13px;
    border: 1px solid #5a5a5d;
    color: var(--text);
    font-size: 15px;
}

.store-card__actions a:hover,
.store-card__actions a:focus-visible {
    border-color: var(--accent);
    color: var(--accent);
}

@media (max-width: 950px) {
    .contacts__quick,
    .contacts__stores {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .contacts__quick,
    .contacts__stores {
        grid-template-columns: 1fr;
    }

    .contacts__quick > * {
        min-height: 76px;
    }
}
