/* ════════════════════════════════════════════════════════════
   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;
}

/* TestTiemposHeadline has no accented glyphs (á é í ó ú ñ ü...); this
   supplementary source fills that Unicode range with a size-corrected
   system serif so accented letters don't render visibly smaller. */
@font-face {
  font-family: 'TestTiemposHeadline';
  src: local('Times New Roman'), local('Times'), local('Georgia');
  unicode-range: U+00C0-00FF, U+0100-017F;
  size-adjust: 118%;
  font-weight: 300;
  font-style: normal;
}

:root {
  --orange-primary: #ff6a00;
  --orange-bright: #ff8c1a;
  --orange-soft: #ffaa33;
  --orange-deep: #b34700;
  --orange-dark: #803300;
  --orange-glow: rgba(255, 106, 0, 0.5);
  --orange-glow-soft: rgba(255, 106, 0, 0.18);
}

* {
  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;
}

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


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

.btn-inner {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: linear-gradient(290deg,
      #ffaa33 0%,
      #ff6a00 30.29%,
      #ff8c1a 67.29%,
      #b34700 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(255, 225, 200, 0.9);
  border-right: 2px solid rgba(255, 225, 200, 0.9);
  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(255, 225, 200, 0.9);
  border-left: 2px solid rgba(255, 225, 200, 0.9);
  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%, #ffc266 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.35);
}


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

.navbar {
  background-color: #0d0705;
  position: fixed;
  top: 0;
  z-index: 1000;
  width: 100%;
  border-bottom: 1px solid rgba(255, 140, 26, 0.08);
  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 {
  display: flex;
  align-items: center;
  height: 100%;
  text-decoration: none;
}

.nav-logo-img {
  height: 34px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(255, 140, 26, 0.22));
  transition: transform 0.2s ease, filter 0.2s ease;
}

.nav-logo:hover .nav-logo-img {
  transform: scale(1.04);
  filter: drop-shadow(0 0 16px rgba(255, 140, 26, 0.32));
}

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

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

.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: var(--orange-primary);
  font-weight: 600;
}

.nav-active:hover {
  color: var(--orange-primary);
}

.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(55, 45, 40);
  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, 140, 26, 0.08);
}

.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: #0d0705;
  border-top: 1px solid rgba(255, 140, 26, 0.08);
}

.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, 140, 26, 0.06);
  text-decoration: none;
  transition: color 0.2s ease;
  letter-spacing: 0.3px;
}

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

.mobile-link.nav-active {
  color: var(--orange-primary);
  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;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background-color: #0c0705;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  overflow: hidden;
}

.hero-bg::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 200px;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.7) 55%,
      #000 100%);
  pointer-events: none;
  z-index: 10;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  background: #0c0705;
}

/* Grid */
.hero-grid-layer {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 140, 26, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 140, 26, 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; }
}

/* Ambient glow blob behind the chart's leading edge */
.hero-chart-glow-blob {
  position: absolute;
  top: 340px;
  right: -6%;
  width: 46%;
  height: 440px;
  background: radial-gradient(ellipse 60% 60% at 50% 50%,
      rgba(255, 140, 26, 0.28) 0%,
      rgba(255, 106, 0, 0.12) 45%,
      transparent 75%);
  filter: blur(50px);
  z-index: 2;
  pointer-events: none;
  animation: glowBlobPulse 6s ease-in-out infinite;
}

@keyframes glowBlobPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.08); }
}

/* Animated chart */
.hero-chart-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
  overflow: visible;
}

.hero-chart-grid line {
  stroke: rgba(255, 170, 51, 0.08);
  stroke-width: 1;
  stroke-dasharray: 2 10;
}

.hero-chart-fill {
  fill: url(#heroFillGrad);
  animation: fillPulse 7s ease-in-out infinite;
}

@keyframes fillPulse {
  0%, 100% { opacity: 0.75; }
  50%      { opacity: 1; }
}

.hero-chart-glow {
  fill: none;
  stroke: #ff8c1a;
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.45;
}

.hero-chart-line {
  fill: none;
  stroke: url(#heroLineGrad);
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(255, 140, 26, 0.5));
}

.hero-chart-peak {
  fill: #ff8c1a;
  opacity: 0.35;
  animation: peakPulse 2.4s ease-in-out infinite;
}

.hero-chart-peak:nth-child(2) { animation-delay: 0.4s; }
.hero-chart-peak:nth-child(3) { animation-delay: 0.9s; }

.hero-chart-peak-core {
  fill: #fff0d9;
}

@keyframes peakPulse {
  0%, 100% { opacity: 0.25; r: 10; }
  50%      { opacity: 0.55; r: 16; }
}

.hero-chart-halo {
  opacity: 0.85;
  animation: haloPulse 1.8s ease-in-out infinite;
}

@keyframes haloPulse {
  0%, 100% { opacity: 0.6; }
  50%      { opacity: 1; }
}

/* Scanning light */
.hero-scan {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 260px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 140, 26, 0.05) 35%,
    rgba(255, 194, 102, 0.12) 50%,
    rgba(255, 140, 26, 0.05) 65%,
    transparent 100%);
  filter: blur(14px);
  transform: translateX(-260px);
  animation: scanSweep 16s ease-in-out infinite;
  z-index: 4;
  pointer-events: none;
}

@keyframes scanSweep {
  0%   { transform: translateX(-260px); opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { transform: translateX(calc(100vw + 260px)); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-grid-layer,
  .hero-chart-fill,
  .hero-chart-peak,
  .hero-chart-halo,
  .hero-chart-glow-blob,
  .hero-scan {
    animation: none;
  }
}

.hero-overlay {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  background-color: #000;
  padding: 2rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-splash {
  position: relative;
  width: 100%;
}

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

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

.hero-logo-title-img {
  height: 84px;
  width: auto;
  filter: drop-shadow(0 0 22px rgba(255, 140, 26, 0.4));
}

.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.6);
}

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

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

.embed-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  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, 7, 5, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 30px rgba(255, 140, 26, 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(255, 106, 0, 0.85);
}

.form-wrapper {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .hero-logo-title-img {
    height: 80px;
  }
}

@media (max-width: 480px) {
  .hero-logo-title-img {
    height: 64px;
  }

  .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: 24px 2rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.7fr 1.8fr;
  gap: 3rem;
  align-items: stretch;
}

.about-image-col {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 140, 26, 0.08);
  min-height: 320px;
  background: linear-gradient(145deg, #1a120a 0%, #080604 100%);
}

.about-image-wrapper {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.about-image-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'TestTiemposHeadline', 'Times New Roman', serif;
  font-size-adjust: 0.53;
  font-size: 5rem;
  color: var(--orange-bright);
  opacity: 0.9;
  text-shadow: 0 0 30px rgba(255, 140, 26, 0.45);
  letter-spacing: 0.05em;
  z-index: 1;
  pointer-events: none;
}

.about-image-wrapper:not(.about-image-placeholder) .about-image-fallback {
  display: none;
}

.about-content-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-title {
  font-family: 'TestTiemposHeadline', 'Times New Roman', serif;
  font-size-adjust: 0.53;
  font-size: 2.6rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1.2rem;
  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: 1rem;
  line-height: 1.65;
  font-weight: 400;
  margin-bottom: 1.4rem;
  font-family: "Inter", -apple-system, sans-serif;
  letter-spacing: -0.01em;
  text-align: justify;
  hyphens: auto;
}

.about-signature-wrapper {
  margin-top: 0.5rem;
  width: 420px;
  max-width: 100%;
}

.about-signature {
  width: auto;
  height: 68px;
  max-width: 100%;
  object-fit: contain;
  mix-blend-mode: screen;
  opacity: 0.92;
  display: block;
}

@media (max-width: 900px) {
  .about-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-image-col {
    min-height: 340px;
    max-width: 500px;
    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-adjust: 0.53;
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1;
  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: #090604;
  border: 1px solid rgba(255, 140, 26, 0.07);
  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: var(--orange-primary);
  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(255, 106, 0, 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, 200, 150, 0.2) 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: #130b05;
  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 rgba(255, 106, 0, 0.18);
  overflow: hidden;
  transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
  width: 100%;
}

.program-card:hover {
  transform: translateY(-4px);
  background-color: #1a130a;
  border-color: rgba(255, 140, 26, 0.35);
}

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

.card-light-line {
  position: absolute;
  top: -1px;
  left: 2.5rem;
  width: 28px;
  height: 2px;
  background: var(--orange-bright);
  border-radius: 2px;
  box-shadow: 0 4px 12px rgba(255, 140, 26, 0.55);
  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(255, 140, 26, 0.18) 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: 56px;
  margin-bottom: 0.8rem;
}

.card-icon svg {
  width: auto;
  height: 52px;
  max-height: 56px;
  filter: drop-shadow(0 0 10px rgba(255, 140, 26, 0.45));
}

.card-title {
  font-family: 'TestTiemposHeadline', 'Times New Roman', serif;
  font-size-adjust: 0.53;
  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: #b8a89a;
  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;
  filter: hue-rotate(20deg) saturate(1.1);
  opacity: 0.75;
}

.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-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(255, 106, 0, 0.22) 0%,
      rgba(179, 71, 0, 0.12) 45%,
      transparent 75%);
  filter: blur(32px);
  border-radius: 40px;
  z-index: 0;
  pointer-events: none;
}

.lead-form {
  position: relative;
  z-index: 1;
  background: #000;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 140, 26, 0.12);
  border-top: 1px solid rgba(255, 140, 26, 0.22);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow:
    0 2px 0 rgba(255, 140, 26, 0.08) 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(255, 106, 0, 0.5);
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.12);
}

.form-input::placeholder {
  color: #96918a;
  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(55, 45, 40);
  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: var(--orange-bright);
  color: var(--orange-bright);
}

/* Success state */
.success-box {
  position: relative;
  z-index: 1;
  background: linear-gradient(160deg, rgba(32, 20, 10, 0.78) 0%, rgba(14, 8, 4, 0.88) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 140, 26, 0.3);
  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, 140, 26, 0.08) inset,
    0 24px 48px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(0, 0, 0, 0.3);
}

.success-text {
  color: #f5ece8;
  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(200, 40, 40, 0.08);
  border: 1px solid rgba(200, 40, 40, 0.22);
  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;
  }
}


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

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

.footer {
  width: 100%;
  background-color: #0d0705;
  padding: 20px;
  text-align: center;
  border-top: 1px solid rgba(255, 140, 26, 0.06);
}

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


/* ════════════════════════════════════════════════════════════
   GRACIAS PAGE
════════════════════════════════════════════════════════════ */

.nav-container-simple {
  justify-content: center;
}

.main-no-navbar {
  padding-top: 0;
}

.gracias-hero {
  position: relative;
  overflow: hidden;
  background-color: #0c0705;
  padding: 0.8rem 2rem 4rem;
}

.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.25rem;
}

.gracias-logo {
  height: 84px;
  width: auto;
  filter: drop-shadow(0 0 14px rgba(255, 140, 26, 0.35));
  transition: transform 0.2s ease, filter 0.2s ease;
}

.gracias-logo-link:hover .gracias-logo {
  transform: scale(1.04);
  filter: drop-shadow(0 0 16px rgba(255, 140, 26, 0.45));
}

.gracias-kicker {
  color: var(--orange-bright);
  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-adjust: 0.53;
  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-adjust: 0.53;
  font-size: 1.8rem;
  font-weight: 300;
  color: #fff;
  margin: 0.3rem 0 0.8rem;
}

.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(55, 45, 40);
  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);
}

.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-adjust: 0.53;
  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: #130b05;
  border: 1px solid rgba(255, 106, 0, 0.18);
  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: #1a130a;
  border-color: rgba(255, 140, 26, 0.35);
}

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

.testimonial-quote {
  font-family: 'Inter', -apple-system, sans-serif;
  color: #e8dfd6;
  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, #ffaa33 0%, #ff6a00 30.29%, #ff8c1a 67.29%, #b34700 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: #8c7e7a;
  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-title {
    font-size: 2.1rem;
  }

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

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

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