/* ============================================================
   preguntas.css · LAS DUDAS DE SIEMPRE
   Una fila chica dentro de la carta; las respuestas viven en una
   hoja que se abre encima. Misma piel que la carta.
   ============================================================ */

/* ── La entrada, con las palabras de la portada ── */
#preguntas { max-width: 1200px; margin: 0 auto; padding: 18px 16px 34px; }
.faq-portada {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  text-align: center; padding: 26px 18px 28px;
  background: radial-gradient(ellipse at 50% 0%, rgba(245,197,24,.10), transparent 60%), var(--bg-card, #111);
  border: 1px solid var(--border, rgba(255,255,255,.07));
  border-radius: 20px;
}
.faq-portada-frase {
  margin: 0;
  font-family: var(--font-cond, 'Barlow Condensed', sans-serif);
  font-size: 12px; font-weight: 800; letter-spacing: 3px; text-transform: uppercase;
  color: var(--brand-yellow, #F5C518);
}
.faq-portada-titular {
  margin: 0;
  font-family: var(--font-display, 'Bebas Neue', sans-serif);
  font-size: clamp(38px, 9vw, 56px); line-height: .95; letter-spacing: 1px;
  color: #fff; text-wrap: balance;
}
.faq-portada-titular span {
  color: var(--brand-yellow, #F5C518);
  box-shadow: inset 0 -3px 0 rgba(245,197,24,.45);
}
.faq-portada-sub {
  margin: 4px 0 8px; max-width: 460px;
  font-size: 14.5px; line-height: 1.45; color: var(--text-off, #B8B8B8);
}
/* El sello, como "Ver ubicación": recto, con el "?" adentro. */
.faq-sello {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 46px; padding: 10px 20px 10px 12px;
  background: transparent; border: 2px solid var(--brand-yellow, #F5C518); border-radius: 4px;
  box-shadow: inset 0 0 0 1px rgba(245,197,24,.18);
  font-family: var(--font-cond, 'Barlow Condensed', sans-serif);
  font-size: 15px; font-weight: 900; letter-spacing: 3px; text-transform: uppercase;
  color: var(--brand-yellow, #F5C518); cursor: pointer;
  transform: rotate(-1.5deg);
  transition: transform .3s cubic-bezier(.4,0,.2,1), background .3s ease, color .3s ease;
}
.faq-sello .faq-q { width: 26px; height: 26px; font-size: 16px; }
.faq-sello:hover, .faq-sello:focus-visible { transform: rotate(0) scale(1.03); background: var(--brand-yellow, #F5C518); color: #080808; }
.faq-sello:hover .faq-q { background: #080808; color: var(--brand-yellow, #F5C518); }

/* El "?" redondo, el mismo en todos lados. */
.faq-q {
  display: inline-grid; place-items: center; flex: 0 0 auto;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--brand-yellow, #F5C518); color: #080808;
  font-family: var(--font-cond, 'Barlow Condensed', sans-serif); font-size: 20px; font-weight: 900; line-height: 1;
}

/* ── El "?" en las fichas de salsa de cada tarjeta ── */
.chip.con-q { padding-right: 4px; }
.chip-q {
  display: inline-grid; place-items: center;
  width: 18px; height: 18px; margin-left: 6px; padding: 0;
  border-radius: 50%; border: 0;
  background: var(--brand-yellow, #F5C518); color: #080808;
  font-family: var(--font-cond, 'Barlow Condensed', sans-serif); font-size: 12.5px; font-weight: 900; line-height: 1;
  cursor: pointer; vertical-align: middle;
}
.chip-q:hover { transform: scale(1.1); }

/* El atajo en la ficha de la hamburguesa. */
.faq-atajo {
  display: inline-flex; align-items: center; gap: 8px; margin: 10px 0 0; padding: 0;
  background: none; border: 0; cursor: pointer;
  font-family: var(--font-cond, 'Barlow Condensed', sans-serif);
  font-size: 14px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase;
  color: var(--brand-yellow, #F5C518);
}
.faq-atajo .faq-q { width: 22px; height: 22px; font-size: 14px; }
.faq-atajo:hover { text-decoration: underline; }

/* ── La hoja ── */
.faq-hoja {
  position: fixed; inset: 0; z-index: 9500;
  display: flex; align-items: flex-end; justify-content: center;
  background: rgba(0,0,0,.66);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
}
.faq-hoja[hidden] { display: none !important; }
.faq-panel {
  width: 100%; max-height: 88dvh;
  display: flex; flex-direction: column;
  background: var(--bg-modal, #0e0e0e);
  border: 1px solid rgba(255,255,255,.1); border-bottom: 0;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -20px 60px rgba(0,0,0,.6);
  animation: faq-sube .28s cubic-bezier(.2,.8,.2,1);
}
@keyframes faq-sube { from { transform: translateY(24px); opacity: 0; } }
.faq-cab {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  padding: 18px 18px 12px;
  border-bottom: 1px solid var(--border, rgba(255,255,255,.07));
}
.faq-titulo { margin: 0; font-family: var(--font-display, 'Bebas Neue', sans-serif); font-size: 34px; line-height: 1; letter-spacing: 1px; color: #fff; font-weight: 400; }
.faq-titulo span { color: var(--brand-yellow, #F5C518); }
.faq-sub { margin: 4px 0 0; font-size: 13.5px; color: var(--text-off, #B8B8B8); }
.faq-cerrar {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06);
  color: #fff; font-size: 26px; line-height: 1; cursor: pointer;
}
.faq-lista-scroll { overflow-y: auto; padding: 6px 16px 24px; -webkit-overflow-scrolling: touch; }

/* ── Las preguntas ── */
.faq-grupo {
  margin: 18px 0 8px;
  font-family: var(--font-cond, 'Barlow Condensed', sans-serif);
  font-size: 12px; font-weight: 800; letter-spacing: 2.4px; text-transform: uppercase;
  color: var(--brand-yellow, #F5C518);
}
.faq-grupo:first-child { margin-top: 8px; }

.faq-item {
  background: var(--bg-card, #111);
  border: 1px solid var(--border, rgba(255,255,255,.07));
  border-radius: 14px;
  margin-bottom: 8px;
  overflow: hidden;
  transition: border-color .25s ease;
}
.faq-item[open] { border-color: var(--border-yellow, rgba(245,197,24,.3)); }

.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px;
  cursor: pointer; list-style: none;
  font-family: var(--font-cond, 'Barlow Condensed', sans-serif);
  font-size: 17.5px; font-weight: 800; letter-spacing: .3px;
  color: #fff;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i {
  flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18); position: relative;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.faq-item summary i::before, .faq-item summary i::after {
  content: ''; position: absolute; left: 50%; top: 50%;
  width: 10px; height: 2px; background: currentColor; transform: translate(-50%, -50%);
}
.faq-item summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] summary i { transform: rotate(45deg); background: var(--brand-yellow, #F5C518); border-color: var(--brand-yellow, #F5C518); color: #080808; }

.faq-cuerpo { padding: 0 16px 16px; font-size: 15px; line-height: 1.55; color: var(--text-off, #B8B8B8); }
.faq-cuerpo p { margin: 0 0 8px; }
.faq-cuerpo p:last-child { margin-bottom: 0; }
.faq-cuerpo b { color: #fff; font-weight: 700; }
.faq-cuerpo i { color: var(--text-dim, #6a6a6a); font-style: normal; }

.faq-lista { margin: 0 0 10px; padding: 0; list-style: none; display: grid; gap: 6px; }
.faq-lista li { padding-left: 14px; position: relative; }
.faq-lista li::before { content: ''; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-yellow, #F5C518); }

.faq-horario { margin: 0 0 10px; padding: 0; list-style: none; display: grid; gap: 4px; }
.faq-horario li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; background: rgba(255,255,255,.04); border-radius: 10px; }
.faq-horario b { color: #fff; }

.faq-pie { margin: 16px 0 0; font-size: 14.5px; color: var(--text-off, #B8B8B8); }
.faq-pie a { color: var(--brand-yellow, #F5C518); font-weight: 700; text-decoration: none; }

/* Pantalla ancha: la hoja se centra como un panel. */
@media (min-width: 900px) {
  .faq-hoja { align-items: center; padding: 24px; }
  .faq-panel { max-width: 680px; max-height: 84vh; border-radius: 22px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .faq-portada { max-width: 720px; margin: 0 auto; }
}

/* Sin marcador ni contorno del navegador en el acordeón; separación limpia al abrir. */
.faq-item summary { outline: none; }
.faq-item summary::marker { content: none; }
.faq-item[open] summary { border-bottom: 1px solid rgba(255,255,255,.06); margin-bottom: 8px; }
