:root {
  --fondo: #1c2733;
  --panel: #223141;
  --linea: #34485d;
  --vwap: #f0b23a;
  --texto: #eef2f5;
  --texto-2: #a8b5c3;
  --vela: #9fb4c8;
  --vela-baja: #56697e;
  --ancho: 1120px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--fondo);
  color: var(--texto);
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  font-variation-settings: "wdth" 100;
}

a { color: var(--texto); text-decoration-color: var(--vwap); text-underline-offset: 3px; }
a:hover { color: var(--vwap); }
:focus-visible { outline: 2px solid var(--vwap); outline-offset: 3px; }

h1, h2, h3 { font-stretch: 70%; font-variation-settings: "wdth" 70; font-weight: 800; line-height: 1; margin: 0; }
h1 { font-size: clamp(46px, 9vw, 92px); letter-spacing: -0.01em; }
h2 { font-size: clamp(32px, 5vw, 48px); margin-bottom: 24px; }
h3 { font-size: 22px; margin: 24px 0 8px; }

.oculto { position: absolute; left: -9999px; }

/* Cabecera */
.top {
  max-width: var(--ancho);
  margin: 0 auto;
  padding: 20px 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.marca {
  font-stretch: 70%;
  font-variation-settings: "wdth" 70;
  font-weight: 800;
  font-size: 20px;
  text-decoration: none;
}
.top nav { display: flex; gap: 20px; font-size: 15px; }
.top nav a { text-decoration: none; color: var(--texto-2); }
.top nav a:hover { color: var(--texto); }

/* Hero */
.hero {
  max-width: var(--ancho);
  margin: 0 auto;
  padding: 24px 20px 8px;
  display: grid;
  gap: 32px;
}
.hero-foto { margin: 0; display: none; }
.firma-movil { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 15px; color: var(--texto-2); }
.firma-movil img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.hero-foto img {
  display: block;
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: 14px;
}
.entradilla { font-size: 19px; color: var(--texto-2); max-width: 34em; margin: 20px 0 28px; }

/* Formularios */
.captura, .solicitud { display: grid; gap: 16px; max-width: 460px; }
.campo { display: grid; gap: 6px; font-size: 15px; color: var(--texto-2); }
.campo input, .campo select, .campo textarea {
  font: inherit;
  font-size: 17px;
  color: var(--texto);
  background: var(--panel);
  border: 1px solid var(--linea);
  border-radius: 10px;
  padding: 13px 14px;
  width: 100%;
}
.campo input::placeholder { color: #7d8b99; }
.campo input:focus, .campo select:focus, .campo textarea:focus { border-color: var(--vwap); outline: none; }

.consentimiento { display: flex; gap: 10px; font-size: 14px; color: var(--texto-2); line-height: 1.45; }
.consentimiento input { margin-top: 3px; accent-color: var(--vwap); width: 18px; height: 18px; flex: none; }

button {
  font: inherit;
  font-weight: 700;
  font-size: 18px;
  color: var(--fondo);
  background: var(--vwap);
  border: 0;
  border-radius: 10px;
  padding: 15px 22px;
  cursor: pointer;
}
button:hover { background: #f6c460; }

/* Gráfico VWAP */
.grafico { margin: 40px 0 0; border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); background: #19232e; }
.grafico-marco { max-width: var(--ancho); margin: 0 auto; padding: 16px 20px; overflow: hidden; }
.grafico svg { display: block; width: 100%; height: auto; overflow: visible; }
.grafico .band { fill: none; stroke: var(--linea); stroke-width: 1.5; stroke-dasharray: 4 6; }
.grafico .wick { stroke-width: 1.5; }
.grafico .wick.up { stroke: var(--vela); }
.grafico .wick.dn { stroke: var(--vela-baja); }
.grafico .body.up { fill: var(--fondo); stroke: var(--vela); stroke-width: 1.5; }
.grafico .body.dn { fill: var(--vela-baja); }
.grafico .vwap {
  fill: none;
  stroke: var(--vwap);
  stroke-width: 3;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: trazar 1.8s ease-out 0.3s forwards;
}
.grafico .touch { fill: none; stroke: var(--vwap); stroke-width: 2.5; opacity: 0; animation: aparecer 0.4s ease-out 2s forwards; }
.grafico .lbl { fill: var(--texto); font-size: 16px; font-family: "Archivo", sans-serif; opacity: 0; animation: aparecer 0.4s ease-out 2.1s forwards; }
.grafico .lbl.vw { fill: var(--vwap); font-weight: 700; }
.leyenda { display: none; }

@keyframes trazar { to { stroke-dashoffset: 0; } }
@keyframes aparecer { to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .grafico .vwap { animation: none; stroke-dashoffset: 0; }
  .grafico .touch, .grafico .lbl { animation: none; opacity: 1; }
}

/* Secciones */
.incluye, .sobre-mi, .mentoria {
  max-width: var(--ancho);
  margin: 0 auto;
  padding: 72px 20px 0;
}
.incluye ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; max-width: 46em; }
.incluye li { padding-left: 22px; border-left: 3px solid var(--vwap); color: var(--texto-2); }
.incluye li strong { display: block; color: var(--texto); font-size: 19px; }

.sobre-mi { display: grid; gap: 24px; align-items: start; }
.sobre-mi img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; }
.sobre-mi p { color: var(--texto-2); max-width: 38em; }
.enlace-ig { font-weight: 700; }

.mentoria ul { padding-left: 20px; color: var(--texto-2); margin: 0; }
.mentoria li { margin-bottom: 6px; }
.mentoria-cols { display: grid; gap: 8px 48px; }
.plazas { font-weight: 700; color: var(--vwap); }
.solicitud { max-width: 640px; margin-top: 48px; padding: 28px; background: var(--panel); border-radius: 14px; }
.solicitud h3 { margin-top: 0; }
.solicitud p { margin: 0; color: var(--texto-2); }
.solicitud .campo input, .solicitud .campo select, .solicitud .campo textarea { background: var(--fondo); }
.filas { display: grid; gap: 16px; }

/* Pie */
.pie {
  max-width: var(--ancho);
  margin: 88px auto 0;
  padding: 28px 20px 40px;
  border-top: 1px solid var(--linea);
  font-size: 13px;
  color: var(--texto-2);
}
.pie p { max-width: 60em; }
.pie a { color: var(--texto-2); }

/* Página simple (gracias, privacidad) */
.simple { max-width: 720px; margin: 0 auto; padding: 56px 20px 0; }
.simple p, .simple li { color: var(--texto-2); }
.simple h1 { font-size: clamp(40px, 8vw, 64px); margin-bottom: 20px; }
.simple h2 { font-size: 26px; margin: 36px 0 10px; }
.boton {
  display: inline-block;
  font-weight: 700;
  font-size: 18px;
  color: var(--fondo);
  background: var(--vwap);
  border-radius: 10px;
  padding: 15px 22px;
  text-decoration: none;
  margin: 12px 0 8px;
}
.boton:hover { color: var(--fondo); background: #f6c460; }

/* Móvil: el gráfico se recorta para mostrar la entrada */
@media (max-width: 699px) {
  .grafico svg { width: 820px; max-width: none; margin-left: calc(100% - 820px); }
  .grafico .lbl:not(.vw) { display: none; }
  .leyenda { display: block; margin: 8px 0 0; font-size: 14px; color: var(--texto-2); }
  .leyenda::before { content: ""; display: inline-block; width: 18px; height: 3px; background: var(--vwap); vertical-align: middle; margin-right: 8px; }
}

/* Escritorio */
@media (min-width: 880px) {
  .hero { grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 56px; padding-top: 64px; }
  .hero-foto { display: block; }
  .firma-movil { display: none; }
  .hero-foto img { height: auto; aspect-ratio: 4 / 5; }
  .sobre-mi { grid-template-columns: 112px 1fr; gap: 32px; }
  .mentoria-cols { grid-template-columns: 1fr 1fr; }
  .filas { grid-template-columns: 1fr 1fr; }
}

.aviso-plan { font-size: 14px; color: var(--texto-2); margin: 0; }
.aviso-plan::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--vwap); margin-right: 8px; vertical-align: 1px; }
.simple .aviso-plan { margin-top: 4px; }
