/* =========================================================
   FRACTAL MUSIC WORLD — HOME VISUAL CSS
   Estética: institucional, luminosa, negro/dorado, raíz poética
   ========================================================= */

:root {
  --bg-main: #0d0b08;
  --bg-soft: #17120d;
  --bg-card: #fffaf0;
  --bg-card-soft: #f4ead7;
  --gold: #d8a84f;
  --gold-soft: #f0cf87;
  --gold-deep: #8c6425;
  --text-light: #fff7e6;
  --text-muted: #d8c6a3;
  --text-dark: #19140d;
  --text-brown: #4d3820;
  --line-gold: rgba(216, 168, 79, 0.45);
  --shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.28);
  --shadow-card: 0 14px 36px rgba(0, 0, 0, 0.18);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(216, 168, 79, 0.18), transparent 32%),
    radial-gradient(circle at bottom right, rgba(120, 63, 24, 0.18), transparent 30%),
    var(--bg-main);
  color: var(--text-light);
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, .logo, .eyebrow {
  font-family: "Cinzel", Georgia, serif;
  letter-spacing: 0.02em;
}
h1 {
  margin: 0 0 18px;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.95;
  color: var(--gold-soft);
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}
h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.05;
  color: var(--gold-soft);
}
h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  line-height: 1.2;
  color: var(--gold-deep);
}
p { margin: 0 0 18px; }
strong { color: var(--gold-soft); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 4vw, 56px);
  background: rgba(13, 11, 8, 0.84);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(216, 168, 79, 0.2);
}
.logo {
  font-size: 1rem;
  font-weight: 800;
  color: var(--gold-soft);
  text-transform: uppercase;
  white-space: nowrap;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.92rem;
  color: var(--text-muted);
}
.main-nav a { transition: color 0.2s ease; }
.main-nav a:hover { color: var(--gold-soft); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.94rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: #1b1205;
  box-shadow: 0 10px 26px rgba(216, 168, 79, 0.28);
}
.btn-secondary {
  background: rgba(255, 250, 240, 0.1);
  color: var(--gold-soft);
  border-color: var(--line-gold);
}
.btn-outline {
  background: transparent;
  color: var(--text-light);
  border-color: rgba(255, 247, 230, 0.32);
}
.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.button-group.center { justify-content: center; }

main { overflow: hidden; }
.section {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(64px, 9vw, 110px) 0;
}
.section-heading { max-width: 820px; margin-bottom: 38px; }
.section-heading.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-heading p { color: var(--text-muted); font-size: 1.08rem; }
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
}

.hero {
  width: min(1320px, calc(100% - 40px));
  margin: 0 auto;
  min-height: calc(100vh - 80px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
  padding: clamp(60px, 8vw, 110px) 0;
}
.hero-content { position: relative; z-index: 2; }
.eyebrow {
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
}
.hero h2 {
  max-width: 720px;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  line-height: 1.35;
  color: var(--text-light);
  font-weight: 700;
}
.hero p { max-width: 650px; color: var(--text-muted); font-size: 1.08rem; }
.hero-statement {
  margin-top: 22px;
  padding-left: 18px;
  border-left: 3px solid var(--gold);
  color: var(--text-light) !important;
  font-weight: 700;
}
.hero-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(216, 168, 79, 0.28);
  background: #140e08;
}
.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, transparent 55%, rgba(13, 11, 8, 0.35)),
    radial-gradient(circle at center, transparent 52%, rgba(13, 11, 8, 0.28));
  pointer-events: none;
}
.hero-image img {
  width: 100%;
  height: min(72vh, 720px);
  object-fit: cover;
  object-position: center;
}

.section-intro, .section-institutional, .dossier-section, .contact-section, .compact-section { position: relative; }
.section-intro::before, .section-institutional::before, .dossier-section::before, .contact-section::before, .compact-section::before {
  content: "";
  position: absolute;
  inset: 34px -36px;
  background: rgba(255, 250, 240, 0.045);
  border: 1px solid rgba(216, 168, 79, 0.14);
  border-radius: 38px;
  z-index: -1;
}

.cards-grid { display: grid; gap: 18px; }
.cards-grid.one { grid-template-columns: 1fr; }
.cards-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards-grid.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.card {
  padding: 26px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--bg-card), var(--bg-card-soft));
  color: var(--text-dark);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(216, 168, 79, 0.35);
}
.card p { color: var(--text-brown); }
.card strong { color: #7a4b0d; }
.card h2 { color: var(--gold-deep); font-size: clamp(1.7rem, 3vw, 2.3rem); }
.card-lead { font-weight: 800; color: #2e2112 !important; }
.card.small { padding: 20px; }
.card.compact { padding: 20px; }
.card.compact h3 { font-size: 1.02rem; }
.card.compact p { font-size: 0.94rem; }
.feature-card { min-height: 100%; }

.image-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(216, 168, 79, 0.26);
  background: #160f08;
  box-shadow: var(--shadow-soft);
}
.image-card img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: center;
}

.dark-feature {
  width: 100%;
  max-width: none;
  padding-left: max(20px, calc((100vw - var(--max-width)) / 2));
  padding-right: max(20px, calc((100vw - var(--max-width)) / 2));
  background:
    radial-gradient(circle at 20% 20%, rgba(216, 168, 79, 0.18), transparent 34%),
    linear-gradient(135deg, #120d08, #26170a);
  border-top: 1px solid rgba(216, 168, 79, 0.18);
  border-bottom: 1px solid rgba(216, 168, 79, 0.18);
}
.dark-feature .two-column { width: min(var(--max-width), 100%); margin: 0 auto; }
.dark-feature p { color: var(--text-muted); }

.poetic-lines { color: var(--text-light) !important; font-weight: 700; line-height: 1.8; }
.card .poetic-lines { color: var(--text-brown) !important; }
.language-list {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(216, 168, 79, 0.14);
  color: #2d1d0b !important;
  font-weight: 800;
}
.payment-note {
  margin: 30px auto 0;
  max-width: 760px;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  text-align: center;
  color: var(--gold-soft);
  border: 1px solid var(--line-gold);
  background: rgba(216, 168, 79, 0.08);
  font-weight: 700;
}

.contact-card {
  width: min(760px, 100%);
  margin: 34px auto 0;
  padding: 28px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, var(--bg-card), var(--bg-card-soft));
  color: var(--text-dark);
  text-align: center;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(216, 168, 79, 0.42);
}
.contact-card p { margin-bottom: 10px; color: var(--text-brown); font-size: 1.08rem; }
.contact-card a { color: #7a4b0d; font-weight: 800; }
.contact-card strong { color: #2d1d0b; }

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #1f8f4d, #27c46a);
  color: white;
  font-weight: 900;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.35);
}

@media (max-width: 1080px) {
  .site-header { align-items: flex-start; flex-wrap: wrap; }
  .main-nav { order: 3; width: 100%; overflow-x: auto; padding-bottom: 4px; }
  .hero, .two-column { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-image img { height: auto; }
  .cards-grid.four, .cards-grid.five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .section, .hero { width: min(100% - 28px, var(--max-width)); }
  .site-header { padding: 14px 16px; }
  .main-nav { gap: 14px; font-size: 0.86rem; }
  .header-cta { width: 100%; }
  h1 { font-size: clamp(2.55rem, 18vw, 4.2rem); }
  h2 { font-size: clamp(1.8rem, 10vw, 2.7rem); }
  .cards-grid.two, .cards-grid.three, .cards-grid.four, .cards-grid.five { grid-template-columns: 1fr; }
  .button-group, .button-group.center { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .floating-whatsapp { left: 16px; right: 16px; bottom: 16px; }
}

/* The Dissonance Test */
.test-promo { background: linear-gradient(180deg, rgba(97, 55, 134, .12), rgba(0, 0, 0, 0)); }
.test-page { background: #050507; }
.test-page .site-header { position: sticky; top: 0; z-index: 100; }
.test-hero { max-width: 1380px; margin: 0 auto; padding: 120px 6vw 70px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.test-hero h1 { font-family: "Cinzel", serif; font-size: clamp(3rem, 7vw, 6.8rem); line-height: .95; margin: 0 0 24px; color: #e7c675; }
.test-intro { max-width: 760px; font-size: clamp(1.08rem, 2vw, 1.35rem); color: #ddd6c7; }
.test-hero-image img { aspect-ratio: 4/5; object-fit: cover; object-position: top; }
.test-facts { list-style: none; padding: 0; margin: 34px 0 0; display: flex; gap: 12px; flex-wrap: wrap; }
.test-facts li { border: 1px solid rgba(231, 198, 117, .35); border-radius: 999px; padding: 9px 15px; color: #e7c675; font-weight: 700; font-size: .85rem; }
.test-shell, .result-shell { width: min(100% - 32px, 980px); margin: 0 auto 100px; }
.test-progress-wrap { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; color: #c8bfaf; margin-bottom: 18px; }
.test-progress-wrap progress { width: 100%; height: 12px; accent-color: #c89d3e; }
.question-card { border: 1px solid rgba(231, 198, 117, .32); border-radius: 28px; padding: clamp(28px, 6vw, 62px); background: radial-gradient(circle at 90% 10%, rgba(104, 51, 129, .2), transparent 35%), #0d0d12; box-shadow: 0 28px 80px rgba(0, 0, 0, .45); }
.question-card h2 { font-family: "Cinzel", serif; font-size: clamp(1.75rem, 4vw, 3rem); line-height: 1.18; margin: 0 0 34px; }
.test-options { display: grid; gap: 14px; }
.test-option { width: 100%; display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 12px; min-height: 72px; padding: 10px 22px 10px 10px; color: #f4efe5; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; text-align: left; font: inherit; font-size: 1.05rem; cursor: pointer; transition: .2s ease; }
.test-option:hover, .test-option:focus-visible, .test-option[data-selected="true"] { border-color: #e7c675; transform: translateY(-2px); background: rgba(231, 198, 117, .08); outline: none; }
.option-key { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid #e7c675; border-radius: 50%; color: #e7c675; font-family: "Cinzel", serif; font-weight: 800; }
.test-controls { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; color: #a9a397; }
.test-controls p { margin: 0; font-size: .9rem; }
.test-controls button:disabled { opacity: .35; cursor: not-allowed; }
.result-shell { padding-top: 30px; }
.result-heading { text-align: center; max-width: 850px; margin: 0 auto 42px; }
.result-heading h2 { font-family: "Cinzel", serif; color: #e7c675; font-size: clamp(2.5rem, 6vw, 5.2rem); line-height: 1; margin: 0 0 14px; }
.result-family { color: #a98be3; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.result-description { font-size: clamp(1.2rem, 2.2vw, 1.55rem); color: #e7e1d7; }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.result-card { padding: 28px; border: 1px solid rgba(231, 198, 117, .28); border-radius: 22px; background: rgba(255,255,255,.035); }
.result-card h3, .lead-form h3 { margin-top: 0; color: #e7c675; }
.result-route { grid-column: 1 / -1; }
.operator-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.operator-list li { display: flex; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.1); padding-bottom: 8px; }
.result-actions { display: grid; grid-template-columns: 1.4fr .6fr; gap: 18px; margin-top: 18px; }
.lead-form { padding: 28px; border-radius: 22px; background: #111117; border: 1px solid rgba(255,255,255,.1); display: grid; gap: 15px; }
.lead-form label { display: grid; gap: 7px; font-weight: 700; }
.lead-form input[type="text"], .lead-form input[type="email"] { min-height: 48px; border-radius: 10px; border: 1px solid rgba(255,255,255,.2); background: #08080b; color: white; padding: 0 14px; font: inherit; }
.lead-form .consent { display: grid; grid-template-columns: auto 1fr; align-items: start; font-weight: 400; font-size: .9rem; }
.result-tools { display: flex; flex-direction: column; gap: 12px; }
.test-method { border-top: 1px solid rgba(231, 198, 117, .16); }
.site-footer { padding: 34px; text-align: center; color: #9f998e; border-top: 1px solid rgba(255,255,255,.08); }
@media (max-width: 900px) {
  .test-hero { grid-template-columns: 1fr; padding-top: 80px; }
  .test-hero-image { order: -1; max-height: 520px; overflow: hidden; }
  .result-actions { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .test-hero { padding-inline: 20px; }
  .test-hero h1 { font-size: 3rem; }
  .test-progress-wrap { grid-template-columns: 1fr; }
  .question-card { border-radius: 20px; padding: 26px 18px; }
  .test-option { grid-template-columns: 44px 1fr; padding-right: 14px; font-size: .98rem; }
  .option-key { width: 40px; height: 40px; }
  .test-controls { align-items: flex-start; flex-direction: column; }
  .result-grid { grid-template-columns: 1fr; }
  .result-route { grid-column: auto; }
}

.admin-shell { width: min(1180px, calc(100% - 32px)); margin: 90px auto; }
.admin-login { max-width: 560px; margin: 0 auto 32px; }
.admin-metrics { margin-bottom: 24px; }
.admin-list { display: grid; gap: 10px; }
.admin-list-row { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; min-width: 850px; }
.admin-table th, .admin-table td { padding: 12px; text-align: left; border-bottom: 1px solid rgba(255,255,255,.1); }
.admin-table th { color: var(--gold-soft, #f1d891); }

/* Commit 005: entrega personalizada y memoria evolutiva */
.delivery-shell{width:min(1120px,calc(100% - 32px));margin:0 auto;padding:140px 0 90px;display:grid;gap:28px}.delivery-card,.history-card,.sample-sheet{border:1px solid rgba(255,255,255,.11);border-radius:28px;background:linear-gradient(145deg,rgba(255,255,255,.065),rgba(255,255,255,.018));box-shadow:0 26px 80px rgba(0,0,0,.32);padding:clamp(28px,5vw,58px)}.delivery-card h1,.sample-sheet h1{font-family:"Cinzel",serif;font-size:clamp(2.4rem,6vw,5.5rem);line-height:1;margin:.2em 0}.delivery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:34px 0}.delivery-grid article{padding:24px;border:1px solid rgba(217,180,91,.25);border-radius:20px;background:rgba(0,0,0,.18)}.delivery-grid span,.result-kicker,.history-entry small{color:var(--gold-soft,#f1d891);font-size:.78rem;letter-spacing:.12em;text-transform:uppercase}.delivery-grid h2{margin:.4rem 0;font-size:clamp(1.25rem,3vw,2rem)}.lead-copy{font-size:clamp(1.05rem,2vw,1.3rem);max-width:820px}.history-card h2,.sample-sheet h2{font-family:"Cinzel",serif}.history-list{display:grid;gap:12px;margin-top:24px}.history-entry{display:grid;grid-template-columns:auto 1fr auto;gap:18px;align-items:center;padding:18px;border-radius:18px;background:rgba(0,0,0,.2);border:1px solid rgba(255,255,255,.08)}.history-entry h3,.history-entry p{margin:0}.history-entry a{color:var(--gold-soft,#f1d891);font-weight:800}.history-index{font-size:1.6rem;font-family:"Cinzel",serif;color:rgba(217,180,91,.75)}.sample-sheet{max-width:920px;margin:auto}.sample-sheet blockquote{font-family:"Cinzel",serif;font-size:clamp(1.35rem,3vw,2.15rem);margin:32px 0;padding-left:24px;border-left:2px solid var(--gold,#d9b45b)}.sample-sheet section{padding:22px 0;border-top:1px solid rgba(255,255,255,.08)}.sample-sheet section p{font-size:1.05rem;line-height:1.8}.sample-archetype{font-weight:900;color:var(--gold-soft,#f1d891);font-size:1.2rem}.error-card{border-color:#a44}.muted{color:#aaa9b3}@media(max-width:720px){.delivery-grid{grid-template-columns:1fr}.history-entry{grid-template-columns:auto 1fr}.history-entry a{grid-column:2}.delivery-shell{padding-top:110px}}

.delivery-shell{max-width:880px;margin:0 auto}.purchase-detail{display:grid;gap:.75rem;margin:2rem 0}.purchase-detail>div{display:grid;grid-template-columns:minmax(110px,180px) 1fr;gap:1rem;padding:.8rem 0;border-bottom:1px solid rgba(255,218,104,.2)}.purchase-detail dt{font-weight:700;color:#ffda68}.purchase-detail dd{margin:0;overflow-wrap:anywhere}.admin-actions{margin:1.5rem 0}.admin-metrics{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}
/* =========================================================
   FRACTAL MUSIC WORLD — VISUAL SYSTEM V2
   Negro profundo · oro luminoso · vitrales Gátople
   Recalibración visual, no reconstrucción funcional.
   ========================================================= */

:root {
  --bg-main: #030303;
  --bg-soft: #080807;
  --bg-elevated: #10100e;
  --bg-card: rgba(16, 16, 14, .92);
  --bg-glass: rgba(255, 255, 255, .035);

  --gold-bright: #ffda68;
  --gold-main: #e4aa24;
  --gold-deep: #9b6808;
  --gold-glow: rgba(255, 187, 28, .32);

  --text-main: #fffaf0;
  --text-muted: #c8c1b4;
  --text-dark: #120e05;

  --line-gold: rgba(255, 198, 52, .34);
  --line-soft: rgba(255, 255, 255, .08);

  --green: #12b75a;
  --blue: #1d5ee7;
  --red: #d51c2e;
  --violet: #842fc1;

  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 15px;
  --max-width: 1240px;

  --shadow: 0 24px 70px rgba(0, 0, 0, .46);
  --glow: 0 0 26px rgba(255, 187, 28, .20);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text-main);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.65;
  background:
    radial-gradient(circle at 72% 12%, rgba(255, 184, 24, .11), transparent 28rem),
    radial-gradient(circle at 5% 44%, rgba(29, 94, 231, .045), transparent 24rem),
    linear-gradient(180deg, #020202 0%, #070706 48%, #020202 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .18;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black, transparent 82%);
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

h1, h2, h3, .eyebrow, .brand-copy strong {
  font-family: "Cinzel", Georgia, serif;
}

h1 {
  margin: 0 0 20px;
  max-width: 780px;
  font-size: clamp(3.3rem, 7vw, 7.2rem);
  line-height: .94;
  letter-spacing: -.035em;
  color: var(--text-main);
}

h2 {
  margin: 0 0 20px;
  font-size: clamp(2rem, 4.4vw, 4rem);
  line-height: 1.04;
  color: var(--gold-bright);
}

h3 {
  margin: 0 0 13px;
  font-size: 1.32rem;
  color: var(--gold-bright);
}

p { margin: 0 0 18px; }
strong { color: var(--gold-bright); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 12px clamp(18px, 4vw, 58px);
  background: rgba(3, 3, 3, .82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line-gold);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}

.brand-mark {
  width: 48px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 0 12px rgba(255,190,30,.25));
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  line-height: 1.05;
}

.brand-copy strong {
  font-size: 1.2rem;
  letter-spacing: .12em;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--text-muted);
  font-size: .66rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  color: var(--text-muted);
  font-size: .87rem;
}

.main-nav a {
  position: relative;
  transition: color .2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 1px;
  background: var(--gold-bright);
  transition: right .22s ease;
}

.main-nav a:hover { color: var(--text-main); }
.main-nav a:hover::after { right: 0; }

.nav-toggle {
  display: none;
  color: var(--gold-bright);
  background: transparent;
  border: 1px solid var(--line-gold);
  border-radius: 999px;
  padding: 9px 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .01em;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

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

.btn-primary {
  color: var(--text-dark);
  background: linear-gradient(135deg, #ffe18b 0%, #e9ae28 58%, #b87808 100%);
  border-color: #ffe8a8;
  box-shadow: 0 9px 28px rgba(255, 184, 23, .26);
}

.btn-primary:hover {
  box-shadow: 0 12px 34px rgba(255, 184, 23, .38);
}

.btn-secondary {
  color: var(--gold-bright);
  background: rgba(255, 202, 54, .06);
  border-color: var(--line-gold);
}

.btn-outline {
  color: var(--text-main);
  background: transparent;
  border-color: rgba(255, 255, 255, .22);
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero {
  width: min(calc(100% - 40px), 1420px);
  min-height: calc(100vh - 78px);
  margin-inline: auto;
  padding: clamp(56px, 7vw, 108px) 0;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: clamp(36px, 6vw, 92px);
}

.eyebrow {
  margin-bottom: 15px;
  color: var(--gold-main);
  font-weight: 800;
  font-size: .92rem;
  letter-spacing: .20em;
  text-transform: uppercase;
}

.hero h2 {
  max-width: 780px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1.3rem, 2.3vw, 2rem);
  line-height: 1.32;
  color: var(--gold-bright);
}

.hero-intro {
  max-width: 680px;
  color: var(--text-muted);
  font-size: 1.08rem;
}

.hero-statement {
  padding-left: 18px;
  border-left: 2px solid var(--gold-main);
  color: var(--text-main);
  font-weight: 700;
}

.hero-emblem {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
}

.hero-emblem img {
  position: relative;
  z-index: 2;
  width: min(100%, 650px);
  filter:
    drop-shadow(0 0 14px rgba(255, 195, 39, .42))
    drop-shadow(0 0 50px rgba(255, 166, 0, .18));
}

.emblem-halo {
  position: absolute;
  width: 82%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255,202,70,.20), rgba(255,170,0,.07) 42%, transparent 70%);
  filter: blur(10px);
}

.portal-strip {
  width: min(calc(100% - 40px), var(--max-width));
  margin: -28px auto 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  overflow: hidden;
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-lg);
  background: rgba(8, 8, 7, .82);
  box-shadow: var(--shadow);
}

.portal-strip a {
  min-height: 150px;
  padding: 24px 16px;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  border-right: 1px solid var(--line-soft);
  transition: background .2s ease, transform .2s ease;
}

.portal-strip a:last-child { border-right: 0; }
.portal-strip a:hover { background: rgba(255,190,32,.065); }
.portal-strip span { color: var(--gold-main); font-size: 2.2rem; line-height: 1; }
.portal-strip strong { margin-top: 10px; }
.portal-strip small { margin-top: 5px; color: var(--text-muted); }

.section {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
  padding: clamp(72px, 9vw, 124px) 0;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
  gap: clamp(34px, 6vw, 80px);
  align-items: center;
}

.section-heading {
  max-width: 840px;
  margin-bottom: 40px;
}

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

.section-heading p { color: var(--text-muted); }

.glass-panel {
  padding: clamp(30px, 5vw, 54px);
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  box-shadow: var(--shadow);
}

.quote-panel blockquote {
  margin: 24px 0 0;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  line-height: 1.25;
  color: var(--gold-bright);
}

.cards-grid {
  display: grid;
  gap: 18px;
}

.cards-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  color: var(--text-main);
  background:
    linear-gradient(180deg, rgba(20, 20, 17, .96), rgba(7, 7, 6, .96));
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 50px rgba(0,0,0,.34);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 85% 0%, rgba(255,190,35,.09), transparent 32%);
}

.card p { position: relative; color: var(--text-muted); }
.card h3 { position: relative; }
.card-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  aspect-ratio: 1;
  margin-bottom: 18px;
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  color: var(--gold-bright);
  font-size: 1.4rem;
}

.feature-card { min-height: 330px; }
.status {
  color: var(--gold-main) !important;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .76rem;
}

.language-list {
  color: var(--text-main) !important;
  font-weight: 700;
}

.feature-band {
  width: 100%;
  background:
    radial-gradient(circle at 30% 48%, rgba(255, 185, 20, .15), transparent 26rem),
    linear-gradient(180deg, #080807, #030303);
  border-top: 1px solid var(--line-gold);
  border-bottom: 1px solid var(--line-gold);
}

.gatople-stage {
  min-height: 560px;
  display: grid;
  place-items: center;
}

.gatople-stage img {
  width: min(100%, 580px);
  filter:
    drop-shadow(0 0 18px rgba(255, 196, 42, .45))
    drop-shadow(0 0 70px rgba(255, 160, 0, .20));
}

.cta-band {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 40px auto;
  padding: clamp(34px, 5vw, 58px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 80% 50%, rgba(255,190,32,.12), transparent 28rem),
    linear-gradient(135deg, #12110d, #050505);
  box-shadow: var(--shadow);
}

.cta-band h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.cta-band .button-group { margin-top: 0; flex-shrink: 0; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.contact-card {
  padding: 25px;
  display: grid;
  gap: 7px;
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
}

.contact-card span { color: var(--text-muted); }

.site-footer {
  padding: 28px clamp(20px, 4vw, 58px);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--text-muted);
  border-top: 1px solid var(--line-gold);
  background: #020202;
  font-size: .86rem;
}

.site-footer p { margin: 0; }

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: auto auto 1fr;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 18px;
    right: 18px;
    display: none;
    padding: 20px;
    flex-direction: column;
    align-items: stretch;
    background: rgba(4,4,4,.97);
    border: 1px solid var(--line-gold);
    border-radius: 0 0 18px 18px;
  }

  .main-nav.is-open { display: flex; }
  .header-cta { justify-self: end; }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-emblem {
    min-height: 430px;
    order: -1;
  }

  .portal-strip { grid-template-columns: repeat(3, 1fr); }
  .portal-strip a:nth-child(3) { border-right: 0; }
  .portal-strip a:nth-child(-n+3) { border-bottom: 1px solid var(--line-soft); }
}

@media (max-width: 820px) {
  .header-cta { display: none; }
  .site-header { grid-template-columns: 1fr auto; }

  .two-column,
  .cards-grid.two,
  .cards-grid.three,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .portal-strip { grid-template-columns: repeat(2, 1fr); }
  .portal-strip a { border-bottom: 1px solid var(--line-soft); }
  .portal-strip a:nth-child(odd) { border-right: 1px solid var(--line-soft); }
  .portal-strip a:nth-child(even) { border-right: 0; }
  .portal-strip a:nth-last-child(-n+2) { border-bottom: 0; }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer { flex-direction: column; }
}

@media (max-width: 560px) {
  .brand-copy small { display: none; }
  .brand { min-width: 0; }
  .hero, .section, .portal-strip, .cta-band {
    width: min(calc(100% - 24px), var(--max-width));
  }

  h1 { font-size: clamp(2.8rem, 15vw, 4.2rem); }
  .hero-emblem { min-height: 330px; }

  .button-group .btn { width: 100%; }
  .portal-strip a { min-height: 128px; padding: 18px 10px; }
}

/* COMMIT 011 — compatibility layer for functional WEB-001 screens */
.test-promo { position: relative; }
.test-promo .image-card img { width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--line-gold); box-shadow: var(--shadow); }
.image-card { overflow: hidden; border-radius: var(--radius-lg); background: var(--bg-card); border: 1px solid var(--line-gold); box-shadow: var(--shadow); }
.test-shell, .result-shell, .checkout-shell, .admin-shell, .recovery-shell, .confirmation-shell, .sample-shell {
  width: min(calc(100% - 32px), 980px); margin: 40px auto; padding: clamp(24px, 4vw, 48px);
  background: var(--bg-card); border: 1px solid var(--line-gold); border-radius: var(--radius-xl); box-shadow: var(--shadow);
}
input, select, textarea {
  width: 100%; color: var(--text-main); background: #0a0a09; border: 1px solid var(--line-gold); border-radius: 12px; padding: 13px 14px;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold-main); outline-offset: 2px; }
label { color: var(--text-muted); }
.question-card, .answer-option, .result-card, .checkout-card, .admin-card, .sample-card {
  background: var(--bg-card); color: var(--text-main); border-color: var(--line-gold);
}
.answer-option:hover, .answer-option:focus-within { border-color: var(--gold-bright); box-shadow: var(--glow); }
@media (max-width: 780px) {
  .test-shell, .result-shell, .checkout-shell, .admin-shell, .recovery-shell, .confirmation-shell, .sample-shell { margin: 20px auto; }
}


/* =========================================================
   COMMIT 016 — PARTITURA HOME 001–003
   HOME-001: Umbral / HOME-002: Obertura / HOME-003: Llamado
   ========================================================= */
:root {
  --score-pulse: 4.8s;
  --score-beat: 1.2s;
  --score-ease: cubic-bezier(.22,.72,.18,1);
  --score-black: #050403;
  --score-amber: #d4a64f;
  --score-light: #f6df9f;
}

.fmw-score {
  background:
    radial-gradient(circle at 50% -10%, rgba(235,190,95,.12), transparent 38rem),
    linear-gradient(180deg, #030302 0%, #080603 34%, #050403 100%);
}

.site-header[data-home="HOME-001"] {
  min-height: 74px;
  background: linear-gradient(180deg, rgba(3,3,2,.96), rgba(3,3,2,.70));
  border-bottom-color: rgba(229,190,102,.16);
  transition: background .8s var(--score-ease), border-color .8s var(--score-ease), transform .8s var(--score-ease);
}
.site-header[data-home="HOME-001"].is-scrolled {
  background: rgba(3,3,2,.92);
  border-bottom-color: rgba(229,190,102,.34);
  box-shadow: 0 12px 42px rgba(0,0,0,.34);
}
.site-header .brand-mark img { filter: drop-shadow(0 0 14px rgba(232,190,92,.34)); }
.site-header .brand-copy small { letter-spacing: .18em; }

.hero[data-home="HOME-002"] {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - 74px);
  padding-top: clamp(72px, 10vw, 142px);
  padding-bottom: clamp(90px, 11vw, 160px);
}
.hero[data-home="HOME-002"]::before {
  content: "";
  position: absolute;
  inset: 2% -18% -10%;
  z-index: -2;
  background:
    radial-gradient(circle at 72% 45%, rgba(229,184,83,.16), transparent 24%),
    radial-gradient(circle at 20% 35%, rgba(111,67,24,.12), transparent 31%);
  pointer-events: none;
}
.hero[data-home="HOME-002"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(235,200,123,.36), transparent);
  transform: scaleX(.15);
  opacity: .2;
  animation: score-line var(--score-pulse) var(--score-ease) infinite alternate;
}
.hero-copy > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1.05s var(--score-ease), transform 1.05s var(--score-ease);
}
.score-ready .hero-copy > * { opacity: 1; transform: none; }
.score-ready .hero-copy > :nth-child(1) { transition-delay: .12s; }
.score-ready .hero-copy > :nth-child(2) { transition-delay: .32s; }
.score-ready .hero-copy > :nth-child(3) { transition-delay: .54s; }
.score-ready .hero-copy > :nth-child(4) { transition-delay: .76s; }
.score-ready .hero-copy > :nth-child(5) { transition-delay: .98s; }
.score-ready .hero-copy > :nth-child(6) { transition-delay: 1.16s; }
.hero[data-home="HOME-002"] h1 {
  max-width: 11ch;
  text-wrap: balance;
  letter-spacing: -.035em;
}
.hero[data-home="HOME-002"] .hero-intro { max-width: 59ch; }
.hero[data-home="HOME-002"] .hero-statement {
  border-left: 0;
  padding-left: 0;
  max-width: 35ch;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(1rem, 1.45vw, 1.28rem);
  line-height: 1.7;
}
.hero[data-home="HOME-002"] .button-group { gap: 14px; }
.hero[data-home="HOME-002"] .btn { min-height: 50px; padding-inline: 24px; }

.hero-emblem {
  overflow: visible;
  transform: translateZ(0);
}
.hero-emblem::before,
.hero-emblem::after {
  content: "";
  position: absolute;
  inset: 7%;
  border: 1px solid rgba(231,190,96,.21);
  border-radius: 50%;
  animation: orbit-breathe var(--score-pulse) ease-in-out infinite;
}
.hero-emblem::after {
  inset: 19%;
  animation-delay: calc(var(--score-beat) * -1);
  animation-direction: reverse;
}
.hero-emblem img {
  animation: gatople-float calc(var(--score-pulse) * 1.5) ease-in-out infinite;
  filter: drop-shadow(0 0 24px rgba(238,192,89,.22)) drop-shadow(0 24px 65px rgba(0,0,0,.55));
}
.orbit-note {
  position: absolute;
  z-index: 3;
  width: 9px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--score-light);
  box-shadow: 0 0 18px rgba(246,223,159,.82);
  opacity: .72;
}
.orbit-note-a { top: 18%; left: 12%; animation: note-pulse var(--score-pulse) ease-in-out infinite; }
.orbit-note-b { right: 9%; top: 43%; animation: note-pulse var(--score-pulse) ease-in-out .8s infinite; }
.orbit-note-c { left: 31%; bottom: 7%; animation: note-pulse var(--score-pulse) ease-in-out 1.6s infinite; }

.portal-strip[data-home="HOME-003"] {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto clamp(78px, 9vw, 132px);
  padding: clamp(42px, 6vw, 78px);
  display: grid;
  grid-template-columns: minmax(250px,.72fr) minmax(0,1.28fr);
  gap: clamp(38px, 6vw, 88px);
  align-items: center;
  border: 1px solid rgba(226,184,89,.18);
  border-radius: 38px;
  background:
    radial-gradient(circle at 12% 18%, rgba(223,176,72,.15), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  box-shadow: 0 38px 100px rgba(0,0,0,.34);
}
.portal-conductor { max-width: 35rem; }
.portal-conductor h2 {
  margin: .3rem 0 1.1rem;
  font-size: clamp(2rem, 4.6vw, 4.8rem);
  line-height: .98;
  text-wrap: balance;
}
.portal-conductor > p:last-child { color: var(--text-muted); font-size: 1.08rem; }
.portal-voices {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 14px;
}
.portal-voices a {
  min-width: 0;
  min-height: 132px;
  padding: 22px;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 16px;
  align-content: center;
  border: 1px solid rgba(224,184,96,.17);
  border-radius: 22px;
  background: rgba(7,6,4,.52);
  transition: transform .55s var(--score-ease), border-color .55s var(--score-ease), background .55s var(--score-ease), box-shadow .55s var(--score-ease);
}
.portal-voices a span {
  grid-row: 1 / 3;
  align-self: center;
  color: var(--score-light);
  font-size: 1.75rem;
  text-shadow: 0 0 18px rgba(231,188,86,.35);
}
.portal-voices a strong { align-self: end; font-family: "Cinzel", Georgia, serif; font-size: 1.03rem; }
.portal-voices a small { color: var(--text-muted); }
.portal-voices a:hover,
.portal-voices a:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(240,204,123,.48);
  background: rgba(34,24,10,.72);
  box-shadow: 0 18px 44px rgba(0,0,0,.28), 0 0 32px rgba(218,168,65,.08);
}
.score-movement { scroll-margin-top: 86px; }
.score-movement:not(.is-in-score):not([data-home="HOME-002"]) { opacity: .38; transform: translateY(38px); }
.score-movement { transition: opacity 1s var(--score-ease), transform 1s var(--score-ease); }
.score-movement.is-in-score { opacity: 1; transform: none; }

@keyframes gatople-float { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-10px) scale(1.008); } }
@keyframes orbit-breathe { 0%,100% { transform: scale(.97) rotate(0deg); opacity: .2; } 50% { transform: scale(1.025) rotate(4deg); opacity: .48; } }
@keyframes note-pulse { 0%,100% { transform: scale(.55); opacity: .25; } 45% { transform: scale(1); opacity: .9; } 60% { transform: scale(.72); opacity: .5; } }
@keyframes score-line { to { transform: scaleX(.88); opacity: .8; } }

@media (max-width: 960px) {
  .portal-strip[data-home="HOME-003"] { grid-template-columns: 1fr; }
  .portal-conductor { max-width: 52rem; }
}
@media (max-width: 680px) {
  .hero[data-home="HOME-002"] { text-align: left; }
  .portal-strip[data-home="HOME-003"] { width: min(100% - 28px, 1280px); padding: 30px 20px; border-radius: 28px; }
  .portal-voices { grid-template-columns: 1fr; }
  .portal-voices a { min-height: 104px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-emblem img, .hero-emblem::before, .hero-emblem::after, .orbit-note, .hero[data-home="HOME-002"]::after { animation: none !important; }
  .hero-copy > *, .score-movement { opacity: 1 !important; transform: none !important; transition: none !important; }
}


/* =========================================================
   COMMIT 017 — PARTITURA HOME 004–008
   Descubrimiento / Participación / Dirección / Acción / Resonancia
   ========================================================= */
.discovery,
.participation,
.direction,
.action,
.resonance { position: relative; isolation: isolate; scroll-margin-top: 86px; }

.discovery {
  min-height: 95svh;
  display: grid;
  align-content: center;
  gap: clamp(48px,7vw,96px);
  padding-block: clamp(100px,13vw,180px);
  overflow: hidden;
}
.discovery::before {
  content: ""; position: absolute; inset: 4% -20%; z-index: -1;
  background: radial-gradient(circle at 50% 45%, rgba(212,166,79,.11), transparent 30%), radial-gradient(circle at 22% 70%, rgba(99,62,26,.13), transparent 24%);
}
.discovery-intro { max-width: 850px; margin-inline: auto; text-align: center; }
.discovery-intro h2 { font-size: clamp(2.8rem,7vw,7rem); line-height: .98; margin: .4rem 0 1.4rem; text-wrap: balance; }
.discovery-intro > p:last-child { max-width: 64ch; margin-inline: auto; color: var(--text-muted); font-size: clamp(1rem,1.5vw,1.25rem); line-height: 1.9; }
.relation-field { position: relative; width: min(900px,92%); min-height: 310px; margin-inline: auto; border: 1px solid rgba(229,190,102,.14); border-radius: 50%; background: radial-gradient(circle, rgba(221,177,79,.07), transparent 62%); }
.relation-node { position: absolute; width: 14px; aspect-ratio:1; border-radius:50%; background: var(--score-light); box-shadow:0 0 24px rgba(246,223,159,.72); animation: node-breathe 4.8s ease-in-out infinite; }
.node-a{left:12%;top:49%}.node-b{left:37%;top:22%;animation-delay:.7s}.node-c{right:31%;bottom:22%;animation-delay:1.4s}.node-d{right:11%;top:42%;animation-delay:2.1s}
.relation-line { position:absolute; height:1px; transform-origin:left center; background:linear-gradient(90deg,rgba(246,223,159,.1),rgba(246,223,159,.72),rgba(246,223,159,.1)); opacity:.6; }
.line-a{width:31%;left:13%;top:50%;transform:rotate(-20deg)}.line-b{width:37%;left:38%;top:25%;transform:rotate(29deg)}.line-c{width:32%;left:62%;top:65%;transform:rotate(-24deg)}
.relation-copy { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; gap:clamp(8px,2vw,24px); flex-wrap:wrap; padding:48px; }
.relation-copy p { margin:0; font-family:"Cinzel",Georgia,serif; font-size:clamp(1rem,2.2vw,1.65rem); }
.relation-copy span { color:var(--score-amber); opacity:.7; }
.discovery-coda { max-width: 760px; margin-inline:auto; text-align:center; }
.discovery-coda p { color:var(--text-muted); }
.discovery-coda strong { display:block; margin-top:1.5rem; font-family:"Cinzel",Georgia,serif; font-size:clamp(1.25rem,2.6vw,2rem); font-weight:500; }

.participation { padding-block: clamp(90px,12vw,165px); }
.participation::before { content:""; position:absolute; inset:8% 4%; z-index:-1; background:radial-gradient(circle at 50% 38%,rgba(211,164,69,.1),transparent 34%); }
.participation-heading { max-width:850px; margin-inline:auto; margin-bottom:clamp(44px,7vw,90px); }
.participation-heading h2 { font-size:clamp(2.3rem,5.6vw,5.4rem); line-height:1.02; text-wrap:balance; }
.participation-orbit { width:min(1120px,100%); margin-inline:auto; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.entry-gate { min-height:190px; padding:28px; display:grid; align-content:center; border:1px solid rgba(226,184,89,.16); border-radius:24px; background:rgba(255,255,255,.025); transition:.55s var(--score-ease); }
.entry-gate:hover,.entry-gate:focus-visible { transform:translateY(-6px); border-color:rgba(240,204,123,.5); background:rgba(34,24,10,.58); box-shadow:0 22px 50px rgba(0,0,0,.28); }
.entry-primary { grid-column:1/-1; min-height:300px; text-align:center; background:radial-gradient(circle at 50% 0%,rgba(219,172,70,.16),transparent 62%),rgba(255,255,255,.03); }
.entry-index { color:var(--score-amber); letter-spacing:.18em; font-size:.75rem; }
.entry-gate strong { margin:.65rem 0 .45rem; font-family:"Cinzel",Georgia,serif; font-size:clamp(1.35rem,2.7vw,2.2rem); }
.entry-gate small { color:var(--text-muted); font-size:.96rem; line-height:1.55; }
.entry-gate em { margin-top:1.5rem; color:var(--score-light); font-style:normal; letter-spacing:.05em; }

.direction { padding-block:clamp(90px,12vw,170px); }
.direction-copy { max-width:820px; margin-bottom:clamp(44px,7vw,88px); }
.direction-copy h2 { font-size:clamp(2.5rem,6vw,5.7rem); line-height:1; text-wrap:balance; }
.direction-copy > p:last-child { color:var(--text-muted); font-size:1.1rem; max-width:62ch; }
.route-score { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.route-card { min-height:260px; padding:32px; border-top:1px solid rgba(234,195,111,.44); background:linear-gradient(180deg,rgba(255,255,255,.035),transparent); }
.route-card span { color:var(--score-amber); text-transform:uppercase; letter-spacing:.14em; font-size:.72rem; }
.route-card h3 { margin:.9rem 0 .7rem; font-size:clamp(1.5rem,3vw,2.4rem); }
.route-card p { color:var(--text-muted); }
.direction-gatople { margin-top:clamp(64px,9vw,125px); display:grid; grid-template-columns:minmax(280px,.9fr) minmax(280px,1.1fr); align-items:center; gap:clamp(36px,7vw,90px); padding:clamp(36px,6vw,74px); border:1px solid rgba(226,184,89,.17); border-radius:34px; background:radial-gradient(circle at 20% 50%,rgba(229,183,78,.12),transparent 40%),rgba(255,255,255,.02); }
.direction-gatople h3 { font-size:clamp(2rem,4vw,3.8rem); line-height:1.05; }
.direction-gatople p { color:var(--text-muted); }

.action { background:linear-gradient(180deg,rgba(27,18,8,.5),rgba(5,4,3,.96)); border-block:1px solid rgba(229,190,102,.12); }
.action-inner { padding-block:clamp(100px,13vw,180px); }
.action-conductor { max-width:850px; margin:0 auto clamp(58px,8vw,105px); text-align:center; }
.action-conductor h2 { font-size:clamp(2.7rem,6.8vw,6.4rem); line-height:.98; text-wrap:balance; }
.action-conductor p { max-width:58ch; margin:0 auto 2rem; color:var(--text-muted); }
.btn-large { min-height:58px; padding-inline:32px; font-size:1rem; }
.action-voices { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1px; background:rgba(229,190,102,.15); border:1px solid rgba(229,190,102,.15); }
.action-voice { min-height:280px; padding:clamp(28px,4vw,48px); background:#080603; }
.action-voice span { color:var(--score-amber); text-transform:uppercase; letter-spacing:.14em; font-size:.72rem; }
.action-voice h3 { margin:.8rem 0; font-size:clamp(1.5rem,3vw,2.35rem); }
.action-voice p { color:var(--text-muted); max-width:45ch; }
.action-voice a { display:inline-block; margin-top:1rem; color:var(--score-light); }

.resonance { min-height:92svh; display:grid; place-items:center; overflow:hidden; text-align:center; }
.resonance-halo { position:absolute; width:min(72vw,760px); aspect-ratio:1; border:1px solid rgba(229,190,102,.14); border-radius:50%; box-shadow:0 0 100px rgba(212,166,79,.07),inset 0 0 90px rgba(212,166,79,.04); animation:resonance-breathe 8s ease-in-out infinite; }
.resonance-content { position:relative; z-index:1; max-width:920px; padding:60px 24px; }
.resonance h2 { font-size:clamp(2.8rem,7vw,7rem); line-height:.98; text-wrap:balance; }
.resonance-thanks { margin-top:2rem; font-family:"Cinzel",Georgia,serif; font-size:clamp(1.2rem,2.5vw,1.9rem); color:var(--score-light); }
.resonance-links { margin-top:clamp(54px,8vw,100px); display:flex; justify-content:center; gap:18px 30px; flex-wrap:wrap; }
.resonance-links a { color:var(--text-muted); font-size:.9rem; }
.resonance-footer { border-top-color:rgba(229,190,102,.08); background:#030302; opacity:.68; }

@keyframes node-breathe { 0%,100%{transform:scale(.7);opacity:.35}50%{transform:scale(1.25);opacity:1} }
@keyframes resonance-breathe { 0%,100%{transform:scale(.92);opacity:.3}50%{transform:scale(1.04);opacity:.75} }

@media (max-width:820px){
  .route-score{grid-template-columns:1fr}.direction-gatople{grid-template-columns:1fr}.action-voices{grid-template-columns:1fr}
}
@media (max-width:680px){
  .relation-field{min-height:250px;border-radius:36px}.relation-copy{padding:30px;gap:8px 12px}.participation-orbit{grid-template-columns:1fr}.entry-primary{grid-column:auto;min-height:230px}.entry-gate{min-height:150px}.resonance-links{flex-direction:column}
}
@media (prefers-reduced-motion:reduce){
  .relation-node,.resonance-halo{animation:none!important}.entry-gate{transition:none!important}
}


/* =========================================================
   COMMIT 018 — FAUNA FRACTAL / REORQUESTACIÓN DE PERSONAJES
   El elenco cuenta la historia; la paleta conserva su calidez.
   ========================================================= */
:root {
  --fauna-amber:#d9a441;
  --fauna-copper:#a8622e;
  --fauna-morpho:#2e82b8;
  --fauna-leaf:#7f8d45;
  --fauna-bone:#ead7ae;
  --fauna-night:#060504;
}
.fauna-cast-mini{display:flex;gap:5px;align-items:center;margin-left:auto;padding-inline:10px}
.fauna-cast-mini span{width:7px;aspect-ratio:1;border-radius:50%;background:var(--fauna-amber);box-shadow:0 0 12px rgba(217,164,65,.4)}
.fauna-cast-mini span:nth-child(2){background:var(--fauna-leaf)}.fauna-cast-mini span:nth-child(3){background:var(--fauna-copper)}.fauna-cast-mini span:nth-child(4){background:var(--fauna-morpho)}.fauna-cast-mini span:nth-child(5){background:var(--fauna-bone)}
.fauna-constellation{position:absolute;inset:0;pointer-events:none;z-index:0}
.fauna-cameo{position:absolute;width:clamp(62px,8vw,108px);margin:0;opacity:.34;filter:saturate(.72) sepia(.08);transition:opacity .7s var(--score-ease),transform .7s var(--score-ease)}
.hero.is-in-score .fauna-cameo{opacity:.7}.fauna-cameo img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:50%;border:1px solid rgba(234,215,174,.24);mask-image:radial-gradient(circle,#000 54%,transparent 72%)}
.fauna-cameo figcaption{font-size:.62rem;text-align:center;letter-spacing:.12em;text-transform:uppercase;color:var(--fauna-bone);opacity:.7}
.fauna-musicalia{left:4%;top:17%;transform:rotate(-7deg)}.fauna-juglar{left:9%;bottom:12%;transform:rotate(4deg)}.fauna-trilobites{right:4%;top:17%;transform:rotate(7deg)}.fauna-vesica{right:9%;bottom:12%;transform:rotate(-4deg)}.fauna-lute{left:50%;bottom:3%;transform:translateX(-50%)}
.portal-voices a{grid-template-columns:58px 1fr;grid-template-rows:auto auto auto;column-gap:14px}
.portal-voices a img{grid-row:1/4;width:58px;height:58px;object-fit:cover;border-radius:50%;border:1px solid rgba(234,215,174,.22);filter:saturate(.82)}
.portal-voices a strong,.portal-voices a small,.portal-voices a em{grid-column:2}.portal-voices a em{font-style:normal;font-size:.68rem;text-transform:uppercase;letter-spacing:.12em;color:var(--fauna-amber)}
.relation-field{border-radius:42px;min-height:560px;background:radial-gradient(circle at 50% 50%,rgba(217,164,65,.12),transparent 24%),linear-gradient(145deg,rgba(46,130,184,.035),rgba(127,141,69,.025))}
.fauna-relation{position:absolute;width:clamp(86px,13vw,142px);margin:0;text-align:center;z-index:2}
.fauna-relation img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:50%;border:1px solid rgba(234,215,174,.28);box-shadow:0 18px 42px rgba(0,0,0,.34);mask-image:radial-gradient(circle,#000 62%,transparent 76%)}
.fauna-relation figcaption{margin-top:5px;color:var(--fauna-bone);font-size:.72rem;letter-spacing:.12em;text-transform:uppercase}
.fauna-rel-a{left:5%;top:37%}.fauna-rel-b{left:28%;top:4%}.fauna-rel-c{right:28%;top:4%}.fauna-rel-d{right:5%;top:37%}.fauna-rel-e{left:50%;bottom:2%;transform:translateX(-50%)}
.relation-core{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;z-index:3}.relation-core img{width:clamp(145px,23vw,250px);filter:drop-shadow(0 0 30px rgba(217,164,65,.22))}.relation-core strong{margin-top:-24px;font-family:"Cinzel",serif;color:var(--fauna-bone);font-size:.8rem;letter-spacing:.16em;text-transform:uppercase}
.relation-bridge{position:absolute;left:50%;top:50%;height:1px;width:35%;transform-origin:0 0;background:linear-gradient(90deg,rgba(217,164,65,.55),transparent);z-index:1}.bridge-a{transform:rotate(180deg)}.bridge-b{transform:rotate(230deg)}.bridge-c{transform:rotate(310deg)}.bridge-d{transform:rotate(0deg)}.bridge-e{transform:rotate(90deg);width:28%}
.entry-guide{display:flex;align-items:center;gap:10px;margin:.7rem 0}.entry-guide img{width:54px;height:54px;object-fit:cover;border-radius:50%;border:1px solid rgba(234,215,174,.24)}.entry-guide b{font-size:.7rem;letter-spacing:.12em;text-transform:uppercase;color:var(--fauna-amber)}
.entry-primary .entry-guide{justify-content:center}.entry-primary .entry-guide img{width:82px;height:82px;object-fit:contain}
.route-guide{margin:0 0 1.2rem;display:flex;align-items:center;gap:12px}.route-guide img{width:68px;height:68px;object-fit:cover;border-radius:50%;border:1px solid rgba(234,215,174,.22)}.route-guide figcaption{font-size:.72rem;line-height:1.4;color:var(--text-muted)}
.action-guide{float:right;margin:0 0 12px 18px;text-align:center}.action-guide img{width:78px;height:78px;object-fit:cover;border-radius:50%;border:1px solid rgba(234,215,174,.22)}.action-guide figcaption{font-size:.65rem;color:var(--fauna-amber);letter-spacing:.11em;text-transform:uppercase}
.fauna-ensemble{width:min(760px,88vw);margin:2rem auto 0}.fauna-ensemble img{width:100%;border-radius:32px;mask-image:linear-gradient(to bottom,transparent 0,#000 18%,#000 78%,transparent 100%);opacity:.82}.fauna-ensemble figcaption{margin-top:-1.2rem;position:relative;color:var(--text-muted);font-family:"Cinzel",serif;font-size:.85rem;letter-spacing:.08em}
.fauna-cameo,.fauna-relation,.entry-guide,.route-guide,.action-guide,.fauna-ensemble{transition:opacity .85s var(--score-ease),transform .85s var(--score-ease)}
.score-movement:not(.is-in-score) .fauna-relation,.score-movement:not(.is-in-score) .entry-guide,.score-movement:not(.is-in-score) .route-guide,.score-movement:not(.is-in-score) .action-guide,.score-movement:not(.is-in-score) .fauna-ensemble{opacity:0;transform:translateY(18px)}
@media(max-width:900px){.fauna-cast-mini{display:none}.fauna-cameo{opacity:.24}.relation-field{min-height:500px}.fauna-relation{width:90px}.fauna-rel-a{left:3%}.fauna-rel-d{right:3%}}
@media(max-width:680px){.fauna-constellation{display:none}.portal-voices a{grid-template-columns:48px 1fr}.portal-voices a img{width:48px;height:48px}.relation-field{min-height:570px}.fauna-relation{width:72px}.fauna-rel-b{left:18%;top:7%}.fauna-rel-c{right:18%;top:7%}.fauna-rel-a{left:2%;top:43%}.fauna-rel-d{right:2%;top:43%}.relation-core img{width:145px}.action-guide{float:none;display:flex;align-items:center;gap:10px;text-align:left}.action-guide img{width:58px;height:58px}}
@media(prefers-reduced-motion:reduce){.fauna-cameo,.fauna-relation,.entry-guide,.route-guide,.action-guide,.fauna-ensemble{transition:none!important}}
