/* Taco del Sol - chalkboard-neon identity. ASCII only. */
:root {
  --bg: #14181c;
  --panel: #1b2127;
  --panel-2: #222a31;
  --chalk: #f3efe6;
  --muted: #b9c2c9;
  --line: #36424c;
  --neon-lime: #c6ff4d;
  --neon-cyan: #38e1d6;
  --neon-pink: #ff5d8f;
  --neon-yellow: #ffd24a;
  --neon-orange: #ff8a3d;
  --radius: 12px;
  color-scheme: only light;
}
* { box-sizing: border-box; }
html, body { margin: 0; max-width: 100%; overflow-x: clip; }
body {
  background: var(--bg);
  color: var(--chalk);
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  background-image:
    radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    radial-gradient(rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 26px 26px, 26px 26px;
  background-position: 0 0, 13px 13px;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--neon-cyan); }
h1, h2, h3 { line-height: 1.15; }
h1 { font-size: clamp(2rem, 6vw, 3.2rem); letter-spacing: 0.5px; }
h2 { font-size: clamp(1.4rem, 4vw, 2rem); }
.container { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 18px; }
.section { padding: 44px 0; }
.muted { color: var(--muted); }
.center { text-align: center; }
.hidden { display: none !important; }

/* Skip link + focus */
.skip-link { position: absolute; left: -999px; top: 0; background: #000; color: #fff; padding: 10px 14px; z-index: 100; }
.skip-link:focus { left: 8px; top: 8px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--neon-yellow); outline-offset: 2px;
}

/* Header / nav */
.site-header { position: sticky; top: 0; z-index: 50; background: #0f1317; border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 8px 14px; flex-wrap: wrap; padding: 12px 0; }
.brand { font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--neon-lime); text-decoration: none; margin-right: auto; }
.brand span { color: var(--neon-pink); }
.nav a { color: var(--chalk); text-decoration: none; font-weight: 600; padding: 6px 8px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--neon-cyan); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; min-width: 150px;
  padding: 12px 18px; border-radius: 999px; border: 2px solid transparent; font-weight: 800; font-size: 1rem;
  text-decoration: none; cursor: pointer; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--neon-lime); color: #11160a; }
.btn--accent { background: var(--neon-cyan); color: #06201e; }
.btn--pink { background: var(--neon-pink); color: #2a0a16; }
.btn--ghost { background: transparent; color: var(--chalk); border-color: var(--line); }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero { padding: 56px 0; border-bottom: 1px solid var(--line);
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(198,255,77,0.10), transparent 55%),
    radial-gradient(90% 80% at -5% 110%, rgba(56,225,214,0.10), transparent 55%); }
.hero p.lede { font-size: 1.2rem; color: var(--muted); max-width: 60ch; }

/* Cards / panels */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.grid { display: grid; gap: 16px; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid--2 { grid-template-columns: 1fr 1fr; } .grid--3 { grid-template-columns: repeat(3, 1fr); } }

/* Menu */
.menu-cat { margin-bottom: 26px; }
.menu-cat h2 { color: var(--neon-yellow); border-bottom: 2px solid var(--line); padding-bottom: 6px; }
.menu-item { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.menu-item:last-child { border-bottom: none; }
.menu-item .name { font-weight: 700; }
.menu-item .desc { color: var(--muted); font-size: 0.9rem; }
.menu-item .price { white-space: nowrap; font-weight: 800; color: var(--neon-lime); }
.menu-item .add { min-width: 90px; min-height: 40px; }

/* Cart / forms */
.field { margin-bottom: 14px; }
label { display: block; font-weight: 600; margin-bottom: 4px; }
input, select, textarea { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--panel-2); color: var(--chalk); font: inherit; }
textarea { min-height: 90px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cart-line { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.cart-line button { min-width: 36px; min-height: 36px; }
.totals { margin-top: 12px; font-size: 1.05rem; }
.totals .total { font-weight: 800; color: var(--neon-lime); }
.note { background: #20272d; border: 1px solid var(--line); border-left: 4px solid var(--neon-cyan); border-radius: 8px; padding: 12px; }
.error { background: #2a1a1f; border: 1px solid var(--neon-pink); border-left: 4px solid var(--neon-pink); border-radius: 8px; padding: 12px; }
.ok { background: #18261c; border: 1px solid var(--neon-lime); border-left: 4px solid var(--neon-lime); border-radius: 8px; padding: 12px; }

/* Tables (admin) */
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 8px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 0.95rem; }
.badge { display: inline-block; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; }
.badge--ok { background: #1f3a23; color: var(--neon-lime); }
.badge--pending { background: #3a341a; color: var(--neon-yellow); }
.badge--fail { background: #3a1a23; color: var(--neon-pink); }

/* Footer */
.site-footer { background: #0f1317; border-top: 1px solid var(--line); color: var(--muted); padding: 26px 0; }
.site-footer a { color: var(--neon-cyan); }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-bottom: 10px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
