/* Lokopizza & Burguer · versión estática del diseño original de Lovable */

@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/dm-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/dm-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/dm-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 700 800; font-display: swap; src: url("../fonts/dm-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800 900; font-display: swap; src: url("../fonts/barlow-condensed-latin-800-normal.woff2") format("woff2"); }

:root {
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --background: #fbf8f2;
  --foreground: #14110f;
  --primary: #d21718;
  --primary-foreground: #fffaeb;
  --secondary: #ffcd37;
  --muted: #efe7d4;
  --muted-foreground: #615953;
  --accent: #1d472e;
  --brand-paper: #ffffff;
  --border: #d7ccba;
  --card: #fffcf2;
  --ink-border: rgb(20 17 15 / 18%);
  --hero-border: rgb(255 250 235 / 23%);
  --hero-muted: rgb(255 250 235 / 76%);
  --hard-shadow: 4px 4px 0 var(--foreground);
  --focus: var(--foreground);
}

/* Base (equivalente al reset de Tailwind del original) */
*, *::before, *::after { box-sizing: border-box; border: 0 solid var(--border); }
html { scroll-behavior: smooth; scroll-padding-top: 24px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--background); color: var(--foreground); font-family: var(--font-sans); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img, svg { display: block; vertical-align: middle; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; margin: 0; padding: 0; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4, p, figure, blockquote, ol { margin: 0; }
h1, h2, h3, h4 { font-size: inherit; font-weight: inherit; }
h1, h2 { font-family: var(--font-display); font-weight: 800; letter-spacing: 0; }
small { font-size: 80%; }
::selection { background: var(--secondary); color: var(--foreground); }

/* Foco visible: oscuro sobre fondos claros, amarillo sobre fondos oscuros o rojos */
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.red-zone, .instagram-section, .site-footer, .mobile-order-bar, .demo-bar { --focus: var(--secondary); }
a:focus-visible { outline-offset: 5px; }
.skip-link { position: absolute; left: 12px; top: -100px; z-index: 50; background: var(--secondary); color: var(--foreground); padding: 10px 14px; border-radius: 5px; font-weight: 700; font-size: 14px; }
.skip-link:focus { top: 12px; }

/* Iconos (Lucide) */
.ic { width: 24px; height: 24px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic-fill { fill: currentColor; }

/* Botones (variantes del componente Button original) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; border-radius: 6px; font-size: 14px; font-weight: 500; line-height: 1.25; cursor: pointer; transition: color .15s, background-color .15s, border-color .15s, transform .15s; }
.btn .ic { width: 16px; height: 16px; pointer-events: none; }
.btn-icon { width: 36px; height: 36px; }
.btn-ghost:hover { background: var(--hero-border); }

.text-primary { color: var(--primary); }
.page-width { width: min(1184px, calc(100% - 96px)); margin-inline: auto; }
.demo-bar { background: var(--foreground); color: var(--background); text-align: center; padding: 9px 12px; font-size: 11px; letter-spacing: .6px; }
.red-zone { background: var(--primary); color: var(--primary-foreground); overflow: hidden; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 94px; border-bottom: 1px solid var(--hero-border); }
.brand { display: inline-flex; gap: 9px; align-items: center; font-family: var(--font-display); font-size: 26px; font-weight: 800; white-space: nowrap; }
.site-header nav { display: flex; gap: 30px; font-size: 13px; font-weight: 600; }
.site-header nav a { display: inline-flex; gap: 4px; align-items: center; }
.site-header nav a:hover, .footer-top a:hover { text-decoration: underline; }
.header-phone { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 14px; }
.hero { padding-block: 50px 26px; position: relative; display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; gap: 10px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 800; letter-spacing: 1.35px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--secondary); }
.hero h1 { font-size: 64px; line-height: .99; margin-top: 21px; overflow-wrap: normal; }
.hero h1 > span { color: var(--secondary); }
.hero-description { font-size: 14px; line-height: 1.8; max-width: 430px; margin-top: 23px; color: var(--hero-muted); }
.hero-description a { color: var(--primary-foreground); }
.hero-description a:hover { text-decoration: underline; }
.hero-actions { display: flex; gap: 12px; align-items: start; margin-top: 26px; }
.order-button { height: 52px; border-radius: 5px; padding-inline: 20px; font-family: var(--font-sans); font-size: 13px; font-weight: 800; border: 1.5px solid var(--foreground); gap: 10px; }
.order-button-primary { background: var(--secondary); color: var(--foreground); box-shadow: var(--hard-shadow); }
.order-button-primary:hover { background: var(--background); transform: translateY(-2px); }
.order-button-whatsapp { color: var(--primary-foreground); border-color: var(--hero-border); background: transparent; }
.order-button-whatsapp:hover { background: var(--hero-border); }
.whatsapp-wrap { display: flex; flex-direction: column; align-items: center; }
.whatsapp-wrap small { font-size: 9px; opacity: .75; margin-top: 8px; }
.hero-art { position: relative; width: 100%; align-self: center; }
.hero-art img { display: block; width: 100%; height: auto; }
.discover-link { grid-column: 1 / -1; display: flex; gap: 14px; align-items: center; font-size: 10px; margin-top: 18px; color: var(--hero-muted); justify-self: start; }
.discover-link .ic { width: 17px; height: 17px; }
.benefits { background: var(--secondary); border-bottom: 1px solid var(--ink-border); }
.benefits-inner { display: grid; grid-template-columns: repeat(3, 1fr); padding-block: 23px; }
.benefits-inner > div { display: flex; align-items: center; justify-content: center; gap: 13px; font-family: var(--font-display); font-size: 22px; font-weight: 700; }
.benefits-inner > div + div { border-left: 1px solid var(--ink-border); }
.benefits-inner svg { width: 28px; height: 28px; stroke-width: 1.8; }
.section-space { padding-block: 76px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
.section-heading h2, .how-steps h2 { font-size: 54px; line-height: 1.02; margin-top: 12px; }
.menu-doodle { transform: rotate(18deg); margin-right: 24px; color: var(--primary); }
.menu-doodle svg { width: 95px; height: 95px; stroke-width: 1; }
.demo-notice { border: 1px dashed var(--border); padding: 13px 17px; display: flex; align-items: center; gap: 10px; font-size: 11px; line-height: 1.6; color: var(--muted-foreground); }
.notice-icon { display: inline-flex; align-items: center; justify-content: center; width: 15px; height: 15px; border: 1px solid currentColor; border-radius: 50%; font-size: 10px; flex-shrink: 0; }
.menu-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-block: 26px; border-bottom: 1px solid var(--border); padding-bottom: 17px; }
.menu-tab { border-radius: 4px; height: 43px; padding-inline: 16px; background: transparent; font-size: 13px; font-weight: 700; color: var(--muted-foreground); }
.menu-tab:hover { background: var(--muted); }
.menu-tab[aria-selected="true"], .menu-tab[aria-selected="true"]:hover { color: var(--primary-foreground); background: var(--primary); }
.menu-panel + .menu-panel { margin-top: 40px; }
.js .menu-panel + .menu-panel { margin-top: 0; }
.menu-panel[hidden] { display: none; }
.panel-title { font-family: var(--font-display); font-size: 30px; font-weight: 800; margin-bottom: 14px; }
.js .panel-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.menu-panel:focus-visible { outline-offset: 8px; }
.category-note { margin-bottom: 20px; font-size: 13px; line-height: 1.7; color: var(--muted-foreground); }
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; min-height: 254px; align-content: start; }
.menu-item { display: flex; align-items: start; gap: 16px; padding: 22px; border: 1px solid var(--border); border-radius: 6px; min-height: 118px; background: var(--card); }
.item-number { min-width: 2ch; font-family: var(--font-display); font-size: 17px; color: var(--muted-foreground); padding-top: 2px; }
.item-content { flex: 1; min-width: 0; }
.menu-item h3 { font-size: 23px; font-family: var(--font-display); font-weight: 700; overflow-wrap: anywhere; line-height: 1.2; }
.item-ingredients { font-size: 14px; line-height: 1.65; margin-top: 8px; }
.favorite { display: flex; align-items: center; gap: 5px; color: var(--primary); font-size: 10px; margin-top: 4px; }
.favorite .ic { width: 13px; height: 13px; }
.item-price { font-size: 20px; font-weight: 700; color: var(--primary); margin-top: 14px; }
.item-icon { align-self: center; color: var(--primary); }
.item-icon svg { width: 34px; height: 34px; stroke-width: 1.2; }
.original-menu { margin-top: 30px; border-top: 1px solid var(--border); padding-top: 20px; }
.original-menu summary { cursor: pointer; font-size: 15px; font-weight: 700; }
.source-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.source-gallery img, .instagram-posts img { width: 100%; height: auto; display: block; border-radius: 6px; background: var(--muted); }
.source-gallery figcaption, .instagram-posts figcaption { font-size: 12px; margin-top: 12px; }
.instagram-section { background: var(--accent); color: var(--primary-foreground); }
.instagram-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.instagram-inner h2 { font-size: 52px; line-height: 1.05; margin-block: 18px; }
.instagram-inner p { font-size: 16px; line-height: 1.7; }
.instagram-inner .opening-date { font-size: 12px; margin-block: 15px 24px; }
.instagram-posts { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.reviews-section { background: var(--secondary); }
.reviews-section .section-heading h2 { font-size: 48px; }
.google-rating { display: flex; flex-direction: column; gap: 5px; }
.google-rating > span { display: flex; gap: 7px; align-items: center; font-size: 32px; font-weight: 800; }
.google-rating svg { width: 23px; }
.rating-out-of { font-size: 17px; font-weight: 500; opacity: .55; }
.google-rating small { font-size: 10px; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.review-card { border: 1px solid var(--ink-border); border-radius: 5px; background: var(--background); padding: 25px; display: flex; flex-direction: column; }
.review-stars { color: var(--primary); font-size: 17px; letter-spacing: 3px; }
.review-stars .ic { width: 20px; height: 20px; }
.review-card blockquote { margin: 18px 0 26px; font-size: 14px; line-height: 1.8; flex: 1; font-weight: 500; }
.review-card figcaption { display: flex; align-items: center; gap: 9px; font-size: 11px; font-weight: 700; }
.review-card figcaption small { display: block; font-size: 9px; font-weight: 400; color: var(--muted-foreground); margin-top: 3px; }
.review-avatar { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: var(--muted); border-radius: 50%; }
.reviews-action { text-align: center; margin-top: 30px; }
.order-button-ink { background: var(--foreground); color: var(--background); box-shadow: none; }
.order-button-ink:hover { background: var(--primary); border-color: var(--primary); }
.how-section { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.how-steps ol { list-style: none; padding: 0; margin-top: 28px; }
.how-steps li { display: flex; gap: 16px; align-items: center; border-bottom: 1px solid var(--border); padding-block: 18px; }
.step-number { width: 33px; height: 33px; border-radius: 50%; background: var(--primary); color: var(--primary-foreground); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 20px; flex-shrink: 0; }
.how-steps li h3 { font-size: 13px; font-weight: 600; }
.how-steps li > svg { margin-left: auto; width: 22px; color: var(--muted-foreground); flex-shrink: 0; }
.location-info { background: var(--muted); padding: 32px; border-top: 4px solid var(--primary); }
.location-info > h3 { font-family: var(--font-display); font-size: 36px; font-weight: 700; line-height: 1.05; margin-block: 15px 26px; }
.info-row { display: flex; gap: 12px; margin-block: 20px; }
.info-row > svg { width: 18px; color: var(--primary); flex-shrink: 0; }
.info-row strong { font-size: 14px; font-weight: 700; }
.info-row p { font-size: 12px; color: var(--muted-foreground); line-height: 1.8; margin-top: 3px; }
.pickup-note { font-size: 10px; color: var(--muted-foreground); line-height: 1.8; margin-block: 20px; }
.location-info .order-button { height: 44px; }
.delivery-info { border-top: 1px solid var(--border); padding-top: 20px; }
.delivery-info h4 { font-size: 16px; font-weight: 700; margin: 0 0 12px; }
.delivery-info p { font-size: 13px; line-height: 1.65; margin-top: 10px; }
.delivery-info small { display: block; font-size: 11px; line-height: 1.6; margin-top: 12px; color: var(--muted-foreground); }
.site-footer { background: var(--foreground); color: var(--background); padding-block: 35px 24px; }
.footer-top { display: flex; justify-content: space-between; gap: 24px; align-items: center; padding-bottom: 30px; border-bottom: 1px solid var(--hero-border); }
.footer-top > div { text-align: right; font-size: 10px; line-height: 1.9; }
.footer-top > div a { font-size: 13px; font-weight: 700; }
.footer-instagram { display: flex; align-items: center; justify-content: end; gap: 8px; margin-top: 10px; }
.footer-instagram .ic { width: 17px; height: 17px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 15px; padding-top: 22px; font-size: 9px; color: var(--hero-muted); }
.footer-bottom a { cursor: default; }
.mobile-order-bar { display: none; }

/* Marca e imágenes originales de Instagram */
.brand-logo { width: 56px; height: 56px; object-fit: contain; border-radius: 50%; border: 2px solid var(--secondary); background: var(--brand-paper); flex-shrink: 0; }
.hero-tagline { color: var(--secondary); font-size: 16px; line-height: 1.5; margin-top: 20px; max-width: 390px; font-weight: 700; }
.hero-art .hero-logo { border-radius: 50%; border: 8px solid var(--secondary); background: var(--brand-paper); width: min(100%, 420px); aspect-ratio: 1; object-fit: contain; margin: auto; }
.since-label { display: block; font-family: var(--font-display); font-size: 24px; text-align: center; margin-top: 24px; color: var(--secondary); }

@media (min-width: 1440px) { .hero { padding-block: 65px 30px; } .hero h1 { font-size: 72px; } }
@media (max-width: 1100px) {
  .page-width { width: calc(100% - 64px); }
  .site-header { gap: 12px; }
  .site-header nav { gap: 12px; }
  .brand { font-size: 23px; }
  .hero h1 { font-size: 55px; }
  .hero-actions { gap: 9px; }
  .hero-actions .order-button { padding-inline: 13px; font-size: 11px; }
  .how-section { gap: 45px; }
}
@media (max-width: 760px) {
  .page-width { width: calc(100% - 40px); }
  .demo-bar { padding: 8px; font-size: 9px; letter-spacing: .2px; }
  .site-header { min-height: 76px; gap: 6px; }
  .site-header .brand { font-size: 21px; gap: 7px; white-space: normal; line-height: 1.05; flex: 1; }
  .brand-logo { width: 44px; height: 44px; }
  .site-header nav { display: none; }
  .header-phone { font-size: 0; }
  .header-phone svg { width: 22px; height: 22px; }
  .hero { padding-top: 32px; padding-bottom: 22px; grid-template-columns: 1fr; gap: 0; }
  .hero .eyebrow { font-size: 8px; letter-spacing: .8px; }
  .hero h1 { font-size: 48px; line-height: 1; margin-top: 16px; }
  .hero-tagline { font-size: 14px; }
  .hero-description { font-size: 12px; line-height: 1.8; margin-top: 18px; max-width: 360px; }
  .hero-actions { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-actions .order-button { width: 100%; font-size: 11px; padding-inline: 9px; height: 48px; gap: 7px; }
  .hero-actions .order-button-primary svg:last-child { display: none; }
  .hero-art { width: 65%; max-width: 245px; margin: 30px auto 0; }
  .hero-art .hero-logo { border-width: 5px; }
  .since-label { font-size: 20px; margin-top: 14px; }
  .discover-link { font-size: 9px; margin-top: 20px; }
  .benefits-inner { padding-block: 18px; width: calc(100% - 20px); }
  .benefits-inner > div { flex-direction: column; gap: 7px; text-align: center; font-size: 15px; }
  .benefits-inner svg { width: 24px; height: 24px; }
  .section-space { padding-block: 45px; }
  .eyebrow { font-size: 9px; letter-spacing: 1px; }
  .section-heading { gap: 15px; margin-bottom: 23px; }
  .section-heading h2, .how-steps h2 { font-size: 42px; }
  .menu-doodle { margin-right: 3px; }
  .menu-doodle svg { width: 66px; height: 66px; }
  .demo-notice { font-size: 10px; padding: 12px; }
  .menu-tabs { margin-block: 21px; gap: 6px; }
  .menu-tab { flex: 0 0 auto; padding-inline: 12px; font-size: 12px; }
  .menu-grid { grid-template-columns: 1fr; gap: 11px; min-height: 0; }
  .menu-item { min-height: 108px; padding: 20px 16px; gap: 12px; }
  .item-icon { display: none; }
  .source-gallery { grid-template-columns: 1fr; gap: 28px; }
  .instagram-inner { grid-template-columns: 1fr; gap: 30px; }
  .instagram-inner h2 { font-size: 42px; }
  .instagram-posts { gap: 12px; }
  .reviews-section .section-heading { align-items: start; }
  .reviews-section .section-heading h2 { font-size: 38px; max-width: 215px; }
  .google-rating { flex-shrink: 0; margin-top: 20px; }
  .google-rating > span { font-size: 26px; gap: 4px; }
  .google-rating svg { width: 18px; }
  .rating-out-of { font-size: 14px; }
  .google-rating small { font-size: 8px; }
  .reviews-grid { grid-template-columns: 1fr; gap: 13px; margin-top: 25px; }
  .review-card { padding: 22px; }
  .review-card blockquote { font-size: 13px; margin-block: 12px 20px; }
  .reviews-action .order-button { font-size: 11px; }
  .how-section { grid-template-columns: 1fr; gap: 30px; }
  .location-info { padding: 25px 22px; }
  .location-info > h3 { font-size: 34px; }
  .footer-top, .footer-bottom { flex-direction: column; align-items: start; }
  .footer-top > div { text-align: left; }
  .footer-top { gap: 20px; padding-bottom: 22px; }
  .footer-instagram { justify-content: start; }
  .site-footer { padding-bottom: 116px; }
  .mobile-order-bar { position: fixed; z-index: 20; bottom: 0; inset-inline: 0; padding: 12px 16px max(8px, env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr 1fr; gap: 12px; background: var(--foreground); color: var(--background); border-top: 1px solid var(--hero-border); }
  .mobile-order-bar .order-button { width: 100%; height: 44px; font-size: 12px; }
  .mobile-order-bar .whatsapp-wrap small { font-size: 8px; margin-top: 5px; }
}
@media (max-width: 370px) {
  .hero h1 { font-size: 42px; }
  .hero-actions .order-button { font-size: 10px; gap: 5px; }
  .hero-actions .order-button svg { width: 14px; }
  .brand, .site-header .brand { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .order-button-primary:hover { transform: none; }
}

/* Página 404 */
.notfound { min-height: 100vh; display: flex; flex-direction: column; }
.notfound main { flex: 1; display: flex; align-items: center; }
.notfound-inner { padding-block: 60px; }
.notfound h1 { font-size: 96px; line-height: 1; color: var(--secondary); }
.notfound h2 { font-size: 40px; line-height: 1.05; margin-top: 10px; }
.notfound p { font-size: 15px; line-height: 1.7; color: var(--hero-muted); margin-top: 16px; max-width: 420px; }
.notfound .hero-actions { margin-top: 28px; }
@media (max-width: 760px) { .notfound .hero-actions { grid-template-columns: 1fr; } .notfound h1 { font-size: 80px; } }

/* Sin JavaScript se muestran todas las categorías de la carta seguidas */
html:not(.js) .menu-tabs { display: none; }
