/* ============================================================
   CRAFT · Bar & Grill — fresh design system
   Type: Montserrat throughout
   Palette: warm black + gold
   ============================================================ */

:root {
    --black:      #0c0a09;
    --black-2:    #14110f;
    --char:       #1c1917;
    --cream:      #f6f1e7;
    --cream-soft: #d9d2c5;
    --gold:       #d4af37;
    --gold-soft:  rgba(212, 175, 55, 0.5);
    --muted:      rgba(246, 241, 231, 0.62);
    --line:       rgba(246, 241, 231, 0.12);
    --maxw:       1240px;
    --ease:       cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* отступ под фиксированную шапку при переходе по якорям */
section[id] { scroll-margin-top: 72px; }

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--black);
    color: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---------- shared bits ---------- */
.eyebrow {
    display: inline-block;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    line-height: 1.1;
}

h2 { font-size: clamp(1.9rem, 4vw, 3rem); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    padding: 15px 34px;
    border-radius: 4px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    white-space: nowrap;
}
.btn--sm { padding: 11px 22px; font-size: 0.9rem; }
.btn--gold { background: var(--gold); color: var(--char); border-color: var(--gold); }
.btn--gold:hover { background: transparent; color: var(--gold); }
.btn--outline { background: transparent; color: var(--cream); border-color: rgba(246,241,231,0.4); }
.btn--outline:hover { border-color: var(--cream); background: var(--cream); color: var(--char); }
.btn--ghost { background: transparent; color: var(--cream); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--cream); }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(38px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1000;
    transition: background 0.4s ease, border-color 0.4s ease, padding 0.4s ease;
    border-bottom: 1px solid transparent;
}
.header.is-solid {
    background: rgba(12, 10, 9, 0.85);
    backdrop-filter: blur(12px);
    border-bottom-color: var(--line);
}
.header__inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 22px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    transition: padding 0.4s ease;
}
.header.is-solid .header__inner { padding: 15px 32px; }
.header__logo img { height: 30px; width: auto; }
.header__nav { display: flex; gap: 34px; margin-left: auto; }
.header__nav a {
    font-size: 0.92rem;
    letter-spacing: 0.3px;
    color: var(--cream);
    position: relative;
    padding: 4px 0;
    transition: color 0.25s ease;
}
.header__nav a::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 0; height: 1px;
    background: var(--gold);
    transition: width 0.3s var(--ease);
}
.header__nav a:hover { color: var(--gold); }
.header__nav a:hover::after { width: 100%; }
.header__side { display: flex; align-items: center; gap: 22px; }
.header__phone { font-size: 0.92rem; color: var(--cream); transition: color 0.25s; }
.header__phone:hover { color: var(--gold); }

.header__burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.header__burger span { width: 24px; height: 2px; background: var(--cream); transition: 0.3s var(--ease); }
.header__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__burger.is-open span:nth-child(2) { opacity: 0; }
.header__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.header__mobile {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 0 32px;
    background: rgba(12, 10, 9, 0.97);
    backdrop-filter: blur(12px);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s var(--ease), padding 0.45s var(--ease);
}
.header__mobile.is-open { max-height: 420px; padding: 12px 32px 28px; }
.header__mobile a { padding: 14px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
.header__mobile a.btn { border: 1px solid var(--gold); margin-top: 16px; justify-content: center; }
.header__mobile-phone { color: var(--gold) !important; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12,10,9,0.55), rgba(12,10,9,0.4) 45%, rgba(12,10,9,0.92)),
                url(../img/exterior-hero.jpg) center/cover no-repeat;
    transform: scale(1.08);
    animation: heroZoom 14s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__inner {
    position: relative;
    max-width: var(--maxw);
    width: 100%;
    margin: 0 auto;
    padding: 120px 32px 80px;
}
.hero__title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.6rem, 7vw, 5.4rem);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 26px;
}
.hero__title em { color: var(--gold); font-style: italic; }
.hero__lead {
    max-width: 700px;
    color: var(--cream-soft);
    font-size: 1.08rem;
    font-weight: 300;
    margin-bottom: 38px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__scroll {
    position: absolute;
    bottom: 34px; left: 50%;
    transform: translateX(-50%);
    width: 26px; height: 44px;
    border: 1px solid var(--gold-soft);
    border-radius: 14px;
}
.hero__scroll span {
    position: absolute;
    top: 8px; left: 50%;
    width: 3px; height: 8px;
    margin-left: -1.5px;
    background: var(--gold);
    border-radius: 2px;
    animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translateY(14px); } 100% { opacity: 0; } }

/* ============================================================
   MOTTO AZABU GUEST DINNER
   ============================================================ */
.guest-event {
    background: linear-gradient(90deg, rgba(12, 10, 9, 0.84) 0%, rgba(12, 10, 9, 0.74) 44%, rgba(12, 10, 9, 0.56) 100%),
                url(../img/motto-event/background.jpg) center/cover no-repeat;
    border-top: 1px solid var(--gold-soft);
    border-bottom: 1px solid var(--gold-soft);
    padding: 92px 32px;
}
.guest-event__inner {
    max-width: var(--maxw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.24fr) minmax(320px, 0.9fr);
    align-items: center;
    gap: clamp(36px, 6vw, 92px);
}
.guest-event__copy { min-width: 0; }
.guest-event__date {
    color: var(--gold);
    font-size: .87rem;
    font-weight: 600;
    letter-spacing: .025em;
    margin-bottom: 19px;
}
.guest-event h2 {
    font-size: clamp(2.25rem, 4.5vw, 4.25rem);
    font-weight: 600;
    line-height: 1.08;
    margin-bottom: 22px;
}
.guest-event__lead { max-width: 620px; color: var(--cream-soft); font-size: 1rem; line-height: 1.7; }
.guest-event__menu-title { font-size: 1rem; font-weight: 600; margin: 30px 0 11px; }
.guest-event__menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 21px; }
.guest-event__menu li { position: relative; padding-left: 15px; font-size: .85rem; line-height: 1.45; }
.guest-event__menu li::before { content: ''; position: absolute; top: .68em; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.guest-event__extras { max-width: 620px; margin-top: 26px; color: var(--cream-soft); font-size: .84rem; line-height: 1.65; }
.guest-event__bottom { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 24px 32px; margin-top: 30px; }
.guest-event__price { display: flex; flex-direction: column; gap: 1px; }
.guest-event__price span { color: var(--cream-soft); font-size: .78rem; }
.guest-event__price strong { font-size: 2rem; font-weight: 600; line-height: 1.15; }
.guest-event__address { margin-top: 16px; color: var(--cream-soft); font-size: .75rem; }
.guest-event__address a { text-decoration: underline; text-underline-offset: 3px; }
.guest-event__address a:hover { color: var(--gold); }
.guest-event__gallery { width: 100%; min-width: 0; }
.guest-event__viewport { position: relative; overflow: hidden; border: 1px solid rgba(246, 241, 231, .3); background: var(--black); }
.guest-event__track { display: flex; width: 100%; transition: transform .35s var(--ease); touch-action: pan-y; }
.guest-event__track img { display: block; flex: 0 0 100%; min-width: 0; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: contain; }
.guest-event__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(246, 241, 231, .55);
    border-radius: 50%;
    background: rgba(12, 10, 9, .72);
    color: var(--cream);
    font-size: .9rem;
    cursor: pointer;
    z-index: 1;
}
.guest-event__arrow:hover { background: var(--gold); border-color: var(--gold); color: var(--char); }
.guest-event__arrow:focus-visible, .guest-event__dots button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.guest-event__arrow--prev { left: 12px; }
.guest-event__arrow--next { right: 12px; }
.guest-event__controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; }
.guest-event__count { color: var(--cream-soft); font-size: .78rem; font-variant-numeric: tabular-nums; }
.guest-event__dots { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 7px; }
.guest-event__dots button { width: 8px; height: 8px; padding: 0; border: 1px solid var(--cream); border-radius: 50%; background: transparent; cursor: pointer; }
.guest-event__dots button.is-active { border-color: var(--gold); background: var(--gold); }

/* ============================================================
   MENUS
   ============================================================ */
.menus { padding: 110px 32px 120px; background: var(--black-2); }
.menus__inner { max-width: var(--maxw); margin: 0 auto; }
.menus__intro { max-width: 760px; margin-bottom: 32px; }
.menus__intro h2 { margin-bottom: 18px; }
.menus__intro p { color: var(--muted); }
.menus__link { min-width: 250px; }
.menus__link span { margin-left: 18px; }

/* ============================================================
   ABOUT
   ============================================================ */
.about { padding: 120px 32px; }
.about__grid {
    max-width: var(--maxw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}
.about__media { position: relative; }
.about__media img {
    width: 100%;
    border-radius: 8px;
    border: 1px solid var(--gold-soft);
}
.about__tag {
    position: absolute;
    bottom: 22px; left: 22px;
    background: var(--gold);
    color: var(--char);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 9px 18px;
    border-radius: 4px;
}
.about__text h2 { margin-bottom: 26px; }
.about__text p { color: var(--muted); margin-bottom: 18px; font-weight: 300; font-size: 1.05rem; }
.about__text p:last-child { margin-bottom: 0; }

/* ============================================================
   CONCEPT CARDS
   ============================================================ */
.concept { padding: 0 32px 120px; }
.concept__head { max-width: var(--maxw); margin: 0 auto 50px; text-align: center; }
.concept__grid {
    max-width: var(--maxw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.concept__card {
    background: var(--black-2);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 44px 36px;
    transition: border-color 0.35s ease, transform 0.35s var(--ease);
}
.concept__card:hover { border-color: var(--gold-soft); transform: translateY(-6px); }
.concept__num {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.4rem;
    color: var(--gold);
    display: block;
    margin-bottom: 18px;
}
.concept__card h3 { font-size: 1.5rem; margin-bottom: 14px; }
.concept__card p { color: var(--muted); font-weight: 300; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery { padding: 0 32px 120px; }
.gallery__head { text-align: center; margin-bottom: 50px; }
.gallery__stage {
    position: relative;
    max-width: 1080px;
    height: 600px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--gold-soft);
}
.gallery__track { position: relative; width: 100%; height: 100%; }
.gallery__slide {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 1s var(--ease), transform 6s ease-out;
}
.gallery__slide.is-active { opacity: 1; transform: scale(1); z-index: 1; }
.gallery__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px; height: 48px;
    border-radius: 50%;
    border: 1px solid var(--gold-soft);
    background: rgba(12,10,9,0.55);
    color: var(--gold);
    font-size: 1rem;
    cursor: pointer;
    z-index: 2;
    transition: all 0.25s ease;
}
.gallery__arrow:hover { background: var(--gold); color: var(--char); }
.gallery__arrow:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.gallery__arrow--prev { left: 20px; }
.gallery__arrow--next { right: 20px; }
.gallery__dots {
    position: absolute;
    bottom: 20px; left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 2;
}
.gallery__dots button {
    width: 9px; height: 9px;
    border-radius: 50%;
    border: 1px solid var(--gold);
    background: transparent;
    padding: 0;
    cursor: pointer;
    transition: all 0.25s ease;
}
.gallery__dots button.is-active { background: var(--gold); transform: scale(1.15); }

/* ============================================================
   VISIT
   ============================================================ */
.visit {
    background: var(--black-2);
    border-top: 1px solid var(--line);
    padding: 110px 32px;
}
.visit__inner {
    max-width: var(--maxw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}
.visit__text h2 { margin-bottom: 36px; }
.visit__info { margin-bottom: 40px; }
.visit__info li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 20px 0;
    border-top: 1px solid var(--line);
}
.visit__info li:last-child { border-bottom: 1px solid var(--line); }
.visit__label { font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }
.visit__info a, .visit__info span:not(.visit__label) { font-size: 1.15rem; transition: color 0.25s; }
.visit__hours { line-height: 1.9; }
.visit__info a:hover { color: var(--gold); }
.visit__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.visit__media img { width: 100%; border-radius: 8px; border: 1px solid var(--gold-soft); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--black); padding: 60px 32px; }
.footer__inner {
    max-width: var(--maxw);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}
.footer__logo { height: 34px; width: auto; }
.footer__socials { display: flex; gap: 18px; }
.footer__socials a {
    width: 42px; height: 42px;
    border: 1px solid var(--line);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.25s ease, transform 0.25s ease;
}
.footer__socials a:hover { border-color: var(--gold); transform: translateY(-3px); }
.footer__socials img { width: 18px; height: 18px; }
.footer__copy { color: var(--muted); font-size: 0.85rem; }

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
    .hero__bg { transform: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .header__nav, .header__side { display: none; }
    .header__burger { display: flex; }
    .header__mobile { display: flex; }

    .about__grid, .visit__inner { grid-template-columns: 1fr; gap: 40px; }
    .about__media { order: -1; }
    .concept__grid { grid-template-columns: 1fr; }
    .gallery__stage { height: 380px; }
    .guest-event__inner { grid-template-columns: 1fr; max-width: 640px; gap: 40px; }
    .guest-event__copy { display: contents; }
    .guest-event__heading { order: 0; min-width: 0; }
    .guest-event__heading h2 { margin-bottom: 0; }
    .guest-event__gallery { order: 1; max-width: 480px; justify-self: center; }
    .guest-event__body { order: 2; min-width: 0; }
}

@media (max-width: 560px) {
    .header__inner { padding: 16px 20px; }
    .header.is-solid .header__inner { padding: 12px 20px; }
    .hero__inner { padding: 110px 20px 70px; }
    .about, .visit { padding-left: 20px; padding-right: 20px; }
    .concept, .gallery { padding-left: 20px; padding-right: 20px; }
    .about, .concept { padding-bottom: 80px; }
    .gallery__stage { height: 300px; }
    .gallery__arrow { width: 38px; height: 38px; }
    .hero__actions, .visit__actions { width: 100%; }
    .hero__actions .btn, .visit__actions .btn { flex: 1; }
    .menus { padding: 80px 20px; }
    .menus__link { width: 100%; }
    .guest-event { padding: 62px 20px 70px; background-position: 58% center; background-image: linear-gradient(rgba(12, 10, 9, .84), rgba(12, 10, 9, .81)), url(../img/motto-event/background.jpg); }
    .guest-event h2 { font-size: clamp(2rem, 8vw, 2.9rem); }
    .guest-event__menu { grid-template-columns: 1fr; }
    .guest-event__menu li { font-size: .88rem; }
    .guest-event__bottom { align-items: flex-start; flex-direction: column; gap: 20px; }
    .guest-event__bottom .btn { width: 100%; }
    .guest-event__arrow { width: 36px; height: 36px; }
}
