.anchored-section,
#inicio {
  scroll-margin-top: 96px;
}

.main-nav a[aria-current="location"] {
  color: var(--purple);
}

.main-nav a[aria-current="location"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 26px;
  height: 3px;
  border-radius: 4px;
  background: var(--purple);
}

.program-card h3,
.location-card h3 {
  font-family: "Arial Black", Inter, sans-serif;
}

.program-card h3 {
  font-size: 28px;
  margin: 10px 0 5px;
}

.location-card h3 {
  font-size: 30px;
  margin: 18px 6px 2px;
}

.form-card h2 {
  font-family: "Arial Black", Inter, sans-serif;
  font-size: 44px;
  margin: 0;
}

.confidence-orb {
  background: #c8f5ff;
  color: #168ccb;
}

.creativity-orb {
  background: #fff0af;
  color: #493415;
}

.single-page-purpose {
  margin-top: 24px;
}

.coming-soon-locations {
  margin-top: 44px;
}

.coming-soon-heading {
  display: grid;
  grid-template-columns: minmax(190px, .38fr) minmax(0, 1fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 22px;
}

.coming-soon-heading .eyebrow {
  margin-bottom: 4px;
}

.coming-soon-heading .section-heading {
  max-width: 780px;
  margin: 0;
  font-size: clamp(27px, 3vw, 40px);
  line-height: 1.08;
  text-align: left;
}

.coming-soon-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.coming-location-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 150px;
  overflow: hidden;
  padding: 28px 30px;
  border: 1px solid #ddd1f3;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(239, 230, 255, .92));
  box-shadow: 0 14px 34px rgba(74, 35, 126, .08);
}

.coming-location-card::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -54px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(0, 192, 232, .12);
  pointer-events: none;
}

.coming-location-card:nth-child(2)::after {
  background: rgba(255, 196, 31, .2);
}

.coming-location-pin {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--purple-2));
  box-shadow: 0 12px 25px rgba(100, 31, 220, .23);
  font-size: 29px;
}

.coming-location-status {
  display: block;
  margin-bottom: 7px;
  color: var(--purple);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.coming-location-card h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--ink);
  font-family: "Arial Black", Inter, sans-serif;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.05;
}

.allied-schools {
  margin-top: 54px;
  padding-top: 46px;
  border-top: 1px solid var(--line);
}

.allied-schools-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 520px);
  gap: 34px;
  align-items: end;
  margin-bottom: 26px;
}

.allied-schools-heading .section-heading {
  max-width: 780px;
  margin: 0;
  text-align: left;
}

.allied-schools-heading > p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.ally-card {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(330px, .6fr);
  overflow: hidden;
  border: 1px solid #ebe5f3;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(36, 20, 60, .1);
}

.ally-media {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background: #dfe9d7;
}

.ally-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
}

.ally-watermark {
  position: absolute;
  top: 20px;
  right: 20px;
  display: grid;
  place-items: center;
  width: clamp(122px, 15vw, 180px);
  aspect-ratio: 1;
  padding: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .76);
  border-radius: 20px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 12px 34px rgba(18, 18, 31, .18);
  backdrop-filter: blur(10px);
}

.ally-watermark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: .94;
}

.ally-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 36px;
}

.ally-badge {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  color: #4d248e;
  background: #eee4ff;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ally-content h3 {
  margin: 15px 0 8px;
  color: var(--ink);
  font-family: "Arial Black", Inter, sans-serif;
  font-size: clamp(29px, 3vw, 40px);
  line-height: 1.06;
}

.ally-content p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.ally-content .ally-levels {
  color: #256e7b;
  font-weight: 800;
}

.ally-content .ally-note {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.ally-content address {
  margin: 2px 0 18px;
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
  line-height: 1.5;
}

.ally-map-link {
  padding-left: 0;
}

.ecosystem-section {
  overflow: hidden;
  background: linear-gradient(145deg, #f8f4ff 0%, #fffefa 58%, #effbff 100%);
}

.ecosystem-heading {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 70px;
  align-items: end;
  margin-bottom: 42px;
}

.ecosystem-layout {
  display: grid;
  grid-template-columns: 1.18fr .82fr;
  gap: 42px;
  align-items: center;
}

.ecosystem-media {
  min-width: 0;
  padding: 14px;
  border-radius: 26px;
  background: #171320;
  box-shadow: 0 28px 70px rgba(36, 20, 60, .16);
}

.ecosystem-screen-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 50px;
  padding: 2px 8px 14px;
  color: #aca2bd;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ecosystem-screen-bar strong {
  color: #63daf6;
  font-size: 12px;
}

.ecosystem-shot {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #0d0c13;
}

.ecosystem-shot img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #0d101d;
  transition: opacity .18s ease, transform .18s ease;
}

.ecosystem-shot img.is-changing {
  opacity: .3;
  transform: scale(.992);
}

.ecosystem-shot figcaption {
  min-height: 88px;
  padding: 16px 18px 18px;
  color: white;
  background: #100d18;
}

.ecosystem-shot figcaption strong,
.ecosystem-shot figcaption span {
  display: block;
}

.ecosystem-shot figcaption strong {
  margin-bottom: 4px;
  font-size: 17px;
}

.ecosystem-shot figcaption span {
  color: #d8d2e4;
  font-size: 13px;
  line-height: 1.35;
}

.ecosystem-features {
  border-top: 1px solid var(--line);
}

.ecosystem-feature {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 18px;
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
}

.ecosystem-number {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  color: white;
  background: linear-gradient(135deg, var(--purple), var(--purple-2));
  font-weight: 850;
}

.ecosystem-feature:nth-child(2) .ecosystem-number {
  background: linear-gradient(135deg, #06a9d2, var(--cyan));
}

.ecosystem-feature:nth-child(3) .ecosystem-number {
  color: #332500;
  background: linear-gradient(135deg, #ffc52f, var(--yellow));
}

.ecosystem-feature h3 {
  margin: 1px 0 6px;
  font-size: 21px;
}

.ecosystem-feature p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

.ecosystem-tools {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.ecosystem-tools button {
  appearance: none;
  padding: 10px 16px;
  border: 1px solid #dfd6ed;
  border-radius: 999px;
  color: #4d4260;
  background: rgba(255, 255, 255, .74);
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 750;
  transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}

.ecosystem-tools button:hover {
  border-color: #9b7fca;
  transform: translateY(-1px);
}

.ecosystem-tools button[aria-selected="true"] {
  border-color: var(--purple);
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--purple-2));
  box-shadow: 0 9px 22px rgba(100, 31, 220, .2);
}

.ecosystem-tools button:focus-visible {
  outline: 3px solid rgba(0, 192, 232, .42);
  outline-offset: 3px;
}

.ecosystem-tool-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.school-gallery {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #fbf9ff 100%);
}

.school-gallery::before {
  content: "";
  position: absolute;
  top: 42px;
  right: -90px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: rgba(0, 192, 232, .12);
  pointer-events: none;
}

.gallery-heading {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 32px;
}

.gallery-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 8px;
}

.gallery-arrow,
.gallery-lightbox-arrow,
.gallery-lightbox-close {
  appearance: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.gallery-arrow {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid #ddd5eb;
  border-radius: 50%;
  color: var(--ink);
  background: white;
  box-shadow: 0 9px 24px rgba(36, 20, 60, .08);
  font-size: 22px;
  transition: color .18s ease, border-color .18s ease, transform .18s ease, opacity .18s ease;
}

.gallery-arrow:hover:not(:disabled) {
  border-color: var(--purple);
  color: var(--purple);
  transform: translateY(-2px);
}

.gallery-arrow:disabled {
  cursor: default;
  opacity: .34;
}

.gallery-arrow:focus-visible,
.gallery-item:focus-visible,
.gallery-lightbox button:focus-visible {
  outline: 3px solid rgba(0, 192, 232, .52);
  outline-offset: 3px;
}

.gallery-status {
  min-width: 84px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
  text-align: center;
}

.gallery-window {
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  touch-action: pan-x pan-y;
}

.gallery-window::-webkit-scrollbar {
  display: none;
}

.gallery-track {
  display: grid;
  grid-template-rows: repeat(2, 220px);
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 42px) / 4);
  gap: 14px;
  width: 100%;
}

.gallery-item {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: #e9e3f3;
  cursor: zoom-in;
  scroll-snap-align: start;
  box-shadow: 0 12px 30px rgba(36, 20, 60, .1);
}

.gallery-item::after {
  content: "+";
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: white;
  background: rgba(18, 18, 31, .65);
  backdrop-filter: blur(8px);
  font-size: 22px;
  line-height: 1;
  opacity: 0;
  transform: scale(.85);
  transition: opacity .2s ease, transform .2s ease;
}

.gallery-item:hover::after,
.gallery-item:focus-visible::after {
  opacity: 1;
  transform: scale(1);
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease, filter .45s ease;
}

.gallery-item:hover img {
  filter: saturate(1.04);
  transform: scale(1.045);
}

.gallery-item span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  overflow: hidden;
  padding: 7px 11px;
  border-radius: 999px;
  color: #3f246a;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 8px 20px rgba(18, 18, 31, .14);
  backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gallery-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.gallery-lightbox {
  width: min(94vw, 1480px);
  max-width: none;
  height: min(92vh, 980px);
  max-height: none;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 24px;
  color: white;
  background: #111019;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .45);
}

.gallery-lightbox::backdrop {
  background: rgba(10, 7, 15, .82);
  backdrop-filter: blur(9px);
}

.gallery-lightbox[open] {
  display: grid;
  place-items: center;
}

.gallery-lightbox figure {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: center;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 30px 78px 22px;
}

.gallery-lightbox figure[aria-busy="true"] img {
  opacity: .35;
}

.gallery-lightbox img {
  display: block;
  max-width: 100%;
  max-height: calc(min(92vh, 980px) - 108px);
  margin: auto;
  object-fit: contain;
  border-radius: 13px;
  transition: opacity .18s ease;
}

.gallery-lightbox figcaption {
  min-height: 42px;
  padding-top: 14px;
  color: #e7e1f0;
  font-size: 15px;
  line-height: 1.4;
  text-align: center;
}

.gallery-lightbox-close,
.gallery-lightbox-arrow {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: rgba(255, 255, 255, .14);
  backdrop-filter: blur(8px);
  transition: background .18s ease, transform .18s ease;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-arrow:hover {
  background: var(--purple);
}

.gallery-lightbox-close {
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  font-size: 30px;
}

.gallery-lightbox-arrow {
  top: 50%;
  width: 50px;
  height: 50px;
  font-size: 22px;
  transform: translateY(-50%);
}

.gallery-lightbox-arrow:hover {
  transform: translateY(-50%) scale(1.05);
}

.gallery-lightbox-arrow--prev {
  left: 16px;
}

.gallery-lightbox-arrow--next {
  right: 16px;
}

@media (max-width: 980px) {
  .anchored-section,
  #inicio {
    scroll-margin-top: 78px;
  }

  .ecosystem-heading,
  .ecosystem-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .allied-schools-heading,
  .ally-card,
  .coming-soon-heading {
    grid-template-columns: 1fr;
  }

  .allied-schools-heading {
    gap: 14px;
  }

  .coming-soon-heading {
    gap: 8px;
  }

  .ally-media {
    min-height: 360px;
  }

  .gallery-track {
    grid-template-rows: repeat(2, 200px);
    grid-auto-columns: calc((100% - 14px) / 2);
  }
}

.brand-identity {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.footer-identity {
  display: grid;
  gap: 7px;
  max-width: 610px;
}

.footer-identity > span {
  font-weight: 650;
}

.footer-identity p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.footer-identity address {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.5;
}

.footer-identity address a {
  color: var(--ink);
  font-weight: 750;
  white-space: nowrap;
}

@media (max-width: 620px) {
  .form-card h2 {
    font-size: 36px;
  }

  .ecosystem-heading {
    margin-bottom: 28px;
  }

  .allied-schools {
    margin-top: 40px;
    padding-top: 34px;
  }

  .coming-soon-locations {
    margin-top: 36px;
  }

  .coming-soon-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .coming-location-card {
    min-height: 124px;
    padding: 22px;
    border-radius: 18px;
  }

  .coming-location-pin {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    font-size: 25px;
  }

  .allied-schools-heading {
    margin-bottom: 20px;
  }

  .ally-card {
    border-radius: 18px;
  }

  .ally-media {
    min-height: 270px;
  }

  .ally-watermark {
    top: 12px;
    right: 12px;
    width: 108px;
    padding: 8px;
    border-radius: 14px;
  }

  .ally-content {
    padding: 26px 22px 28px;
  }

  .ecosystem-media {
    padding: 10px;
  }

  .ecosystem-screen-bar {
    min-height: 44px;
    padding-bottom: 10px;
  }

  .ecosystem-feature {
    grid-template-columns: 52px 1fr;
    gap: 14px;
  }

  .ecosystem-tools {
    justify-content: flex-start;
  }

  .ecosystem-tool-note {
    text-align: left;
  }

  .gallery-heading {
    display: grid;
    gap: 20px;
  }

  .gallery-controls {
    justify-content: space-between;
    padding-bottom: 0;
  }

  .gallery-track {
    grid-template-rows: repeat(2, 152px);
    grid-auto-columns: calc((100% - 10px) / 2);
    gap: 10px;
  }

  .gallery-item {
    border-radius: 14px;
  }

  .gallery-item span {
    left: 8px;
    bottom: 8px;
    max-width: calc(100% - 16px);
    padding: 6px 9px;
    font-size: 10px;
  }

  .gallery-item::after {
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
    opacity: 1;
    transform: none;
  }

  .gallery-hint {
    align-items: flex-start;
    font-size: 12px;
  }

  .gallery-lightbox {
    width: 100vw;
    height: 100dvh;
    border-radius: 0;
  }

  .gallery-lightbox figure {
    padding: 68px 14px 72px;
  }

  .gallery-lightbox img {
    max-height: calc(100dvh - 170px);
  }

  .gallery-lightbox figcaption {
    font-size: 13px;
  }

  .gallery-lightbox-close {
    top: 12px;
    right: 12px;
  }

  .gallery-lightbox-arrow {
    top: auto;
    bottom: 14px;
    transform: none;
  }

  .gallery-lightbox-arrow:hover {
    transform: scale(1.05);
  }
}
