@import url("./assets/fonts.css");
:root {
  --paper: #f6f8fc;
  --tint: #e8eef9;
  --sand: #eef2f9;
  --orange: #db501d;
  --action: #c2410c;
  --action-hover: #9a330a;
  --blue: #1c3170;
  --blue-deep: #13224f;
  --ink: #1a2338;
  --muted: #4d5872;
  --line: #d6dcea;
  --gutter: clamp(20px, 5vw, 80px);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
img {
  display: block;
  max-width: 100%;
}
svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
a:focus-visible,
button:focus-visible,
video:focus-visible {
  outline: 3px solid var(--action);
  outline-offset: 5px;
}
::selection {
  background: var(--ink);
  color: white;
}
.wrap {
  width: min(100% - 2 * var(--gutter), 1180px);
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 100;
  background: var(--ink);
  color: white;
  padding: 15px;
}
.skip-link:focus {
  top: 10px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgb(246 248 252 / 96%);
  transition: box-shadow 0.3s;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  box-shadow: 0 4px 24px #13224f0a;
  border-color: var(--line);
}
.header-inner {
  height: 102px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}
.brand-logo {
  width: 52px;
  height: 72px;
  object-fit: contain;
  border-radius: 10px;
}
.brand-text {
  font-weight: 600;
  letter-spacing: 2px;
  line-height: 1.2;
  font-size: 17px;
}
.brand-text small {
  display: block;
  font-size: 8px;
  letter-spacing: 1.4px;
  margin-top: 7px;
}
.nav {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 12px;
}
.nav-link {
  padding: 9px 12px;
  border-radius: 30px;
  transition:
    background 0.2s,
    color 0.2s;
}
.nav-link:hover,
.nav-link.active {
  background: var(--tint);
  color: var(--ink);
}
.nav-register {
  background: var(--action);
  color: white;
  border-radius: 12px;
  padding: 13px 17px;
  margin-left: 10px;
  font-weight: 600;
}
.nav-register span {
  margin-left: 10px;
}
.nav-register:hover {
  background: var(--action-hover);
}
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  padding: 10px;
  border-radius: 12px;
  color: var(--ink);
}
.intro {
  padding-top: 20px;
  padding-bottom: 80px;
}
.hero-panel {
  background: var(--tint);
  border-radius: 32px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 47% 53%;
  min-height: 445px;
  box-shadow: 0 12px 32px #13224f08;
}
.hero-slides {
  position: relative;
  overflow: hidden;
  background: var(--blue-deep);
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 1.2s ease,
    visibility 0s 1.2s;
}
.hero-photo.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 1.2s ease;
}
.hero-copy {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
h1 {
  font-size: clamp(48px, 5.3vw, 76px);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 0.99;
}
.hero-copy > p {
  font-size: 18px;
  line-height: 1.65;
  margin-top: 26px;
  max-width: 450px;
  color: #3b4660;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  min-height: 53px;
  padding: 16px 25px;
  border-radius: 13px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  transition:
    transform 0.25s,
    background 0.25s,
    box-shadow 0.25s;
}
.register-button {
  background: var(--action);
  color: #fff;
  box-shadow: 0 4px 0 #7c2d0a20;
}
.register-button:hover {
  transform: translateY(-3px);
  background: var(--action-hover);
  box-shadow: 0 7px 14px #7c2d0a20;
}
.register-button span {
  font-size: 21px;
  line-height: 1;
}
.text-link {
  font-size: 14px;
  padding-block: 8px;
  border-bottom: 1px solid #8d99b3;
}
.text-link span {
  margin-left: 10px;
}
/* Dark greens keep white text readable (≥4.4:1). */
.hero-whatsapp {
  gap: 14px;
  padding-block: 8px;
  padding-left: 8px;
  background: linear-gradient(135deg, #0f8a52, #0b6b40);
  color: #fff;
  box-shadow: 0 4px 0 #064a2c33;
}
.hero-whatsapp:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #0b6b40, #08562f);
  box-shadow: 0 7px 14px #064a2c40;
}
.hero-whatsapp > span {
  display: flex;
  flex-direction: column;
  font-size: 17px;
  line-height: 1.15;
  text-align: left;
}
.hero-whatsapp small {
  white-space: nowrap;
  font-size: 12px;
  font-weight: 500;
  opacity: 0.9;
}
/* The two main buttons share a row; the download spans both underneath,
   so the three read as one block instead of a stray button. */
.hero-actions:has(.plan-download) {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: start;
  row-gap: 34px;
}
/* Quiet outline so it never competes with Regístrate or WhatsApp. */
.plan-download {
  grid-column: 1 / -1;
  justify-content: flex-start;
  gap: 12px;
  min-height: 0;
  padding: 10px 16px;
  border: 1.5px solid #b9c3da;
  color: var(--blue);
  background: #ffffff80;
}
.plan-download:hover {
  transform: translateY(-3px);
  border-color: var(--blue);
  background: #fff;
}
.plan-download svg {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.plan-download > span {
  display: flex;
  flex-direction: column;
  font-size: 15px;
  line-height: 1.15;
  text-align: left;
}
.plan-download small {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}
.hero-whatsapp > img {
  width: 38px;
  height: 38px;
  padding: 4px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 3px #ffffff33;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 30px;
}
/* The fifth card closes the two-column grid at full width. */
@media (min-width: 721px) {
  .photo-card-wide {
    grid-column: 1 / -1;
    min-height: 420px;
  }
  .photo-card-wide figcaption p {
    max-width: 760px;
  }
}
/* The caption sets the card height so long descriptions never overflow. */
.photo-card {
  min-height: 320px;
  position: relative;
  display: flex;
  border-radius: 24px;
  overflow: hidden;
  background: var(--blue-deep);
}
.photo-card img {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.65s;
}
.photo-card:hover img {
  transform: scale(1.045);
}
.photo-card:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    #0d1a3a08 0%,
    #0d1a3a33 25%,
    #0d1a3ad0 55%,
    #0d1a3af2 100%
  );
}
.photo-card figcaption {
  position: relative;
  flex: 1;
  padding: 64px 22px 20px;
  z-index: 1;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.photo-number {
  position: absolute;
  top: 20px;
  left: 22px;
  border: 1px solid #fff;
  border-radius: 30px;
  padding: 2px 9px;
  font-size: 12px;
  background: #13224f55;
}

.photo-card h2 {
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin-bottom: 7px;
}
.photo-card p {
  font-size: 14px;
  line-height: 1.5;
  max-width: 470px;
}
.section-title {
  font-size: clamp(32px, 3.7vw, 49px);
  line-height: 1.13;
  letter-spacing: -0.04em;
  font-weight: 600;
  margin-bottom: 40px;
}

.purpose {
  background: var(--paper);
  padding-block: 88px;
}
.purpose .section-title {
  text-align: center;
  color: var(--ink);
}
.purpose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
}
.purpose-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 25px;
  padding: 38px 39px 42px;
  scroll-margin-top: 112px;
}
.section-label {
  color: var(--action);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  display: block;
  margin-bottom: 17px;
}
.purpose-card h3 {
  font-size: 35px;
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin-bottom: 24px;
}
.purpose-card p {
  font-size: 16px;
  line-height: 1.9;
  color: var(--muted);
  text-wrap: pretty;
}
.portrait-video video {
  display: block;
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: contain;
  background: #0d1733;
  border: 2px solid var(--ink);
  border-radius: 25px;
}

.registration {
  padding-top: 88px;
}
.registration-panel {
  padding: 48px 52px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  background: var(--tint);
  border-radius: 28px;
}
.registration h2 {
  font-size: clamp(32px, 3.2vw, 45px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}
.registration p {
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.7;
  color: #3b4660;
  max-width: 480px;
}
.registration .button {
  flex-shrink: 0;
  min-width: 190px;
  min-height: 60px;
}
.whatsapp-link {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  transition: transform 0.25s;
}
.whatsapp-link > img {
  width: 54px;
  height: 54px;
  flex: none;
}
.whatsapp-link > span {
  background: var(--action);
  border-radius: 13px;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-align: center;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 600;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  flex: 1;
  box-shadow: 0 4px 0 #7c2d0a20;
  transition:
    background 0.25s,
    box-shadow 0.25s;
}
.whatsapp-link:hover {
  transform: translateY(-3px);
}
.whatsapp-link:hover > span {
  background: var(--action-hover);
  box-shadow: 0 7px 0 #7c2d0a20;
}
.footer {
  border-top: 1px solid var(--line);
  padding-block: 30px 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  font-size: 13px;
  color: var(--muted);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.footer-brand img {
  width: 40px;
  height: auto;
  border-radius: 8px;
}
.footer a:last-child {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.reveal {
  opacity: 1;
  transform: none;
  filter: none;
}
.motion-ready .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(20px);
}
.motion-ready .reveal {
  transition:
    opacity 0.75s ease,
    transform 0.75s cubic-bezier(0.2, 0.65, 0.3, 1);
  transition-delay: var(--delay, 0ms);
}
@media (max-width: 1050px) {
  .brand-text {
    font-size: 14px;
    letter-spacing: 1.5px;
  }
  .brand-logo {
    width: 44px;
    height: 62px;
  }
  .brand {
    gap: 11px;
  }
  .nav-link {
    padding: 8px;
  }
  .nav-register {
    padding: 12px;
    margin-left: 4px;
  }
  .hero-copy {
    padding: 35px 28px;
  }
  .hero-copy > p {
    font-size: 16px;
  }
  .hero-actions {
    gap: 16px;
  }
  .photo-card {
    min-height: 300px;
  }
  .photo-card h2 {
    font-size: 23px;
  }
  .purpose-card {
    padding: 30px;
  }

  .whatsapp-link {
    gap: 13px;
  }
  .whatsapp-tap {
    --icon-offset: 60px;
  }
  .whatsapp-link > span {
    font-size: 16px;
    padding-inline: 13px;
  }
  .whatsapp-link > img {
    width: 47px;
    height: 47px;
  }
  .registration-panel {
    padding: 38px;
  }
  .registration h2 {
    font-size: 35px;
  }
}
@media (max-width: 820px) {
  .nav {
    gap: 0;
    font-size: 11px;
  }
  .nav-link {
    padding-inline: 6px;
  }
  .brand-text small {
    font-size: 7px;
  }
  .nav-register {
    margin-left: 2px;
    padding: 11px;
  }
}
@media (max-width: 720px) {
  html {
    scroll-padding-top: 90px;
  }
  .header-inner {
    height: 88px;
  }
  .brand-text {
    font-size: 15px;
  }
  .brand-text small {
    font-size: 7px;
  }
  .brand-logo {
    width: 44px;
    height: 62px;
  }
  .menu-toggle {
    display: flex;
  }
  .nav {
    display: none;
    position: absolute;
    top: 88px;
    left: 0;
    right: 0;
    padding: 12px var(--gutter) 22px;
    flex-direction: column;
    align-items: stretch;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    font-size: 14px;
  }
  .nav.is-open {
    display: flex;
  }
  .nav-link {
    padding: 13px 17px;
  }
  .nav-register {
    margin: 12px 0 0;
    padding: 15px 17px;
  }
  .intro {
    padding-top: 10px;
    padding-bottom: 45px;
  }
  .hero-panel {
    grid-template-columns: 1fr;
    border-radius: 25px;
  }
  .hero-slides {
    aspect-ratio: 1.5;
  }
  .hero-copy {
    padding: 30px 25px 34px;
  }
  h1 {
    font-size: clamp(48px, 10vw, 64px);
  }
  .hero-copy > p {
    font-size: 16px;
    margin-top: 23px;
  }
  .hero-actions {
    gap: 22px;
    margin-top: 27px;
  }
  .button {
    font-size: 15px;
    gap: 22px;
    padding: 15px 21px;
  }
  .text-link {
    font-size: 13px;
  }
  /* Swipeable row on phones; the next card peeks in to invite a swipe. */
  .photo-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 84%;
    gap: 14px;
    margin-top: 26px;
    margin-inline: calc(-1 * var(--gutter));
    padding: 0 var(--gutter) 6px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  .photo-grid::-webkit-scrollbar {
    display: none;
  }
  .photo-grid .photo-card {
    scroll-snap-align: start;
  }
  .motion-ready .photo-grid .reveal:not(.is-visible) {
    opacity: 0.7;
    transform: scale(0.95);
  }
  .photo-card {
    min-height: 0;
    flex-direction: column;
    border-radius: 23px;
  }
  /* On phones the photo sits above the text instead of under it. */
  .photo-card img {
    position: static;
    height: auto;
    aspect-ratio: 16 / 10;
  }
  .photo-card:after {
    display: none;
  }
  .photo-card:hover img {
    transform: none;
  }
  .photo-card figcaption {
    position: static;
    justify-content: flex-start;
    padding: 18px 20px 22px;
  }
  .photo-card .photo-number {
    top: 14px;
    left: 14px;
    background: #13224fb3;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
  }
  .photo-card h2 {
    font-size: 21px;
  }
  .photo-card p {
    font-size: 14px;
    max-width: none;
    color: #ffffffd9;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
  }
  .photo-card figcaption:after {
    content: "Ver más →";
    display: block;
    margin-top: auto;
    padding-top: 10px;
    font-size: 13px;
    font-weight: 600;
    /* Light orange keeps 9:1 contrast on the navy card. */
    color: #ffb58f;
  }

  .purpose {
    padding-block: 52px;
  }
  .section-title {
    font-size: 32px;
    text-wrap: balance;
    margin-bottom: 29px;
  }
  .purpose-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .purpose-card {
    padding: 30px 25px;
    border-radius: 23px;
  }
  .purpose-card h3 {
    font-size: 31px;
  }
  .purpose-card p {
    font-size: 16px;
    line-height: 1.85;
  }
  .portrait-video video {
    border-radius: 19px;
  }

  .registration {
    padding-top: 52px;
  }
  .registration-panel {
    padding: 32px 25px;
    display: block;
    border-radius: 23px;
  }
  .registration h2 {
    font-size: 32px;
  }
  .registration p {
    font-size: 16px;
  }
  .registration-action {
    margin-top: 26px;
  }
  .registration .button {
    min-width: 180px;
    min-height: 54px;
  }
  .whatsapp-link {
    gap: 12px;
  }
  .whatsapp-tap {
    margin-top: 27px;
    --icon-offset: 55px;
  }
  .whatsapp-link > img {
    width: 43px;
    height: 43px;
  }
  .whatsapp-link > span {
    font-size: 15px;
    padding: 12px 8px;
    min-height: 68px;
    border-radius: 12px;
  }
  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding-bottom: 28px;
  }
}
@media (max-width: 520px) {
  .portrait-video {
    width: min(100%, 330px);
    margin-inline: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .motion-ready .reveal:not(.is-visible) {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* Two-tone promotional typography inspired by the supplied Canva wordmark. */
h1,
.brand-text {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: var(--blue);
}
h1 {
  letter-spacing: -0.055em;
  line-height: 1.01;
}
.title-accent,
.brand-accent {
  color: var(--orange);
}
h1 .title-accent {
  color: var(--orange);
  text-shadow: 0 1px 0 #7c2d0a22;
}
.brand-text {
  font-size: 24px;
  letter-spacing: -0.8px;
  line-height: 1.02;
}
.brand-text small {
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  font-size: 8px;
  letter-spacing: 1.5px;
  margin-top: 8px;
  color: var(--muted);
}
.career-facts {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin: 25px 0 0;
  width: 100%;
}
.career-facts > div {
  border: 1px solid #9aa6c0;
  border-radius: 19px;
  padding: 12px 15px;
  min-width: 0;
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.career-facts dt,
.career-facts dd {
  margin: 0;
  text-transform: uppercase;
  font-size: 12px;
  line-height: 1.35;
}
.career-facts dt {
  font-weight: 400;
  color: var(--muted);
}
.career-facts dd {
  font-weight: 500;
  color: var(--ink);
}
.hero-copy {
  padding-block: 38px;
}
.hero-actions {
  margin-top: 27px;
}
@media (max-width: 1050px) {
  .brand-text {
    font-size: 21px;
  }
  .career-facts {
    gap: 8px;
  }
  .career-facts > div {
    padding: 11px 8px;
  }
  .career-facts dt,
  .career-facts dd {
    font-size: 11px;
  }
}
@media (max-width: 720px) {
  .brand-text {
    font-size: 22px;
  }
  .brand-text small {
    font-size: 7px;
  }
  .hero-copy {
    padding-block: 29px;
  }
  .career-facts {
    gap: 8px;
    margin-top: 24px;
  }
  .career-facts > div {
    padding: 11px 5px;
    border-radius: 16px;
  }
  .career-facts dt,
  .career-facts dd {
    font-size: 10px;
  }
  .hero-actions {
    margin-top: 25px;
  }
}

/* Sections recovered from the Canva reference, in the page's clean style. */
.hero-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
}
.hero-logo {
  width: auto;
  height: clamp(120px, 13vw, 170px);
  flex: none;
}
/* Pointing hand that taps the register button, with click rays and a pulse ring. */
.cta-tap {
  position: relative;
  display: inline-flex;
  isolation: isolate;
}
.cta-tap::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 13px;
  border: 2px solid var(--action);
  opacity: 0;
  pointer-events: none;
  animation: tap-ring 2.8s ease-out infinite;
}
.tap-hand {
  position: absolute;
  right: -30px;
  bottom: -34px;
  width: 50px;
  pointer-events: none;
  animation: tap-hand 2.8s cubic-bezier(0.3, 0.7, 0.3, 1) infinite;
  filter: drop-shadow(0 3px 4px #1a233833);
}
.tap-hand img {
  display: block;
  width: 100%;
  height: auto;
}
.tap-rays {
  position: absolute;
  left: 4px;
  top: 2px;
  width: 0;
  height: 0;
  opacity: 0;
  animation: tap-rays 2.8s ease-out infinite;
}
.tap-rays i {
  position: absolute;
  left: -1.5px;
  top: -1.5px;
  width: 3px;
  height: 11px;
  border-radius: 3px;
  background: var(--ink);
  box-shadow: 0 0 0 1.5px #fff;
  transform-origin: 50% 100%;
}
.tap-rays i:nth-child(1) {
  transform: rotate(-80deg) translateY(-19px);
}
.tap-rays i:nth-child(2) {
  transform: rotate(-35deg) translateY(-19px);
}
.tap-rays i:nth-child(3) {
  transform: rotate(10deg) translateY(-19px);
}
@keyframes tap-hand {
  0%,
  48%,
  100% {
    transform: translate(7px, 7px) rotate(4deg);
  }
  58% {
    transform: translate(0, 0) scale(0.9);
  }
  68% {
    transform: translate(3px, 3px);
  }
}
@keyframes tap-rays {
  0%,
  56% {
    opacity: 0;
    transform: scale(0.5);
  }
  62% {
    opacity: 1;
    transform: scale(1);
  }
  80%,
  100% {
    opacity: 0;
    transform: scale(1.35);
  }
}
@keyframes tap-ring {
  0%,
  56% {
    opacity: 0;
    transform: scale(1);
  }
  60% {
    opacity: 0.6;
  }
  90%,
  100% {
    opacity: 0;
    transform: scale(1.14, 1.35);
  }
}
/* A real click replays the tap once, a little stronger. */
.cta-tap.is-clicked::after {
  animation: tap-ring-click 0.65s ease-out;
}
.cta-tap.is-clicked .tap-rays {
  animation: tap-rays-click 0.65s ease-out;
}
.cta-tap.is-clicked .tap-hand {
  animation: tap-hand-click 0.65s cubic-bezier(0.3, 0.7, 0.3, 1);
}
@keyframes tap-ring-click {
  0% {
    opacity: 0.8;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.2, 1.55);
  }
}
@keyframes tap-rays-click {
  0% {
    opacity: 1;
    transform: scale(0.7);
  }
  100% {
    opacity: 0;
    transform: scale(1.6);
  }
}
@keyframes tap-hand-click {
  0% {
    transform: scale(0.86);
  }
  100% {
    transform: translate(7px, 7px) rotate(4deg);
  }
}
.hero-actions {
  gap: 48px;
}
.spaces {
  background: var(--sand);
  padding-block: 88px;
}
.spaces-heading {
  max-width: 860px;
  margin-bottom: 40px;
}
.spaces-heading .section-title {
  margin-bottom: 18px;
}
.spaces-heading p {
  max-width: 620px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
}
.spaces-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.space-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 26px 24px 28px;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.space-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px #13224f12;
}
.space-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 20px;
  background: var(--tint);
  margin-bottom: 22px;
}
.space-icon img {
  width: 42px;
  height: 38px;
  object-fit: contain;
}
.space-card .photo-number {
  top: 24px;
  left: auto;
  right: 22px;
  border-color: var(--line);
  background: transparent;
  color: var(--muted);
}
.space-card h3 {
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.space-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}
.careers {
  padding-block: 88px;
}
.careers-layout {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  align-items: center;
  gap: 64px;
}
.careers-copy .section-title {
  margin-bottom: 30px;
}
.careers-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
}
.careers-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.35;
}
.careers-list li::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
  flex: none;
}
.portrait-video video {
  border: 2px solid var(--ink);
}
.registration {
  padding-top: 0;
}
.registration-action {
  display: flex;
  align-items: flex-start;
  flex-shrink: 0;
}
.community {
  padding-block: 72px 88px;
}
.community-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
  align-items: center;
  gap: 48px;
}
.community-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 44px;
}
.community h2 {
  font-size: clamp(30px, 3vw, 42px);
  letter-spacing: -0.04em;
  line-height: 1.15;
  max-width: 570px;
}
.community-copy > p {
  font-size: 18px;
  line-height: 1.7;
  margin-top: 20px;
  max-width: 520px;
  color: var(--muted);
}
.tiktok-profile {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px solid #8d99b3;
  padding-block: 6px;
}
.tiktok-profile svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.4;
}
/* Gentle sideways entrance while scrolling. */
html,
body {
  overflow-x: clip;
}
.motion-ready .reveal.from-left:not(.is-visible) {
  transform: translateX(-32px);
}
.motion-ready .reveal.from-right:not(.is-visible) {
  transform: translateX(32px);
}
@media (max-width: 1050px) {
  .spaces-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .careers-layout,
  .community-layout {
    gap: 32px;
  }
  .careers-layout {
    grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  }
  .community-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 240px);
  }
  .careers-list {
    grid-template-columns: 1fr;
  }
  .careers-list li {
    font-size: 16px;
    padding-block: 13px;
  }
  .community-panel {
    padding: 33px;
  }
}
@media (max-width: 720px) {
  .hero-logo {
    width: auto;
    height: 104px;
  }
  .tap-hand {
    width: 44px;
    right: -26px;
    bottom: -30px;
  }
  .hero-actions {
    gap: 32px;
    flex-wrap: nowrap;
  }
  .hero-actions .register-button {
    gap: 14px;
  }
  .hero-whatsapp {
    gap: 9px;
    padding-left: 6px;
    padding-right: 14px;
  }
  .hero-whatsapp > img {
    width: 32px;
    height: 32px;
  }
  .spaces,
  .careers {
    padding-block: 52px;
  }
  .spaces-heading {
    margin-bottom: 28px;
  }
  .spaces-heading p {
    font-size: 16px;
  }
  .spaces-grid {
    gap: 14px;
  }
  .space-card {
    padding: 20px 18px 22px;
    border-radius: 20px;
  }
  .space-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    margin-bottom: 16px;
  }
  .space-icon img {
    width: 34px;
    height: 30px;
  }
  .space-card .photo-number {
    top: 18px;
    right: 16px;
  }
  .space-card h3 {
    font-size: 18px;
  }
  .space-card p {
    font-size: 14px;
  }
  .careers-layout,
  .community-layout {
    grid-template-columns: 1fr;
  }
  .careers-layout .portrait-video {
    order: 2;
  }
  .portrait-video {
    width: min(100%, 300px);
    margin-inline: auto;
  }
  .community {
    padding-block: 44px 52px;
  }
  .community-panel {
    padding: 31px 25px;
    border-radius: 23px;
  }
  .community h2 {
    font-size: 32px;
  }
  .community-copy > p {
    font-size: 16px;
  }
  .motion-ready .reveal.from-left:not(.is-visible) {
    transform: translateX(-18px);
  }
  .motion-ready .reveal.from-right:not(.is-visible) {
    transform: translateX(18px);
  }
}
@media (max-width: 430px) {
  .hero-actions {
    gap: 24px;
  }
  .hero-actions .register-button {
    gap: 10px;
    padding-inline: 16px;
  }
  .hero-whatsapp {
    padding-right: 12px;
  }
  .hero-whatsapp > img {
    width: 28px;
    height: 28px;
    padding: 3px;
  }
  .hero-whatsapp > span {
    font-size: 15px;
  }
  .hero-whatsapp small {
    font-size: 11px;
  }
}
@media (max-width: 375px) {
  .hero-actions {
    gap: 18px;
  }
  .hero-actions .register-button {
    padding-inline: 13px;
  }
  .hero-whatsapp {
    gap: 7px;
    padding-left: 5px;
    padding-right: 9px;
  }
  .hero-whatsapp small {
    font-size: 10px;
  }
}
@media (max-width: 460px) {
  .spaces-grid {
    grid-template-columns: 1fr;
  }
}

/* One static watermark only, on the light purpose section. */
.purpose {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.purpose::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url("./assets/logo-icom.png") no-repeat
    calc(100% + 160px) center / min(70vw, 820px);
  opacity: 0.05;
}
@media (max-width: 720px) {
  .purpose::before {
    background-size: 110vw;
    background-position: calc(100% + 100px) center;
  }
}

/* WhatsApp button reuses the tapping hand; the ring wraps the label, not the icon. */
.whatsapp-tap {
  display: flex;
  width: 100%;
  max-width: 460px;
  margin-top: 32px;
  --icon-offset: 72px;
}
.whatsapp-tap::after {
  left: var(--icon-offset);
}

/* Image viewer: natural proportions plus the card text. */
[data-lightbox] {
  cursor: zoom-in;
}
[data-lightbox]:focus-visible {
  outline: 3px solid var(--action);
  outline-offset: 4px;
}
.lightbox {
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 24px;
  border: 0;
  background: transparent;
  color: #fff;
  overflow: hidden;
}
.lightbox[open] {
  display: grid;
  place-items: center;
  animation: lightbox-in 0.28s ease-out;
}
.lightbox::backdrop {
  background: rgb(10 17 38 / 88%);
  backdrop-filter: blur(4px);
}
.lightbox figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: min(1100px, 100%);
}
.lightbox img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100dvh - 190px);
  border-radius: 16px;
  box-shadow: 0 20px 50px #0007;
}
.lightbox figcaption {
  text-align: center;
  max-width: 640px;
}
.lightbox h3 {
  font-size: 24px;
  letter-spacing: -0.02em;
}
.lightbox p {
  margin-top: 6px;
  font-size: 16px;
  line-height: 1.55;
  color: #dfe5f1;
}
.lightbox button {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #ffffff40;
  background: #ffffff1a;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}
.lightbox button:hover {
  background: #ffffff33;
}
.lightbox button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
.lightbox-close {
  top: 18px;
  right: 18px;
}
.lightbox-nav {
  top: 50%;
  translate: 0 -50%;
}
.lightbox-nav.prev {
  left: 18px;
}
.lightbox-nav.next {
  right: 18px;
}
@keyframes lightbox-in {
  from {
    opacity: 0;
    transform: scale(0.97);
  }
}
@media (max-width: 720px) {
  .lightbox {
    padding: 70px 12px 84px;
  }
  .lightbox img {
    max-height: calc(100dvh - 330px);
    border-radius: 12px;
  }
  .lightbox h3 {
    font-size: 20px;
  }
  .lightbox p {
    font-size: 15px;
  }
  .lightbox-nav {
    top: auto;
    bottom: 20px;
    translate: none;
  }
  .lightbox-nav.prev {
    left: calc(50% - 60px);
  }
  .lightbox-nav.next {
    right: calc(50% - 60px);
  }
}
/* Subtle position dots for the lightbox and the phone card carousel. */
.dots {
  display: flex;
  justify-content: center;
  gap: 2px;
}
.dots button,
.lightbox .dots button {
  position: static;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 11px;
  background: none;
  cursor: pointer;
}
.dots button::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 4px;
  background: var(--dot, #13224f40);
  transition:
    width 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.3s ease;
}
.dots button[aria-current="true"]::before {
  width: 20px;
  background: var(--dot-active, var(--blue));
}
.dots button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 0;
}
.lightbox .dots {
  --dot: #ffffff4d;
  --dot-active: #ffb58f;
}
.lightbox .dots button:hover {
  background: none;
}
.lightbox .dots button:focus-visible {
  outline-color: #fff;
}
.photo-dots {
  display: none;
  margin-top: 12px;
}
@media (max-width: 720px) {
  .photo-dots {
    display: flex;
  }
  /* The card in view stands forward; its neighbours rest slightly back. */
  .photo-grid .photo-card {
    transition:
      transform 0.5s cubic-bezier(0.2, 0.65, 0.3, 1),
      opacity 0.5s ease;
  }
  .photo-grid .photo-card:not(.is-current) {
    transform: scale(0.95);
    opacity: 0.7;
  }
  .photo-grid .photo-card img {
    transform: scale(1.06);
    transition: transform 0.9s cubic-bezier(0.2, 0.65, 0.3, 1);
  }
  .photo-grid .photo-card.is-current img {
    transform: none;
  }
}

/* Lightbox photos slide in from the side the viewer is moving toward. */
.lightbox.slide-next img,
.lightbox.slide-prev img {
  animation: lightbox-slide 0.42s cubic-bezier(0.2, 0.65, 0.3, 1);
}
.lightbox.slide-prev img {
  --from: -28px;
}
.lightbox.slide-next figcaption,
.lightbox.slide-prev figcaption {
  animation: lightbox-caption 0.42s 0.08s ease-out backwards;
}
@keyframes lightbox-slide {
  from {
    opacity: 0;
    transform: translateX(var(--from, 28px)) scale(0.98);
  }
}
@keyframes lightbox-caption {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .photo-grid .photo-card,
  .photo-grid .photo-card img,
  .dots button::before {
    transition: none;
  }
  .photo-grid .photo-card:not(.is-current) {
    transform: none;
    opacity: 1;
  }
  .photo-grid .photo-card img {
    transform: none;
  }
  .lightbox.slide-next img,
  .lightbox.slide-prev img,
  .lightbox.slide-next figcaption,
  .lightbox.slide-prev figcaption {
    animation: none;
  }
}
/* Professional profile spans both columns under mission and vision. */
.purpose-profile {
  grid-column: 1 / -1;
  border-top: 4px solid var(--orange);
}
.purpose-profile p {
  max-width: 900px;
}
/* Headings in the logo's navy; accents stay orange. */
.section-title,
.purpose .section-title,
.community h2,
.registration h2 {
  color: var(--blue);
}
.space-icon svg {
  width: 38px;
  height: 38px;
  stroke-width: 1.6;
  color: var(--blue);
}
/* Full faculty name above the hero title. */
.hero-faculty {
  max-width: 340px;
  text-wrap: balance;
  line-height: 1.5;
  margin-bottom: 14px;
}
.footer p {
  line-height: 1.6;
  text-align: center;
}
@media (max-width: 720px) {
  .footer p {
    text-align: left;
  }
}
/* Community panel spans the full width: copy on the left, WhatsApp and TikTok on the right. */
.community-layout {
  grid-template-columns: 1fr;
}
.community-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  align-items: center;
  gap: 32px 56px;
  padding: 52px 56px;
}
.community-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.community-actions .whatsapp-tap {
  margin-top: 0;
}
@media (max-width: 1050px) {
  .community-panel {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 36px;
  }
  .community-actions .whatsapp-tap {
    margin-top: 28px;
  }
}
@media (max-width: 720px) {
  .community-panel {
    padding: 31px 25px;
  }
}
/* The faculty name is longer than the other facts, so its box gets more room. */
.career-facts > div:first-child {
  flex: 2;
}

/* Career introduction: editorial copy beside a compact, native video player. */
.presentation {
  padding-block: 40px 64px;
  background: var(--paper);
}
.presentation-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 310px);
  align-items: center;
  gap: clamp(36px, 6vw, 88px);
  padding: clamp(32px, 5vw, 64px);
  border: 1px solid #314777;
  border-radius: 32px;
  background: radial-gradient(ellipse at 100% 0%, #304d86 0%, transparent 60%), #13244d;
  color: #fff;
  box-shadow: 0 24px 50px -30px #13224f80;
}
.presentation-identity {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 42px;
}
.presentation-identity img {
  width: 42px;
  height: auto;
  flex-shrink: 0;
}
.presentation-identity p {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}
.presentation-identity p span {
  display: block;
  color: #bdcbe5;
  font-size: 12px;
  font-weight: 400;
  margin-top: 3px;
}
.presentation-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffb58f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
}
.presentation-eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: currentColor;
}
.presentation h2 {
  margin-block: 18px 22px;
  font-size: clamp(38px, 4.6vw, 62px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.045em;
}
.presentation h2 span { color: #ffb58f; }
.presentation-description {
  max-width: 390px;
  color: #d0daec;
  font-size: 16px;
  line-height: 1.75;
}
.presentation-facts {
  display: flex;
  gap: 32px;
  margin: 30px 0;
  padding-block: 22px;
  border-block: 1px solid #ffffff26;
}
.presentation-facts > div + div {
  border-left: 1px solid #ffffff26;
  padding-left: 32px;
}
.presentation-facts dt {
  font-size: 12px;
  color: #bdcbe5;
  margin-bottom: 7px;
}
.presentation-facts dd {
  margin: 0;
  font-size: 21px;
  font-weight: 600;
}
.presentation-facts dd span {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  font-weight: 400;
  color: #bdcbe5;
}
.presentation-link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 6px;
}
.presentation-link:hover { color: #ffb58f; }
.presentation a:focus-visible,
.presentation video:focus-visible { outline-color: #ffb58f; }
.presentation-player { width: 100%; }
.presentation-video-frame {
  padding: 7px;
  border: 1px solid #ffffff38;
  border-radius: 23px;
  background: #ffffff0d;
  box-shadow: 0 20px 40px #06112f55;
}
.presentation-player video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  background: #080f22;
  border-radius: 16px;
}
.presentation-player figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 8px 0;
  font-size: 13px;
  font-weight: 600;
}
.presentation-player figcaption small {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 400;
  color: #bdcbe5;
}
.presentation-play-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #ffffff30;
  border-radius: 50%;
  font-size: 10px;
  color: #ffb58f;
}
@media (max-width: 900px) {
  .presentation-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 260px);
    gap: 28px;
    padding: 32px;
  }
  .presentation-identity { margin-bottom: 28px; }
  .presentation-facts { gap: 20px; }
  .presentation-facts > div + div { padding-left: 20px; }
}
@media (max-width: 720px) {
  .presentation { padding-block: 20px 40px; }
  .presentation-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding: 28px 22px;
    border-radius: 24px;
  }
  .presentation h2 { font-size: clamp(38px, 8vw, 52px); }
  .presentation-description { max-width: 100%; }
  .presentation-player { max-width: 310px; margin-inline: auto; }
  .presentation-facts { margin-block: 24px 16px; }
}
