/* =========================
   VARIABLES (COLORES Y BASE)
   ========================= */

   :root {
    --bg-main: #0f0f0f;          /* fondo principal */
    --bg-card: #161616;          /* cards */
    --bg-accent: #1f1f1f;
  
    --text-main: #ffffff;
    --text-muted: #b5b5b5;
  
    --primary: #c89b3c;          /* color principal (NO CAMBIAR SI YA LO TIENES) */
    --primary-hover: #ddb65a;
  
    --border-radius: 14px;
    --max-width: 1100px;
  }
  html {
    scroll-behavior: smooth; /* Deslizar suave al dar clic en enlaces */
  }
  
  /* El toque de Midas: Texto seleccionado en dorado */
  ::selection {
    background: var(--primary);
    color: #000;
    text-shadow: none;
  }
  
  /* Scrollbar de Lujo (Solo funciona en Chrome/Edge/Safari) */
  ::-webkit-scrollbar {
    width: 10px;
    background: #0f0f0f;
  }
  
  ::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 5px;
    border: 2px solid #0f0f0f; /* Crea un margen visual */
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background: var(--primary); /* Se ilumina al tocarlo */
  }
  /* =========================
     RESET BÁSICO
     ========================= */
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    background: var(--bg-main);
    color: var(--text-main);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
      sans-serif;
    line-height: 1.4;
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
  
  button {
    border: none;
    cursor: pointer;
    font-family: inherit;
  }
  
  /* =========================
     LAYOUT GENERAL
     ========================= */
  
  .container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
  }
  
  section {
    padding: 2.5rem 0;
  }
  
  /* =========================
     HEADER
     ========================= */
  
  .site-header {
    padding: 1.5rem 0;
    border-bottom: 1px solid #222;
  }
  
  .brand {
    font-size: 1.8rem;
    letter-spacing: 0.08em;
  }
  
  .brand-tagline {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
  }
  
  .back-link {
    display: inline-block;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
  }
  
  /* =========================
     HERO (INDEX)
     ========================= */
     .hero {
        /* Asegúrate de tener tu imagen real aquí */
        background: linear-gradient(to bottom, rgba(15,15,15,0.2), var(--bg-main)), 
                    url('../img/hero-bg.jpg'); 
        background-size: cover;
        background-position: center;
        
        /* EL TRUCO PARALLAX: */
        background-attachment: fixed; 
        
        padding-top: 8rem;
        padding-bottom: 6rem;
        text-align: center;
        position: relative;
        z-index: 1;
      }
  /* =========================
     CHOICES (INDEX)
     ========================= */
  
  .choices-grid {
    display: grid;
    gap: 1.5rem;
  }
  
  .choice-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: transform 0.2s ease;
  }
  
  .choice-card:hover {
    transform: translateY(-2px);
  }
  
  .choice-image {
    height: 160px;
    background: #222; /* imagen después */
  }
  
  .choice-content {
    padding: 1.2rem;
  }
  
  .choice-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
  }
  
  .choice-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
  }
  
  .choice-cta {
    display: inline-block;
    background: var(--primary);
    color: #000;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
  }
  
  .choice-cta:hover {
    background: var(--primary-hover);
  }
  
  /* =========================
     MENÚ (PÁGINAS DE COMIDA)
     ========================= */
  
  .menu-intro h2 {
    font-size: 1.6rem;
    margin-bottom: 0.4rem;
  }
  
  .menu-intro p {
    color: var(--text-muted);
    max-width: 500px;
  }
  
  .menu-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
  }
  
  .menu-item {
    background: var(--bg-card);
    padding: 1.3rem;
    border-radius: var(--border-radius);
  }
  
  .menu-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
  }
  
  .menu-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
  }
  
  .menu-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
  }
  
  .price {
    font-size: 1.1rem;
    font-weight: 700;
  }
  
  .menu-footer button {
    background: var(--primary);
    color: #000;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
  }
  
  .menu-footer button:hover {
    background: var(--primary-hover);
  }
  
  /* =========================
     CARRITO
     ========================= */
  
  .cart {
    border-top: 1px solid #222;
    margin-top: 3rem;
  }
  
  .cart h2 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }
  
  #cart-items {
    list-style: none;
    margin-bottom: 1rem;
  }
  
  #cart-items li {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    color: var(--text-muted);
  }
  
  .cart-total {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }
  
  .whatsapp-btn {
    width: 100%;
    background: var(--primary);
    color: #000;
    padding: 0.9rem;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 700;
  }
  
  .whatsapp-btn:hover {
    background: var(--primary-hover);
  }
  
  /* =========================
     NOTICE (INDEX)
     ========================= */
  
  .notice p {
    font-size: 0.85rem;
    color: var(--text-muted);
    max-width: 600px;
  }
  
  /* =========================
     FOOTER
     ========================= */
  
  .site-footer {
    padding: 2rem 0;
    border-top: 1px solid #222;
    margin-top: 3rem;
  }
  
  .site-footer p {
    font-size: 0.8rem;
    color: var(--text-muted);
  }
  
  /* =========================
     RESPONSIVE (DESKTOP)
     ========================= */
  
  @media (min-width: 768px) {
    .choices-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  
    .menu-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  
    .hero-title {
      font-size: 2.4rem;
    }
  }
  
  @media (min-width: 1024px) {
    .menu-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  /* =========================
   EFECTO FLIP (GIRATORIO)
   ========================= */

/* El contenedor principal ahora tiene perspectiva */
.menu-item {
    background-color: transparent; /* Quitamos fondo aquí, lo moveremos a las caras */
    padding: 0; /* Quitamos padding del contenedor */
    perspective: 1000px; /* Profundidad 3D */
    cursor: pointer;
    height: 350px; /* Altura fija necesaria para que las caras sean iguales */
  }
  
  /* El contenedor interno que realmente gira */
  .flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
  }
  
  /* Clase que activaremos con JS para girar */
  .menu-item.flipped .flip-card-inner {
    transform: rotateY(180deg);
  }
  
  /* Configuración común para Frente y Reverso */
  .flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: var(--border-radius);
    padding: 1.3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  /* ESTILO DEL FRENTE */
  .flip-card-front {
    background-color: var(--bg-card);
    border: 1px solid #222;
  }
  
  /* ESTILO DEL REVERSO (INGREDIENTES) */
  .flip-card-back {
    background-color: #222; /* Un poco más claro para diferenciar */
    color: white;
    transform: rotateY(180deg);
    border: 1px solid var(--primary); /* Borde dorado para resaltar */
  }
  
  .flip-card-back h3 {
    color: var(--primary);
    margin-bottom: 1rem;
  }
  
  .ingredients-list {
    text-align: left;
    font-size: 0.9rem;
    color: #ccc;
    line-height: 1.6;
  }
  
  .flip-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    opacity: 0.7;
  }
  
  /* =========================
     BOTÓN FLOTANTE (CART / WA)
     ========================= */
  
  .floating-cart-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary);
    color: #000;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(200, 155, 60, 0.4);
    z-index: 1000;
    cursor: pointer;
    transition: transform 0.2s;
    font-weight: bold;
    font-size: 1.5rem; /* Icono grande */
  }
  
  .floating-cart-btn:hover {
    transform: scale(1.1);
    background-color: var(--primary-hover);
  }
  
  .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: red;
    color: white;
    border-radius: 50%;
    padding: 2px 8px;
    font-size: 0.8rem;
    font-weight: bold;
  }
  /* =========================
   SIDE CART (CARRITO LATERAL)
   ========================= */

/* Fondo oscuro que cubre la web cuando abres el carrito */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(3px); /* Efecto borroso elegante */
  }
  
  .cart-overlay.open {
    opacity: 1;
    visibility: visible;
  }
  
  /* El panel lateral */
  .cart-sidebar {
    position: fixed;
    top: 0;
    right: -100%; /* Oculto a la derecha */
    width: 350px;
    max-width: 85%;
    height: 100vh;
    background: #1a1a1a;
    z-index: 2001;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1); /* Animación suave */
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 30px rgba(0,0,0,0.5);
    border-left: 1px solid #333;
  }
  
  .cart-sidebar.open {
    right: 0; /* Se muestra */
  }
  
  /* Cabecera del carrito */
  .cart-header {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
    background: #111;
  }
  
  .cart-header h2 {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.8rem;
    letter-spacing: 1px;
    color: #fff;
    margin: 0;
  }
  
  .close-cart {
    background: transparent;
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
  }
  
  /* Lista de productos con scroll */
  .cart-items-container {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
  }
  
  .cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #2a2a2a;
  }
  
  .cart-item-info h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
    color: #fff;
  }
  
  .cart-item-info span {
    color: var(--primary);
    font-weight: bold;
  }
  
  .remove-btn {
    color: #666;
    background: transparent;
    font-size: 1.5rem;
    padding: 0 0.5rem;
    transition: color 0.2s;
  }
  
  .remove-btn:hover {
    color: #ff4444;
  }
  
  /* Footer del carrito (Total y Botón) */
  .cart-footer {
    padding: 1.5rem;
    background: #111;
    border-top: 1px solid #333;
  }
  
  .cart-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #fff;
  }
  
  .cart-total-row span {
    font-weight: bold;
    color: var(--primary);
  }
  
  .checkout-btn {
    width: 100%;
    background: var(--primary);
    color: #000;
    padding: 1rem;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--border-radius);
    transition: transform 0.2s;
  }
  
  .checkout-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
  }
  /* =========================
   ANIMACIÓN PREMIUM: "SHOCKWAVE"
   ========================= */

/* Definimos el pseudo-elemento para la onda expansiva */
.floating-cart-btn::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 50%;
    border: 2px solid var(--primary); /* Anillo dorado */
    opacity: 0;
    z-index: -1; /* Se mueve detrás del botón */
    transform: scale(1);
  }
  
  /* Animación Física del Botón (Impulso + Rebote) */
  @keyframes premium-pop {
    0% { transform: scale(1); }
    20% { transform: scale(0.85); } /* Se contrae al recibir el "peso" del click */
    40% { transform: scale(1.15); box-shadow: 0 0 30px rgba(200, 155, 60, 0.7); } /* Explota con brillo */
    60% { transform: scale(0.95); } /* Rebote leve */
    80% { transform: scale(1.03); } /* Estabilización */
    100% { transform: scale(1); }
  }
  
  /* Animación de la Onda Expansiva */
  @keyframes shockwave {
    0% { transform: scale(1); opacity: 0.8; border-width: 4px; }
    100% { transform: scale(2.5); opacity: 0; border-width: 0px; }
  }
  
  /* CLASES ACTIVAS (Inyectadas por JS) */
  
  /* El botón hace el rebote elástico */
  .cart-bump {
    animation: premium-pop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }
  
  /* La onda sale disparada */
  .cart-bump::after {
    animation: shockwave 0.5s ease-out;
  }
  
  /* El numerito rojo solo hace un salto seco */
  @keyframes badge-jump {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); background: #ff4444; }
    100% { transform: scale(1); }
  }
  
  .badge-bump {
    animation: badge-jump 0.3s ease;
  }
  /* =========================
   CONTROLES DE CANTIDAD (ESTILO AMAZON)
   ========================= */

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
    border-bottom: 1px solid #2a2a2a;
  }
  
  .cart-item-info {
    flex: 1;
    padding-right: 1rem;
  }
  
  .cart-item-info h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
    color: #fff;
  }
  
  .cart-item-info .item-price {
    color: var(--primary);
    font-weight: bold;
    font-size: 0.95rem;
  }
  
  /* El stepper ( - 1 + ) */
  .qty-controls {
    display: flex;
    align-items: center;
    background: #252525;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #333;
  }
  
  .qty-btn {
    background: transparent;
    color: #fff;
    border: none;
    width: 32px;
    height: 32px;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
  }
  
  .qty-btn:hover {
    background: #333;
    color: var(--primary);
  }
  
  .qty-number {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    width: 25px;
    text-align: center;
    color: #fff;
  }
  /* =========================
   ANIMACIONES DE ENTRADA
   ========================= */

/* Definimos el movimiento: empieza invisible y abajo, termina visible y en su sitio */
@keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Clase base para animar */
  .animate-enter {
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; /* Curva suave */
    opacity: 0; /* Oculto al inicio */
  }
  
  /* Retrasos (Stagger): Para que no aparezcan todos a la vez, sino uno tras otro */
  .delay-1 { animation-delay: 0.1s; }
  .delay-2 { animation-delay: 0.2s; }
  .delay-3 { animation-delay: 0.3s; }
  
  /* Aplicamos esto a la grilla del menú */
  .menu-grid .menu-item:nth-child(1) { animation-delay: 0.1s; }
  .menu-grid .menu-item:nth-child(2) { animation-delay: 0.2s; }
  .menu-grid .menu-item:nth-child(3) { animation-delay: 0.3s; }
  .menu-grid .menu-item:nth-child(4) { animation-delay: 0.4s; }
  .menu-grid .menu-item:nth-child(5) { animation-delay: 0.5s; }
  .menu-grid .menu-item:nth-child(6) { animation-delay: 0.6s; }
  /* Busca tu clase .site-header y cámbiala por esto */
.site-header {
    padding: 1rem 0;
    position: sticky; /* Se pega al techo */
    top: 0;
    z-index: 1000; /* Por encima de todo */
    background: rgba(15, 15, 15, 0.85); /* Tu color de fondo con transparencia */
    backdrop-filter: blur(10px); /* EL TRUCO DE MAGIA: Efecto vidrio borroso */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
  }
  .hero {
    /* Añade una imagen de fondo real aquí */
    background: linear-gradient(to bottom, rgba(15,15,15,0.3), var(--bg-main)), 
                url('../img/hero-bg.jpg'); /* ¡Necesitas subir esta foto! */
    background-size: cover;
    background-position: center;
    padding-top: 6rem; /* Más aire arriba */
    padding-bottom: 4rem;
    text-align: center;
  }
  /* =========================
   ESTILOS DEL MODAL (CAMBIO DE CATEGORÍA)
   ========================= */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 3000; /* Por encima del carrito lateral */
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Estado inicial: oculto */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  
  .modal-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  
  .modal-content {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid #333;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }
  
  .modal-overlay.active .modal-content {
    transform: translateY(0);
  }
  
  .modal-content h3 {
    color: var(--primary);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
  }
  
  .modal-content p {
    color: #ccc;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
  }
  
  .modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
  }
  
  .btn-cancel, .btn-confirm {
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
  }
  
  .btn-cancel {
    background: transparent;
    border: 1px solid #444;
    color: #aaa;
  }
  
  .btn-cancel:hover {
    border-color: #fff;
    color: #fff;
  }
  
  .btn-confirm {
    background: var(--primary);
    border: none;
    color: #000;
  }
  
  .btn-confirm:hover {
    background: var(--primary-hover);
    transform: scale(1.05);
  }
  /* =========================
   PACTO KANON (Brand Values)
   ========================= */
.pacto-kanon {
    background: #111;
    padding: 4rem 0;
    border-top: 1px solid #222;
  }
  
  .pacto-grid {
    display: grid;
    gap: 2rem;
    text-align: center;
  }
  
  .pacto-item {
    background: var(--bg-accent); /* Un gris muy sutil */
    padding: 2rem;
    border-radius: var(--border-radius);
    transition: transform 0.3s ease;
    border: 1px solid transparent;
  }
  
  .pacto-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary); /* Borde dorado al pasar el mouse */
  }
  
  .pacto-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
  }
  
  .pacto-item h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1px;
  }
  
  .pacto-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  @media (min-width: 768px) {
    .pacto-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  /* =========================
   COBERTURA (Delivery Zone)
   ========================= */
.coverage-zone {
    padding: 4rem 0;
    background: var(--bg-main);
    overflow: hidden; /* Para que la animación no rompa el ancho */
  }
  
  .coverage-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
  }
  
  .coverage-text {
    text-align: center;
    max-width: 500px;
  }
  
  .coverage-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #fff;
  }
  
  .zones-list {
    list-style: none;
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  
  .zones-list li {
    background: #222;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid #333;
  }
  
  /* Visual del Radar (Animación pura CSS) */
  .coverage-map-visual {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .radar-center {
    font-size: 3rem;
    z-index: 2;
  }
  
  .radar-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary);
    border-radius: 50%;
    opacity: 0;
    animation: pulse-radar 2s infinite;
  }
  
  /* Creamos un segundo círculo con retraso para efecto onda */
  .radar-circle::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border: 2px solid var(--primary);
    border-radius: 50%;
    animation: pulse-radar 2s infinite 0.6s;
  }
  
  @keyframes pulse-radar {
    0% { transform: scale(0.5); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
  }
  
  @media (min-width: 768px) {
    .coverage-content {
      flex-direction: row;
      justify-content: space-between;
      text-align: left;
    }
    .coverage-text { text-align: left; }
    .zones-list { justify-content: flex-start; }
  }
  /* =========================
   FAQ (ACORDEÓN)
   ========================= */
.faq-section {
    background: #0f0f0f;
    padding: 4rem 0;
    border-top: 1px solid #222;
  }
  
  .faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .faq-item {
    background: var(--bg-card);
    border-radius: 8px;
    border: 1px solid #222;
    overflow: hidden;
    transition: all 0.3s ease;
  }
  
  .faq-item[open] {
    border-color: var(--primary); /* Se pone dorado al abrir */
  }
  
  .faq-item summary {
    padding: 1.2rem;
    cursor: pointer;
    font-weight: 600;
    list-style: none; /* Oculta el triángulo default feo */
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  /* Triangulito personalizado */
  .faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: bold;
    transition: transform 0.3s;
  }
  
  .faq-item[open] summary::after {
    transform: rotate(45deg); /* Se convierte en X al abrir */
  }
  
  .faq-item p {
    padding: 0 1.2rem 1.2rem 1.2rem;
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
    border-top: 1px solid #222;
    margin-top: 0;
    padding-top: 1rem;
  }
  /* =========================
   FOOTER PRO
   ========================= */
.site-footer-pro {
    background: #000;
    padding: 4rem 0 2rem 0;
    border-top: 1px solid #333;
    font-size: 0.9rem;
  }
  
  .footer-grid {
    display: grid;
    gap: 3rem;
    margin-bottom: 3rem;
  }
  
  .footer-col h4 {
    color: #fff;
    margin-bottom: 1.2rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  .footer-desc {
    color: #888;
    margin: 1rem 0;
    max-width: 300px;
    line-height: 1.6;
  }
  
  .footer-col ul {
    list-style: none;
  }
  
  .footer-col ul li {
    margin-bottom: 0.8rem;
  }
  
  .footer-col ul li a {
    color: #888;
    transition: color 0.2s;
  }
  
  .footer-col ul li a:hover {
    color: var(--primary);
  }
  
  .social-links {
    display: flex;
    gap: 1rem;
  }
  
  .social-links a {
    color: #fff;
    font-weight: 600;
  }
  
  .footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #1a1a1a;
    color: #555;
    font-size: 0.8rem;
  }
  
  @media (min-width: 768px) {
    .footer-grid {
      grid-template-columns: 2fr 1fr 1fr;
    }
  }
  /* =========================
   PÁGINA DE SOPORTE (FAQ)
   ========================= */
.faq-page-content {
    padding: 4rem 0;
    min-height: 60vh;
  }
  
  .faq-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    font-family: 'Bebas Neue', sans-serif;
    color: #fff;
  }
  
  .faq-grid {
    display: grid;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .faq-item {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #333;
  }
  
  .faq-item h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #333;
    padding-bottom: 0.5rem;
    font-size: 1.3rem;
  }
  
  .faq-item p {
    margin-bottom: 1.5rem;
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  .help-cta {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #222;
  }
  
  .btn-help {
    background: #fff;
    color: #000;
    padding: 1rem 2rem;
    border-radius: 999px;
    font-weight: 700;
    margin-top: 1rem;
    transition: transform 0.2s;
  }
  
  .btn-help:hover {
    transform: scale(1.05);
    background: var(--primary);
  }
  /* =========================
   COOKIE BANNER
   ========================= */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #111;
    border-top: 1px solid var(--primary);
    padding: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    z-index: 5000; /* Encima de todo */
    transform: translateY(100%); /* Oculto abajo */
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  }
  
  .cookie-banner.show {
    transform: translateY(0);
  }
  
  .cookie-banner p {
    font-size: 0.9rem;
    color: #ccc;
    max-width: 600px;
  }
  
  .btn-accept {
    background: var(--primary);
    color: #000;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    font-weight: 700;
    white-space: nowrap;
  }
  
  @media (max-width: 768px) {
    .cookie-banner {
      flex-direction: column;
      text-align: center;
      gap: 1rem;
      padding-bottom: 5rem; /* Espacio para el botón flotante del carrito */
    }
  }
/* Animación de Resplandor Metálico */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
  }
  
  .shimmer-btn {
    position: relative;
    overflow: hidden;
    background: linear-gradient(
      90deg, 
      var(--primary) 0%, 
      #ffeeb0 50%, /* Color más claro en medio (brillo) */
      var(--primary) 100%
    );
    background-size: 200% auto;
    animation: shimmer 4s infinite linear; /* Lento y constante */
    box-shadow: 0 0 20px rgba(200, 155, 60, 0.4);
    border: none;
    color: #000;
    font-weight: 800;
    text-transform: uppercase;
  }
  /* Efecto para enlaces del menú y footer */
.footer-col ul li a,
.site-header a:not(.brand):not(.back-link) {
  position: relative;
  display: inline-block;
  transition: color 0.3s ease;
}

.footer-col ul li a::after,
.site-header a:not(.brand):not(.back-link)::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: var(--primary);
  transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.footer-col ul li a:hover::after,
.site-header a:not(.brand):not(.back-link):hover::after {
  width: 100%; /* La línea crece de 0 a 100% */
}
/* =========================
   TEXTURA PREMIUM (RUIDO)
   ========================= */

/* Esto crea una capa invisible de "granulado" sobre toda la web */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Deja dar clic a lo de abajo */
    z-index: 9999;
    opacity: 0.03; /* Muy sutil, apenas perceptible */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  }
  /* =========================
   OPTIMIZACIÓN MÓVIL (IOS FIX)
   ========================= */
@media (max-width: 768px) {
    .hero, .choice-image {
      background-attachment: scroll !important; /* Desactiva parallax en móvil para evitar bugs */
      background-position: center !important;
    }
    
    /* Hacemos los botones un poco más grandes para dedos gordos */
    button, .choice-cta {
      min-height: 44px; 
    }
  }
  /* =========================
   ANIMACIÓN PREMIUM: CATEGORÍAS (INDEX)
   ========================= */

.choice-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden; /* IMPORTANTE: Mantiene el zoom dentro de la tarjeta */
    border: 1px solid #222; /* Borde oscuro inicial */
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); /* Movimiento "sedoso" tipo Apple */
    position: relative;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    cursor: pointer;
  }
  
  .choice-image {
    height: 220px; /* Le damos buena altura para lucir la foto */
    background-size: cover;
    background-position: center;
    /* El secreto: Transición lenta y diferente al contenedor */
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); 
  }
  
  .choice-content {
    padding: 1.5rem;
    position: relative;
    z-index: 2;
    background: var(--bg-card); /* Asegura que el texto tenga fondo sólido */
  }
  
  /* --- LA MAGIA AL PASAR EL MOUSE / DEDO --- */
  
  .choice-card:hover {
    transform: translateY(-8px); /* Flota hacia arriba */
    border-color: var(--primary); /* Se enciende el borde dorado */
    box-shadow: 0 20px 40px rgba(0,0,0,0.6); /* Sombra profunda de "elevación" */
  }
  
  .choice-card:hover .choice-image {
    transform: scale(1.1); /* Zoom in sutil a la foto (10%) */
  }
  
  /* Opcional: Hace que el botón también brille al hacer hover en la tarjeta completa */
  .choice-card:hover .choice-cta {
    background: var(--primary-hover);
    transform: scale(1.05);
  }
  /* =========================
   ANIMACIÓN DINÁMICA: TARJETAS DEL INDEX
   ========================= */

/* 1. Estado Normal (Quieto) */
.choice-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden; /* Importante para que el zoom no se salga del cuadro */
    border: 1px solid #222;
    position: relative;
    
    /* Aquí definimos la velocidad de la subida (0.4s es suave) */
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3); /* Sombra normal */
  }
  
  .choice-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    /* La imagen se mueve a otra velocidad para efecto 3D */
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  
  /* 2. Estado Activo (Cuando pasas el mouse/dedo) */
  .choice-card:hover {
    /* ¡ESTA LÍNEA ES LA CLAVE! El -8px hace que suba */
    transform: translateY(-8px); 
    
    border-color: var(--primary); /* Se pone dorado */
    
    /* La sombra crece hacia abajo, aumentando la sensación de altura */
    box-shadow: 0 20px 40px rgba(0,0,0,0.6); 
  }
  
  /* Al mismo tiempo, hacemos zoom a la foto */
  .choice-card:hover .choice-image {
    transform: scale(1.1); /* Zoom al 110% */
  }
  
  /* Y el botón también reacciona */
  .choice-card:hover .choice-cta {
    background: var(--primary-hover);
    transform: scale(1.05);
  }
  /* =========================
   ANIMACIÓN FORZADA (MARTILLO) 🔨
   ========================= */

/* 1. El Movimiento del Cuadro */
.choice-card {
    /* Preparamos la animación suave */
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), 
                box-shadow 0.4s ease, 
                border-color 0.3s ease !important;
    /* Estado inicial firme */
    transform: translateY(0); 
  }
  
  /* 2. La Reacción al Mouse (Hover) */
  .choice-card:hover {
    /* ¡ESTO LO LEVANTA! (El !important obliga al navegador) */
    transform: translateY(-12px) !important; 
    
    /* Sombra profunda para que parezca que vuela alto */
    box-shadow: 0 25px 50px rgba(0,0,0,0.6) !important; 
    
    /* Borde dorado */
    border-color: var(--primary) !important;
    
    /* Asegura que quede por encima de todo */
    z-index: 10; 
  }
  
  /* 3. El Zoom de la Foto */
  .choice-image {
    transition: transform 0.8s ease !important;
  }
  
  .choice-card:hover .choice-image {
    transform: scale(1.15) !important; /* Zoom al 115% */
  }
  
  /* 4. El Botón también reacciona */
  .choice-card:hover .choice-cta {
    background: var(--primary-hover) !important;
    transform: scale(1.1) !important;
  }
  /* =========================
   ANIMACIÓN TIPO "PACTO" (RÁPIDA Y SENCILLA) ⚡
   ========================= */

/* 1. El Movimiento del Cuadro */
.choice-card {
    /* Usamos 0.3s ease, exactamente igual que la sección de abajo */
    transition: transform 0.3s ease, 
                box-shadow 0.3s ease, 
                border-color 0.3s ease !important;
    transform: translateY(0); 
  }
  
  /* 2. La Reacción al Hover */
  .choice-card:hover {
    /* Subida de 5px (Idéntica al Pacto) */
    transform: translateY(-5px) !important; 
    
    /* Borde dorado instantáneo */
    border-color: var(--primary) !important;
    
    /* Sombra sólida pero no exagerada */
    box-shadow: 0 10px 20px rgba(0,0,0,0.5) !important; 
    z-index: 10; 
  }
  
  /* 3. La Foto (Sincronizada) */
  .choice-image {
    /* Quitamos el retardo para que responda al instante */
    transition: transform 0.3s ease !important;
  }
  
  .choice-card:hover .choice-image {
    transform: scale(1.05) !important; /* Zoom muy pequeño (5%) */
  }
  
  /* 4. El Botón */
  .choice-cta {
    transition: all 0.3s ease !important;
  }
  
  .choice-card:hover .choice-cta {
    background: var(--primary-hover) !important;
    transform: scale(1.05) !important;
  }
  /* =========================
   ANIMACIÓN "INERCIA PREMIUM" (DEFINITIVA) ✨
   ========================= */

/* 1. Estado Base (El secreto es la curva cubic-bezier) */
.choice-card {
    /* 0.6 segundos es el punto exacto: ni rápido ni lento. */
    /* La curva (0.16, 1, 0.3, 1) crea ese frenado de lujo */
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.4s ease !important;
    
    transform: translateY(0);
    position: relative;
    z-index: 1;
  }
  
  /* 2. El Hover (Sutil pero firme) */
  .choice-card:hover {
    /* Se levanta lo justo para notar el "peso" */
    transform: translateY(-6px) !important;
    
    /* Sombra difusa que da profundidad real */
    box-shadow: 0 15px 30px rgba(0,0,0,0.4) !important;
    
    /* Borde dorado */
    border-color: var(--primary) !important;
    z-index: 10;
  }
  
  /* 3. La Foto (Zoom independiente) */
  .choice-image {
    /* La foto se mueve un poco más lento que la tarjeta para dar efecto 3D */
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }
  
  .choice-card:hover .choice-image {
    transform: scale(1.08) !important; /* Zoom del 8%, elegante y no intrusivo */
  }
  
  /* 4. El Botón */
  .choice-cta {
    transition: all 0.5s ease !important;
  }
  
  .choice-card:hover .choice-cta {
    background: var(--primary-hover) !important;
    transform: scale(1.05) !important;
  }
  /* =========================
   ANIMACIÓN COPIA FIEL "NUESTRO PACTO"
   ========================= */

/* 1. Estado Normal (Igual que .pacto-item) */
.choice-card {
    /* Copia exacta de la transición de los bloques de abajo */
    transition: transform 0.3s ease, border-color 0.3s ease !important;
    
    /* Mantenemos el borde base */
    border: 1px solid #222;
    position: relative;
    z-index: 1;
  }
  
  /* 2. Estado Hover (Igual que .pacto-item:hover) */
  .choice-card:hover {
    /* Se mueve exactamente la misma distancia (-5px) */
    transform: translateY(-5px) !important;
    
    /* El mismo color de borde */
    border-color: var(--primary) !important;
    
    /* Mantenemos la sombra sutil original, sin expandirla */
    box-shadow: 0 4px 10px rgba(0,0,0,0.3); 
  }
  
  /* 3. Limpieza de efectos extra (Para que no haga cosas raras) */
  .choice-image, .choice-cta {
    transition: none !important;
    transform: none !important;
  }
  
  .choice-card:hover .choice-image,
  .choice-card:hover .choice-cta {
    transform: none !important;
  }
  /* =========================
   ANIMACIÓN CHOICE CARDS (Estilo Pacto)
   ========================= */

/* 1. Configuración Base (Igual a .pacto-item) */
.choice-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid #222; /* Borde oscuro base */
    position: relative;
    
    /* La misma velocidad y curva que "Nuestro Pacto" */
    transition: transform 0.3s ease, border-color 0.3s ease;
    transform: translateY(0);
  }
  
  /* 2. Hover (Interacción) */
  .choice-card:hover {
    /* Misma elevación que el pacto */
    transform: translateY(-5px) !important;
    
    /* Mismo cambio de borde a dorado */
    border-color: var(--primary) !important;
  }
  
  /* 3. LIMPIEZA (Congelar imagen y botón) */
  /* Esto asegura que NADA más se mueva o cambie de color */
  
  .choice-card .choice-image, 
  .choice-card .choice-cta {
    transition: none !important; 
    transform: none !important;
  }
  
  .choice-card:hover .choice-image {
    /* IMPORTANTE: No tocamos el background para que se vea la foto */
    transform: none !important;
    filter: none !important;
  }
  
  .choice-card:hover .choice-cta {
    /* El botón se queda quieto en su sitio */
    transform: none !important;
  }
  /* =========================
   ANIMACIÓN CHOICE CARDS (Copia exacta de "Pacto")
   ========================= */

/* 1. Estilos Base */
.choice-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid #222; /* Borde base oscuro */
    position: relative;
  
    /* LA ANIMACIÓN: Copiada de .pacto-item */
    /* Misma velocidad (0.3s) y curva (ease) */
    transition: transform 0.3s ease, border-color 0.3s ease;
    transform: translateY(0);
  }
  
  /* 2. Comportamiento al Hover */
  .choice-card:hover {
    /* Se eleva -5px (Igual que el pacto) */
    transform: translateY(-5px) !important;
  
    /* El borde se pone dorado */
    border-color: var(--primary) !important;
    
    /* Sin cambios de sombra ni rellenos de color extraños */
  }
  
  /* 3. LIMPIEZA TOTAL (Congelar hijos) */
  /* Esto garantiza que la imagen y el botón NO se muevan ni cambien de tamaño */
  
  .choice-image, 
  .choice-cta {
    transition: none !important;
    transform: none !important;
  }
  
  .choice-card:hover .choice-image {
    transform: none !important; /* Evita el zoom */
    filter: none !important;    /* Evita cambios de brillo/color */
  }
  
  .choice-card:hover .choice-cta {
    transform: none !important; /* El botón se queda quieto */
  }
  /* =========================
   ANIMACIÓN PREMIUM: PLATILLOS DEL MENÚ
   (Sincronizada con Choice Cards y Pacto)
   ========================= */

/* 1. Contenedor Principal (El que se mueve) */
.menu-item {
    /* Mantenemos la perspectiva 3D original */
    perspective: 1000px; 
    cursor: pointer;
    
    /* Agregamos la transición suave de movimiento */
    transition: transform 0.3s ease !important;
  }
  
  /* 2. Efecto de Elevación (Hover) */
  .menu-item:hover {
    transform: translateY(-5px) !important; /* Sube igual que las otras tarjetas */
    z-index: 10; /* Se pone por encima de sus vecinos */
  }
  
  /* 3. Caras de la Tarjeta (Frente y Reverso) */
  /* Aquí es donde controlamos el borde dorado */
  .flip-card-front,
  .flip-card-back {
    /* Transición suave para el color del borde */
    transition: border-color 0.3s ease !important;
    
    /* Aseguramos que el borde base exista */
    border: 1px solid #222; 
  }
  
  /* 4. Cambio de Borde al Hover */
  /* Cuando tocas el .menu-item, las caras internas se iluminan */
  .menu-item:hover .flip-card-front,
  .menu-item:hover .flip-card-back {
    border-color: var(--primary) !important;
    /* IMPORTANTE: No tocamos background ni opacity para no tapar nada */
  }
  /* =========================
   BASE PARA TILT JS (PLATILLOS)
   ========================= */

.menu-item {
    /* La perspectiva es vital para el efecto 3D */
    perspective: 1000px; 
    cursor: pointer;
    position: relative;
    z-index: 1;
    /* Quitamos cualquier transition aquí, el JS la controla */
    transition: transform 0.5s ease-out; 
    border-radius: var(--border-radius);
  }
  
  /* Solo dejamos el cambio de borde y sombra, el movimiento es del JS */
  .menu-item:hover .flip-card-front,
  .menu-item:hover .flip-card-back {
    border-color: var(--primary) !important;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5); /* Sombra profunda estática */
  }
  
  /* Aseguramos que el contenido interno tenga la estructura correcta */
  .flip-card-inner {
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
  }
  /* =========================
   TOAST NOTIFICATION (CONFIRMACIÓN)
   ========================= */
#toast-container {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 6000; /* Encima de todo */
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none; /* Click through */
  }
  
  .toast {
    background: rgba(15, 15, 15, 0.95);
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    border: 1px solid var(--primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transform: translateY(20px);
    animation: toast-in-out 3s ease forwards;
  }
  
  .toast span { color: var(--primary); }
  
  @keyframes toast-in-out {
    0% { opacity: 0; transform: translateY(20px); }
    10% { opacity: 1; transform: translateY(0); }
    90% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-20px); }
  }
  /* Esto crea un efecto de "esqueleto" elegante mientras carga la imagen real */
.choice-image, .flip-card-front {
    background-color: #1a1a1a;
    /* Un patrón sutil de espera */
    background-image: linear-gradient(45deg, #1a1a1a 25%, #222 25%, #222 50%, #1a1a1a 50%, #1a1a1a 75%, #222 75%, #222 100%);
    background-size: 20px 20px;
  }
  /* Centrado del contenedor del Header */
.site-header .container {
  display: flex;
  justify-content: center; /* Centra horizontalmente */
  align-items: center;     /* Centra verticalmente */
  width: 100%;
}
/* Ajuste de tamaño del logo */
.brand-logo {
  max-width: 180px; /* Ajusta este valor según el tamaño que prefieras (ej. 150px o 200px) */
  height: auto;     /* Mantiene la proporción correcta */
  display: block;   /* Elimina espacios extraños debajo de la imagen */
}
.brand-logo {
  max-width: 150px; /* Ajusta el tamaño del logo según gustes */
  height: auto;
  display: block;   /* IMPORTANTE: Esto elimina espacios vacíos debajo de la imagen */
}
.site-header {
  /* CAMBIO AQUÍ: Reduce de 1rem a 0.3rem (o 0.5rem si prefieres un poco más de aire) */
  padding: 0.3rem 0; 
  
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 15, 15, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}