:root{
  /* === PALETA: AZUL NOCHE PROFUNDO + ORO (TEMA OSCURO) === */
  --bg: #040d1f;       /* Azul muy oscuro para el fondo base */
  --card: rgba(17, 34, 64, 0.7); /* Azul translúcido para tarjetas y modales */
  --text: #ffffff;     /* Texto blanco puro para máxima legibilidad */
  --gold: #D4AF37;     /* Color Oro Metálico de la imagen */
  --accent: #D4AF37;   /* Acentos en Oro */
  --muted: #a8b2d1;    /* Azul-gris claro para descripciones */
  --container: 1000px;
  --border-color: #D4AF37; /* Borde de la página en Oro */
}

*{box-sizing:border-box}
html {height:100%;}
body{
  scroll-behavior: smooth;
  margin:0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  
  /* Gradiente radial para simular el brillo central de la imagen que enviaste */
  background: radial-gradient(circle at center, #113a7a 0%, #040d1f 100%);
  background-attachment: fixed; /* El fondo se queda quieto al hacer scroll */
  
  color:var(--text);
  -webkit-font-smoothing:antialiased;
  
  /* Borde de página Doble en ORO */
  border: 10px double var(--border-color);
  min-height: 100vh;
  padding: 10px;
}

@media(max-width: 767px) {
  body { border-width: 5px; padding: 5px; }
}

.container{max-width:var(--container);margin:0 auto;padding:0 15px}

/* HEADER */
.site-header{
  position: sticky;
  top: 0;
  z-index: 60;
  padding:15px 0; 
  backdrop-filter: blur(15px); 
  /* Fondo oscuro semi-transparente */
  background: rgba(4, 13, 31, 0.85); 
  border-bottom: 1px solid rgba(212, 175, 55, 0.3); /* Línea dorada sutil */
}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:10px}
.brand{display:flex;align-items:center;gap:8px; text-decoration: none;}
.logo{width:auto;height:40px;object-fit:cover;border-radius:4px} 

h1{
  font-family:"Inter", sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  margin:0;
  font-size:0.9rem;
  color:var(--text);
} 
.sub{
  margin:0;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.8rem;
  color:var(--gold); /* Subtítulo en dorado */
}

.main-nav{display:flex;gap:14px;align-items:center}
.main-nav a{color:var(--text);text-decoration:none;padding:6px 10px;border-radius:4px; font-weight: 600; font-size: 0.9rem; transition: color 0.3s;}
.main-nav a:hover { color: var(--gold); }

/* Botones */
.btn-outline{
  border:1px solid var(--gold);
  padding:5px 10px;
  text-decoration: none;
  border-radius: 50px; 
  color: var(--gold);
  text-transform: uppercase;
  font-size: 0.7rem;
  font-weight: 600;
  transition: all 0.2s;
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--bg);
}

.btn{
  background: var(--gold);
  color: var(--bg); /* Texto oscuro sobre el botón dorado */
  padding:6px 14px;
  border-radius: 50px; 
  text-decoration:none;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.7rem;
  transition: all 0.2s;
}
.btn:hover {
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.mobile-toggle{display:none;background:transparent;border:0;color:var(--gold);font-size:1.5rem; z-index: 101;}

/* === HERO SECTION === */
.hero{
  padding: 60px 0 40px 0; 
  color: var(--text); 
  text-align: center;
  position: relative;
}

/* Decoración de ondas en las esquinas del Hero */
.hero::before, .hero::after {
  content: "≈"; 
  position: absolute;
  color: var(--gold);
  font-size: 2rem;
  opacity: 0.6;
  font-weight: bold;
}
.hero::before { top: 10px; left: 20px; }
.hero::after { bottom: 10px; right: 20px; }

.hero-main-title {
  font-family: "Inter", sans-serif;
  font-size: 3rem; 
  color: var(--gold); /* Título principal en dorado */
  margin: 0 0 10px 0;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
  text-shadow: 0px 4px 15px rgba(212, 175, 55, 0.2);
}
.hero .lead{
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.3rem; 
  color: var(--muted); 
  margin: 5px auto; 
  max-width: 95%;
  line-height: 1.3;
} 
.hero-actions{margin-top: 25px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;}

/* INFO SECTION */
.info-section { padding: 20px 10px; }
.info-grid { display: flex; justify-content: center; }
.info-card { 
  background: var(--card);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(212, 175, 55, 0.3); /* Borde dorado translúcido */
  border-radius: 16px; 
  padding: 20px; 
  text-align: center; 
  width: 100%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
.info-card i { font-size: 1.5rem; color: var(--gold); margin-bottom: 8px; }
.info-card h3 { 
    font-family: "Inter", sans-serif;
    text-transform: uppercase; 
    font-size: 0.9rem; 
    margin: 0 0 5px 0; 
    color: var(--text); 
}
.info-card p { color: var(--muted); font-family: 'Cormorant Garamond', serif; font-size: 0.95rem; font-style: italic; margin: 0; }

/* CONTROLS */
.controls{display:flex;gap:8px;align-items:center;padding:15px 0; justify-content: center; flex-wrap: wrap;}
.controls input, .controls select{
  padding:8px 12px;
  border-radius: 50px; 
  border:1px solid rgba(212, 175, 55, 0.5); /* Bordes dorados */
  background: rgba(4, 13, 31, 0.6);
  color:var(--text);
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
}
.controls input::placeholder { color: var(--muted); }
.controls input:focus, .controls select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 8px rgba(212, 175, 55, 0.4); }
.controls input{flex-grow: 1; width: 100%;}
/* Arreglo de opciones del select en modo oscuro */
.controls select option { background: #040d1f; color: #fff; }

/* === MENU SECTION === */
.menu-section {
  margin-bottom: 50px;
}

/* --- TÍTULO CON ONDAS Y CÍRCULO --- */
.category-title {
  font-family: "Inter", sans-serif;
  color: var(--gold);
  font-size: 1.3rem;
  text-align: left;
  margin: 0 0 25px 0;
  font-weight: 800;
  text-transform: uppercase;
  
  display: flex;
  align-items: center;
  gap: 15px;
  white-space: nowrap;
}

/* AQUÍ ESTÁ EL SUBRAYADO DEL TEXTO (ONDULADO) */
.category-title span {
  display: inline-block;
  border-bottom: 2px solid transparent; 
  text-decoration: underline;
  text-decoration-style: wavy; 
  text-decoration-color: var(--gold); 
  text-underline-offset: 6px; 
  text-decoration-thickness: 1.5px;
}

/* EL CÍRCULO SEPARADOR (•) */
.category-title::before {
  content: "●"; 
  order: 1; 
  color: var(--gold); 
  font-size: 0.8rem;
  margin-right: -5px; 
}

/* EL SEPARADOR DE ONDAS LARGA */
.category-title::after {
  content: ""; 
  display: block;
  order: 2; 
  flex-grow: 1; 
  height: 10px;
  
  /* Onda larga en Oro (%23D4AF37) */
  background-image: url('data:image/svg+xml;utf8,<svg width="40" height="10" viewBox="0 0 40 10" xmlns="http://www.w3.org/2000/svg"><path d="M0 5 Q 10 0 20 5 T 40 5" stroke="%23D4AF37" fill="none" stroke-width="1.5"/></svg>');
  
  background-repeat: repeat-x;
  background-position: left center;
  opacity: 0.8;
}

/* Eliminamos decoraciones antiguas */
.category-title .deco-line { display: none; }


/* REJILLA: 2 Columnas */
.items-grid-classic {
  display: grid;
  grid-template-columns: 1fr 1fr; 
  column-gap: 20px; 
  row-gap: 20px; 
}

/* Item Individual */
.menu-item-classic {
  background: transparent;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column; 
  transition: background 0.3s;
}
.menu-item-classic:hover {
  background: rgba(212, 175, 55, 0.05); /* Efecto hover sutil dorado */
}

.item-header-row {
  display: flex;
  justify-content: space-between; 
  align-items: flex-start; 
  width: 100%;
}

.item-header-row h4 {
  font-family: "Inter", sans-serif;
  font-size: 0.85rem; 
  color: var(--text);
  margin: 0;
  font-weight: 600;
  text-transform: uppercase;
  padding-right: 5px;
  line-height: 1.3;
}

.item-header-row .price {
  font-family: "Inter", sans-serif;
  font-size: 0.9rem; 
  color: var(--gold); /* Precio en dorado para resaltar */
  font-weight: 700;
  white-space: nowrap; 
  text-align: right;
  margin-left: 5px;
}

.menu-item-classic .desc {
  font-family: "Cormorant Garamond", serif;
  font-size: 0.9rem;
  color: var(--muted);
  margin: 2px 0 0 0;
  line-height: 1.1;
  font-style: italic;
}

/* TAGS */
.menu-tag { 
  display: inline-block; 
  font-family: "Inter", sans-serif;
  font-size: 0.55rem; 
  font-weight: 700; 
  padding: 1px 5px; 
  border-radius: 10px; 
  text-transform: uppercase; 
  vertical-align: middle;
  border: 1px solid var(--gold); 
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold);
  margin-left: 5px; 
  line-height: 1;
}

/* RESPONSIVE */
@media(min-width:768px){
  body { border-width: 12px; padding: 20px; }
  
  .items-grid-classic {
    column-gap: 80px; 
    row-gap: 30px;
  }
  .hero-main-title { font-size: 4rem; }
  .controls input{ width: 300px; flex-grow: 0;}
  
  .menu-tag { font-size: 0.65rem; padding: 2px 8px;}
  .item-header-row h4 { font-size: 1rem; }
  .item-header-row .price { font-size: 1rem; }
}

@media(max-width:767px){
  .main-nav{display:none}
  .mobile-toggle{display:block}
  .footer-inner{flex-direction: column; text-align: center;}
  
  .item-header-row h4 { 
      word-wrap: break-word; 
      overflow-wrap: break-word;
  }
}

/* MAP & FOOTER */
.map-section { 
    padding: 40px 0; 
    border-top: 1px dashed rgba(212, 175, 55, 0.3); 
} 
.map-container { 
    border: 2px solid var(--gold); 
    border-radius: 12px; 
    overflow: hidden; 
    height: 300px;
    background: var(--card); 
    /* Quitamos el filtro gris para que el mapa se vea normal o puedes dejarle un filtro oscuro */
    filter: invert(90%) hue-rotate(180deg); /* Truco para volver el mapa de Google a modo oscuro */
}
.map-container iframe { width: 100%; height: 100%; border: 0; }

.site-footer{
  padding:30px 0;
  border-top: 1px dashed rgba(212, 175, 55, 0.3);
  margin-top:30px;
  color:var(--muted);
}
.footer-inner {display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px;}
.footer-links a { color: var(--gold); text-decoration: none; font-weight: 600; font-size: 0.9rem;}
.footer-contact-info { font-size: 0.8rem; margin: 5px 0 0 0; color: var(--text); }

/* MODAL */
.modal{position:fixed;inset:0;display:none;align-items:center;justify-content:center;background:rgba(0, 5, 15, 0.8);z-index:100; backdrop-filter: blur(8px);}
.modal-content{
  background: #0b192f; /* Fondo oscuro sólido para el modal */
  padding: 30px;
  border-radius: 20px; 
  max-width: 480px;
  width: 90%; 
  border: 2px solid var(--gold); /* Borde dorado brillante */
  color: var(--text);
  text-align: center;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.modal-close{background:transparent;border:0;color:var(--gold);font-size:1.5rem;position: absolute; top: 15px; right: 20px; cursor: pointer;}
.modal #modalTitle { 
    font-family: "Inter", sans-serif; 
    text-transform: uppercase; 
    margin-top: 0; 
    color: var(--gold);
    font-size: 1.2rem;
    padding-bottom: 10px;
    /* DIBUJO DE LA ONDA - ORO (%23D4AF37) */
    background-image: url('data:image/svg+xml;utf8,<svg width="40" height="10" viewBox="0 0 40 10" xmlns="http://www.w3.org/2000/svg"><path d="M0 5 Q 10 0 20 5 T 40 5" stroke="%23D4AF37" fill="none" stroke-width="1"/></svg>');
    background-repeat: repeat-x;
    background-position: bottom center;
    background-size: 20px 5px;
}
.modal #modalDesc { 
    color: var(--muted); 
    font-family: "Cormorant Garamond", serif; 
    font-style: italic; 
    font-size: 1.1rem;
    margin-top: 15px;
}
.modal #modalPrice { color: var(--text); font-size: 1.4rem; font-weight: 700; margin-bottom: 20px;}
.modal .btn { display: block; width: 100%; padding: 12px; border-radius: 50px; background: var(--gold); color: var(--bg);}

#backToTopBtn { 
    display: none; position: fixed; bottom: 20px; right: 20px; z-index: 99; border: none; background-color: var(--gold); color: var(--bg); cursor: pointer; padding: 0; border-radius: 50%; width: 40px; height: 40px; font-size: 18px; opacity: 0.9; box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.mobile-nav {
  display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; padding-top: 90px; background: rgba(4, 13, 31, 0.98); z-index: 50; text-align: center;
}
.mobile-nav-link {
  display: block; padding: 18px; color: var(--gold); text-decoration: none; font-size: 1.4rem; font-family: "Inter", sans-serif; font-weight: 700; text-transform: uppercase;
}
.menu-loader { color: var(--muted); text-align: center; padding: 40px; font-style: italic;}
a[href*="elfsight.com"] { display: none !important; }