/* ==========================================================================
   ATENUM GROUP (atenumgroup.com) — MAQUETA INTERACTIVA FASE 1
   Sistema Visual Canónico Ruta A (M1 + A1):
   Solar Ivory (#FAF7F2) · Pure White (#FFFFFF) · Celestial Vault Blue (#244B6E)
   Deep Indigo (#16324D) · Alchemical Ochre Gold (#B8860B) · Obsidian (#121316)
   ========================================================================== */

:root {
  --bg-ivory: #FAF7F2;
  --bg-white: #FFFFFF;
  --bg-obsidian: #121316;
  --bg-obsidian-card: #1A1D22;

  --blue-vault: #244B6E;
  --blue-deep: #16324D;
  --blue-frost: #EBF2F8;
  --blue-border: rgba(36, 75, 110, 0.16);

  --gold-ochre: #B8860B;
  --gold-royal: #D4AF37;
  --gold-hover: #996F08;
  --gold-soft: #F8F0DC;
  --gold-border: rgba(184, 134, 11, 0.34);

  --emerald: #236B46;
  --emerald-soft: #EAF5EF;

  --text-dark: #16181B;
  --text-muted: #505663;
  --text-light: #767E8D;
  --text-white: #F5F4F0;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-soft: 0 6px 26px rgba(36, 75, 110, 0.05);
  --shadow-hover: 0 14px 36px rgba(36, 75, 110, 0.10);
  --transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-sans);
  background: var(--bg-ivory);
  color: var(--text-dark);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1220px;
  margin: 0 auto;
}

/* ==================== PROTOTYPE RIBBON ==================== */
.prototype-bar {
  background: var(--blue-deep);
  color: rgba(245, 244, 240, 0.92);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  padding: 0.45rem 1rem;
  text-align: center;
  border-bottom: 1px solid rgba(212, 175, 55, 0.35);
}

.prototype-bar strong {
  color: var(--gold-royal);
}

/* ==================== HEADER ==================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(250, 247, 242, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--blue-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  padding: 0 1.8rem;
  max-width: 1440px;
  margin: 0 auto;
  gap: 1.2rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--text-dark);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.38rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.05;
}

.brand-name span {
  color: var(--gold-ochre);
  font-weight: 500;
}

.brand-sub {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--blue-vault);
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-left: auto;
}

.nav-link {
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  position: relative;
  padding: 0.4rem 0;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--blue-deep);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold-ochre);
  transition: width 0.25s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.nav-accent {
  color: var(--gold-ochre);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-left: 1.2rem;
  border-left: 1px solid var(--gold-border);
}

.btn-portal {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.52rem 1rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--blue-vault);
  background: var(--bg-white);
  border: 1px solid var(--blue-border);
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-portal:hover {
  background: var(--blue-vault);
  color: #fff;
  border-color: var(--blue-vault);
}

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--blue-border);
  border-radius: 8px;
  padding: 0.45rem 0.6rem;
  color: var(--blue-vault);
  font-size: 1.1rem;
  cursor: pointer;
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
}

.btn-primary {
  background: var(--blue-vault);
  color: #fff;
  box-shadow: 0 6px 18px rgba(36, 75, 110, 0.22);
}

.btn-primary:hover {
  background: var(--blue-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(22, 50, 77, 0.28);
}

.btn-gold {
  background: var(--gold-ochre);
  color: #fff;
  box-shadow: 0 6px 18px rgba(184, 134, 11, 0.24);
}

.btn-gold:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--bg-white);
  color: var(--blue-vault);
  border: 1px solid var(--blue-border);
}

.btn-secondary:hover {
  border-color: var(--gold-ochre);
  color: var(--blue-deep);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.58rem 1.15rem;
  font-size: 0.8rem;
}

.btn-block {
  width: 100%;
}

/* ==================== SECTION COMMON ==================== */
section {
  padding: 5.2rem 0;
  position: relative;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-ochre);
  margin-bottom: 0.8rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 720px;
  margin-bottom: 2.6rem;
}

.text-center {
  text-align: center;
}

.text-center .section-desc {
  margin-left: auto;
  margin-right: auto;
}

.divider-hairline {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-border), transparent);
}

/* ==================== FLAGSHIP INTERACTIVE COVER (PORTADA MAESTRA) ==================== */
.flagship-cover {
  position: relative;
  min-height: calc(100svh - 74px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4.5rem 0 5.5rem;
  background-color: var(--bg-ivory);
  overflow: hidden;
  isolation: isolate;
}

.flagship-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
  cursor: default;
}

.flagship-halo-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(
    ellipse 52% 48% at 50% 48%,
    rgba(250, 247, 242, 0.94) 0%,
    rgba(250, 247, 242, 0.80) 48%,
    rgba(250, 247, 242, 0.16) 78%,
    rgba(250, 247, 242, 0) 100%
  );
}

.flagship-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 840px;
  pointer-events: none;
}

.flagship-content a,
.flagship-content button {
  pointer-events: auto;
}

.flagship-monogram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.35rem;
  animation: flagshipFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.flagship-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-vault);
  margin-bottom: 1.45rem;
  animation: flagshipFadeUp 0.95s 0.08s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.kicker-line {
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-ochre), transparent);
}

.flagship-title {
  font-family: var(--font-serif);
  font-size: clamp(2.65rem, 5.4vw, 4.6rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--text-dark);
  margin-bottom: 1.55rem;
  animation: flagshipFadeUp 1s 0.14s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.flagship-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--blue-vault);
}

.flagship-summary {
  font-size: clamp(0.98rem, 1.3vw, 1.11rem);
  line-height: 1.78;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 2.3rem;
  font-weight: 400;
  animation: flagshipFadeUp 1.05s 0.22s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.flagship-summary strong {
  color: var(--blue-deep);
  font-weight: 600;
}

.flagship-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.95rem;
  margin-bottom: 2.15rem;
  animation: flagshipFadeUp 1.1s 0.28s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.btn-flagship-primary {
  background: var(--bg-obsidian);
  color: var(--text-white);
  padding: 0.95rem 1.95rem;
  border: 1px solid rgba(212, 175, 55, 0.45);
  box-shadow: 0 12px 32px rgba(18, 19, 22, 0.18);
  letter-spacing: 0.02em;
}

.btn-flagship-primary:hover {
  background: var(--blue-deep);
  border-color: var(--gold-royal);
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(22, 50, 77, 0.26);
}

.btn-flagship-glass {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  color: var(--blue-deep);
  padding: 0.95rem 1.85rem;
  border: 1px solid var(--blue-border);
  box-shadow: 0 6px 20px rgba(36, 75, 110, 0.06);
}

.btn-flagship-glass:hover {
  background: var(--bg-white);
  border-color: var(--gold-ochre);
  transform: translateY(-2px);
}

.flagship-doors {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.55rem 0.85rem;
  padding: 0.72rem 1.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(36, 75, 110, 0.13);
  box-shadow: 0 4px 20px rgba(36, 75, 110, 0.04);
  animation: flagshipFadeUp 1.15s 0.34s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.door-link {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.door-link strong {
  color: var(--blue-deep);
  font-weight: 600;
}

.door-link:hover,
.door-link:hover strong {
  color: var(--gold-ochre);
}

.door-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.door-dot.gold { background: var(--gold-ochre); }
.door-dot.blue { background: var(--blue-vault); }
.door-dot.subtle { background: rgba(36, 75, 110, 0.35); }

.door-sep {
  color: rgba(184, 134, 11, 0.45);
  font-size: 0.85rem;
}

.flagship-dc-signature {
  margin-top: 1.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.flagship-dc-signature strong {
  color: var(--blue-deep);
  font-weight: 700;
}

.flagship-scroll-cue {
  position: absolute;
  bottom: 1.35rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-vault);
  opacity: 0.78;
  transition: var(--transition);
}

.flagship-scroll-cue:hover {
  opacity: 1;
  color: var(--gold-ochre);
}

.scroll-hairline {
  width: 1px;
  height: 28px;
  background: linear-gradient(180deg, var(--gold-ochre), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}

@keyframes flagshipFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.7); opacity: 0.5; }
  50% { transform: scaleY(1.1); opacity: 1; }
}

@media (max-width: 768px) {
  .flagship-cover {
    min-height: calc(100svh - 68px);
    padding: 3.4rem 0 4.8rem;
  }
  .flagship-doors {
    border-radius: 16px;
    padding: 0.85rem 1rem;
  }
  .door-sep { display: none; }
  .flagship-kicker { letter-spacing: 0.14em; font-size: 0.65rem; }
  .kicker-line { display: none; }
}

/* ==================== HERO (SUB-PAGES LIKE /ESFERATRECE) ==================== */
.hero-section {
  padding: 5.8rem 0 4.8rem;
  background: radial-gradient(circle at 50% 0%, rgba(184, 134, 11, 0.08), transparent 58%), var(--bg-ivory);
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.42rem 1.1rem;
  border-radius: 999px;
  background: var(--bg-white);
  border: 1px solid var(--gold-border);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--blue-vault);
  margin-bottom: 1.6rem;
  box-shadow: var(--shadow-soft);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-ochre);
  box-shadow: 0 0 8px rgba(184, 134, 11, 0.6);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5.2vw, 4.3rem);
  font-weight: 400;
  line-height: 1.08;
  color: var(--text-dark);
  max-width: 960px;
  margin: 0 auto 1.4rem;
}

.hero-title em {
  font-style: italic;
  color: var(--blue-vault);
  font-weight: 500;
}

.hero-lead {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 740px;
  margin: 0 auto 2.3rem;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-bottom: 3.2rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  max-width: 920px;
  margin: 0 auto;
}

.hero-metric-card {
  background: var(--bg-white);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
  text-align: left;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.hero-metric-card strong {
  display: block;
  font-size: 0.88rem;
  color: var(--blue-deep);
  margin-bottom: 0.2rem;
}

.hero-metric-card span {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
  display: block;
}

/* ==================== 01 PREMISA ==================== */
.premisa-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  gap: 2.2rem;
  align-items: stretch;
}

.quote-card {
  background: var(--bg-white);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 2.4rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quote-mark {
  font-family: var(--font-serif);
  font-size: 3.8rem;
  line-height: 0.8;
  color: var(--gold-ochre);
  opacity: 0.65;
}

.quote-text {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  line-height: 1.45;
  color: var(--text-dark);
  margin: 1rem 0 1.6rem;
}

.quote-footer {
  border-top: 1px solid var(--blue-border);
  padding-top: 1rem;
}

.quote-author {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--blue-vault);
}

.quote-sub {
  font-size: 0.78rem;
  color: var(--text-light);
}

.premisa-content h3 {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  color: var(--blue-deep);
  margin-bottom: 0.8rem;
}

.premisa-content>p {
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.etymology-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--gold-soft);
  border: 1px solid var(--gold-border);
  font-size: 0.8rem;
  color: var(--blue-deep);
  margin-bottom: 1.4rem;
}

.factors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

.factor-card {
  background: var(--bg-white);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius-md);
  padding: 1.05rem;
}

.factor-card strong {
  display: block;
  font-size: 0.86rem;
  color: var(--blue-deep);
  margin-bottom: 0.35rem;
}

.factor-card p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ==================== 02 DIRECTORIO DE ESPECIALISTAS ==================== */
.directory-header-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.2rem;
  margin-bottom: 2.2rem;
}

.directory-header-row .section-desc {
  margin-bottom: 0;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-btn {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--bg-white);
  border: 1px solid var(--blue-border);
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--blue-vault);
  color: #fff;
  border-color: var(--blue-vault);
}

.specialists-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.specialist-card {
  background: var(--bg-white);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
}

.specialist-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold-border);
}

.specialist-card.is-founder {
  border-top: 3px solid var(--gold-ochre);
}

.specialist-card.is-curating {
  border-style: dashed;
  background: rgba(255, 255, 255, 0.72);
}

.sp-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.sp-status {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.28rem 0.68rem;
  border-radius: 999px;
}

.sp-status.active {
  background: var(--emerald-soft);
  color: var(--emerald);
  border: 1px solid rgba(35, 107, 70, 0.22);
}

.sp-status.curating {
  background: var(--blue-frost);
  color: var(--blue-vault);
  border: 1px solid var(--blue-border);
}

.sp-glyph-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-ivory);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sp-brand {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--blue-deep);
  line-height: 1.15;
}

.sp-person {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--gold-ochre);
  margin: 0.2rem 0 0.8rem;
}

.sp-desc {
  font-size: 0.87rem;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
}

.sp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.sp-tag {
  font-size: 0.71rem;
  font-weight: 600;
  padding: 0.24rem 0.6rem;
  border-radius: 6px;
  background: var(--blue-frost);
  color: var(--blue-vault);
}

.sp-meta {
  font-size: 0.77rem;
  color: var(--text-light);
  border-top: 1px solid var(--blue-border);
  padding-top: 0.9rem;
  margin-bottom: 1.1rem;
}

.sp-actions {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

/* ==================== 03 LOS 4 PILARES ==================== */
.pilares-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.35rem;
}

.pilar-card {
  background: var(--bg-white);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius-md);
  padding: 1.65rem;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.pilar-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-border);
}

.pilar-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-ivory);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}

.pilar-card h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--blue-deep);
  margin-bottom: 0.25rem;
}

.pilar-sub {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--gold-ochre);
  margin-bottom: 0.75rem;
}

.pilar-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  flex: 1;
}

.pilar-group-note {
  margin-top: 1rem;
  padding-top: 0.8rem;
  border-top: 1px dashed var(--blue-border);
  font-size: 0.74rem;
  color: var(--blue-vault);
  font-weight: 600;
}

/* ==================== 04 BRÚJULA INTELIGENTE ==================== */
.brujula-card {
  background: var(--bg-white);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-soft);
}

.quiz-progress-bar {
  width: 100%;
  height: 6px;
  background: var(--blue-frost);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.quiz-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--blue-vault), var(--gold-ochre));
  transition: width 0.35s ease;
}

.question-number {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-ochre);
  margin-bottom: 0.6rem;
}

.question-text {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--blue-deep);
  margin-bottom: 1.5rem;
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}

.option-btn {
  text-align: left;
  background: var(--bg-ivory);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  transition: var(--transition);
}

.option-btn:hover {
  background: var(--bg-white);
  border-color: var(--gold-ochre);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.quiz-result-box {
  background: var(--bg-ivory);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.result-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold-ochre);
  background: var(--gold-soft);
  padding: 0.32rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
}

.result-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  color: var(--blue-deep);
  margin-bottom: 0.6rem;
}

.result-specialist-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-white);
  border: 1px solid var(--blue-border);
  border-radius: 10px;
  padding: 0.55rem 0.95rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--blue-vault);
  margin-bottom: 1rem;
}

.result-analysis {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.result-rec {
  background: var(--bg-white);
  border-left: 3px solid var(--gold-ochre);
  padding: 1rem 1.15rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
}

.result-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ==================== 05 ATENUM CORE SHOWCASE ==================== */
.core-panel {
  background: var(--bg-white);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius-lg);
  padding: 2.6rem;
  box-shadow: var(--shadow-soft);
}

.flight-deck-bar {
  background: var(--bg-obsidian);
  color: var(--text-white);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.8rem;
  margin: 1.8rem 0 2.2rem;
  border: 1px solid rgba(212, 175, 55, 0.35);
}

.flight-deck-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1.2rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-live {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #4ade80;
  font-weight: 600;
  font-size: 0.75rem;
}

.status-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
}

.deck-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.deck-metric {
  background: var(--bg-obsidian-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 1rem;
}

.deck-metric strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--gold-royal);
}

.deck-metric span {
  font-size: 0.75rem;
  color: rgba(245, 244, 240, 0.75);
}

.pricing-switch {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.8rem;
  flex-wrap: wrap;
}

.switch-btn {
  padding: 0.62rem 1.35rem;
  border-radius: 999px;
  border: 1px solid var(--blue-border);
  background: var(--bg-ivory);
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.switch-btn.active {
  background: var(--blue-vault);
  color: #fff;
  border-color: var(--blue-vault);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
}

.plans-grid.two-cols {
  grid-template-columns: repeat(2, 1fr);
  max-width: 880px;
  margin: 0 auto;
}

.plan-card {
  background: var(--bg-ivory);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius-md);
  padding: 1.65rem;
  display: flex;
  flex-direction: column;
}

.plan-card.featured {
  background: var(--bg-white);
  border: 1.5px solid var(--gold-ochre);
  box-shadow: var(--shadow-soft);
}

.plan-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-ochre);
}

.plan-card h4 {
  font-family: var(--font-serif);
  font-size: 1.48rem;
  color: var(--blue-deep);
  margin: 0.25rem 0;
}

.plan-price {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.7rem;
}

.plan-price span {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-light);
}

.plan-list {
  list-style: none;
  margin: 0.8rem 0 1.4rem;
  flex: 1;
}

.plan-list li {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 0.34rem 0;
  padding-left: 1.15rem;
  position: relative;
}

.plan-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--gold-ochre);
  font-size: 0.72rem;
}

/* ==================== 06 PARA TERAPEUTAS ALIADOS ==================== */
.ally-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.hybrid-model-box {
  background: var(--bg-white);
  border: 1.5px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}

.hybrid-pill {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  background: var(--gold-soft);
  color: var(--gold-ochre);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
}

.hybrid-pillars {
  display: grid;
  gap: 1rem;
  margin: 1.3rem 0 1.6rem;
}

.hybrid-row {
  background: var(--bg-ivory);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
}

.hybrid-row strong {
  display: block;
  color: var(--blue-deep);
  font-size: 0.88rem;
  margin-bottom: 0.25rem;
}

.hybrid-row span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.ally-benefits {
  display: grid;
  gap: 1rem;
}

.ally-benefit {
  background: var(--bg-white);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.4rem;
}

.ally-benefit strong {
  display: block;
  font-size: 0.92rem;
  color: var(--blue-deep);
  margin-bottom: 0.3rem;
}

.ally-benefit p {
  font-size: 0.83rem;
  color: var(--text-muted);
}

/* ==================== 07 ADMISIÓN DUAL ==================== */
.intake-shell {
  background: var(--bg-white);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius-lg);
  padding: 2.6rem;
  box-shadow: var(--shadow-soft);
  max-width: 920px;
  margin: 0 auto;
}

.intake-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-bottom: 2rem;
  background: var(--bg-ivory);
  padding: 0.45rem;
  border-radius: 999px;
  border: 1px solid var(--blue-border);
}

.intake-tab-btn {
  padding: 0.72rem 1rem;
  border-radius: 999px;
  border: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.intake-tab-btn.active {
  background: var(--blue-vault);
  color: #fff;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue-deep);
  margin-bottom: 0.38rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.78rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--blue-border);
  background: var(--bg-ivory);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--text-dark);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold-ochre);
  background: var(--bg-white);
}

.form-success {
  text-align: center;
  padding: 2rem 1rem;
}

.form-success .success-mark {
  font-size: 2.2rem;
  color: var(--gold-ochre);
  margin-bottom: 0.6rem;
}

/* ==================== MODAL ESPECIALISTA ==================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 19, 22, 0.62);
  backdrop-filter: blur(6px);
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-backdrop.open {
  display: flex;
}

.modal-window {
  background: var(--bg-white);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.2rem;
  position: relative;
  box-shadow: 0 24px 64px rgba(18, 19, 22, 0.28);
}

.modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--blue-border);
  background: var(--bg-ivory);
  color: var(--text-dark);
  cursor: pointer;
  font-size: 1rem;
}

.modal-close:hover {
  background: var(--blue-vault);
  color: #fff;
}

/* ==================== BANNER CIERRE & FOOTER ==================== */
.banner-cierre {
  background: var(--blue-deep);
  color: var(--text-white);
  text-align: center;
  padding: 4.5rem 0;
}

.banner-cierre h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.banner-cierre p {
  color: rgba(245, 244, 240, 0.8);
  margin-bottom: 1.2rem;
}

.banner-seal {
  color: var(--gold-royal);
  font-family: var(--font-serif);
  letter-spacing: 0.22em;
  font-size: 1.15rem;
}

.site-footer {
  background: var(--bg-white);
  border-top: 1px solid var(--blue-border);
  padding: 3.5rem 0 2.2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.2rem;
}

.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue-vault);
  margin-bottom: 0.8rem;
}

.footer-col a {
  display: block;
  font-size: 0.84rem;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.25rem 0;
}

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

.footer-bottom {
  border-top: 1px solid var(--blue-border);
  padding-top: 1.4rem;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-light);
}

.footer-disclaimer {
  max-width: 880px;
  margin: 0.8rem auto 0;
  font-size: 0.72rem;
  line-height: 1.55;
}

/* ==================== 04 FASES, ASTROLABIO & BÓVEDA SAGRADA ==================== */
.fases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
  margin-bottom: 2.6rem;
}

.fase-card {
  background: var(--bg-white);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius-md);
  padding: 1.65rem;
  box-shadow: var(--shadow-soft);
}

.fase-num {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-ochre);
  margin-bottom: 0.45rem;
}

.fase-card h4 {
  font-family: var(--font-serif);
  font-size: 1.42rem;
  color: var(--blue-deep);
  margin-bottom: 0.5rem;
}

.fase-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.cartografia-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2.6rem;
}

.astrolabe-card {
  background: var(--bg-white);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  box-shadow: var(--shadow-soft);
}

.ejes-stack {
  display: grid;
  gap: 0.95rem;
}

.eje-card {
  background: var(--bg-white);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.3rem;
}

.eje-card.highlight {
  background: var(--gold-soft);
  border-color: var(--gold-border);
}

.eje-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--blue-frost);
  color: var(--blue-vault);
  margin-bottom: 0.35rem;
}

.eje-badge.gold {
  background: var(--bg-white);
  color: var(--gold-ochre);
  border: 1px solid var(--gold-border);
}

.eje-card h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--blue-deep);
  margin-bottom: 0.25rem;
}

.eje-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.boveda-manifesto {
  background: var(--bg-white);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2.4rem;
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.boveda-star {
  display: inline-block;
  color: var(--gold-ochre);
  font-size: 1.4rem;
  margin-bottom: 0.7rem;
}

.boveda-manifesto p {
  font-family: var(--font-serif);
  font-size: 1.32rem;
  line-height: 1.55;
  color: var(--text-dark);
  max-width: 920px;
  margin: 0 auto 1.3rem;
}

.boveda-foot {
  font-size: 0.82rem;
  color: var(--blue-vault);
  padding-top: 1rem;
  border-top: 1px solid var(--blue-border);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {

  .specialists-grid,
  .plans-grid,
  .fases-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pilares-grid,
  .deck-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .premisa-grid,
  .ally-grid,
  .cartografia-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--bg-ivory);
    flex-direction: column;
    padding: 1.2rem 1.8rem;
    border-bottom: 1px solid var(--blue-border);
    align-items: flex-start;
  }

  .main-nav.open {
    display: flex;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .header-actions {
    border-left: none;
    padding-left: 0;
  }

  .hero-metrics,
  .factors-grid,
  .specialists-grid,
  .pilares-grid,
  .fases-grid,
  .options-grid,
  .plans-grid,
  .plans-grid.two-cols,
  .deck-metrics,
  .form-grid-2,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .brujula-card,
  .core-panel,
  .intake-shell,
  .boveda-manifesto {
    padding: 1.6rem;
  }
}