/* ===== VARIABLES Y CONFIGURACIÓN GLOBAL ===== */
:root {
  /* Fuentes */
      --default-font: "Inter", system-ui, -apple-system, sans-serif;
      --heading-font: "Open Sans", sans-serif;
      --nav-font: "Inter", serif;
      --montserrat-font: "Open Sans", sans-serif;

  /* Colores principales */
  --background-color: #ffffff;
  --default-color: #555555;
  --heading-color: #222222;
  --accent-color: #dcaa00;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
  --institutional-blue: #142C76;
  --institutional-gold: #EAB300;

  /* Colores de navegación */
  --nav-color: #142c76;
  --nav-hover-color: #dcaa00;
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #142c76;
  --nav-dropdown-hover-color: #dcaa00;

  /* Smooth scroll */
  scroll-behavior: smooth;
}

/* Presets de color */
.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
  background-color: var(--background-color);
  color: var(--default-color);
}

/* ===== ESTILOS GENERALES ===== */
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
  margin: 0;
  padding: 0;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--background-color);
  font-family: var(--heading-font);
  margin-top: 0;
}

section,
.section {
  scroll-margin-top: 85px;
  overflow: clip;
}

/* ===== HEADER Y NAVEGACIÓN ===== */
.header {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 15px 0;
  transition: all 0.5s;
  z-index: 997;
  position: relative;
}

.header .logo img {
  max-height: 95px;
  margin-right: 35px;
  transition: all 0.3s ease;
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
  background-color: rgba(255, 255, 255, 0.95);
}

.scrolled .header .logo img {
  max-height: 90px;
}

/* Navegación Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu a {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 13px;
    font-family: var(--nav-font);
    font-weight: 500;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover>a,
  .navmenu .active {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown {
    position: relative;
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a:hover {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Navegación Mobile */
@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 66px;
  }

  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu ul {
    display: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
    list-style: none;
  }

  .navmenu a {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a:hover,
  .navmenu .active {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}
/* ===== SECCIÓN OFERTA ACADÉMICA ===== */
.oferta-academica-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  position: relative;
  padding: 80px 0;
}

.oferta-academica-section .section-header .divider {
  width: 60px;
  height: 4px;
  margin-top: 15px;
  background-color: var(--institutional-gold);
}

.nivel-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  height: 100%;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.nivel-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--institutional-blue);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nivel-card:hover {
  transform: translateY(-10px);
  border-color: var(--institutional-blue);
  box-shadow: 0 20px 40px rgba(20, 44, 118, 0.15);
}

.nivel-card:hover::before {
  transform: scaleX(1);
}

.nivel-icon {
  font-size: 50px;
  margin-bottom: 20px;
  height: 80px;
  width: 80px;
  line-height: 80px;
  border-radius: 50%;
  margin: 0 auto 25px;
  transition: all 0.3s ease;
}

/* Colores específicos para cada nivel */
.universidad .nivel-icon {
  background: linear-gradient(135deg, #142C76, #2a4cbb);
  color: white;
}

.preparatoria .nivel-icon {
  background: linear-gradient(135deg, #EAB300, #ffd700);
  color: white;
}

.secundaria .nivel-icon {
  background: linear-gradient(135deg, #4CAF50, #66BB6A);
  color: white;
}

.primaria .nivel-icon {
  background: linear-gradient(135deg, #FF9800, #FFB74D);
  color: white;
}

.preescolar .nivel-icon {
  background: linear-gradient(135deg, #9C27B0, #BA68C8);
  color: white;
}

.maternal .nivel-icon {
  background: linear-gradient(135deg, #00BCD4, #4DD0E1);
  color: white;
}

.nivel-card h4 {
  color: var(--institutional-blue);
  margin-bottom: 15px;
  font-weight: 700;
  font-size: 24px;
  transition: color 0.3s ease;
}

.nivel-card p {
  color: #666;
  margin-bottom: 25px;
  font-size: 16px;
  line-height: 1.6;
  min-height: 48px;
}

.nivel-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.nivel-footer span {
  color: var(--institutional-blue);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.nivel-card:hover .nivel-footer span {
  color: var(--institutional-gold);
  transform: translateX(5px);
}

.nivel-card:hover .nivel-icon {
  transform: scale(1.1) rotate(5deg);
}

/* Modal de cada nivel */
.modal-content {
  border-radius: 15px;
  border: none;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.modal-header {
  background: linear-gradient(135deg, var(--institutional-blue), #2a4cbb);
  color: white;
  border-radius: 15px 15px 0 0;
  padding: 25px;
}

.modal-title {
  font-weight: 700;
}

.modal-body {
  padding: 30px;
}

.btn-lg {
  padding: 15px 40px;
  font-size: 18px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.btn-lg:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(20, 44, 118, 0.3);
}

/* Animación de entrada */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nivel-card {
  animation: fadeInUp 0.6s ease forwards;
}

/* Retrasos para animación escalonada */
.nivel-card:nth-child(1) { animation-delay: 0.1s; }
.nivel-card:nth-child(2) { animation-delay: 0.2s; }
.nivel-card:nth-child(3) { animation-delay: 0.3s; }
.nivel-card:nth-child(4) { animation-delay: 0.4s; }
.nivel-card:nth-child(5) { animation-delay: 0.5s; }
.nivel-card:nth-child(6) { animation-delay: 0.6s; }

/* Responsive */
@media (max-width: 768px) {
  .oferta-academica-section {
    padding: 50px 0;
  }
  
  .nivel-card {
    padding: 20px;
    margin-bottom: 20px;
  }
  
  .nivel-icon {
    font-size: 40px;
    height: 70px;
    width: 70px;
    line-height: 70px;
  }
  
  .btn-lg {
    width: 100%;
    padding: 15px;
  }
}

/* ===== CARRUSEL ===== */
#carrusel {
  position: relative;
  background-color: var(--institutional-blue);
  overflow: hidden;
}

#carrusel .carousel-item {
  height: 800px;
  overflow: hidden;
  position: relative;
  background-color: var(--institutional-blue);
}

#carrusel .carousel-item img {
  height: 100%;
  object-fit: cover;
  width: 100%;
  filter: brightness(0.7);
  transition: transform 0.5s ease;
}

#carrusel .carousel-item.active img {
  transform: scale(1.02);
}

/* Overlay oscuro */
#carrusel .carousel-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(20, 44, 118, 0.3), rgba(0, 0, 0, 0.4));
  z-index: 1;
}

/* Captions del carrusel */
#carrusel .carousel-caption {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  text-align: left;
  max-width: 70%;
  z-index: 2;
  animation: fadeInUp 1s ease-out;
}

#carrusel .carousel-caption h2 {
  font-size: 56px;
  color: #fff;
  font-weight: 700;
  line-height: 70px;
  margin-bottom: 40px;
  text-transform: uppercase;
  font-family: var(--montserrat-font);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

#carrusel .carousel-caption h2 em {
  color: var(--institutional-gold);
  font-style: normal;
}

/* Botón Naranja */
.orange-button a {
  font-size: 14px;
  color: #fff;
  background-color: var(--institutional-gold);
  padding: 12px 30px;
  display: inline-block;
  border-radius: 5px;
  font-weight: 500;
  text-transform: capitalize;
  letter-spacing: 0.5px;
  transition: all .3s;
  font-family: var(--montserrat-font);
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(234, 179, 0, 0.3);
  border: 2px solid transparent;
}

.orange-button a:hover {
  background-color: transparent;
  border-color: var(--institutional-gold);
  color: var(--institutional-gold);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(234, 179, 0, 0.4);
}

/* INDICADORES DEL CARRUSEL CORREGIDOS (para <li>) */
#carrusel .carousel-indicators {
  bottom: 30px;
  z-index: 2;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  list-style: none;
}

#carrusel .carousel-indicators li {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  margin: 0 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-indent: -9999px;
  /* Oculta el texto del número */
}

#carrusel .carousel-indicators li.active {
  background-color: var(--institutional-gold);
  width: 40px;
  border-radius: 6px;
}

/* Controles de navegación */
#carrusel .carousel-control-prev,
#carrusel .carousel-control-next {
  width: 8%;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

#carrusel:hover .carousel-control-prev,
#carrusel:hover .carousel-control-next {
  opacity: 1;
}

#carrusel .carousel-control-prev-icon,
#carrusel .carousel-control-next-icon {
  background-color: rgba(20, 44, 118, 0.8);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  background-size: 30%;
  border: 2px solid var(--institutional-gold);
}

#carrusel .carousel-control-prev-icon:hover,
#carrusel .carousel-control-next-icon:hover {
  background-color: var(--institutional-gold);
}

/* --ADMISIONES-- */
.section-heading {
  position: relative;
  z-index: 2;
  margin-top: 0px;
  text-align: center;
  margin-bottom: 70px;
}

.section-heading h6 {
  font-size: 16px;
  text-transform: uppercase;
  color: #EAB300;
  font-weight: 700;
}

.section-heading h4 {
  margin-top: 10px;
  line-height: 40px;
  font-size: 36px;
  font-weight: 700;
  text-transform: capitalize;
  color: #142C76;
}

/* Estilo recomendado para el párrafo */
.section-heading p {
  margin-top: 20px;
  font-size: 1.25rem;
  color: #142C76;
  font-weight: 500;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
  padding: 0 20px;
  position: relative;
  font-family: var(--montserrat-font);
}

/* Para dispositivos móviles */
@media (max-width: 768px) {
  .section-heading p {
    font-size: 1.1rem;
    padding: 0 15px;
    line-height: 1.6;
  }

  .section-heading h4 {
    font-size: 28px;
    line-height: 1.3;
  }
}

/* Estilos específicos para la página Sobre Nosotros */
.sobre-nosotros-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  padding-top: 110px;
  /* Altura aproximada de tu header */
}

.titulo-principal {
  text-align: center;
  margin-bottom: 60px;
}

.titulo-principal h1 {
  font-size: 42px;
  font-weight: 700;
  text-transform: uppercase;
  color: #142C76;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.titulo-principal h1:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #EAB300;
}

.seccion {
  margin-bottom: 80px;
}

.seccion-titulo {
  text-align: center;
  margin-bottom: 40px;
}

.seccion-titulo h2 {
  font-size: 32px;
  font-weight: 700;
  color: #142C76;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.seccion-titulo h2:after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #EAB300;
}

.valores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.valor-item {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: all 0.3s ease;
}

.valor-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.valor-icono {
  font-size: 40px;
  color: #EAB300;
  margin-bottom: 20px;
}

.valor-item h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #142C76;
}

/* Estilos para el organigrama - VERSIÓN RESPONSIVA */
.organigrama {
  margin-top: 50px;
  width: 100%;
  overflow: hidden;
}

.organigrama-container {
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.nivel-directivo {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.directivo {
  background-color: #142C76;
  color: white;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  width: 250px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 2;
  position: relative;
}

.directivo h4 {
  color: white;
  margin-bottom: 10px;
  font-size: 18px;
}

.directivo p {
  color: #EAB300;
  font-size: 14px;
}

.conector {
  position: relative;
  height: 30px;
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.conector:after {
  content: '';
  position: absolute;
  top: 0;
  width: 2px;
  height: 100%;
  background-color: #142C76;
}

.nivel-gerencial {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 40px;
  position: relative;
}

.gerente {
  background-color: #EAB300;
  color: #142C76;
  padding: 15px;
  border-radius: 6px;
  text-align: center;
  width: 200px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 2;
  position: relative;
}

.gerente h4 {
  color: #142C76;
  margin-bottom: 8px;
  font-size: 16px;
}

.gerente p {
  color: #142C76;
  font-size: 13px;
}

.conector-horizontal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 2px;
  background-color: #142C76;
  z-index: 1;
}

.nivel-operativo {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.operativo {
  background-color: #f8f8f8;
  padding: 12px;
  border-radius: 5px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-left: 4px solid #142C76;
  width: 180px;
}

.operativo h4 {
  font-size: 14px;
  margin-bottom: 5px;
}

.operativo p {
  font-size: 12px;
  color: #142C76;
}


@media (max-width: 767px) {
  .banner-superior {
    height: 250px;
  }

  .titulo-principal h1 {
    font-size: 32px;
  }

  .seccion-titulo h2 {
    font-size: 26px;
  }

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

  .nivel-operativo {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .sobre-nosotros-container {
    padding-top: 100px;
  }

  .directivo,
  .gerente {
    width: 90%;
    max-width: 280px;
  }

  .operativo {
    width: 90%;
    max-width: 250px;
  }

  /* Ocultar conectores en móvil para simplificar */
  .conector:after,
  .nivel-gerencial::before {
    display: none;
  }
}

@media (max-width: 480px) {

  .directivo,
  .gerente {
    width: 95%;
    padding: 15px;
  }

  .operativo {
    width: 95%;
  }

  .nivel-operativo {
    gap: 15px;
  }
}

/* ===== FOOTER ===== */
footer.dark-background {
  background-color: var(--institutional-blue);
  padding: 40px 0;
}

footer.dark-background p {
  color: #fff;
  font-weight: 300;
  font-family: var(--montserrat-font);
  margin-bottom: 10px;
}

footer.dark-background p a {
  color: var(--institutional-gold);
  text-decoration: none;
  transition: color 0.3s;
}

footer.dark-background p a:hover {
  color: #ffcc00;
}

footer.dark-background .social-icons {
  margin: 15px 0;
}

footer.dark-background .social-icons a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  line-height: 40px;
  margin: 0 8px;
  transition: all 0.3s ease;
  color: white;
  text-decoration: none;
}

footer.dark-background .social-icons a:hover {
  background: var(--institutional-gold);
  transform: translateY(-3px);
}

/* ===== COMPONENTES GENERALES ===== */
/* Scroll Top Button */
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  transform: translateY(-3px);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/* Preloader */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

/* ===== ANIMACIONES ===== */
@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px) translateY(-50%);
  }

  to {
    opacity: 1;
    transform: translateY(-50%);
  }
}

/* ===== RESPONSIVE GENERAL ===== */
/* Tablets */
@media (max-width: 1024px) {
  #carrusel .carousel-item {
    height: 600px;
  }

  #carrusel .carousel-caption h2 {
    font-size: 42px;
    line-height: 55px;
  }

  #carrusel .carousel-caption {
    max-width: 80%;
    left: 5%;
  }
}

/* Móviles */
@media (max-width: 767px) {
  #carrusel .carousel-item {
    height: 500px;
  }

  #carrusel .carousel-caption h2 {
    font-size: 32px;
    line-height: 40px;
    margin-bottom: 25px;
  }

  #carrusel .carousel-caption {
    max-width: 90%;
    left: 5%;
    right: 5%;
    text-align: center;
  }

  .orange-button a {
    padding: 10px 25px;
    font-size: 13px;
  }

  #carrusel .carousel-indicators {
    bottom: 15px;
  }

  #carrusel .carousel-indicators li {
    width: 10px;
    height: 10px;
    margin: 0 6px;
  }

  #carrusel .carousel-indicators li.active {
    width: 30px;
  }

  #carrusel .carousel-control-prev,
  #carrusel .carousel-control-next {
    width: 15%;
  }

  footer.dark-background .container {
    text-align: center;
  }

  footer.dark-background .col-md-4 {
    margin-bottom: 25px;
  }

  footer.dark-background .social-icons a {
    width: 36px;
    height: 36px;
    line-height: 36px;
    margin: 0 5px;
  }
}

/* Pequeños móviles */
@media (max-width: 480px) {
  #carrusel .carousel-item {
    height: 450px;
  }

  #carrusel .carousel-caption h2 {
    font-size: 28px;
    line-height: 35px;
  }

  #carrusel .carousel-indicators li {
    width: 8px;
    height: 8px;
    margin: 0 4px;
  }

  #carrusel .carousel-indicators li.active {
    width: 25px;
  }
}

