/* ============================================================
   MAGNUM BUSINESS SCHOOL — style.css
   Paleta: negro profundo + dorado premium
   ============================================================ */
:root {
  --bg: #050508;
  --bg-soft: #0a0a10;
  --ink: #f0efe9;
  --ink-dim: #a09d92;
  --ink-faint: #5e5c53;
  --gold: #d4af37;
  --gold-light: #f5d57a;
  --gold-deep: #a8851f;
  --gold-glow: rgba(212, 175, 55, 0.45);
  --line: rgba(212, 175, 55, 0.22);
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --radius: 6px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-bounce: cubic-bezier(.34, 1.56, .64, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  cursor: none;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: none; }

/* ========== Background FX ========== */
.bg-effects {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1400px 900px at 85% -10%, rgba(212,175,55,.12), transparent 55%),
    radial-gradient(1100px 700px at -10% 105%, rgba(212,175,55,.08), transparent 55%),
    radial-gradient(900px 900px at 50% 50%, rgba(212,175,55,.04), transparent 60%),
    var(--bg);
}
.grain {
  position: absolute; inset: 0; opacity: .09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
.halo {
  position: absolute; border-radius: 50%; filter: blur(140px); opacity: .45;
  animation: float 18s var(--ease) infinite;
}
.halo-1 { width: 700px; height: 700px; top: -220px; right: -120px; background: radial-gradient(circle, rgba(212,175,55,.55), transparent 60%); }
.halo-2 { width: 600px; height: 600px; bottom: -180px; left: -180px; background: radial-gradient(circle, rgba(245,213,122,.35), transparent 60%); animation-delay: -6s; }
.halo-3 { width: 450px; height: 450px; top: 40%; left: 30%; background: radial-gradient(circle, rgba(212,175,55,.2), transparent 60%); animation-delay: -12s; opacity: .3; }
.vignette { position: absolute; inset: 0; background: radial-gradient(circle at center, transparent 45%, rgba(0,0,0,.75) 100%); }

/* Partículas doradas flotantes */
.particles {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
}
.particles span {
  position: absolute;
  width: 3px; height: 3px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--gold), 0 0 20px var(--gold-light);
  opacity: 0;
  animation: particle 12s linear infinite;
}
.particles span:nth-child(1) { left: 10%; top: 90%; animation-delay: 0s; }
.particles span:nth-child(2) { left: 20%; top: 80%; animation-delay: 1s; width: 2px; height: 2px; }
.particles span:nth-child(3) { left: 30%; top: 95%; animation-delay: 2.5s; }
.particles span:nth-child(4) { left: 45%; top: 85%; animation-delay: 1.8s; width: 2px; height: 2px; }
.particles span:nth-child(5) { left: 55%; top: 92%; animation-delay: 3.2s; }
.particles span:nth-child(6) { left: 65%; top: 78%; animation-delay: 0.7s; width: 2px; height: 2px; }
.particles span:nth-child(7) { left: 75%; top: 88%; animation-delay: 4s; }
.particles span:nth-child(8) { left: 85%; top: 82%; animation-delay: 2.2s; width: 2px; height: 2px; }
.particles span:nth-child(9) { left: 95%; top: 94%; animation-delay: 5s; }
.particles span:nth-child(10) { left: 5%; top: 70%; animation-delay: 3.7s; width: 2px; height: 2px; }
.particles span:nth-child(11) { left: 15%; top: 60%; animation-delay: 6s; }
.particles span:nth-child(12) { left: 25%; top: 75%; animation-delay: 4.5s; width: 2px; height: 2px; }
.particles span:nth-child(13) { left: 40%; top: 65%; animation-delay: 7s; }
.particles span:nth-child(14) { left: 50%; top: 72%; animation-delay: 5.5s; width: 2px; height: 2px; }
.particles span:nth-child(15) { left: 60%; top: 58%; animation-delay: 8s; }
.particles span:nth-child(16) { left: 70%; top: 68%; animation-delay: 6.2s; width: 2px; height: 2px; }
.particles span:nth-child(17) { left: 80%; top: 55%; animation-delay: 9s; }
.particles span:nth-child(18) { left: 90%; top: 62%; animation-delay: 7.5s; width: 2px; height: 2px; }
.particles span:nth-child(19) { left: 35%; top: 50%; animation-delay: 10s; }
.particles span:nth-child(20) { left: 12%; top: 45%; animation-delay: 8.8s; width: 2px; height: 2px; }

@keyframes float {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.08); }
}
@keyframes particle {
  0% { transform: translateY(0) scale(0); opacity: 0; }
  10% { opacity: .8; }
  90% { opacity: .4; }
  100% { transform: translateY(-120vh) scale(1); opacity: 0; }
}

/* ========== Custom cursor + trail ========== */
.cursor, .cursor-dot, .cursor-trail {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  will-change: transform;
}
.cursor {
  width: 44px; height: 44px;
  border: 1.5px solid var(--gold); border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,.12), transparent 70%);
  transition: transform .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
  box-shadow: 0 0 20px rgba(212,175,55,.2);
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--gold-light); border-radius: 50%;
  box-shadow: 0 0 12px var(--gold), 0 0 24px var(--gold-light);
}
.cursor-trail {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  opacity: .35;
  filter: blur(2px);
  transition: transform .12s linear, opacity .2s;
}
.cursor-trail:nth-of-type(3) { opacity: .2; width: 6px; height: 6px; }
.cursor-trail:nth-of-type(4) { opacity: .1; width: 4px; height: 4px; }
.cursor.is-hover {
  transform: translate(-50%, -50%) scale(1.45);
  border-color: var(--gold-light);
  background: radial-gradient(circle, rgba(212,175,55,.22), transparent 70%);
  box-shadow: 0 0 30px rgba(212,175,55,.35);
}
@media (hover: none), (max-width: 900px) {
  .cursor, .cursor-dot, .cursor-trail { display: none; }
  body, button, a { cursor: auto; }
}

/* ========== Nav ========== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 5vw;
  transition: background .4s var(--ease), padding .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(7,7,10,.75);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom-color: var(--line);
  padding: 12px 5vw;
}
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__logo { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; filter: drop-shadow(0 0 12px rgba(212,175,55,.4)); }
.nav__name { font-family: var(--serif); font-size: 18px; letter-spacing: .12em; text-transform: uppercase; }
.nav__name em { font-style: normal; color: var(--gold); font-size: 11px; letter-spacing: .3em; display: block; margin-top: 2px; }
.nav__links { display: flex; align-items: center; gap: 36px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.nav__links a { position: relative; color: var(--ink-dim); transition: color .3s var(--ease); }
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0;
  background: var(--gold); transition: width .4s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }
.nav__cta {
  padding: 10px 18px; border: 1px solid var(--gold); color: var(--gold) !important;
  border-radius: var(--radius); transition: all .3s var(--ease);
}
.nav__cta:hover { background: var(--gold); color: var(--bg) !important; }
.nav__cta::after { display: none; }

.nav__social {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: 24px;
}
.nav__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-dim);
  transition: color .3s var(--ease), transform .3s var(--ease), filter .3s var(--ease);
}
.nav__social a:hover {
  color: var(--gold);
  transform: translateY(-2px);
  filter: drop-shadow(0 0 8px rgba(212,175,55,.5));
}
.nav__social svg {
  width: 24px;
  height: 24px;
  display: block;
}

.nav__menu { display: none; background: transparent; border: 0; width: 36px; height: 36px; flex-direction: column; justify-content: center; gap: 6px; align-items: center; }
.nav__menu span { display: block; width: 24px; height: 1px; background: var(--ink); transition: transform .3s var(--ease), opacity .3s; }
.nav__menu.is-open span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); background: var(--gold); }
.nav__menu.is-open span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); background: var(--gold); }

.nav__social--menu { display: none; }

@media (max-width: 900px) {
  .nav__social { display: none; }
  .nav__social--menu {
    display: flex;
    margin: 24px 0 0;
    gap: 28px;
  }
  .nav__social--menu svg {
    width: 26px;
    height: 26px;
  }
  .nav__links {
    position: fixed; inset: 0; top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100vh; height: 100dvh;
    background: rgba(7,7,10,.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column; justify-content: center; gap: 32px; font-size: 22px;
    opacity: 0; pointer-events: none; transition: opacity .4s var(--ease);
    z-index: 999;
  }
  .nav__links.is-open { opacity: 1; pointer-events: auto; }
  .nav__menu {
    display: flex;
    position: fixed;
    top: 20px;
    right: 5vw;
    z-index: 1000;
  }
  .nav.is-scrolled .nav__menu { top: 14px; }
}

/* ========== Layout / Section ========== */
.section { padding: 140px 5vw; position: relative; }
.section__head { max-width: 760px; margin: 0 auto 80px; text-align: center; }
.section__head--left { text-align: left; margin: 0 0 60px; }
.section__title {
  font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05; letter-spacing: -.01em;
}
.section__lead { color: var(--ink-dim); font-size: 17px; margin-top: 20px; max-width: 560px; margin-left: auto; margin-right: auto; }
.kicker {
  display: inline-block; font-size: 11px; letter-spacing: .35em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 24px; font-weight: 500;
}
.kicker--light { color: var(--ink-dim); }
.gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 40%, var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-style: italic;
}

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr minmax(260px, 1fr);
  align-items: center;
  gap: 4vw;
  padding: 80px 5vw 60px;
  overflow: hidden;
}
.hero__inner { max-width: none; position: relative; z-index: 2; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 12px;
  letter-spacing: .25em; text-transform: uppercase; color: var(--ink-dim);
  margin-bottom: 32px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px;
}
.dot { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; box-shadow: 0 0 12px var(--gold); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }

.hero__title {
  font-family: var(--serif); font-weight: 500; font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: .95; letter-spacing: -.02em; margin-bottom: 20px;
}
.hero__title span { display: block; }
.hero__title--gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 50%, var(--gold-deep) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-style: italic;
  animation: shimmer 4s linear infinite;
  background-size: 200% 100%;
  filter: drop-shadow(0 0 40px rgba(212,175,55,.25));
}
@keyframes shimmer { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }
.hero__title > span:not(.hero__title--gold) {
  text-shadow: 0 0 60px rgba(212,175,55,.08);
}

.hero__lead { font-size: 18px; color: var(--ink-dim); max-width: 560px; margin-bottom: 28px; }
.hero__lead strong { color: var(--gold); font-weight: 500; }

.hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.hero__chips { display: flex; gap: 24px; color: var(--ink-faint); font-size: 12px; letter-spacing: .25em; text-transform: uppercase; flex-wrap: wrap; }
.hero__chips span { display: flex; align-items: center; gap: 8px; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 16px 28px;
  font-size: 13px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500;
  border-radius: var(--radius); border: 1px solid transparent; transition: all .35s var(--ease);
  position: relative; overflow: hidden;
}
.btn--gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 60%, var(--gold-deep));
  color: #0a0a0a;
  box-shadow: 0 0 24px rgba(212,175,55,.25), inset 0 1px 0 rgba(255,255,255,.35);
  animation: glowPulse 3s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 24px rgba(212,175,55,.25), inset 0 1px 0 rgba(255,255,255,.35); }
  50% { box-shadow: 0 0 40px rgba(212,175,55,.45), inset 0 1px 0 rgba(255,255,255,.45); }
}
.btn--gold::before {
  content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.6) 50%, transparent 70%);
  transform: translateX(-100%); transition: transform .8s var(--ease);
}
.btn--gold:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 40px rgba(212,175,55,.5), 0 0 50px rgba(212,175,55,.35);
  animation: none;
}
.btn--gold:hover::before { transform: translateX(100%); }
.btn--ghost {
  border-color: var(--line); color: var(--ink);
  position: relative; overflow: hidden;
  transition: all .35s var(--ease), box-shadow .35s var(--ease);
}
.btn--ghost::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent, rgba(212,175,55,.2) 50%, transparent);
  transform: translateX(-100%); transition: transform .7s var(--ease);
}
.btn--ghost:hover {
  border-color: var(--gold); color: var(--gold);
  box-shadow: 0 0 30px rgba(212,175,55,.15);
  background: rgba(212,175,55,.05);
}
.btn--ghost:hover::before { transform: translateX(100%); }
.btn--block { width: 100%; justify-content: center; }
.btn--xl {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 28px 36px;
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(212,175,55,.25);
}
.btn--xl svg { margin-bottom: 6px; stroke-width: 1.8; }
.btn--xl:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 24px 60px rgba(212,175,55,.4); }
.btn--xl span:first-of-type { font-size: 13px; letter-spacing: .2em; }
.btn__email {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 3.2vw, 1.7rem);
  letter-spacing: .02em;
  text-transform: none;
  font-weight: 600;
  color: inherit;
}

/* Coin */
.hero__coin {
  position: relative;
  right: auto; top: auto; transform: none;
  width: 100%;
  max-width: 520px;
  max-height: calc(100vh - 240px);
  max-height: calc(100dvh - 240px);
  justify-self: center;
  align-self: center;
  aspect-ratio: 1; z-index: 1;
  animation: coinFloat 6s ease-in-out infinite;
}
.hero__coin img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}

@keyframes coinFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

.hero__coin-glow {
  position: absolute; inset: -15%; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,.12), transparent 60%);
  filter: blur(60px); z-index: -1;
}

@media (max-width: 900px) {
  .hero { display: block; padding: 120px 5vw 120px; }
  .hero__inner { max-width: 100%; position: relative; z-index: 2; text-align: center; }
  .hero__coin {
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    top: auto !important;
    bottom: 70px !important;
    transform: translateX(-50%) !important;
    width: min(300px, 72vw) !important;
    max-height: none !important;
    opacity: .22 !important;
    z-index: 0 !important;
    pointer-events: none !important;
  }
  .hero__lead { margin-left: auto; margin-right: auto; }
  .hero__ctas { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .hero__ctas .btn--ghost { background: rgba(7,7,10,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
  .hero__chips { justify-content: center; margin-top: 24px; position: relative; z-index: 2; }
}

@media (max-width: 600px) {
  .hero__coin { width: min(260px, 68vw) !important; bottom: 55px !important; opacity: .18 !important; }
  .hero__title { font-size: clamp(2.4rem, 10vw, 3.2rem); }
  .hero__lead { font-size: 17px; }
  .hero__ctas { margin-bottom: 40px; }
}

/* ========== Valores ========== */
.valores__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.valor {
  padding: 60px 40px; position: relative; border-right: 1px solid var(--line);
  transition: background .5s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
  transform-style: preserve-3d;
}
.valor:last-child { border-right: 0; }
.valor:hover {
  background: rgba(212,175,55,.04);
  box-shadow: inset 0 0 60px rgba(212,175,55,.06);
}
.valor::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 35%, rgba(212,175,55,.18) 50%, transparent 65%);
  transform: translateX(-100%);
  transition: transform .9s var(--ease);
  pointer-events: none;
}
.valor:hover::before { transform: translateX(100%); }
.valor__num {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--gold);
  letter-spacing: .15em; margin-bottom: 24px; font-weight: 600;
}
.valor h3 { font-family: var(--serif); font-weight: 500; font-size: 2.2rem; margin-bottom: 18px; letter-spacing: -.01em; }
.valor p { color: var(--ink-dim); font-size: 15.5px; max-width: 340px; }
.valor__line {
  position: absolute; left: 40px; bottom: 0; height: 1px; width: 0; background: var(--gold);
  transition: width 1s var(--ease) .2s;
}
.valor.is-visible .valor__line { width: calc(100% - 80px); }

@media (max-width: 900px) {
  .valores__grid { grid-template-columns: 1fr; }
  .valor { border-right: 0; border-bottom: 1px solid var(--line); text-align: center; }
  .valor:last-child { border-bottom: 0; }
  .valor p { margin-left: auto; margin-right: auto; }
  .valor__line { left: 50%; transform: translateX(-50%); width: 80px; }
  .valor.is-visible .valor__line { width: 80px; }
  .section { padding: 90px 6vw; }
}

/* ========== Método ========== */
.metodo__inner { max-width: 1100px; margin: 0 auto; }
.metodo__steps {
  list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  counter-reset: step;
}
.metodo__step {
  padding: 32px 28px; border: 1px solid var(--line); border-radius: var(--radius);
  position: relative; transition: all .5s var(--ease);
  background: linear-gradient(180deg, rgba(255,255,255,.01), transparent);
  transform-style: preserve-3d;
  overflow: hidden;
}
.metodo__step::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 35%, rgba(212,175,55,.2) 50%, transparent 65%);
  transform: translateX(-100%);
  transition: transform .9s var(--ease);
  pointer-events: none;
}
.metodo__step:hover::before { transform: translateX(100%); }
.metodo__step:hover {
  border-color: var(--gold); transform: translateY(-8px) scale(1.02);
  background: linear-gradient(180deg, rgba(212,175,55,.08), transparent);
  box-shadow: 0 20px 50px rgba(0,0,0,.4), 0 0 30px rgba(212,175,55,.12);
}
.metodo__step-num {
  font-family: var(--serif); font-style: italic; font-size: 2.4rem; color: var(--gold);
  margin-bottom: 24px; display: block; line-height: 1;
}
.metodo__step h4 { font-family: var(--serif); font-weight: 500; font-size: 1.4rem; margin-bottom: 12px; }
.metodo__step p { color: var(--ink-dim); font-size: 14.5px; }

@media (max-width: 900px) {
  .metodo__steps { grid-template-columns: 1fr 1fr; }
  .section__head--left { text-align: center; margin-left: auto; margin-right: auto; }
  .section__lead { margin-left: auto; margin-right: auto; }
  .metodo__step { text-align: center; }
}
@media (max-width: 560px) {
  .metodo__steps { grid-template-columns: 1fr; }
  .metodo__step { text-align: center; }
}

/* ========== Camino / Quote ========== */
.camino { padding: 160px 5vw; text-align: center; position: relative; }
.camino::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(800px 400px at 50% 50%, rgba(212,175,55,.08), transparent 70%);
  pointer-events: none;
}
.camino__quote { max-width: 900px; margin: 0 auto; position: relative; z-index: 1; }
.camino__mark {
  font-family: var(--serif); font-size: 9rem; color: var(--gold); line-height: .5;
  display: block; opacity: .5; margin-bottom: 20px;
  animation: markPulse 4s ease-in-out infinite;
}
@keyframes markPulse {
  0%, 100% { opacity: .35; text-shadow: 0 0 0 transparent; }
  50% { opacity: .65; text-shadow: 0 0 60px rgba(212,175,55,.4); }
}
.camino__quote p {
  font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  line-height: 1.3; letter-spacing: -.005em;
}
.camino__quote em {
  color: var(--gold); font-style: italic;
  text-shadow: 0 0 20px rgba(212,175,55,.3);
}
.camino__sign {
  display: block; margin-top: 40px; font-size: 12px; letter-spacing: .35em;
  text-transform: uppercase; color: var(--ink-dim);
}

/* ========== Contacto ========== */
.contacto { padding: 90px 5vw 120px; }
.contacto__card {
  max-width: 640px; margin: 0 auto; padding: 52px 44px; text-align: center;
  border: 1px solid var(--line); border-radius: 12px; position: relative; overflow: hidden;
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(212,175,55,.12), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,.03), transparent);
  box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 60px rgba(212,175,55,.08);
  transition: box-shadow .5s var(--ease);
}
.contacto__card:hover {
  box-shadow: 0 40px 100px rgba(0,0,0,.6), 0 0 80px rgba(212,175,55,.14);
}
.contacto__card::before {
  content: ''; position: absolute; inset: 0; padding: 1px; border-radius: 12px;
  background: linear-gradient(135deg, transparent, var(--gold) 50%, transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: .5; pointer-events: none;
}
.contacto__card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 40%, rgba(212,175,55,.1) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 1.2s var(--ease);
  pointer-events: none;
}
.contacto__card:hover::after { transform: translateX(100%); }
.contacto__title {
  font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  line-height: 1.1; margin: 12px 0 16px;
}
.contacto__lead { color: var(--ink-dim); margin-bottom: 32px; max-width: 440px; margin-left: auto; margin-right: auto; font-size: 15px; }

.contacto__form {
  display: grid;
  gap: 18px;
  text-align: left;
  max-width: 460px;
  margin: 0 auto;
}
.form__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}
.form__group label {
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  transition: color .3s var(--ease), text-shadow .3s var(--ease);
}
.form__group:focus-within label {
  color: var(--gold-light);
  text-shadow: 0 0 12px rgba(212,175,55,.4);
}
.form__group input,
.form__group textarea {
  width: 100%;
  padding: 13px 16px;
  background: rgba(5,5,8,.7);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.form__group input::placeholder,
.form__group textarea::placeholder { color: var(--ink-faint); }
.form__group input:focus,
.form__group textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(7,7,10,.85);
  box-shadow: 0 0 0 3px rgba(212,175,55,.15), 0 0 25px rgba(212,175,55,.1);
}
.form__group textarea {
  resize: vertical;
  min-height: 96px;
}
.contacto__form .btn--xl {
  margin-top: 6px;
  padding: 20px 28px;
}

/* Formulario compacto */
.contacto__form--compact {
  gap: 14px;
}
.contacto__form--compact .form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.contacto__form--compact .form__group input,
.contacto__form--compact .form__group textarea {
  padding: 11px 14px;
  font-size: 13.5px;
}
.contacto__form--compact .form__group textarea {
  min-height: 78px;
  resize: none;
}
.contacto__form--compact .btn--xl {
  padding: 18px 24px;
  margin-top: 4px;
  box-shadow: 0 12px 36px rgba(212,175,55,.3);
}

/* Confirmación de envío */
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 20px;
  animation: successIn 0.9s var(--ease) forwards;
}
.form-success.is-visible {
  display: flex;
}
.form-success__icon {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 50%, var(--gold-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  box-shadow: 0 0 50px rgba(212,175,55,.55), 0 10px 40px rgba(0,0,0,.4);
  animation: successIcon 0.7s var(--ease-bounce) forwards;
}
.form-success__icon svg {
  width: 42px;
  height: 42px;
  color: #0a0a0a;
}
.form-success__title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--ink);
  margin-bottom: 14px;
}
.form-success__text {
  color: var(--ink-dim);
  max-width: 340px;
  font-size: 15px;
  line-height: 1.6;
}

.confetti {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
}

@keyframes successIn {
  from { opacity: 0; transform: translateY(30px) scale(0.92); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes successIcon {
  0% { opacity: 0; transform: scale(0) rotate(-45deg); }
  60% { transform: scale(1.15) rotate(6deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}

@media (max-width: 600px) {
  .contacto__form--compact .form__row {
    grid-template-columns: 1fr;
  }
  .contacto__card { padding: 40px 22px; }
  .contacto__card .btn--xl {
    display: flex;
    margin: 0 auto;
    width: 100%;
    max-width: 340px;
    padding: 24px 20px;
  }
  .btn__email { font-size: clamp(1.05rem, 5vw, 1.35rem); }
}

/* ========== Footer ========== */
.footer { border-top: 1px solid var(--line); padding: 40px 5vw; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand img { width: 36px; height: 36px; border-radius: 50%; }
.footer__brand strong { display: block; font-family: var(--serif); font-size: 16px; letter-spacing: .1em; }
.footer__brand span { display: block; font-size: 11px; color: var(--ink-dim); letter-spacing: .25em; text-transform: uppercase; }
.footer__meta { display: flex; gap: 32px; align-items: center; font-size: 12px; color: var(--ink-dim); letter-spacing: .1em; }
.footer__meta a { color: var(--gold); }

@media (max-width: 900px) {
  .footer__inner { justify-content: center; flex-direction: column; text-align: center; }
  .footer__brand { flex-direction: column; align-items: center; }
  .footer__meta { flex-direction: column; gap: 12px; }
}

/* ========== Reveal animations ========== */
.reveal { opacity: 0; transform: translateY(50px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.reveal-scale { opacity: 0; transform: scale(.8) translateY(40px); transition: opacity 1.4s var(--ease), transform 1.4s var(--ease); }
.reveal-scale.is-visible { opacity: 1; transform: scale(1) translateY(0); }

/* Efecto de brillo en títulos dorados al revelarse */
.hero__title--gold.is-visible {
  animation: shimmer 4s linear infinite, titleGlow 2s ease-out;
}
@keyframes titleGlow {
  0% { filter: drop-shadow(0 0 0 transparent); }
  50% { filter: drop-shadow(0 0 60px rgba(212,175,55,.5)); }
  100% { filter: drop-shadow(0 0 40px rgba(212,175,55,.25)); }
}

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .coin { animation: none; }
}
/* test live-reload 1783697123 */
