:root {
  --fos-blue: #0f5289;
  --fos-blue-deep: #0a3a63;
  --fos-green: #67a717;
  --fos-orange: #d96a08;
  --fos-sand: #f7f3ea;
  --fos-ink: #142033;
  --fos-muted: #5c6b7a;
  --fos-white: #fff;
  --fos-line: rgba(15, 82, 137, 0.12);
  --fos-display: "Fraunces", Georgia, serif;
  --fos-body: "Manrope", sans-serif;
  --fos-shell: min(1140px, calc(100% - 2.4rem));
  --fos-radius: 18px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.fos-body {
  margin: 0;
  font-family: var(--fos-body);
  color: var(--fos-ink);
  background:
    radial-gradient(ellipse at top left, rgba(103,167,23,.07), transparent 42%),
    radial-gradient(ellipse at top right, rgba(217,106,8,.06), transparent 40%),
    var(--fos-sand);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1,h2,h3 { font-family: var(--fos-display); line-height: 1.15; margin: 0 0 .55em; letter-spacing: -0.02em; }
.fos-shell { width: var(--fos-shell); margin-inline: auto; }
.fos-main { min-height: 45vh; }

.fos-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.fos-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(10,58,99,.08);
  border-bottom-color: var(--fos-line);
}
.fos-header__row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .7rem 0;
}
.fos-logo img { width: clamp(96px, 12vw, 128px); height: auto; background: transparent; }
.fos-nav {
  display: flex; align-items: center; gap: 1.1rem;
  font-weight: 700; font-size: .95rem;
}
.fos-nav a:not(.fos-btn):hover { color: var(--fos-blue); }
.fos-nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent;
  flex-direction: column; justify-content: center; gap: 6px; cursor: pointer;
}
.fos-nav-toggle span { display:block; height:2px; width:22px; margin-inline:auto; background: var(--fos-blue-deep); }

.fos-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .35rem;
  padding: .85rem 1.3rem; border-radius: 999px; border: 0; cursor: pointer;
  background: linear-gradient(135deg, var(--fos-green), #4f8a10);
  color: #fff !important; font-weight: 800; font-size: .92rem;
  box-shadow: 0 10px 24px rgba(103,167,23,.28);
  transition: transform .2s ease, box-shadow .2s ease;
}
.fos-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(103,167,23,.36); }
.fos-btn--sm { padding: .55rem 1rem; font-size: .86rem; }
.fos-btn--orange { background: linear-gradient(135deg, var(--fos-orange), #b85606); box-shadow: 0 10px 24px rgba(217,106,8,.28); }
.fos-btn--ghost {
  background: transparent; color: #fff !important;
  border: 1.5px solid rgba(255,255,255,.55); box-shadow: none;
}
.fos-btn--outline {
  background: #fff; color: var(--fos-blue) !important;
  border: 1.5px solid rgba(15,82,137,.22); box-shadow: none;
}

.fos-hero {
  position: relative; min-height: min(88vh, 740px);
  display: grid; align-items: end; overflow: hidden; color: #fff;
  background: var(--fos-blue-deep);
}
.fos-hero__media {
  position: absolute; inset: 0;
  background:
    linear-gradient(115deg, rgba(10,58,99,.82) 0%, rgba(15,82,137,.55) 48%, rgba(103,167,23,.22) 78%, rgba(217,106,8,.25) 100%),
    var(--fos-hero-img) center / cover no-repeat;
  animation: fosKen 20s ease-in-out infinite alternate;
}
.fos-hero__inner { position: relative; z-index: 1; padding: 5.5rem 0 4.2rem; max-width: 680px; }
.fos-hero__logo {
  width: clamp(110px, 16vw, 148px); height: auto;
  margin: 0 0 1rem;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.35));
  animation: fosUp .75s ease both;
}
.fos-kicker {
  display: inline-block; font-size: .78rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase; color: var(--fos-green);
  margin-bottom: .55rem;
}
.fos-hero .fos-kicker { color: #c8e88a; }
.fos-hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.85rem); max-width: 14ch;
  animation: fosUp .75s ease .08s both;
}
.fos-hero__lead {
  font-size: 1.08rem; max-width: 42ch; opacity: .94; margin: 0 0 1.5rem;
  animation: fosUp .75s ease .16s both;
}
.fos-hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; animation: fosUp .75s ease .24s both; }

@keyframes fosUp { from { opacity:0; transform: translateY(16px);} to { opacity:1; transform:none; } }
@keyframes fosKen { from { transform: scale(1.02);} to { transform: scale(1.08) translate(-1%,-1%); } }

[data-reveal] { opacity: 0; transform: translateY(20px); transition: .7s ease; }
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

.fos-section { padding: 4.2rem 0; }
.fos-section--white { background: #fff; }
.fos-section--tint {
  background:
    linear-gradient(180deg, rgba(103,167,23,.06), rgba(15,82,137,.05)),
    #fff;
}
.fos-section h2 { font-size: clamp(1.65rem, 3vw, 2.3rem); max-width: 18ch; }
.fos-section__lead { color: var(--fos-muted); max-width: 52ch; margin: .4rem 0 0; }

.fos-band {
  background: linear-gradient(90deg, var(--fos-blue-deep), var(--fos-blue) 55%, #1a6aad);
  color: #fff;
  padding: 1.35rem 0;
}
.fos-band__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.fos-band strong {
  display: block;
  font-family: var(--fos-display);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  color: #d7ef9a;
  line-height: 1.2;
}
.fos-band span {
  font-size: .88rem;
  opacity: .9;
}

.fos-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-top: 2rem;
}
.fos-card {
  border-radius: var(--fos-radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--fos-line);
  box-shadow: 0 10px 28px rgba(10,58,99,.06);
  transition: transform .25s ease;
}
.fos-card:hover { transform: translateY(-4px); }
.fos-card__img {
  height: 170px;
  background: center / cover no-repeat;
}
.fos-card__body { padding: 1.1rem 1.15rem 1.25rem; }
.fos-card__body h3 {
  font-size: 1.2rem;
  color: var(--fos-blue);
  margin-bottom: .35rem;
}
.fos-card__body p { margin: 0; color: var(--fos-muted); font-size: .95rem; }

.fos-split--rev { direction: rtl; }
.fos-split--rev > * { direction: ltr; }

.fos-gallery { padding: 3.5rem 0 0; background: #fff; }
.fos-gallery h2 { margin-bottom: 1.4rem; }

.fos-prog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
  margin-top: 1.8rem;
}
.fos-prog-card {
  border-radius: var(--fos-radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--fos-line);
  box-shadow: 0 12px 30px rgba(10,58,99,.07);
  transition: transform .25s ease;
}
.fos-prog-card:hover { transform: translateY(-4px); }
.fos-prog-card__img {
  height: 190px;
  background: center / cover no-repeat;
}
.fos-prog-card__body { padding: 1.15rem 1.2rem 1.35rem; }
.fos-prog-card__body h3 {
  font-size: 1.25rem;
  color: var(--fos-blue);
  margin-bottom: .4rem;
}
.fos-prog-card__body p {
  margin: 0 0 1rem;
  color: var(--fos-muted);
  font-size: .95rem;
}
.fos-prog-card__body a:not(.fos-btn) {
  font-weight: 800;
  color: var(--fos-green);
}
.fos-prog-card__body a:not(.fos-btn):hover { color: var(--fos-orange); }

.fos-gallery__strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  gap: .55rem;
  padding: 0 0.8rem 3.5rem;
  max-width: 1400px;
  margin-inline: auto;
}
.fos-gallery__strip > div {
  min-height: 170px;
  border-radius: 14px;
  background: center / cover no-repeat;
  box-shadow: 0 8px 22px rgba(10,58,99,.12);
}

.fos-pillars {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: 2rem;
}
.fos-pillar {
  padding: 1.45rem 1.3rem; border-radius: var(--fos-radius);
  background: #fff; border: 1px solid var(--fos-line);
  transition: transform .25s ease, box-shadow .25s ease;
  overflow: hidden;
}
.fos-pillars--media .fos-pillar { padding: 0; }
.fos-pillar__photo {
  height: 150px;
  background: center / cover no-repeat;
}
.fos-pillars--media .fos-pillar .fos-pillar__ico,
.fos-pillars--media .fos-pillar h3,
.fos-pillars--media .fos-pillar p { margin-left: 1.3rem; margin-right: 1.3rem; }
.fos-pillars--media .fos-pillar .fos-pillar__ico { margin-top: 1.1rem; margin-bottom: .75rem; }
.fos-pillars--media .fos-pillar h3 { margin-top: 0; }
.fos-pillars--media .fos-pillar p { margin-bottom: 1.35rem; }
.fos-pillar:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(10,58,99,.1); }
.fos-pillar__ico {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  margin-bottom: .9rem; color: #fff; font-weight: 800;
}
.fos-pillar__ico--blue { background: var(--fos-blue); }
.fos-pillar__ico--green { background: var(--fos-green); }
.fos-pillar__ico--orange { background: var(--fos-orange); }
.fos-pillar h3 { font-size: 1.2rem; font-family: var(--fos-display); }
.fos-pillar p { margin: 0; color: var(--fos-muted); font-size: .98rem; }

.fos-split {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 1.5rem; align-items: stretch; margin-top: 2rem;
}
.fos-split__media {
  min-height: 340px; border-radius: var(--fos-radius); overflow: hidden;
  background: center / cover no-repeat;
}
.fos-split__copy {
  padding: 1.6rem; background: #fff; border-radius: var(--fos-radius);
  border: 1px solid var(--fos-line); display: flex; flex-direction: column; justify-content: center;
}
.fos-split__copy p { color: var(--fos-muted); }

.fos-programs {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 1.7rem;
}
.fos-program {
  display: flex; gap: .85rem; padding: 1.05rem 1.1rem;
  background: #fff; border-radius: 14px; border: 1px solid var(--fos-line);
}
.fos-program__mark {
  flex: 0 0 auto; width: 10px; height: 10px; margin-top: .45rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--fos-green), var(--fos-orange));
}
.fos-program strong { display: block; font-size: 1rem; margin-bottom: .15rem; }
.fos-program span { color: var(--fos-muted); font-size: .92rem; }

.fos-cta {
  position: relative; isolation: isolate; overflow: hidden; color: #fff; padding: 3.4rem 0;
  background: var(--fos-blue-deep);
}
.fos-cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(120deg, rgba(10,58,99,.9), rgba(15,82,137,.78)),
    var(--fos-cta-img, none) center / cover no-repeat;
}
.fos-cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.4rem; }
.fos-cta h2 { font-size: clamp(1.45rem, 2.8vw, 2rem); max-width: 16ch; margin: 0 0 .35rem; }
.fos-cta p { margin: 0; opacity: .92; max-width: 40ch; }

.fos-page-hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  padding: 3.8rem 0 2.8rem; background: var(--fos-blue-deep);
}
.fos-page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(115deg, rgba(10,58,99,.88), rgba(15,82,137,.7)),
    var(--fos-page-img, none) center / cover no-repeat;
}
.fos-page-hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); max-width: 16ch; }
.fos-page-hero p { margin: .6rem 0 0; max-width: 48ch; opacity: .92; }
.fos-page-hero .fos-kicker { color: #c8e88a; }

.fos-mv { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; margin-top: 1.8rem; }
.fos-mv__card {
  padding: 1.45rem; border-radius: var(--fos-radius); background: #fff; border: 1px solid var(--fos-line);
}
.fos-mv__card h3 { color: var(--fos-blue); font-size: 1.2rem; }

.fos-form { display: grid; gap: 1rem; max-width: 640px; margin-top: 1.4rem; }
.fos-form label { display: grid; gap: .35rem; font-weight: 700; font-size: .92rem; }
.fos-form input, .fos-form select, .fos-form textarea {
  font: inherit; padding: .75rem .9rem; border-radius: 10px;
  border: 1px solid var(--fos-line); background: #fff; color: var(--fos-ink);
}
.fos-form textarea { min-height: 110px; resize: vertical; }
.fos-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.fos-contact {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.4rem;
  align-items: stretch;
  margin-top: .5rem;
}
.fos-contact__form .fos-form { max-width: none; }
.fos-contact__media {
  min-height: 520px;
  border-radius: var(--fos-radius);
  background: center / cover no-repeat;
  box-shadow: 0 16px 36px rgba(10,58,99,.12);
}
.fos-alert { padding: .85rem 1rem; border-radius: 10px; margin-bottom: 1rem; font-weight: 700; }
.fos-alert--ok { background: #e8f6dc; color: #3d6b0c; }
.fos-alert--err { background: #fdeceb; color: #9b1c1c; }

.fos-footer { background: #0b2c48; color: rgba(255,255,255,.88); padding-top: 2.8rem; }
.fos-footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.8rem; padding-bottom: 2.2rem;
}
.fos-footer__brand img {
  width: 112px; margin-bottom: .8rem; padding: 0;
  background: transparent; border-radius: 0;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.25));
}
.fos-footer h3 {
  font-family: var(--fos-body); font-size: .88rem; letter-spacing: .08em;
  text-transform: uppercase; margin-bottom: .8rem; color: #fff;
}
.fos-footer li + li { margin-top: .4rem; }
.fos-footer a:hover { color: #c8e88a; }
.fos-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1rem 0; font-size: .9rem; }
.fos-footer__bottom-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.fos-footer__bottom p { margin: 0; opacity: .8; }
.fos-footer__credit a {
  color: #c8e88a; font-weight: 800; border-bottom: 1px solid rgba(200,232,138,.45);
}
.fos-footer__credit a:hover { color: #fff; border-bottom-color: #fff; }

.fos-wa {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 50;
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 12px 28px rgba(37,211,102,.4);
}
.fos-wa:hover { transform: scale(1.05); }

.fos-wa-stack {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 50;
  display: flex; flex-direction: column; gap: .65rem;
}
.fos-wa-stack .fos-wa { position: static; }
.fos-wa--secondary { background: #128c7e; box-shadow: 0 12px 28px rgba(18,140,126,.35); }
.fos-btn--wa {
  background: linear-gradient(135deg, #25d366, #128c7e) !important;
  box-shadow: 0 10px 24px rgba(37,211,102,.28) !important;
  color: #fff !important;
}

.fos-course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-top: 1.8rem;
}
.fos-course-card {
  border-radius: var(--fos-radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--fos-line);
  box-shadow: 0 12px 30px rgba(10,58,99,.07);
  display: flex;
  flex-direction: column;
  transition: transform .25s ease;
}
.fos-course-card:hover { transform: translateY(-4px); }
.fos-course-card__img {
  position: relative;
  height: 160px;
  background: center / cover no-repeat;
}
.fos-course-card__tag {
  position: absolute; left: .75rem; top: .75rem;
  background: rgba(10,58,99,.88); color: #fff;
  font-size: .72rem; font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase; padding: .28rem .55rem; border-radius: 999px;
}
.fos-course-card__body {
  padding: 1rem 1.05rem 1.15rem;
  display: flex; flex-direction: column; gap: .85rem; flex: 1;
}
.fos-course-card__body h3 {
  font-size: 1.05rem; color: var(--fos-blue); margin: 0; line-height: 1.3;
}
.fos-course-card__actions {
  display: flex; flex-wrap: wrap; gap: .45rem; margin-top: auto;
}

.fos-sedes {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.6rem;
}
.fos-sede {
  display: flex; flex-direction: column; gap: .35rem;
  padding: 1.35rem 1.2rem; border-radius: var(--fos-radius);
  background: #fff; border: 1px solid var(--fos-line);
  box-shadow: 0 10px 26px rgba(10,58,99,.06);
  transition: transform .2s ease, border-color .2s ease;
}
.fos-sede:hover { transform: translateY(-3px); border-color: rgba(103,167,23,.45); }
.fos-sede strong { font-family: var(--fos-display); font-size: 1.35rem; color: var(--fos-blue); }
.fos-sede span { color: var(--fos-green); font-weight: 800; font-size: .9rem; }
.fos-sedes__wa {
  margin-top: 1.4rem; color: var(--fos-muted); display: flex; flex-wrap: wrap; gap: .65rem; align-items: center;
}
.fos-sedes__wa a { font-weight: 800; color: #128c7e; }

.fos-sponsors {
  position: relative;
  margin-top: 1.6rem;
}
.fos-sponsors__viewport {
  overflow: hidden;
  width: 100%;
  padding: .4rem 0 .8rem;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.fos-sponsors__track {
  display: flex;
  align-items: center;
  gap: .2rem;
  width: max-content;
  animation: fosSponsorsLoop 16s linear infinite;
}
.fos-sponsors:hover .fos-sponsors__track {
  animation-play-state: paused;
}
@keyframes fosSponsorsLoop {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
.fos-sponsors__item {
  flex: 0 0 auto;
  width: 150px;
  height: 92px;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
}
.fos-sponsors__item img {
  display: block;
  width: auto;
  height: 100%;
  max-width: 140px;
  max-height: 92px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 4px 10px rgba(10, 58, 99, 0.1));
}

.fos-social {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1rem;
}
.fos-social__btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff !important;
  border: 0;
  transition: transform .2s ease, opacity .2s ease;
}
.fos-social__btn:hover { transform: translateY(-2px); opacity: .92; }
.fos-social__btn--facebook { background: #1877f2; }
.fos-social__btn--instagram { background: linear-gradient(135deg, #f58529, #dd2a7b 50%, #8134af); }
.fos-social__btn--tiktok { background: #111; }
.fos-social--light { margin-top: .9rem; }

/* ========== INTERACTIVE GALLERY ========== */
.fos-ig { margin-top: 1.7rem; }
.fos-ig__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .75rem;
}
.fos-ig__item {
  position: relative;
  overflow: hidden;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: zoom-in;
  border-radius: 14px;
  background: #0a3a63;
  aspect-ratio: 1 / 1;
  box-shadow: 0 10px 24px rgba(10,58,99,.12);
  transition: transform .35s ease, box-shadow .35s ease;
}
.fos-ig__item--tall,
.fos-ig__item--wide {
  grid-row: auto;
  grid-column: auto;
}
.fos-ig__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .55s ease;
}
.fos-ig__item:hover,
.fos-ig__item:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(10,58,99,.2);
  outline: none;
}
.fos-ig__item:hover img,
.fos-ig__item:focus-visible img {
  transform: scale(1.07);
}
.fos-ig__shine {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.18) 48%, transparent 62%);
  transform: translateX(-120%);
  transition: transform .7s ease;
  pointer-events: none;
}
.fos-ig__item:hover .fos-ig__shine { transform: translateX(120%); }
.fos-ig__zoom {
  position: absolute; right: .7rem; bottom: .7rem;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(15,82,137,.88); color: #fff;
  opacity: 0; transform: scale(.85);
  transition: .25s ease;
  pointer-events: none;
}
.fos-ig__item:hover .fos-ig__zoom,
.fos-ig__item:focus-visible .fos-ig__zoom {
  opacity: 1; transform: scale(1);
}

.fos-lightbox[hidden] { display: none !important; }
.fos-lightbox {
  position: fixed; inset: 0; z-index: 80;
  display: grid; place-items: center;
  padding: 1.2rem;
}
.fos-lightbox__backdrop {
  position: absolute; inset: 0;
  background: rgba(7, 24, 42, .88);
  backdrop-filter: blur(6px);
  cursor: zoom-out;
}
.fos-lightbox__dialog {
  position: relative; z-index: 1;
  width: min(980px, 100%);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .55rem;
  animation: fosLbIn .28s ease;
}
@keyframes fosLbIn {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to { opacity: 1; transform: none; }
}
.fos-lightbox__figure {
  margin: 0;
  background: #041524;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
}
.fos-lightbox__figure img {
  width: 100%;
  max-height: min(78vh, 820px);
  object-fit: contain;
  background: #041524;
  display: block;
}
.fos-lightbox__figure figcaption {
  color: rgba(255,255,255,.82);
  font-size: .9rem;
  font-weight: 700;
  padding: .7rem 1rem 1rem;
  text-align: center;
}
.fos-lightbox__close,
.fos-lightbox__nav {
  border: 0;
  cursor: pointer;
  color: #fff;
  background: rgba(255,255,255,.12);
  border-radius: 999px;
  transition: background .2s ease, transform .2s ease;
}
.fos-lightbox__close:hover,
.fos-lightbox__nav:hover {
  background: rgba(103,167,23,.95);
  transform: scale(1.05);
}
.fos-lightbox__close {
  position: absolute;
  top: -2.4rem; right: 0;
  width: 40px; height: 40px;
  font-size: 1.6rem; line-height: 1;
}
.fos-lightbox__nav {
  width: 44px; height: 44px;
  font-size: 1.8rem; line-height: 1;
  display: grid; place-items: center;
}
body.fos-lb-open { overflow: hidden; }

.fos-team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  margin-top: 1.8rem;
}
.fos-team__card {
  background: #fff;
  border: 1px solid var(--fos-line);
  border-radius: var(--fos-radius);
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(10,58,99,.07);
}
.fos-team__card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center top;
}
.fos-team__body { padding: 1.15rem 1.2rem 1.35rem; }
.fos-team__body h3 { font-size: 1.15rem; color: var(--fos-blue); margin-bottom: .25rem; }
.fos-team__role { margin: 0; font-weight: 800; color: var(--fos-green); font-size: .92rem; }
.fos-team__born { margin: .4rem 0 0; color: var(--fos-muted); font-size: .9rem; }

.fos-wa-panel {
  background: linear-gradient(135deg, rgba(37,211,102,.12), rgba(15,82,137,.06));
  border: 1px solid rgba(37,211,102,.25);
  border-radius: var(--fos-radius);
  padding: 1.4rem 1.35rem;
  margin-bottom: 1.6rem;
}
.fos-wa-panel h2 { margin-bottom: .8rem; }
.fos-wa-panel__row { display: flex; flex-wrap: wrap; gap: .65rem; }

.fos-contact__aside { display: flex; flex-direction: column; gap: 1rem; }
.fos-contact__info {
  background: #fff; border: 1px solid var(--fos-line); border-radius: var(--fos-radius);
  padding: 1.15rem 1.2rem;
}
.fos-contact__info h3 { font-size: 1rem; color: var(--fos-blue); margin-bottom: .6rem; }
.fos-contact__info li + li { margin-top: .35rem; }
.fos-contact__info a { font-weight: 700; color: var(--fos-blue); }
.fos-contact__info a:hover { color: var(--fos-green); }
.fos-contact__aside .fos-contact__media { min-height: 280px; flex: 1; }

@media (max-width: 900px) {
  .fos-pillars, .fos-split, .fos-programs, .fos-mv, .fos-footer__grid, .fos-form__row,
  .fos-cards, .fos-band__row, .fos-prog-grid, .fos-contact,
  .fos-course-grid, .fos-sedes, .fos-team { grid-template-columns: 1fr; }
  .fos-ig__grid { grid-template-columns: repeat(2, 1fr); }
  .fos-sponsors__item { width: 120px; height: 74px; }
  .fos-sponsors__item img { max-width: 112px; max-height: 74px; }
  .fos-sponsors__track { gap: .15rem; }
  .fos-lightbox__nav { width: 38px; height: 38px; }
  .fos-contact__media { min-height: 220px; order: -1; }
  .fos-gallery__strip { grid-template-columns: repeat(2, 1fr); }
  .fos-nav-toggle { display: flex; }
  .fos-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: .5rem 1.2rem 1rem;
    border-bottom: 1px solid var(--fos-line); box-shadow: 0 16px 30px rgba(10,58,99,.1);
  }
  .fos-nav.is-open { display: flex; }
  .fos-nav a { padding: .75rem 0; border-bottom: 1px solid var(--fos-line); }
  .fos-nav .fos-btn { margin-top: .5rem; justify-content: center; }
}
@media (max-width: 560px) {
  .fos-cards, .fos-band__row, .fos-pillars { grid-template-columns: 1fr 1fr; }
  .fos-course-grid { grid-template-columns: 1fr; }
  .fos-sponsors__item { width: 100px; height: 64px; }
  .fos-sponsors__item img { max-width: 94px; max-height: 64px; }
  .fos-sponsors__track { gap: .1rem; animation-duration: 12s; }
  .fos-ig__grid { grid-template-columns: 1fr 1fr; gap: .5rem; }
  .fos-lightbox__dialog { grid-template-columns: 1fr; gap: .4rem; }
  .fos-lightbox__nav {
    position: absolute; bottom: -2.6rem;
  }
  .fos-lightbox__nav--prev { left: 20%; }
  .fos-lightbox__nav--next { right: 20%; }
}

