@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");
:root {
  --blue: #0752b5;
  --navy: #0b2549;
  --muted: #62748b;
  --light: #f2f6fc;
  --line: #dfe7f2;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  color: var(--navy);
  font:
    15px "DM Sans",
    Arial,
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #599df5;
  outline-offset: 5px;
}
.topbar {
  background: var(--navy);
  color: #dbe9ff;
  padding: 11px 6%;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 1px;
}
.topbar i {
  margin: 0 15px;
  color: #82aee7;
}
header {
  padding: 15px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffffef;
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
}
.brand img {
  width: 66px;
  height: 66px;
  object-fit: contain;
}
.brand small {
  display: block;
  color: var(--blue);
  font-size: 11px;
  margin-top: 5px;
  letter-spacing: 3px;
}
nav {
  display: flex;
  gap: 25px;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
}
nav > a:hover {
  color: var(--blue);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  background: var(--blue);
  color: white;
  border: 0;
  border-radius: 12px;
  padding: 17px 23px;
  font-weight: 600;
  box-shadow: 0 9px 20px #0752b522;
  transition:
    transform 0.22s,
    box-shadow 0.22s;
}
.button:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 27px #0752b533;
  color: white;
}
.button.small {
  padding: 12px 18px;
}
.menu-toggle {
  display: none;
}
.hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 35px;
  padding: 80px 6% 65px;
  min-height: 620px;
  background:
    radial-gradient(ellipse at 85% 30%, #e5efff, transparent 50%),
    linear-gradient(120deg, #fff, #f7faff);
  overflow: hidden;
}
.eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--blue);
  margin-bottom: 20px;
}
.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow > span {
  width: 7px;
  height: 7px;
  background: var(--blue);
  border-radius: 50%;
}
h1,
h2,
h3 {
  font-family: Manrope, Arial, sans-serif;
}
h1 {
  font-size: clamp(38px, 4.1vw, 64px);
  line-height: 1.13;
  letter-spacing: -2.7px;
  font-weight: 800;
  margin: 0 0 25px;
}
h1 em {
  font-style: normal;
  color: var(--blue);
}
p {
  color: var(--muted);
  line-height: 1.8;
}
.hero-copy > p {
  font-size: 16px;
  max-width: 470px;
}
.actions {
  display: flex;
  gap: 25px;
  align-items: center;
  margin: 32px 0 40px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: none;
  color: var(--blue);
  font-weight: 700;
  font-size: 13px;
  padding: 0;
  transition: transform 0.2s;
}
.text-link:hover {
  transform: translateY(-3px);
}
.hero-foot {
  display: flex;
  align-items: center;
  gap: 15px;
}
.hero-foot p {
  font-size: 12px;
  line-height: 1.7;
}
.seal {
  font-size: 25px;
  color: var(--blue);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #e5eeff;
  display: grid;
  place-items: center;
}
.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 430px;
}
.logo-disc {
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 30px 70px #144a9626;
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
}
.logo-disc img {
  width: 100%;
  border-radius: 50%;
  padding: 18px;
}
.orbit {
  border: 1px solid #cbdcf6;
  border-radius: 50%;
  position: absolute;
  width: 425px;
  height: 425px;
}
.orbit-two {
  width: 500px;
  height: 500px;
  border-style: dashed;
  opacity: 0.5;
}
.float-tag {
  position: absolute;
  z-index: 2;
  background: #ffffffed;
  border: 1px solid white;
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  gap: 12px;
  align-items: center;
  box-shadow: 0 15px 40px #103b7520;
  font-size: 12px;
  font-weight: 700;
}
.float-tag small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
  margin-top: 5px;
}
.tag-top {
  top: 15px;
  right: 0;
}
.tag-bottom {
  bottom: 25px;
  left: 0;
}
.icon {
  border-radius: 10px;
  background: #e9f1ff;
  color: var(--blue);
  font-size: 24px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
}
.art-caption {
  position: absolute;
  bottom: 0;
  right: 8px;
  font-size: 9px;
  letter-spacing: 2px;
  color: #6d89ac;
}
.demo-note {
  padding: 12px 6%;
  background: #eef4ff;
  color: #536987;
  font-size: 11px;
  border-block: 1px solid #dce7f8;
}
.demo-note span {
  color: var(--blue);
  font-weight: 800;
  letter-spacing: 1px;
  margin-right: 14px;
}
.quick-links {
  margin: 30px 6% 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 12px 40px #183b6608;
}
.quick-links a {
  padding: 24px 20px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  gap: 14px;
  align-items: center;
  border-right: 1px solid var(--line);
  transition: background 0.2s;
}
.quick-links a:last-child {
  border: 0;
}
.quick-links a:hover {
  background: var(--light);
}
.quick-links span {
  color: #92a6c1;
  font-size: 10px;
}
.quick-links b {
  margin-left: auto;
  color: var(--blue);
}
.section {
  padding: 80px 6%;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  margin-bottom: 35px;
}
h2 {
  font-size: 37px;
  line-height: 1.2;
  letter-spacing: -1.4px;
  margin: 0;
}
.section-heading p {
  max-width: 320px;
  font-size: 14px;
  margin: 0;
}
.institution {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
}
.institution-story {
  background: var(--light);
  border-radius: 22px;
  padding: 32px;
}
.outline-icon {
  font-size: 34px;
  color: var(--blue);
  display: block;
  margin-bottom: 24px;
}
h3 {
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: -0.5px;
  margin: 10px 0;
}
.institution-story p {
  font-size: 14px;
}
.institution-links button {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: white;
  padding: 21px 0;
  display: flex;
  justify-content: space-between;
  text-align: left;
  color: var(--navy);
  font-weight: 600;
  transition: padding 0.2s;
}
.institution-links button:hover {
  padding-left: 12px;
  color: var(--blue);
}
.pale {
  background: var(--light);
}
.two-grid,
.community-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.service-card {
  background: white;
  border-radius: 22px;
  padding: 35px;
  box-shadow: 0 15px 35px #16375d09;
}
.service-card p {
  max-width: 390px;
  font-size: 14px;
}
.blue {
  background: var(--blue);
  color: white;
}
.blue p {
  color: #d9e7ff;
}
.blue .eyebrow,
.blue .outline-icon,
.blue .text-link {
  color: white;
}
.three-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  gap: 30px;
  margin-bottom: 30px;
}
.tabs button {
  border: 0;
  background: none;
  padding: 15px 4px;
  color: var(--muted);
}
.tabs button[aria-selected="true"] {
  color: var(--blue);
  border-bottom: 3px solid var(--blue);
  font-weight: 700;
}
.course {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 30px #19365a09;
  transition: transform 0.22s;
}
.course:hover {
  transform: translateY(-6px);
}
.course-banner {
  height: 140px;
  padding: 22px;
  background: linear-gradient(135deg, #dbeaff, #f1f6ff);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--blue);
}
.course-banner span {
  font-size: 50px;
}
.course-banner b {
  font-size: 11px;
  letter-spacing: 2px;
}
.course-body {
  padding: 25px;
}
.course small,
.news-body small {
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--blue);
  font-weight: 700;
}
.course h3 {
  font-size: 19px;
  min-height: 54px;
}
.course p {
  font-size: 13px;
}
.course .text-link {
  margin-top: 15px;
}
.four-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.benefit {
  background: white;
  border-radius: 17px;
  padding: 25px;
  box-shadow: 0 14px 35px #16375d09;
}
.benefit h3 {
  font-size: 17px;
}
.benefit p {
  font-size: 12px;
}
.benefit .outline-icon {
  font-size: 28px;
}
.community-grid {
  margin-top: 32px;
}
.community-grid article {
  padding: 30px;
  border: 1px solid #d3e0f2;
  border-radius: 18px;
}
.community-grid p {
  font-size: 14px;
}
.news-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
}
.featured-news {
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
.news-art {
  background: var(--navy);
  padding: 30px 40px;
  color: white;
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
}
.news-art > span:first-child {
  font-size: 35px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -1px;
}
.news-symbol {
  font-family: Georgia;
  font-size: 240px;
  color: #5081c7;
  line-height: 1;
}
.news-body {
  padding: 26px;
}
.news-body h3 {
  font-size: 22px;
}
.news-body p {
  font-size: 13px;
}
.event {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 22px;
}
.date {
  background: var(--light);
  color: var(--blue);
  border-radius: 12px;
  min-width: 70px;
  height: 75px;
  display: grid;
  place-content: center;
  text-align: center;
  font-size: 10px;
}
.date b {
  font-size: 26px;
}
.event h3 {
  font-size: 16px;
  margin: 0 0 6px;
}
.event p {
  font-size: 12px;
  margin: 0 0 10px;
}
.search-form {
  background: white;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 10px 25px #16375d09;
  margin-bottom: 25px;
}
.search-form label {
  font-size: 12px;
  font-weight: 700;
  display: block;
  margin-bottom: 10px;
}
.search-form > div {
  display: flex;
  gap: 15px;
}
input {
  border: 1px solid #cfdaea;
  border-radius: 10px;
  padding: 15px;
  flex: 1;
  min-width: 0;
}
.person {
  padding: 22px;
  background: white;
  border-radius: 15px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.avatar {
  border-radius: 50%;
  background: #e6effc;
  color: var(--blue);
  padding: 14px;
  font-weight: 700;
}
.person h3 {
  font-size: 15px;
  margin: 0;
}
.person p {
  font-size: 11px;
  margin: 4px 0;
}
.join {
  margin: 30px 6% 0;
  border-radius: 24px;
  background: var(--blue);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px;
}
.join .eyebrow {
  color: #b9d4ff;
}
.join h2 {
  font-size: 42px;
}
.join p {
  color: #d9e7ff;
  font-size: 14px;
}
.white {
  background: white;
  color: var(--blue);
}
.white:hover {
  color: var(--blue);
}
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.contact small {
  color: var(--muted);
  font-size: 11px;
}
.contact-list span {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  font-size: 13px;
}
.contact-list b {
  color: var(--muted);
  font-weight: 400;
}
footer {
  padding: 35px 6%;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 25px;
  background: #fbfcff;
}
footer p {
  font-size: 12px;
  margin-left: auto;
}
footer > div {
  display: flex;
  gap: 20px;
  font-size: 12px;
}
footer > small {
  width: 100%;
  font-size: 10px;
  color: var(--muted);
}
dialog {
  border: 1px solid var(--line);
  border-radius: 22px;
  max-width: 620px;
  width: 90%;
  padding: 40px;
  box-shadow: 0 30px 100px #0b254933;
}
dialog::backdrop {
  background: #0b254988;
  backdrop-filter: blur(5px);
}
dialog h2 {
  font-size: 30px;
}
dialog p,
dialog li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}
dialog .button {
  margin-top: 20px;
}
.close {
  position: absolute;
  right: 16px;
  top: 12px;
  border: 0;
  background: none;
  font-size: 28px;
  color: var(--muted);
}
@media (min-width: 1500px) {
  .hero,
  .section,
  header,
  .topbar,
  footer {
    padding-left: max(6%, calc((100vw - 1300px) / 2));
    padding-right: max(6%, calc((100vw - 1300px) / 2));
  }
}
@media (max-width: 1050px) {
  nav {
    gap: 14px;
  }
  h1 {
    font-size: 45px;
  }
  .brand {
    font-size: 10px;
  }
  .logo-disc {
    width: 270px;
    height: 270px;
  }
  .orbit {
    width: 340px;
    height: 340px;
  }
  .orbit-two {
    width: 400px;
    height: 400px;
  }
  .actions {
    align-items: start;
    flex-direction: column;
    gap: 20px;
  }
  .quick-links {
    grid-template-columns: 1fr 1fr;
  }
  .quick-links a {
    border-bottom: 1px solid var(--line);
  }
  .four-grid {
    grid-template-columns: 1fr 1fr;
  }
  .tag-top {
    right: -10px;
  }
  .tag-bottom {
    left: -10px;
  }
}
@media (max-width: 760px) {
  .topbar {
    font-size: 9px;
  }
  .topbar > span:nth-child(2) {
    font-size: 0;
  }
  .topbar a {
    font-size: 10px;
  }
  .topbar i {
    display: none;
  }
  header {
    padding: 10px 5%;
  }
  .brand img {
    width: 52px;
    height: 52px;
  }
  .menu-toggle {
    display: block;
    border: 0;
    background: var(--light);
    color: var(--blue);
    padding: 10px;
    border-radius: 10px;
  }
  nav {
    display: none;
    position: absolute;
    top: 73px;
    left: 0;
    right: 0;
    background: white;
    padding: 20px 6%;
    box-shadow: 0 20px 30px #15345915;
    align-items: stretch;
  }
  nav.open {
    display: flex;
    flex-direction: column;
  }
  nav a {
    padding: 9px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 45px 6% 35px;
    gap: 15px;
  }
  h1 {
    font-size: 43px;
    letter-spacing: -2px;
  }
  .hero-copy > p {
    font-size: 14px;
  }
  .actions {
    margin: 25px 0;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
  .hero-foot {
    margin-bottom: 5px;
  }
  .hero-art {
    min-height: 350px;
  }
  .logo-disc {
    width: 250px;
    height: 250px;
  }
  .orbit {
    width: 300px;
    height: 300px;
  }
  .orbit-two {
    width: 350px;
    height: 350px;
  }
  .float-tag {
    padding: 12px;
    font-size: 10px;
  }
  .tag-top {
    right: 0;
    top: 0;
  }
  .tag-bottom {
    left: 0;
    bottom: 15px;
  }
  .art-caption {
    bottom: -10px;
  }
  .demo-note {
    line-height: 1.7;
  }
  .demo-note span {
    display: block;
  }
  .quick-links {
    margin-top: 20px;
  }
  .quick-links a {
    padding: 18px 12px;
    font-size: 10px;
    gap: 7px;
  }
  .section {
    padding: 50px 6%;
  }
  .section-heading {
    flex-direction: column;
    align-items: start;
    gap: 18px;
  }
  h2 {
    font-size: 30px;
  }
  .section-heading p {
    max-width: 100%;
  }
  .institution,
  .two-grid,
  .three-grid,
  .community-grid,
  .news-layout,
  .contact {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .four-grid {
    gap: 12px;
  }
  .benefit {
    padding: 19px;
  }
  .benefit h3 {
    font-size: 15px;
  }
  .course h3 {
    min-height: 0;
  }
  .course-banner {
    height: 110px;
  }
  .join {
    padding: 30px;
    flex-direction: column;
    align-items: start;
    gap: 15px;
  }
  .join h2 {
    font-size: 32px;
  }
  .search-form {
    padding: 18px;
  }
  .search-form > div {
    flex-direction: column;
  }
  .tabs {
    gap: 18px;
  }
  .tabs button {
    font-size: 12px;
  }
  footer {
    gap: 20px;
  }
  footer p {
    margin-left: 0;
  }
  dialog {
    padding: 30px 23px;
  }
  .contact-list span {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}

.topbar {
  align-items: center;
  gap: 16px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 22px;
}
.social-links {
  display: flex;
  gap: 8px;
  align-items: center;
}
.social-link {
  width: 30px;
  height: 30px;
  border: 1px solid #ffffff25;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: #ffffff0a;
  color: #eef5ff;
  transition:
    transform 0.22s,
    box-shadow 0.22s,
    background 0.22s;
}
.social-link svg {
  width: 15px;
  height: 15px;
}
.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-4px);
  background: #ffffff22;
  box-shadow: 0 7px 14px #00000030;
}
.developer-credit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}
.developer-credit strong {
  color: var(--blue);
  font-weight: 800;
  letter-spacing: 0.2px;
}
.developer-credit > span {
  color: var(--blue);
  font-weight: 700;
  font-size: 14px;
  margin-left: 2px;
}
@media (max-width: 760px) {
  .topbar-right {
    gap: 12px;
  }
  .topbar-message {
    display: none;
  }
  .topbar .social-link {
    width: 29px;
    height: 29px;
  }
  .topbar-contact {
    display: none;
  }
  .social-links {
    gap: 6px;
  }
  .developer-credit {
    justify-content: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .social-link:hover,
  .social-link:focus-visible {
    transform: none;
  }
}

.developer-credit .developer-logo {
  display: block;
  width: 180px;
  max-width: 45vw;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.developer-credit > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  margin: 0;
}
.developer-credit {
  gap: 12px;
}

footer .developer-credit {
  justify-content: flex-end;
  gap: 8px;
  padding-top: 14px;
}
footer .developer-credit .developer-logo {
  width: 95px;
  max-width: 30vw;
  height: auto;
}
footer .developer-credit > span {
  font-size: 10px;
}

/* Navegación ovalada y flotante */
header {
  margin: 18px 3% 0;
  padding: 12px 3%;
  border: 1px solid #e4ecf8;
  border-radius: 999px;
  top: 16px;
  box-shadow:
    0 14px 36px #0b254918,
    0 3px 8px #0b254908;
  background: #ffffffed;
}
.hero {
  margin-top: -1px;
  padding-top: 65px;
}
@media (min-width: 1500px) {
  header {
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 32px;
    padding-right: 32px;
  }
}
@media (max-width: 760px) {
  header {
    margin: 12px 4% 0;
    padding: 9px 18px;
    top: 12px;
    border-radius: 999px;
  }
  header nav {
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 18px 22px;
    box-shadow: 0 16px 36px #0b25491c;
  }
  header .menu-toggle {
    border-radius: 50%;
  }
  .hero {
    padding-top: 40px;
  }
}

/* Barra superior azul ovalada */
.topbar {
  margin: 12px 3% 0;
  border-radius: 999px;
  padding: 8px 3%;
  box-shadow: 0 8px 22px #0b25491c;
}
@media (min-width: 1500px) {
  .topbar {
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 32px;
    padding-right: 32px;
  }
}
@media (max-width: 760px) {
  .topbar {
    margin: 10px 4% 0;
    padding: 8px 18px;
    border-radius: 999px;
    gap: 10px;
  }
}

.hero-carousel {
  position: relative;
  background: #f3f7fd;
}
.hero-carousel .hero {
  min-height: 620px;
  padding-bottom: 85px;
}
.hero-carousel [hidden] {
  display: none !important;
}
.photo-slide {
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.banner-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.photo-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 22, 49, 0.48),
    rgba(5, 22, 49, 0.08) 42%,
    rgba(5, 22, 49, 0.76)
  );
}
.photo-caption {
  position: relative;
  z-index: 1;
  color: white;
  text-shadow: 0 2px 12px #0005;
}
.photo-caption .eyebrow {
  color: #e2efff;
}
.photo-caption h2 {
  font-size: 44px;
  line-height: 1.2;
}
.banner-controls {
  position: absolute;
  z-index: 3;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fffffff0;
  box-shadow: 0 8px 24px #0b25491c;
}
.banner-controls button {
  border: 0;
  color: var(--blue);
  transition:
    transform 0.2s,
    background 0.2s;
}
.banner-controls button:hover {
  transform: translateY(-3px);
  background: #dbeaff;
}
.banner-arrow,
.banner-pause {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #eef4ff;
  font-size: 23px;
  display: grid;
  place-items: center;
}
.banner-pause {
  font-size: 14px;
}
.banner-dots {
  display: flex;
  gap: 9px;
}
.banner-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  padding: 0;
  background: #bfd0e8;
}
.banner-dots button[aria-pressed="true"] {
  background: var(--blue);
  width: 23px;
  border-radius: 8px;
}
@media (max-width: 760px) {
  .hero-carousel .hero:not(.photo-slide) {
    min-height: 820px;
  }
  .hero-carousel .photo-slide {
    min-height: 820px;
  }
  .photo-caption h2 {
    font-size: 32px;
  }
  .banner-photo {
    object-fit: contain;
    background: #0b2549;
  }
  .photo-shade {
    background: linear-gradient(180deg, #05163160, transparent 45%, #051631a6);
  }
  .photo-caption {
    margin-bottom: 15px;
  }
}

/* Fotografía institucional con velo azul en mediación */
#mediacion {
  background-color: var(--blue);
  background-image:
    linear-gradient(115deg, rgba(4, 30, 65, 0.62), rgba(7, 82, 181, 0.22)),
    url("assets/mediacion.jpeg");
  background-size: cover;
  background-position: center;
  box-shadow: 0 15px 35px #0752b522;
}
#mediacion p {
  color: #f0f5ff;
}
#mediacion h3 {
  color: white;
  text-shadow: 0 2px 8px #05255345;
}

.club-hero {
  position: relative;
  min-height: 580px;
  margin-top: 18px;
  padding: 65px 6%;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.club-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.club-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #06294dde, #06294d33);
}
.club-hero-copy {
  position: relative;
  color: white;
  max-width: 690px;
}
.club-hero-copy .eyebrow {
  color: #d3e6ff;
}
.club-hero-copy p {
  color: #edf4ff;
  max-width: 500px;
}
.club-hero-copy h1 {
  font-size: 52px;
}
.club-back {
  display: inline-block;
  margin-bottom: 32px;
  font-size: 12px;
  color: #edf4ff;
}
.club-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.club-photo {
  margin: 0;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 35px #16375d10;
}
.club-photo button {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  width: 100%;
  background: #e8eef8;
  overflow: hidden;
}
.club-photo img {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.3s;
}
.club-photo button:hover img {
  transform: scale(1.04);
}
.club-photo button > span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  background: #fffffff0;
  padding: 9px 13px;
  border-radius: 99px;
  font-size: 11px;
  color: var(--blue);
  box-shadow: 0 5px 20px #0002;
}
.club-photo figcaption {
  padding: 22px;
}
.club-photo h3 {
  font-size: 18px;
  margin: 0;
}
.club-photo p {
  font-size: 12px;
  margin-bottom: 0;
}
.club-faq {
  margin-top: 30px;
}
.club-faq details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.club-faq summary {
  cursor: pointer;
  font-weight: 600;
}
.club-faq p {
  font-size: 14px;
}
.club-lightbox {
  max-width: 1000px;
  padding: 40px 20px 15px;
  background: #fff;
}
.club-lightbox img {
  display: block;
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  margin: auto;
}
.club-lightbox p {
  text-align: center;
  margin-bottom: 0;
}
@media (max-width: 1000px) {
  .club-gallery {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 760px) {
  .club-hero {
    min-height: 540px;
    padding: 40px 6%;
  }
  .club-hero-copy h1 {
    font-size: 38px;
  }
  .club-gallery {
    grid-template-columns: 1fr;
  }
  .club-photo img {
    height: 350px;
  }
  .club-hero-shade {
    background: linear-gradient(90deg, #06294dd9, #06294d55);
  }
}
