/* ==============================================
   Кафе «Пышка» — Премиальный лендинг
   ============================================== */

/* === Базовые сбросы === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: #0e0c08;
}

body {
    font-family: system-ui, -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background: #0e0c08;
    color: #e8dcc8;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

/* === Контейнер === */
.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 32px;
}

/* === Прелоадер === */
.loader {
    position: fixed;
    inset: 0;
    background: #0e0c08;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader--hidden {
    opacity: 0;
    visibility: hidden;
}

.loader__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.loader__svg {
    width: 60px;
    height: 60px;
    color: #C9A96E;
    animation: loaderSpin 1.4s linear infinite;
}

.loader__arc {
    animation: loaderDash 1.4s ease-in-out infinite;
}

.loader__text {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 20px;
    letter-spacing: 4px;
    color: #C9A96E;
    text-transform: uppercase;
}

@keyframes loaderSpin {
    to { transform: rotate(360deg); }
}

@keyframes loaderDash {
    0% { stroke-dashoffset: 276; }
    50% { stroke-dashoffset: 70; }
    100% { stroke-dashoffset: 276; }
}

/* === Шапка === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 16px 0;
    transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

.header--scrolled {
    background: rgba(14, 12, 8, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(201, 169, 110, 0.08);
    padding: 8px 0;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #C9A96E;
}

.logo__mark {
    color: inherit;
}

.logo__word {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #e8dcc8;
}

/* Навигация */
.nav {
    display: flex;
    gap: 36px;
    align-items: center;
}

.nav a {
    font-size: 14px;
    font-weight: 500;
    color: #8a8070;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav a:hover {
    color: #C9A96E;
}

/* Кнопки */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1.2);
    white-space: nowrap;
}

.btn--outline {
    background: transparent;
    border: 1.5px solid #C9A96E;
    color: #C9A96E;
}

.btn--outline:hover {
    background: #C9A96E;
    color: #0e0c08;
}

.btn--gold {
    background: linear-gradient(135deg, #C9A96E, #a8843e);
    color: #0e0c08;
    box-shadow: 0 4px 24px rgba(201, 169, 110, 0.25);
}

.btn--gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 36px rgba(201, 169, 110, 0.35);
}

.btn--ghost {
    background: transparent;
    border: 1.5px solid rgba(232, 220, 200, 0.3);
    color: #e8dcc8;
}

.btn--ghost:hover {
    border-color: #C9A96E;
    color: #C9A96E;
}

.btn--lg {
    padding: 16px 40px;
    font-size: 15px;
}

/* Бургер */
.burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
}

.burger span {
    display: block;
    width: 26px;
    height: 2px;
    background: #e8dcc8;
    border-radius: 2px;
    transition: 0.3s;
}

.burger--active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.burger--active span:nth-child(2) {
    opacity: 0;
}

/* === Герой === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero__grain {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 30% 40%, rgba(201, 169, 110, 0.03) 0%, transparent 50%),
                      radial-gradient(circle at 70% 60%, rgba(168, 132, 62, 0.02) 0%, transparent 50%);
}

.hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
}

.hero__glow--1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.06), transparent);
    top: -200px;
    right: -200px;
}

.hero__glow--2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.04), transparent);
    bottom: -100px;
    left: -100px;
}

.hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 700px;
}

.hero__tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #C9A96E;
    padding: 6px 16px;
    border: 1px solid rgba(201, 169, 110, 0.3);
    border-radius: 100px;
    width: fit-content;
}

.hero__title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(48px, 9vw, 96px);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -2px;
    color: #f5ede0;
}

.hero__brand {
    color: #C9A96E;
    position: relative;
}

.hero__brand::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #C9A96E;
    opacity: 0.4;
}

.hero__subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: #a09885;
    line-height: 1.7;
    max-width: 540px;
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 8px;
}

/* === Секции === */
.section {
    padding: 120px 0;
}

.section--dark {
    background: #110f0a;
}

.section__tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #C9A96E;
    margin-bottom: 16px;
}

.section__tag--light {
    color: #C9A96E;
}

.section__title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
    color: #f5ede0;
    margin-bottom: 32px;
}

.section__text {
    font-size: 16px;
    color: #a09885;
    line-height: 1.8;
    margin-bottom: 20px;
    max-width: 560px;
}

/* === О нас === */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.about__visual {
    display: flex;
    justify-content: center;
}

.about__frame {
    position: relative;
}

.about__art {
    width: 280px;
    height: 380px;
}

.about__stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(201, 169, 110, 0.15);
}

.astat__num {
    display: block;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 40px;
    font-weight: 700;
    color: #C9A96E;
    line-height: 1;
}

.astat__unit {
    font-size: 20px;
    color: #C9A96E;
}

.astat__lbl {
    display: block;
    font-size: 13px;
    color: #8a8070;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 6px;
}

/* === Шеф-повар === */
.chef-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.chef__visual {
    display: flex;
    justify-content: center;
}

.chef__art {
    width: 280px;
    height: 380px;
}

.chef__quote {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 28px;
    background: rgba(201, 169, 110, 0.04);
    border-left: 2px solid #C9A96E;
    border-radius: 0 12px 12px 0;
    margin-top: 32px;
}

.chef__quote p {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 18px;
    color: #d4c8b0;
    line-height: 1.6;
    font-style: italic;
}

.chef__name {
    font-size: 13px;
    color: #8a8070;
    letter-spacing: 1px;
}

/* === Меню === */
.menu__header {
    margin-bottom: 56px;
}

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

.menu-card {
    background: #110f0a;
    border: 1px solid #1f1b12;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1.2);
}

.menu-card:hover {
    border-color: #C9A96E;
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5);
}

.menu-card__img svg {
    width: 100%;
    height: 140px;
}

.menu-card__body {
    padding: 24px;
}

.menu-card__body h3 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 20px;
    font-weight: 700;
    color: #f5ede0;
    margin-bottom: 8px;
}

.menu-card__body p {
    font-size: 14px;
    color: #8a8070;
    line-height: 1.6;
    margin-bottom: 16px;
}

.menu-card__price {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 22px;
    font-weight: 700;
    color: #C9A96E;
}

/* === Интерьер === */
.interior__header {
    margin-bottom: 56px;
}

.interior-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.interior__visual svg {
    width: 100%;
    height: auto;
}

.interior__features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.interior__features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: #d4c8b0;
    padding: 12px 0;
    border-bottom: 1px solid rgba(201, 169, 110, 0.1);
}

.interior__features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #C9A96E;
    border-radius: 50%;
    flex-shrink: 0;
}

/* === Контакты === */
.contacts__header {
    margin-bottom: 56px;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 56px;
}

.contacts__info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-item__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 169, 110, 0.06);
    border-radius: 12px;
    border: 1px solid rgba(201, 169, 110, 0.15);
}

.contact-item__label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #6a6050;
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 16px;
    color: #d4c8b0;
    line-height: 1.6;
}

.contact-item a {
    color: #C9A96E;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: #e0d0a0;
}

/* Карта */
.contacts__map {
    position: relative;
}

.map__container {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #2a2518;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

.map__svg {
    width: 100%;
    height: auto;
    display: block;
}

.map__overlay {
    position: absolute;
    bottom: 24px;
    left: 24px;
    display: flex;
    align-items: flex-end;
    gap: 12px;
    pointer-events: none;
}

.map__pin {
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
    animation: mapBounce 2s ease-in-out infinite;
}

@keyframes mapBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.map__card {
    background: rgba(14, 12, 8, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(201, 169, 110, 0.3);
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.map__card strong {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 16px;
    color: #C9A96E;
}

.map__card span {
    font-size: 13px;
    color: #a09885;
}

/* === CTA === */
.cta {
    padding: 100px 0 120px;
    text-align: center;
}

.cta__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.cta__title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
    color: #f5ede0;
}

.cta__text {
    font-size: 18px;
    color: #a09885;
    max-width: 480px;
    line-height: 1.7;
}

.cta__actions {
    display: flex;
    gap: 16px;
    margin-top: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

/* === Футер === */
.footer {
    padding: 64px 0 32px;
    border-top: 1px solid #1f1b12;
}

.footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.footer__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.footer__desc {
    font-size: 14px;
    color: #6a6050;
    letter-spacing: 1px;
}

.footer__links {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer__links a {
    font-size: 13px;
    color: #6a6050;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.footer__links a:hover {
    color: #C9A96E;
}

.footer__bottom {
    display: flex;
    gap: 24px;
    font-size: 12px;
    color: #4a4030;
    letter-spacing: 1px;
}

/* === Анимации появления === */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal--visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==============================================
   АДАПТИВ
   ============================================== */

@media (max-width: 1024px) {
    .about-grid,
    .chef-grid,
    .interior-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about__visual,
    .chef__visual {
        order: -1;
    }

    .about__art,
    .chef__art {
        width: 220px;
        height: 300px;
    }

    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section {
        padding: 80px 0;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .burger {
        display: flex;
    }

    .header .btn--outline {
        display: none;
    }

    .nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(14, 12, 8, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transform: translateY(-100%);
        transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 100;
    }

    .nav--open {
        transform: translateY(0);
    }

    .nav a {
        font-size: 20px;
    }

    .hero {
        padding-top: 100px;
        min-height: auto;
    }

    .hero__title {
        font-size: 42px;
    }

    .hero__actions {
        flex-direction: column;
        width: 100%;
    }

    .hero__actions .btn {
        width: 100%;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .about__stats {
        flex-direction: column;
        gap: 20px;
    }

    .interior__visual svg {
        height: 200px;
    }

    .map__overlay {
        bottom: 16px;
        left: 16px;
    }

    .map__card {
        padding: 10px 14px;
    }

    .footer__links {
        gap: 20px;
    }

    .footer__bottom {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        text-align: center;
    }

    .cta {
        padding: 60px 0 80px;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 60px 0;
    }

    .hero__title {
        font-size: 34px;
    }

    .about__art,
    .chef__art {
        width: 180px;
        height: 240px;
    }

    .map__overlay {
        bottom: 8px;
        left: 8px;
    }

    .map__pin svg {
        width: 24px;
        height: 30px;
    }

    .map__card {
        padding: 8px 12px;
    }

    .map__card strong {
        font-size: 14px;
    }

    .map__card span {
        font-size: 11px;
    }
}
