/* ─────────────────────────────────────────────────────────────
   modelar-3d.css — SOLO lo propio de /modelar-3d y su entrega.
   Tokens, botones, .nav, .lead, .faq, .footer, .money-card y las
   piezas de skills.css (.sk-pasos, .sk-acc, .sk-wa, .sk-ok…) vienen
   de style.css + skills.css: misma familia visual que la portada.
   ───────────────────────────────────────────────────────────── */

/* ── Hero con el video de fondo (el formato de la guía) ──
   En escritorio el video llena el hero entero y el texto y la tarjeta
   del formulario flotan encima, sobre un velo. En móvil el video es su
   propio bloque 16:9 y todo lo demás fluye DEBAJO: un video de fondo
   detrás de un formulario en 375px no se lee ni se toca bien. */
.v3d-hero { position: relative; overflow: hidden; background: var(--bg); }
.v3d-hero__media { position: absolute; inset: 0; }
.v3d-hero__media video, .v3d-hero__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.v3d-hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(11,11,16,.94) 0%, rgba(11,11,16,.78) 36%, rgba(11,11,16,.22) 66%, rgba(11,11,16,.5) 100%),
    linear-gradient(180deg, rgba(11,11,16,.65) 0%, rgba(11,11,16,0) 32%, rgba(11,11,16,.92) 100%);
}
.v3d-hero__in {
  position: relative; z-index: 1;
  max-width: 1240px; margin: 0 auto;
  padding: clamp(6.5rem, 13vw, 9rem) 1.25rem clamp(2.5rem, 5vw, 4rem);
  display: grid; gap: 2rem; align-items: end;
  /* minmax(0, …) en todas las pistas: con 1fr a secas la pista crece hasta el
     min-content de un hijo (medido: 413px en 375) y el hero se sale de la pantalla. */
  grid-template-columns: minmax(0, 1fr);
}
.v3d-hero__txt, .v3d-card { min-width: 0; }
@media (min-width: 960px) {
  .v3d-hero { min-height: 100svh; display: flex; align-items: flex-end; }
  .v3d-hero__in { width: 100%; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 3rem; }
}
.v3d-hero__txt h1 {
  font-size: clamp(2.5rem, 7.6vw, 4.5rem); line-height: 1; letter-spacing: -.025em;
  max-width: 640px; text-wrap: balance;
}
.v3d-hero__txt h1 em { font-style: normal; color: var(--green); text-shadow: 0 0 34px rgba(61,220,132,.38); }
.v3d-hero__txt h1 s {
  text-decoration: line-through; text-decoration-color: var(--acc); text-decoration-thickness: .08em;
  color: var(--faint);
}
.v3d-hero__sub {
  margin-top: 1.2rem; max-width: 560px;
  color: var(--muted); font-size: clamp(1.02rem, 2.3vw, 1.18rem); line-height: 1.6;
}
.v3d-hero__sub strong { color: var(--ink); }
.v3d-hero__perks {
  display: flex; flex-wrap: wrap; gap: .4rem .9rem; margin-top: 1.2rem;
  color: var(--faint); font-size: .86rem;
}
.v3d-hero__perks b { color: var(--green); }


/* La tarjeta del formulario encima del video */
.v3d-card {
  background: rgba(19,19,27,.82);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid rgba(61,220,132,.28); border-radius: calc(var(--r) + 6px);
  padding: clamp(1.5rem, 3.6vw, 2.2rem) clamp(1.2rem, 3vw, 1.8rem);
  box-shadow: 0 30px 70px rgba(0,0,0,.45);
}
.v3d-card h2 { font-size: clamp(1.45rem, 3.4vw, 1.8rem); line-height: 1.1; }
.v3d-card .section-sub { margin-top: .6rem; font-size: .96rem; }
.v3d-card .lead__form { margin-top: 1.1rem; max-width: none; }
.v3d-card .lead__form input { flex-basis: 100%; }
.v3d-card .lead__note { margin-top: .8rem; text-align: center; }
.v3d-card__clase {
  display: block; margin-top: .9rem; text-align: center; color: var(--muted); font-size: .86rem;
  min-height: 44px; line-height: 44px;
}
.v3d-card__clase b { color: var(--acc); }
.v3d-card__clase:hover b { text-decoration: underline; }

@media (max-width: 959px) {
  .v3d-hero__media { position: relative; aspect-ratio: 16 / 9; }
  .v3d-hero__media::after { background: linear-gradient(180deg, rgba(11,11,16,.15) 0%, rgba(11,11,16,0) 45%, var(--bg) 100%); }
  .v3d-hero__in { padding-top: 0; margin-top: -2rem; }
  .v3d-hero__txt { text-align: center; }
  .v3d-hero__txt h1, .v3d-hero__sub { margin-inline: auto; }
  .v3d-hero__perks { justify-content: center; }
}
@media (max-width: 959px) and (min-width: 600px) { .v3d-hero__media { aspect-ratio: 21 / 9; } }

/* ── Galería del ejemplo (Aliaga 442): pocas fotos, grandes, solo subtítulo ──
   Dos columnas en escritorio con filas altas; la fachada ocupa dos filas y el
   visor va a todo el ancho. En móvil, una columna y cada foto a buen tamaño. */
.v3d-gal { padding: clamp(3rem, 6vw, 4.5rem) 0 0; }
.v3d-gal__grid {
  max-width: 1240px; margin: 0 auto; padding: 0 1.25rem;
  display: grid; gap: 1rem; grid-template-columns: 1fr;
}
.v3d-gal__it {
  position: relative; margin: 0; overflow: hidden; height: clamp(260px, 62vw, 340px);
  border: 1px solid var(--line); border-radius: var(--r); background: var(--card2);
  transition: border-color .3s, transform .35s var(--ease);
}
.v3d-gal__it--alta { height: clamp(420px, 110vw, 560px); }
@media (min-width: 760px) {
  .v3d-gal__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 380px; gap: 1.1rem; }
  .v3d-gal__it, .v3d-gal__it--alta { height: auto; }
  .v3d-gal__it--alta { grid-row: span 2; }
  .v3d-gal__it--ancha { grid-column: span 2; }
}
@media (min-width: 1100px) { .v3d-gal__grid { grid-auto-rows: 440px; } }
.v3d-gal__it:hover { border-color: rgba(61,220,132,.4); }
@media (min-width: 960px) { .v3d-gal__it:hover { transform: translateY(-3px); } }
.v3d-gal__it img { width: 100%; height: 100%; object-fit: cover; display: block; }
.v3d-gal__it figcaption {
  position: absolute; inset: auto 0 0 0; padding: 3.2rem 1.3rem 1.15rem;
  background: linear-gradient(to top, rgba(11,11,16,.94) 22%, rgba(11,11,16,.55) 60%, transparent);
  font-family: var(--display); font-weight: 800; letter-spacing: -.01em;
  font-size: clamp(1.1rem, 2.2vw, 1.45rem); line-height: 1.15; color: var(--ink);
}
.v3d-gal__pie {
  max-width: 760px; margin: 1.4rem auto 0; padding: 0 1.25rem; text-align: center;
  color: var(--faint); font-size: .82rem; line-height: 1.55;
}
.v3d-gal__pie a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }

/* ── Cómo se factura: tarjetas de cliente + anclas de precio ── */
.v3d-plata { padding: clamp(3.5rem, 7vw, 5.5rem) 0 0; border-top: 1px solid var(--line); margin-top: clamp(3rem, 6vw, 4.5rem); }
.v3d-plata__grid {
  max-width: 1240px; margin: 0 auto; padding: 0 1.25rem;
  display: grid; gap: 1rem; grid-template-columns: 1fr;
}
@media (min-width: 720px) { .v3d-plata__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .v3d-plata__grid { grid-template-columns: repeat(4, 1fr); } }
.v3d-cli {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.6rem 1.4rem; display: flex; flex-direction: column; gap: .5rem;
  position: relative; overflow: hidden;
}
.v3d-cli::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--green), rgba(61,220,132,.15));
}
.v3d-cli__quien { font-family: var(--body); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.v3d-cli h3 { font-size: 1.3rem; line-height: 1.12; }
.v3d-cli p { color: var(--muted); font-size: .93rem; line-height: 1.58; }
.v3d-cli p strong { color: var(--ink); }
.v3d-cli__precio {
  margin-top: auto; padding-top: .9rem; border-top: 1px solid var(--line);
  display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap;
}
.v3d-cli__precio b { font-family: var(--display); font-weight: 900; font-size: 1.5rem; color: var(--ink); letter-spacing: -.02em; }
.v3d-cli__precio span { color: var(--faint); font-size: .78rem; }
.v3d-plata__punch {
  max-width: 820px; margin: clamp(2.2rem, 5vw, 3.2rem) auto 0; padding: 0 1.25rem; text-align: center;
  font-family: var(--display); font-weight: 800; font-size: clamp(1.3rem, 4.2vw, 1.9rem); line-height: 1.18; letter-spacing: -.01em;
}
.v3d-plata__punch em { font-style: normal; color: var(--green); }
.v3d-plata__legal { max-width: 760px; margin: 1.2rem auto 0; padding: 0 1.25rem; text-align: center; color: var(--faint); font-size: .78rem; line-height: 1.55; }

/* ── "Sin saber nada": lo que NO hace falta y lo que sí ── */
.v3d-sin { padding: clamp(3.5rem, 7vw, 5.5rem) 1.25rem 0; max-width: 1000px; margin: 0 auto; }
.v3d-sin__grid { display: grid; gap: 1rem; }
@media (min-width: 760px) { .v3d-sin__grid { grid-template-columns: 1.2fr 1fr; } }
.v3d-sin__col { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1.6rem 1.5rem; }
.v3d-sin__col h3 { font-size: 1.2rem; margin-bottom: 1rem; }
.v3d-sin__col li { position: relative; padding: .5rem 0 .5rem 1.9rem; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.v3d-sin__col li strong { color: var(--ink); }
.v3d-sin__col--no li::before { content: "✕"; position: absolute; left: 0; color: var(--faint); font-weight: 700; }
.v3d-sin__col--si { background: linear-gradient(170deg, rgba(61,220,132,.09), transparent 55%), var(--card); border-color: rgba(61,220,132,.3); }
.v3d-sin__col--si li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* ── La clase completa (bloque de venta a la escuela) ── */
.v3d-clase { padding: clamp(3.5rem, 7vw, 5.5rem) 1.25rem 0; }
.v3d-clase__box {
  max-width: 900px; margin: 0 auto; position: relative; overflow: hidden;
  background: linear-gradient(160deg, rgba(255,61,174,.12), rgba(139,92,246,.1) 60%, transparent), var(--card2);
  border: 1px solid rgba(255,61,174,.35); border-radius: calc(var(--r) + 6px);
  padding: clamp(2rem, 5vw, 3rem) clamp(1.4rem, 4vw, 2.6rem);
  display: grid; gap: 1.4rem; align-items: center;
}
@media (min-width: 820px) { .v3d-clase__box { grid-template-columns: 1.3fr 1fr; } }
.v3d-clase__box h2 { font-size: clamp(1.7rem, 4.4vw, 2.5rem); line-height: 1.05; }
.v3d-clase__box p { color: var(--muted); margin-top: .8rem; font-size: 1rem; line-height: 1.6; }
.v3d-clase__box p strong { color: var(--ink); }
.v3d-clase__lista { margin-top: 1rem; display: grid; gap: .4rem; }
.v3d-clase__lista li { position: relative; padding-left: 1.6rem; color: var(--muted); font-size: .92rem; }
.v3d-clase__lista li::before { content: "→"; position: absolute; left: 0; color: var(--acc); }
.v3d-clase__cta { text-align: center; }
.v3d-clase__cta .btn { width: 100%; }
.v3d-clase__cta small { display: block; margin-top: .7rem; color: var(--faint); font-size: .8rem; }

/* ── Entrega: el mensaje que se pega en ChatGPT ── */
.v3d-prompt {
  max-width: 820px; margin: 0 auto; padding: 0 1.25rem;
}
.v3d-prompt__box {
  position: relative; background: #0a0a0e; border: 1px solid rgba(61,220,132,.4); border-radius: var(--r);
  padding: 1.4rem 1.3rem 1.2rem;
}
.v3d-prompt__box p {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .95rem; line-height: 1.65;
  color: var(--ink); user-select: all; -webkit-user-select: all;
}
.v3d-prompt__copiar {
  margin-top: .9rem; min-height: 44px; padding: .6rem 1.2rem; border-radius: 999px; cursor: pointer;
  background: var(--green); color: var(--acc-ink); border: 0;
  font-family: var(--display); font-weight: 700; font-size: .95rem;
}
.v3d-prompt__copiar[data-ok] { background: var(--ink); }
.v3d-prompt__modelo {
  display: inline-block; margin: .2rem 0 .8rem; padding: .3rem .7rem; border-radius: 8px;
  background: rgba(61,220,132,.12); border: 1px solid rgba(61,220,132,.35); color: var(--green);
  font-weight: 700; font-size: .9rem;
}
.v3d-req { max-width: 820px; margin: 1.6rem auto 0; padding: 0 1.25rem; color: var(--muted); font-size: .92rem; line-height: 1.6; }
.v3d-req strong { color: var(--ink); }
