/* ================================================================
   Trattoria Aurelia — design system
   ================================================================ */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { line-height: 1.6; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; background: none; border: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

:root {
    /* warm earth palette */
    --bg:           #1a120d;
    --bg-alt:       #150e0a;
    --surface:      #221710;
    --surface-2:    #2c1f17;
    --surface-3:    #3a2a1f;
    --border:       #2e2118;
    --border-strong:#3f2e22;
    --border-hover: #5a4232;

    /* typography */
    --text:         #f7eddc;
    --text-2:       #c4a98c;
    --text-3:       #8a7560;
    --text-mute:    #5a4838;

    /* accents */
    --accent:       #d97757;   /* terracotta */
    --accent-deep:  #b85d3f;
    --accent-gold:  #c9a86b;
    --accent-glow:  rgba(217, 119, 87, 0.18);

    /* fonts */
    --font-display: 'Cormorant Garamond', 'Garamond', Georgia, serif;
    --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --max:    1200px;
    --pad-x:  clamp(20px, 4vw, 56px);
    --r:      12px;
    --r-sm:   6px;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    min-height: 100vh;
    font-weight: 400;
    font-size: 16px;
}
::selection { background: var(--accent-glow); color: var(--text); }

.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--pad-x);
}

/* --- decorative background --- */
.bg-grain {
    position: fixed; inset: 0; pointer-events: none; z-index: 1;
    opacity: 0.04;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
    mix-blend-mode: overlay;
}
.bg-glow {
    position: fixed; inset: 0; pointer-events: none; z-index: 0;
    background:
        radial-gradient(ellipse 50% 40% at 50% 0%, var(--accent-glow), transparent 70%),
        radial-gradient(ellipse 60% 50% at 100% 100%, rgba(201,168,107,0.06), transparent 70%);
}

/* --- nav --- */
.nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(26, 18, 13, 0.72);
    backdrop-filter: blur(14px) saturate(150%);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease, padding 0.3s ease;
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav-row {
    display: flex; align-items: center; justify-content: space-between;
    height: 84px; gap: 24px;
}
.brand {
    display: flex; align-items: center; gap: 12px;
    color: var(--text);
}
.brand-mark { color: var(--accent-gold); flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.005em;
}
.brand-est {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 11.5px;
    color: var(--text-3);
    letter-spacing: 0.04em;
}

.menu {
    display: flex; gap: 32px;
    font-size: 14px;
}
.menu a {
    color: var(--text-2);
    transition: color 0.18s ease;
    position: relative;
    padding: 4px 0;
}
.menu a::after {
    content: "";
    position: absolute;
    left: 50%; bottom: -2px;
    width: 0; height: 1px;
    background: var(--accent-gold);
    transition: width 0.25s ease, left 0.25s ease;
}
.menu a:hover { color: var(--text); }
.menu a:hover::after { left: 0; width: 100%; }

@media (max-width: 920px) { .menu { display: none; } }
@media (max-width: 920px) { .nav-row .btn-primary { display: none; } }

.hamburger {
    display: none;
    width: 40px; height: 40px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    border-radius: 8px;
    transition: background 0.2s ease;
    color: var(--text);
}
.hamburger span {
    width: 20px; height: 1.5px;
    background: currentColor; border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (max-width: 920px) {
    .hamburger { display: flex; }
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(26, 18, 13, 0.96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    padding: 16px var(--pad-x) 24px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.mobile-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}
.mobile-nav a {
    display: block;
    padding: 14px 0;
    font-size: 15px;
    color: var(--text-2);
    border-bottom: 1px solid var(--border);
    transition: color 0.18s ease;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--text); }
.mobile-nav .mobile-cta {
    margin-top: 8px;
    color: var(--accent-gold);
    font-weight: 500;
}
@media (max-width: 920px) {
    .mobile-nav { display: block; }
}

/* --- buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 0.18s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    border: 1px solid transparent;
    white-space: nowrap;
    text-transform: uppercase;
    font-size: 12px;
}
.btn-lg { padding: 16px 32px; font-size: 13px; letter-spacing: 0.06em; }
.btn-block { width: 100%; padding: 16px; }

.btn-primary {
    background: var(--accent);
    color: #2a1408;
    border-color: var(--accent);
    box-shadow: 0 12px 32px -8px var(--accent-glow);
}
.btn-primary:hover {
    background: var(--accent-deep);
    border-color: var(--accent-deep);
    transform: translateY(-1px);
    box-shadow: 0 18px 40px -8px var(--accent-glow);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--border-strong);
}
.btn-ghost:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

/* ================================================================
   HERO
   ================================================================ */
.hero {
    position: relative;
    padding: clamp(80px, 14vh, 140px) 0 clamp(80px, 12vh, 140px);
    overflow: hidden;
    text-align: center;
}
.hero-bg {
    position: absolute; inset: 0; pointer-events: none;
    overflow: hidden;
}
.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
}
.hero-shape-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, var(--accent-glow), transparent 60%);
    top: -150px; left: 10%;
}
.hero-shape-2 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(201,168,107,0.10), transparent 60%);
    bottom: -200px; right: 5%;
}

.hero-inner { position: relative; z-index: 1; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px 8px 14px;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    font-size: 12px;
    color: var(--text-2);
    margin-bottom: 40px;
    background: rgba(255,255,255,0.02);
    letter-spacing: 0.04em;
}
.hero-badge-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.18);
    animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.18); }
    50%      { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0.06); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 9vw, 120px);
    line-height: 0.95;
    letter-spacing: -0.025em;
    font-weight: 500;
    margin-bottom: 32px;
}
.hero-title-pre {
    display: block;
    font-style: italic;
    color: var(--accent-gold);
    font-weight: 400;
    font-size: 0.78em;
}
.hero-title-main {
    display: block;
    margin-top: 4px;
}

.hero-sub {
    max-width: 620px;
    margin: 0 auto 44px;
    font-size: clamp(15px, 1.5vw, 18px);
    color: var(--text-2);
    line-height: 1.65;
}

.hero-cta {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 80px;
}

.hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 0 auto 56px;
    max-width: 480px;
}
.hero-divider span:not(.hero-divider-mark) {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}
.hero-divider-mark {
    color: var(--accent-gold);
    font-size: 14px;
    flex: 0;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    max-width: 720px;
    margin: 0 auto;
}
@media (max-width: 720px) {
    .hero-stats { grid-template-columns: 1fr 1fr; gap: 4px; }
}
.hero-stat {
    padding: 16px 8px;
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    background: rgba(255,255,255,0.015);
}
.hero-stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 600;
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: 4px;
}
.hero-stat-label {
    font-size: 11px;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ================================================================
   SECTIONS
   ================================================================ */
.section {
    position: relative;
    padding: clamp(80px, 12vh, 140px) 0;
    border-top: 1px solid var(--border);
}

.section-eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 16px;
    color: var(--accent-gold);
    margin-bottom: 18px;
    letter-spacing: 0.01em;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(34px, 5.2vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    font-weight: 500;
}
.section-title-center { text-align: center; }
.section-lead {
    max-width: 560px;
    margin: 18px auto 0;
    text-align: center;
    color: var(--text-2);
    font-size: 16px;
    line-height: 1.65;
}

.section-head {
    margin-bottom: clamp(56px, 8vh, 80px);
    text-align: center;
}
.section-head .section-eyebrow { display: block; }

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: clamp(40px, 6vw, 100px);
    align-items: start;
}
@media (max-width: 820px) {
    .section-grid { grid-template-columns: 1fr; gap: 32px; }
}
.section-aside .section-eyebrow { display: block; }

/* prose */
.prose {
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-2);
    max-width: 640px;
}
.prose p { margin-bottom: 18px; }
.prose .lead {
    font-family: var(--font-display);
    font-size: 22px;
    font-style: italic;
    color: var(--text);
    line-height: 1.45;
    margin-bottom: 26px;
}

.signature {
    display: flex;
    flex-direction: column;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.signature-name {
    font-family: var(--font-display);
    font-size: 22px;
    font-style: italic;
    color: var(--accent-gold);
}
.signature-role {
    font-size: 12px;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 4px;
}

/* ================================================================
   MENU SECTION
   ================================================================ */
.section-menu { background: var(--bg-alt); }

.menu-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    margin-bottom: 56px;
    padding: 6px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    width: fit-content;
    margin-left: auto; margin-right: auto;
}
.menu-tab {
    padding: 10px 22px;
    font-family: var(--font-display);
    font-size: 16px;
    font-style: italic;
    color: var(--text-3);
    cursor: pointer;
    border-radius: 999px;
    transition: color 0.2s ease, background 0.2s ease;
    letter-spacing: 0.01em;
}
.menu-tab:hover { color: var(--text-2); }
.menu-tab.active {
    background: var(--accent);
    color: #2a1408;
    font-style: normal;
    font-weight: 600;
    font-family: var(--font-body);
    font-size: 14px;
}

.menu-panels {
    max-width: 820px;
    margin: 0 auto;
}
.menu-panel {
    display: none;
    animation: fadeIn 0.5s ease;
}
.menu-panel.active { display: block; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

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

.dish {
    position: relative;
    transition: transform 0.2s ease;
}
.dish-head {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 6px;
}
.dish-name {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    color: var(--text);
    letter-spacing: -0.005em;
    flex-shrink: 0;
}
.dish-dots {
    flex: 1;
    border-bottom: 1.5px dotted var(--border-strong);
    transform: translateY(-6px);
    min-width: 20px;
}
.dish-price {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--accent-gold);
    flex-shrink: 0;
    letter-spacing: -0.005em;
}
.dish-desc {
    font-size: 14px;
    color: var(--text-3);
    line-height: 1.55;
    max-width: 90%;
}
.dish-featured .dish-name { color: var(--accent-gold); }

.dish-badge {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 9.5px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 3px 8px;
    border-radius: 4px;
    background: var(--surface-2);
    color: var(--text-2);
    margin-left: 8px;
    vertical-align: 3px;
}
.dish-badge-star { background: var(--accent); color: #2a1408; }
.dish-badge-premium { background: var(--accent-gold); color: #2a1408; }

.dish-section {
    padding-top: 16px;
    border-top: 1px solid var(--border);
}
.dish-section:first-child { border-top: none; padding-top: 0; }
.dish-section-title {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 18px;
    color: var(--accent-gold);
    letter-spacing: 0.04em;
}

.menu-note {
    margin-top: 56px;
    text-align: center;
    font-size: 13px;
    color: var(--text-3);
    font-style: italic;
    font-family: var(--font-display);
    max-width: 560px;
    margin-left: auto; margin-right: auto;
    line-height: 1.6;
}

/* ================================================================
   GALLERY
   ================================================================ */
.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 12px;
}
.gallery-tall { grid-row: span 2; }
.gallery-wide { grid-column: span 2; }
@media (max-width: 820px) {
    .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
    .gallery-wide { grid-column: span 2; }
}
@media (max-width: 480px) {
    .gallery-wide, .gallery-tall { grid-column: span 1; grid-row: span 1; }
}

.gallery-item {
    position: relative;
    background: var(--bg);
    background-image: var(--bg);
    border-radius: var(--r);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform 0.4s cubic-bezier(0.2, 0.65, 0.3, 1), border-color 0.3s ease;
    cursor: pointer;
}
.gallery-item::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(0deg, rgba(26,18,13,0.6) 0%, transparent 50%);
    transition: opacity 0.3s ease;
    opacity: 0.7;
}
.gallery-item:hover {
    transform: translateY(-4px) scale(1.01);
    border-color: var(--accent-gold);
}
.gallery-item:hover::after { opacity: 1; }
.gallery-label {
    position: absolute;
    left: 18px; bottom: 16px;
    z-index: 1;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 18px;
    color: var(--text);
    letter-spacing: 0.01em;
    transform: translateY(8px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.gallery-item:hover .gallery-label {
    transform: translateY(0);
    opacity: 1;
}

/* ================================================================
   EVENTS
   ================================================================ */
.section-events { background: var(--bg-alt); }

.events {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--r);
    overflow: hidden;
    max-width: 920px;
    margin: 0 auto;
}
.event {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 28px;
    padding: 28px 32px;
    background: var(--surface);
    align-items: center;
    transition: background 0.2s ease;
}
.event:hover { background: var(--surface-2); }
@media (max-width: 720px) {
    .event { grid-template-columns: 80px 1fr; gap: 20px; padding: 20px; }
    .event-link { grid-column: 1 / -1; justify-self: start; }
}

.event-date {
    text-align: center;
    padding: 10px 0;
    border-right: 1px solid var(--border);
    padding-right: 28px;
}
@media (max-width: 720px) {
    .event-date { padding-right: 20px; }
}
.event-day {
    display: block;
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 600;
    color: var(--accent-gold);
    line-height: 1;
}
.event-month {
    display: block;
    font-size: 11px;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 4px;
}

.event-title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--text);
    letter-spacing: -0.01em;
}
.event-desc {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.6;
    margin-bottom: 10px;
    max-width: 520px;
}
.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: var(--text-3);
    font-family: var(--font-display);
    font-style: italic;
}

.event-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border: 1px solid var(--accent-gold);
    border-radius: 999px;
    font-size: 12px;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: background 0.2s ease, color 0.2s ease;
}
.event-link:hover {
    background: var(--accent-gold);
    color: #2a1408;
}

/* ================================================================
   RESERVATION (v2 — z planem sali)
   ================================================================ */
.section-reserve { padding: clamp(100px, 14vh, 160px) 0; }

.reserve-shell {
    max-width: 920px;
    margin: 0 auto;
}
.reserve-form-v2 {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* steps */
.rstep {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 32px;
    border: none;
    border: 1px solid var(--border);
}
.rstep-head {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 24px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--border);
}
.rstep-num {
    flex-shrink: 0;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--surface-2);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    display: grid; place-items: center;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.rstep-title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 500;
    color: var(--text);
    line-height: 1.1;
}
.rstep-sub {
    display: block;
    margin-top: 4px;
    font-size: 13.5px;
    color: var(--text-3);
    font-style: italic;
    font-family: var(--font-display);
}
.rstep-body {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.reserve-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.reserve-row-3 {
    grid-template-columns: 1fr 1fr 1fr;
}
@media (max-width: 720px) {
    .reserve-row,
    .reserve-row-3 { grid-template-columns: 1fr; }
}

/* ================================================================
   FLOOR MAP — interactive restaurant plan
   ================================================================ */
.rstep-floor { padding-bottom: 36px; }

.floor-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 18px;
    padding: 14px 18px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 999px;
    margin-bottom: 20px;
    font-size: 12.5px;
    color: var(--text-2);
}
.floor-leg { display: inline-flex; align-items: center; gap: 8px; }
.floor-leg-mark {
    width: 12px; height: 12px;
    border-radius: 50%;
    border: 1.5px solid;
    display: inline-block;
}
.floor-leg-free { border-color: #4ade80; background: rgba(74,222,128,0.12); }
.floor-leg-busy { border-color: #ef4444; background: rgba(239,68,68,0.18); }
.floor-leg-small{ border-color: var(--text-mute); background: rgba(255,255,255,0.04); opacity: 0.6; }
.floor-leg-sel  { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }

.floor-stage {
    position: relative;
    width: 100%;
    background:
        linear-gradient(var(--bg-alt), var(--bg-alt)),
        radial-gradient(circle at 50% 30%, rgba(217,119,87,0.04), transparent 60%);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 24px;
    overflow: hidden;
}
.floor-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
    background-size: 22px 22px;
    pointer-events: none;
}
.floor-svg {
    position: relative;
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    display: block;
    height: auto;
}

/* walls + zones */
.floor-wall {
    fill: var(--surface);
    stroke: var(--border-strong);
    stroke-width: 1.5;
}
.floor-wall-terrace {
    fill: var(--surface);
    stroke: var(--accent-gold);
    stroke-width: 1;
    stroke-dasharray: 4 4;
    opacity: 0.55;
}
.floor-zone-label {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 13px;
    fill: var(--text-3);
    letter-spacing: 0.05em;
}
.floor-feature {
    fill: var(--surface-3);
    stroke: var(--border-strong);
    stroke-width: 1;
    rx: 4;
}
.floor-feature-label {
    font-family: var(--font-body);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    fill: var(--text-3);
}
.floor-window {
    stroke: var(--accent-gold);
    stroke-width: 2.5;
    stroke-linecap: round;
    opacity: 0.45;
}

/* tables */
.table-group { cursor: pointer; transition: transform 0.2s ease; }
.table-group .table-shape {
    fill: rgba(74, 222, 128, 0.12);
    stroke: #4ade80;
    stroke-width: 1.5;
    transition: all 0.25s ease;
}
.table-group .table-chair {
    fill: var(--text-3);
    opacity: 0.5;
    transition: all 0.2s ease;
}
.table-group .table-label {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    fill: var(--text);
    text-anchor: middle;
    dominant-baseline: central;
    pointer-events: none;
    transition: fill 0.2s ease;
}
.table-group .table-cap {
    font-family: var(--font-body);
    font-size: 9px;
    fill: var(--text-3);
    text-anchor: middle;
    dominant-baseline: central;
    pointer-events: none;
}

/* hover (only on free) */
.table-group[data-status="free"]:hover .table-shape {
    fill: rgba(74, 222, 128, 0.25);
    stroke-width: 2.5;
    filter: drop-shadow(0 0 12px rgba(74, 222, 128, 0.4));
}
.table-group[data-status="free"]:hover { transform: translateY(-2px); transform-origin: center; }
.table-group[data-status="free"]:hover .table-chair { opacity: 0.85; }

/* busy */
.table-group[data-status="busy"] { cursor: not-allowed; }
.table-group[data-status="busy"] .table-shape {
    fill: rgba(239, 68, 68, 0.18);
    stroke: #ef4444;
    stroke-dasharray: 3 3;
    opacity: 0.7;
}
.table-group[data-status="busy"] .table-label {
    fill: var(--text-mute);
    text-decoration: line-through;
}

/* too small */
.table-group[data-status="small"] { cursor: not-allowed; }
.table-group[data-status="small"] .table-shape {
    fill: rgba(255, 255, 255, 0.025);
    stroke: var(--text-mute);
    stroke-width: 1;
    opacity: 0.4;
}
.table-group[data-status="small"] .table-label,
.table-group[data-status="small"] .table-cap { opacity: 0.4; }
.table-group[data-status="small"] .table-chair { opacity: 0.2; }

/* selected */
.table-group[data-status="selected"] .table-shape {
    fill: var(--accent);
    stroke: var(--accent-gold);
    stroke-width: 2.5;
    filter: drop-shadow(0 0 18px var(--accent-glow));
    animation: tablePulse 2s ease-in-out infinite;
}
.table-group[data-status="selected"] .table-label { fill: #2a1408; }
.table-group[data-status="selected"] .table-chair { fill: var(--accent-gold); opacity: 1; }
@keyframes tablePulse {
    0%, 100% { filter: drop-shadow(0 0 18px var(--accent-glow)); }
    50%      { filter: drop-shadow(0 0 28px rgba(217,119,87,0.4)); }
}

/* tooltip */
.floor-tip {
    position: absolute;
    background: var(--bg);
    color: var(--text);
    padding: 10px 14px;
    border: 1px solid var(--border-strong);
    border-radius: var(--r-sm);
    font-size: 12.5px;
    pointer-events: none;
    z-index: 5;
    box-shadow: 0 12px 24px -8px rgba(0,0,0,0.5);
    transform: translate(-50%, calc(-100% - 12px));
    white-space: nowrap;
    line-height: 1.4;
}
.floor-tip strong {
    color: var(--accent-gold);
    font-family: var(--font-display);
    font-size: 14px;
    display: block;
    margin-bottom: 2px;
}
.floor-tip-meta {
    color: var(--text-3);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.floor-tip::after {
    content: "";
    position: absolute;
    bottom: -5px; left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 8px; height: 8px;
    background: var(--bg);
    border-right: 1px solid var(--border-strong);
    border-bottom: 1px solid var(--border-strong);
}

/* summary box */
.floor-summary {
    margin-top: 20px;
    padding: 18px 22px;
    background: var(--bg);
    border: 1px dashed var(--border-strong);
    border-radius: var(--r-sm);
    transition: all 0.3s ease;
}
.floor-summary-empty {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-3);
    font-size: 14px;
    font-style: italic;
    font-family: var(--font-display);
}
.floor-summary.has-pick {
    border-style: solid;
    border-color: var(--accent-gold);
    background: linear-gradient(135deg, rgba(217,119,87,0.08), transparent);
}
.floor-summary.has-pick .floor-summary-empty { display: none; }
.floor-summary-picked {
    display: flex !important;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.floor-summary-picked[hidden] { display: none !important; }
.floor-pick-label {
    font-size: 11px;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.floor-pick-name {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--accent-gold);
}
.floor-pick-meta {
    font-size: 13px;
    color: var(--text-2);
    font-style: italic;
    font-family: var(--font-display);
}
.floor-pick-clear {
    margin-left: auto;
    font-size: 12px;
    color: var(--text-3);
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.18s ease;
}
.floor-pick-clear:hover { color: var(--accent-gold); }

/* fineprint */
.reserve-fineprint {
    text-align: center;
    font-size: 12.5px;
    color: var(--text-3);
    margin-top: 12px;
    line-height: 1.7;
    font-family: var(--font-display);
    font-style: italic;
}
.reserve-fineprint strong {
    color: var(--text-2);
    font-weight: 500;
    font-style: normal;
    font-family: var(--font-body);
}
.reserve-fineprint a {
    color: var(--accent-gold);
    transition: color 0.18s ease;
}
.reserve-fineprint a:hover { color: var(--text); }

/* ================================================================
   VERIFY MODAL — weryfikacja kodem mailowym
   ================================================================ */
.verify-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.verify-modal.open {
    opacity: 1;
    pointer-events: auto;
}
.verify-modal[hidden] { display: none !important; }

.verify-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 6, 4, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
}

.verify-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--r);
    padding: 44px 40px 32px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    box-shadow: 0 50px 100px -20px rgba(0,0,0,0.7);
    transform: scale(0.94) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.2, 0.65, 0.3, 1);
}
.verify-modal.open .verify-card { transform: scale(1) translateY(0); }

.verify-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(217,119,87,0.10), transparent 70%);
    pointer-events: none;
}

.verify-close {
    position: absolute;
    top: 14px; right: 14px;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--surface-2);
    color: var(--text-2);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.18s ease, color 0.18s ease;
}
.verify-close:hover { background: var(--surface-3); color: var(--text); }

.verify-icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: var(--surface-2);
    border: 1px solid var(--border-strong);
    color: var(--accent-gold);
    margin: 0 auto 22px;
    display: grid; place-items: center;
    position: relative;
}
.verify-icon::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid var(--accent-gold);
    opacity: 0.25;
    animation: verifyRing 2.4s ease-in-out infinite;
}
@keyframes verifyRing {
    0%, 100% { opacity: 0.25; transform: scale(1); }
    50%      { opacity: 0;     transform: scale(1.15); }
}

.verify-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
    letter-spacing: -0.015em;
}
.verify-text {
    font-size: 14.5px;
    color: var(--text-2);
    line-height: 1.6;
    margin-bottom: 28px;
}
.verify-text strong {
    color: var(--accent-gold);
    font-weight: 600;
    font-family: var(--font-display);
}

.verify-code {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 18px;
}
.verify-code input {
    width: 48px; height: 56px;
    text-align: center;
    background: var(--bg);
    border: 1.5px solid var(--border-strong);
    border-radius: 8px;
    color: var(--text);
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 600;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
    caret-color: var(--accent-gold);
}
.verify-code input:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: var(--surface-2);
    transform: translateY(-1px);
}
.verify-code input.filled {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}
.verify-dash {
    color: var(--text-mute);
    font-family: var(--font-display);
    font-size: 26px;
    margin: 0 4px;
}

.verify-code.error input {
    border-color: #ef4444;
    animation: shake 0.4s ease;
}
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25%      { transform: translateX(-6px); }
    75%      { transform: translateX(6px); }
}

.verify-error {
    color: #f87171;
    font-size: 13px;
    margin-bottom: 16px;
    font-family: var(--font-display);
    font-style: italic;
}

.verify-confirm {
    margin-bottom: 18px;
}
.verify-confirm:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none;
}

.verify-foot {
    font-size: 13px;
    color: var(--text-3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 24px;
}
.verify-resend {
    color: var(--accent-gold);
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.18s ease;
    font-family: inherit;
    font-size: inherit;
}
.verify-resend:hover { color: var(--text); }
.verify-resend:disabled { opacity: 0.4; cursor: not-allowed; text-decoration: none; }
.verify-cooldown {
    color: var(--text-mute);
    font-style: italic;
    font-family: var(--font-display);
}

.verify-demo {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(217,119,87,0.06);
    border: 1px dashed var(--accent-gold);
    border-radius: var(--r-sm);
    font-size: 12px;
    color: var(--text-2);
    text-align: left;
    line-height: 1.5;
}
.verify-demo svg { flex-shrink: 0; color: var(--accent-gold); }
.verify-demo strong { color: var(--accent-gold); font-weight: 600; }
.verify-demo code {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--accent-gold);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 0.1em;
    border: 1px solid var(--border-strong);
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.field label {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 14px;
    color: var(--accent-gold);
    letter-spacing: 0.01em;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.field-opt {
    font-size: 11px;
    color: var(--text-mute);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-style: normal;
    font-family: var(--font-body);
}
.field input,
.field select,
.field textarea {
    padding: 13px 14px;
    background: var(--bg);
    border: 1px solid var(--border-strong);
    border-radius: var(--r-sm);
    color: var(--text);
    font-size: 14.5px;
    transition: border-color 0.2s ease;
}
.field textarea { resize: vertical; min-height: 80px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--text-mute); }
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
}

.people-picker {
    display: grid;
    grid-template-columns: 48px 1fr 48px;
    border: 1px solid var(--border-strong);
    border-radius: var(--r-sm);
    background: var(--bg);
    overflow: hidden;
}
.people-picker button {
    background: var(--surface);
    color: var(--accent-gold);
    font-size: 22px;
    cursor: pointer;
    transition: background 0.2s ease;
    height: 48px;
}
.people-picker button:hover { background: var(--surface-2); }
.people-picker input {
    border: none !important;
    text-align: center;
    background: var(--bg) !important;
    font-size: 16px;
    font-weight: 500;
    border-radius: 0 !important;
    padding: 0 !important;
}

.reserve-status {
    font-size: 13px;
    color: var(--text-3);
    font-family: var(--font-display);
    font-style: italic;
    text-align: center;
    min-height: 20px;
    margin-top: -4px;
}
.reserve-status.success { color: #4ade80; }
.reserve-status.error { color: #f87171; }

/* ================================================================
   CONTACT
   ================================================================ */
.section-contact { background: var(--bg-alt); }

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 60px;
}
@media (max-width: 820px) {
    .contact-grid { grid-template-columns: 1fr; }
}

.contact-card {
    padding: 32px 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r);
    transition: border-color 0.25s ease;
}
.contact-card:hover { border-color: var(--border-hover); }

.contact-icon {
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--surface-2);
    color: var(--accent-gold);
    margin-bottom: 18px;
    border: 1px solid var(--border-strong);
}
.contact-card h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--text);
}
.contact-card p {
    color: var(--text-2);
    font-size: 14.5px;
    line-height: 1.7;
    margin-bottom: 14px;
}
.contact-card a {
    color: var(--text);
    transition: color 0.18s ease;
}
.contact-card a:hover { color: var(--accent-gold); }

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-display);
    font-style: italic;
    color: var(--accent-gold) !important;
    font-size: 14px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    border-bottom: 1px dashed var(--border);
    font-size: 14px;
}
.hours-row:last-child { border-bottom: none; }
.hours-row-closed { color: var(--text-mute); font-style: italic; }

.social {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}
.social a {
    width: 36px; height: 36px;
    display: inline-flex;
    align-items: center; justify-content: center;
    border: 1px solid var(--border-strong);
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 13px;
    color: var(--text-2);
    transition: all 0.2s ease;
}
.social a:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    transform: translateY(-2px);
}

/* mini map */
.map-block {
    position: relative;
    height: 360px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r);
    overflow: hidden;
}
.map-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(var(--border-strong) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-strong) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.4;
    background-position: -2px -2px;
}
.map-grid::after {
    content: "";
    position: absolute; inset: 0;
    background: radial-gradient(circle at 50% 50%, transparent, var(--bg) 80%);
}
.map-pin {
    position: absolute;
    top: 45%; left: 50%;
    transform: translate(-50%, -50%);
    color: var(--accent);
    z-index: 2;
}
.map-pin-pulse {
    position: absolute;
    top: 50%; left: 50%;
    width: 22px; height: 22px;
    background: var(--accent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.4;
    animation: mapPulse 2.5s ease-in-out infinite;
}
@keyframes mapPulse {
    0% { transform: translate(-50%,-50%) scale(0.5); opacity: 0.6; }
    100% { transform: translate(-50%,-50%) scale(3); opacity: 0; }
}
.map-label {
    position: absolute;
    top: 56%; left: 50%;
    transform: translateX(-50%);
    text-align: center;
    font-family: var(--font-display);
    color: var(--text);
    font-size: 18px;
    z-index: 2;
    background: rgba(34,23,16,0.85);
    padding: 10px 18px;
    border-radius: var(--r-sm);
    border: 1px solid var(--border-strong);
    backdrop-filter: blur(4px);
    margin-top: 16px;
}
.map-label span {
    display: block;
    font-size: 12px;
    color: var(--text-3);
    font-family: var(--font-body);
    font-style: normal;
    margin-top: 2px;
    letter-spacing: 0.02em;
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
    border-top: 1px solid var(--border);
    padding: 40px 0;
    background: var(--bg-alt);
    color: var(--text-3);
    font-size: 13px;
}
.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--accent-gold);
}
.footer-brand strong {
    font-family: var(--font-display);
    font-size: 16px;
    color: var(--text);
    font-weight: 500;
}
.footer-brand span:not(.brand-mark) {
    color: var(--text-3);
    font-size: 12px;
}
.footer-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    text-align: right;
    font-size: 12px;
}
.footer-by {
    color: var(--text-mute);
    font-style: italic;
    font-family: var(--font-display);
    font-size: 13px;
}
.footer-by a {
    color: var(--accent-gold);
    transition: color 0.18s ease;
}
.footer-by a:hover { color: var(--text); }

@media (max-width: 640px) {
    .footer-row { flex-direction: column; align-items: flex-start; }
    .footer-meta { align-items: flex-start; text-align: left; }
}

/* ================================================================
   ANIMATIONS
   ================================================================ */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.9s cubic-bezier(0.2, 0.65, 0.3, 1), transform 0.9s cubic-bezier(0.2, 0.65, 0.3, 1);
}
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal { opacity: 1; transform: none; }
}

:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 3px;
    border-radius: 4px;
}
