/* ============================================================
   RAÚL FERRARIO — PROFUNDO ORO
   Paleta: #0d1b2a (navy) · #c9a84c (gold) · #f0e6d3 (cream)
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 20px; scroll-padding-top: 80px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #0d1b2a;
  color: #f0e6d3;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

:root {
  --bg:          #0d1b2a;
  --bg-deep:     #07111c;
  --bg-mid:      #0a1520;
  --bg-card:     #0f2235;
  --gold:        #c9a84c;
  --gold-light:  #dbb85c;
  --gold-dim:    rgba(201,168,76,.18);
  --gold-border: rgba(201,168,76,.14);
  --cream:       #f0e6d3;
  --crudo:       #e3d8c3;
  --cream-60:    rgba(240,230,211,.75);
  --cream-35:    rgba(240,230,211,.5);
  --cream-18:    rgba(240,230,211,.3);
  --cream-08:    rgba(240,230,211,.08);
  --border:      rgba(201,168,76,.12);
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --max-w:       1160px;
  --nav-h:       70px;
  --sv:          96px;
}

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; }

/* ============================================================ NAV */
#nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h); z-index: 100;
  transition: background .3s, border-color .3s;
}
#nav.scrolled {
  background: rgba(7,17,28,.93);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h); max-width: var(--max-w); margin: 0 auto; padding: 0 40px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1.5px solid rgba(201,168,76,.3);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: .68rem; font-weight: 700; color: var(--gold);
  transition: border-color .2s;
}
.nav-logo:hover .logo-mark { border-color: var(--gold); }
.logo-text { display: flex; flex-direction: column; gap: 1px; }
.logo-name {
  font-family: 'Playfair Display', serif;
  font-size: .95rem; font-weight: 700; color: var(--cream); line-height: 1;
}
.logo-sub {
  font-size: .54rem; font-weight: 500; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(201,168,76,.45); line-height: 1;
}
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  font-size: .8rem; font-weight: 500; color: var(--cream-60);
  padding: 7px 12px; border-radius: var(--radius-sm); transition: all .18s;
}
.nav-links a:hover { color: var(--cream); background: var(--cream-08); }
.nav-links .nav-cta {
  border: 1px solid rgba(201,168,76,.3); color: var(--gold);
  padding: 7px 18px; margin-left: 8px;
}
.nav-links .nav-cta:hover { background: rgba(201,168,76,.1); border-color: var(--gold); }
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px; background: none; border: none;
}
.nav-burger span { display: block; width: 22px; height: 1.5px; background: var(--cream); transition: all .22s; }

/* ============================================================ HERO */
.hero {
  min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr;
  background: var(--bg); position: relative; overflow: hidden;
}
.hero-bg-grid {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(201,168,76,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 85% 85% at 65% 40%, black 5%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 85% 85% at 65% 40%, black 5%, transparent 72%);
}
.hero-glow {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse 55% 65% at 70% 35%, rgba(201,168,76,.07) 0%, transparent 60%);
}
.hero-left {
  padding: calc(var(--nav-h) + 64px) 60px 64px 40px;
  max-width: 620px; margin-left: auto;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; z-index: 1;
}
.hero-left::after {
  content: ''; position: absolute; right: 0; top: 18%; bottom: 18%; width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold-border) 30%, var(--gold-border) 70%, transparent);
}
.hero-right {
  background: var(--bg-mid); position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: var(--nav-h) 40px 110px; overflow: hidden;
}
.hero-right::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 70% at 50% 42%, rgba(201,168,76,.05) 0%, transparent 65%);
}
.hero-eyebrow {
  display: flex; align-items: center; margin-bottom: 28px;
  opacity: 0; transform: translateY(14px);
  animation: fadeUp .6s ease forwards .1s;
}
.hero-eyebrow span {
  font-size: .6rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(201,168,76,.6);
}
h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(4.5rem, 9.5vw, 7.5rem);
  font-weight: 300; color: var(--cream);
  line-height: .88; letter-spacing: -.01em; margin-bottom: 10px;
  opacity: 0; transform: translateY(18px);
  animation: fadeUp .7s ease forwards .25s;
}
h1 .gold-line { display: block; color: var(--gold); font-weight: 300; }
.hero-divider {
  width: 52px; height: 1px; background: rgba(201,168,76,.28);
  margin: 22px 0;
  opacity: 0; animation: fadeIn .5s ease forwards .45s;
}
.hero-tagline {
  font-family: 'Cormorant Garamond', serif; font-weight: 300;
  font-size: clamp(1.4rem, 2.6vw, 1.8rem); color: rgba(240,230,211,.7);
  line-height: 1.5; margin-bottom: 14px;
  opacity: 0; transform: translateY(12px);
  animation: fadeUp .6s ease forwards .5s;
}
.hero-tagline em { color: var(--gold); font-style: normal; }
.hero-desc {
  font-size: .9rem; color: var(--cream-35); line-height: 1.82;
  max-width: 420px; margin-bottom: 38px;
  opacity: 0; transform: translateY(12px);
  animation: fadeUp .6s ease forwards .62s;
}
.hero-actions {
  display: flex; gap: 12px; flex-wrap: wrap;
  opacity: 0; transform: translateY(10px);
  animation: fadeUp .6s ease forwards .76s;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; font-size: .85rem; font-weight: 600;
  letter-spacing: .02em; transition: all .2s; border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif; cursor: pointer;
}
.btn-gold { background: var(--gold); color: #0a1520; border: 1px solid var(--gold); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: 0 6px 22px rgba(201,168,76,.3); }
.btn-ghost { background: transparent; color: var(--cream-60); border: 1px solid rgba(240,230,211,.15); }
.btn-ghost:hover { color: var(--cream); border-color: rgba(240,230,211,.3); background: var(--cream-08); }
.photo-box {
  width: 100%; max-width: 480px; height: 100%; max-height: 700px;
  background: rgba(7,17,28,.55);
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; color: var(--cream-18);
  opacity: 0; transform: translateY(16px);
  animation: fadeUp .8s ease forwards .35s;
}
.photo-box svg { width: 46px; height: 46px; }
.photo-box-label { font-size: .58rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.photo-wrap { width: 100%; max-width: 480px; position: relative; }
.hero-cred {
  position: absolute; bottom: -52px; left: 50%; transform: translateX(-50%);
  width: 100%; text-align: center;
  opacity: 0; animation: fadeIn .5s ease forwards 1s;
}
.hero-cred p { font-size: .7rem; color: var(--cream-18); line-height: 1.55; }
.hero-cred a { color: rgba(201,168,76,.38); }
.hero-cred a:hover { color: var(--gold); }

/* ============================================================ MARQUEE */
.marquee-wrap {
  background: var(--crudo); overflow: hidden;
  padding: 13px 0;
}
.marquee-track {
  display: flex; gap: 26px; width: max-content;
  animation: marq 36s linear infinite;
  font-size: .6rem; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: rgba(44,38,32,.4); white-space: nowrap;
}
.marquee-track .hi { color: #8a6f3f; }
.marquee-track .sep { opacity: .35; }

/* ============================================================ SECTIONS */
.section { padding: var(--sv) 0; }
.section-alt { background: var(--bg-mid); }
.section-deep { background: var(--bg-deep); }
.sec-eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: .6rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 16px;
}
.sec-eyebrow::before { content: ''; width: 20px; height: 1px; background: var(--gold); flex-shrink: 0; }
.sec-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.1rem, 4vw, 2.8rem);
  font-weight: 500; color: var(--cream); line-height: 1.15; margin-bottom: 18px;
}
.sec-title em { color: var(--gold); font-style: normal; }
.sec-lead { font-size: .9rem; color: var(--cream-35); line-height: 1.82; max-width: 560px; }

/* ============================================================ PARADIGMA */
.paradigma-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.highlight-gold { color: var(--gold); font-weight: 500; }
.paradigma-single { max-width: 800px; }
.paradigma-single .paradigma-body { max-width: 760px; }
.paradigma-single .gold-quote { max-width: 580px; margin-top: 8px; }
.paradigma-body { font-size: .9rem; color: var(--cream-35); line-height: 1.85; margin-bottom: 28px; }
.paradigma-poema {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-style: italic; font-weight: 300;
  color: rgba(240,230,211,.75);
  line-height: 1.85; text-align: center;
  margin-bottom: 28px;
}
.gold-quote {
  padding: 20px 24px; background: rgba(201,168,76,.06);
  border-left: 2px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.gold-quote blockquote {
  font-family: 'Playfair Display', serif; font-style: italic;
  font-size: .95rem; color: var(--cream); line-height: 1.65; margin-bottom: 8px;
}
.gold-quote cite { font-size: .68rem; color: var(--cream-35); }
.pillars-list { display: flex; flex-direction: column; }
.pillar-item {
  padding: 22px 24px; border: 1px solid var(--border); border-bottom: none;
  transition: background .2s, border-color .2s;
}
.pillar-item:first-child { border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
.pillar-item:last-child { border-bottom: 1px solid var(--border); border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
.pillar-item:hover { background: rgba(201,168,76,.04); border-color: rgba(201,168,76,.25); }
.pillar-header { display: flex; align-items: center; gap: 14px; margin-bottom: 7px; }
.pillar-num {
  width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid rgba(201,168,76,.22);
  display: flex; align-items: center; justify-content: center;
  font-size: .57rem; font-weight: 700; color: rgba(201,168,76,.5);
  flex-shrink: 0;
}
.pillar-item h3 { font-size: .9rem; font-weight: 600; color: var(--cream); }
.pillar-item p { font-size: .78rem; color: var(--cream-35); line-height: 1.65; padding-left: 40px; }

/* ============================================================ ESPECIALIDADES */
.spec-header { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-bottom: 48px; align-items: end; }
.spec-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden;
}
.logos-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 1px;
  border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden;
  margin-top: 40px;
}
.logo-item {
  background: var(--bg-card); min-height: 110px;
  display: flex; align-items: center; justify-content: center;
  border-right: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.logo-item:nth-child(3n) { border-right: none; }
.logo-item:nth-last-child(-n+3) { border-bottom: none; }
.logo-item span { font-size: .68rem; font-weight: 600; letter-spacing: .12em; color: rgba(240,230,211,.18); }
.logo-item img {
  max-width: 70%; max-height: 50px; object-fit: contain;
  filter: grayscale(1) brightness(1.6); opacity: .75; transition: opacity .2s, filter .2s;
}
.logo-item:hover img { filter: grayscale(0) brightness(1); opacity: 1; }
@media (max-width: 768px) {
  .logos-grid { grid-template-columns: repeat(2,1fr); }
  .logo-item:nth-child(3n) { border-right: 1px solid var(--border); }
  .logo-item:nth-child(2n) { border-right: none; }
  .logo-item:nth-last-child(-n+3) { border-bottom: 1px solid var(--border); }
  .logo-item:nth-last-child(-n+2) { border-bottom: none; }
}
.spec-item {
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border); background: var(--bg-card);
  perspective: 1200px; cursor: pointer; min-height: 240px;
}
.spec-item:nth-child(3n) { border-right: none; }
.spec-item:nth-last-child(-n+3) { border-bottom: none; }
.spec-card-inner {
  position: relative; width: 100%; height: 100%; min-height: 240px;
  transition: transform .6s cubic-bezier(.4,.2,.2,1); transform-style: preserve-3d;
}
.spec-item.flipped .spec-card-inner { transform: rotateY(180deg); }
.spec-card-front, .spec-card-back {
  position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  padding: 44px 24px 46px; display: flex; flex-direction: column; justify-content: flex-start;
  align-items: center; text-align: center;
}
.spec-card-back { justify-content: center; }
.spec-card-front { transition: background .2s; }
.spec-item:hover .spec-card-front { background: rgba(201,168,76,.05); }
.spec-card-back { transform: rotateY(180deg); background: rgba(201,168,76,.06); }
.spec-num { font-size: .6rem; font-weight: 700; letter-spacing: .1em; color: rgba(201,168,76,.32); display: block; margin-bottom: 12px; }
.spec-item h3 { font-size: .96rem; font-weight: 600; color: var(--cream); margin-bottom: 8px; }
.spec-item p { font-size: .82rem; color: var(--cream-35); line-height: 1.6; }
.spec-card-back p { font-size: .88rem; color: var(--cream-60); line-height: 1.7; }
.spec-flip-hint {
  position: absolute; left: 0; right: 0; bottom: 18px; text-align: center;
  font-size: .52rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(201,168,76,.32);
}

/* ============================================================ LIBRO */
.libro-grid { display: grid; grid-template-columns: 1fr 1.45fr; gap: 72px; align-items: center; }
.libro-cover {
  aspect-ratio: 3/4; background: var(--bg-card);
  border: 1px solid var(--gold-border); border-radius: var(--radius-sm);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; color: var(--cream-18); position: relative; overflow: hidden;
}
.libro-cover::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.libro-cover svg { width: 42px; height: 42px; }
.libro-cover-label { font-size: .56rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.libro-foto-placeholder {
  width: 100%; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px; color: var(--cream-18);
}
.libro-frase {
  font-family: 'Playfair Display', serif; font-style: italic;
  font-size: 1.1rem; color: var(--cream); line-height: 1.55;
  border-left: 2px solid var(--gold); padding-left: 20px; margin-bottom: 20px;
}
.libro-body { font-size: .9rem; color: var(--cream-35); line-height: 1.85; margin-bottom: 28px; }
.libro-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============================================================ CHARLAS */
.charlas-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); border-radius: var(--radius-sm); overflow: hidden; margin-top: 48px; }
.charla-card { background: var(--bg-card); padding: 28px 26px; transition: background .2s; }
.charla-card:hover { background: rgba(201,168,76,.05); }
.charla-icon {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: rgba(201,168,76,.1); display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.charla-icon svg { width: 18px; height: 18px; stroke: var(--gold); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.charla-card h3 { font-size: .88rem; font-weight: 600; color: var(--cream); margin-bottom: 8px; }
.charla-card p { font-size: .78rem; color: var(--cream-35); line-height: 1.65; }
.charlas-cta { text-align: center; margin-top: 40px; }

/* ============================================================ QUOTE BREAK */
.quote-break {
  padding: 88px 0; text-align: center; position: relative; overflow: hidden;
  background: var(--bg-deep);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.quote-break::before {
  content: '\201C'; font-family: 'Playfair Display', serif; font-size: 26rem;
  color: rgba(201,168,76,.04); position: absolute; top: -80px; left: 50%;
  transform: translateX(-50%); line-height: 1; pointer-events: none; font-weight: 700;
}
.quote-break blockquote {
  font-family: 'Playfair Display', serif; font-weight: 300;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  color: var(--cream); line-height: 1.4; max-width: 820px; margin: 0 auto 20px;
  position: relative; z-index: 1;
}
.quote-break cite { font-size: .72rem; color: var(--gold); letter-spacing: .1em; text-transform: uppercase; }
.quote-break-light {
  padding: 32px 0; text-align: center; position: relative; overflow: hidden;
  background: var(--crudo);
}
.quote-break-light blockquote {
  font-family: 'Playfair Display', serif; font-style: italic; font-weight: 400;
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  color: #2c2620; line-height: 1.4; max-width: 720px; margin: 0 auto 20px;
  position: relative; z-index: 1;
}
.quote-break-light cite { font-size: .7rem; color: #8a6f3f; letter-spacing: .1em; text-transform: uppercase; }

/* ============================================================ FORMACIÓN */
.formacion-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.timeline { display: flex; flex-direction: column; }
.timeline-item {
  display: grid; grid-template-columns: 68px 1fr; gap: 18px;
  padding: 18px 0; border-bottom: 1px solid rgba(201,168,76,.08);
}
.timeline-item:last-child { border-bottom: none; }
.timeline-year { font-size: .7rem; font-weight: 700; color: rgba(201,168,76,.42); letter-spacing: .06em; padding-top: 2px; }
.timeline-item h4 { font-size: .88rem; font-weight: 600; color: var(--cream); margin-bottom: 4px; }
.timeline-item p { font-size: .78rem; color: var(--cream-35); line-height: 1.6; }
.creds-list { display: flex; flex-direction: column; gap: 10px; }
.cred-tag {
  padding: 14px 18px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius-sm); transition: border-color .2s;
}
.cred-tag:hover { border-color: rgba(201,168,76,.3); }
.cred-tag-label { font-size: .6rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(201,168,76,.38); margin-bottom: 4px; }
.cred-tag-value { font-size: .84rem; font-weight: 500; color: var(--cream); }

/* ============================================================ CONTACTO */
.contacto-grid { display: grid; grid-template-columns: 1fr 1.45fr; gap: 64px; align-items: start; }
.contacto-body { font-size: .9rem; color: var(--cream-35); line-height: 1.85; margin-bottom: 28px; }
.contacto-item { display: flex; gap: 12px; font-size: .82rem; color: var(--cream-35); margin-bottom: 12px; line-height: 1.55; }
.contacto-item-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); opacity: .5; flex-shrink: 0; margin-top: 6px; }
.contacto-item a:hover { color: var(--gold); }
.form-box {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 36px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { margin-bottom: 14px; }
.form-field label { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .04em; color: var(--cream-35); margin-bottom: 6px; }
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%; background: rgba(240,230,211,.03);
  border: 1px solid rgba(201,168,76,.12); border-radius: var(--radius-sm);
  padding: 10px 13px; color: var(--cream);
  font-family: 'Inter', sans-serif; font-size: .88rem; outline: none;
  transition: border-color .2s, background .2s; -webkit-appearance: none;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--cream-18); }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus { border-color: var(--gold); background: rgba(201,168,76,.04); }
.form-field select option { background: #0d1b2a; color: var(--cream); }
.form-field textarea { resize: vertical; min-height: 96px; }
.btn-submit {
  width: 100%; background: var(--gold); color: #0a1520; border: none;
  border-radius: var(--radius-sm); padding: 14px;
  font-size: .88rem; font-weight: 700; letter-spacing: .04em;
  cursor: pointer; transition: all .2s; font-family: 'Inter', sans-serif;
}
.btn-submit:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: 0 5px 18px rgba(201,168,76,.28); }
.form-success {
  display: none; text-align: center; padding: 48px 20px;
  color: var(--cream-60); font-size: .88rem; line-height: 1.8;
}
.form-success .check { font-size: 2.2rem; margin-bottom: 12px; display: block; }

/* ============================================================ FOOTER */
footer { background: var(--bg-deep); border-top: 1px solid var(--border); padding: 48px 40px; }
.footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 32px; flex-wrap: wrap;
}
.footer-brand .fn {
  font-family: 'Playfair Display', serif; font-size: 1.1rem;
  font-weight: 700; color: var(--cream); margin-bottom: 6px;
}
.footer-brand p { font-size: .74rem; color: var(--cream-35); line-height: 1.65; }
.footer-brand a { color: rgba(201,168,76,.45); }
.footer-brand a:hover { color: var(--gold); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: .68rem; font-weight: 500; color: var(--cream-35); letter-spacing: .06em; text-transform: uppercase; transition: color .2s; }
.footer-links a:hover { color: var(--gold); }
.footer-copy { max-width: var(--max-w); margin: 28px auto 0; font-size: .68rem; color: rgba(240,230,211,.4); text-align: center; }

/* ============================================================ HERO DIAG LINK */
.hero-diag-link {
  display: inline-block; margin-top: 20px;
  font-size: .78rem; color: rgba(201,168,76,.5);
  transition: color .2s; letter-spacing: .01em;
  opacity: 0; animation: fadeUp .5s ease forwards .9s;
}
.hero-diag-link:hover { color: var(--gold); }

/* ============================================================ FRANJA DIAGNÓSTICO */
.diag-banner {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  padding: 18px 40px; background: rgba(201,168,76,.07);
  border-top: 1px solid rgba(201,168,76,.12);
  border-bottom: 1px solid rgba(201,168,76,.12);
  text-decoration: none; transition: background .2s;
  flex-wrap: wrap; text-align: center;
}
.diag-banner:hover { background: rgba(201,168,76,.12); }
.diag-banner-text {
  font-size: .82rem; color: var(--cream-60);
}
.diag-banner-cta {
  font-size: .82rem; font-weight: 600; color: var(--gold);
  letter-spacing: .02em;
}

/* ============================================================ DIAGNÓSTICO INLINE */
.diag-inline-header { max-width: 560px; margin-bottom: 48px; }
.diag-inline-wrap {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px 48px; max-width: 680px;
}
.diag-inline-progress {
  height: 2px; background: rgba(201,168,76,.1); border-radius: 2px;
  margin-bottom: 36px; overflow: hidden;
}
.diag-inline-fill {
  height: 100%; background: var(--gold); border-radius: 2px;
  width: 0%; transition: width .5s ease;
}
.diag-step-counter {
  font-size: .6rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(201,168,76,.45); margin-bottom: 16px;
}
.diag-question {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 300;
  color: var(--cream); line-height: 1.25; margin-bottom: 28px;
}
.diag-question em { font-style: italic; color: var(--gold); }
.diag-options { display: flex; flex-direction: column; gap: 9px; }
.diag-option {
  padding: 14px 18px; background: rgba(240,230,211,.02);
  border: 1px solid rgba(201,168,76,.12); border-radius: var(--radius-sm);
  cursor: pointer; transition: all .18s;
  display: flex; align-items: center; gap: 12px;
  font-size: .88rem; color: var(--cream-60); text-align: left;
  font-family: 'Inter', sans-serif;
}
.diag-option:hover {
  background: rgba(201,168,76,.08); border-color: rgba(201,168,76,.4);
  color: var(--cream); transform: translateX(4px);
}
.diag-dot {
  width: 7px; height: 7px; border-radius: 50%;
  border: 1.5px solid rgba(201,168,76,.35); flex-shrink: 0; transition: all .18s;
}
.diag-option:hover .diag-dot { background: var(--gold); border-color: var(--gold); }
.diag-inline-result {
  display: none; text-align: center; padding: 12px 0;
}
.dir-icon {
  font-size: 2rem; color: var(--gold); margin-bottom: 16px; display: block;
}
.dir-title {
  font-family: 'Cormorant Garamond', serif; font-size: clamp(1.3rem,2.5vw,1.7rem);
  font-weight: 300; color: var(--cream); line-height: 1.3; margin-bottom: 12px;
}
.dir-body {
  font-size: .88rem; color: var(--cream-35); line-height: 1.8;
  max-width: 460px; margin: 0 auto 28px;
}
.dir-actions { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.dir-restart {
  font-size: .75rem; color: var(--cream-35); cursor: pointer;
  background: none; border: none; font-family: 'Inter', sans-serif; transition: color .2s;
}
.dir-restart:hover { color: var(--cream-60); }
.diag-anim { animation: diagFade .35s ease; }
@keyframes diagFade { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }
.diag-fullpage-link {
  margin-top: 20px; font-size: .8rem; color: var(--cream-35);
}
.diag-fullpage-link a { color: var(--gold); margin-left: 4px; transition: opacity .2s; }
.diag-fullpage-link a:hover { opacity: .75; }

/* ============================================================ REVEAL */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================ ANIMATIONS */
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================ RESPONSIVE */
@media (max-width: 768px) {
  .nav-links {
    display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
    flex-direction: column; background-color: #07111c; opacity: 1;
    padding: 32px 24px; gap: 4px; z-index: 200;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1rem; padding: 12px 16px; border-radius: var(--radius-sm); }
  .nav-links .nav-cta { margin-left: 0; margin-top: 16px; text-align: center; }
  .nav-burger { display: flex; }
  .nav-burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-burger.open span:nth-child(2) { opacity: 0; }
  .nav-burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
}

@media (max-width: 1024px) {
  :root { --sv: 72px; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { max-width: 100%; padding: calc(var(--nav-h) + 56px) 40px 48px; margin: 0; }
  .hero-left::after { display: none; }
  .hero-right { padding: 0 40px 56px; background: var(--bg); }
  .hero-cred { display: none; }
  .paradigma-grid { grid-template-columns: 1fr; gap: 48px; }
  .spec-header { grid-template-columns: 1fr; gap: 20px; }
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .spec-item:nth-child(3n) { border-right: 1px solid var(--border); }
  .spec-item:nth-child(2n) { border-right: none; }
  .spec-item:nth-last-child(-n+3) { border-bottom: 1px solid var(--border); }
  .spec-item:nth-last-child(-n+2) { border-bottom: none; }
  .libro-grid { grid-template-columns: 1fr; gap: 40px; }
  .charlas-grid { grid-template-columns: 1fr; }
  .formacion-grid { grid-template-columns: 1fr; gap: 48px; }
  .contacto-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 640px) {
  .container { padding: 0 24px; }
  :root { --sv: 60px; }
  h1 { font-size: clamp(3rem, 14vw, 4.2rem); }
  .hero-left { padding: calc(var(--nav-h) + 40px) 24px 40px; }
  .hero-right { padding: 0 24px 48px; }
  .spec-grid { grid-template-columns: 1fr; }
  .spec-item { border-right: none !important; border-bottom: 1px solid var(--border) !important; }
  .spec-item:last-child { border-bottom: none !important; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .nav-inner { padding: 0 24px; }
  footer { padding: 40px 24px; }
}
