@charset "UTF-8";
body,
button,
input,
select,
textarea {
  font-family: "Segoe UI", "Roboto", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.d-flex {
  display: flex !important;
}

.align-items-center {
  align-items: center !important;
}

.justify-content-center {
  justify-content: center !important;
}

.flex-1-auto {
  flex: 1;
}

.m-r-4 {
  margin-right: 4px !important;
}

.m-r-8 {
  margin-right: 8px !important;
}

.m-r-12 {
  margin-right: 12px !important;
}

.m-r-16 {
  margin-right: 16px !important;
}

.m-l-4 {
  margin-left: 4px !important;
}

.m-b-4 {
  margin-bottom: 4px !important;
}

.m-b-12 {
  margin-bottom: 12px !important;
}

.m-b-16 {
  margin-bottom: 16px !important;
}

.m-b-24 {
  margin-bottom: 24px !important;
}

.m-b-32 {
  margin-bottom: 32px !important;
}

.m-t-0 {
  margin-top: 0px !important;
}

.m-t-16 {
  margin-top: 16px !important;
}

.m-t-24 {
  margin-top: 24px !important;
}

.m-t-30 {
  margin-top: 30px !important;
}

.m-y-16 {
  margin-top: 16px !important;
  margin-bottom: 16px !important;
}

.m-y-30 {
  margin-top: 30px !important;
  margin-bottom: 30px !important;
}

.p-0 {
  padding: 0px !important;
}

.p-8 {
  padding: 8px !important;
}

.p-10 {
  padding: 10px !important;
}

.p-16 {
  padding: 16px !important;
}

.p-24 {
  padding: 24px !important;
}

.p-x-10 {
  padding-left: 10px !important;
  padding-right: 10px !important;
}

.p-t-20 {
  padding-top: 20px !important;
}

.text-center {
  text-align: center !important;
}

.text-muted {
  color: var(--gray-600) !important;
}

.text-white {
  color: var(--white) !important;
}

.text-primary {
  color: var(--primary-color) !important;
}

.f-s-14 {
  font-size: 14px !important;
}

.f-s-16 {
  font-size: 16px !important;
}

.f-s-18 {
  font-size: 18px !important;
}

.f-s-20 {
  font-size: 20px !important;
}

.f-w-500 {
  font-weight: 500 !important;
}

.f-w-600 {
  font-weight: 600 !important;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.bg-light {
  background-color: var(--light-bg) !important;
}

.rounded {
  border-radius: 4px !important;
}

.rounded-circle {
  border-radius: 50% !important;
}

.rounded-pill {
  border-radius: 50px !important;
}

.d-none {
  display: none !important;
}

@media (min-width: 992px) {
  .d-lg-flex {
    display: flex !important;
  }
  .d-lg-none {
    display: none !important;
  }
}
@media (min-width: 769px) {
  .d-md-none {
    display: none !important;
  }
}
.w-100 {
  width: 100% !important;
}

.h-100 {
  height: 100% !important;
}

.flex-shrink-0 {
  flex-shrink: 0 !important;
}

/* ========== HEADER FLOTANTE ========== */
.floating-header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: calc(100% - 40px);
  max-width: 1200px;
  transition: all 0.3s ease;
  border-radius: 50px;
}
.floating-header a {
  text-decoration: none !important;
  color: inherit !important;
}
.floating-header li {
  text-decoration: none !important;
}

@media (max-width: 768px) {
  .floating-header {
    top: 10px;
    width: calc(100% - 20px);
  }
}
.floating-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 8px 32px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

@media (max-width: 992px) {
  .floating-nav {
    padding: 12px 24px;
  }
}
@media (max-width: 768px) {
  .floating-nav {
    padding: 10px 20px;
  }
}
/* Estado con scroll */
.floating-header.scrolled .floating-nav {
  background: rgba(0, 47, 97, 0.95); /* primary con opacidad */
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

/* Logo centrado */
.nav-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.branding img {
  height: 30px;
  transition: filter 0.3s ease;
  filter: brightness(0) saturate(100%) invert(20%) sepia(99%) saturate(1000%) hue-rotate(190deg);
}

.floating-header.scrolled .branding img {
  filter: brightness(0) invert(1);
}

@media (max-width: 768px) {
  .branding img {
    height: 34px;
  }
}
/* Secciones izquierda y derecha */
.nav-left, .nav-right {
  flex: 1;
  display: flex;
  align-items: center;
}

.nav-left {
  justify-content: flex-start;
}

.nav-right {
  justify-content: flex-end;
}

/* Listas de navegación */
.nav-left ul, .nav-campus {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Enlaces y botones del menú */
.nav-link {
  font-weight: 500;
  font-size: 14px;
  color: var(--primary-color) !important;
  background: transparent;
  border: none;
  padding: 8px 16px !important;
  border-radius: 20px;
  line-height: 1.2;
  transition: all 0.2s ease;
  cursor: pointer;
}

.nav-link:hover {
  color: var(--secondary-color) !important;
  background: rgba(69, 202, 235, 0.1) !important;
}

.floating-header.scrolled .nav-link {
  color: white !important;
}

.floating-header.scrolled .nav-link:hover {
  color: var(--secondary-color) !important;
  background: rgba(255, 255, 255, 0.2) !important;
}

.nav-link i-tabler {
  margin-left: 6px;
  transition: transform 0.3s ease;
}

.nav-link:hover i-tabler {
  transform: translateY(2px);
}

/* ========== DROPDOWNS (MEGA MENÚS) ========== */
.menu-item-has-children {
  position: relative;
}

.mega-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 1000;
  min-width: 220px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 47, 97, 0.1);
  overflow: hidden;
}

.menu-item-has-children.open .mega-menu {
  display: block;
}

/* Menú de campus alineado a la derecha */
.campus-menu {
  left: auto;
  right: 0;
}

/* Estilos específicos para el menú de programas (ya los tienes, pero los dejamos aquí por completitud) */
.programas-resumen-menu {
  min-width: 350px;
  max-width: 350px;
}

.resumen-container {
  padding: 0;
  background: white;
}

.resumen-header {
  padding: 24px 24px 16px;
  background: linear-gradient(135deg, rgba(0, 47, 97, 0.05) 0%, rgba(69, 202, 235, 0.05) 100%);
  border-bottom: 1px solid rgba(0, 47, 97, 0.1);
  text-align: center;
}

.header-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  background: linear-gradient(135deg, #002f61 0%, #45caeb 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-icon i-tabler {
  width: 24px;
  height: 24px;
  color: white;
}

.resumen-title {
  font-size: 18px;
  font-weight: 700;
  color: #002f61;
  margin: 0 0 4px;
}

.resumen-subtitle {
  font-size: 13px;
  color: #64748b;
  margin: 0;
}

.resumen-grid {
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.resumen-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.resumen-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.7s ease;
}

.resumen-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.resumen-card:hover::before {
  left: 100%;
}

.resumen-card:hover .card-arrow {
  transform: translateX(4px);
  opacity: 1;
}

.maestrias-card {
  background: linear-gradient(135deg, rgba(0, 47, 97, 0.08) 0%, rgba(0, 47, 97, 0.04) 100%);
  border-color: rgba(0, 47, 97, 0.15);
}

.doctorados-card {
  background: linear-gradient(135deg, rgba(69, 202, 235, 0.08) 0%, rgba(69, 202, 235, 0.04) 100%);
  border-color: rgba(69, 202, 235, 0.15);
}

.card-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.maestrias-card .card-icon {
  background: linear-gradient(135deg, #002f61 0%, #1e5a9c 100%);
}

.doctorados-card .card-icon {
  background: linear-gradient(135deg, #45caeb 0%, #2a9bbf 100%);
}

.card-icon i-tabler {
  width: 20px;
  height: 20px;
  color: white;
}

.card-text h5 {
  font-size: 16px;
  font-weight: 700;
  color: #002f61;
  margin: 0 0 4px;
}

.program-count {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  background: rgba(255, 255, 255, 0.7);
  padding: 2px 8px;
  border-radius: 20px;
  display: inline-block;
}

.card-arrow {
  opacity: 0.5;
  transition: all 0.3s ease;
}

.card-arrow i-tabler {
  width: 18px;
  height: 18px;
  color: #002f61;
}

.resumen-footer {
  padding: 16px 24px 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  text-align: center;
}

.ver-todos-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #002f61 0%, #1e5a9c 100%);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.ver-todos-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 47, 97, 0.3);
}

/* ========== MENÚ MÓVIL (SIDEBAR) ========== */
.mobile-sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: white;
  z-index: 2000;
  transition: right 0.3s ease;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
}

.mobile-sidebar.open {
  right: 0;
}

body.mobile-menu-open {
  overflow: hidden;
}

.mobile-sidebar-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-item {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 500;
  color: var(--text-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.mobile-nav-item:hover {
  background: rgba(0, 47, 97, 0.1);
  color: var(--primary-color);
}

.mobile-nav-section-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-600);
  margin: 16px 0 8px 0;
  padding: 0 16px;
}

.mobile-nav-item.sub-item {
  padding-left: 48px;
  font-size: 14px;
}

.mobile-nav-item .badge {
  background: rgba(0, 47, 97, 0.1);
  color: #002f61;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
  margin-left: auto;
}

.mobile-menu-btn, .close-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 47, 97, 0.1);
  color: var(--primary-color);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-btn:hover, .close-btn:hover {
  background: rgba(0, 47, 97, 0.2);
}

.floating-header.scrolled .mobile-menu-btn,
.floating-header.scrolled .close-btn {
  color: white;
  background: rgba(255, 255, 255, 0.15);
}

.floating-header.scrolled .mobile-menu-btn:hover,
.floating-header.scrolled .close-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

.close-btn:hover {
  transform: rotate(90deg);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
  .nav-logo {
    position: static;
    transform: none;
  }
}
@media (max-width: 768px) {
  .nav-left, .nav-campus {
    display: none;
  }
  .nav-logo {
    position: static;
    transform: none;
  }
  .mobile-menu-btn, .close-btn {
    width: 36px;
    height: 36px;
  }
}
#mobile-menu-toggle {
  display: flex; /* o inline-flex */
}

#mobile-menu-close {
  display: none; /* oculto por defecto */
}

/* Eliminar cualquier viñeta o decoración de lista en el menú */
.floating-header ul,
.floating-header li,
.floating-header ol {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.floating-header li::before,
.floating-header li::after {
  content: none !important; /* elimina cualquier pseudo-elemento que pueda agregar decoración */
}

/* Asegurar que los enlaces no tengan subrayado */
.floating-header a {
  text-decoration: none !important;
  color: var(--primary-color) !important;
}

/* Si quieres que los botones (dropdown-trigger) se vean como enlaces, pero sin decoración */
.floating-header .dropdown-trigger {
  background: none;
  border: none;
  padding: 8px 16px;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

/* ===== MEGA MENÚ FULL-WIDTH ===== */
.programas-mega-menu {
  position: fixed; /* Cambiamos a fixed para que ocupe todo el ancho */
  left: 0;
  right: 0;
  top: 60px; /* altura del header + top */
  width: 100vw;
  max-width: 100%;
  border-radius: 0;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  background: white;
  border: none;
  overflow: visible;
  border-radius: 20px;
}
.programas-mega-menu .mega-menu-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px;
}
.programas-mega-menu .mega-menu-header {
  text-align: center;
  margin-bottom: 10px;
  display: flex;
}
.programas-mega-menu .mega-menu-header .header-icon {
  width: 60px;
  height: 60px;
  margin: 0 10px 0px;
  background: linear-gradient(135deg, #002f61, #45caeb);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.programas-mega-menu .mega-menu-header .header-icon i-tabler, .programas-mega-menu .mega-menu-header .header-icon i {
  font-size: 30px;
  color: white;
}
.programas-mega-menu .mega-menu-header .mega-menu-title {
  font-size: 20px;
  font-weight: 700;
  color: #002f61;
  margin: 0 0 4px;
}
.programas-mega-menu .mega-menu-header .mega-menu-subtitle {
  font-size: 16px;
  color: #6c757d;
  margin: 0;
  text-align: left;
}
.programas-mega-menu .mega-menu-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
  gap: 40px;
}
.programas-mega-menu .program-column {
  background: #e6f2ff;
  border-radius: 12px;
  padding: 20px;
}
.programas-mega-menu .program-column .column-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 5px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(0, 47, 97, 0.1);
}
.programas-mega-menu .program-column .column-header i-tabler, .programas-mega-menu .program-column .column-header i {
  font-size: 24px;
  color: #002f61;
}
.programas-mega-menu .program-column .column-header h5 {
  font-size: 18px;
  font-weight: 600;
  color: #333333;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.programas-mega-menu .program-column .column-header h5 .program-count-badge {
  background: #002f61;
  color: white;
  font-size: 12px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 20px;
}
.programas-mega-menu .program-column .program-list {
  display: grid;
  gap: 4px;
}
.programas-mega-menu .program-column .program-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: white;
  border-radius: 8px;
  text-decoration: none;
  color: #333333;
  transition: all 0.2s ease;
}
.programas-mega-menu .program-column .program-item i-tabler, .programas-mega-menu .program-column .program-item i {
  font-size: 16px;
  color: #45caeb;
  transition: transform 0.2s ease;
}
.programas-mega-menu .program-column .program-item:hover {
  background: rgba(0, 47, 97, 0.05);
  color: #002f61;
}
.programas-mega-menu .program-column .program-item:hover i-tabler, .programas-mega-menu .program-column .program-item:hover i {
  transform: translateX(4px);
}
.programas-mega-menu .program-column .program-item span {
  font-size: 12px;
  line-height: 1.3;
  font-weight: 500;
  text-transform: lowercase;
}
.programas-mega-menu .program-column .program-item span::first-letter {
  text-transform: uppercase;
}
.programas-mega-menu .program-column .no-programs {
  grid-column: 1/-1;
  color: #6c757d;
  font-style: italic;
  padding: 10px;
}
.programas-mega-menu {
  /* --- AJUSTE SOLICITADO: 3 columnas para maestrías, 1 columna para doctorados --- */
}
.programas-mega-menu .maestrias-column .program-list {
  grid-template-columns: repeat(3, 1fr);
}
.programas-mega-menu .doctorados-column .program-list {
  grid-template-columns: 1fr;
}
.programas-mega-menu .mega-menu-footer {
  margin-top: 10px;
  text-align: center;
}
.programas-mega-menu .mega-menu-footer .ver-todos-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 30px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color));
  color: white !important;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}
.programas-mega-menu .mega-menu-footer .ver-todos-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 47, 97, 0.3);
}
@media (max-width: 992px) {
  .programas-mega-menu .mega-menu-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .programas-mega-menu .mega-menu-container {
    padding: 20px;
  }
  .programas-mega-menu {
    /* En móvil, forzamos 1 columna para ambas por legibilidad */
  }
  .programas-mega-menu .program-list {
    grid-template-columns: 1fr !important;
  }
}

.menu-campus {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  width: 100%;
  text-align: left;
  box-sizing: border-box;
  color: inherit;
  font-size: inherit;
  background: none;
  text-decoration: none;
  margin: 0;
  min-height: 48px;
  user-select: none;
  cursor: pointer;
  outline: none;
  border: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  padding: 12px;
}

.menu-campus:hover {
  background-color: #f6f9fc;
}

.mobile-menu-btn,
.close-btn {
  position: relative;
  z-index: 3000; /* mayor que el sidebar */
}

#mobile-menu-close {
  display: none;
}

.mobile-sidebar {
  z-index: 2000;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-close-wrapper {
  display: flex;
  justify-content: flex-end; /* 🔥 lo manda a la derecha */
  padding: 1rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.spacer {
  padding: 80px 0;
}
@media (max-width: 768px) {
  .spacer {
    padding: 60px 0;
  }
}
@media (max-width: 576px) {
  .spacer {
    padding: 40px 0;
  }
}

.text-center {
  text-align: center;
}

.m-b-12 {
  margin-bottom: 12px !important;
}

.m-b-16 {
  margin-bottom: 16px !important;
}

.m-b-24 {
  margin-bottom: 24px !important;
}

.m-b-32 {
  margin-bottom: 32px !important;
}

.m-t-16 {
  margin-top: 16px !important;
}

.f-s-14 {
  font-size: 14px !important;
}

.f-s-16 {
  font-size: 16px !important;
}

.f-s-18 {
  font-size: 18px !important;
}

.f-w-600 {
  font-weight: 600 !important;
}

.text-muted {
  color: #6c757d !important;
}

.text-white {
  color: #ffffff !important;
}

.bg-primary {
  background-color: #002f61 !important;
}

.p-8 {
  padding: 8px !important;
}

.p-x-10 {
  padding-left: 10px !important;
  padding-right: 10px !important;
}

.rounded-pill {
  border-radius: 50px !important;
}

.contacto-section {
  background-color: #ffffff;
}
.contacto-section .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #002f61;
  margin-bottom: 16px;
  justify-content: center;
}
@media (max-width: 768px) {
  .contacto-section .section-title {
    font-size: 2rem;
  }
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 992px) {
  .contacto-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.contacto-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contacto-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background: #e6f2ff;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 2px rgba(0, 0, 0, 0.09);
  border-radius: 12px;
}
.contacto-item:hover {
  transform: translateX(8px);
  background: rgb(235.1, 244.652, 255);
}
.contacto-item .contacto-icon {
  color: #002f61;
  font-size: 2rem;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  margin-top: 4px;
}
.contacto-item h4 {
  margin-bottom: 8px;
  color: #002f61;
}
.contacto-item p {
  margin: 0;
  line-height: 1.6;
}

.contacto-redes {
  padding: 32px;
  background: linear-gradient(135deg, #e6f2ff 0%, #edf2f7 100%);
  border-radius: 16px;
  box-shadow: 0 2px rgba(0, 0, 0, 0.09);
  border-radius: 12px;
}
.contacto-redes h4 {
  color: #002f61;
  margin-bottom: 8px;
}

.redes-sociales {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.redes-sociales .red-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
}
.redes-sociales .red-social-btn.facebook {
  background: #1877f2;
  color: #ffffff;
}
.redes-sociales .red-social-btn.facebook:hover {
  background: rgb(11.4549180328, 95.1639344262, 203.5450819672);
  transform: translateY(-2px);
}
.redes-sociales .red-social-btn.twitter {
  background: #1da1f2;
  color: #ffffff;
}
.redes-sociales .red-social-btn.twitter:hover {
  background: rgb(11.4549180328, 95.1639344262, 203.5450819672);
  transform: translateY(-2px);
}
.redes-sociales .red-social-btn.youtube {
  background: #ff0000;
  color: #ffffff;
}
.redes-sociales .red-social-btn.youtube:hover {
  background: #cc0000;
  transform: translateY(-2px);
}
.redes-sociales .red-social-btn mat-icon {
  margin-right: 8px;
}

.footer {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color) 100%);
  color: #ffffff;
  padding: 60px 0 20px;
}
.footer a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer a:hover {
  color: #45caeb;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  margin-bottom: 40px;
}
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 40px;
  }
}

.footer-brand {
  flex: 1;
  min-width: 300px;
}
.footer-brand .footer-logo-container {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}
.footer-brand .footer-logo-container .footer-logo {
  height: 80px;
  width: auto;
}
.footer-brand .footer-logo-container .footer-logo-epg {
  height: 60px;
  width: auto;
}
.footer-brand .footer-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #45caeb;
}
.footer-brand .footer-info p {
  margin-bottom: 8px;
  line-height: 1.6;
  opacity: 0.9;
}

.footer-links {
  flex: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
@media (max-width: 992px) {
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .footer-links {
    grid-template-columns: 1fr;
  }
}

.footer-links-section h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #45caeb;
}
.footer-links-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links-section ul li {
  margin-bottom: 12px;
}
.footer-links-section ul li:last-child {
  margin-bottom: 0;
}
.footer-links-section ul li a {
  font-size: 0.95rem;
  opacity: 0.9;
}
.footer-links-section ul li a:hover {
  opacity: 1;
  padding-left: 8px;
  transition: all 0.3s ease;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-bottom-content p {
  margin: 0;
  opacity: 0.8;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-legal .separator {
  opacity: 0.5;
}
.footer-legal a {
  font-size: 0.9rem;
  opacity: 0.8;
}
.footer-legal a:hover {
  opacity: 1;
}

@media (max-width: 768px) {
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }
  .footer-bottom-content .footer-legal {
    flex-wrap: wrap;
    justify-content: center;
  }
  .contacto-item {
    padding: 20px;
  }
}
@media (max-width: 576px) {
  .footer {
    padding: 40px 0 20px;
  }
  .redes-sociales .red-social-btn {
    width: 85%;
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.contacto-section,
.footer {
  animation: fadeInUp 0.6s ease-out;
}

.inicio-epg-container {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  line-height: 1.6;
}

.inicio-epg-container {
  position: relative;
  overflow-x: hidden;
}

.parallax-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 150vh;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  z-index: -2;
  pointer-events: none;
}
.parallax-background::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 30%, rgba(0, 0, 0, 0.1) 70%, transparent 100%);
  backdrop-filter: blur(2px);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 80px 0;
}

.text-center {
  text-align: center;
}

.hero-section {
  position: relative;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 60px 20px;
  overflow: hidden;
}
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.02) 50%, rgba(0, 0, 0, 0.17) 100%);
  z-index: 1;
}
.hero-section .container {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-section .hero-content {
  display: flex;
  align-items: center;
  min-height: calc(50vh - 120px);
}
.hero-section .hero-text {
  max-width: 700px;
  color: white;
  text-align: left;
}
.hero-section .hero-text .hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}
@media (max-width: 768px) {
  .hero-section .hero-text .hero-title {
    font-size: 2.2rem;
  }
}
.hero-section .hero-text .hero-subtitle {
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 24px;
  font-weight: 600;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}
@media (max-width: 768px) {
  .hero-section .hero-text .hero-subtitle {
    font-size: 1.3rem;
  }
}
.hero-section .hero-text .hero-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  line-height: 1.4;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  text-align: justify;
}
.hero-section .hero-text .inscribete-button {
  font-size: 1.1rem;
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  background-color: #002f61;
  color: white;
  line-height: 0.9;
}
.hero-section .hero-text .inscribete-button mat-icon {
  margin-right: 8px;
}
.hero-section .hero-text .inscribete-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 47, 97, 0.6);
  background-color: color-mix(in srgb, var(--primary-color) 85%, black);
}
@media (max-width: 768px) {
  .hero-section {
    min-height: 60vh;
    padding: 40px 20px;
    background-attachment: scroll;
  }
  .hero-section .hero-content {
    min-height: calc(60vh - 80px);
    justify-content: center;
    text-align: center;
  }
  .hero-section .hero-text {
    text-align: center;
    max-width: 100%;
  }
  .hero-section .hero-description {
    font-size: 1rem;
  }
}
@media (max-width: 576px) {
  .hero-section {
    min-height: 70vh;
    padding: 30px 15px;
  }
  .hero-section .hero-title {
    font-size: 1.8rem !important;
  }
  .hero-section .hero-subtitle {
    font-size: 1.1rem !important;
  }
  .hero-section .inscribete-button {
    width: 100%;
    padding: 14px 24px;
  }
}

.info-section {
  background-color: #ffffff;
}
.info-section .info-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}
@media (max-width: 992px) {
  .info-section .info-content {
    flex-direction: column-reverse;
    gap: 40px;
  }
}
.info-section .info-image {
  flex: 1;
  max-width: 500px;
}
.info-section .info-image .info-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.info-section .info-text {
  flex: 1;
  max-width: 600px;
}
.info-section .info-text .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #002f61;
  margin-bottom: 24px;
  line-height: 1;
}
@media (max-width: 768px) {
  .info-section .info-text .section-title {
    font-size: 2rem;
  }
}
.info-section .info-text .parrafos-container .info-parrafo {
  font-size: 1.1rem;
  color: #6c757d;
  margin-bottom: 20px;
  line-height: 1.8;
  text-align: justify;
}
.info-section .info-text .parrafos-container .info-parrafo:last-child {
  margin-bottom: 0;
}

.mision-vision-section {
  position: relative;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(5px);
  z-index: 1;
  transition: all 0.3s ease;
}
.mision-vision-section.scrolling {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
}
.mision-vision-section .mv-info-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mision-vision-section .mv-info-card:hover {
  transform: translateY(-5px);
}
.mision-vision-section .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #002f61;
  margin-bottom: 16px;
}
@media (max-width: 768px) {
  .mision-vision-section .section-title {
    font-size: 2rem;
  }
}
.mision-vision-section .section-subtitle {
  font-size: 1.2rem;
  color: #45caeb;
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.mision-vision-section .mv-content {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}
@media (max-width: 992px) {
  .mision-vision-section .mv-content {
    flex-direction: column;
    gap: 40px;
  }
}
.mision-vision-section .mv-info-container {
  flex: 1;
}
.mision-vision-section .mv-info-container .mv-info-card {
  background: #ffffff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: all 0.3s ease;
}
.mision-vision-section .mv-info-container .mv-info-card .mv-header {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}
.mision-vision-section .mv-info-container .mv-info-card .mv-header .mv-icon {
  font-size: 2.5rem;
  width: 2.5rem;
  height: 2.5rem;
  color: #002f61;
  margin-right: 16px;
}
.mision-vision-section .mv-info-container .mv-info-card .mv-header .mv-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #002f61;
  margin: 0;
}
.mision-vision-section .mv-info-container .mv-info-card .mv-contenido {
  font-size: 1.1rem;
  color: #6c757d;
  margin-bottom: 24px;
  line-height: 1.8;
}
.mision-vision-section .mv-info-container .mv-info-card .mv-lista {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mision-vision-section .mv-info-container .mv-info-card .mv-lista .mv-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
}
.mision-vision-section .mv-info-container .mv-info-card .mv-lista .mv-item .item-icon {
  color: #48bb78;
  margin-right: 12px;
  margin-top: 2px;
  flex-shrink: 0;
}
.mision-vision-section .mv-info-container .mv-info-card .mv-lista .mv-item span {
  font-size: 1rem;
  color: #6c757d;
  line-height: 1.6;
}
.mision-vision-section .mv-info-container .mv-info-card .mv-lista .mv-item:last-child {
  margin-bottom: 0;
}
.mision-vision-section .mv-selector {
  flex: 0 0 350px;
}
@media (max-width: 992px) {
  .mision-vision-section .mv-selector {
    flex: none;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }
}
.mision-vision-section .mv-selector .selector-item {
  background: #ffffff;
  padding: 24px;
  border-radius: 12px;
  margin-bottom: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border: 2px solid transparent;
}
.mision-vision-section .mv-selector .selector-item:hover {
  transform: translateX(5px);
  border-color: rgba(0, 47, 97, 0.3);
}
.mision-vision-section .mv-selector .selector-item.active {
  border-color: #002f61;
  background: rgba(0, 47, 97, 0.05);
}
.mision-vision-section .mv-selector .selector-item.active .selector-arrow {
  opacity: 1;
  transform: translateX(0);
}
.mision-vision-section .mv-selector .selector-item mat-icon:first-child {
  font-size: 2rem;
  width: 2rem;
  height: 2rem;
  color: #45caeb;
  margin-right: 16px;
  flex-shrink: 0;
}
.mision-vision-section .mv-selector .selector-item .selector-text {
  flex: 1;
}
.mision-vision-section .mv-selector .selector-item .selector-text h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #002f61;
  margin: 0 0 4px 0;
}
.mision-vision-section .mv-selector .selector-item .selector-text p {
  font-size: 0.95rem;
  color: #6c757d;
  margin: 0;
}
.mision-vision-section .mv-selector .selector-item .selector-arrow {
  color: #002f61;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}
.mision-vision-section .mv-selector .selector-item:last-child {
  margin-bottom: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.mv-info-card {
  animation: fadeIn 0.5s ease;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }
  .hero-title {
    font-size: 2.2rem !important;
  }
  .hero-subtitle {
    font-size: 1.3rem !important;
  }
  .section-title {
    font-size: 2rem !important;
  }
  .mv-info-card {
    padding: 24px !important;
  }
}
@media (max-width: 576px) {
  .section-padding {
    padding: 40px 0;
  }
  .hero-title {
    font-size: 1.8rem !important;
  }
  .hero-subtitle {
    font-size: 1.1rem !important;
  }
  .inscribete-button {
    width: 100%;
  }
  .selector-item {
    padding: 20px !important;
  }
}
.faq-section {
  background-color: #ffffff;
}
.faq-section .section-header {
  text-align: center;
  margin-bottom: 48px;
}
.faq-section .section-header .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #002f61;
  margin-bottom: 16px;
}
@media (max-width: 768px) {
  .faq-section .section-header .section-title {
    font-size: 2rem;
  }
}
.faq-section .section-header .section-subtitle {
  font-size: 1.2rem;
  color: #6c757d;
  max-width: 600px;
  margin: 0 auto;
}
.faq-section .faq-container {
  display: flex;
  gap: 40px;
}
@media (max-width: 992px) {
  .faq-section .faq-container {
    flex-direction: column;
    gap: 30px;
  }
}
.faq-section .faq-accordion {
  flex: 1;
}
.faq-section .faq-accordion ::ng-deep .mat-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-section .faq-accordion ::ng-deep .faq-panel {
  background: #ffffff;
  border-radius: 8px !important;
  border: 1px solid #e9ecef;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}
.faq-section .faq-accordion ::ng-deep .faq-panel:hover {
  border-color: #002f61;
  box-shadow: 0 4px 12px rgba(0, 47, 97, 0.1);
}
.faq-section .faq-accordion ::ng-deep .faq-panel.mat-expanded {
  border-color: #002f61;
  box-shadow: 0 4px 16px rgba(0, 47, 97, 0.15);
}
.faq-section .faq-accordion ::ng-deep .faq-panel.mat-expanded .mat-expansion-panel-header {
  background-color: rgba(0, 47, 97, 0.05);
}
.faq-section .faq-accordion ::ng-deep .faq-panel .mat-expansion-panel-header {
  height: auto;
  min-height: 72px;
  padding: 16px 24px;
  border-radius: 8px;
}
.faq-section .faq-accordion ::ng-deep .faq-panel .mat-expansion-panel-header:hover {
  background-color: rgba(0, 47, 97, 0.05) !important;
}
.faq-section .faq-accordion ::ng-deep .faq-panel .mat-expansion-panel-header .mat-expansion-panel-header-title {
  margin: 0;
  align-items: center;
}
.faq-section .faq-accordion ::ng-deep .faq-panel .mat-expansion-panel-header .mat-expansion-panel-header-title .faq-question {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  font-weight: 600;
  color: #002f61;
}
.faq-section .faq-accordion ::ng-deep .faq-panel .mat-expansion-panel-header .mat-expansion-panel-header-title .faq-question .faq-number {
  color: #002f61;
  font-weight: 700;
  font-size: 1.2rem;
  min-width: 30px;
}
.faq-section .faq-accordion ::ng-deep .faq-panel .mat-expansion-panel-header .mat-expansion-panel-header-title .faq-question .faq-query {
  font-weight: 700 !important;
  font-size: 1.2rem !important;
}
.faq-section .faq-accordion ::ng-deep .faq-panel .mat-expansion-panel-header .mat-expansion-panel-header-description {
  margin: 0;
  justify-content: flex-end;
}
.faq-section .faq-accordion ::ng-deep .faq-panel .mat-expansion-panel-header .mat-expansion-panel-header-description mat-icon {
  color: #002f61;
  transition: transform 0.3s ease;
}
.faq-section .faq-accordion ::ng-deep .faq-panel .mat-expansion-panel-content .mat-expansion-panel-body {
  padding: 24px 24px 24px 50px;
}
.faq-section .faq-accordion ::ng-deep .faq-panel .mat-expansion-panel-content .mat-expansion-panel-body .faq-answer p {
  margin: 0;
  white-space: pre-line !important;
  font-size: 1rem;
  line-height: 1.6;
  color: #6c757d;
}
.faq-section .faq-cta {
  flex: 0 0 300px;
}
@media (max-width: 992px) {
  .faq-section .faq-cta {
    flex: none;
    max-width: 400px;
    margin: 0 auto;
  }
}
.faq-section .faq-cta .cta-card {
  background: linear-gradient(135deg, #002f61, #45caeb);
  border-radius: 12px;
  padding: 32px;
  color: #ffffff;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(0, 47, 97, 0.2);
}
.faq-section .faq-cta .cta-card .cta-icon {
  font-size: 3rem;
  width: 3rem;
  height: 3rem;
  margin-bottom: 20px;
  opacity: 0.9;
}
.faq-section .faq-cta .cta-card .cta-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #ffffff;
}
.faq-section .faq-cta .cta-card .cta-description {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 24px;
  line-height: 1.5;
}
.faq-section .faq-cta .cta-card .cta-button {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
  font-weight: 600;
}
.faq-section .faq-cta .cta-card .cta-button mat-icon {
  margin-right: 8px;
}
.faq-section .faq-cta .cta-card .cta-button:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
}

@media (max-width: 768px) {
  .faq-section .section-header .section-title {
    font-size: 2rem;
  }
  .faq-section .faq-container {
    gap: 24px;
  }
  .faq-section ::ng-deep .faq-panel .mat-expansion-panel-header {
    padding: 16px !important;
  }
  .faq-section ::ng-deep .faq-panel .mat-expansion-panel-header .mat-expansion-panel-header-title .faq-question {
    gap: 12px !important;
    font-size: 0.95rem !important;
  }
  .faq-section ::ng-deep .faq-panel .mat-expansion-panel-content .mat-expansion-panel-body {
    padding: 0 16px 16px 16px !important;
  }
  .faq-section ::ng-deep .faq-panel .mat-expansion-panel-content .mat-expansion-panel-body .faq-answer p {
    font-size: 0.95rem;
  }
  .faq-section .faq-cta .cta-card {
    padding: 24px;
  }
  .faq-section .faq-cta .cta-card .cta-title {
    font-size: 1.3rem;
  }
}
@media (max-width: 576px) {
  .faq-section .section-header {
    margin-bottom: 32px;
  }
  .faq-section .faq-container {
    gap: 20px;
  }
}
.slider-form-section {
  background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
  position: relative;
  overflow: hidden;
}
.slider-form-section .slider-form-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}
@media (max-width: 992px) {
  .slider-form-section .slider-form-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
.slider-form-section .form-column .form-card {
  background: #153768;
  border-radius: 16px;
  padding: 40px;
  color: white;
  box-shadow: 0 20px 40px rgba(21, 55, 104, 0.2);
  position: relative;
  overflow: hidden;
}
.slider-form-section .form-column .form-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #4299e1, #63b3ed);
}
.slider-form-section .form-column .form-card .form-header {
  margin-bottom: 32px;
  text-align: center;
}
.slider-form-section .form-column .form-card .form-header .form-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
  margin-top: 0px;
  color: white;
}
@media (max-width: 768px) {
  .slider-form-section .form-column .form-card .form-header .form-title {
    font-size: 1.8rem;
  }
}
.slider-form-section .form-column .form-card .form-header .form-subtitle {
  font-size: 1rem;
  opacity: 0.9;
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto;
}
.slider-form-section .form-column .form-card .contact-form .full-width {
  width: 100%;
}
.slider-form-section .form-column .form-card .contact-form .full-width ::ng-deep .mat-form-field-outline {
  color: rgba(255, 255, 255, 0.3);
}
.slider-form-section .form-column .form-card .contact-form .full-width ::ng-deep .mat-form-field-label {
  color: rgba(255, 255, 255, 0.7);
}
.slider-form-section .form-column .form-card .contact-form .full-width ::ng-deep .mat-input-element {
  color: white;
}
.slider-form-section .form-column .form-card .contact-form .full-width ::ng-deep .mat-icon {
  color: rgba(255, 255, 255, 0.7);
}
.slider-form-section .form-column .form-card .contact-form .full-width ::ng-deep .mat-form-field-outline-thick {
  color: #4299e1;
}
.slider-form-section .form-column .form-card .contact-form .full-width ::ng-deep .mat-form-field.mat-focused .mat-form-field-label {
  color: #4299e1;
}
.slider-form-section .form-column .form-card .contact-form .form-group {
  margin-bottom: 24px;
}
.slider-form-section .form-column .form-card .contact-form .form-group .group-label {
  display: block;
  margin-bottom: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}
.slider-form-section .form-column .form-card .contact-form .form-group .checkbox-group {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.slider-form-section .form-column .form-card .contact-form .form-group .checkbox-group ::ng-deep .programa-checkbox .mat-checkbox-label {
  color: white;
}
.slider-form-section .form-column .form-card .contact-form .form-group .checkbox-group ::ng-deep .programa-checkbox .mat-checkbox-frame {
  border-color: rgba(255, 255, 255, 0.3);
}
.slider-form-section .form-column .form-card .contact-form .form-group .checkbox-group ::ng-deep .programa-checkbox.mat-checkbox-checked .mat-checkbox-background {
  background-color: #4299e1;
}
.slider-form-section .form-column .form-card .contact-form .form-group.policies {
  margin-top: 8px;
  margin-bottom: 32px;
}
.slider-form-section .form-column .form-card .contact-form .form-group.policies ::ng-deep .mat-checkbox .mat-checkbox-label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  line-height: 1.5;
}
.slider-form-section .form-column .form-card .contact-form .form-group.policies ::ng-deep .mat-checkbox .mat-checkbox-frame {
  border-color: rgba(255, 255, 255, 0.3);
}
.slider-form-section .form-column .form-card .contact-form .form-group.policies ::ng-deep .mat-checkbox.mat-checkbox-checked .mat-checkbox-background {
  background-color: #4299e1;
}
.slider-form-section .form-column .form-card .contact-form .submit-button {
  width: 100%;
  padding: 14px 24px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  margin-top: 8px;
  transition: all 0.3s ease;
  background: #4299e1;
  color: white;
}
.slider-form-section .form-column .form-card .contact-form .submit-button mat-icon {
  margin-right: 8px;
}
.slider-form-section .form-column .form-card .contact-form .submit-button:hover:not([disabled]) {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(66, 153, 225, 0.4);
  background-color: rgb(110.0136986301, 176.7534246575, 231.9863013699);
}
.slider-form-section .form-column .form-card .contact-form .submit-button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}
.slider-form-section .form-column .form-card .contact-form .form-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.slider-form-section .footer-link {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}
.slider-form-section .footer-link mat-icon {
  font-size: 1rem;
  margin-right: 6px;
}
.slider-form-section .footer-link:hover {
  color: white;
  text-decoration: underline;
}
.slider-form-section {
  /* ============================= */
  /* 📱 MOBILE (hasta 576px) */
  /* ============================= */
}
@media (max-width: 576px) {
  .slider-form-section .form-column .form-card {
    padding: 24px 18px;
    border-radius: 12px;
    width: 90%;
  }
  .slider-form-section .form-column .form-card .form-header {
    margin-bottom: 24px;
  }
  .slider-form-section .form-column .form-card .form-header .form-title {
    font-size: 1.5rem;
  }
  .slider-form-section .form-column .form-card .form-header .form-subtitle {
    font-size: 0.9rem;
    padding: 0 10px;
  }
  .slider-form-section .form-column .form-card .contact-form .form-group {
    margin-bottom: 18px;
  }
  .slider-form-section .form-column .form-card .contact-form .form-group .checkbox-group {
    flex-direction: column;
    gap: 12px;
  }
  .slider-form-section .form-column .form-card .contact-form .submit-button {
    font-size: 1rem;
    padding: 12px;
  }
  .slider-form-section .form-column .form-card .contact-form .form-footer {
    flex-direction: column;
    gap: 12px;
    align-items: center;
    text-align: center;
  }
  .slider-form-section .footer-link {
    font-size: 0.85rem;
  }
}
@media (min-width: 577px) and (max-width: 992px) {
  .slider-form-section .form-column .form-card {
    padding: 32px;
    width: 92%;
  }
  .slider-form-section .form-column .form-card .form-header .form-title {
    font-size: 1.7rem;
  }
  .slider-form-section .form-column .form-card .form-header .form-subtitle {
    font-size: 0.95rem;
  }
  .slider-form-section .form-column .form-card .contact-form .form-group .checkbox-group {
    gap: 16px;
  }
  .slider-form-section .form-column .form-card .contact-form .form-footer {
    flex-wrap: wrap;
    gap: 16px;
  }
}
@media (min-width: 1200px) {
  .slider-form-section .form-column .form-card {
    padding: 50px;
  }
  .slider-form-section .form-column .form-card .form-header .form-title {
    font-size: 2.2rem;
  }
}
.slider-form-section .slider-column .slider-container {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  height: 650px !important;
}
@media (max-width: 768px) {
  .slider-form-section .slider-column .slider-container {
    height: 400px;
  }
}
@media (max-width: 576px) {
  .slider-form-section .slider-column .slider-container {
    height: 300px;
  }
}
.slider-form-section .slider-column .slider-container .slider-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  justify-content: space-between;
  padding: 0 15px;
  pointer-events: none;
}
.slider-form-section .slider-column .slider-container .slider-controls.visible {
  opacity: 1;
  visibility: visible;
}
.slider-form-section .slider-column .slider-container .slider-controls .control-btn {
  background: rgba(255, 255, 255, 0.9);
  color: #153768;
  transition: all 0.3s ease;
  transform: scale(0.9);
}
.slider-form-section .slider-column .slider-container .slider-controls .control-btn:hover {
  background: white;
  transform: scale(1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.slider-form-section .slider-column .slider-container .slider-controls .control-btn.play-pause {
  position: absolute;
  top: 40px;
  right: 20px;
  transform: translateY(-70px) scale(0.5);
  opacity: 0;
  transition: all 0.3s ease 0.1s;
}
.slider-form-section .slider-column .slider-container .slider-controls.visible .control-btn.play-pause {
  transform: translateY(0) scale(0.9);
  opacity: 1;
}
.slider-form-section .slider-column .slider-container .slider-controls.visible .control-btn.play-pause:hover {
  transform: scale(1);
}
.slider-form-section .slider-column .slider-container .slider-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
  z-index: 1;
}
.slider-form-section .slider-column .slider-container .slider-item.active {
  opacity: 1;
  z-index: 2;
}
.slider-form-section .slider-column .slider-container .slider-item .image-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}
.slider-form-section .slider-column .slider-container .slider-item .image-container .slider-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.slider-container:hover .slider-form-section .slider-column .slider-container .slider-item .slider-image {
  transform: scale(1.1);
}
.slider-form-section .slider-column .slider-container .slider-item .slider-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 30px;
  transform: translateY(0);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 3;
}
.slider-form-section .slider-column .slider-container .slider-item .slider-caption h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 0px;
  margin-bottom: 8px;
  opacity: 1;
  color: #fff;
  transform: translateY(-10px);
  transition: all 0.4s ease 0.1s;
}
.slider-form-section .slider-column .slider-container .slider-item .slider-caption p {
  font-size: 1rem;
  opacity: 1;
  margin: 0;
  transform: translateY(-5px);
  transition: all 0.4s ease 0.2s;
}
.slider-form-section .slider-column .slider-container .slider-item .slider-caption.visible {
  transform: translateY(0);
}
.slider-form-section .slider-column .slider-container .slider-item .slider-caption.visible h4, .slider-form-section .slider-column .slider-container .slider-item .slider-caption.visible p {
  opacity: 0.9;
  transform: translateY(0);
}
.slider-form-section .slider-column .slider-container .slider-item .slider-caption.visible h4 {
  opacity: 1;
}
.slider-form-section .slider-column .slider-container .slider-item.active .slider-caption.visible {
  transform: translateY(0);
}
.slider-form-section .slider-column .slider-container .slider-indicators {
  position: absolute;
  bottom: 80px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 5;
  opacity: 1;
  transform: translateY(0);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.slider-form-section .slider-column .slider-container .slider-indicators.visible {
  opacity: 1;
  transform: translateY(0);
}
.slider-form-section .slider-column .slider-container .slider-indicators .indicator-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  position: relative;
  overflow: hidden;
}
.slider-form-section .slider-column .slider-container .slider-indicators .indicator-dot::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: white;
  transition: left 0.3s ease;
}
.slider-form-section .slider-column .slider-container .slider-indicators .indicator-dot:hover {
  transform: scale(1.3);
  border-color: white;
}
.slider-form-section .slider-column .slider-container .slider-indicators .indicator-dot.active {
  border-color: white;
}
.slider-form-section .slider-column .slider-container .slider-indicators .indicator-dot.active::before {
  left: 0;
}
.slider-form-section .slider-column .slider-container .slider-info {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #fff;
  font-size: 11px;
  background: rgba(0, 0, 0, 0.6);
  padding: 4px 10px;
  border-radius: 20px;
  backdrop-filter: blur(5px);
  pointer-events: none;
}
.slider-form-section .slider-column .slider-container .slider-info.hidden {
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
}
.slider-form-section .slider-column .slider-container .slider-info .info-icon {
  color: white;
  font-size: 1.2rem;
  animation: pulse 2s infinite;
}
.slider-form-section .slider-column .slider-container .slider-info .info-text {
  font-size: 0.85rem;
  color: white;
  margin: 0;
  font-weight: 500;
}
.slider-form-section .slider-column .slider-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease;
  z-index: 4;
  pointer-events: none;
}
.slider-form-section .slider-column .slider-container:hover::before {
  background: rgba(0, 0, 0, 0.1);
}
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
.slider-form-section .slider-column .stats-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
@media (max-width: 576px) {
  .slider-form-section .slider-column .stats-container {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 20px;
  }
}
.slider-form-section .slider-column .stats-container .stat-item {
  text-align: center;
  padding: 15px;
}
.slider-form-section .slider-column .stats-container .stat-item .stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #153768;
  margin-bottom: 8px;
  line-height: 1;
}
@media (max-width: 768px) {
  .slider-form-section .slider-column .stats-container .stat-item .stat-number {
    font-size: 2rem;
  }
}
.slider-form-section .slider-column .stats-container .stat-item .stat-label {
  font-size: 0.95rem;
  color: #6c757d;
  font-weight: 500;
}
.slider-form-section .pause {
  margin-bottom: 20px;
}
@keyframes slideInControls {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.slider-form-section .slider-controls.visible {
  animation: slideInControls 0.3s ease;
}
.slider-form-section .slider-indicators.visible {
  animation: slideInControls 0.3s ease 0.1s both;
}

@media (max-width: 768px) {
  .parallax-background {
    background-attachment: scroll;
    height: 120vh;
    backdrop-filter: blur(1px);
  }
  .parallax-background::before {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.2) 80%, transparent 100%);
  }
  .mision-vision-section {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(3px);
  }
}
.slider-indicators {
  display: none !important;
}

.section-titlte-slider {
  font-size: 2rem;
  font-weight: 700;
  color: #002f61;
  margin-bottom: 24px;
}
@media (max-width: 768px) {
  .section-titlte-slider {
    font-size: 2rem;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-text {
  animation: fadeUp 0.8s ease-out forwards;
}

.hero-title {
  opacity: 0;
  animation: slideUp 0.9s ease-out forwards;
}

.hero-subtitle {
  opacity: 0;
  animation: slideUp 0.9s ease-out forwards;
  animation-delay: 0.2s;
}

.hero-description {
  opacity: 0;
  animation: fadeUp 0.9s ease-out forwards;
  animation-delay: 0.4s;
}

/* ===== FAQ SECTION ===== */
.faq-section {
  background-color: #ffffff;
  padding: 80px 0;
}

.faq-section .section-header {
  text-align: center;
  margin-bottom: 48px;
}

.faq-section .section-header .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 16px;
  justify-content: center;
}

@media (max-width: 768px) {
  .faq-section .section-header .section-title {
    font-size: 2rem;
  }
}
.faq-section .section-header .section-subtitle {
  font-size: 1.2rem;
  color: #6c757d;
  max-width: 600px;
  margin: 0 auto;
}

.faq-section .faq-container {
  display: flex;
  gap: 40px;
}

@media (max-width: 992px) {
  .faq-section .faq-container {
    flex-direction: column;
    gap: 30px;
  }
}
.faq-section .faq-accordion {
  flex: 1;
}

.faq-section .faq-accordion .faq-panel {
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e9ecef;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-section .faq-accordion .faq-panel:hover {
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(var(--primary-color-rgb), 0.1);
}

.faq-section .faq-accordion .faq-panel.active {
  border-color: var(--primary-color);
  box-shadow: 0 4px 16px rgba(var(--primary-color-rgb), 0.15);
}

.faq-section .faq-accordion .faq-panel .faq-question {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  cursor: pointer;
  background-color: #ffffff;
  transition: background-color 0.3s ease;
}

.faq-section .faq-accordion .faq-panel .faq-question:hover {
  background-color: rgba(var(--primary-color-rgb), 0.05);
}

.faq-section .faq-accordion .faq-panel .faq-question .faq-number {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.2rem;
  min-width: 30px;
}

.faq-section .faq-accordion .faq-panel .faq-question .faq-query {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary-color);
  flex: 1;
}

.faq-section .faq-accordion .faq-panel .faq-question .faq-toggle i {
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.faq-section .faq-accordion .faq-panel.active .faq-question .faq-toggle i {
  transform: rotate(180deg);
}

.faq-section .faq-accordion .faq-panel .faq-answer {
  display: none;
  padding: 0 24px 24px 50px;
}

.faq-section .faq-accordion .faq-panel.active .faq-answer {
  display: block;
}

.faq-section .faq-accordion .faq-panel .faq-answer p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #6c757d;
}

.faq-section .faq-cta {
  flex: 0 0 300px;
}

@media (max-width: 992px) {
  .faq-section .faq-cta {
    flex: none;
    max-width: 400px;
    margin: 0 auto;
  }
}
.faq-section .faq-cta .cta-card {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 12px;
  padding: 32px;
  color: #ffffff;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(var(--primary-color-rgb), 0.2);
}

.faq-section .faq-cta .cta-card .cta-icon {
  font-size: 3rem;
  width: 3rem;
  height: 3rem;
  margin-bottom: 20px;
  opacity: 0.9;
  margin: 0 auto;
}

.faq-section .faq-cta .cta-card .cta-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #ffffff;
}

.faq-section .faq-cta .cta-card .cta-description {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 24px;
  line-height: 1.5;
}

.faq-section .faq-cta .cta-card .cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.faq-section .faq-cta .cta-card .cta-button:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
}

@media (max-width: 768px) {
  .faq-section .faq-accordion .faq-panel .faq-question {
    padding: 16px;
  }
  .faq-section .faq-accordion .faq-panel .faq-question .faq-query {
    font-size: 1rem;
  }
  .faq-section .faq-accordion .faq-panel .faq-answer {
    padding: 0 16px 16px 16px;
  }
}
.mv-icon-mv {
  font-size: 2.5rem;
  width: 2.5rem;
  height: 2.5rem;
  color: #002f61;
  margin-right: 16px;
  color: var(--primary-color);
}

/* Estilos para el formulario de contacto (CF7) */
.form-card {
  width: 100%;
}
.form-card .wpcf7-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.form-card .wpcf7-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}
.form-card .wpcf7-form input[type=text],
.form-card .wpcf7-form input[type=email],
.form-card .wpcf7-form input[type=tel],
.form-card .wpcf7-form select,
.form-card .wpcf7-form textarea {
  width: 100%;
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  box-sizing: border-box;
}
.form-card .wpcf7-form input[type=text]:focus,
.form-card .wpcf7-form input[type=email]:focus,
.form-card .wpcf7-form input[type=tel]:focus,
.form-card .wpcf7-form select:focus,
.form-card .wpcf7-form textarea:focus {
  outline: none;
  border-color: #002f61;
  box-shadow: 0 0 0 3px rgba(0, 47, 97, 0.15);
}
.form-card .wpcf7-form input[type=text]::placeholder,
.form-card .wpcf7-form input[type=email]::placeholder,
.form-card .wpcf7-form input[type=tel]::placeholder,
.form-card .wpcf7-form select::placeholder,
.form-card .wpcf7-form textarea::placeholder {
  color: rgba(0, 0, 0, 0.4);
}
.form-card .wpcf7-form textarea {
  min-height: 120px;
  resize: vertical;
}
.form-card .wpcf7-form {
  /* Radios estilo moderno */
  /* Checkbox */
}
.form-card .wpcf7-form .wpcf7-acceptance label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: #ffffff;
}
.form-card .wpcf7-form .wpcf7-acceptance label input[type=checkbox] {
  margin-top: 3px;
  accent-color: #002f61;
}
.form-card .wpcf7-form {
  /* Botón moderno tipo Angular */
}
.form-card .wpcf7-form .wpcf7-submit {
  margin-top: 10px;
  background: #002f61;
  color: #ffffff;
  border: none;
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s ease;
  width: 100%;
  letter-spacing: 0.5px;
}
.form-card .wpcf7-form .wpcf7-submit:hover {
  transform: translateY(-1px);
}
.form-card .wpcf7-form .wpcf7-submit:active {
  transform: translateY(0);
}
.form-card .wpcf7-form {
  /* Mensajes */
}
.form-card .wpcf7-form .wpcf7-response-output {
  padding: 12px 15px;
  border-radius: 8px;
  font-size: 0.85rem;
}
.form-card .wpcf7-form .wpcf7-not-valid-tip {
  font-size: 0.75rem;
  color: #ff6b6b;
  margin-top: -10px;
}

.wpcf7-radio input[type=radio] {
  display: none;
}

.wpcf7-radio {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.wpcf7-radio span.wpcf7-list-item {
  margin: 0;
}
.wpcf7-radio span.wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  font-size: 0.9rem;
  color: #ffffff;
}
.wpcf7-radio span.wpcf7-list-item label input[type=radio] {
  accent-color: #002f61;
}

.wpcf7-radio .wpcf7-list-item-label {
  padding: 10px 18px;
  border: 1px solid #ccc;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
}

.wpcf7-radio input[type=radio]:checked + .wpcf7-list-item-label {
  background: #002f61;
  color: white;
  border-color: #002f61;
}

.wpcf7-radio input[type=radio] {
  display: none;
}

.slider-excerpt {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 12px;
  opacity: 0.95;
  max-width: 70%;
  pointer-events: auto;
}

.program-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 13px;
  pointer-events: auto;
}

.program-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 10px;
  border-radius: 20px;
  backdrop-filter: blur(5px);
}

.slider-excerpt {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 12px;
  opacity: 0.95;
  max-width: 70%;
  pointer-events: auto;
}

.program-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 13px;
  pointer-events: auto;
}

.program-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 10px;
  border-radius: 20px;
  backdrop-filter: blur(5px);
}

.btn-slider {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--secondary-color);
  color: #fff;
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  pointer-events: auto;
}

.btn-slider:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.slider-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  justify-content: space-between;
  padding: 0 15px;
  pointer-events: none;
}

.slider-controls .control-btn {
  pointer-events: auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  opacity: 0.8;
}

.slider-controls .control-btn:hover {
  opacity: 1;
  transform: scale(1.1);
  background: #fff;
}

/* Botón play/pause */
.play-pause {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 11;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  color: var(--primary-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.play-pause:hover {
  background: #fff;
  transform: scale(1.1);
}

/* Indicadores (dots) */
.slider-indicators {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
}

.indicator-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  padding: 0;
}

.indicator-dot.active {
  background: #fff;
  width: 20px;
  border-radius: 10px;
}

/* Información flotante (ahora arriba izquierda) */
.slider-info {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #fff;
  font-size: 11px;
  background: rgba(0, 0, 0, 0.6);
  padding: 4px 10px;
  border-radius: 20px;
  backdrop-filter: blur(5px);
  pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
  .slider-wrapper {
    aspect-ratio: 4/3;
  }
  .slider-caption {
    padding: 20px;
  }
  .slider-caption h4 {
    font-size: 18px;
  }
  .slider-excerpt {
    max-width: 100%;
    font-size: 12px;
  }
  .program-meta {
    flex-wrap: wrap;
    gap: 8px;
  }
  .btn-slider {
    padding: 6px 15px;
    font-size: 12px;
  }
  .slider-controls .control-btn {
    width: 36px;
    height: 36px;
  }
  .play-pause {
    width: 36px;
    height: 36px;
    top: 10px;
    right: 10px;
  }
  .slider-info {
    top: 10px;
    left: 10px;
    font-size: 10px;
  }
  .slider-indicators {
    bottom: 10px;
  }
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 80px 0;
}

.text-center {
  text-align: center;
}

.programas-container {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #333333;
  line-height: 1.6;
}

.hero-wrapper {
  position: relative;
  padding: 100px 20px 120px;
}
@media (max-width: 768px) {
  .hero-wrapper {
    padding: 20px 15px 100px;
  }
}

/* IMAGEN DE FONDO */
.hero-image {
  position: relative;
  height: 500px;
  border-radius: 28px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 47, 97, 0.2);
}
@media (max-width: 992px) {
  .hero-image {
    height: 450px;
  }
}
@media (max-width: 768px) {
  .hero-image {
    height: 400px;
    border-radius: 20px;
  }
}
@media (max-width: 576px) {
  .hero-image {
    height: 350px;
    border-radius: 16px;
  }
}

/* OVERLAY CON GRADIENTE */
.hero-overlay {
  height: 100%;
  padding: 60px;
  color: white;
  background: linear-gradient(to right, rgba(0, 47, 97, 0.85), rgba(0, 47, 97, 0.65) 40%, rgba(69, 202, 235, 0.3));
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
@media (max-width: 992px) {
  .hero-overlay {
    padding: 40px;
  }
}
@media (max-width: 768px) {
  .hero-overlay {
    padding: 30px;
  }
}
@media (max-width: 576px) {
  .hero-overlay {
    padding: 20px;
  }
}

/* TAG SUPERIOR */
.hero-tag {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
@media (max-width: 576px) {
  .hero-tag {
    font-size: 12px;
    padding: 5px 12px;
  }
}

/* TÍTULO PRINCIPAL */
.hero-title {
  font-size: 48px;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  max-width: 700px;
}
@media (max-width: 992px) {
  .hero-title {
    font-size: 40px;
  }
}
@media (max-width: 768px) {
  .hero-title {
    font-size: 32px;
  }
}
@media (max-width: 576px) {
  .hero-title {
    font-size: 28px;
  }
}

.hero-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  line-height: 1.6;
  max-width: 600px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}
@media (max-width: 768px) {
  .hero-description {
    font-size: 1rem;
  }
}

/* ACCIONES (BOTONES) */
.hero-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 10px;
}
@media (max-width: 576px) {
  .hero-actions {
    gap: 12px;
  }
}

.btn-primary {
  padding: 14px 32px;
  background: #45caeb;
  color: #002f61;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(69, 202, 235, 0.3);
}
.btn-primary:hover {
  background: color-mix(in srgb, var(--secondary-color) 90%, white);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(69, 202, 235, 0.4);
}
.btn-primary:active {
  transform: translateY(-1px);
}
.btn-primary mat-icon {
  font-size: 20px;
  width: 20px;
  height: 20px;
}
@media (max-width: 576px) {
  .btn-primary {
    padding: 12px 24px;
    font-size: 0.95rem;
    width: 100%;
    justify-content: center;
  }
}

.btn-secondary {
  color: white;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  font-size: 1rem;
  padding: 12px 24px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  backdrop-filter: blur(10px);
}
.btn-secondary:hover {
  color: #45caeb;
  border-color: #45caeb;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
}
.btn-secondary mat-icon {
  font-size: 18px;
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}
.btn-secondary:hover mat-icon {
  transform: translateX(4px);
}
@media (max-width: 576px) {
  .btn-secondary {
    padding: 10px 20px;
    font-size: 0.95rem;
    width: 100%;
    justify-content: center;
  }
}

/* CARD FLOTANTE (OPCIONAL) */
.floating-card {
  right: 40px;
  bottom: 60px;
  width: 200px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 16px;
  color: #002f61;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.8);
}
.floating-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  background: white;
}
@media (max-width: 992px) {
  .floating-card {
    right: 30px;
    bottom: 30px;
    width: 180px;
  }
}
@media (max-width: 768px) {
  .floating-card {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 30px;
    width: 200px;
  }
}
@media (max-width: 576px) {
  .floating-card {
    width: 100%;
    max-width: 250px;
    margin: 30px auto 0;
  }
}
.floating-card img {
  width: 100%;
  height: 200px;
  border-radius: 12px;
  margin-bottom: 12px;
  object-fit: cover;
  border: 2px solid rgba(69, 202, 235, 0.3);
}
.floating-card span {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  display: block;
  text-align: center;
}

/* ESTADÍSTICAS FLOTANTES */
.stats-card {
  position: relative;
  max-width: 1000px;
  margin: -50px auto 0;
  background: #ffffff;
  border-radius: 24px;
  display: flex;
  justify-content: space-around;
  padding: 40px 20px;
  box-shadow: 0 25px 60px rgba(0, 47, 97, 0.15);
  z-index: 10;
  border: 1px solid rgba(0, 47, 97, 0.1);
}
@media (max-width: 992px) {
  .stats-card {
    margin: -60px auto 0;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 90%;
    padding: 30px 20px;
  }
}
@media (max-width: 768px) {
  .stats-card {
    margin: -40px auto 0;
    padding: 25px 15px;
    border-radius: 20px;
  }
}
@media (max-width: 576px) {
  .stats-card {
    margin: -30px auto 0;
    padding: 20px 10px;
    border-radius: 16px;
    gap: 20px;
  }
}
.stats-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  background: white;
}

.stat {
  text-align: center;
  max-width: 200px;
  padding: 0 15px;
  position: relative;
}
.stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 60px;
  width: 1px;
  background: rgba(0, 47, 97, 0.1);
}
@media (max-width: 992px) {
  .stat {
    flex: 1 1 40%;
    max-width: 200px;
  }
  .stat:nth-child(2n)::after {
    display: none;
  }
}
@media (max-width: 576px) {
  .stat {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .stat::after {
    display: none;
  }
}
.stat strong {
  font-size: 42px;
  font-weight: 800;
  color: #002f61;
  line-height: 1;
  display: block;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #002f61, #45caeb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
@media (max-width: 768px) {
  .stat strong {
    font-size: 36px;
  }
}
@media (max-width: 576px) {
  .stat strong {
    font-size: 32px;
  }
}
.stat span {
  display: block;
  font-size: 15px;
  color: #6c757d;
  font-weight: 600;
  line-height: 1.4;
}
@media (max-width: 768px) {
  .stat span {
    font-size: 14px;
  }
}
@media (max-width: 576px) {
  .stat span {
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .hero-wrapper .hero-image {
    height: 380px;
  }
  .hero-wrapper .hero-title {
    font-size: 32px;
    margin-bottom: 15px;
  }
  .hero-wrapper .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-wrapper .hero-actions .btn-primary, .hero-wrapper .hero-actions .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}
@media (max-width: 576px) {
  .hero-wrapper {
    padding-top: 0px !important;
    text-align: center;
  }
  .hero-wrapper .hero-image {
    height: 520px;
  }
  .hero-wrapper .hero-title {
    font-size: 20px !important;
    margin-bottom: 10px !important;
  }
  .hero-wrapper .hero-description {
    font-size: 0.95rem;
    margin: 10px !important;
  }
  .hero-wrapper .hero-actions .btn-primary {
    padding: 9px 20px !important;
  }
  .hero-wrapper .hero-actions .btn-secondary {
    padding: 9px 20px !important;
  }
  .hero-wrapper .stats-card .stat {
    flex: 0 0 45%;
    max-width: 45%;
  }
  .hero-wrapper .stats-card .stat:nth-child(2n)::after {
    display: none;
  }
}
.search-bar-container {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #eef4fb;
  padding: 12px;
  border-radius: 12px;
  width: 100%;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .search-bar-container {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
}

/* ---------- FILTROS ---------- */
/* ---------- FILTROS CON CLASE OPEN ---------- */
.search-filter {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  color: #333333;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  min-width: 140px;
  user-select: none;
  transition: all 0.2s ease;
}
.search-filter:hover, .search-filter.open {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.search-filter.area-filter {
  min-width: 160px;
}
.search-filter .arrow {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #666;
  margin-left: auto;
  transition: transform 0.2s ease;
}
.search-filter {
  /* Rotar flecha cuando está abierto */
}
.search-filter.open .arrow {
  transform: rotate(180deg);
}

/* Dropdown de filtros - VERSIÓN CON *ngIf */
.filter-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  list-style: none;
  padding: 6px 0;
  width: 100%;
  min-width: 180px;
  z-index: 1000;
  max-height: 300px;
  overflow-y: auto;
}
.filter-dropdown li {
  padding: 10px 14px;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: background 0.2s ease;
}
.filter-dropdown li:hover {
  background: #f2f6fb;
}
.filter-dropdown li mat-icon {
  font-size: 14px;
  width: 14px;
  height: 14px;
  margin-right: 8px;
  color: #6c757d;
}

/* ---------- INPUT DE BÚSQUEDA ---------- */
.search-input {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  padding: 10px 14px;
  border-radius: 10px;
  min-width: 300px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  position: relative;
}
@media (max-width: 768px) {
  .search-input {
    min-width: auto;
    width: 100%;
  }
}
.search-input {
  /* Icono de búsqueda personalizado */
}
.search-input .search-icon {
  width: 16px;
  height: 16px;
  border: 2px solid #999;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}
.search-input .search-icon::after {
  content: "";
  width: 7px;
  height: 2px;
  background: #999;
  position: absolute;
  right: -6px;
  bottom: -2px;
  transform: rotate(45deg);
}
.search-input {
  /* Input */
}
.search-input input {
  border: none;
  outline: none;
  font-size: 14px;
  width: 100%;
  color: #333333;
  background: transparent;
  font-family: inherit;
}
.search-input input::placeholder {
  color: #999;
}
.search-input {
  /* Spinner de búsqueda */
}
.search-input .searching-spinner .spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(0, 47, 97, 0.3);
  border-radius: 50%;
  border-top-color: #002f61;
  animation: spin 0.6s linear infinite;
}
.search-input {
  /* Botón de limpiar */
}
.search-input .clear-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  transition: color 0.2s ease;
  flex-shrink: 0;
}
.search-input .clear-btn:hover {
  color: #002f61;
}
.search-input .clear-btn mat-icon {
  font-size: 16px;
  width: 16px;
  height: 16px;
}

/* ---------- BOTÓN LIMPIAR FILTROS ---------- */
.clear-filters-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  color: #f44336;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(244, 67, 54, 0.3);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.clear-filters-btn:hover {
  background: #f44336;
  color: white;
  border-color: #f44336;
}
.clear-filters-btn mat-icon {
  font-size: 16px;
  width: 16px;
  height: 16px;
}

/* ---------- ANIMACIONES ---------- */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .search-bar-container > * {
    width: 100%;
  }
  .search-filter {
    justify-content: space-between;
    width: 92%;
  }
  .clear-filters-btn {
    justify-content: center;
    width: 92%;
  }
}
/* ---------- MANTENER EL ESTILO DE LA SECCIÓN ---------- */
.filtros-section {
  background-color: #ffffff;
}
.filtros-section .filtros-header {
  text-align: center;
  margin-bottom: 40px;
  justify-items: center;
}
.filtros-section .filtros-header .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #002f61;
  margin-bottom: 16px;
}
@media (max-width: 768px) {
  .filtros-section .filtros-header .section-title {
    font-size: 2rem;
  }
}
.filtros-section .filtros-header .section-subtitle {
  font-size: 1.2rem;
  color: #6c757d;
  max-width: 600px;
  margin: 0 auto;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 20px;
  align-items: stretch;
}
@media (max-width: 768px) {
  .cards-container {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
  }
}
@media (max-width: 576px) {
  .cards-container {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* FEATURE CARD */
.feature-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 24px;
  border-radius: 20px;
  background-color: #ffffff;
  color: #111;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  border: 2px solid transparent;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.7s ease;
  pointer-events: none;
}
.feature-card {
  /* ICONO */
}
.feature-card .icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #f3f3f3;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}
.feature-card .icon {
  font-size: 24px;
  width: 24px;
  height: 24px;
  transition: color 0.3s ease;
}
.feature-card {
  /* TEXTO */
}
.feature-card .card-title {
  font-size: 18px;
  font-weight: 700;
  margin-top: 0px;
  margin-bottom: 10px;
  color: #002f61;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 50px;
}
.feature-card .card-subtitle {
  font-size: 14px;
  color: #45caeb;
  font-weight: 600;
  margin: 0px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.feature-card {
  /* INFO ADICIONAL */
}
.feature-card .programa-info {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.feature-card .programa-info .info-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #6c757d;
  font-weight: 500;
}
.feature-card .programa-info .info-item .mini-icon {
  font-size: 16px;
  width: 16px;
  height: 16px;
  color: #002f61;
  opacity: 0.7;
}
.feature-card {
  /* BOTÓN / LINK */
}
.feature-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  /* ESTADO NORMAL - Maestría */
  background-color: rgba(69, 202, 235, 0.15);
  color: #45caeb;
  border: 1px solid rgba(69, 202, 235, 0.2);
}
.feature-card .card-link mat-icon {
  font-size: 16px;
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}
.feature-card {
  /* HOVER CARD */
}
.feature-card:hover {
  background-color: #45caeb;
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(69, 202, 235, 0.25);
  border-color: #45caeb;
}
.feature-card:hover::before {
  left: 100%;
}
.feature-card:hover {
  /* CAMBIO BOTÓN CUANDO EL CARD ESTÁ HOVER */
}
.feature-card:hover .card-link {
  background-color: white;
  color: #45caeb;
  transform: translateX(4px);
}
.feature-card:hover .card-link mat-icon {
  transform: translateX(4px);
}
.feature-card:hover .icon-wrapper {
  border-bottom: 2px solid #ffffff !important;
}
.feature-card:hover .icon {
  color: #e2e8f0 !important;
}
.feature-card:hover {
  /* AJUSTES SECUNDARIOS EN HOVER */
}
.feature-card:hover .card-title {
  color: white;
}
.feature-card:hover .card-subtitle {
  color: rgba(255, 255, 255, 0.9);
}
.feature-card:hover .programa-info .info-item {
  color: rgba(255, 255, 255, 0.8);
}
.feature-card:hover .programa-info .info-item .mini-icon {
  color: white;
  opacity: 0.9;
}
.feature-card:hover .icon-wrapper {
  background: rgba(255, 255, 255, 0.2);
}
.feature-card:hover .icon-wrapper .icon {
  color: white;
}
.feature-card {
  /* VARIANTES POR TIPO DE PROGRAMA */
}
.feature-card[data-tipo=maestria] .icon-wrapper {
  background: rgba(0, 47, 97, 0.1);
}
.feature-card[data-tipo=maestria] .icon-wrapper .icon {
  color: #002f61;
}
.feature-card[data-tipo=maestria] .card-link {
  background-color: rgba(0, 47, 97, 0.1);
  color: #002f61;
  border-color: rgba(0, 47, 97, 0.2);
}
.feature-card[data-tipo=maestria]:hover {
  background-color: #002f61;
  border-color: #002f61;
  box-shadow: 0 16px 40px rgba(0, 47, 97, 0.2);
}
.feature-card[data-tipo=maestria]:hover .card-link {
  background-color: white;
  color: #002f61;
}
.feature-card[data-tipo=doctorado] .icon-wrapper {
  background: rgba(69, 202, 235, 0.1);
}
.feature-card[data-tipo=doctorado] .icon-wrapper .icon {
  color: #45caeb;
}
.feature-card[data-tipo=doctorado] .card-link {
  background-color: rgba(69, 202, 235, 0.15);
  color: #45caeb;
  border-color: rgba(69, 202, 235, 0.2);
}
.feature-card[data-tipo=doctorado]:hover {
  background-color: #45caeb;
  border-color: #45caeb;
  box-shadow: 0 16px 40px rgba(69, 202, 235, 0.25);
}
.feature-card[data-tipo=doctorado]:hover .card-link {
  background-color: white;
  color: #45caeb;
}
.feature-card {
  /* ESTADO ACTIVO (opcional) */
}
.feature-card.active {
  border-color: #45caeb;
  background: linear-gradient(135deg, rgba(69, 202, 235, 0.05) 0%, rgba(69, 202, 235, 0.1) 100%);
}
.feature-card.active .card-link {
  background-color: #45caeb;
  color: white;
}
.feature-card.active:hover .card-link {
  background-color: #002f61;
  color: white;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.feature-card {
  animation: fadeInUp 0.5s ease backwards;
}
.feature-card:nth-child(1) {
  animation-delay: 0.05s;
}
.feature-card:nth-child(2) {
  animation-delay: 0.1s;
}
.feature-card:nth-child(3) {
  animation-delay: 0.15s;
}
.feature-card:nth-child(4) {
  animation-delay: 0.2s;
}
.feature-card:nth-child(5) {
  animation-delay: 0.25s;
}
.feature-card:nth-child(6) {
  animation-delay: 0.3s;
}
.feature-card:nth-child(7) {
  animation-delay: 0.35s;
}
.feature-card:nth-child(8) {
  animation-delay: 0.4s;
}
.feature-card:nth-child(9) {
  animation-delay: 0.45s;
}
.feature-card:nth-child(10) {
  animation-delay: 0.5s;
}
.feature-card:nth-child(11) {
  animation-delay: 0.55s;
}
.feature-card:nth-child(12) {
  animation-delay: 0.6s;
}
.feature-card:nth-child(13) {
  animation-delay: 0.65s;
}
.feature-card:nth-child(14) {
  animation-delay: 0.7s;
}
.feature-card:nth-child(15) {
  animation-delay: 0.75s;
}
.feature-card:nth-child(16) {
  animation-delay: 0.8s;
}
.feature-card:nth-child(17) {
  animation-delay: 0.85s;
}
.feature-card:nth-child(18) {
  animation-delay: 0.9s;
}
.feature-card:nth-child(19) {
  animation-delay: 0.95s;
}
.feature-card:nth-child(20) {
  animation-delay: 1s;
}
.feature-card:nth-child(21) {
  animation-delay: 1.05s;
}
.feature-card:nth-child(22) {
  animation-delay: 1.1s;
}
.feature-card:nth-child(23) {
  animation-delay: 1.15s;
}
.feature-card:nth-child(24) {
  animation-delay: 1.2s;
}
.feature-card:nth-child(25) {
  animation-delay: 1.25s;
}
.feature-card:nth-child(26) {
  animation-delay: 1.3s;
}
.feature-card:nth-child(27) {
  animation-delay: 1.35s;
}
.feature-card:nth-child(28) {
  animation-delay: 1.4s;
}
.feature-card:nth-child(29) {
  animation-delay: 1.45s;
}
.feature-card:nth-child(30) {
  animation-delay: 1.5s;
}

@media (max-width: 992px) {
  .cards-container {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}
@media (max-width: 576px) {
  .feature-card {
    padding: 20px;
  }
  .feature-card .icon-wrapper {
    width: 40px;
    height: 40px;
    margin-bottom: 16px;
  }
  .feature-card .icon-wrapper .icon {
    font-size: 20px;
    width: 20px;
    height: 20px;
  }
  .feature-card .card-title {
    font-size: 16px;
    min-height: 44px;
  }
  .feature-card .programa-info {
    gap: 12px;
  }
  .feature-card .programa-info .info-item {
    font-size: 12px;
  }
  .feature-card .card-link {
    padding: 6px 12px;
    font-size: 13px;
  }
}
.contacto-section {
  background: linear-gradient(135deg, #002f61 0%, #45caeb 100%);
}
.contacto-section .contacto-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}
@media (max-width: 992px) {
  .contacto-section .contacto-card {
    flex-direction: column;
  }
}
.contacto-section .contacto-card .contacto-content {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contacto-section .contacto-card .contacto-content .contacto-title {
  font-size: 2rem;
  font-weight: 700;
  color: #002f61;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .contacto-section .contacto-card .contacto-content .contacto-title {
    font-size: 1.7rem;
  }
}
.contacto-section .contacto-card .contacto-content .contacto-text {
  font-size: 1.1rem;
  color: #6c757d;
  margin-bottom: 30px;
  line-height: 1.6;
}
.contacto-section .contacto-card .contacto-content .contacto-acciones {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.contacto-section .contacto-card .contacto-content .contacto-acciones button {
  font-weight: 600;
  padding: 10px 24px;
}
.contacto-section .contacto-card .contacto-content .contacto-acciones button mat-icon {
  margin-right: 8px;
}
.contacto-section .contacto-card .contacto-image {
  flex: 1;
  min-height: 300px;
  overflow: hidden;
}
.contacto-section .contacto-card .contacto-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }
  .hero-title {
    font-size: 2rem !important;
  }
  .hero-subtitle {
    font-size: 1.1rem !important;
  }
  .section-title {
    font-size: 1.5rem !important;
  }
  .estadistica-card {
    padding: 20px 15px !important;
  }
}
@media (max-width: 576px) {
  .section-padding {
    padding: 40px 0;
  }
  .hero-title {
    font-size: 1.8rem !important;
  }
  .inscribete-button {
    width: 100%;
  }
  .filtros-rapidos {
    flex-direction: column;
  }
  .contacto-acciones {
    flex-direction: column;
  }
  .contacto-acciones button {
    width: 100%;
  }
}
.searching-icon .spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(0, 47, 97, 0.1);
  border-left-color: #002f61;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.search-field ::ng-deep .mat-form-field-wrapper {
  padding-bottom: 0;
}
.search-field ::ng-deep .mat-form-field-flex {
  background-color: white;
  border-radius: 8px;
}

.resultados-info p {
  font-size: 1rem;
  color: #64748b;
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 20px;
}
.resultados-info p:empty {
  display: none;
}

.search-filter {
  position: relative;
  cursor: pointer;
}

.filter-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid #ddd;
  list-style: none;
  padding: 0;
  margin: 5px 0 0;
  min-width: 200px;
  z-index: 100;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.search-filter.open .filter-dropdown {
  display: block;
}

.filter-dropdown li {
  padding: 10px 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-dropdown li:hover {
  background: #f5f5f5;
}

.feature-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.feature-card .card-link {
  margin-top: auto;
}

.cards-container {
  align-items: stretch;
}

.ver-todos-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 30px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color));
  color: white !important;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}
.ver-todos-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 47, 97, 0.3);
}

.empty-container {
  align-items: center;
}

.feature-card {
  position: relative;
  overflow: hidden;
}
.feature-card .card-bg,
.feature-card .card-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}
.feature-card .card-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.feature-card .icon-wrapper,
.feature-card .card-title,
.feature-card .card-subtitle,
.feature-card .programa-info,
.feature-card .card-link {
  position: relative;
  z-index: 2;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(69, 202, 235, 0.25);
}
.feature-card:hover .card-bg,
.feature-card:hover .card-bg-overlay {
  opacity: 1;
}
.feature-card:hover .card-bg-overlay {
  opacity: 0.85;
}
.feature-card:hover .card-title,
.feature-card:hover .card-subtitle,
.feature-card:hover .programa-info .info-item,
.feature-card:hover .card-link {
  color: white;
}
.feature-card:hover .card-link {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: white;
  transform: translateX(4px);
}
.feature-card:hover .icon-wrapper {
  background: rgba(255, 255, 255, 0.2);
}
.feature-card:hover .icon-wrapper .icon {
  color: white;
}

.feature-card[data-tipo=maestria]:hover {
  box-shadow: 0 16px 40px rgba(0, 47, 97, 0.25);
}

.feature-card[data-tipo=doctorado]:hover {
  box-shadow: 0 16px 40px rgba(69, 202, 235, 0.25);
}

.container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
  justify-items: center;
}
.section-header .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #002f61;
  margin-top: 0px;
  margin-bottom: 16px;
}
@media (max-width: 768px) {
  .section-header .section-title {
    font-size: 2rem;
  }
}
.section-header .section-subtitle {
  font-size: 1.2rem;
  color: #6c757d;
  max-width: 600px;
  margin: 0 auto;
}

.nosotros-container {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #333333;
  line-height: 1.6;
}

.hero-wrapper {
  position: relative;
  padding: 15px 20px 100px;
}
@media (max-width: 768px) {
  .hero-wrapper {
    padding: 20px 15px 100px;
  }
}

.hero-image {
  position: relative;
  height: 500px;
  border-radius: 28px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 47, 97, 0.2);
}
@media (max-width: 992px) {
  .hero-image {
    height: 450px;
  }
}
@media (max-width: 768px) {
  .hero-image {
    height: 400px;
    border-radius: 20px;
  }
}
@media (max-width: 576px) {
  .hero-image {
    height: 350px;
    border-radius: 16px;
  }
}

.hero-overlay {
  height: 100%;
  padding: 60px;
  color: white;
  background: linear-gradient(to right, rgba(25, 35, 44, 0.85), rgba(0, 47, 97, 0.65) 40%, rgba(69, 202, 235, 0.3));
  display: block;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
@media (max-width: 768px) {
  .hero-overlay {
    padding: 30px;
  }
}

.hero-tag {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
  font-size: 48px;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  max-width: 700px;
}
@media (max-width: 768px) {
  .hero-title {
    font-size: 32px;
  }
}

.hero-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  line-height: 1.6;
  max-width: 600px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.hero-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 10px;
}

.btn-primary, .btn-secondary {
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  text-decoration: none;
}
.btn-primary mat-icon, .btn-secondary mat-icon {
  font-size: 20px;
  width: 20px;
  height: 20px;
}

.btn-primary {
  background: #45caeb;
  color: #002f61;
  box-shadow: 0 8px 25px rgba(69, 202, 235, 0.3);
}
.btn-primary:hover {
  background-color: color-mix(in srgb, var(--primary-color) 90%, white);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(69, 202, 235, 0.4);
}

.btn-secondary {
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover {
  color: #45caeb;
  border-color: #45caeb;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
}

.stats-card {
  position: relative;
  max-width: 1000px;
  margin: -50px auto 0;
  background: #ffffff;
  border-radius: 24px;
  display: flex;
  justify-content: space-around;
  padding: 40px 20px;
  box-shadow: 0 25px 60px rgba(0, 47, 97, 0.15);
  z-index: 10;
  border: 1px solid rgba(0, 47, 97, 0.1);
}
@media (max-width: 992px) {
  .stats-card {
    flex-wrap: wrap;
    gap: 10px;
    padding: 30px 20px;
    margin: -5px auto 0;
  }
}

.stat {
  text-align: center;
  max-width: 200px;
  padding: 0 15px;
  position: relative;
}
.stat strong {
  font-size: 42px;
  font-weight: 800;
  color: #002f61;
  display: block;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #002f61, #45caeb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
@media (max-width: 768px) {
  .stat strong {
    font-size: 36px;
  }
}
.stat span {
  display: block;
  font-size: 15px;
  color: #6c757d;
  font-weight: 600;
}

.internal-nav {
  background: #e6f2ff;
  padding: 20px 0;
  border-bottom: 1px solid #e9ecef;
}
.internal-nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 40px;
  margin: 0;
  padding: 0;
}
@media (max-width: 768px) {
  .internal-nav ul {
    flex-wrap: wrap;
    gap: 20px;
  }
}
.internal-nav .nav-link {
  text-decoration: none;
  color: #6c757d;
  font-weight: 600;
  font-size: 16px;
  padding: 10px 0;
  position: relative;
  transition: color 0.3s ease;
}
.internal-nav .nav-link:hover, .internal-nav .nav-link.active {
  color: #002f61;
}
.internal-nav .nav-link:hover::after, .internal-nav .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #45caeb;
  border-radius: 2px;
}

.directivos-section {
  background: #ffffff;
}

.directivos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 0fr));
  gap: 30px;
  margin-top: 30px;
}
@media (max-width: 768px) {
  .directivos-grid {
    grid-template-columns: 1fr;
  }
}

.directivo-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.directivo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.directivo-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}
.directivo-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.directivo-image .directivo-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #45caeb;
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.directivo-image .directivo-badge mat-icon {
  font-size: 20px;
}
.directivo-image:hover img {
  transform: scale(1.05);
}

.directivo-content {
  padding: 25px;
}

.directivo-header {
  margin-bottom: 15px;
}
.directivo-header .directivo-nombre {
  font-size: 20px;
  font-weight: 700;
  color: #002f61;
  margin: 0 0 5px 0;
  line-height: 1.3;
}
.directivo-header .directivo-grado {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(0, 47, 97, 0.1);
  color: #002f61;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.directivo-cargo {
  font-size: 16px;
  color: #45caeb;
  font-weight: 600;
  margin-bottom: 20px;
}

.directivo-contacto .contacto-nosotros-item {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 10px !important;
}
.directivo-contacto .contacto-nosotros-item mat-icon {
  font-size: 18px;
  color: #6c757d;
}
.directivo-contacto .contacto-nosotros-item span {
  font-size: 14px;
  color: #6c757d;
}

.unidades-section {
  background: #e6f2ff;
}

.unidades-accordion .mat-expansion-panel {
  margin-bottom: 15px;
  border-radius: 12px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.unidades-accordion .mat-expansion-panel:last-child {
  margin-bottom: 0;
}
.unidades-accordion .unidad-header {
  display: flex;
  align-items: center;
  gap: 15px;
}
.unidades-accordion .unidad-header .unidad-icon {
  font-size: 24px;
}
.unidades-accordion .unidad-header span {
  font-size: 24px;
  font-weight: normal;
  color: #002f61;
}

.unidad-content {
  padding: 20px 0;
}

.unidad-miembros .miembro-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: #ffffff;
  border-radius: 10px;
  margin-bottom: 10px;
  border: 1px solid #e9ecef;
}
.unidad-miembros .miembro-card:last-child {
  margin-bottom: 0;
}
.unidad-miembros .miembro-card .miembro-info .miembro-nombre {
  font-size: 16px;
  font-weight: 600;
  color: #002f61;
  margin: 0 0 5px 0;
}
.unidad-miembros .miembro-card .miembro-info .miembro-cargo {
  font-size: 14px;
  color: #6c757d;
  margin: 0 0 5px 0;
}
.unidad-miembros .miembro-card .miembro-info .miembro-details .miembro-grado {
  font-size: 12px;
  color: #45caeb;
  font-weight: 600;
}
.unidad-miembros .miembro-card .miembro-actions button {
  background: rgba(69, 202, 235, 0.1);
}
.unidad-miembros .miembro-card .miembro-actions button:hover {
  background: rgba(69, 202, 235, 0.2);
}

.facultades-section {
  background: #ffffff;
}

.facultades-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.facultad-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid transparent;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}
.facultad-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.facultad-header {
  padding: 25px;
  display: flex;
  align-items: center;
  gap: 15px;
}
.facultad-header .facultad-icon {
  font-size: 32px;
}
.facultad-header .facultad-titulo h3 {
  font-size: 24px;
  font-weight: 800;
  color: #002f61;
  margin: 0 0 5px 0;
  line-height: 1;
}
.facultad-header .facultad-titulo p {
  font-size: 12px;
  color: #6c757d;
  margin: 0;
  line-height: 1.4;
}

.facultad-content {
  padding: 25px;
}

.director-info {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 25px;
}
.director-info .director-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #e9ecef;
}
.director-info .director-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.director-info .director-details {
  flex: 1;
}
.director-info .director-details .director-nombre {
  font-size: 16px;
  font-weight: 700;
  color: #002f61;
  margin: 0 0 5px 0;
  line-height: 1.3;
}
.director-info .director-details .director-cargo {
  font-size: 14px;
  color: #6c757d;
  margin: 0 0 5px 0;
}
.director-info .director-details .director-grado {
  font-size: 12px;
  font-weight: 600;
  color: #45caeb;
}

.btn-facultad {
  width: 100%;
  padding: 12px;
  background: rgba(69, 202, 235, 0.1);
  color: #45caeb;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-facultad:hover {
  background: #45caeb;
  color: #ffffff;
}

.organigrama-section {
  background: #e6f2ff;
}

.organigrama-container {
  overflow-x: auto;
  padding: 20px 0;
}

.organigrama-wrapper {
  min-width: 1000px;
  position: relative;
  padding: 40px 0;
}

.nivel {
  display: flex;
  justify-content: center;
  position: relative;
  margin-bottom: 60px;
}
.nivel:last-child {
  margin-bottom: 0;
}

.organigrama-line {
  position: absolute;
  height: 40px;
  width: 2px;
  background: #45caeb;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
}

.nivel-1 .organigrama-card {
  width: 250px;
  margin: 0 auto;
}

.nivel-2 {
  gap: 150px;
}
.nivel-2 .organigrama-card {
  width: 220px;
}
.nivel-2 .organigrama-line {
  height: 40px;
}

.nivel-3 .organigrama-line, .nivel-4 .organigrama-line {
  height: 40px;
}

.unidades-row, .facultades-grid-mini {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.organigrama-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}
.organigrama-card:hover {
  transform: translateY(-5px);
}
.organigrama-card.director-principal {
  border: 3px solid #45caeb;
}
.organigrama-card.secretario, .organigrama-card.secretaria {
  border: 2px solid #002f61;
}
.organigrama-card.unidad {
  min-width: 200px;
}
.organigrama-card.facultad {
  min-width: 80px;
  padding: 15px;
}

.organigrama-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 15px;
}
.organigrama-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.organigrama-info h4 {
  font-size: 14px;
  color: #6c757d;
  margin: 0 0 5px 0;
}
.organigrama-info p {
  font-size: 16px;
  font-weight: 600;
  color: #002f61;
  margin: 0;
  line-height: 1.3;
}

.facultad-abrev {
  font-size: 14px;
  font-weight: 800;
  color: #002f61;
}

.contacto-section {
  background: rgba(255, 255, 255, 0.45);
}

.contacto-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}
@media (max-width: 992px) {
  .contacto-card {
    flex-direction: column;
  }
}

.contacto-content {
  flex: 1;
  padding: 40px;
}
.contacto-content .contacto-title {
  font-size: 2rem;
  font-weight: 700;
  color: #002f61;
  margin-bottom: 20px;
}
.contacto-content .contacto-text {
  font-size: 1.1rem;
  color: #6c757d;
  margin-bottom: 30px;
  line-height: 1.6;
}

.contacto-info {
  margin-bottom: 30px;
}
.contacto-info .info-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}
.contacto-info .info-item mat-icon {
  color: #45caeb;
  font-size: 24px;
}
.contacto-info .info-item div strong {
  display: block;
  font-size: 16px;
  color: #002f61;
  margin-bottom: 5px;
}
.contacto-info .info-item div span {
  font-size: 14px;
  color: #6c757d;
}

.contacto-acciones {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.contacto-acciones button {
  font-weight: 600;
  padding: 10px 24px;
}
.contacto-acciones button mat-icon {
  margin-right: 8px;
}

.contacto-image {
  flex: 1;
  min-height: 300px;
  overflow: hidden;
}
.contacto-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 20px 0;
  }
  .hero-title {
    font-size: 2rem !important;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn-primary, .hero-actions .btn-secondary {
    width: 100%;
    justify-content: center;
  }
  .internal-nav ul {
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 10px;
  }
  .directivos-grid {
    grid-template-columns: 1fr;
  }
  .facultades-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  .contacto-acciones {
    flex-direction: column;
  }
  .contacto-acciones button {
    width: 100%;
  }
}
@media (max-width: 576px) {
  .stats-card {
    display: none;
  }
  .directivo-image {
    text-align: center;
  }
  .directivo-image img {
    width: 50%;
  }
}
@media (max-width: 576px) {
  .hero-wrapper .hero-image {
    height: 420px;
    margin-top: 20px;
    padding: 0px;
  }
  .hero-wrapper .hero-title {
    font-size: 20px !important;
    margin-bottom: 10px;
  }
  .hero-wrapper .hero-description {
    font-size: 15px !important;
    margin: 10px;
  }
  .hero-wrapper .hero-actions .btn-primary {
    padding: 9px 20px !important;
    width: 70%;
  }
  .hero-wrapper .hero-actions .btn-secondary {
    padding: 9px 20px !important;
    width: 70%;
  }
  .hero-wrapper .stats-card {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }
  .hero-wrapper .stats-card .stat {
    max-width: 100%;
  }
  .facultad-header {
    flex-direction: column;
    text-align: center;
  }
  .director-info {
    flex-direction: column;
    text-align: center;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.directivo-card, .facultad-card, .organigrama-card {
  animation: fadeIn 0.5s ease backwards;
}

html {
  scroll-behavior: smooth;
}

/* ========== ACORDEÓN UNIDADES DE APOYO (Página Nosotros) ========== */
.unidades-accordion {
  margin: 20px 0;
}

.unidad-item {
  background: white;
  border: 1px solid rgba(0, 47, 97, 0.1);
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.dark .unidad-item {
  background: rgba(0, 47, 97, 0.2);
  border-color: rgba(69, 202, 235, 0.2);
}

.unidad-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 24px;
  background: linear-gradient(135deg, rgba(0, 47, 97, 0.02) 0%, rgba(69, 202, 235, 0.02) 100%);
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 1.1rem;
}

.unidad-header i {
  font-size: 24px;
  transition: transform 0.3s ease;
}

.unidad-header:hover {
  background: rgba(69, 202, 235, 0.05);
}

.unidad-item.open .unidad-header i {
  transform: rotate(180deg);
}

.unidad-content {
  display: none;
  padding: 24px;
  background: white;
  border-top: 1px solid rgba(0, 47, 97, 0.05);
}

.dark .unidad-content {
  background: rgba(0, 47, 97, 0.3);
}

.unidad-item.open .unidad-content {
  display: block;
}

/* Tarjetas de miembros */
.miembro-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 12px;
  transition: all 0.2s ease;
}

.dark .miembro-card {
  background: rgba(255, 255, 255, 0.05);
}

.miembro-card:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(0, 47, 97, 0.1);
}

.miembro-info h4 {
  font-size: 16px;
  font-weight: 600;
  color: #002f61;
  margin: 0 0 4px 0;
}

.dark .miembro-info h4 {
  color: white;
}

.miembro-info p {
  font-size: 14px;
  color: #6c757d;
  margin: 0 0 2px 0;
}

.miembro-info .miembro-grado {
  font-size: 12px;
  color: #45caeb;
  font-weight: 500;
}

.miembro-actions .btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(69, 202, 235, 0.1);
  color: #002f61;
  transition: all 0.2s ease;
}

.miembro-actions .btn-icon:hover {
  background: #45caeb;
  color: white;
  transform: scale(1.1);
}

.dark .miembro-actions .btn-icon {
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

.dark .miembro-actions .btn-icon:hover {
  background: #45caeb;
  color: #002f61;
}

/* ========== SINGLE PROGRAMA ========== */
/* Hero Section */
.hero {
  position: relative;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 25px !important;
}
.hero .hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero .hero-overlay-single {
  position: absolute;
  inset: 0;
  backdrop-filter: brightness(0.75);
}
.hero .hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 48rem;
  animation: heroFadeUp 1s ease-out forwards;
}
.hero .hero-content .hero-subtitle {
  color: #45caeb;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin-bottom: 0.75rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease-out 0.2s forwards;
}
.hero .hero-content .hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.5;
  color: #ffffff;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25), 0 8px 20px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease-out 0.5s forwards;
  text-transform: uppercase;
}
@media (min-width: 768px) {
  .hero .hero-content .hero-title {
    font-size: 2.75rem;
  }
}
.hero .hero-content .hero-divider {
  width: 5rem;
  height: 0.25rem;
  background-color: #45caeb;
  margin: 0 auto;
  border-radius: 9999px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease-out 0.8s forwards;
}
.hero .hero-content .hero-divider::after {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  height: 100%;
  width: 50%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  animation: loadingSlide 1.5s infinite;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes heroFadeUp {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes loadingSlide {
  0% {
    left: -50%;
  }
  100% {
    left: 100%;
  }
}
/* Stats Section */
.stats-section {
  position: relative;
  margin-top: -3rem;
  z-index: 20;
  padding: 0 1rem;
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
}
.stats-section .stats-container {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 20px 25px -5px rgba(21, 55, 104, 0.1), 0 8px 10px -6px rgba(21, 55, 104, 0.1);
  border: 1px solid rgba(0, 47, 97, 0.05);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 1.5rem 0;
}

.dark .stats-section .stats-container {
  background-color: #002f61;
  border-color: rgba(69, 202, 235, 0.1);
  box-shadow: 0 20px 25px -5px rgba(21, 55, 104, 0.1), 0 8px 10px -6px rgba(21, 55, 104, 0.1) !important;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 0.5rem;
}
.stat-item .stat-label {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(0, 47, 97, 0.5);
  margin-top: 0.25rem;
}
.stat-item .stat-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: #333333;
}
.stat-item img {
  width: 13%;
  margin-bottom: 0.5rem;
}

.dark .stat-item .stat-label {
  color: rgba(255, 255, 255, 0.5);
}
.dark .stat-item .stat-value {
  color: #ffffff;
}

/* Overview Section */
.overview-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 1rem;
}

.overview-grid {
  display: grid;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .overview-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.section-title .title-accents {
  width: 0.375rem;
  height: 2rem;
  background-color: #45caeb;
  border-radius: 9999px;
}

/* Accordion estilo material */
.overview-accordion .accordion-item {
  background: #ffffff;
  border: 1px solid rgba(0, 47, 97, 0.1);
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.0784313725);
}
.overview-accordion .accordion-item .accordion-header {
  width: 100%;
  text-align: left;
  padding: 1.25rem;
  background: none;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  color: #333333;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.overview-accordion .accordion-item .accordion-header:hover {
  background: rgba(69, 202, 235, 0.05);
}
.overview-accordion .accordion-item .accordion-header.active {
  background: #002f61;
  color: #ffffff;
}
.overview-accordion .accordion-item .accordion-content {
  display: none;
  padding: 1.5rem;
  color: rgba(21, 55, 104, 0.7);
  font-size: 0.875rem;
  line-height: 1.7;
  text-align: justify;
}
.overview-accordion .accordion-item .accordion-content.presentacion {
  margin-top: 10px;
}
.overview-accordion .accordion-item.active .accordion-header {
  background: #002f61;
  color: #ffffff;
}

.dark .overview-accordion .accordion-item {
  background: rgba(0, 47, 97, 0.2);
  border-color: rgba(69, 202, 235, 0.2);
}
.dark .overview-accordion .accordion-item .accordion-header.active {
  background: #002f61;
}
.dark .overview-accordion .accordion-item .accordion-content {
  color: rgba(255, 255, 255, 0.8);
}

/* Deep Dive Card */
.overview-right {
  background-color: rgba(21, 55, 104, 0.05);
  border-radius: 1rem;
  border: 1px dashed rgba(21, 55, 104, 0.2);
}
@media (min-width: 1024px) {
  .overview-right {
    display: block;
  }
}

.deepdive-card {
  background: rgba(0, 47, 97, 0.05);
  border-radius: 1rem;
  border: 1px dashed rgba(0, 47, 97, 0.2);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.deepdive-card .deepdive-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #333333;
}
.deepdive-card .deepdive-text {
  color: rgba(51, 51, 51, 0.7);
  line-height: 2;
  margin-bottom: 1.5rem;
}
.deepdive-card .stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.deepdive-card .stat-box {
  background: #ffffff;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.deepdive-card .stat-box .stat-number {
  color: #45caeb;
  font-weight: 700;
  font-size: 1.5rem;
}
.deepdive-card .stat-box .stat-label {
  font-size: 0.75rem;
  color: rgba(51, 51, 51, 0.6);
  margin-top: 0.25rem;
  display: block;
}

.dark .deepdive-card {
  background: rgba(69, 202, 235, 0.05);
  border-color: rgba(69, 202, 235, 0.2);
}
.dark .deepdive-card .deepdive-text {
  color: rgba(255, 255, 255, 0.7);
}
.dark .deepdive-card .deepdive-title {
  color: #ffffff;
}
.dark .deepdive-card .stat-box {
  background: #002f61;
}
.dark .deepdive-card .stat-box .stat-label {
  color: rgba(255, 255, 255, 0.6);
}

/* Curriculum Section */
.curriculum-section {
  background: #002f61;
  padding: 5rem 1rem;
  color: #ffffff;
}

.curriculum-container {
  max-width: 1280px;
  margin: 0 auto;
}

.curriculum-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
}

.curriculum-subtitle {
  text-align: center;
  margin-bottom: 3rem;
}

.curriculum-grid {
  display: grid;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .curriculum-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.curriculum-left .cycle-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}
.curriculum-left .cycle-card.open {
  border-color: rgba(69, 202, 235, 0.4);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
.curriculum-left .cycle-card .cycle-header {
  width: 100%;
  text-align: left;
  padding: 1rem;
  background: none;
  border: none;
  color: #45caeb;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.25s ease;
}
.curriculum-left .cycle-card .cycle-header i {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}
.curriculum-left .cycle-card .cycle-header:hover {
  background: rgba(69, 202, 235, 0.08);
}
.curriculum-left .cycle-card.open .cycle-header i {
  transform: rotate(90deg);
}
.curriculum-left .cycle-card .cycle-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 1rem;
  opacity: 0;
  transform: translateY(-8px);
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, transform 0.3s ease, padding 0.3s ease;
  background: rgba(255, 255, 255, 0.02);
}
.curriculum-left .cycle-card.open .cycle-content {
  max-height: 1000px;
  padding: 1rem;
  opacity: 1;
  transform: translateY(0);
}
.curriculum-left .course-card {
  background: rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  margin: 0.5rem 0;
  transition: all 0.3s ease;
}
.curriculum-left .course-card.open {
  background: rgba(255, 255, 255, 0.12);
}
.curriculum-left .course-card .course-header {
  width: 100%;
  text-align: left;
  padding: 0.75rem 1rem;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 0.875rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.25s ease;
}
.curriculum-left .course-card .course-header:hover {
  background: rgba(255, 255, 255, 0.05);
}
.curriculum-left .course-card .course-header::after {
  content: "\f078";
  font-family: "tabler-icons" !important;
  transition: transform 0.3s ease;
}
.curriculum-left .course-card .course-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 1rem;
  opacity: 0;
  transform: translateY(-6px);
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease, transform 0.25s ease, padding 0.25s ease;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
}
.curriculum-left .course-card .course-content p {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}
.curriculum-left .course-card .course-content p strong {
  color: #45caeb;
}
.curriculum-left .course-card.open .course-content {
  max-height: 800px;
  padding: 1rem;
  opacity: 1;
  transform: translateY(0);
}
.curriculum-left .course-card.open .course-header::after {
  transform: rotate(180deg);
}

/* Video Card */
.video-card .video-wrapper {
  position: relative;
  aspect-ratio: 16/0;
  background: black;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
}
.video-card .video-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}
.video-card .video-wrapper .play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 5rem;
  height: 5rem;
  background: #45caeb;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}
.video-card .video-wrapper .play-button i {
  font-size: 2.5rem;
  color: #002f61;
}
.video-card .video-wrapper .play-button:hover {
  transform: translate(-50%, -50%) scale(1.1);
}
.video-card .video-caption {
  margin-top: 1rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  font-style: italic;
}

/* Study Plans */
.study-plans {
  margin-top: 1rem;
}
.study-plans .study-plans-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  margin-top: 0px;
}
.study-plans .plans-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 768px) {
  .study-plans .plans-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.study-plans .plan-item {
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: background 0.2s;
}
.study-plans .plan-item:hover {
  background: rgba(255, 255, 255, 0.05);
}
.study-plans .plan-item .plan-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.study-plans .plan-item .plan-info .plan-icon {
  color: #45caeb;
  font-size: 1.5rem;
}
.study-plans .plan-item .plan-info .plan-name {
  font-weight: 500;
  color: #ffffff;
  margin: 0;
}
.study-plans .plan-item .plan-info .plan-duration {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}
.study-plans .plan-item .download-icon {
  color: #ffffff;
  font-size: 24px;
  width: 30px !important;
  height: 30px;
}

/* Faculty Section */
.faculty-section {
  padding: 5rem 1rem;
  background: #e6f2ff;
  overflow: hidden;
}

.dark .faculty-section {
  background: #002f61;
}

.faculty-container {
  max-width: 1280px;
  margin: 0 auto;
}

.faculty-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
}
.faculty-header .faculty-subtitle {
  margin-top: 0.5rem;
  color: rgba(21, 55, 104, 0.7);
}

.dark .faculty-subtitle {
  color: rgba(255, 255, 255, 0.5);
}

.nav-buttons {
  display: flex;
  gap: 0.5rem;
}
.nav-buttons .nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(0, 47, 97, 0.1);
  color: #002f61;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-buttons .nav-btn:hover {
  background: rgba(69, 202, 235, 0.1);
  border-color: #45caeb;
}

.dark .nav-btn {
  border-color: rgba(69, 202, 235, 0.2);
  color: #ffffff;
}

.faculty-scroll {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding-bottom: 3rem;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}
.faculty-scroll::-webkit-scrollbar {
  display: none; /* Ocultar scrollbar pero mantener funcionalidad */
}

.card-docente {
  padding: 24px;
}

.faculty-card {
  min-width: 280px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 20px 25px -5px rgba(21, 55, 104, 0.05);
  padding: 1.5rem;
  scroll-snap-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.faculty-card:hover {
  transform: scale(1.04);
  box-shadow: 0 30px 40px -10px rgba(21, 55, 104, 0.15);
  z-index: 2;
}
.faculty-card .faculty-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.faculty-card .faculty-profile img {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #45caeb;
}
.faculty-card .faculty-profile .faculty-name {
  font-weight: 700;
  color: #002f61;
  margin-bottom: 0px !important;
}
.faculty-card .faculty-profile .faculty-role {
  font-size: 0.75rem;
  color: #45caeb;
  font-weight: 500;
  margin-top: 0px;
}
.faculty-card .faculty-bio {
  font-size: 0.7rem;
  color: rgba(21, 55, 104, 0.7);
  line-height: 1.3;
  margin-bottom: 1.5rem;
  text-align: justify;
}
.faculty-card .cv-button {
  width: 100%;
  border: 2px solid #45caeb;
  color: #45caeb;
  font-weight: 600;
  border-radius: 12px;
  padding: 0.5rem 0;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
}
.faculty-card .cv-button:hover {
  background: #45caeb;
  color: #ffffff;
}

.dark .faculty-card {
  background: #002f61;
}
.dark .faculty-card .faculty-name {
  color: #ffffff;
}
.dark .faculty-card .faculty-bio {
  color: rgba(255, 255, 255, 0.7);
}

/* Requirements Section */
.requirements-section {
  background: #ffffff;
  padding: 5rem 1rem;
}

.dark .requirements-section {
  background: rgba(0, 47, 97, 0.3);
}

.requirements-container {
  max-width: 1280px;
  margin: 0 auto;
}

.requirements-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .requirements-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.requirements-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.requirements-list li {
  display: flex;
  gap: 1rem;
  align-items: end;
}
.requirements-list li .check-icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  background-color: rgba(71, 202, 235, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.requirements-list li .check-icon i {
  color: #45caeb;
  font-size: 1rem;
}
.requirements-list li h5 {
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
  color: #333333;
}
.requirements-list li p {
  font-size: 0.75rem;
  color: rgba(51, 51, 51, 0.6);
  margin: 0;
}

.dark .requirements-list li p {
  color: rgba(255, 255, 255, 0.6);
}
.dark .requirements-list li h5 {
  color: #ffffff;
}

/* Image Card */
.image-card {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
.image-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.image-card .image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 47, 97, 0.8), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
}
.image-card .image-overlay .overlay-title {
  color: #45caeb;
  font-weight: 700;
  margin: 0px;
}
.image-card .image-overlay .overlay-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
}

/* Text utilities */
.text-justify {
  text-align: justify !important;
}

/* ========== MODAL ========== */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
  animation: fadeIn 0.3s;
}

.modal-content {
  position: relative;
  background-color: #ffffff;
  margin: 5% auto;
  padding: 30px;
  border-radius: 12px;
  width: 80%;
  max-width: 900px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideDown 0.3s;
}

.close {
  position: absolute;
  right: 20px;
  top: 15px;
  color: #6c757d;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s;
}
.close:hover {
  color: #002f61;
}

.modal iframe {
  border: none;
  border-radius: 12px;
  margin-top: 15px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slideDown {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
/* ========== VIDEO PLAYER ========== */
.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}
.video-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: opacity 0.3s;
}
.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.video-wrapper .play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: #45caeb;
  border: none;
  border-radius: 50%;
  color: #ffffff;
  font-size: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: all 0.3s;
  opacity: 0.9;
}
.video-wrapper .play-button:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: #002f61;
}
.video-wrapper .play-button i {
  margin-left: 5px; /* ajuste para el ícono de play */
}

.dark .modal-content {
  background-color: #002f61;
  color: #ffffff;
}
.dark .modal-content .close {
  color: rgba(255, 255, 255, 0.7);
}
.dark .modal-content .close:hover {
  color: #45caeb;
}

/* ===== TARJETA LATERAL PROFESIONAL CON IMAGEN DE FONDO ===== */
.overview-right {
  display: none;
}
@media (min-width: 1024px) {
  .overview-right {
    display: block;
  }
}

.deepdive-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  min-height: 480px;
  background-size: cover; /* Ajusta al tamaño del card */
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1); /* Sin zoom inicial */
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 20px 40px -10px rgba(0, 47, 97, 0.3);
  border: 1px solid rgba(69, 202, 235, 0.15);
  color: #ffffff;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.deepdive-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 50px -15px rgba(0, 47, 97, 0.4);
}
.deepdive-card {
  /* Overlay con gradiente y blur sutil */
}
.deepdive-card .deepdive-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Menos blur para mayor nitidez */
  background: rgba(249, 252, 255, 0.2) 50%;
  backdrop-filter: blur(3px);
  z-index: 1;
}
.deepdive-card {
  /* Contenido alineado abajo */
}
.deepdive-card .deepdive-content {
  position: relative;
  z-index: 2;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* Contenido pegado abajo */
  height: 100%;
  min-height: 480px;
  box-sizing: border-box;
}
.deepdive-card {
  /* Título con línea decorativa */
}
.deepdive-card .deepdive-title {
  font-size: 2rem;
  font-weight: 700;
  margin-top: 14rem;
  line-height: 1.1;
  color: #ffffff;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  position: relative;
  padding-bottom: 0.75rem;
}
.deepdive-card .deepdive-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: #45caeb;
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(69, 202, 235, 0.5);
}
.deepdive-card .deepdive-text {
  font-size: 1rem;
  line-height: 1.3;
  margin-bottom: 2rem;
  max-width: 90%;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  font-weight: 400;
}
.deepdive-card .stats-grid {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: auto; /* Empuja las estadísticas hacia abajo */
}
.deepdive-card .stat-box {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 1rem 2rem;
  border-radius: 50px; /* Forma de píldora */
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: background 0.3s ease, transform 0.3s ease;
}
.deepdive-card .stat-box:hover {
  background: rgba(69, 202, 235, 0.3);
  transform: scale(1.05);
  border-color: #45caeb;
}
.deepdive-card .stat-box .stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  display: block;
  line-height: 1;
  text-shadow: 0 2px 10px rgba(69, 202, 235, 0.5);
}
.deepdive-card .stat-box .stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 0.25rem;
  display: block;
  font-weight: 500;
}

/* Ajustes para modo oscuro */
.dark .deepdive-card {
  border-color: rgba(69, 202, 235, 0.3);
}
.dark .deepdive-card .deepdive-overlay {
  background: linear-gradient(135deg, rgba(0, 47, 97, 0.8) 0%, rgba(0, 47, 97, 0.6) 50%, rgba(0, 47, 97, 0.8) 100%);
}
.dark .deepdive-card .stat-box {
  background: rgba(69, 202, 235, 0.15);
}
.dark .deepdive-card .stat-box:hover {
  background: rgba(69, 202, 235, 0.3);
}

.material-symbols-outlined {
  font-size: 45px;
  color: #002f61 !important;
  display: inline-block;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), color 0.25s ease;
}
.material-symbols-outlined:hover {
  transform: scale(1.15);
}

@media (max-width: 768px) {
  .material-symbols-outlined {
    font-size: 35px !important;
  }
}

/*# sourceMappingURL=main.css.map */
