/* ================= ROOT ================= */
:root {
  --bg-main: #f8f8f8;
  --bg-soft: #ffffff;
  --border: #e5e5e5;
  --text-main: #000;
  --text-muted: #444;
  --accent: #00c896;
}

/* ================= RESET GLOBAL ================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, sans-serif;
}

body {
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ================= NAVBAR ================= */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header strong {
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.4px;
}

nav a {
  margin-left: 32px;
  font-size: 0.95rem;
  font-weight: 500;           /* ⬅️ clave para que se vea igual */
  color: var(--text-muted);
}

nav a:hover {
  color: var(--text-main);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.logo img {
  height: 28px;
}

.logo strong {
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.4px;
}

/* ================= FAQ ================= */
.faq-section {
  max-width: 900px;
  margin: auto;
  padding: 90px 24px;
}

h1 {
  text-align: center;
  font-size: 2.6rem;
  font-weight: 800;          /* ⬅️ mismo estilo contundente */
  letter-spacing: -0.5px;
}

.faq-subtitle {
  text-align: center;
  margin: 12px 0 48px;
  color: var(--text-muted);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px;
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: var(--text-main);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 20px;
}

.faq-answer p {
  padding: 16px 0 24px;
  color: var(--text-muted);
}

footer {
  background: #f5f5f5;
  border-top: 1px solid #ddd;
  padding: 50px 0;
}

/* Contenedor centrado pero texto alineado izquierda */
.footer .legal-text {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  text-align: left;   /* 🔥 clave */
}

/* Copyright centrado */
.footer .copyright {
  text-align: center;
  font-size: 0.9rem;
  color: #444;
  margin-bottom: 30px;
}

/* Párrafos */
.footer .legal-text p {
  font-size: 0.78rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 18px;
}


/* ================= AUTH MODAL ================= */
.auth-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.auth-box {
  background: #fff;
  padding: 40px;
  border-radius: 22px;
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

.auth-box h3 {
  font-size: 1.6rem;
  font-weight: 700;
}

.auth-box input {
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 0.95rem;
}

.auth-box input:focus {
  outline: none;
  border-color: var(--accent);
}

.auth-buttons button {
  padding: 14px;
  border-radius: 12px;
  border: none;
  background: #000;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
}

.auth-buttons button:hover {
  opacity: 0.85;
}

.register-pill {
  background: var(--accent);
  color: white;
  padding: 6px 14px;
  border-radius: 8px;
  font-weight: 600;
}

.close-btn {
  background: transparent;
  border: none;
  color: #666;
  margin-top: 10px;
  cursor: pointer;
}