/* ════════════════════════════════════════════════════════════
   GLOBAL
════════════════════════════════════════════════════════════ */

@font-face {
  font-family: 'TestTiemposHeadline';
  src: url('assets/font/TestTiemposHeadline-Light-BF66457a50df5a0.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  width: 100%;
  min-height: 100vh;
  background-color: #000;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  overflow-x: hidden;
  max-width: 100%;
}

main {
  width: 100%;
  display: block;
  padding-top: 0;
}


/* ════════════════════════════════════════════════════════════
   SHARED BUTTON (purple gradient — used in Navbar + Forms)
════════════════════════════════════════════════════════════ */

.btn-inner {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: linear-gradient(290deg,
      #c084fc 0%,
      #8b3dff 30.29%,
      #a64dff 67.29%,
      #4c0d94 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
}

.btn-top-border {
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 45%;
  border-top: 2px solid rgba(230, 210, 255, 0.85);
  border-right: 2px solid rgba(230, 210, 255, 0.85);
  border-top-right-radius: 12px;
  z-index: 5;
  pointer-events: none;
  filter: blur(1.5px);
  -webkit-mask-image: radial-gradient(ellipse 130% 130% at 100% 0%, black 35%, transparent 70%);
  mask-image: radial-gradient(ellipse 130% 130% at 100% 0%, black 35%, transparent 70%);
  transition: width 0.45s ease, height 0.45s ease;
}

.btn-bottom-border {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40%;
  height: 45%;
  border-bottom: 2px solid rgba(230, 210, 255, 0.85);
  border-left: 2px solid rgba(230, 210, 255, 0.85);
  border-bottom-left-radius: 12px;
  z-index: 5;
  pointer-events: none;
  filter: blur(1.5px);
  -webkit-mask-image: radial-gradient(ellipse 130% 130% at 0% 100%, black 35%, transparent 70%);
  mask-image: radial-gradient(ellipse 130% 130% at 0% 100%, black 35%, transparent 70%);
  transition: width 0.45s ease, height 0.45s ease;
}

.btn-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 50% at 50% 50%, #c58bff 0%, transparent 100%);
  opacity: 0.6;
  z-index: 2;
  border-radius: 999px;
}

.btn-text {
  position: relative;
  color: #fff;
  font-family: "Inter", -apple-system, sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  z-index: 6;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}


/* ════════════════════════════════════════════════════════════
   NAVBAR
════════════════════════════════════════════════════════════ */

.navbar {
  background-color: #0c0c0c;
  position: fixed;
  top: 0;
  z-index: 1000;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  height: 60px;
}

.nav-container a {
  text-decoration: none;
}

.nav-logo {
  color: #fff;
  font-family: 'TestTiemposHeadline', 'Times New Roman', serif;
  font-size: 1.6rem;
  font-weight: 300;
  letter-spacing: -0.2px;
  display: flex;
  align-items: center;
  height: 100%;
}

/* Logo de imagen — mismas alturas que Lambo (navbar 28px, hero 62px) */
.nav-logo-img {
  height: 28px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.nav-logo:hover .nav-logo-img {
  transform: scale(1.04);
}

.hero-logo-title {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.hero-logo-title-img {
  height: 62px;
  width: auto;
  object-fit: contain;
}

.nav-com {
  font-size: 0.95rem;
  font-weight: normal;
  color: #a0a0a0;
  margin-left: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
  margin: 0px;
}

.nav-link {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
  letter-spacing: 0.3px;
  text-decoration: none;
}

.nav-link:hover {
  color: #fff;
}

.nav-active {
  color: #8b3dff;
  font-weight: 600;
}

.nav-active:hover {
  color: #8b3dff;
}

.nav-cta {
  display: flex;
  align-items: center;
}

.nav-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 38px;
  background-color: rgb(59, 59, 59);
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.nav-btn .btn-text {
  font-size: 0.9rem;
}

.nav-btn:hover {
  transform: scale(1.05);
}

.nav-btn:hover .btn-top-border,
.nav-btn:hover .btn-bottom-border {
  width: 120%;
  height: 120%;
}

.nav-btn:active {
  transform: scale(0.97);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.06);
}

.bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.hamburger-open .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger-open .bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger-open .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease, opacity 0.3s ease;
  opacity: 0;
  background-color: #0c0c0c;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-menu-open {
  max-height: 400px;
  opacity: 1;
}

.mobile-links {
  list-style: none;
  padding: 12px 1.5rem 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-link {
  display: block;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  text-decoration: none;
  transition: color 0.2s ease;
  letter-spacing: 0.3px;
}

.mobile-link:hover {
  color: #fff;
}

.mobile-link.nav-active {
  color: #8b3dff;
  font-weight: 600;
}

.mobile-cta {
  padding-top: 12px;
}

.mobile-nav-btn {
  width: 100%;
}

@media (max-width: 768px) {

  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }
}


/* ════════════════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════════════════ */

.hero-wrapper {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background-color: #0c0c0c;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  padding-bottom: 20px;
}

.hero-aurora {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(12, 12, 12, 0.32) 0%,
      rgba(12, 12, 12, 0.5) 55%,
      #000 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 1000px;
  padding: 80px 2rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  font-family: 'TestTiemposHeadline', 'Times New Roman', serif;
  font-size: 3.8rem;
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  background-image: linear-gradient(90deg,
      rgba(250, 250, 250, 0.5) 0%,
      rgb(250, 250, 250) 25%,
      rgb(250, 250, 250) 75%,
      rgba(250, 250, 250, 0.5) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-tagline {
  color: #fff;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  color: #a3a3a3;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
}

.embed-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 30px rgba(139, 61, 255, 0.12);
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.embed-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.form-wrapper {
  width: 100%;
  margin-top: 0;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-logo-title-img {
    height: 58px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-logo-title-img {
    height: 48px;
  }

  .hero-tagline {
    font-size: 1.2rem;
  }
}


/* ════════════════════════════════════════════════════════════
   ABOUT
════════════════════════════════════════════════════════════ */

.about-section {
  background-color: #000;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  scroll-margin-top: 80px;
}

.about-container {
  max-width: 1000px;
  min-height: 300px;
  padding: 40px 2rem 24px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.79fr 1.71fr;
  grid-template-areas:
    "img title"
    "img text";
  grid-template-rows: min-content 1fr;
  column-gap: 3rem;
  row-gap: 0;
  align-items: stretch;
  box-sizing: border-box;
}

.about-image-col {
  grid-area: img;
  align-self: start;
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.about-photo {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-sizing: border-box;
}

.about-photo .about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Foto de arriba (chico) — capa de atrás y la más grande, para que
   siga leyéndose por encima del solape. */
.about-photo--back {
  width: 92%;
  aspect-ratio: 3 / 4;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* Foto de abajo (chica) — encima y solapada hacia arriba con margin
   negativo: compacta el bloque y deja visible la parte superior de
   la foto del chico. */
.about-photo--front {
  width: 72%;
  aspect-ratio: 3 / 4;
  margin-top: -64%;
  margin-left: auto;
  margin-right: -10%;
  border: 4px solid #000;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.6), 0 0 28px rgba(139, 61, 255, 0.35);
  z-index: 2;
}

.about-content-col {
  grid-area: text;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
  overflow: hidden;
  box-sizing: border-box;
}

.about-title {
  grid-area: title;
  text-align: left;
  font-family: 'TestTiemposHeadline', 'Times New Roman', serif;
  font-size: 2.6rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1.2rem;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
  background-image: linear-gradient(90deg,
      rgba(250, 250, 250, 0.5) 0%,
      rgb(250, 250, 250) 25%,
      rgb(250, 250, 250) 75%,
      rgba(250, 250, 250, 0.5) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.about-paragraph {
  color: white;
  font-size: 1.05rem;
  line-height: 1.8;
  font-weight: 400;
  margin-bottom: 2.4rem;
  font-family: "Inter", -apple-system, sans-serif;
  letter-spacing: -0.01em;
  text-align: left;
  hyphens: none;
  overflow-wrap: break-word;
  word-break: break-word;
  max-width: 100%;
}

/* margin-top:auto empuja la firma al fondo de la columna, que ahora
   estira hasta la altura de la columna de fotos -> la firma termina
   a la misma altura que la foto delantera. */
.about-signature-wrapper {
  margin-top: auto;
  padding-top: 1.5rem;
  max-width: 100%;
}

/* sign.png trae ~16.7% de aire transparente arriba y abajo. El margen
   negativo (16.7% del alto) lo recorta, así la caja que ocupa en el
   layout es solo la tinta real de la firma. */
.about-signature {
  width: auto;
  height: 60px;
  margin: -10px 0;
  max-width: 100%;
  object-fit: contain;
  mix-blend-mode: screen;
  opacity: 0.92;
  display: block;
}

.about-paragraph:last-of-type {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .about-container {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "img"
      "text";
    row-gap: 1.5rem;
  }

  .about-image-col {
    max-width: 360px;
    margin: 0 auto;
    width: 100%;
  }

  .about-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .about-title {
    font-size: 1.7rem;
  }

  .about-paragraph {
    font-size: 0.9rem;
  }
}


/* ════════════════════════════════════════════════════════════
   PROGRAMS
════════════════════════════════════════════════════════════ */

.programs-section {
  background-color: #000;
  padding: 16px 1.5rem 0px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  scroll-margin-top: 80px;
}

.programs-header {
  text-align: center;
  max-width: 900px;
}

.programs-title {
  font-family: 'TestTiemposHeadline', 'Times New Roman', serif;
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  background-image: linear-gradient(90deg,
      rgba(250, 250, 250, 0.5) 0%,
      rgb(250, 250, 250) 25%,
      rgb(250, 250, 250) 75%,
      rgba(250, 250, 250, 0.5) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.programs-subtitle {
  font-size: 1.05rem;
  line-height: 1.6;
  font-family: "Inter", -apple-system, sans-serif;
  font-weight: 400;
  margin: 0 auto;
}

.programs-main {
  position: relative;
  max-width: 1250px;
  width: 100%;
  background-color: #050505;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 40px;
  padding: 2rem 2rem 0;
  overflow: hidden;
}

.programs-top-line {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 2px;
  background-color: #8b3dff;
  z-index: 5;
}

.programs-top-glow {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 180px;
  background: radial-gradient(ellipse at top, rgba(139, 61, 255, 0.3) 0%, transparent 50%);
  filter: blur(100px);
  z-index: 6;
  pointer-events: none;
}

.programs-dot-pattern {
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 250px;
  background-image: radial-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 20px 20px;
  mask-image: radial-gradient(ellipse at top, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at top, black 0%, transparent 75%);
  z-index: 3;
  pointer-events: none;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  width: 100%;
}

/* Program Card */
.program-card {
  position: relative;
  background-color: #0c0c0c;
  border-radius: 12px;
  padding: 1.4rem 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border: 1px solid #4b4b4b;
  overflow: hidden;
  transition: transform 0.3s ease, background-color 0.3s ease;
  width: 100%;
}

.program-card:hover {
  transform: translateY(-4px);
  background-color: #121212;
}

.program-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 90px;
  height: 90px;
  background: radial-gradient(circle at top right,
      rgba(255, 255, 255, 0.18) 0%,
      rgba(255, 255, 255, 0.05) 40%,
      transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.card-light-line {
  position: absolute;
  top: -1px;
  left: 2.5rem;
  width: 28px;
  height: 2px;
  background: #8b3dff;
  border-radius: 2px;
  box-shadow: 0 4px 12px rgba(139, 61, 255, 0.5);
  z-index: 10;
}

.card-glow-wrapper {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: 12px;
}

.card-glow {
  position: absolute;
  top: -100px;
  left: 2.5rem;
  margin-left: 22.5px;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle closest-side, rgba(139, 61, 255, 0.15) 0%, transparent 100%);
  border-radius: 50%;
  filter: blur(20px);
}

.card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  margin-bottom: 0.8rem;
}

.card-icon svg {
  width: 44px;
  height: auto;
  max-height: 44px;
  color: #8b3dff;
  filter: drop-shadow(0 0 8px rgba(139, 61, 255, 0.4));
}

.card-title {
  font-family: 'TestTiemposHeadline', 'Times New Roman', serif;
  font-size: 1.6rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  margin-bottom: 0.8rem;

  -webkit-background-clip: text;
  background-clip: text;
  color: white;
}

.card-description {
  font-family: "Inter", -apple-system, sans-serif;
  color: #8c8c8c;
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: 400;
  margin: 0 auto;
}

.card-corner-waves {
  position: absolute;
  top: -165px;
  right: -165px;
  width: 310px;
  height: 310px;
  object-fit: contain;
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
  filter: hue-rotate(210deg) saturate(1.4);
}

.particles-canvas {
  position: absolute;
  top: 0;
  right: 0;
  pointer-events: none;
  z-index: 2;
  border-top-right-radius: 12px;
  overflow: hidden;
}

@media (max-width: 1250px) {
  .programs-main {
    max-width: 95%;
    padding: 1.5rem 1.5rem;
  }
}

@media (max-width: 900px) {
  .programs-title {
    font-size: 2.8rem;
  }

  .program-card {
    padding: 2rem 1.6rem;
  }
}

@media (max-width: 540px) {
  .programs-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .programs-title {
    font-size: 2.2rem;
  }

  .programs-section {
    padding: 1rem 1rem;
  }

  .program-card {
    padding: 1.8rem 1.2rem;
  }
}


/* ════════════════════════════════════════════════════════════
   LEAD FORM
════════════════════════════════════════════════════════════ */

.form-section-inner {
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.form-container {
  width: 100%;
  max-width: 580px;
  margin: 0rem auto;
  position: relative;
  z-index: 10;
}

.form-container-wide {
  max-width: 100%;
}

.glass-wrapper {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.gradient-blob {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse 80% 60% at 50% 50%,
      rgba(139, 61, 255, 0.18) 0%,
      rgba(60, 0, 100, 0.10) 45%,
      transparent 75%);
  filter: blur(32px);
  border-radius: 40px;
  z-index: 0;
  pointer-events: none;
}

.lead-form {
  position: relative;
  z-index: 1;
  background: linear-gradient(160deg, rgba(30, 30, 30, 0.72) 0%, rgba(14, 14, 14, 0.85) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.06) inset,
    0 24px 48px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(0, 0, 0, 0.3);
}

.input-group {
  width: 100%;
}

.form-input {
  width: 100%;
  padding: 16px 18px;
  background: #FAFAFA;
  border: 1px solid #e4e4e4;
  border-radius: 12px;
  color: #2a2a2a;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.form-input:focus {
  background: #ffffff;
  border-color: rgba(139, 61, 255, 0.4);
  box-shadow: 0 0 0 3px rgba(139, 61, 255, 0.09);
}

.form-input::placeholder {
  color: #898D99;
  font-size: 0.9rem;
}

.form-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 240px;
  height: 44px;
  background-color: rgb(59, 59, 59);
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease;
  margin: 8px auto 0;
  padding: 0 2rem;
}

.form-btn .btn-text {
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.form-btn:hover {
  transform: scale(1.02);
}

.form-btn:hover .btn-top-border,
.form-btn:hover .btn-bottom-border {
  width: 120%;
  height: 120%;
}

.form-btn:active {
  transform: scale(0.97);
}

.form-btn:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.form-title {
  text-align: center;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.75rem;
  color: #fff;
}

.form-title span {
  -webkit-text-fill-color: #8b3dff;
  color: #8b3dff;
}

/* Success state */
.success-box {
  position: relative;
  z-index: 1;
  background: linear-gradient(160deg, rgba(30, 30, 30, 0.72) 0%, rgba(14, 14, 14, 0.85) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(139, 61, 255, 0.25);
  border-radius: 20px;
  padding: 40px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.06) inset,
    0 24px 48px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(0, 0, 0, 0.3);
}

.success-text {
  color: #e8e8e8;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
}

/* Error state */
.error-text {
  color: #ff6b6b;
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  text-align: center;
  padding: 8px 12px;
  background: rgba(255, 0, 0, 0.06);
  border: 1px solid rgba(255, 0, 0, 0.18);
  border-radius: 8px;
}

@media (max-width: 768px) {
  .form-title {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .lead-form {
    padding: 20px 16px;
  }

  .form-input {
    padding: 14px 16px;
  }

  .form-title {
    font-size: 1.2rem;
  }
}


/* ════════════════════════════════════════════════════════════
   MOBILE OVERFLOW & FIT FIXES
════════════════════════════════════════════════════════════ */

@media (max-width: 480px) {
  .nav-com {
    display: none;
  }

  .nav-logo {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .hero-content {
    padding: 80px 1.5rem 0;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding: 72px 1rem 0;
  }
}

@media (max-width: 600px) {
  .form-btn {
    width: 100%;
    min-width: unset;
    max-width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 600px) {
  .programs-main {
    padding: 1.5rem 1rem 0;
    border-radius: 20px;
  }

  .programs-section {
    padding: 16px 0.75rem 0;
  }
}

@media (max-width: 480px) {
  .programs-main {
    padding: 1.25rem 0.75rem 0;
    border-radius: 16px;
  }
}

@media (max-width: 480px) {
  .about-container {
    padding: 32px 1rem 24px;
  }

  /* Sin voladizo lateral: en pantallas estrechas el body recorta
     el sobresaliente y la foto se vería cortada por la derecha. */
  .about-photo--front {
    margin-right: 0;
  }
}

@media (max-width: 360px) {
  .lead-form {
    padding: 16px 12px;
  }

  .hero-content {
    padding: 24px 0.75rem 0;
  }

  .about-container {
    padding: 24px 0.75rem 20px;
  }
}


/* ════════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════════ */

#registro {
  scroll-margin-top: 80px;
  padding: 20px 20px;
}

.footer {
  width: 100%;
  background-color: #0f0f0f;
  padding: 20px;
  text-align: center;
}

.footer-text {
  font-size: 13px;
  color: #888;
  letter-spacing: 0.02em;
  margin-bottom: 0px;
}


/* ════════════════════════════════════════════════════════════
   CLASE GRATUITA (post opt-in)
════════════════════════════════════════════════════════════ */

/* La página ocupa como mínimo toda la pantalla para que el footer
   quede abajo del todo. Al revelarse el contenido del temporizador
   el alto crece por encima de 100vh y la página simplemente scrollea. */
.main-no-navbar {
  padding-top: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.gracias-hero {
  position: relative;
  overflow: hidden;
  background-color: #0c0c0c;
  padding: 2.5rem 2rem 4rem;
  /* crece para llenar el espacio sobrante, nunca se encoge */
  flex: 1 0 auto;
}

/* Fondo propio de esta página: plano + rejilla muy sutil.
   NO lleva la aurora de la home, igual que en la landing de Trader. */
.hero-grid-layer {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(139, 61, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 61, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 25%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 25%, transparent 85%);
  animation: gridDrift 30s linear infinite;
  z-index: 1;
}

@keyframes gridDrift {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 48px 48px, 48px 48px; }
}

.gracias-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.gracias-logo-link {
  display: inline-flex;
  margin-bottom: 0.6rem;
  text-decoration: none;
}

/* misma altura que el logo del hero de Lambo */
.gracias-logo {
  height: 62px;
  width: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.gracias-logo-link:hover .gracias-logo {
  transform: scale(1.04);
}

.gracias-kicker {
  color: #8b3dff;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0.2rem;
}

.gracias-title {
  font-family: 'TestTiemposHeadline', 'Times New Roman', serif;
  font-size: 2.8rem;
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 960px;
  margin: 0 auto 0.5rem;
  background-image: linear-gradient(90deg,
      rgba(250, 250, 250, 0.5) 0%,
      rgb(250, 250, 250) 25%,
      rgb(250, 250, 250) 75%,
      rgba(250, 250, 250, 0.5) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.gracias-subtitle-title {
  font-family: 'TestTiemposHeadline', 'Times New Roman', serif;
  font-size: 1.8rem;
  font-weight: 300;
  color: #fff;
  margin: 0.3rem 0 0.8rem;
}

/* display:none (no solo opacity) para que no quede un hueco vacío
   mientras corre el temporizador de 120s */
.gracias-reveal {
  display: none;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.gracias-reveal.is-shown {
  display: block;
}

.gracias-reveal.is-visible {
  opacity: 1;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 0.5rem;
}

.gracias-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  height: 52px;
  background-color: rgb(45, 45, 45);
  border-radius: 12px;
  text-decoration: none;
  padding: 0 1.5rem;
  transition: transform 0.2s ease, opacity 0.3s ease;
}

.gracias-btn .btn-text {
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.gracias-btn:hover {
  transform: scale(1.03);
}

.gracias-btn:hover .btn-top-border,
.gracias-btn:hover .btn-bottom-border {
  width: 120%;
  height: 120%;
}

.gracias-btn:active {
  transform: scale(0.97);
}


/* ── Póster propio del video ─────────────────────────────── */

.embed-wrapper {
  position: relative;
}

.embed-iframe {
  background-color: #000;
}

.embed-poster {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  background-color: #000;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 1;
  transition: opacity 0.4s ease;
}

.embed-poster.embed-poster-hidden {
  opacity: 0;
  pointer-events: none;
}

.embed-play-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(12, 12, 12, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 30px rgba(139, 61, 255, 0.35);
  transition: transform 0.2s ease, background 0.2s ease;
}

.embed-play-btn svg {
  margin-left: 4px;
}

.embed-poster:hover .embed-play-btn {
  transform: scale(1.08);
  background: rgba(139, 61, 255, 0.85);
}


/* ── Testimonios ─────────────────────────────────────────── */

.testimonials-section {
  background-color: #000;
  padding: 4rem 2rem;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.testimonials-title {
  font-family: 'TestTiemposHeadline', 'Times New Roman', serif;
  font-size: 2.4rem;
  font-weight: 300;
  background-image: linear-gradient(90deg,
      rgba(250, 250, 250, 0.5) 0%,
      rgb(250, 250, 250) 25%,
      rgb(250, 250, 250) 75%,
      rgba(250, 250, 250, 0.5) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.testimonials-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  position: relative;
  background-color: #0c0c0c;
  border: 1px solid #4b4b4b;
  border-radius: 12px;
  padding: 1.8rem 1.6rem;
  overflow: hidden;
  transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  background-color: #121212;
  border-color: rgba(139, 61, 255, 0.45);
}

.testimonial-content {
  position: relative;
  z-index: 2;
}

.testimonial-quote {
  font-family: 'Inter', -apple-system, sans-serif;
  color: #ddd;
  font-size: 0.95rem;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 1.4rem;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.testimonial-avatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(290deg, #b07dff 0%, #8b3dff 30.29%, #a05cff 67.29%, #5c1fb3 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  font-family: 'Inter', -apple-system, sans-serif;
}

.testimonial-meta {
  display: flex;
  flex-direction: column;
}

.testimonial-name {
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  font-family: 'Inter', -apple-system, sans-serif;
}

.testimonial-role {
  color: #8a8a8a;
  font-size: 0.8rem;
  font-family: 'Inter', -apple-system, sans-serif;
}

@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .gracias-logo {
    height: 50px;
  }

  .gracias-title {
    font-size: 2.1rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .gracias-btn {
    width: 100%;
  }
}
