/* ==========================================================================
   Toni · Portfolio UGC
   Móvil primero. Colores y tipos de la cuenta: Impact (Anton en móviles) + brush Rocktown
   (en SVG, img/brush/), amarillo #FBC140, blanco, fondo oscuro; la portada toma el color de fondo de la foto.
   ========================================================================== */

/* Impact si el dispositivo la tiene (Mac, Windows); si no, Anton, que es casi igual */
@font-face { font-family: "Titular"; src: local("Impact"), url("../fuentes/anton.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("../fuentes/inter-tight.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --fondo: #0E0E11;
  --tarjeta: #17171C;
  --linea: #2A2A33;
  --texto: #F4F4F5;
  --suave: #A6A6B0;
  --amarillo: #FBC140;
  --tinta: #14171B;
  --morado: #7B3BFF;
  --naranja: #FF7A1A;
  --margen: clamp(18px, 5vw, 64px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);
  --titular: "Titular", Impact, "Anton", "Arial Narrow", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--fondo); color-scheme: dark; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--fondo); color: var(--texto);
  font-family: "Inter Tight", system-ui, -apple-system, sans-serif; font-size: 17px; line-height: 1.45;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
b { font-weight: 700; }
.am { color: var(--amarillo); }
:focus-visible { outline: 3px solid var(--amarillo); outline-offset: 4px; border-radius: 6px; }
::selection { background: var(--amarillo); color: #111; }

/* Barra de scroll: fina, amarilla sobre el fondo oscuro */
html { scrollbar-width: thin; scrollbar-color: var(--amarillo) var(--fondo); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--fondo); }
::-webkit-scrollbar-thumb { background: var(--amarillo); border-radius: 99px; border: 2px solid var(--fondo); }
::-webkit-scrollbar-thumb:hover { background: #ffd36b; }

/* ---------- Brush Rocktown (SVG como máscara: así se puede colorear y "pintar") ---------- */
.brush {
  display: block; background: currentColor;
  -webkit-mask: var(--svg) center / contain no-repeat; mask: var(--svg) center / contain no-repeat;
}
.brush--creador { --svg: url("../img/brush/creador.svg"); aspect-ratio: 1300 / 203; }
.brush--muestra { --svg: url("../img/brush/muestra.svg"); aspect-ratio: 1170 / 163; }
.brush--hablemos { --svg: url("../img/brush/hablemos.svg"); aspect-ratio: 976 / 172; }

/* ---------- Ambiente: grano y luces ---------- */
.grano {
  position: fixed; inset: -100%; z-index: 90; pointer-events: none; opacity: .09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.2 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grano 1s steps(6) infinite;
}
@keyframes grano {
  0% { transform: translate(0, 0); } 20% { transform: translate(-6%, 4%); } 40% { transform: translate(5%, -7%); }
  60% { transform: translate(-3%, 8%); } 80% { transform: translate(7%, 2%); } 100% { transform: translate(0, 0); }
}
.luces { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.luz {
  position: absolute; width: 90vmax; height: 90vmax; border-radius: 50%; filter: blur(60px);
  mix-blend-mode: screen; opacity: .22; will-change: transform;
}
.luz--morada { background: radial-gradient(circle, var(--morado) 0%, transparent 62%); top: -45vmax; right: -40vmax; }
.luz--naranja { background: radial-gradient(circle, var(--naranja) 0%, transparent 62%); bottom: -55vmax; left: -45vmax; opacity: .14; }
main { position: relative; z-index: 1; overflow-x: clip; }

/* ---------- Barra superior ---------- */
.barra {
  position: fixed; z-index: 50; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center;
  padding: calc(10px + env(safe-area-inset-top)) var(--margen) 10px;
  background: #0E0E11b3; -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid #ffffff12; transform: translateY(-110%); transition: transform .5s var(--ease);
}
.barra.visible { transform: none; }
.barra__logo { font-weight: 600; font-size: 16px; letter-spacing: -.01em; color: #fff; }
.barra__cta {
  font-weight: 700; font-size: 14px; background: var(--amarillo); color: #111; padding: 9px 16px; border-radius: 99px;
  transition: background .3s, transform .4s var(--ease), box-shadow .4s;
}
.barra__cta:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px #fbc14040; }
.barra__cta:active { transform: scale(.96); }

/* ==========================================================================
   1. PORTADA
   ========================================================================== */
/* Fondo de estudio: telón pintado con manchas suaves (img/fondo-textura.svg), luz detrás de la cabeza y viñeta */
.portada { position: relative; overflow: hidden; color: var(--tinta);
  background:
    url("../img/fondo-textura.svg?v=2") center / cover,
    radial-gradient(60% 45% at 50% 30%, #C3D2D8 0%, transparent 70%),
    radial-gradient(130% 95% at 50% 35%, #9DB0B9 0%, #8A9EA8 45%, #627580 100%);
  background-blend-mode: soft-light, normal, normal; }
.portada__escena { position: relative; width: 100%; aspect-ratio: 1875 / 2000; }
.portada__recorte { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; will-change: transform; }
.portada__recorte { z-index: 2; pointer-events: none; }
.portada__nombre {
  position: absolute; z-index: 1; left: 0; right: 0; top: 4%; padding: 0 2vw; text-align: center; text-transform: uppercase;
  color: #fff; font-family: var(--titular); font-weight: 400; line-height: .86; letter-spacing: .005em; white-space: nowrap;
  will-change: transform;
}
.ajustar { display: inline-block; font-size: 22vw; }
.ajustar > span { display: block; }
.brush--creador {
  position: absolute; z-index: 3; color: var(--amarillo); width: 74%; left: 13%; top: 80%;
  transform: rotate(-4deg);
}
.portada__texto { position: relative; z-index: 4; padding: 30px var(--margen) 64px; max-width: 560px; }
.pastilla {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; white-space: nowrap; padding: 8px 14px; border-radius: 99px; background: #ffffff59;
  border: 1px solid #14171b1a; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); margin-bottom: 16px;
}
.punto { width: 8px; height: 8px; border-radius: 50%; background: var(--tinta); box-shadow: 0 0 0 0 #14171bb3; animation: latido 1.6s infinite; }
@keyframes latido { 70% { box-shadow: 0 0 0 9px #14171b00; } 100% { box-shadow: 0 0 0 0 #14171b00; } }
.portada__bio { font-size: 19px; line-height: 1.35; font-weight: 500; }
.portada__bio b { font-weight: 800; }
.portada__bio--sec { font-size: 15.5px; color: #2E353B; margin-top: 12px; }
/* Especialidades: una pastilla por nicho */
.nichos { margin-top: 20px; }
.nichos__titulo { font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #2E353B; margin-bottom: 10px; }
.nichos__lista { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.nichos__lista li {
  font-size: 14px; font-weight: 700; line-height: 1; padding: 9px 15px; border-radius: 99px; color: var(--tinta);
  background: #ffffff8c; border: 1px solid #ffffffb3; box-shadow: 0 1px 0 #14171b14, inset 0 1px 0 #fff9;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background .3s, transform .3s var(--ease);
}
.nichos__lista li:hover { background: var(--amarillo); transform: translateY(-2px); }
.redes { display: flex; align-items: center; gap: 10px; margin-top: 22px; }
.red {
  flex: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%;
  background: var(--tinta); color: #fff; transition: background .3s, color .3s, transform .3s var(--ease);
}
.red svg { width: 22px; height: 22px; }
.red:hover, .red:active { background: var(--amarillo); color: #111; transform: translateY(-3px) rotate(-6deg); }
.redes__usuario { margin-left: 6px; font-weight: 700; color: #2E353B; font-size: 15px; }

/* "Mis vídeos": pastilla clara para que se lea encima del fondo o del jersey */
.bajar {
  position: absolute; z-index: 6; right: var(--margen); bottom: calc(22px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 10px; padding: 10px 12px 10px 16px; border-radius: 99px;
  background: #ffffffd9; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--tinta);
}
.bajar i { width: 1px; height: 22px; background: #14171b33; position: relative; overflow: hidden; }
.bajar i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--amarillo); animation: gota 1.8s var(--ease-in-out) infinite; }
.bajar { transition: background .3s, transform .4s var(--ease); }
.bajar:hover { background: var(--amarillo); transform: translateY(-3px); }
.bajar:hover i { background: #14171b55; }
.bajar:hover i::after { background: var(--tinta); }
.bajar:active { transform: scale(.96); }
@keyframes gota { to { top: 100%; } }

/* Entrada de la portada */
.cargada .portada__nombre .ajustar { animation: nombre 1.2s var(--ease) both; }
.cargada .brush--creador { animation: pintar 1s var(--ease) .45s both; }
.cargada .portada__texto > * { animation: aparecer .9s var(--ease) both; }
.cargada .portada__texto > :nth-child(2) { animation-delay: .1s; } .cargada .portada__texto > :nth-child(3) { animation-delay: .18s; }
.cargada .portada__texto > :nth-child(4) { animation-delay: .26s; } .cargada .portada__texto > :nth-child(5) { animation-delay: .34s; }
@keyframes nombre { from { transform: translateY(30%) scale(1.15); opacity: 0; filter: blur(12px); } }
@keyframes pintar { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes aparecer { from { opacity: 0; transform: translateY(24px); } }

/* ---------- Cinta ---------- */
.cinta {
  position: relative; z-index: 5; overflow: hidden; background: var(--amarillo); color: #111;
  margin: 0; padding: 14px 0;
}
.cinta__pista { display: flex; width: max-content; animation: cinta 30s linear infinite; font-family: var(--titular); font-size: 30px; text-transform: uppercase; line-height: 1; }
.cinta__pista { align-items: center; }
.cinta__pista > * { display: flex; align-items: center; flex: none; }
/* Círculo pequeño entre palabra y palabra */
.cinta__pista > *::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; margin: 0 24px; }
@keyframes cinta { to { transform: translateX(-50%); } }

/* ---------- Titulares ---------- */
.titular { position: relative; margin-bottom: 26px; }
.titular__grande {
  font-family: var(--titular); font-weight: 400; text-transform: uppercase; line-height: .86; font-size: clamp(76px, 25vw, 220px);
  letter-spacing: -.005em;
}
.linea { display: block; overflow: hidden; padding: .04em 0 .12em; margin-bottom: -.12em; } /* abajo: sitio para el pie del "¿" */
.linea > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); }
.linea + .linea > span { transition-delay: .08s; }
.titular.visto .linea > span { transform: none; }
.titular .brush { position: absolute; z-index: 2; transform: rotate(-4deg); }
.titular .brush { clip-path: inset(0 100% 0 0); transition: clip-path 1s var(--ease) .35s; }
.titular.visto .brush { clip-path: inset(0 0 0 0); }

/* ==========================================================================
   2. VÍDEOS
   ========================================================================== */
.videos { padding: 70px var(--margen) 40px; max-width: 1200px; margin: 0 auto; }
.videos .titular { text-align: center; }
.titular .brush--muestra { position: relative; color: var(--amarillo); width: min(74%, 520px); margin: 4px auto 0; }
.videos__aviso { max-width: 520px; color: #cfcfd6; font-size: 15px; margin: 0 auto 36px; text-align: center; }

.sectores { margin-bottom: 30px; text-align: center; }
.sectores__titulo { font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--suave); margin-bottom: 12px; }
.sectores__botones { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.sectores__botones a { padding: 10px 18px; border-radius: 99px; border: 1px solid var(--linea); font-weight: 700; transition: background .3s, color .3s; }
.sectores__botones a:hover { background: var(--amarillo); color: #111; }
.sector + .sector { margin-top: 56px; }
.sector__nombre { font-family: var(--titular); font-size: 44px; text-transform: uppercase; margin-bottom: 16px; text-align: center; }

.rejilla { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }

.tarjeta { display: flex; flex-direction: column; gap: 10px; transition: opacity .5s, transform .6s var(--ease), filter .5s; }
/* El nombre del producto no se ve encima del vídeo: solo lo usan la ventana "Estrategia" y los lectores de pantalla */
.tarjeta__cabecera { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Pie: pastilla con el tipo de vídeo + botón "Estrategia" */
.tarjeta__pie { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 4px; }
.tipo {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px 6px; border-radius: 99px; background: var(--amarillo); color: #111;
  font-family: var(--titular); font-size: clamp(12.5px, 3.4vw, 15px); line-height: 1; text-transform: uppercase; letter-spacing: .03em; white-space: nowrap;
  max-width: 100%;
}
.tipo::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.boton-estrategia {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 14px; border-radius: 99px;
  border: 1.5px solid #ffffff2e; background: #ffffff08; color: var(--texto); font: inherit; font-weight: 700; font-size: 14px;
  cursor: pointer; transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.boton-estrategia i { position: relative; width: 12px; height: 12px; transition: transform .4s var(--ease); }
.boton-estrategia i::before, .boton-estrategia i::after { content: ""; position: absolute; left: 0; top: 5px; width: 12px; height: 2px; border-radius: 2px; background: currentColor; }
.boton-estrategia i::after { transform: rotate(90deg); }
.boton-estrategia:hover { background: var(--amarillo); border-color: var(--amarillo); color: #111; transform: translateY(-2px); }
.boton-estrategia:hover i { transform: rotate(90deg); }

.reproductor {
  position: relative; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; isolation: isolate;
  background: linear-gradient(160deg, #26262e, #121216); box-shadow: 0 18px 50px #0007, inset 0 0 0 1px #ffffff12;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease), box-shadow .5s;
}
.reproductor video { width: 100%; height: 100%; object-fit: cover; background: #000; }
.reproductor::after { /* brillo que sigue al dedo / ratón */
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2; opacity: 0; transition: opacity .4s;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 30%), #ffffff2e, transparent 60%);
}
.reproductor:hover::after { opacity: 1; }


.play {
  position: absolute; z-index: 3; left: 50%; top: 50%; width: 66px; height: 66px; margin: -33px 0 0 -33px; border-radius: 50%;
  display: grid; place-items: center; background: #ffffff26; border: 1.5px solid #ffffff66;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: transform .4s var(--ease), background .3s, opacity .3s;
}
.play::before { /* anillo que late */
  content: ""; position: absolute; inset: -1.5px; border-radius: 50%; border: 1.5px solid var(--amarillo); opacity: 0;
  animation: anillo 2.4s var(--ease) infinite;
}
@keyframes anillo { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
.play i { width: 0; height: 0; margin-left: 5px; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #fff; transition: border-color .3s; }
.play:hover { background: var(--amarillo); transform: translate(var(--px, 0), var(--py, 0)) scale(1.08); }
.play:hover i { border-left-color: #111; }

.progreso { position: absolute; z-index: 3; left: 12px; right: 12px; bottom: 12px; height: 3px; border-radius: 3px; background: #ffffff33; opacity: 0; transition: opacity .3s; overflow: hidden; }
.progreso i { display: block; height: 100%; width: 100%; background: var(--amarillo); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* Estados del reproductor */
.reproduciendo .play { opacity: 0; transform: scale(.6); pointer-events: none; }
.reproduciendo .progreso, .pausado .progreso { opacity: 1; }
.cargando .play i { border: 2.5px solid #fff; border-top-color: transparent; border-radius: 50%; width: 26px; height: 26px; margin: 0; animation: girar .7s linear infinite; }
@keyframes girar { to { transform: rotate(360deg); } }
body.viendo .tarjeta:not(.activa) { opacity: .35; filter: saturate(.3); }
.tarjeta.activa .reproductor { box-shadow: 0 0 0 2px var(--amarillo), 0 30px 80px #000c, 0 0 80px #fbc14033; }

/* Marcador de posición: falta el archivo */
.falta .reproductor { background:
  radial-gradient(80% 50% at 80% 0%, #7b3bff55, transparent 70%),
  radial-gradient(80% 50% at 10% 100%, #ff7a1a44, transparent 70%), #16161b; }
.falta video { opacity: 0; }
.reproductor .hueco {
  position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
  padding: 14px 12px 14px; font-size: 11px; line-height: 1.35; color: #d8d8de;
}
.hueco b { font-family: var(--titular); font-weight: 400; font-size: 22px; line-height: .95; color: var(--texto); text-transform: uppercase; }
.hueco code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; color: var(--amarillo); word-break: break-all; background: #0006; padding: 4px 6px; border-radius: 6px; }
.falta .play { top: 40%; }

/* Tarjeta "el siguiente es el tuyo" */
.tarjeta--tuya {
  justify-content: center; align-items: center; text-align: center; gap: 14px; padding: 18px; border-radius: 22px; border: 1.5px dashed #ffffff33;
  aspect-ratio: 9 / 16; align-self: start; transition: border-color .4s, background .4s, transform .6s var(--ease), opacity .5s;
}
.tarjeta--tuya:hover { border-color: var(--amarillo); background: #fbc1400d; }
.tarjeta--tuya__mas { font-family: var(--titular); font-size: 64px; line-height: .8; color: var(--amarillo); transition: transform .6s var(--ease); }
.tarjeta--tuya:hover .tarjeta--tuya__mas { transform: rotate(90deg); }
.tarjeta--tuya__texto { font-family: var(--titular); font-size: clamp(28px, 7.5vw, 44px); line-height: .95; text-transform: uppercase; }
.tarjeta--tuya__texto b { font-weight: 400; color: var(--amarillo); }
.tarjeta--tuya__flecha { font-weight: 700; font-size: 14px; color: var(--suave); }

/* Ventana "Estrategia" (abajo en móvil, centrada en pantallas grandes) */
html.modal-abierta { overflow: hidden; }
.estrategia {
  padding: 0; border: 0; background: transparent; color: var(--texto); width: 100%; max-width: 100%; max-height: none;
  margin: auto 0 0; overflow: visible;
}
.estrategia::backdrop { background: #000000a6; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.estrategia[open]::backdrop { animation: fundido .4s ease both; }
.estrategia[open] .estrategia__caja { animation: hoja .55s var(--ease) both; }
@keyframes fundido { from { opacity: 0; } }
@keyframes hoja { from { transform: translateY(60px); opacity: 0; } }
.estrategia__caja {
  position: relative; max-height: 90dvh; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin;
  background: var(--tarjeta); border: 1px solid #ffffff14; border-bottom: 0; border-radius: 28px 28px 0 0;
  padding: 30px 22px calc(28px + env(safe-area-inset-bottom)); box-shadow: 0 -30px 100px #000a;
}
.estrategia__caja::before { /* asa de la hoja */
  content: ""; position: absolute; top: 10px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: #ffffff2e;
}
.estrategia__cerrar {
  position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #ffffff12;
  color: var(--texto); cursor: pointer; display: grid; place-items: center; transition: background .3s, color .3s, transform .4s var(--ease);
}
.estrategia__cerrar i { position: relative; width: 16px; height: 16px; }
.estrategia__cerrar i::before, .estrategia__cerrar i::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; border-radius: 2px; background: currentColor; transform: rotate(45deg); }
.estrategia__cerrar i::after { transform: rotate(-45deg); }
.estrategia__cerrar:hover { background: var(--amarillo); color: #111; transform: rotate(90deg); }
.estrategia__antetitulo { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--amarillo); }
.estrategia__producto { font-family: var(--titular); font-weight: 400; font-size: clamp(38px, 11vw, 54px); line-height: .9; text-transform: uppercase; margin: 8px 48px 14px 0; }
.estrategia__bloque { margin-top: 24px; padding-top: 22px; border-top: 1px solid #ffffff14; }
.estrategia__paso { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--suave); }
.estrategia__paso b { font-family: var(--titular); font-weight: 400; font-size: 20px; letter-spacing: 0; color: var(--amarillo); }
.estrategia__titulo { font-size: 22px; font-weight: 800; line-height: 1.15; margin: 10px 0 6px; letter-spacing: -.01em; }
.estrategia__texto { font-size: 15.5px; line-height: 1.5; color: #d2d2d8; }
.estrategia__tipos { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 14px 0 0; padding: 0; }
.estrategia__tipos li { padding: 8px 13px; border-radius: 99px; border: 1px solid #ffffff1f; color: var(--suave); font-size: 13.5px; font-weight: 600; line-height: 1; }
.estrategia__tipos li.elegido { background: var(--amarillo); border-color: var(--amarillo); color: #111; font-weight: 800; }
.estrategia__dato { margin-top: 14px; padding: 16px 16px 15px; border-radius: 18px; background: #ffffff08; border: 1px solid #ffffff0f; }
.estrategia__dato p:last-child { font-size: 15.5px; line-height: 1.5; }
.estrategia__mini { font-size: 11.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--amarillo); margin-bottom: 6px; }
@media (min-width: 700px) {
  .estrategia { max-width: 600px; margin: auto; }
  .estrategia__caja { border-radius: 28px; border-bottom: 1px solid #ffffff14; padding: 40px 40px 36px; max-height: 88vh; box-shadow: 0 40px 120px #000c; }
  .estrategia__caja::before { display: none; }
  @keyframes hoja { from { transform: translateY(24px) scale(.97); opacity: 0; } }
}

/* Aparición al hacer scroll */
[data-aparecer] { opacity: 0; transform: translateY(40px); }
[data-aparecer].visto { opacity: 1; transform: none; transition: opacity .9s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s); }
.tarjeta[data-aparecer] .reproductor, .tarjeta--tuya[data-aparecer] { clip-path: inset(18% 0 0 0 round 22px); }
.tarjeta[data-aparecer].visto .reproductor, .tarjeta--tuya[data-aparecer].visto { clip-path: inset(0 0 0 0 round 22px); transition: clip-path 1.1s var(--ease) var(--d, 0s), transform .5s var(--ease), box-shadow .5s; }

/* ==========================================================================
   3. CONTACTO
   ========================================================================== */
.contacto { position: relative; padding: 90px var(--margen) 0; max-width: 1200px; margin: 0 auto; }
.titular--contacto .titular__grande { font-size: clamp(64px, 19.5vw, 200px); }
.brush--hablemos { color: var(--texto); width: min(52%, 420px); left: 42%; top: 92%; }
.contacto__texto { font-size: 18px; max-width: 460px; margin: clamp(70px, 9vw, 110px) 0 34px; color: #d6d6dc; }

.correo { margin-bottom: 22px; }
.correo__titulo { font-weight: 800; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--suave); margin-bottom: 10px; }
.correo__direccion {
  display: flex; align-items: center; gap: 12px; text-align: left; font-weight: 700; font-size: clamp(17px, 5.2vw, 38px); letter-spacing: -.015em;
  border-bottom: 2px solid var(--linea); padding-bottom: 10px; width: 100%; transition: border-color .3s, color .3s;
}
.correo__direccion svg { width: 24px; height: 24px; flex: none; color: var(--amarillo); }
.correo__direccion:hover { border-color: var(--amarillo); }

.boton {
  position: relative; display: flex; align-items: center; justify-content: space-between; width: 100%; overflow: hidden; isolation: isolate;
  background: var(--amarillo); color: #111; border-radius: 99px; padding: 8px 8px 8px 30px; margin-top: 26px;
  font-family: var(--titular); font-size: 34px; text-transform: uppercase; line-height: 1;
  transition: transform .5s var(--ease); box-shadow: 0 20px 60px #fbc14033;
}
.boton::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--texto); transform: translateY(101%); transition: transform .55s var(--ease); border-radius: inherit; }
.boton:hover::before { transform: none; }
.boton:hover { color: #111; }
.boton__flecha { width: 62px; height: 62px; border-radius: 50%; background: #111; color: var(--amarillo); display: grid; place-items: center; font-family: "Inter Tight"; font-size: 26px; transition: transform .5s var(--ease); }
.boton:hover .boton__flecha { transform: rotate(-45deg); }
.boton:active { transform: scale(.98); }

.pie { margin-top: 90px; padding: 26px 0 calc(30px + env(safe-area-inset-bottom)); border-top: 1px solid var(--linea); font-size: 13px; color: var(--suave); display: grid; gap: 10px; }
.pie b { color: var(--texto); }
.pie__firma a { color: var(--amarillo); }

/* Aviso flotante ("Correo copiado") */
.aviso-flotante {
  position: fixed; z-index: 95; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translate(-50%, 160%); visibility: hidden;
  background: var(--texto); color: #111; font-weight: 700; font-size: 15px; padding: 12px 20px; border-radius: 99px;
  transition: transform .5s var(--ease), visibility 0s .5s; box-shadow: 0 10px 40px #000a; white-space: nowrap;
}
.aviso-flotante.visible { transform: translate(-50%, 0); visibility: visible; transition: transform .5s var(--ease); }

/* ==========================================================================
   Pantallas grandes
   ========================================================================== */
@media (min-width: 760px) {
  .rejilla { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 20px; }
  .boton { width: auto; display: inline-flex; gap: 40px; }
  .videos__aviso { font-size: 16px; }
}
@media (min-width: 900px) {
  /* Tres columnas: texto | foto | aire. La foto encoge si hace falta para que el texto nunca la pise */
  .portada {
    display: grid; grid-template-columns: minmax(340px, 1fr) auto minmax(0, 1fr); align-items: end;
    min-height: 100vh; padding-bottom: 0;
  }
  .portada__escena {
    grid-column: 2; grid-row: 1; width: auto;
    height: min(100vh, calc((100vw - 360px) / .9375)); overflow: visible;
  }
  .portada__nombre { left: 50%; right: auto; width: 130%; transform: translateX(-50%); top: 9%; }
  .brush--creador { width: 70%; left: 15%; top: 76%; }
  .cinta { position: absolute; left: 0; right: 0; bottom: 0; }

  .portada__texto { grid-column: 1; grid-row: 1; align-self: end; max-width: 400px; padding: 0 28px 120px var(--margen); }
  .portada__bio { font-size: 18px; }
  .pastilla { font-size: 10.5px; letter-spacing: .1em; }
  .bajar { bottom: 92px; }
  .titular__grande { font-size: clamp(76px, 15vw, 230px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; scroll-behavior: auto !important; }
  .grano { display: none; }
  [data-aparecer], .linea > span { opacity: 1 !important; transform: none !important; }
}
