.bootcamp-page{
  background:
    radial-gradient(circle at 8% 18%,rgba(110,97,255,.12),transparent 26%),
    radial-gradient(circle at 90% 32%,rgba(255,124,102,.1),transparent 24%),
    radial-gradient(circle at 18% 72%,rgba(67,205,188,.12),transparent 28%),
    linear-gradient(180deg,#f8f5ff 0%,#f7f4ff 42%,#fff8fb 100%);
  background-attachment:fixed;
}

.bootcamp-page main{
  position:relative;
  overflow:hidden;
}

.bootcamp-page main::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background-image:
    linear-gradient(90deg,rgba(110,97,255,.045) 1px,transparent 1px),
    linear-gradient(rgba(110,97,255,.04) 1px,transparent 1px);
  background-size:72px 72px;
  mask-image:linear-gradient(180deg,transparent 0,black 16%,black 92%,transparent 100%);
}

.bootcamp-page .navbar{
  margin-bottom:0;
}

.bootcamp-hero{
  position:relative;
  min-height:clamp(620px,78vh,820px);
  display:flex;
  align-items:flex-end;
  margin-top:18px;
  overflow:hidden;
  isolation:isolate;
}

.bootcamp-hero img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:-2;
}

.bootcamp-hero__overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(18,12,44,.76),rgba(18,12,44,.34) 56%,rgba(18,12,44,.12)),
    linear-gradient(180deg,rgba(18,12,44,.06),rgba(18,12,44,.72));
  z-index:-1;
}

.bootcamp-hero__content{
  width:var(--content-width);
  margin:0 auto;
  padding:0 0 clamp(42px,8vh,88px);
  color:#fff;
}

.bootcamp-hero__eyebrow{
  display:inline-flex;
  margin-bottom:16px;
  padding:10px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.16);
  color:rgba(255,255,255,.88);
  font-size:.8rem;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
  backdrop-filter:blur(14px);
}

.bootcamp-hero h1{
  max-width:11ch;
  margin:0;
  font-size:clamp(4rem,10vw,8.5rem);
  line-height:.82;
  letter-spacing:0;
}

.bootcamp-hero p{
  max-width:680px;
  margin:24px 0 0;
  color:rgba(255,255,255,.86);
  font-size:clamp(1rem,1.7vw,1.25rem);
  line-height:1.7;
}

.bootcamp-hero__actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:30px;
}

.bootcamp-hero .btn-secondary{
  background:rgba(255,255,255,.16);
  border-color:rgba(255,255,255,.28);
  color:#fff;
  backdrop-filter:blur(16px);
}

.bootcamp-band,
.bootcamp-story,
.bootcamp-gallery-section,
.bootcamp-fit{
  width:var(--content-width);
  margin:0 auto;
}

.bootcamp-intro{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(320px,.85fr);
  gap:28px;
  align-items:end;
  padding:72px 0 34px;
}

.bootcamp-metrics{
  display:grid;
  gap:14px;
}

.bootcamp-metrics article,
.story-steps article,
.fit-grid article{
  padding:22px;
  border-radius:22px;
  background:rgba(255,255,255,.82);
  border:1px solid rgba(109,97,255,.1);
  box-shadow:var(--shadow-sm);
}

.bootcamp-metrics strong{
  display:block;
  color:var(--primary-deep);
  font-size:1.45rem;
}

.bootcamp-metrics span{
  display:block;
  margin-top:6px;
  color:var(--muted);
  font-weight:700;
}

.bootcamp-story{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:30px;
  align-items:center;
  padding:44px 28px 72px;
  border-radius:36px;
  overflow:hidden;
  background:rgba(255,255,255,.5);
  border:1px solid rgba(109,97,255,.08);
}

.bootcamp-story::before,
.bootcamp-story::after{
  content:"";
  position:absolute;
  pointer-events:none;
}

.bootcamp-story::before{
  inset:0;
  background-image:
    radial-gradient(circle at 18% 24%,rgba(110,97,255,.12),transparent 22%),
    radial-gradient(circle at 86% 18%,rgba(255,124,102,.12),transparent 24%),
    linear-gradient(90deg,rgba(110,97,255,.08) 1px,transparent 1px),
    linear-gradient(rgba(110,97,255,.08) 1px,transparent 1px);
  background-size:auto,auto,54px 54px,54px 54px;
  mask-image:linear-gradient(180deg,transparent,black 16%,black 84%,transparent);
}

.bootcamp-story::after{
  width:180px;
  height:180px;
  right:34px;
  bottom:28px;
  border-radius:44px;
  background:linear-gradient(135deg,rgba(110,97,255,.14),rgba(67,205,188,.16));
  transform:rotate(18deg);
  animation:storyShapeFloat 9s ease-in-out infinite alternate;
}

@keyframes storyShapeFloat{
  from{transform:translateY(0) rotate(18deg);}
  to{transform:translateY(-18px) rotate(24deg);}
}

.story-photo,
.story-copy{
  position:relative;
  z-index:1;
}

.story-photo img{
  width:100%;
  aspect-ratio:4 / 5;
  object-fit:cover;
  border-radius:34px;
  box-shadow:var(--shadow-lg);
}

.story-steps{
  display:grid;
  gap:14px;
  margin-top:24px;
}

.story-steps article{
  display:grid;
  grid-template-columns:54px 1fr;
  gap:6px 14px;
  align-items:start;
}

.story-steps span{
  width:54px;
  height:54px;
  display:grid;
  place-items:center;
  grid-row:1 / 3;
  border-radius:18px;
  background:linear-gradient(135deg,var(--primary),#8f7dff);
  color:#fff;
  font-weight:900;
}

.story-steps h3,
.fit-grid h3{
  margin:0;
  font-size:1.18rem;
}

.story-steps p,
.fit-grid p{
  margin:6px 0 0;
  color:var(--muted);
  line-height:1.65;
}

.bootcamp-gallery-section{
  padding:68px 0 42px;
}

.bootcamp-gallery{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);
  gap:18px;
  margin-top:28px;
}

.gallery-feature,
.gallery-moments article{
  position:relative;
  overflow:hidden;
  border-radius:28px;
  background:#211b36;
  box-shadow:var(--shadow-md);
}

.gallery-feature{
  min-height:620px;
}

.gallery-feature img,
.gallery-moments img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .45s ease;
}

.gallery-feature:hover img,
.gallery-moments article:hover img{
  transform:scale(1.04);
}

.gallery-feature::after,
.gallery-moments article::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,transparent 35%,rgba(18,12,44,.78));
}

.gallery-feature div{
  position:absolute;
  left:24px;
  right:24px;
  bottom:24px;
  z-index:1;
  color:#fff;
}

.gallery-feature span{
  display:inline-flex;
  margin-bottom:10px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.16);
  color:rgba(255,255,255,.82);
  font-size:.78rem;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
  backdrop-filter:blur(12px);
}

.gallery-feature h3{
  max-width:620px;
  margin:0;
  color:#fff;
  font-size:clamp(1.7rem,3vw,2.8rem);
  line-height:1;
}

.gallery-moments{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}

.gallery-moments article{
  min-height:300px;
}

.gallery-moments strong{
  position:absolute;
  left:16px;
  right:16px;
  bottom:16px;
  z-index:1;
  display:inline-flex;
  color:#fff;
  font-size:1.02rem;
  line-height:1.2;
}

.bootcamp-fit{
  position:relative;
  display:grid;
  grid-template-columns:minmax(260px,.72fr) minmax(0,1.28fr);
  gap:24px;
  align-items:start;
  padding:72px 0 44px;
  z-index:1;
}

.bootcamp-curriculum{
  width:var(--content-width);
  margin:0 auto;
  padding:54px 0 32px;
}

.curriculum-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin-top:24px;
}

.curriculum-grid article{
  min-height:230px;
  padding:22px;
  border-radius:24px;
  background:linear-gradient(180deg,rgba(255,255,255,.88),rgba(246,242,255,.9));
  border:1px solid rgba(109,97,255,.1);
  box-shadow:var(--shadow-sm);
}

.curriculum-grid span{
  display:inline-grid;
  place-items:center;
  width:46px;
  height:46px;
  margin-bottom:18px;
  border-radius:16px;
  background:linear-gradient(135deg,var(--primary),#8f7dff);
  color:#fff;
  font-weight:900;
}

.curriculum-grid h3{
  margin:0;
  font-size:1.14rem;
}

.curriculum-grid p{
  margin:10px 0 0;
  color:var(--muted);
  line-height:1.65;
}

.fit-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}

.bootcamp-enrollment{
  position:relative;
  margin-top:0;
  padding-top:68px;
  padding-bottom:78px;
  background:transparent;
  z-index:1;
}

.bootcamp-fit::before,
.bootcamp-enrollment::before{
  content:"";
  position:absolute;
  left:50%;
  width:100vw;
  transform:translateX(-50%);
  pointer-events:none;
  z-index:-1;
}

.bootcamp-fit::before{
  top:0;
  bottom:-1px;
  background:linear-gradient(180deg,rgba(255,255,255,0),rgba(255,255,255,.22));
}

.bootcamp-enrollment::before{
  top:-1px;
  bottom:0;
  background:
    radial-gradient(circle at 17% 24%,rgba(67,205,188,.12),transparent 30%),
    radial-gradient(circle at 82% 8%,rgba(123,97,255,.1),transparent 28%),
    linear-gradient(180deg,rgba(255,255,255,.22),rgba(255,255,255,.32));
}

.bootcamp-enrollment .inscripcion__layout,
.bootcamp-enrollment .inscripcion__summary{
  width:var(--content-width);
}

.bootcamp-teaser{
  padding:92px 0 56px;
  background:
    linear-gradient(180deg,rgba(255,255,255,0),rgba(255,255,255,.34) 40%,rgba(255,255,255,0));
}

.bootcamp-teaser__inner{
  width:min(1120px,calc(100vw - 48px));
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(360px,.86fr);
  gap:34px;
  align-items:center;
  padding:34px;
  border-radius:32px;
  background:
    radial-gradient(circle at 8% 0%,rgba(140,229,209,.22),transparent 28%),
    radial-gradient(circle at 100% 18%,rgba(123,97,255,.16),transparent 32%),
    linear-gradient(135deg,#ffffff 0%,#f7f4ff 100%) !important;
  color:#211d36;
  border:1px solid rgba(123,97,255,.12);
  box-shadow:0 22px 48px rgba(78,56,151,.12);
  overflow:hidden;
}

.bootcamp-teaser__copy{
  min-width:0;
}

.bootcamp-teaser__copy .section-title{
  color:#211d36;
  max-width:10ch;
  font-size:clamp(2.3rem,4.8vw,4.2rem);
  line-height:.98;
}

.bootcamp-teaser__copy .section-copy{
  max-width:54ch;
  color:#625c7d;
  font-size:1.05rem;
}

.bootcamp-teaser__actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:26px;
}

.bootcamp-teaser__media{
  position:relative;
  min-width:0;
  padding:12px;
  border-radius:30px;
  background:rgba(255,255,255,.78);
  border:1px solid rgba(123,97,255,.1);
  box-shadow:0 18px 38px rgba(35,29,63,.1);
}

.bootcamp-teaser__media img{
  width:100%;
  aspect-ratio:4 / 3;
  object-fit:cover;
  border-radius:22px;
  box-shadow:none;
}

.bootcamp-teaser__note{
  position:relative;
  left:auto;
  right:auto;
  bottom:auto;
  display:grid;
  grid-template-columns:1fr;
  align-items:center;
  gap:6px;
  margin-top:12px;
  padding:16px 18px;
  border-radius:18px;
  background:linear-gradient(135deg,rgba(35,29,63,.08),rgba(123,97,255,.1));
  color:#211d36;
  box-shadow:none;
}

.bootcamp-teaser__note strong,
.bootcamp-teaser__note span{
  display:block;
}

.bootcamp-teaser__note span{
  color:#625c7d;
  line-height:1.45;
}

@media (max-width:980px){
  .bootcamp-intro,
  .bootcamp-story,
  .bootcamp-fit,
  .bootcamp-teaser__inner{
    grid-template-columns:1fr;
  }

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

  .curriculum-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .bootcamp-gallery{
    grid-template-columns:1fr;
  }

  .gallery-feature{
    min-height:520px;
  }

  .bootcamp-hero{
    min-height:680px;
  }

  .bootcamp-hero h1{
    max-width:10ch;
    font-size:clamp(3.6rem,12vw,6.5rem);
  }
}

@media (max-width:760px){
  .bootcamp-hero{
    min-height:auto;
    align-items:flex-end;
    padding-top:210px;
  }

  .bootcamp-hero h1{
    max-width:10ch;
    font-size:clamp(3rem,15vw,4.8rem);
    line-height:.88;
  }

  .bootcamp-hero p{
    margin-top:18px;
  }

  .bootcamp-hero__content{
    padding-bottom:38px;
  }

  .bootcamp-hero__actions,
  .bootcamp-teaser__actions{
    display:grid;
  }

  .bootcamp-hero__actions a,
  .bootcamp-teaser__actions a{
    width:100%;
  }

  .bootcamp-gallery{
    grid-template-columns:1fr;
  }

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

  .gallery-feature{
    min-height:420px;
  }

  .gallery-moments{
    display:flex;
    gap:12px;
    overflow-x:auto;
    scroll-snap-type:x proximity;
    padding-bottom:8px;
  }

  .gallery-moments article{
    min-width:78vw;
    min-height:290px;
    scroll-snap-align:start;
  }

  .bootcamp-teaser__inner{
    padding:22px;
  }

  .bootcamp-teaser__note{
    position:static;
    margin-top:12px;
    flex-direction:column;
  }
}

@media (max-width:480px){
  .bootcamp-hero{
    padding-top:170px;
  }

  .bootcamp-hero h1{
    font-size:clamp(2.6rem,14vw,3.8rem);
  }

  .bootcamp-hero__eyebrow{
    font-size:.7rem;
    letter-spacing:.1em;
  }

  .story-steps article{
    grid-template-columns:1fr;
  }

  .story-steps span{
    grid-row:auto;
  }
}

@media (prefers-color-scheme: dark){
  .bootcamp-page{
    --bg:#171420;
    --bg-soft:#201b2c;
    --surface:rgba(37,32,50,.78);
    --surface-strong:#292339;
    --surface-border:rgba(178,162,255,.18);
    --text:#f8f5ff;
    --muted:#c7bfd8;
    --muted-strong:#eee8ff;
    --primary:#a99aff;
    --primary-deep:#cabfff;
    --primary-soft:#2c2640;
    background:
      radial-gradient(circle at 10% 18%,rgba(154,132,255,.18),transparent 30%),
      radial-gradient(circle at 88% 34%,rgba(255,124,102,.1),transparent 26%),
      radial-gradient(circle at 18% 74%,rgba(67,205,188,.1),transparent 28%),
      linear-gradient(180deg,#171420 0%,#1c1726 48%,#171420 100%);
    background-attachment:fixed;
    color:var(--text);
  }

  .bootcamp-page .navbar,
  .bootcamp-page .navbar__menu,
  .bootcamp-page .lang-dropdown,
  .bootcamp-page .lang-btn,
  .bootcamp-page .menu-toggle,
  .bootcamp-page .btn-secondary,
  .bootcamp-metrics article,
  .story-steps article,
  .fit-grid article,
  .curriculum-grid article,
  .bootcamp-teaser__inner,
  .bootcamp-enrollment .inscripcion__info,
  .bootcamp-enrollment .inscripcion-form,
  .bootcamp-enrollment .inscripcion-card,
  .bootcamp-enrollment .inscripcion-stat{
    background:rgba(37,32,50,.82);
    border-color:rgba(178,162,255,.16);
    color:var(--text);
    box-shadow:0 22px 54px rgba(0,0,0,.24);
  }

  .bootcamp-page .navbar.is-scrolled{
    background:rgba(37,32,50,.92);
  }

  .bootcamp-page .logo-text,
  .bootcamp-page .section-title,
  .bootcamp-page h2,
  .bootcamp-page h3,
  .bootcamp-page .navbar__menu a,
  .bootcamp-page .navbar__eyebrow{
    color:var(--text);
  }

  .bootcamp-page .section-copy,
  .bootcamp-page p,
  .bootcamp-page .fit-grid p,
  .bootcamp-page .story-steps p,
  .bootcamp-page .curriculum-grid p,
  .bootcamp-page .bootcamp-metrics span{
    color:var(--muted);
  }

  .bootcamp-page .section-kicker,
  .bootcamp-page .bootcamp-metrics strong,
  .bootcamp-page .inscripcion-stat strong,
  .bootcamp-page .inscripcion__info h3{
    color:var(--primary-deep);
  }

  .bootcamp-enrollment{
    background:transparent;
  }

  .bootcamp-fit::before{
    background:linear-gradient(180deg,rgba(255,255,255,0),rgba(255,255,255,.025));
  }

  .bootcamp-enrollment::before{
    background:
      radial-gradient(circle at 18% 22%,rgba(67,205,188,.08),transparent 31%),
      radial-gradient(circle at 82% 10%,rgba(169,154,255,.08),transparent 30%),
      linear-gradient(180deg,rgba(255,255,255,.025),rgba(255,255,255,.035));
  }

  .bootcamp-enrollment .inscripcion-card input,
  .bootcamp-enrollment .inscripcion-card select,
  .bootcamp-enrollment .inscripcion-card textarea,
  .bootcamp-enrollment .contact-choice{
    background:#1f1a2b;
    border-color:rgba(178,162,255,.18);
    color:var(--text);
  }

  .bootcamp-hero__overlay{
    background:
      linear-gradient(90deg,rgba(10,8,18,.82),rgba(10,8,18,.48) 58%,rgba(10,8,18,.26)),
      linear-gradient(180deg,rgba(10,8,18,.16),rgba(10,8,18,.84));
  }

  .bootcamp-story{
    background:rgba(37,32,50,.58);
    border-color:rgba(178,162,255,.14);
  }

  .bootcamp-story::before{
    background-image:
      radial-gradient(circle at 18% 24%,rgba(169,154,255,.16),transparent 22%),
      radial-gradient(circle at 86% 18%,rgba(255,124,102,.09),transparent 24%),
      linear-gradient(90deg,rgba(178,162,255,.08) 1px,transparent 1px),
      linear-gradient(rgba(178,162,255,.08) 1px,transparent 1px);
  }
}
