/* ================================================================
   SINCRONÍA ESTRATÉGICA — SISTEMA DE DISEÑO OFICIAL
   Página de Test Somático: «El Costo Biológico de ser la Fuerte»
   Integración 100% fiel a la identidad visual de sincroniaestrategica.com
================================================================ */

:root {
  --bg-deep: #0A0E1A;
  --bg-mid: #0D1B2A;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(201, 168, 76, 0.35);
  --border-sage: rgba(62, 180, 137, 0.35);
  --border-fuchsia: rgba(244, 3, 131, 0.35);
  --sage: #3EB489;
  --gold: #C9A84C;
  --white: #E8EAF0;
  --gray: #8892A4;
  --fuchsia: #f40383;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: linear-gradient(180deg, var(--bg-deep), var(--bg-mid));
  background-attachment: fixed;
  color: var(--white);
  font-family: var(--font-sans);
  overflow-x: hidden;
  line-height: 1.65;
  min-height: 100vh;
}

/* ═══ LOADER (Exacto a index.html) ══════════════════════════ */
#loader {
  position: fixed;
  inset: 0;
  background: var(--bg-deep);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.5rem;
  transition: opacity .6s ease;
}

#loader.hidden {
  opacity: 0;
  pointer-events: none;
}

#loader p {
  font-family: var(--font-serif);
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: .3em;
  opacity: .7;
}

.fol-svg circle {
  fill: none;
  stroke: var(--gold);
  stroke-width: .8;
  opacity: .5;
}

.fol-svg {
  animation: fol-pulse 3s ease-in-out infinite;
}

@keyframes fol-pulse {
  0%, 100% { opacity: .4; transform: scale(.97); }
  50% { opacity: 1; transform: scale(1.02); }
}

/* ═══ CANVAS DE FONDO (Exacto a index.html) ═════════════════ */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* ═══ NAVBAR (Exacto al menú oficial) ═══════════════════════ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.2rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all .4s ease;
}

nav.scrolled {
  background: rgba(10, 14, 26, .9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: .8rem 5%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.nav-logo img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.nav-logo span {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: .05em;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--gray);
  text-decoration: none;
  font-size: .875rem;
  letter-spacing: .05em;
  transition: color .2s;
}

.nav-links a:hover {
  color: var(--sage);
}

.nav-cta {
  background: linear-gradient(135deg, var(--sage), #728777);
  color: #000;
  padding: .5rem 1.2rem;
  border-radius: 2rem;
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: .05em;
  transition: transform .2s, box-shadow .2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(62, 180, 137, .3);
}

.desktop-text {
  display: inline;
}
.mobile-text {
  display: none;
}

#nav-auth-container {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-cta-gold {
  background: linear-gradient(135deg, #c9a84c, #b89132) !important;
  color: #0a0e1a !important;
  padding: .5rem 1.2rem;
  border-radius: 2rem;
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none !important;
  letter-spacing: .05em;
  transition: transform .2s, box-shadow .2s, background .2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 15px rgba(201, 168, 76, 0.35);
  border: none;
  white-space: nowrap;
}

.nav-cta-gold:hover, .nav-cta-gold:visited, .nav-cta-gold:active, .nav-cta-gold:focus {
  color: #0a0e1a !important;
  text-decoration: none !important;
}

.nav-cta-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.55);
  background: linear-gradient(135deg, #dfbc5e, #c9a84c) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: .5rem;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all .3s;
}

/* ═══ BOTONES (Exactos a index.html) ════════════════════════ */
.btn-primary {
  background: linear-gradient(135deg, var(--sage), #728777);
  color: #000;
  padding: .9rem 2rem;
  border-radius: 3rem;
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  letter-spacing: .04em;
  transition: all .25s;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(62, 180, 137, .35);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  padding: .9rem 2rem;
  border-radius: 3rem;
  font-size: .9rem;
  text-decoration: none;
  letter-spacing: .04em;
  transition: all .25s;
  border: 1px solid rgba(255, 255, 255, .2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-back {
  background: transparent;
  border: none;
  color: var(--gray);
  cursor: pointer;
  font-size: .85rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color .2s;
  font-family: var(--font-sans);
}

.btn-back:hover {
  color: var(--sage);
}

/* ═══ SECCIONES & TEXTOS (Exactos a index.html) ═════════════ */
section {
  padding: 6rem 5%;
}

.section-tag {
  display: block;
  font-size: .7rem;
  letter-spacing: .3em;
  color: var(--sage);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-title span {
  color: var(--gold);
}

.section-sub {
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 620px;
}

.separator {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, var(--sage), transparent);
  margin: 1.5rem 0;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══ HERO SECTION ══════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 5% 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(62, 180, 137, .07) 0%, transparent 60%), radial-gradient(ellipse at 70% 80%, rgba(201, 168, 76, .06) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
}

.hero-badge {
  display: inline-block;
  padding: .4rem 1.2rem;
  border: 1px solid rgba(201, 168, 76, .4);
  border-radius: 2rem;
  font-size: .75rem;
  letter-spacing: .25em;
  color: var(--gold);
  margin-bottom: 2rem;
  background: rgba(201, 168, 76, .06);
}

.hero-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.hero-content h1 em {
  font-style: italic;
  color: var(--sage);
}

.hero-content p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--gray);
  max-width: 680px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-meta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
  font-size: .85rem;
  color: var(--gray);
  flex-wrap: wrap;
}

.hero-meta div {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ═══ TARJETAS / PILLARS (Exactas a index.html) ══════════════ */
.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color .3s, transform .3s;
}

.pillar-card:hover {
  border-color: rgba(62, 180, 137, .3);
  transform: translateY(-4px);
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--sage), var(--gold));
}

.pillar-num {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  color: rgba(201, 168, 76, .15);
  font-weight: 700;
  line-height: 1;
  margin-bottom: .75rem;
}

.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: var(--gold);
}

.pillar-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin-bottom: .75rem;
  color: var(--white);
}

.pillar-card p {
  color: var(--gray);
  font-size: .875rem;
  line-height: 1.8;
}

/* ═══ ABOUT PAMELA (Exacto a index.html) ════════════════════ */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.about-img-wrap {
  position: relative;
  width: fit-content;
  margin: 0 auto;
}

.about-img-wrap img {
  width: 100%;
  max-width: 400px;
  border-radius: 4px;
  object-fit: cover;
  display: block;
  filter: grayscale(20%) contrast(1.05);
}

.about-img-frame {
  position: absolute;
  inset: -12px;
  border: 1px solid rgba(201, 168, 76, .25);
  border-radius: 6px;
  pointer-events: none;
}

.about-img-frame::before {
  content: '';
  position: absolute;
  top: 16px;
  right: -16px;
  width: 60px;
  height: 60px;
  border-top: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
}

.about-img-frame::after {
  content: '';
  position: absolute;
  bottom: 16px;
  left: -16px;
  width: 60px;
  height: 60px;
  border-bottom: 2px solid var(--sage);
  border-left: 2px solid var(--sage);
}

.credentials {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin: 1.5rem 0;
}

.cred-pill {
  padding: .35rem .9rem;
  border: 1px solid var(--border);
  border-radius: 2rem;
  font-size: .75rem;
  color: var(--gray);
  background: var(--bg-card);
}

.mantra {
  margin-top: 1.5rem;
  padding: 1.2rem 1.5rem;
  border-left: 2px solid var(--gold);
  background: var(--bg-card);
  border-radius: 0 4px 4px 0;
}

.mantra p {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--gold);
  font-size: .95rem;
  line-height: 1.7;
}

/* ═══ FORMULARIO DE REGISTRO (LEAD CAPTURE) ═════════════════ */
#register-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 5% 4rem;
}

.register-card {
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
  padding: 3rem 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  text-align: center;
  position: relative;
}

.register-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--sage), var(--gold));
  border-radius: 16px 16px 0 0;
}

.register-card h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin-bottom: .75rem;
  color: var(--gold);
}

.register-card p {
  color: var(--gray);
  font-size: .9rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.2rem;
  text-align: left;
}

.form-label {
  display: block;
  font-size: .8rem;
  color: var(--gray);
  margin-bottom: .4rem;
  letter-spacing: .03em;
}

.form-input {
  width: 100%;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: .85rem 1rem;
  color: var(--white);
  font-size: .875rem;
  outline: none;
  transition: border-color .2s;
  font-family: var(--font-sans);
}

.form-input:focus {
  border-color: var(--sage);
  background: rgba(255, 255, 255, .08);
}

.form-group.error .form-input {
  border-color: var(--fuchsia);
}

.error-msg {
  display: none;
  color: var(--fuchsia);
  font-size: 0.8rem;
  margin-top: 4px;
}

.form-group.error .error-msg {
  display: block !important;
}

/* ═══ CUESTIONARIO INTERACTIVO (QUIZ PAGE) ══════════════════ */
#quiz-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 5% 4rem;
}

.quiz-card {
  max-width: 740px;
  width: 100%;
  margin: 0 auto;
  padding: 2.8rem 2.4rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  position: relative;
}

.quiz-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--sage), var(--gold));
  border-radius: 16px 16px 0 0;
}

.quiz-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
}

.progress-info {
  font-size: .8rem;
  color: var(--gold);
  letter-spacing: .1em;
  font-family: var(--font-serif);
}

.progress-bar-container {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  margin-bottom: 2rem;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--sage), var(--gold));
  border-radius: 4px;
  width: 11%;
  transition: width .35s ease;
}

.axis-badge-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: .3rem .8rem;
  background: rgba(62, 180, 137, .1);
  border: 1px solid rgba(62, 180, 137, .3);
  border-radius: 2rem;
  font-size: .7rem;
  letter-spacing: .1em;
  color: var(--sage);
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.question-title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 1rem;
}

.question-symptom-text {
  font-size: 1.05rem;
  color: var(--white);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.question-context {
  background: rgba(255, 255, 255, 0.02);
  border-left: 2px solid var(--sage);
  padding: .8rem 1rem;
  border-radius: 0 6px 6px 0;
  font-size: .85rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Botones de Opción Somática */
.somatic-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (max-width: 640px) {
  .somatic-options {
    grid-template-columns: 1fr;
  }
}

.somatic-opt-btn {
  background: rgba(255, 255, 255, .02);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.3rem .9rem;
  text-align: center;
  cursor: pointer;
  transition: all .25s ease;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
}

.somatic-opt-btn:hover {
  transform: translateY(-2px);
}

.somatic-opt-btn.high:hover,
.somatic-opt-btn.yes:hover {
  border-color: rgba(244, 3, 131, .6);
  background: rgba(244, 3, 131, .08);
  box-shadow: 0 4px 20px rgba(244, 3, 131, 0.15);
}

.somatic-opt-btn.medium:hover {
  border-color: rgba(201, 168, 76, .6);
  background: rgba(201, 168, 76, .08);
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.15);
}

.somatic-opt-btn.low:hover,
.somatic-opt-btn.no:hover {
  border-color: rgba(62, 180, 137, .6);
  background: rgba(62, 180, 137, .08);
  box-shadow: 0 4px 20px rgba(62, 180, 137, 0.15);
}

.somatic-opt-icon {
  font-size: 1.6rem;
}

.somatic-opt-title {
  font-weight: 600;
  font-size: .9rem;
  line-height: 1.3;
}

.somatic-opt-sub {
  font-size: .72rem;
  color: var(--gray);
  line-height: 1.4;
}

.quiz-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
}

/* ═══ PANTALLA DE RESULTADOS & DIAGNÓSTICO ══════════════════ */
#results-page {
  padding-top: 8rem;
  padding-bottom: 6rem;
}

.results-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 4%;
}

.zone-hero-card {
  padding: 3rem 2.5rem;
  border-radius: 16px;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.zone-hero-card.badge-green {
  border-color: rgba(62, 180, 137, .4);
  background: radial-gradient(circle at 50% 0%, rgba(62, 180, 137, .1) 0%, rgba(13, 27, 42, .6) 100%);
}

.zone-hero-card.badge-amber {
  border-color: rgba(201, 168, 76, .4);
  background: radial-gradient(circle at 50% 0%, rgba(201, 168, 76, .1) 0%, rgba(13, 27, 42, .6) 100%);
}

.zone-hero-card.badge-red {
  border-color: rgba(244, 3, 131, .4);
  background: radial-gradient(circle at 50% 0%, rgba(244, 3, 131, .1) 0%, rgba(13, 27, 42, .6) 100%);
}

.zone-tag {
  display: inline-block;
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}

.zone-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: .4rem;
  color: var(--white);
}

.zone-subtitle {
  font-size: 1.1rem;
  color: var(--sage);
  font-style: italic;
  font-family: var(--font-serif);
  margin-bottom: 1.5rem;
}

.score-pill-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, .4);
  padding: .6rem 1.4rem;
  border-radius: 2rem;
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: .95rem;
  margin-bottom: 1.5rem;
}

.zone-summary-box {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--white);
}

/* Análisis Profundo */
.analysis-card {
  padding: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 3rem;
}

.analysis-card h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--gold);
  margin-bottom: 1.2rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: .75rem;
}

.analysis-paragraphs p {
  color: var(--gray);
  font-size: .95rem;
  line-height: 1.85;
  margin-bottom: 1rem;
}

/* Micro-Acciones (Victoria Inmediata) */
.micro-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.2rem;
}

.micro-card {
  padding: 1.8rem 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color .3s;
}

.micro-card:hover {
  border-color: rgba(62, 180, 137, .4);
}

.micro-header {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: 1rem;
}

.micro-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(62, 180, 137, .1);
  border: 1px solid rgba(62, 180, 137, .3);
  color: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.micro-card h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--white);
}

.micro-detail-row {
  margin-top: .75rem;
  font-size: .85rem;
  color: var(--gray);
  line-height: 1.6;
}

.micro-detail-row strong {
  color: var(--white);
}

/* Puente a Mentoría 1 a 1 */
.bridge-card {
  padding: 3.5rem 2.5rem;
  background: radial-gradient(circle at 50% 0%, rgba(201, 168, 76, .08) 0%, rgba(13, 27, 42, .8) 100%);
  border: 1px solid rgba(201, 168, 76, .35);
  border-radius: 16px;
  text-align: center;
  margin-top: 3.5rem;
  position: relative;
  box-sizing: border-box;
  width: 100%;
}

.bridge-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
  font-style: italic;
  color: var(--white);
  line-height: 1.6;
  max-width: 760px;
  margin: 0 auto 2rem;
}

.bridge-quote span {
  color: var(--gold);
}

.bridge-program-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 2.2rem 1.8rem;
  margin-bottom: 2.5rem;
  box-sizing: border-box;
  width: 100%;
}

.phases-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  text-align: left;
  margin: 2rem 0 1rem;
  box-sizing: border-box;
  width: 100%;
}

.phase-item {
  padding: 1.2rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-break: break-word;
}

.phase-tag {
  font-size: .7rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .2rem;
}

.phase-item h5 {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--white);
  margin-bottom: .4rem;
}

.phase-item p {
  font-size: .8rem;
  color: var(--gray);
  line-height: 1.5;
}

.results-bottom-actions {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 3rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  flex-wrap: wrap;
}

/* Spinner Intermedio */
.loader-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 26, .96);
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9990;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease;
}

.loader-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.gold-spinner {
  width: 50px;
  height: 50px;
  border: 2px solid rgba(201, 168, 76, .2);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin .8s linear infinite;
  margin-bottom: 1.5rem;
}

.loader-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: .05em;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ═══ REDES SOCIALES (Exactas a index.html con efectos de color) ═══ */
.s-links {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.s-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--gray);
  font-size: 1.2rem;
  text-decoration: none;
  transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--bg-card);
}

.s-link:hover {
  transform: translateY(-3px);
}

.s-links .s-link#s-instagram:hover {
  border-color: #d6249f;
  color: #fff;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  box-shadow: 0 5px 15px rgba(214, 36, 159, 0.2);
}

.s-links .s-link#s-facebook:hover {
  border-color: #1877F2;
  color: #1877F2;
  background: rgba(24, 119, 242, 0.1);
  box-shadow: 0 5px 15px rgba(24, 119, 242, 0.2);
}

.s-links .s-link#s-tiktok:hover {
  border-color: #010101;
  color: #fff;
  background: #010101;
  box-shadow: -3px -3px 12px rgba(0, 242, 254, 0.6), 3px 3px 12px rgba(254, 9, 121, 0.6);
}

.s-links .s-link#s-linkedin:hover {
  border-color: #0077B5;
  color: #0077B5;
  background: rgba(0, 119, 181, 0.1);
  box-shadow: 0 5px 15px rgba(0, 119, 181, 0.2);
}

.s-links .s-link#s-youtube:hover {
  border-color: #FF0000;
  color: #FF0000;
  background: rgba(255, 0, 0, 0.1);
  box-shadow: 0 5px 15px rgba(255, 0, 0, 0.2);
}

.s-links .s-link#s-spotify:hover {
  border-color: #1DB954;
  color: #1DB954;
  background: rgba(29, 185, 84, 0.1);
  box-shadow: 0 5px 15px rgba(29, 185, 84, 0.2);
}

/* ═══ FOOTER (Exacto a index.html) ══════════════════════════ */
footer {
  background: rgba(0, 0, 0, .3);
  border-top: 1px solid var(--border);
  padding: 2.5rem 5%;
  text-align: center;
}

footer p {
  color: var(--gray);
  font-size: .8rem;
  letter-spacing: .05em;
}

footer span {
  color: var(--gold);
}

.footer-legal {
  margin-top: .8rem;
  font-size: .75rem;
  color: var(--gray);
}

.footer-legal a {
  color: var(--gray);
  text-decoration: none;
  transition: color .2s;
  margin: 0 .5rem;
}

.footer-legal a:hover {
  color: var(--gold);
}

/* ═══ RESPONSIVE BREAKPOINTS ═════════════════════════════════ */
@media (max-width: 900px) {
  .about-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .micro-actions-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 0.8rem 4% !important;
  }
  .nav-logo span {
    font-size: 0.88rem;
  }
  #nav-auth-container {
    gap: 0.75rem !important;
  }
  #nav-auth-container a {
    font-size: 0.8rem !important;
  }
  .nav-cta, .nav-cta-gold {
    padding: 0.45rem 0.9rem !important;
    font-size: 0.75rem !important;
  }
  .somatic-options {
    grid-template-columns: 1fr;
  }
  .phases-list {
    grid-template-columns: 1fr;
  }
  #results-page {
    padding-top: 5.5rem;
    padding-bottom: 4rem;
  }
  #register-page, #quiz-page {
    padding: 5.5rem 4% 3rem;
  }
  .register-card, .quiz-card, .zone-hero-card, .analysis-card, .bridge-card {
    padding: 2rem 1.3rem;
    box-sizing: border-box;
    width: 100%;
  }
  .bridge-program-box {
    padding: 1.5rem 1rem;
  }
  .results-bottom-actions {
    flex-direction: column;
    gap: 0.8rem;
  }
  .results-bottom-actions .btn-secondary {
    width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 600px) {
  .desktop-text {
    display: none !important;
  }
  .mobile-text {
    display: inline !important;
  }
  #nav-auth-container {
    gap: 0.5rem !important;
  }
}

@media (max-width: 480px) {
  nav {
    padding: 0.6rem 2.5% !important;
  }
  .nav-logo {
    gap: 4px;
  }
  .nav-logo img {
    height: 26px !important;
  }
  .nav-logo span {
    display: none !important;
  }
  #nav-auth-container {
    gap: 0.35rem !important;
  }
  #nav-auth-container a {
    font-size: 0.75rem !important;
    white-space: nowrap !important;
  }
  .nav-cta, .nav-cta-gold {
    padding: 0.35rem 0.55rem !important;
    font-size: 0.72rem !important;
    gap: 4px !important;
    white-space: nowrap !important;
  }
  .nav-cta i, .nav-cta-gold i {
    font-size: 0.7rem !important;
  }
  #nav-login-btn {
    font-size: 0.75rem !important;
    white-space: nowrap !important;
  }
  #nav-user-btn {
    padding: 0.35rem 0.5rem !important;
    font-size: 0.72rem !important;
  }
  .results-container {
    padding: 0 2%;
    width: 100%;
    box-sizing: border-box;
  }
  .register-card, .quiz-card, .zone-hero-card, .analysis-card, .bridge-card {
    padding: 1.5rem 0.9rem;
    border-radius: 12px;
  }
  .bridge-program-box {
    padding: 1.2rem 0.75rem;
    border-radius: 10px;
    margin-bottom: 1.8rem;
  }
  .phase-item {
    padding: 0.9rem 0.75rem;
  }
  .phase-item h5 {
    font-size: 0.92rem;
  }
  .phase-item p {
    font-size: 0.78rem;
  }
  .bridge-card .btn-primary {
    width: 100%;
    padding: 0.95rem 1.2rem;
    font-size: 0.88rem;
    box-sizing: border-box;
  }
  .zone-title {
    font-size: 1.45rem;
  }
  .zone-subtitle {
    font-size: 0.92rem;
  }
  .score-pill-box {
    font-size: 0.8rem;
    padding: 0.45rem 0.9rem;
  }
  .zone-summary-box {
    font-size: 0.9rem;
    line-height: 1.65;
  }
  .question-title {
    font-size: 1.2rem;
  }
  .question-symptom-text {
    font-size: 0.9rem;
  }
  .somatic-opt-btn {
    padding: 1.1rem 0.8rem;
  }
  .somatic-opt-title {
    font-size: 0.85rem;
  }
  .somatic-opt-sub {
    font-size: 0.7rem;
  }
}

@media (max-width: 360px) {
  #nav-auth-container {
    gap: 0.35rem !important;
  }
  #nav-auth-container a {
    font-size: 0.7rem !important;
  }
  .nav-cta, .nav-cta-gold {
    padding: 0.32rem 0.5rem !important;
    font-size: 0.68rem !important;
  }
}
