/* Perfect Zone — Design System */
:root {
    --primary: #1E2A3E;
    --secondary: #C8A951;
    --dark: #0B1120;
    --surface: #F8FAFC;
    --border: #E5E7EB;
    --text: #111827;
    --muted: #6B7280;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: #fff; color: var(--text); -webkit-font-smoothing: antialiased; }

/* ── NAV ───────────────────────────────────────── */
.pz-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(255,255,255,.97); backdrop-filter: blur(12px);
    border-bottom: 1px solid #f0f0f0;
    transition: box-shadow .25s;
}
.pz-nav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.07); }
.pz-nav-inner { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; justify-content: space-between; height: 72px; }
.pz-logo { display: flex; align-items: center; gap: .625rem; text-decoration: none; }
.pz-logo-icon { width: 38px; height: 38px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pz-logo-text { font-size: 1.2rem; font-weight: 900; color: var(--primary); letter-spacing: -.02em; line-height: 1; }
.pz-logo-text span { color: var(--secondary); }
.pz-nav-links { display: flex; align-items: center; gap: 1.75rem; }
.pz-nav-link { font-size: .875rem; font-weight: 600; color: #4B5563; text-decoration: none; transition: color .2s; position: relative; }
.pz-nav-link::after { content: ''; position: absolute; bottom: -3px; left: 0; right: 0; height: 2px; background: var(--secondary); border-radius: 2px; transform: scaleX(0); transition: transform .2s; }
.pz-nav-link:hover { color: var(--primary); }
.pz-nav-link:hover::after { transform: scaleX(1); }
.pz-nav-link.active { color: var(--secondary); }
.pz-nav-link.active::after { transform: scaleX(1); }
.pz-nav-cta { background: var(--secondary); color: #fff; padding: .6rem 1.25rem; border-radius: 9999px; font-size: .875rem; font-weight: 700; text-decoration: none; transition: all .2s; white-space: nowrap; }
.pz-nav-cta:hover { background: #b09240; box-shadow: 0 4px 14px rgba(200,169,81,.35); }
.pz-menu-btn { display: none; background: none; border: none; cursor: pointer; padding: .5rem; color: var(--primary); }
.pz-mobile-nav { display: none; }
@media (max-width: 768px) {
    .pz-nav-links { display: none; }
    .pz-menu-btn { display: flex; align-items: center; justify-content: center; }
    .pz-mobile-nav { display: block; border-top: 1px solid #f0f0f0; padding: 1rem 0; }
    .pz-mobile-nav a { display: block; padding: .75rem 1.5rem; font-size: .9rem; font-weight: 600; color: #374151; text-decoration: none; border-radius: .5rem; }
    .pz-mobile-nav a:hover { background: #f9fafb; color: var(--primary); }
    .pz-mobile-nav .pz-nav-cta { margin: .5rem 1.5rem; text-align: center; display: block; border-radius: .875rem; padding: .875rem; }
}

/* ── PAGE HERO ─────────────────────────────────── */
.page-hero { position: relative; overflow: hidden; }
.page-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero-overlay { position: absolute; inset: 0; }
.page-hero-content { position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; padding: 6rem 1.5rem 4rem; }

/* ── SECTION WRAPPER ───────────────────────────── */
.pz-section { padding: 5rem 0; }
.pz-section-sm { padding: 3rem 0; }
.pz-container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }

/* ── SECTION LABEL ─────────────────────────────── */
.pz-label { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--secondary); background: rgba(200,169,81,.1); padding: .3rem .85rem; border-radius: 9999px; margin-bottom: 1rem; }

/* ── BUTTONS ───────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .75rem 1.5rem; border-radius: 9999px; font-weight: 700; font-size: .9rem; cursor: pointer; border: none; text-decoration: none; transition: all .2s; line-height: 1.2; }
.btn-lg { padding: 1rem 1.75rem; font-size: 1rem; }
.btn-sm { padding: .5rem 1rem; font-size: .8rem; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: #2d3f5e; box-shadow: 0 6px 18px rgba(30,42,62,.25); }
.btn-gold { background: var(--secondary); color: #fff; }
.btn-gold:hover { background: #b09240; box-shadow: 0 6px 18px rgba(200,169,81,.3); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); border-radius: 9999px; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-ghost { background: rgba(255,255,255,.15); color: #fff; border: 2px solid rgba(255,255,255,.3); border-radius: 9999px; }
.btn-ghost:hover { background: rgba(255,255,255,.25); }
.btn-block { width: 100%; justify-content: center; }

/* ── CARDS ─────────────────────────────────────── */
.pz-card { background: #fff; border-radius: 1.25rem; border: 1.5px solid var(--border); transition: all .3s; }
.pz-card:hover { border-color: #d0d7e0; box-shadow: 0 12px 32px rgba(0,0,0,.07); }
.pz-card-padded { padding: 1.75rem; }

/* ── FORMS ─────────────────────────────────────── */
.pz-form-group { margin-bottom: 1.125rem; }
.pz-label-text { display: block; font-size: .8rem; font-weight: 700; color: #374151; margin-bottom: .4rem; letter-spacing: .01em; }
.pz-input, .pz-select, .pz-textarea { width: 100%; padding: .8rem 1rem; border: 2px solid var(--border); border-radius: .875rem; font-size: .9rem; font-family: 'Inter', sans-serif; color: var(--text); background: #fff; transition: border-color .2s, box-shadow .2s; outline: none; }
.pz-input:focus, .pz-select:focus, .pz-textarea:focus { border-color: var(--secondary); box-shadow: 0 0 0 3px rgba(200,169,81,.12); }
.pz-input::placeholder, .pz-textarea::placeholder { color: #9CA3AF; }
.pz-textarea { resize: none; }
.pz-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .875rem center; background-size: 16px; padding-right: 2.5rem; }

/* ── STATUS SLOTS ──────────────────────────────── */
.slot { border-radius: .875rem; padding: .875rem .75rem; text-align: center; border: 2px solid; cursor: pointer; transition: all .2s; user-select: none; }
.slot-libre { background: #f0fdf4; border-color: #86efac; color: #166534; }
.slot-libre:hover { background: #dcfce7; border-color: #4ade80; transform: translateY(-2px); }
.slot-libre.selected { background: #16a34a; color: #fff; border-color: #15803d; }
.slot-reserved { background: #fefce8; border-color: #fde047; color: #854d0e; cursor: default; opacity: .85; }
.slot-past { background: #f9fafb; border-color: #e5e7eb; color: #9ca3af; cursor: default; }

/* ── STATUS BADGES ─────────────────────────────── */
.badge { display: inline-block; padding: .2rem .65rem; border-radius: 9999px; font-size: .7rem; font-weight: 800; letter-spacing: .03em; }
.badge-confirmed { background: #dcfce7; color: #166534; }
.badge-pending { background: #fef3c7; color: #92400e; }
.badge-cancelled { background: #fee2e2; color: #991b1b; }

/* ── MODALS ────────────────────────────────────── */
.modal-bg { position: fixed; inset: 0; background: rgba(0,0,0,.55); backdrop-filter: blur(6px); z-index: 500; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.modal-box { background: #fff; border-radius: 1.5rem; padding: 2.5rem; width: 100%; max-width: 460px; animation: popIn .3s cubic-bezier(.2,.9,.4,1.1); }
@keyframes popIn { from { opacity:0; transform:scale(.92) translateY(12px); } to { opacity:1; transform:scale(1) translateY(0); } }

/* ── FOOTER ────────────────────────────────────── */
.pz-footer { background: #0B1120; color: #94A3B8; padding: 4rem 0 2rem; }
.pz-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; margin-bottom: 3rem; }
.pz-footer-heading { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.pz-footer-link { display: block; color: #94A3B8; text-decoration: none; font-size: .875rem; line-height: 2; transition: color .15s; }
.pz-footer-link:hover { color: var(--secondary); }
.pz-footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; font-size: .8rem; }
.pz-social { display: flex; gap: .5rem; margin-top: 1rem; }
.pz-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; color: #94A3B8; text-decoration: none; font-size: .9rem; transition: all .2s; }
.pz-social a:hover { background: var(--secondary); color: #fff; }
@media (max-width: 1024px) { .pz-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .pz-footer-grid { grid-template-columns: 1fr; } }

/* ── WHATSAPP FLOAT ────────────────────────────── */
.wa-float { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 99; width: 52px; height: 52px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,.4); text-decoration: none; transition: all .2s; }
.wa-float:hover { transform: scale(1.1); background: #1EBE59; }

/* ── ANIMATIONS ────────────────────────────────── */
@keyframes fadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
.fade-up { animation: fadeUp .7s cubic-bezier(.2,.9,.4,1) forwards; }
.fade-up-d1 { animation-delay: .1s; opacity: 0; }
.fade-up-d2 { animation-delay: .2s; opacity: 0; }
.fade-up-d3 { animation-delay: .3s; opacity: 0; }

/* ── DIVIDER ───────────────────────────────────── */
.pz-divider { width: 3rem; height: 3px; background: var(--secondary); border-radius: 9999px; margin: 1rem 0 1.5rem; }

/* ── TABLE MAP (restaurant) ────────────────────── */
.table-map { background: #f8f5f0; border-radius: 1.25rem; padding: 1.5rem; position: relative; }
.table-map-zone { margin-bottom: 1.25rem; }
.table-map-zone-label { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: #9ca3af; margin-bottom: .75rem; }
.table-row { display: flex; gap: .625rem; flex-wrap: wrap; }
.table-item { border-radius: .75rem; border: 2px solid; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: .5rem; cursor: pointer; transition: all .2s; min-width: 70px; text-align: center; user-select: none; }
.table-item:hover { transform: translateY(-2px); }
.table-avail { background: #f0fdf4; border-color: #86efac; color: #166534; }
.table-avail:hover { background: #dcfce7; border-color: #4ade80; }
.table-avail.sel { background: #16a34a; color: #fff; border-color: #15803d; }
.table-taken { background: #fefce8; border-color: #fde047; color: #854d0e; cursor: not-allowed; opacity: .8; }
.table-closed { background: #f3f4f6; border-color: #e5e7eb; color: #9ca3af; cursor: not-allowed; opacity: .7; }
.table-icon { font-size: 1.1rem; line-height: 1; margin-bottom: .15rem; }
.table-id { font-size: .65rem; font-weight: 800; line-height: 1; }
.table-cap { font-size: .65rem; opacity: .75; line-height: 1.2; }

/* ── STEPPER (quantity) ────────────────────────── */
.stepper { display: flex; align-items: center; gap: .5rem; }
.stepper-btn { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--border); background: #fff; cursor: pointer; font-size: 1.1rem; font-weight: 700; color: #374151; transition: all .2s; display: flex; align-items: center; justify-content: center; }
.stepper-btn:hover { border-color: var(--secondary); color: var(--secondary); }
.stepper-val { width: 48px; text-align: center; font-size: 1.1rem; font-weight: 800; color: var(--primary); }

/* ── HOVER LIFT ────────────────────────────────── */
.hover-lift { transition: transform .3s, box-shadow .3s; }
.hover-lift:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,.12); }

/* ── UTILITY ───────────────────────────────────── */
.text-gold { color: var(--secondary); }
.bg-surface { background: var(--surface); }
.section-divider { height: 1px; background: var(--border); margin: 0; }
