:root {
  --ink: #120f0d;
  --ink-2: #1b1714;
  --cream: #f4eee5;
  --paper: #fbf8f2;
  --muted: #a9a096;
  --line: rgba(255, 255, 255, 0.12);
  --red: #9f2d22;
  --red-2: #c34a35;
  --copper: #cf8a52;
  --green: #667859;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  --radius: 18px;
  --sans: Arial, "Segoe UI", system-ui, sans-serif;
  --display: Impact, "Arial Narrow", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--cream); font-family: var(--sans); }
body.menu-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; }

.site-header {
  position: fixed; z-index: 50; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  min-height: 78px; padding: 0 5vw; background: rgba(18, 15, 13, 0.8);
  border-bottom: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand-logo {
  display: block;
  width: 220px;
  height: 62px;
  padding: 0;
  background: transparent;
  object-fit: contain;
}
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav > a:not(.button) { color: #d8d0c7; font-size: 14px; font-weight: 600; }
.main-nav > a:hover { color: #fff; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 44px; height: 44px; color: #fff; background: transparent; border: 1px solid var(--line); border-radius: 10px; font-size: 22px; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 0 20px; border: 1px solid transparent; border-radius: 8px;
  background: var(--red); color: #fff; font-size: 14px; font-weight: 700; transition: .2s ease;
}
.button:hover { transform: translateY(-2px); background: var(--red-2); }
.button.outline { border-color: rgba(255,255,255,.34); background: rgba(18,15,13,.2); }
.button.outline:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.button.light { background: var(--cream); color: var(--ink); }
.button.small { min-height: 40px; padding: 0 14px; }
.button.danger { background: #6f261f; }
.text-button { padding: 5px; border: 0; background: transparent; color: var(--copper); font-weight: 700; }

.hero {
  min-height: 800px; height: auto; display: grid; align-items: center; position: relative; overflow: hidden;
  padding: 130px 0 90px;
  background: #120f0d url("assets/hero-parmegiana.png") center/cover no-repeat;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,8,7,.98) 0%, rgba(10,8,7,.9) 36%, rgba(10,8,7,.31) 65%, rgba(10,8,7,.12) 100%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 170px; background: linear-gradient(transparent, var(--ink)); }
.hero-content { position: relative; z-index: 2; width: min(1120px, 90vw); margin: 0 auto; }
.hero-copy { max-width: 650px; }
.hero h1 { max-width: 630px; margin: 0; font: 600 clamp(58px, 8.6vw, 116px)/.91 var(--display); letter-spacing: -.035em; text-transform: uppercase; }
.hero h1 em { color: var(--copper); font-style: normal; }
.hero p { max-width: 560px; margin: 28px 0; color: #d8d0c7; font-size: clamp(17px, 2vw, 21px); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof { display: flex; align-items: center; gap: 14px; margin-top: 30px; min-height: 22px; color: #d8d0c7; font-size: 13px; }
.stars { color: #e3a767; letter-spacing: 2px; }

.trust-strip { position: relative; z-index: 3; width: min(1120px, 90vw); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--cream); color: var(--ink); box-shadow: var(--shadow); }
.trust-item { padding: 28px; border-right: 1px solid rgba(18,15,13,.14); }
.trust-item:last-child { border: 0; }
.trust-item strong { display: block; font: 600 29px/1 var(--display); text-transform: uppercase; }
.trust-item span { display: block; margin-top: 9px; color: #6e665f; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }

.section { padding: 112px 5vw; }
.section.light { background: var(--paper); color: var(--ink); }
.section.warm { background: #e9dfd1; color: var(--ink); }
.section-head { width: min(1120px, 100%); margin: 0 auto 45px; display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.section-head h2, .story-copy h2, .reserve-copy h2 { margin: 0; font: 600 clamp(40px, 5.8vw, 72px)/.98 var(--display); letter-spacing: -.02em; text-transform: uppercase; }
.section-head p { max-width: 480px; margin: 0; color: #6e665f; line-height: 1.7; }
.section-title-light p { color: var(--muted); }
.kicker { display: block; margin-bottom: 15px; color: var(--red); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }

.filters { width: min(1120px, 100%); margin: 0 auto 28px; display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.filter { white-space: nowrap; padding: 10px 15px; border: 1px solid #cfc3b4; border-radius: 99px; color: #564e47; background: transparent; font-size: 13px; font-weight: 700; }
.filter.active, .filter:hover { color: #fff; border-color: var(--red); background: var(--red); }
.menu-grid { width: min(1120px, 100%); margin: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.menu-card { overflow: hidden; background: #fff; border: 1px solid #e4dbcf; transition: .25s ease; }
.menu-card:hover { transform: translateY(-5px); box-shadow: 0 22px 50px rgba(60,42,29,.13); }
.food-image { position: relative; height: 250px; overflow: hidden; background: #251c17; }
.food-image img { width: 100%; height: 100%; object-fit: cover; transition: .5s ease; }
.menu-card:hover img { transform: scale(1.04); }
.food-badge { position: absolute; left: 14px; top: 14px; padding: 7px 10px; background: var(--red); color: #fff; border-radius: 4px; font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.menu-card-body { padding: 23px; }
.menu-card-top { display: flex; justify-content: space-between; gap: 18px; }
.menu-card h3 { margin: 0; font: 600 25px/1.1 var(--display); text-transform: uppercase; }
.price { display: grid; justify-items: end; gap: 4px; color: var(--red); font: 600 24px/1 var(--display); white-space: nowrap; }
.price del { color: #8a8179; font: 600 12px/1 var(--sans); }
.menu-card p { min-height: 48px; margin: 13px 0 20px; color: #71685f; font-size: 14px; line-height: 1.55; }
.order-link { color: var(--red); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }

.motion-section { padding: 105px 5vw; background: #171310; }
.motion-grid { width: min(1120px, 100%); margin: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.motion-card { position: relative; min-height: 520px; overflow: hidden; background: #090807; }
.motion-card video { width: 100%; height: 520px; object-fit: cover; }
.motion-card::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.88)); pointer-events: none; }
.motion-caption { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 23px; display: grid; gap: 5px; }
.motion-caption strong { font: 600 28px var(--display); text-transform: uppercase; }
.motion-caption span { color: #c5bbb2; font-size: 13px; }

.experience { width: min(1120px, 90vw); margin: auto; display: grid; grid-template-columns: 1.15fr .85fr; min-height: 640px; }
.experience-photo { min-height: 580px; background: linear-gradient(rgba(0,0,0,.05),rgba(0,0,0,.18)), url("assets/parmegiana-mesa.png") center/cover; }
.story-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(45px, 7vw, 90px); background: #201a16; }
.story-copy p { color: #bdb4aa; line-height: 1.75; }
.story-list { display: grid; gap: 16px; margin-top: 20px; }
.story-list div { display: flex; gap: 12px; align-items: center; color: #eee5dc; font-weight: 600; }
.story-list span { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid var(--copper); border-radius: 50%; color: var(--copper); }

.testimonials { width: min(1120px, 100%); margin: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { padding: 30px; border: 1px solid rgba(255,255,255,.14); background: #181411; }
.quote p { color: #d2c8be; line-height: 1.7; }
.quote footer { display: flex; justify-content: space-between; gap: 15px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.09); }
.quote footer strong { font-size: 14px; }

.reserve-section { padding: 105px 5vw; background: var(--red); }
.reserve-wrap { width: min(1120px, 100%); margin: auto; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 8vw, 110px); align-items: center; }
.reserve-copy p { max-width: 450px; color: #f2dcd7; line-height: 1.7; }
.reserve-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; padding: 34px; background: var(--paper); color: var(--ink); box-shadow: var(--shadow); }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { color: #5f554d; font-size: 12px; font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 11px 12px; border: 1px solid #d7ccbf; border-radius: 7px; background: #fff; color: var(--ink);
}
.field textarea { min-height: 84px; resize: vertical; }
.form-note { margin: 0; color: #776d64; font-size: 11px; }

.faq-list { width: min(880px, 100%); margin: auto; }
.faq { border-bottom: 1px solid #cfc3b4; }
.faq button { width: 100%; display: flex; justify-content: space-between; gap: 20px; padding: 23px 0; border: 0; background: transparent; color: var(--ink); text-align: left; font-weight: 700; }
.faq p { display: none; margin: -5px 0 24px; color: #6e665f; line-height: 1.7; }
.faq.open p { display: block; }

.footer { padding: 70px 5vw 25px; background: #0c0a09; }
.footer-grid { width: min(1120px, 100%); margin: auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 42px; }
.footer h3 { margin: 0 0 17px; font: 600 18px var(--display); text-transform: uppercase; }
.footer p, .footer a { color: #9e958d; font-size: 13px; line-height: 1.8; }
.footer a { display: block; }
.footer .brand { display: inline-flex; }
.footer .brand-logo { width: 172px; height: 64px; margin-bottom: 17px; }
.footer-bottom { width: min(1120px, 100%); margin: 45px auto 0; padding-top: 22px; display: flex; justify-content: space-between; gap: 25px; border-top: 1px solid rgba(255,255,255,.09); color: #77706a; font-size: 11px; }
.whatsapp { position: fixed; z-index: 45; right: 22px; bottom: 22px; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: #25d366; color: #092d15; box-shadow: 0 12px 35px rgba(0,0,0,.3); font-weight: 900; }

.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 260px 1fr; background: #f3f0eb; color: #1c1815; }
.admin-sidebar { position: sticky; top: 0; height: 100vh; padding: 28px 20px; background: #171310; color: #fff; }
.admin-sidebar .brand-logo { width: 210px; height: 66px; }
.admin-sidebar nav { display: grid; gap: 6px; margin-top: 36px; }
.admin-sidebar button { width: 100%; padding: 12px 13px; border: 0; border-radius: 7px; background: transparent; color: #afa79f; text-align: left; font-weight: 700; }
.admin-sidebar button:hover, .admin-sidebar button.active { background: #2a211c; color: #fff; }
.admin-main { padding: 38px clamp(20px, 5vw, 68px); }
.admin-top { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-bottom: 34px; }
.admin-top h1 { margin: 0; font: 600 36px var(--display); text-transform: uppercase; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.stat-card, .admin-card { background: #fff; border: 1px solid #dfd9d1; border-radius: 12px; box-shadow: 0 8px 28px rgba(34,25,18,.05); }
.stat-card { padding: 22px; }
.stat-card strong { display: block; margin-top: 8px; font: 600 34px var(--display); }
.stat-card span { color: #746b63; font-size: 12px; }
.admin-card { margin-top: 20px; padding: 25px; }
.admin-card h2 { margin: 0 0 20px; font: 600 24px var(--display); text-transform: uppercase; }
.admin-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 13px 10px; border-bottom: 1px solid #e7e1da; text-align: left; font-size: 13px; }
.admin-table th { color: #746b63; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.status { display: inline-block; padding: 6px 9px; border-radius: 99px; background: #eee9e3; font-size: 11px; font-weight: 700; }
.status.nova { background: #fff0ce; color: #77530a; }
.status.confirmada { background: #dff1e0; color: #315c35; }
.admin-login { min-height: 100vh; display: grid; place-items: center; padding: 20px; background: radial-gradient(circle at 70% 20%, #46241d, #120f0d 50%); }
.login-card { width: min(430px, 100%); padding: 38px; border: 1px solid rgba(255,255,255,.13); background: rgba(25,20,17,.95); box-shadow: var(--shadow); }
.login-card .brand-logo { width: 240px; height: 74px; }
.login-card h1 { margin: 30px 0 10px; font: 600 38px var(--display); text-transform: uppercase; }
.login-card p { color: var(--muted); line-height: 1.6; }
.login-card .field label { color: #c8beb5; }
.login-card .button { width: 100%; margin-top: 8px; }
.login-card .text-button { display: block; margin: 18px auto 0; }
.empty { padding: 35px; text-align: center; color: #786f67; }
.toast { position: fixed; z-index: 100; right: 24px; bottom: 24px; max-width: 360px; padding: 14px 18px; border-radius: 8px; background: #fff; color: #1b1714; box-shadow: var(--shadow); font-weight: 700; }
.hidden { display: none !important; }

@media (max-width: 1000px) {
  .main-nav { display: none; position: fixed; inset: 78px 0 auto; padding: 26px 5vw; background: #171310; flex-direction: column; align-items: stretch; }
  .main-nav.open { display: flex; }
  .menu-toggle { display: block; }
  .header-actions .button.outline { display: none; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid rgba(18,15,13,.14); }
  .menu-grid, .testimonials { grid-template-columns: repeat(2, 1fr); }
  .motion-grid { grid-template-columns: repeat(3, minmax(240px, 1fr)); overflow-x: auto; }
  .motion-card, .motion-card video { min-height: 460px; height: 460px; }
  .experience, .reserve-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .site-header { min-height: 68px; padding: 0 18px; }
  .brand-logo { width: 162px; height: 48px; }
  .header-actions .button { display: none; }
  .hero { min-height: 720px; height: auto; padding: 110px 0 70px; background-position: 61% center; }
  .hero::before { background: linear-gradient(90deg, rgba(10,8,7,.94), rgba(10,8,7,.62)); }
  .hero-content { margin-top: 0; }
  .hero h1 { font-size: clamp(53px, 16vw, 78px); }
  .hero p { font-size: 16px; }
  .hero-actions .button { flex: 1 1 160px; }
  .trust-strip { margin-top: 0; }
  .trust-item { padding: 20px 16px; }
  .trust-item strong { font-size: 22px; }
  .section { padding: 78px 18px; }
  .section-head { display: block; }
  .section-head p { margin-top: 18px; }
  .menu-grid, .testimonials { grid-template-columns: 1fr; }
  .motion-section { padding: 75px 18px; }
  .motion-grid { display: flex; width: 100%; scroll-snap-type: x mandatory; }
  .motion-card { flex: 0 0 82vw; scroll-snap-align: start; }
  .experience { width: 100%; }
  .experience-photo { min-height: 390px; }
  .story-copy { padding: 55px 25px; }
  .reserve-section { padding: 75px 18px; }
  .reserve-form { grid-template-columns: 1fr; padding: 23px; }
  .field.full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { display: block; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; height: auto; }
  .admin-sidebar nav { grid-template-columns: repeat(2, 1fr); }
  .admin-main { padding: 28px 16px; overflow-x: hidden; }
  .admin-top { align-items: flex-start; flex-direction: column; }
  .stat-grid, .admin-grid { grid-template-columns: 1fr; }
  .table-wrap { overflow-x: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
