@font-face {
  font-family: "Apricot";
  src: url("../assets/fonts/Apricot.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

/* =========================
   RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

body {
  background: #ebebeb;
  color: #0b4a78;
  font-family: Arial, Helvetica, sans-serif;
}

/* =========================
   HEADER SUPERIOR
========================= */
.top-header {
  width: 100%;
  background: #ffffff;
  padding: 10px 10px;
  position: fixed;
  z-index: 1200;
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.logo-superior img {
  width: 100%;
  max-width: 240px;
  height: auto;
  display: block;
}

/* =========================
   NAVBAR DESKTOP
========================= */
.navbar {
  width: 100%;
  background: #083656;
  position: fixed;
  top: 0;
  z-index: 1000;
  margin-top: 98px;
  box-shadow: black 0 0 44px 0;
}

.nav-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.nav-menu {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  padding: 0;
}

.nav-menu li {
  position: relative;
}

.nav-menu li a {
  text-decoration: none;
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.62rem;
  letter-spacing: 1px;
  transition: opacity 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.nav-menu li a:hover {
  opacity: 0.8;
  transform: translateY(-1px);
  color: rgb(255, 64, 64);
}

/* =========================
   DROPDOWN DESKTOP
========================= */
.dropdown > a {
  display: inline-block;
  padding: 10px 0;
}

.submenu {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 150px;
  background: #083656;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  gap: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 1400;
}

.submenu li {
  width: 100%;
}

.submenu li a {
  display: block;
  width: 100%;
  padding: 12px 18px;
  font-size: 0.62rem;
  text-align: center;
  color: #ffffff;
  white-space: nowrap;
}

.submenu li a:hover {
  background: rgba(255,255,255,0.06);
  color: rgb(255, 64, 64);
  transform: none;
  opacity: 1;
}

.dropdown:hover .submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* =========================
   BOTÓN HAMBURGUESA
========================= */
.hamburger {
  display: none;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1300;
}

.hamburger span {
  display: block;
  width: 30px;
  height: 3px;
  background: #0b4a78;
  border-radius: 2px;
  margin: 6px 0;
  transition: 0.3s ease;
}

/* =========================
   MENÚ MOBILE
========================= */
.mobile-menu {
  display: none;
  list-style: none;
}

/* =========================
   HERO / SLIDER
========================= */
.hero {
  width: 100%;
  background: #ffffff;
  margin-top: 110px;
}

.slider {
  position: relative;
  width: 100%;
  height: 340px;
  overflow: hidden;
}

.slides {
  display: flex;
  height: 100%;
  transition: transform 0.9s ease-in-out;
}

.slide {
  min-width: 100%;
  flex: 0 0 100%;
  height: 100%;
}

.slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* =========================
  SECCIÓN DEL MENSAJE
========================= */
.mensaje-principal {
  width: 100%;
  min-height: 420px;
  padding: 70px 20px;
  background-color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
}

.mensaje-contenedor {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;

  display: flex;
  justify-content: center;
  align-items: center;
}

.eslogan {
  width: 100%;
  max-width: 760px;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Mobile */
@media (max-width: 768px) {
  .mensaje-principal {
    min-height: 300px;
    padding: 45px 18px;
  }

  .eslogan {
    max-width: 95%;
  }
}
/* =========================
   INSTALACIONES PREMIUM COMPACTA
========================= */
.instalaciones-preview {
  position: relative;
  width: 100%;
  padding: 70px 36px;
  background: linear-gradient(135deg, #083656 0%, #061f33 100%);
  overflow: hidden;
}

.instalaciones-preview::before,
.instalaciones-preview::after {
  display: none;
}

.instalaciones-preview-contenedor {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 46px;
  align-items: center;
}

.instalaciones-preview-info {
  max-width: 560px;
}

.instalaciones-etiqueta {
  display: inline-block;
  position: relative;
  color: #ff3b30;
  font-size: 0.74rem;
  letter-spacing: 4px;
  font-weight: 800;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.instalaciones-etiqueta::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  background: #ff3b30;
  margin-top: 14px;
  border-radius: 999px;
}

.instalaciones-preview-info h2 {
  font-size: clamp(2.35rem, 4.8vw, 4.6rem);
  line-height: 0.92;
  color: #ffffff;
  margin-bottom: 24px;
  font-weight: 800;
  letter-spacing: -2px;
}

.titulo-instalaciones-img {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  margin-top: 6px;
  transform: translateY(-2px);
}

.instalaciones-preview-info p {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.84);
  max-width: 500px;
}

.instalaciones-features {
  display: flex;
  gap: 22px;
  margin-top: 38px;
  flex-wrap: wrap;
}

.instalaciones-bottom {
  margin-top: 42px;
}

.btn-ver-galeria {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 34px;
  background: #ff3b30;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 2px;
  border-radius: 999px;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
  box-shadow: 0 10px 24px rgba(255, 59, 48, 0.24);
}

.btn-ver-galeria:hover {
  background: #ff2215;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(255, 59, 48, 0.34);
}

.feature-item {
  flex: 1;
  min-width: 130px;
  padding-right: 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  text-align: center;
}

.feature-item:last-child {
  border-right: none;
}

.feature-icon {
  font-size: 2.15rem;
  color: #ff3b30;
  margin-bottom: 12px;
  line-height: 1;
}

.feature-item h4 {
  font-size: 0.86rem;
  color: #ffffff;
  letter-spacing: 1px;
  margin-bottom: 7px;
  font-weight: 900;
}

.feature-item p {
  font-size: 0.72rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.74);
  letter-spacing: 0.7px;
  font-weight: 600;
}

.instalaciones-galeria {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.galeria-img {
  overflow: hidden;
  border-radius: 20px;
  background: rgba(255,255,255,0.08);
  min-height: 165px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.galeria-img.grande {
  grid-column: span 2;
  min-height: 320px;
  border-radius: 28px;
}

.galeria-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* RESPONSIVE INSTALACIONES */
@media (max-width: 1100px) {
  .instalaciones-preview-contenedor {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .instalaciones-preview-info {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .instalaciones-preview {
    padding: 64px 18px;
  }

  .instalaciones-preview-info h2 {
    font-size: 2.8rem;
  }

  .instalaciones-preview-info p {
    font-size: 0.98rem;
  }

  .instalaciones-features {
    gap: 18px;
    margin-top: 34px;
  }

  .feature-item {
    min-width: 120px;
  }

  .galeria-img.grande {
    min-height: 250px;
  }

  .galeria-img {
    min-height: 155px;
  }
}

@media (max-width: 560px) {
  .instalaciones-preview {
    padding: 54px 14px;
  }

  .instalaciones-preview-contenedor {
    gap: 34px;
  }

  .instalaciones-galeria {
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
  }

  .galeria-img.grande {
    grid-column: span 2;
    min-height: 190px;
    border-radius: 18px;
  }

  .galeria-img {
    min-height: 112px;
    border-radius: 14px;
  }

  .instalaciones-preview-info h2 {
    font-size: 2.25rem;
  }

  .instalaciones-etiqueta {
    font-size: 0.64rem;
    letter-spacing: 3px;
    margin-bottom: 18px;
  }

  .instalaciones-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .feature-item {
    min-width: 0;
    border-right: none;
    padding-right: 0;
  }

  .feature-icon {
    font-size: 1.7rem;
  }

  .feature-item h4 {
    font-size: 0.7rem;
  }

  .feature-item p {
    font-size: 0.62rem;
  }
}
@media (max-width: 768px) {
  .titulo-instalaciones-img {
    max-width: 420px;
  }
}

@media (max-width: 560px) {
  .titulo-instalaciones-img {
    max-width: 300px;
  }
}
/* =========================
   SECCIÓN NUESTROS INICIOS
========================= */
.nuestros-inicios {
  width: 100%;
  padding: 40px 20px 80px;
  background: linear-gradient(to bottom, #ffffff 0%, #e8eef5 100%);
}

.inicios-wrapper {
  max-width: 1320px;
  margin: 0 auto;
}

.inicios-encabezado {
  text-align: center;
  margin-bottom: 55px;
}

.inicios-etiqueta {
  font-family: "Apricot", 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  display: inline-block;
  margin-bottom: 14px;
  color: #ff1100;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.inicios-encabezado h2 {
  font-family: "Apricot", 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  letter-spacing: 3px;
  color: #0b4a78;
  margin-bottom: 14px;
}

.inicios-titulo {
  margin-bottom: 14px;
}

.inicios-titulo-img {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.inicios-bajada {
  max-width: 760px;
  margin: 0 auto;
  color: #496277;
  font-size: 1rem;
  line-height: 1.8;
}

.inicios-bloque {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
  margin-bottom: 34px;
}

.inicios-bloque.reverse .inicios-texto-card {
  order: 2;
}

.inicios-bloque.reverse .inicios-img-card {
  order: 1;
}

.inicios-texto-card {
  background: #ffffff;
  padding: 34px 30px;
  box-shadow: 0 10px 28px rgba(11, 74, 120, 0.08);
  border: 1px solid rgba(11, 74, 120, 0.08);
}

.inicios-texto-card p {
  color: #365066;
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 16px;
}

.inicios-texto-card p:last-child {
  margin-bottom: 0;
}

.inicios-texto-card strong {
  color: #0b4a78;
}

.inicios-img-card {
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(11, 74, 120, 0.1);
  border: 1px solid rgba(11, 74, 120, 0.08);
  min-height: 340px;
}

.inicios-img-card img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.inicios-img-card:hover img {
  transform: scale(1.03);
}

.inicios-cierre {
  margin-top: 55px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  align-items: stretch;
}

.inicios-cierre-img {
  overflow: hidden;
  min-height: 300px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(11, 74, 120, 0.1);
  border: 1px solid rgba(11, 74, 120, 0.08);
}

.inicios-cierre-img img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  display: block;
}

.inicios-fecha {
  border-radius: 26px;
  padding: 34px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #0b4a78 0%, #083656 100%);
  box-shadow: 0 12px 28px rgba(8, 54, 86, 0.18);
}

.inicios-fecha span {
  display: block;
  font-size: clamp(2.8rem, 7vw, 4.8rem);
  letter-spacing: 4px;
  color: #ffffff;
  margin-bottom: 10px;
}

.inicios-fecha p {
  color: rgba(255,255,255,0.88);
  font-size: 0.96rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  line-height: 1.6;
}

/* =========================
   RESPONSIVE INICIOS
========================= */
@media (max-width: 950px) {
  .inicios-bloque,
  .inicios-cierre {
    grid-template-columns: 1fr;
  }

  .inicios-bloque.reverse .inicios-texto-card,
  .inicios-bloque.reverse .inicios-img-card {
    order: unset;
  }
}

@media (max-width: 768px) {
  .nuestros-inicios {
    padding: 80px 16px 60px;
  }

  .inicios-encabezado {
    margin-bottom: 40px;
  }

  .inicios-encabezado h2 {
    letter-spacing: 2px;
  }

  .inicios-texto-card {
    padding: 26px 22px;
    border-radius: 20px;
  }

  .inicios-texto-card p,
  .inicios-bajada {
    font-size: 0.96rem;
    line-height: 1.8;
  }

  .inicios-img-card,
  .inicios-img-card img {
    min-height: 250px;
    border-radius: 20px;
  }

  .inicios-cierre-img,
  .inicios-cierre-img img {
    min-height: 230px;
    border-radius: 20px;
  }

  .inicios-fecha {
    border-radius: 20px;
    padding: 28px 18px;
  }

  .inicios-fecha span {
    letter-spacing: 3px;
  }
}

@media (max-width: 480px) {
  .inicios-etiqueta {
    font-size: 0.72rem;
    letter-spacing: 2px;
  }

  .inicios-encabezado h2 {
    font-size: 2rem;
  }

  .inicios-bloque {
    gap: 20px;
    margin-bottom: 24px;
  }

  .inicios-img-card,
  .inicios-img-card img {
    min-height: 220px;
  }
}

@media (max-width: 480px) {
  .inicios-titulo-img {
    max-width: 330px;
  }
}

/* =========================
   BLOQUE INSCRIPCIÓN
========================= */
.inscripcion-cta {
  position: relative;
  width: 100%;
  min-height: 320px;
  background: url("../assets/img/inicio-ourschool/footer.webp") center/cover no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.inscripcion-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
}

.inscripcion-contenedor {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.inscripcion-texto {
  max-width: 760px;
  color: white;
}

.inscripcion-texto h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 14px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
}

.inscripcion-texto p {
  font-size: 1.1rem;
  line-height: 1.7;
}

.btn-inscripcion {
  display: inline-block;
  background: #0b4a78;
  color: #ffffff;
  text-decoration: none;
  padding: 18px 34px;
  font-weight: 700;
  letter-spacing: 1px;
  transition: background 0.25s ease, transform 0.25s ease;
  white-space: nowrap;
}

.btn-inscripcion:hover {
  background: #083656;
  transform: translateY(-2px);
}

/* =========================
   FOOTER
========================= */
.footer-sanvicente {
  position: relative;
  width: 100%;
  background: #f4f4f4;
  padding: 70px 20px 30px;
  color: #3f5568;
}

.footer-contenedor {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
  margin-bottom: 45px;
}

.footer-col h3 {
  color: #0b4a78;
  font-size: 2rem;
  margin-bottom: 20px;
  font-family: sans-serif;
  letter-spacing: 1px;
}

.footer-col p {
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 0;
}

.footer-linea {
  width: 100%;
  height: 1px;
  background: rgba(11, 74, 120, 0.15);
  margin-bottom: 30px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer-bottom p {
  font-size: 0.68rem;
  color: #4f6477;
}

.footer-logos {
  width: 100%;
  max-width: 620px;
  height: auto;
  object-fit: contain;
}

@media (max-width: 900px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-logos {
    max-width: 100%;
  }
}

.footer-redes {
  display: flex;
  gap: 14px;
}

.footer-redes a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: white;
  color: #0b4a78;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 14px rgba(11, 74, 120, 0.10);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.footer-redes a:hover {
  transform: translateY(-2px);
  background: #0b4a78;
  color: white;
}

.btn-top {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 52px;
  height: 52px;
  background: #0b4a78;
  color: white;
  text-decoration: none;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: background 0.25s ease, transform 0.25s ease;
}

.btn-top:hover {
  background: #083656;
  transform: translateY(-2px);
}

/* =========================
   WHATSAPP
========================= */
.whatsapp-btn {
  position: fixed;
  right: 42px;
  bottom: 42px;
  width: 62px;
  height: 62px;
  z-index: 1500;
  transition: transform 0.25s ease;
}

.whatsapp-btn:hover {
  transform: scale(1.08);
}

.whatsapp-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* =========================
   RESPONSIVE GENERAL
========================= */
@media (max-width: 1100px) {
  .nav-menu {
    gap: 20px;
  }

  .nav-menu li a {
    font-size: 0.78rem;
  }
}

@media (max-width: 900px) {
  .inscripcion-contenedor {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .btn-top {
    position: static;
    margin: 30px auto 0;
  }

  .footer-sanvicente {
    padding-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .top-header {
    padding: 14px 16px;
  }

  .header-inner {
    justify-content: center;
  }

  .logo-superior img {
    max-width: 280px;
  }

  .hamburger {
    display: block;
  }

  .navbar {
    display: none;
  }

  .mobile-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: -16px;
    width: calc(100% + 32px);
    background: #0a446e;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    transition: max-height 0.35s ease;
    z-index: 1250;
  }

  .mobile-menu.active {
    max-height: 520px;
  }

  .mobile-menu li {
    width: 100%;
    text-align: center;
  }

  .mobile-menu li a {
    display: block;
    width: 100%;
    padding: 14px 18px;
    text-decoration: none;
    color: #ffffff;
    font-family: sans-serif;
    font-size: 0.7rem;
    letter-spacing: 2px;
    border-top: 1px solid rgba(255,255,255,0.08);
    transition: background 0.25s ease, color 0.25s ease;
  }

  .mobile-menu li:first-child a {
    border-top: none;
  }

  .mobile-menu li a:hover {
    background: rgba(255,255,255,0.06);
    color: rgb(255, 64, 64);
  }

  .slider {
    height: 310px;
  }

  .mensaje-principal {
    padding: 32px 16px 20px;
  }

  .inscripcion-cta {
    min-height: 280px;
  }

  .inscripcion-contenedor {
    padding: 32px 16px;
  }

  .inscripcion-texto p {
    font-size: 1rem;
  }

  .btn-inscripcion {
    width: 100%;
    text-align: center;
    padding: 16px 22px;
  }

  .footer-col h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .logo-superior img {
    max-width: 240px;
  }

  .slider {
    height: 230px;
  }

  .mensaje-principal h1 {
    font-size: 1.55rem;
    letter-spacing: 1.5px;
    line-height: 1.25;
  }

  .mensaje-principal h1 span {
    margin-top: 12px;
  }

  .whatsapp-btn {
    width: 54px;
    height: 54px;
    right: 14px;
    bottom: 14px;
  }
}