/* ══ VARIABLES ══ */
:root {
  --bg: #04060f;
  --bg2: #080d1c;
  --bg3: #0c1225;
  --card: #0e1530;
  --border: #1a2545;
  --cyan: #00e5ff;
  --cyan2: #00b8d9;
  --lime: #a8ff3e;
  --text: #e8edf8;
  --muted: #7a8aaa;
  --accent: #ff4d6d;
  --gold: #ffc947;
  --radius: 12px;
  --radius-lg: 20px;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "DM Sans", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ══ BACKGROUND ══ */
.bg-wrapper {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.bg-glow-1 {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0, 229, 255, 0.18) 0%,
    transparent 70%
  );
  top: -200px;
  left: -200px;
}
.bg-glow-2 {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0, 229, 255, 0.1) 0%,
    transparent 70%
  );
  bottom: 100px;
  right: -100px;
}
.bg-glow-3 {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0, 229, 255, 0.07) 0%,
    transparent 70%
  );
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

main {
  position: relative;
  z-index: 1;
}

/* ==========================================================
/* ══ HERO ══ */
.hero {
  padding: 120px 24px 60px;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.hero-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 22px;
}
.hero-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.hero-breadcrumb a:hover {
  color: var(--cyan);
}
.hero-breadcrumb span {
  color: rgba(255, 255, 255, 0.3);
}
.hero-breadcrumb .current {
  color: rgba(255, 255, 255, 0.6);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 100px;
  padding: 7px 20px;
  font-size: 0.75rem;
  font-family: "Syne", sans-serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan2);
  margin-bottom: 24px;
  animation: fadeDown 0.6s ease both;
}
.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse 1.6s ease infinite;
}

.hero h1 {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
  animation: fadeDown 0.6s 0.1s ease both;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--cyan), var(--cyan2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto 36px;
  animation: fadeDown 0.6s 0.2s ease both;
}

/* Barra de categorías */
.cat-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  animation: fadeDown 0.6s 0.3s ease both;
}
.cat-btn {
  padding: 8px 18px;
  border-radius: 100px;
  font-family: "Syne", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}
.cat-btn:hover,
.cat-btn.active {
  background: rgba(0, 229, 255, 0.1);
  border-color: rgba(0, 229, 255, 0.35);
  color: var(--cyan2);
}

/* ══ TRUST BAR ══ */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 32px;
  padding: 0 24px 60px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--muted);
}
.trust-item .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0.7;
}

/* ══ FAQ SECTION ══ */
.faq-page {
  padding: 0 24px 80px;
}
.faq-block {
  max-width: 780px;
  margin: 0 auto 56px;
}
.faq-block:last-of-type {
  margin-bottom: 0;
}

.block-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.block-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  flex-shrink: 0;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.block-header h2 {
  font-family: "Syne", sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}
.block-header h2 span {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 3px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border: 1px solid rgba(26, 37, 69, 0.8);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.25s;
}
.faq-item:hover {
  border-color: rgba(0, 229, 255, 0.18);
}
.faq-item.open {
  border-color: rgba(0, 229, 255, 0.35);
}

.faq-q {
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s;
}
.faq-q:hover {
  background: rgba(255, 255, 255, 0.025);
}
.faq-q-text {
  font-family: "Syne", sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.4;
  transition: color 0.2s;
}
.faq-item.open .faq-q-text {
  color: var(--cyan);
}

.faq-toggle {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: rgba(0, 229, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.2s;
}
.faq-toggle svg {
  width: 14px;
  height: 14px;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}
.faq-item.open .faq-toggle {
  transform: rotate(180deg);
  background: rgba(0, 229, 255, 0.15);
}
.faq-item.open .faq-toggle svg {
  color: var(--cyan);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    padding 0.3s ease;
  padding: 0 22px;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.8;
}
.faq-item.open .faq-a {
  max-height: 400px;
  padding: 0 22px 20px;
}

/* Tag de categoría dentro de cada pregunta */
.faq-q-inner {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.faq-cat-tag {
  font-size: 0.68rem;
  font-family: "Syne", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  opacity: 0.7;
}

/* Separador entre bloques */
.faq-sep {
  max-width: 780px;
  margin: 0 auto 56px;
  height: 1px;
  background: rgba(255, 255, 255, 0.05);
}

/* ══ CTA FINAL ══ */
.cta-wrap {
  padding: 0 24px 80px;
}
.cta-bottom {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(135deg, #1a2545 0%, var(--cyan2) 50%, #3a6ea5 100%);
  border-radius: 28px;
  padding: 64px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-bottom::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-bottom h2 {
  font-family: "Syne", sans-serif;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 12px;
  position: relative;
}
.cta-bottom p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
  max-width: 480px;
  margin: 0 auto 32px;
  position: relative;
}
.cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}
.btn-dark {
  display: inline-block;
  padding: 15px 34px;
  background: var(--bg);
  color: var(--text);
  border-radius: 14px;
  font-family: "Syne", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: all 0.25s;
}
.btn-dark:hover {
  background: #000d6b;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}
.btn-white {
  display: inline-block;
  padding: 15px 34px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: var(--text);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-family: "Syne", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: all 0.25s;
}
.btn-white:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

/* ══ ANIMATIONS ══ */
@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.75);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 600px) {
  .cta-bottom {
    padding: 44px 24px;
  }
  .cta-btns {
    flex-direction: column;
  }
  .block-header {
    gap: 12px;
  }
}