:root {
  --li-blue: #17345f;
  --li-blue-2: #245b96;
  --li-gold: #f9b718;
  --li-gold-2: #f08d16;
  --li-ink: #14213d;
  --li-muted: #6b7280;
  --li-bg: #f5f8fc;
  --li-white: #ffffff;
  --li-shadow: 0 18px 45px rgba(20, 33, 61, 0.14);
  --li-soft-shadow: 0 10px 25px rgba(20, 33, 61, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--li-bg);
  color: var(--li-ink);
  padding-top: 70px;
  width: 100%;
  max-width: none !important;
  min-width: 0 !important;
  overflow-x: hidden;
}

body > div[style*="height: 70px"] {
  height: 0 !important;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 18%, rgba(249, 183, 24, 0.14), transparent 28%),
    radial-gradient(circle at 86% 8%, rgba(36, 91, 150, 0.12), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f5f8fc 42%, #eef4fb 100%);
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
}

.menu {
  height: 78px;
  background: rgba(23, 52, 95, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 30px rgba(13, 31, 59, 0.18);
  backdrop-filter: blur(14px);
}

.menu__container {
  width: min(94%, 1320px);
}

.menu .logo {
  max-width: 178px;
  margin-left: 0;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.14));
}

.menu__links {
  position: static;
  margin: 0;
  gap: 4px;
}

.menu__link {
  height: auto;
  min-height: 44px;
  margin: 0 2px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
  transition: background-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.menu__link:hover,
.menu__item:hover > .menu__link {
  color: #10284c;
  background: var(--li-gold);
  transform: translateY(-1px);
}

.menu__nesting {
  right: auto;
  left: 0;
  top: calc(100% + 10px);
  bottom: auto;
  min-width: 230px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  background: rgba(23, 52, 95, 0.98);
  box-shadow: var(--li-shadow);
  transform: none;
}

.menu__link--inside {
  width: 100%;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 10px;
  color: #fff;
}

.menu__link--inside:hover {
  background: rgba(249, 183, 24, 0.95);
}

.menu__hamburguer {
  border-radius: 12px;
}

.slider {
  width: min(96%, 1480px);
  height: clamp(330px, 52vw, 690px);
  max-height: none;
  margin: 18px auto 44px;
  border-radius: 24px;
  background: #10284c;
  box-shadow: var(--li-shadow);
  isolation: isolate;
}

.slider::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 23, 48, 0.2), transparent 26%, transparent 72%, rgba(8, 23, 48, 0.16)),
    linear-gradient(180deg, transparent 68%, rgba(8, 23, 48, 0.28));
}

.slider img {
  height: 100%;
  object-fit: cover;
}

.slider-nav {
  z-index: 3;
  bottom: 18px;
  left: 50%;
  display: flex;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
  transform: translateX(-50%);
  backdrop-filter: blur(10px);
}

.slider-nav span {
  width: 11px;
  height: 11px;
  margin: 0;
  border: 2px solid rgba(23, 52, 95, 0.2);
  background: rgba(23, 52, 95, 0.35);
}

.slider-nav span.active {
  width: 30px;
  border-radius: 999px;
  background: var(--li-gold);
}

.section3,
.proyectos-section3,
.section5 {
  width: min(94%, 1280px);
  margin: 38px auto;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--li-soft-shadow);
}

.section3 {
  overflow: hidden;
  padding: clamp(18px, 3vw, 34px);
}

.section3::before,
.proyectos-section3::before,
.section5::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(249, 183, 24, 0.1), transparent 42%, rgba(36, 91, 150, 0.08));
}

.section3 > *,
.proyectos-section3 > *,
.section5 > * {
  position: relative;
  z-index: 1;
}

.cuadrado-png,
.admision-png,
.texto-png,
.saladeventas-png {
  filter: drop-shadow(0 10px 18px rgba(20, 33, 61, 0.12));
}

#btninformateaqui,
.wrapper5-box11 .btn {
  border: 0;
  background: transparent;
  transition: transform 0.2s ease, filter 0.2s ease;
}

#btninformateaqui:hover,
.wrapper5-box11 .btn:hover {
  transform: translateY(-2px) scale(1.02);
  filter: drop-shadow(0 12px 20px rgba(249, 183, 24, 0.28));
}

.proyectos-section3 {
  overflow: hidden;
  padding: clamp(18px, 3vw, 32px);
}

.proyectos-section3-div2-div1-div1-asesor {
  margin: 12px;
  padding: 12px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(20, 33, 61, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.proyectos-section3-div2-div1-div1-asesor:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(20, 33, 61, 0.16);
}

.section5 {
  grid-template-columns: minmax(260px, 0.95fr) minmax(300px, 1.05fr);
  align-items: center;
  gap: clamp(18px, 4vw, 50px);
  padding: clamp(22px, 4vw, 48px);
}

.div5 {
  align-items: end;
  justify-items: center;
}

.familia-png {
  width: min(100%, 720px);
  filter: drop-shadow(0 16px 28px rgba(20, 33, 61, 0.16));
}

.section5 form {
  width: 100%;
}

.wrapper5 {
  width: min(100%, 520px);
  min-width: 0;
  margin: 0 auto;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(23, 52, 95, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 45px rgba(20, 33, 61, 0.12);
}

.wrapper5-box1 {
  display: none;
}

.wrapper5-box2,
.wrapper5-box3 {
  margin-bottom: 10px;
}

.wrapper5 .form-control {
  min-height: 48px;
  border: 1px solid rgba(23, 52, 95, 0.14);
  border-radius: 12px;
  color: var(--li-ink);
  background: #f8fbff;
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.wrapper5 .form-control:focus {
  border-color: var(--li-gold);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(249, 183, 24, 0.18);
}

.wrapper5 .form-control::placeholder {
  color: #7a8495;
}

.wrapper5-box11 {
  justify-items: center;
  padding-top: 8px;
}

.wrapper5-box11 .btn {
  width: min(100%, 260px);
  min-height: 52px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--li-gold), var(--li-gold-2));
  box-shadow: 0 14px 30px rgba(240, 141, 22, 0.24);
}

.wrapper5-box11 .btn img {
  width: min(62%, 150px) !important;
}

footer {
  margin-top: 56px;
  background:
    linear-gradient(135deg, rgba(23, 52, 95, 0.98), rgba(13, 31, 59, 0.98)),
    #17345f;
}

.footer {
  width: min(94%, 1280px);
  grid-template-columns: 1.35fr repeat(3, 1fr) 0.2fr;
  gap: 28px;
  margin: 0 auto;
  padding: 42px 0;
  align-items: start;
}

body > footer,
footer {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.nosotrosimg,
.textoHistoriaIMG {
  width: min(94%, 1280px);
  margin: 26px auto;
}

.nosotrosdiv,
.textoHistoriaIMG-div {
  width: 100%;
}

.nosotrosdiv {
  grid-template-columns: minmax(12px, 1fr) minmax(0, 980px) minmax(12px, 1fr);
}

.textoHistoriaIMG-div {
  grid-template-columns: minmax(12px, 0.4fr) minmax(300px, 1fr) minmax(300px, 1fr) minmax(12px, 0.4fr);
  gap: clamp(18px, 3vw, 42px);
  align-items: center;
  padding: clamp(18px, 3vw, 34px);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--li-soft-shadow);
}

.h3alignsecc1 {
  color: #0f1950;
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  line-height: 1.45;
  font-weight: 800;
}

#imgnhistoria {
  width: min(100%, 760px);
  filter: drop-shadow(0 10px 22px rgba(20, 33, 61, 0.14));
}

#imagencolantiguo {
  width: min(100%, 560px) !important;
  height: auto !important;
  max-height: 620px;
  object-fit: contain;
  filter: drop-shadow(0 16px 28px rgba(20, 33, 61, 0.16));
}

.footer img {
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer a:hover img {
  transform: translateY(-2px);
  opacity: 0.92;
}

.h3color {
  margin-bottom: 14px;
  color: var(--li-gold);
  font-size: 1.12rem;
  font-weight: 800;
}

.p {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.45;
}

.footer a .p:hover {
  color: #fff;
}

.swal2-popup.transparent-bg {
  box-shadow: none;
}

.swal2-image {
  box-shadow: var(--li-shadow);
}

@media screen and (max-width: 1100px) {
  .menu__link {
    padding: 0 10px;
    font-size: 0.88rem;
  }

  .menu .logo {
    max-width: 150px;
  }
}

@media screen and (max-width: 900px) {
  body {
    padding-top: 70px;
  }

  .menu {
    height: 70px;
  }

  .menu__container {
    width: 92%;
  }

  .menu .logo {
    max-width: 145px;
    margin-left: 0;
  }

  .menu__hamburguer {
    display: flex;
    background: rgba(255, 255, 255, 0.12);
  }

  .menu__links {
    position: fixed;
    top: 70px;
    right: 0;
    bottom: 0;
    width: min(100%, 420px);
    padding: 18px;
    gap: 8px;
    background: rgba(23, 52, 95, 0.98);
    box-shadow: -20px 0 45px rgba(13, 31, 59, 0.24);
  }

  .menu__link {
    justify-content: space-between;
    min-height: 52px;
    margin: 0;
    padding: 0 18px;
    border-radius: 12px;
  }

  .menu__nesting {
    padding: 0 0 0 14px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .menu__link--inside {
    width: 100%;
    color: rgba(255, 255, 255, 0.9);
  }

  .slider {
    width: 94%;
    height: 360px;
    margin-top: 18px;
    border-radius: 18px;
  }

  .section3,
  .proyectos-section3,
  .section5 {
    width: 94%;
    margin: 26px auto;
    border-radius: 18px;
  }

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

  .familia-png {
    max-height: 420px;
    object-fit: contain;
  }

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

  .textoHistoriaIMG-div {
    grid-template-columns: 1fr !important;
    gap: 18px;
  }

  .textoHistoriaIMG-div0,
  .textoHistoriaIMG-div3 {
    display: none !important;
  }

  .textoHistoriaIMG-div1,
  .textoHistoriaIMG-div2 {
    grid-column: 1 / 2 !important;
  }

  .textoHistoriaIMG-div1 {
    grid-row: 1 / 2 !important;
  }

  .textoHistoriaIMG-div2 {
    grid-row: 2 / 3 !important;
  }

  .box5 {
    display: none !important;
  }
}

@media screen and (max-width: 576px) {
  .slider {
    height: 260px;
    border-radius: 14px;
  }

  .slider-nav {
    bottom: 12px;
  }

  .section3,
  .proyectos-section3,
  .section5 {
    width: 92%;
    padding: 16px;
  }

  .wrapper5 {
    padding: 18px;
    border-radius: 16px;
  }

  .wrapper5 .form-control {
    min-height: 44px;
    font-size: 0.92rem;
  }

  .footer {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}
