﻿
    /* TOKENS */
    :root {
      --red:     #9D1F1B;
      --red-dk:  #781714;
      --gold:    #B88A3B;
      --gold-lt: #D8B66B;
      --cream:   #F5EFE4;
      --paper:   #FBF7F0;
      --ink:     #21170F;
      --ink-60:  rgba(33,23,15,.66);
      --ink-30:  rgba(33,23,15,.28);
      --sage:    #6D7C68;
      --white:   #fff;
      --border:  rgba(184,138,59,.18);
      --radius:  12px;
      --shadow:  0 10px 36px rgba(33,23,15,.08);
    }

    /* RESET */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; font-size: 16px; }
    body {
      position: relative;
      font-family: 'Noto Sans SC', 'Inter', sans-serif;
      background:
        radial-gradient(circle at top left, rgba(184,138,59,.08), transparent 28%),
        radial-gradient(circle at bottom right, rgba(125,45,36,.08), transparent 24%),
        var(--cream);
      color: var(--ink);
      line-height: 1.6;
      overflow-x: hidden;
    }
    body::before {
      content: '';
      position: fixed;
      inset: 0;
      pointer-events: none;
      background-image:
        linear-gradient(rgba(33,23,15,.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(33,23,15,.018) 1px, transparent 1px);
      background-size: 80px 80px;
      opacity: .45;
      mix-blend-mode: multiply;
    }
    img { display: block; max-width: 100%; }
    a { text-decoration: none; color: inherit; }
    button { font-family: inherit; cursor: pointer; border: none; background: none; }
    main { display: block; }

    .svg-sprite {
      position: absolute;
      width: 0;
      height: 0;
      overflow: hidden;
    }

    /* REVEAL ANIMATION */
    .reveal {
      opacity: 0;
      transform: translateY(28px);
      transition: opacity .65s ease, transform .65s ease;
    }
    .reveal.visible { opacity: 1; transform: none; }

    /* HEADER */
    header {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 40px;
      height: 64px;
      background: rgba(23,17,13,.9);
      backdrop-filter: blur(14px);
      border-bottom: 1px solid var(--border);
    }

    .header-logo {
      font-family: 'Noto Serif SC', serif;
      font-size: 1.15rem;
      color: var(--gold);
      letter-spacing: .04em;
      white-space: nowrap;
    }
    .header-logo span { color: var(--gold-lt); font-style: italic; }

    nav { display: flex; align-items: center; gap: 8px; }

    nav a {
      font-size: .82rem;
      font-weight: 500;
      letter-spacing: .08em;
      text-transform: uppercase;
      color: rgba(255,255,255,.75);
      padding: 6px 14px;
      border-radius: var(--radius);
      transition: color .2s, background .2s;
    }
    nav a:hover { color: var(--gold-lt); background: rgba(184,138,59,.1); }

    .btn-admin {
      font-size: .7rem;
      font-weight: 500;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: rgba(255,255,255,.2);
      padding: 5px 10px;
      border: 1px solid rgba(255,255,255,.08);
      border-radius: var(--radius);
      margin-left: 16px;
      transition: color .2s, border-color .2s;
    }
    .btn-admin:hover { color: rgba(255,255,255,.5); border-color: rgba(255,255,255,.2); }

    /* HERO */
    #inicio {
      position: relative;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 120px 24px 80px;
      overflow: hidden;
    }

    #inicio::before {
      content: '';
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse 72% 56% at 50% 28%, rgba(125,45,36,.18) 0%, transparent 68%),
        linear-gradient(160deg, #17110d 0%, #2b1d16 46%, #120d0a 100%);
      z-index: 0;
    }
    #inicio::after {
      content: '';
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(201,168,76,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201,168,76,.04) 1px, transparent 1px);
      background-size: 60px 60px;
      z-index: 0;
    }

    .hero-content { position: relative; z-index: 1; max-width: 780px; }

    .hero-badge {
      display: inline-block;
      font-size: .72rem;
      letter-spacing: .22em;
      text-transform: uppercase;
      color: var(--gold);
      border: 1px solid var(--border);
      padding: 6px 18px;
      border-radius: 40px;
      margin-bottom: 28px;
      opacity: 0;
      animation: fadeUp .8s .2s forwards;
    }

    .hero-title {
      font-family: 'Noto Serif SC', serif;
      font-size: clamp(2.8rem, 8vw, 5.5rem);
      font-weight: 700;
      line-height: 1.08;
      color: var(--white);
      margin-bottom: 12px;
      opacity: 0;
      animation: fadeUp .9s .35s forwards;
    }
    .hero-title em { display: block; font-style: italic; color: var(--gold); }

    .hero-subtitle {
      font-size: clamp(.95rem, 2vw, 1.15rem);
      font-weight: 300;
      color: rgba(255,255,255,.55);
      margin-bottom: 52px;
      opacity: 0;
      animation: fadeUp .9s .5s forwards;
    }

    .btn-hero {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-size: 1rem;
      font-weight: 600;
      letter-spacing: .06em;
      color: var(--ink);
      background: var(--gold);
      padding: 18px 48px;
      border-radius: var(--radius);
      transition: background .2s, transform .2s, box-shadow .2s;
      opacity: 0;
      animation: fadeUp .9s .65s forwards;
    }
    .btn-hero:hover {
      background: var(--gold-lt);
      transform: translateY(-2px);
      box-shadow: 0 12px 36px rgba(201,168,76,.35);
    }
    .btn-hero svg { width: 18px; height: 18px; transition: transform .2s; }
    .btn-hero:hover svg { transform: translateY(3px); }

    .lantern {
      position: absolute;
      width: 6px;
      border-radius: 3px;
      background: var(--gold);
      opacity: .18;
      animation: sway 4s ease-in-out infinite alternate;
    }
    .lantern::after {
      content: '';
      display: block;
      width: 14px;
      height: 20px;
      background: var(--red);
      border-radius: 3px;
      margin-top: 6px;
      margin-left: -4px;
      opacity: .7;
    }
    .l1 { top: 10%; left: 8%;  height: 40px; animation-delay: 0s;   }
    .l2 { top: 8%;  left: 20%; height: 55px; animation-delay: .5s;  }
    .l3 { top: 12%; right: 12%; height: 48px; animation-delay: 1s;  }
    .l4 { top: 6%;  right: 25%; height: 36px; animation-delay: 1.5s;}

    @keyframes sway {
      from { transform: rotate(-4deg); }
      to   { transform: rotate(4deg);  }
    }
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(20px); }
      to   { opacity: 1; transform: none; }
    }

    /* SECTION WRAPPER */
    section { padding: 100px 24px; }
    .section-inner { max-width: 1100px; margin: 0 auto; }

    .section-label {
      font-size: .72rem;
      font-weight: 600;
      letter-spacing: .22em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 12px;
    }
    .section-title {
      font-family: 'Noto Serif SC', serif;
      font-size: clamp(2rem, 5vw, 3.2rem);
      font-weight: 700;
      line-height: 1.15;
      color: var(--ink);
      margin-bottom: 20px;
    }
    .section-desc {
      font-size: 1.05rem;
      color: var(--ink-60);
      max-width: 560px;
      margin-bottom: 56px;
    }

    /* MENU TABS */
    #menu { background: var(--cream); }

    .tabs-bar {
      display: flex;
      gap: 4px;
      margin-bottom: 48px;
      background: rgba(26,16,8,.05);
      padding: 6px;
      border-radius: 8px;
      flex-wrap: wrap;
    }
    .tab-btn {
      flex: 1 1 auto;
      min-width: 120px;
      font-size: .82rem;
      font-weight: 500;
      letter-spacing: .06em;
      text-transform: uppercase;
      color: var(--ink-60);
      padding: 10px 20px;
      border-radius: 5px;
      transition: all .2s;
      text-align: center;
    }
    .tab-btn:hover { color: var(--ink); background: rgba(201,168,76,.12); }
    .tab-btn.active {
      background: var(--red);
      color: var(--white);
      box-shadow: 0 2px 12px rgba(181,22,27,.3);
    }

    .tab-panel { display: none; }
    .tab-panel.active { display: block; }

    /* MENús DEL DÍA */
    .menu-dia-wrapper {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
      align-items: start;
    }
    .menu-dia-card {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 32px;
      box-shadow: var(--shadow);
    }
    .menu-dia-card h3 {
      font-family: 'Noto Serif SC', serif;
      font-size: 1.4rem;
      color: var(--red);
      margin-bottom: 6px;
    }
    .menu-dia-card .price-tag {
      display: inline-block;
      font-size: .82rem;
      font-weight: 600;
      color: var(--gold);
      background: rgba(201,168,76,.1);
      border: 1px solid var(--border);
      padding: 3px 12px;
      border-radius: 40px;
      margin-bottom: 24px;
    }
    .menu-dia-course { margin-bottom: 20px; }
    .menu-dia-course h4 {
      font-size: .7rem;
      font-weight: 600;
      letter-spacing: .18em;
      text-transform: uppercase;
      color: var(--ink-60);
      margin-bottom: 8px;
      padding-bottom: 6px;
      border-bottom: 1px solid var(--border);
    }
    .menu-dia-course ul { list-style: none; }
    .menu-dia-course li {
      font-size: .92rem;
      color: var(--ink);
      padding: 5px 0;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .menu-dia-course li::before {
      content: '';
      width: 4px; height: 4px;
      background: var(--gold);
      border-radius: 50%;
      flex-shrink: 0;
    }
    .menu-dia-note {
      font-size: .78rem;
      color: var(--ink-60);
      font-style: italic;
      margin-top: 20px;
      padding-top: 16px;
      border-top: 1px dashed var(--border);
    }

    /* CARTA GENERAL */
    .carta-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 20px;
    }
    .carta-category {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 14px;
      padding: 28px;
      box-shadow: var(--shadow);
    }
    .carta-category h3 {
      font-family: 'Noto Serif SC', serif;
      font-size: 1.15rem;
      color: var(--ink);
      margin-bottom: 16px;
      padding-bottom: 12px;
      border-bottom: 2px solid var(--gold);
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .category-icon,
    .postre-icon {
      width: 34px;
      height: 34px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 999px;
      background: rgba(184,138,59,.1);
      color: var(--gold);
      flex: 0 0 auto;
    }
    .category-icon svg,
    .postre-icon svg {
      width: 20px;
      height: 20px;
      stroke: currentColor;
      fill: none;
    }
    .carta-item {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      padding: 7px 0;
      border-bottom: 1px dashed rgba(201,168,76,.15);
      gap: 12px;
    }
    .carta-item:last-child { border-bottom: none; }
    .carta-item-name { font-size: .9rem; color: var(--ink); }
    .carta-item-desc { font-size: .78rem; color: var(--ink-60); }
    .carta-item-price { font-size: .9rem; font-weight: 600; color: var(--red); white-space: nowrap; }

    /* MENús GRUPALES */  
    .grupos-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
      gap: 24px;
    }
    .grupo-card {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 8px;
      overflow: hidden;
      box-shadow: var(--shadow);
      transition: transform .2s, box-shadow .2s;
    }
    .grupo-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 40px rgba(26,16,8,.14);
    }
    .grupo-header { background: var(--red); padding: 24px 28px; color: var(--white); }
    .grupo-header h3 { font-family: 'Noto Serif SC', serif; font-size: 1.4rem; margin-bottom: 4px; }
    .grupo-header .grupo-people { font-size: .78rem; opacity: .75; letter-spacing: .06em; }
    .grupo-price { font-size: 2rem; font-weight: 700; color: var(--gold); margin-top: 8px; }
    .grupo-price span { font-size: .9rem; font-weight: 400; color: rgba(255,255,255,.6); }
    .grupo-body { padding: 24px 28px; }
    .grupo-body ul { list-style: none; }
    .grupo-body li {
      font-size: .88rem;
      color: var(--ink);
      padding: 5px 0;
      display: flex;
      gap: 8px;
    }
    .grupo-body li::before { content: '•'; color: var(--gold); font-weight: 700; }
    .grupo-note { font-size: .75rem; color: var(--ink-60); font-style: italic; margin-top: 16px; }

    /* BEBIDAS */
    .bebidas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
    .bebida-category {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 24px;
      box-shadow: var(--shadow);
    }
    .bebida-category h3 {
      font-family: 'Noto Serif SC', serif;
      font-size: 1rem;
      color: var(--ink);
      margin-bottom: 14px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .bebida-item {
      display: flex;
      justify-content: space-between;
      font-size: .88rem;
      padding: 5px 0;
      border-bottom: 1px dashed rgba(201,168,76,.15);
      color: var(--ink);
    }
    .bebida-item:last-child { border-bottom: none; }
    .bebida-item span:last-child { color: var(--red); font-weight: 600; }

    /* POSTRES */
    .postres-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
    .postre-card {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 28px;
      box-shadow: var(--shadow);
      text-align: center;
      transition: transform .2s;
    }
    .postre-card:hover { transform: translateY(-3px); }
    .postre-icon { margin: 0 auto 12px; }
    .postre-card h3 { font-family: 'Noto Serif SC', serif; font-size: 1.05rem; color: var(--ink); margin-bottom: 6px; }
    .postre-card p { font-size: .85rem; color: var(--ink-60); margin-bottom: 12px; }
    .postre-card .postre-price { font-size: 1rem; font-weight: 700; color: var(--red); }

    /* UBICACIÓN */
    #ubicacion { background: var(--ink); color: var(--white); }
    #ubicacion .section-title { color: var(--white); }
    #ubicacion .section-desc { color: rgba(255,255,255,.5); }

    .location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }

    .info-block { margin-bottom: 32px; }
    .info-block h4 {
      font-size: .7rem;
      font-weight: 600;
      letter-spacing: .2em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 8px;
    }
    .info-block p { font-size: .95rem; color: rgba(255,255,255,.75); line-height: 1.8; }
    .info-block a { color: var(--gold-lt); transition: color .2s; }
    .info-block a:hover { color: var(--gold); }

    .hours-grid {
      display: grid;
      gap: 14px;
    }
    .hours-card {
      border: 1px solid rgba(184,138,59,.18);
      border-radius: 12px;
      padding: 14px 16px;
      background: rgba(255,255,255,.03);
    }
    .hours-card h5 {
      font-size: .76rem;
      font-weight: 700;
      letter-spacing: .16em;
      text-transform: uppercase;
      color: var(--gold-lt);
      margin-bottom: 6px;
    }
    .hours-card p { font-size: .9rem; color: rgba(255,255,255,.72); }

    .map-placeholder {
      width: 100%;
      height: 300px;
      background: rgba(255,255,255,.04);
      border: 1px solid rgba(201,168,76,.2);
      border-radius: 8px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 12px;
      color: rgba(255,255,255,.3);
    }
    .map-placeholder svg { width: 40px; height: 40px; opacity: .4; }
    .map-placeholder p { font-size: .85rem; }
    .map-placeholder a {
      font-size: .8rem;
      color: var(--gold);
      border: 1px solid var(--border);
      padding: 8px 20px;
      border-radius: var(--radius);
      margin-top: 8px;
      transition: background .2s;
    }
    .map-placeholder a:hover { background: rgba(201,168,76,.1); }

    /* FOOTER */
    footer {
      background: #0E0804;
      padding: 32px 24px;
      text-align: center;
      border-top: 1px solid rgba(201,168,76,.1);
    }
    footer .footer-logo { font-family: 'Noto Serif SC', serif; font-size: 1rem; color: var(--gold); margin-bottom: 8px; }
    footer p { font-size: .75rem; color: rgba(255,255,255,.2); }

    /* LOGIN MODAL */
    .modal-overlay {
      position: fixed;
      inset: 0;
      background: rgba(10,5,2,.85);
      backdrop-filter: blur(6px);
      z-index: 1000;
      display: none;
      align-items: center;
      justify-content: center;
    }
    .modal-overlay.open { display: flex; }
    .modal {
      background: var(--white);
      border-radius: 8px;
      padding: 48px;
      width: 360px;
      max-width: 90vw;
      box-shadow: 0 24px 80px rgba(0,0,0,.4);
      position: relative;
      animation: modalIn .3s ease;
    }
    @keyframes modalIn {
      from { opacity: 0; transform: scale(.95) translateY(10px); }
      to   { opacity: 1; transform: none; }
    }
    .modal-close {
      position: absolute;
      top: 16px; right: 16px;
      font-size: 1.2rem;
      color: var(--ink-60);
      padding: 4px 8px;
      border-radius: var(--radius);
      transition: color .2s;
    }
    .modal-close:hover { color: var(--ink); }
    .modal h2 { font-family: 'Noto Serif SC', serif; font-size: 1.6rem; margin-bottom: 6px; }
    .modal p { font-size: .85rem; color: var(--ink-60); margin-bottom: 28px; }
    .form-group { margin-bottom: 18px; }
    .form-group label {
      display: block;
      font-size: .75rem;
      font-weight: 600;
      letter-spacing: .08em;
      text-transform: uppercase;
      color: var(--ink-60);
      margin-bottom: 6px;
    }
    .form-group input {
      width: 100%;
      padding: 10px 14px;
      font-size: .92rem;
      font-family: inherit;
      border: 1.5px solid var(--ink-30);
      border-radius: var(--radius);
      outline: none;
      transition: border-color .2s;
      color: var(--ink);
    }
    .form-group input:focus { border-color: var(--red); }
    .form-hint {
      margin-top: -6px;
      margin-bottom: 18px;
      font-size: .78rem;
      color: var(--ink-60);
    }
    .form-status {
      margin-top: 14px;
      font-size: .82rem;
      color: var(--red-dk);
      min-height: 1.1em;
    }
    .btn-login {
      width: 100%;
      background: var(--red);
      color: var(--white);
      font-size: .9rem;
      font-weight: 600;
      letter-spacing: .06em;
      padding: 12px;
      border-radius: var(--radius);
      margin-top: 8px;
      transition: background .2s;
    }
    .btn-login:hover { background: var(--red-dk); }

    /* RESPONSIVE */
    @media (max-width: 768px) {
      header { padding: 0 20px; }
      .header-logo { font-size: .95rem; }
      nav a { padding: 5px 10px; font-size: .78rem; }
      .btn-admin { margin-left: 6px; padding: 4px 8px; font-size: .65rem; }
      .menu-dia-wrapper { grid-template-columns: 1fr; }
      .location-grid { grid-template-columns: 1fr; }
      .tabs-bar { gap: 2px; }
      .tab-btn { font-size: .72rem; padding: 8px 12px; min-width: 90px; }
      .hero-title { font-size: clamp(2.4rem, 11vw, 4rem); }
    }
    @media (max-width: 480px) {
      section { padding: 72px 16px; }
      .carta-grid, .grupos-grid, .bebidas-grid, .postres-grid { grid-template-columns: 1fr; }
      .map-placeholder { height: 260px; }
    }
  
