/* ═══════════════════════════════════════════════════
   Адаптивные стили — все медиа-запросы
═══════════════════════════════════════════════════ */

/* ── 1080px — планшет широкий ── */
@media (max-width: 1080px) {
    .story-grid,
    .menu-section-grid,
    .atmosphere-grid,
    .final-grid {
        grid-template-columns: 1fr;
    }

    .atmosphere-grid {
        gap: 20px;
    }

    .atmosphere-points {
        justify-items: start;
    }

    .menu-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

/* ── 900px — occasions сетка ── */
@media (max-width: 900px) {
    .occasions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ── 860px — навигация + sticky ── */
@media (max-width: 860px) {
    .nav-toggle {
        display: flex;
    }

    .site-nav {
        position: fixed;
        top: 82px;
        left: 50%;
        width: min(360px, calc(100% - 32px));
        max-height: calc(100dvh - 100px);
        overflow-y: auto;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 12px;
        border-radius: 20px;
        background: rgba(30, 19, 12, 0.96);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border: 1px solid rgba(214, 175, 107, 0.16);
        box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
        opacity: 0;
        pointer-events: none;
        transform: translateX(-50%) translateY(-10px) scale(0.98);
        transition: opacity 0.25s ease, transform 0.3s var(--ease-out);
        z-index: 100;
    }

    .site-nav.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0) scale(1);
    }

    .site-nav a {
        display: flex;
        align-items: center;
        padding: 14px 16px;
        border-radius: 12px;
        font-size: 0.84rem;
        letter-spacing: 0.14em;
        transition: background var(--transition), color var(--transition);
    }

    .site-nav a::after {
        display: none;
    }

    .site-nav a:hover {
        background: rgba(214, 175, 107, 0.08);
    }

    .nav-cta {
        margin-top: 6px;
        min-height: 50px;
        width: 100%;
        border-radius: 14px;
        justify-content: center;
        font-size: 0.84rem;
    }

    .menu-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .menu-tab {
        padding: 8px 16px;
        font-size: 0.72rem;
    }

    .section {
        padding: 72px 0;
    }

    .photo-slider {
        height: clamp(340px, 62vh, 560px);
    }

    .photo-nav {
        width: 44px;
        height: 44px;
    }

    .photo-nav svg {
        width: 22px;
        height: 22px;
    }

    .photo-nav-prev { left: 14px; }
    .photo-nav-next { right: 14px; }

    .photo-counter {
        bottom: 20px;
        right: 20px;
    }

    .photo-counter-cur {
        font-size: 1.8rem;
    }

    .photo-slider-wrap::before,
    .photo-slider-wrap::after {
        width: 60px;
    }

    .promo-banner {
        padding: 52px 0;
    }

    .promo-inner {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .promo-icon {
        width: 88px;
        height: 88px;
    }

    .promo-icon svg {
        width: 46px;
        height: 46px;
    }

    .promo-title {
        font-size: clamp(1.6rem, 4vw, 2.2rem);
    }

    .promo-text {
        font-size: 1.02rem;
        max-width: none;
    }

    .promo-note {
        font-size: 0.8rem;
    }

    .promo-cta {
        align-self: center;
        min-height: 52px;
        padding: 0 36px;
        font-size: 0.88rem;
    }

    .philosophy-pillars {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
        gap: 20px;
    }

    .philosophy-pillar p {
        max-width: none;
    }

    .credo-values {
        grid-template-columns: 1fr;
        max-width: 380px;
        margin: 0 auto;
        gap: 16px;
    }

    /* sticky-cta */
    .sticky-cta {
        display: flex;
    }

    body {
        padding-bottom: 76px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
        padding: 32px 0 18px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-social {
        align-items: flex-start;
    }
}

/* ── 640px — телефоны ── */
@media (max-width: 640px) {
    .container {
        width: min(calc(100% - 24px), var(--container));
    }

    .header-inner {
        min-height: 64px;
    }

    .brand {
        gap: 10px;
    }

    .brand-badge {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        box-shadow: 0 4px 14px rgba(20, 11, 7, 0.22);
    }

    .brand-logo {
        width: 100%;
        height: 100%;
    }

    .brand-text strong {
        font-size: 1rem;
    }

    .brand-text small {
        font-size: 0.56rem;
    }

    .hero {
        min-height: auto;
        height: 100vh;
        height: 100svh;
        padding-top: 64px;
    }

    .hero::before {
        background: url("../images/rest.png") no-repeat center 20% / cover;
        filter: saturate(0.8) contrast(1.05) brightness(0.38) blur(1.5px);
        transform: scale(1.1);
    }

    .hero::after {
        background:
            linear-gradient(180deg,
                rgba(11, 7, 5, 0.55) 0%,
                rgba(11, 7, 5, 0.15) 25%,
                rgba(11, 7, 5, 0.10) 50%,
                rgba(11, 7, 5, 0.60) 100%
            );
    }

    .hero-center {
        padding: 0 20px;
    }

    .hero-center .eyebrow {
        font-size: 0.64rem;
        letter-spacing: 0.28em;
        margin-bottom: 18px;
    }

    .hero-center .eyebrow::before,
    .hero-center .eyebrow::after {
        width: 20px;
    }

    .hero-title {
        font-size: clamp(2.8rem, 13vw, 4rem);
        margin-bottom: 14px;
    }

    .hero-subtitle {
        font-size: 0.8rem;
        letter-spacing: 0.12em;
        margin-bottom: 32px;
    }

    .hero-tagline {
        font-size: 0.82rem;
        margin-top: -20px;
        margin-bottom: 28px;
    }

    .hero-center .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .hero-center .hero-actions .btn {
        min-height: 50px;
        font-size: 0.78rem;
    }

    .hero-scroll {
        bottom: 20px;
        width: 24px;
        height: 44px;
    }

    .hero-scroll-line {
        height: 8px;
    }

    .section {
        padding: 56px 0;
    }

    .atmosphere-strip {
        padding: 56px 0 0;
    }

    .promo-banner {
        padding: 44px 0;
    }

    .promo-inner {
        gap: 22px;
    }

    .promo-icon {
        width: 80px;
        height: 80px;
    }

    .promo-icon svg {
        width: 42px;
        height: 42px;
    }

    .promo-title {
        font-size: clamp(1.4rem, 6vw, 1.9rem);
        margin-bottom: 10px;
    }

    .promo-text {
        font-size: 0.96rem;
        line-height: 1.65;
        margin-bottom: 8px;
    }

    .promo-note {
        font-size: 0.76rem;
    }

    .promo-cta {
        width: 100%;
        min-height: 54px;
        font-size: 0.86rem;
    }

    .eyebrow {
        font-size: 0.68rem;
        letter-spacing: 0.16em;
        margin-bottom: 14px;
    }

    .eyebrow::before {
        width: 20px;
    }

    .eyebrow::after {
        width: 12px;
    }

    .section-heading h2 {
        font-size: clamp(1.7rem, 7vw, 2.4rem);
        max-width: none;
    }

    .section-heading h2::after {
        margin-top: 10px;
        width: 36px;
    }

    .reservation-panel h2 {
        font-size: clamp(1.6rem, 6.5vw, 2.2rem);
        max-width: none;
    }

    .story-panel {
        padding: 20px;
    }

    .stats-inline strong {
        font-size: 1.2rem;
    }

    .atmosphere-grid {
        gap: 20px;
        padding: 24px 0;
    }

    .atmosphere-points {
        gap: 8px;
    }

    .atmosphere-points p {
        font-size: 0.95rem;
    }

    .photo-slider {
        height: clamp(300px, 58vh, 480px);
    }

    .photo-nav {
        width: 40px;
        height: 40px;
        border-width: 1px;
    }

    .photo-nav svg {
        width: 20px;
        height: 20px;
    }

    .photo-nav-prev { left: 10px; }
    .photo-nav-next { right: 10px; }

    .photo-counter {
        bottom: 16px;
        right: 16px;
    }

    .photo-counter-cur {
        font-size: 1.5rem;
    }

    .photo-counter-sep {
        width: 18px;
    }

    .photo-counter-total {
        font-size: 0.85rem;
    }

    .photo-slider-wrap::before,
    .photo-slider-wrap::after {
        width: 32px;
    }

    .photo-dots {
        bottom: 14px;
        gap: 7px;
    }

    .photo-dot {
        width: 7px;
        height: 7px;
    }

    .photo-dot.is-active {
        width: 20px;
    }

    .menu-gallery {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .menu-gallery-item {
        border-radius: var(--radius-sm);
    }

    .menu-gallery-label {
        font-size: 0.68rem;
        padding: 22px 14px 12px;
    }

    .menu-tabs {
        gap: 4px;
        margin-top: 24px;
        margin-bottom: 28px;
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
    }

    .menu-tabs::-webkit-scrollbar {
        display: none;
    }

    .menu-tab {
        flex-shrink: 0;
        padding: 8px 14px;
        font-size: 0.68rem;
    }

    .menu-heading {
        text-align: left;
    }

    .menu-heading h2::after {
        margin-left: 0;
    }

    .lightbox-stage {
        padding: 0 44px;
        max-width: 100vw;
    }

    .lightbox-prev { left: 6px; }
    .lightbox-next { right: 6px; }

    .lightbox-nav {
        width: 40px;
        height: 40px;
    }

    .lightbox-close {
        top: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
    }

    .lightbox-counter {
        bottom: 16px;
        font-size: 0.72rem;
        padding: 5px 14px;
    }

    .review-card {
        padding: 20px;
    }

    .review-card p::before {
        font-size: 2.6rem;
        vertical-align: -0.28em;
    }

    .reservation-panel {
        padding: 24px 20px;
    }

    .reservation-phones {
        flex-direction: column;
    }

    .reservation-phone {
        justify-content: center;
        width: 100%;
        padding: 14px 20px;
        font-size: 1rem;
    }

    .contact-card {
        padding: 16px 18px;
    }

    .hero-actions.reservation-actions {
        flex-direction: column;
    }

    .hero-actions.reservation-actions .btn {
        width: 100%;
        min-height: 50px;
    }

    .map-wrapper {
        margin-top: 24px;
        border-radius: var(--radius-md);
    }

    .map-wrapper iframe {
        height: 320px;
    }

    .map-hint {
        font-size: 0.82rem;
        margin-top: 12px;
    }

    .btn,
    .nav-cta {
        min-height: 50px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .site-footer {
        padding: 20px 0 28px;
    }

    .site-footer p {
        font-size: 0.82rem;
    }

    .marquee-strip {
        padding: 14px 0;
    }

    .marquee-item {
        font-size: 0.82rem;
        padding: 0 16px;
        letter-spacing: 0.1em;
    }

    .philosophy-section {
        padding: 56px 0 64px;
    }

    .philosophy-quote {
        margin-bottom: 44px;
    }

    .philosophy-blockquote {
        font-size: clamp(1.2rem, 5vw, 1.7rem);
    }

    .philosophy-pillars {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .philosophy-pillar {
        padding: 24px 16px;
    }

    .pillar-number {
        font-size: 1.8rem;
    }

    .philosophy-pillar h3 {
        font-size: 1.3rem;
    }

    .credo-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .credo-text {
        font-size: 0.95rem;
        margin-bottom: 36px;
    }

    .credo-value {
        padding: 18px 14px;
    }

    .credo-value strong {
        font-size: 1.3rem;
    }

    .credo-decoration svg {
        width: 44px;
        height: 44px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ── 540px ── */
@media (max-width: 540px) {
    .occasions-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ── 480px — мелкие смартфоны ── */
@media (max-width: 480px) {
    .container {
        width: min(calc(100% - 20px), var(--container));
    }

    .hero-title {
        font-size: clamp(2.2rem, 14vw, 3rem);
    }

    .hero-subtitle {
        font-size: 0.74rem;
        letter-spacing: 0.1em;
    }

    .section {
        padding: 44px 0;
    }

    .atmosphere-strip {
        padding: 44px 0 0;
    }

    .section-heading h2 {
        font-size: clamp(1.55rem, 8vw, 2rem);
    }

    .reservation-panel h2 {
        font-size: clamp(1.4rem, 7vw, 1.8rem);
    }

    .header-inner {
        min-height: 58px;
    }

    .hero {
        padding-top: 58px;
    }

    .hero::before {
        background-position: center 15%;
        filter: saturate(0.8) contrast(1.05) brightness(0.35) blur(2px);
    }

    .brand-badge {
        width: 42px;
        height: 42px;
    }

    .brand-text strong {
        font-size: 0.92rem;
    }

    .brand-text small {
        display: none;
    }

    .photo-slider {
        height: clamp(280px, 55vh, 420px);
    }

    .photo-nav {
        width: 36px;
        height: 36px;
    }

    .photo-nav svg {
        width: 18px;
        height: 18px;
    }

    .photo-nav-prev { left: 8px; }
    .photo-nav-next { right: 8px; }

    .photo-counter {
        bottom: 14px;
        right: 12px;
    }

    .photo-counter-cur {
        font-size: 1.3rem;
    }

    .photo-slider-wrap::before,
    .photo-slider-wrap::after {
        display: none;
    }

    .menu-gallery {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .menu-gallery-item {
        border-radius: var(--radius-sm);
    }

    .menu-tab {
        padding: 7px 12px;
        font-size: 0.64rem;
    }

    .lightbox-stage {
        padding: 0 36px;
    }

    .lightbox-nav {
        width: 36px;
        height: 36px;
    }

    .lightbox-prev { left: 4px; }
    .lightbox-next { right: 4px; }

    .review-card {
        padding: 16px;
    }

    .review-card p::before {
        font-size: 2.2rem;
    }

    .story-panel {
        padding: 16px;
    }

    .stats-inline strong {
        font-size: 1.1rem;
    }

    .map-wrapper iframe {
        height: 260px;
    }

    .reservation-phone {
        font-size: 0.92rem;
        padding: 12px 16px;
    }

    .contact-card {
        padding: 14px 16px;
    }

    .atmosphere-points p {
        font-size: 0.88rem;
    }

    .promo-banner {
        padding: 36px 0;
    }

    .promo-inner {
        gap: 18px;
    }

    .promo-icon {
        width: 72px;
        height: 72px;
    }

    .promo-icon svg {
        width: 38px;
        height: 38px;
    }

    .promo-title {
        font-size: clamp(1.25rem, 5.8vw, 1.7rem);
        margin-bottom: 8px;
    }

    .promo-text {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .promo-note {
        font-size: 0.72rem;
    }

    .promo-cta {
        min-height: 52px;
        font-size: 0.82rem;
    }

    .eyebrow {
        font-size: 0.62rem;
    }

    .final-section {
        padding-bottom: 56px;
    }

    .hero-tagline {
        font-size: 0.76rem;
        margin-top: -18px;
        margin-bottom: 24px;
    }

    .occasions-header {
        margin-bottom: 32px;
    }

    .credo-title {
        font-size: clamp(1.35rem, 6vw, 1.7rem);
    }

    .credo-text {
        font-size: 0.9rem;
        margin-bottom: 28px;
    }

    .credo-value {
        padding: 18px 14px;
    }

    .credo-value strong {
        font-size: 1.3rem;
    }

    .credo-decoration svg {
        width: 44px;
        height: 44px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ── prefers-reduced-motion ── */
@media (prefers-reduced-motion: reduce) {
    .hero-panel,
    .promo-icon {
        animation: none;
    }

    [data-reveal] {
        transition: opacity 0.3s ease;
        transform: none;
    }

    .btn,
    .nav-cta,
    .panel,
    .panel-dark,
    .story-panel,
    .review-card-dark,
    .contact-card,
    .site-nav,
    .site-nav a::after,
    .nav-toggle span {
        transition: none;
    }
}

