/*  typography */
@import url("https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,700;1,700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");

body {
  line-height: 1.2;
  font-family: "Poppins", sans-serif;
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
  color: #5c5c77;
}

p,
.paragraph {
  font-weight: 400;
  color: #2c2d2d;
  font-size: 15px;
  line-height: 1.9;
  font-family: "Poppins", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #1b4674;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

h1,
.h1 {
  font-size: 60px;
}
@media (max-width: 575px) {
  h1,
  .h1 {
    font-size: 45px;
  }
}

h2,
.h2 {
  font-size: 40px;
}
@media (max-width: 575px) {
  h2,
  .h2 {
    font-size: 30px;
  }
}

h3,
.h3 {
  font-size: 25px;
}
@media (max-width: 575px) {
  h3,
  .h3 {
    font-size: 20px;
  }
}

h4,
.h4 {
  font-size: 20px;
}
@media (max-width: 575px) {
  h4,
  .h4 {
    font-size: 18px;
  }
}

h5,
.h5 {
  font-size: 18px;
}
@media (max-width: 575px) {
  h5,
  .h5 {
    font-size: 16px;
  }
}

h6,
.h6 {
  font-size: 16px;
}
@media (max-width: 575px) {
  h6,
  .h6 {
    font-size: 14px;
  }
}

/* Button style */
.btn {
  font-size: 16px;
  font-family: "Poppins", sans-serif;
  text-transform: capitalize;
  padding: 15px 40px;
  border-radius: 0;
  font-weight: 500;
  border: 0;
  position: relative;
  z-index: 1;
  transition: 0.2s ease;
  overflow: hidden;
  white-space: nowrap;
}

.btn::before {
  position: absolute;
  content: "";
  height: 80%;
  width: 100%;
  left: 0;
  bottom: 10%;
  z-index: -1;
  transition: transform 0.2s ease-in-out;
  transform-origin: top;
  transform: scaleY(0);
}
.btn:active,
.btn:hover,
.btn.focus,
.btn:focus,
.btn.active {
  outline: 0;
  box-shadow: none !important;
}
.btn:active::before,
.btn:hover::before,
.btn.focus::before,
.btn:focus::before,
.btn.active::before {
  transform: scaleY(1);
  transform-origin: bottom;
}

.btn-sm {
  font-size: 14px;
  padding: 10px 35px;
}

.btn-xs {
  font-size: 12px;
  padding: 5px 15px;
}

.btn-primary {
  color: #fff;
  background-color: #ffbc3b;
}
.btn-primary::before {
  background-color: #fff;
}
.btn-primary:active,
.btn-primary:hover,
.btn-primary.focus,
.btn-primary:focus,
.btn-primary.active {
  color: #ffbc3b !important;
  background-color: rgb(255, 170.5663265306, 8) !important;
  border-color: rgb(255, 170.5663265306, 8) !important;
}

.btn-outline-primary {
  color: #ffbc3b;
  background-color: transparent;
  border: 1px solid #ffbc3b;
}
.btn-outline-primary::before {
  background-color: #fff;
}
.btn-outline-primary:active,
.btn-outline-primary:hover,
.btn-outline-primary.focus,
.btn-outline-primary:focus,
.btn-outline-primary.active {
  color: #ffbc3b !important;
  background-color: #ffbc3b !important;
  border-color: #ffbc3b !important;
}

.btn-light {
  color: #ffbc3b;
  background-color: #fff;
  border: 1px solid #fff;
}
.btn-light::before {
  background-color: #ffbc3b;
}
.btn-light:active,
.btn-light:hover,
.btn-light.focus,
.btn-light:focus,
.btn-light.active {
  color: #fff !important;
  background-color: #fff !important;
  border: 1px solid #fff !important;
}

body {
  background-color: #f3f5f5;
  overflow-x: hidden;
}

::-moz-selection {
  background: rgb(255, 205.4336734694, 110);
  color: #fff;
}

::selection {
  background: rgb(255, 205.4336734694, 110);
  color: #fff;
}

/* preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ffdc11;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
}

ol,
ul {
  list-style-type: none;
  margin: 0px;
}

img {
  vertical-align: middle;
  border: 0;
}

a,
a:hover,
a:focus {
  text-decoration: none;
}

a,
button,
select {
  cursor: pointer;
  transition: 0.2s ease;
}

a:focus,
button:focus,
select:focus {
  outline: 0;
}

a:hover {
  color: #ffbc3b;
}

a.text-primary:hover {
  color: #ffbc3b !important;
}

a.text-light:hover {
  color: #ffbc3b !important;
}

h4 {
  transition: 0.2s ease;
}

a h4:hover {
  color: #ffbc3b;
}

.slick-slide {
  outline: 0;
}

.section {
  padding-top: 90px;
  padding-bottom: 90px;
}
.section-sm {
  padding-top: 40px;
  padding-bottom: 40px;
}
.section-title {
  margin-bottom: 30px;
}

.bg-cover {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.border-primary {
  border-color: #ededf1 !important;
}

/* overlay */
.overlay {
  position: relative;
}

.overlay::before {
  position: absolute;
  content: "";
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background: #1a1a37;
  opacity: 0.8;
}

.outline-0 {
  outline: 0 !important;
}

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

.bg-primary {
  background: #ffbc3b !important;
}

.bg-secondary {
  background: #1a1a37 !important;
}

.bg-gray {
  background: #f8f8f8;
}

.text-primary {
  color: #ffbc3b !important;
}

.text-color {
  color: #5c5c77;
}

.text-light {
  color: #8585a4 !important;
}

.text-lighten {
  color: #d6d6e0 !important;
}

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

.text-dark {
  color: #1e1e4b !important;
}

.font-secondary {
  font-family: "Montserrat", sans-serif;
}

.mb-10 {
  margin-bottom: 10px !important;
}

.mb-20 {
  margin-bottom: 20px !important;
}

.mb-30 {
  margin-bottom: 30px !important;
}

.mb-40 {
  margin-bottom: 40px !important;
}

.mb-50 {
  margin-bottom: 50px !important;
}

.mb-60 {
  margin-bottom: 60px !important;
}

.mb-70 {
  margin-bottom: 70px !important;
}

.mb-80 {
  margin-bottom: 80px !important;
}

.mb-90 {
  margin-bottom: 90px !important;
}

.mb-100 {
  margin-bottom: 100px !important;
}

.pl-150 {
  padding-left: 150px;
}

.zindex-1 {
  z-index: 1;
}

@media (max-width: 991px) {
  .overflow-md-hidden {
    overflow: hidden;
  }
}

.vertical-align-middle {
  vertical-align: middle;
}

.icon-md {
  font-size: 36px;
}

/* page title */
/*
.page-title-section {  padding: 200px 0 80px;}
.custom-breadcrumb li.nasted {  position: relative;  padding-left: 25px;}
.custom-breadcrumb li.nasted::before {  position: absolute;  font-family: "themify";  content: "\e649";  font-size: 20px;  top: 50%;  left: -5px;  color: #fff;  transform: translateY(-50%);}
*/
/* /page title */

.list-styled {
  padding-left: 25px;
}

.list-styled li {
  position: relative;
  margin-bottom: 15px;
}

.list-styled li::before {
  position: absolute;
  content: "";
  height: 10px;
  width: 10px;
  border-radius: 50%;
  background: #ffbc3b;
  left: -25px;
  top: 5px;
}

textarea.form-control {
  height: 200px;
  padding: 20px;
}

#map_canvas {
  height: 500px;
}

.top-header {
  font-size: 12px;
  transition: transform 0.2s ease;
  transform-origin: top;
  font-weight: 600;
}
.top-header.hide {
  transform: scaleY(0);
  transform-origin: top;
}

.navigation {
  background: linear-gradient(to right, transparent 50%, #ffbc3b 50%);
  transition: 0.2s ease;
}
@media (max-width: 991px) {
  .navigation {
    background: #1a1a37;
  }
}

@media (max-width: 991px) {
  .navbar-collapse {
    background: #1a1a37;
    max-height: calc(100vh - 80px);
  }
  .navbar-collapse.show {
    overflow-y: auto;
  }
}

.navbar-nav {
  padding-left: 50px;
  background: #ffbc3b;
}

@media (max-width: 991px) {
  .navbar-nav {
    padding-left: 0;
    background: #1a1a37;
  }
}

.nav-bg {
  background-color: #1a1a37;
}

.nav-item {
  margin: 0 15px;
  position: relative;
}

@media (max-width: 991px) {
  .nav-item:last-child {
    margin-bottom: 20px;
  }
}
.nav-item .nav-link {
  text-transform: uppercase;
  font-weight: 600;
}

.nav-item::before {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 6px;
  width: 100%;
  content: "";
  background: #fff;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s ease;
  pointer-events: none;
}
@media (max-width: 991px) {
  .nav-item::before {
    opacity: 0.1;
    height: 100%;
  }
}
.nav-item:hover::before,
.nav-item.active::before {
  transform: scaleY(1);
  transform-origin: bottom;
}

.navbar-dark .navbar-nav .nav-link {
  color: #fff;
}

link:focus,
.navbar-dark .navbar-nav .nav-link:hover {
  color: #fff;
}

.navbar-dark .navbar-nav .active > .nav-link,
.navbar-dark .navbar-nav .nav-link.active,
.navbar-dark .navbar-nav .nav-link.show,
.navbar-dark .navbar-nav .show > .nav-link {
  color: #fff;
}

.navbar-expand-lg .navbar-nav .nav-link {
  padding: 40px 0px;
}

@media (max-width: 991px) {
  .navbar-expand-lg .navbar-nav .nav-link {
    padding: 12px 20px;
  }
}

.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.0509803922);
}

.navbar .nav-item > .dropdown-toggle::after {
  border: 0;
  margin-left: 0.255em;
  vertical-align: 1px;
  content: "\e64b";
  font-family: "themify";
  font-size: 11px;
  width: auto;
}
.navbar .dropdown .dropdown-menu li {
  padding-top: 10px;
}

.navbar .dropdown .dropdown-menu li:last-child {
  padding-bottom: 15px;
}

.navbar .dropdown .dropdown-menu.dropdown-submenu {
  top: 0;
}
@media (max-width: 991px) {
  .navbar .dropdown .dropdown-menu.dropdown-submenu li:first-child {
    margin-top: 15px;
  }
}
.navbar .dropdown .dropdown-item .dropdown-toggle {
  display: block;
  line-height: 1.8;
}

.navbar .dropdown:hover > .dropdown-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}
.navbar .dropdown-menu {
  box-shadow: 0px 3px 9px 0px rgba(0, 0, 0, 0.12);
  border-bottom: 5px solid #ffbc3b;
  padding: 0 15px;
  padding-left: 5px;
  top: 96px;
  border-radius: 0;
  display: block;
  visibility: hidden;
  transition: 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  background: #fff;
}
@media (max-width: 991px) {
  .navbar .dropdown-menu {
    padding-left: 15px;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transform-origin: unset;
    margin: 0;
    border: 0;
    position: static;
  }
}
.navbar .dropdown-menu.show {
  visibility: hidden;
}

@media (max-width: 991px) {
  .navbar .dropdown-menu.show {
    visibility: visible;
    display: block;
  }
}
.navbar .dropdown .dropdown .dropdown-toggle,
.navbar .dropdown-item {
  position: relative;
  color: #1e1e4b;
  transition: 0.2s ease;
  text-transform: capitalize;
  font-family: "Poppins", sans-serif;
}
@media (max-width: 991px) {
  .navbar .dropdown .dropdown .dropdown-toggle,
  .navbar .dropdown-item {
    text-align: center;
  }
}

.navbar .dropdown .dropdown .dropdown-toggle:hover,
.navbar .dropdown-item:hover {
  color: #ffbc3b;
  background: transparent;
}

/* ==============================================================================================
                                          VENTANA MODAL
   ============================================================================================== */

.eq-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.eq-modal-overlay.active {
  display: flex;
  opacity: 1;
}

.eq-modal-content {
  background: #fff;
  width: 580px; 
  height: 360px;
  border-radius: 20px;
  position: relative;
  transform: scale(0.7);
  transition: transform 0.7s ease;
  background-image: url("/images/miscelaneus/ventana_modal.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  box-sizing: border-box;
}

.eq-modal-center-container {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.eq-modal-middle-text h2 {
  color: white;
  font-size: 2.4rem;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 20px;
}

.eq-modal-middle-text p {
  color: white;
  font-size: 1.1rem;
  margin: 20px 0 0; 
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.eq-modal-overlay.active .eq-modal-content {
  transform: scale(1);
}

.eq-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: #b2cc18;
  font-size: 30px;
  cursor: pointer;
}

.eq-btn-main {
  background: #b2cc18;
  max-width: 250px;
  color: #333;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 800;
  transition: background 0.3s ease;
  display: block; 
  margin: 0 auto; 
  
}

/* ===================================================================================================
                                SECCION 1: HERO SLIDER - AJUSTE FINAL
   =================================================================================================== */

.ind-slider-container {
  position: relative;
  width: 100%;
  height: 100vh;
  background-color: #092149;
  overflow: hidden;
}

.ind-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s ease-in-out;
  display: flex;
  align-items: flex-end;
  padding: 0 10% 50px 10%;
  z-index: 1;
}

.ind-slide.ind-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.ind-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(9, 33, 73, 0.95) 0%,
    rgba(9, 33, 73, 0.2) 30%,
    transparent 60%
  );
  z-index: -1;
}

.ind-img-container {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.ind-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ind-active .ind-img-container img {
  animation: ind-kenburns 12s ease-out forwards;
}

@keyframes ind-kenburns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.1);
  }
}

/* --- Layout de Contenido --- */
.ind-content-layout {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  gap: 35px;
}

.ind-line-separator {
  width: 4px;
  height: 80px; /* Un poco más corta para la base */
  background-color: #b2cc18;
  transform: scaleY(0);
  transform-origin: center;
  flex-shrink: 0;
}

.ind-active .ind-line-separator {
  transform: scaleY(1);
  transition: transform 0.8s ease-out 0.8s;
}

.ind-anim-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  color: #ffffff;
  font-weight: 800;
  line-height: 1.1;
  text-align: right;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s ease-in;
}

.text-accent {
  color: #b2cc18;
}

.ind-active .ind-anim-title {
  opacity: 1;
  transform: translateY(0);
  transition: all 1s cubic-bezier(0.22, 1, 0.36, 1) 0.6s;
}

.ind-info-box {
  max-width: 480px;
  text-align: left;
}

.ind-anim-text {
  font-family: "Poppins", sans-serif;
  color: rgba(255, 255, 255, 0.9);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease-in;
}

.ind-active .ind-anim-text {
  opacity: 1;
  transform: translateY(0);
  transition: all 1s cubic-bezier(0.22, 1, 0.36, 1) 1s;
}

.ind-info-box p {
  font-size: 1.05rem;
  margin-bottom: 20px;
  line-height: 1.6;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.btn-hero-main {
  display: inline-block;
  padding: 12px 30px;
  background-color: #b2cc18;
  color: #092149;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-hero-main:hover {
  background-color: #ffffff;
  transform: translateY(-3px);
}

/* --- DOTS A LA DERECHA --- */
.ind-dots-container {
  position: absolute;
  bottom: 50px;
  right: 10%; /* Movido a la derecha */
  z-index: 100;
  display: flex;
  gap: 12px;
}

.ind-dot {
  width: 10px;
  height: 10px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}

.ind-dot-active {
  background: #b2cc18;
  border-color: #b2cc18;
  width: 30px;
  border-radius: 10px;
}

/* Responsivo */
@media (max-width: 850px) {
  .ind-content-layout {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  .ind-anim-title {
    text-align: center;
    font-size: 1.8rem;
  }
  .ind-line-separator {
    width: 50px;
    height: 3px;
  }
  .ind-info-box {
    text-align: center;
  }
  .ind-dots-container {
    right: 50%;
    transform: translateX(50%);
    bottom: 30px;
  }
  .ind-slide {
    padding-bottom: 80px;
  }
}

/* ================================================================================================== */
/*                                  SECCIÓN 2: INSTITUTO - CORPOTECMETA                               */
/* ================================================================================================== */

.sec-institute-container {
  background-color: #f3f5f5;
  padding: 120px 10%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
  overflow: hidden;
}

.sec-institute-content {
  max-width: 1100px;
  width: 100%;
  text-align: center;
}

/* Estilos de los elementos en estado REPOSO (fuera de vista) */
.sec-institute-title,
.sec-institute-description,
.sec-logo-wrapper {
  opacity: 0;
  transform: translateY(50px); /* Empiezan más abajo */
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.sec-institute-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: #092149;
  margin-bottom: 30px;
}

.sec-institute-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: #b2cc18;
  margin: 15px auto 0; /* Centra la línea */
  transform: scaleX(0);
  transition: transform 0.6s ease 0.3s;
}
.sec-institute-container.animate .sec-institute-title::after {
  transform: scaleX(1);
}

.sec-institute-description {
  font-family: "Poppins", sans-serif;
  color: #44546e;
  font-size: clamp(1.05rem, 1.2vw, 1.2rem);
  line-height: 1.8;
  max-width: 850px;
  margin: 0 auto 60px auto;
}

.sec-institute-logos {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.sec-logo-wrapper {
  max-width: 110px;
}

.sec-logo-item {
  width: 100%;
  height: auto;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.4s ease;
}

.sec-logo-item:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

/* --- CLASE ACTIVA (Cuando entra en el scroll) --- */
.sec-institute-container.animate .sec-institute-title,
.sec-institute-container.animate .sec-institute-description,
.sec-institute-container.animate .sec-logo-wrapper {
  opacity: 1;
  transform: translateY(0); /* Suben a su posición original */
}

/* Delays para cascada */
.sec-institute-container.animate .sec-institute-description {
  transition-delay: 0.2s;
}
.sec-institute-container.animate .sec-logo-wrapper:nth-child(1) {
  transition-delay: 0.4s;
}
.sec-institute-container.animate .sec-logo-wrapper:nth-child(2) {
  transition-delay: 0.5s;
}
.sec-institute-container.animate .sec-logo-wrapper:nth-child(3) {
  transition-delay: 0.6s;
}
.sec-institute-container.animate .sec-logo-wrapper:nth-child(4) {
  transition-delay: 0.7s;
}

/* ====================================================================================================== 
                                     SECCIÓN 3: ENCUENTRA TU PROGRAMA                                  
   ====================================================================================================== */

.sec-prog-container {
  position: relative;
  padding: 100px 5%;
  min-height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* Fondo con Parallax */
.sec-prog-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/backgrounds/back_programas.jpg"); 
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  z-index: -2;
}

.sec-prog-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(243, 245, 245, 0.56) 0%,
    rgba(243, 245, 245, 0.85) 100%
  );
  z-index: -1;
}

.sec-prog-wrapper {
  width: 100%;
  max-width: 1100px;
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Activación por Scroll */
.sec-prog-container.animate .sec-prog-wrapper {
  opacity: 1;
  transform: translateY(0);
}

.sec-prog-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 60px;
  color: #092149;
}

.sec-prog-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: #b2cc18;
  margin: 15px auto 0;
  transform: scaleX(0);
  transition: transform 0.6s ease 0.3s;
}
.sec-prog-container.animate .sec-prog-title::after {
  transform: scaleX(1);
}

.sec-prog-interactive-grid {
  display: flex;
  gap: 25px;
  align-items: flex-start;
}

/* --- ESTILO DE COLUMNAS (Glassmorphism) --- */
.sec-prog-column {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(9, 33, 73, 0.08);
  height: 380px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition: all 0.5s ease;
}

.col-narrow {
  flex: 0 0 240px;
}
.col-medium {
  flex: 0 0 320px;
}
.col-wide {
  flex: 1 1 400px;
}

/* Control de visibilidad de columnas */
.sec-prog-column.hidden {
  display: none !important;
}

.sec-prog-column h3 {
  color: #092149;
  font-family: "Montserrat", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 3px solid #b2cc18;
  text-transform: uppercase;
}

/* --- BOTONES DE SELECCIÓN --- */
.sec-prog-card-select {
  padding: 14px 18px;
  background: #fff;
  margin-bottom: 12px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: #44546e;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  border: 1px solid #edf2f7;
  font-family: "Poppins", sans-serif;
}

.sec-prog-card-select i {
  font-size: 0.7rem;
  opacity: 0.4;
  transition: 0.3s;
}

.sec-prog-card-select:hover {
  border-color: #b2cc18;
  transform: translateX(5px);
  color: #092149;
  background: #fdfdfd;
}

.sec-prog-card-select.active {
  background: #092149;
  color: #fff;
  border-color: #092149;
}

.sec-prog-card-select.active i {
  opacity: 1;
  transform: translateX(3px);
}

/* --- AREA DE SCROLL INTERNO --- */
.sec-prog-scroll-area {
  flex: 1;
  overflow-y: auto;
  padding-right: 10px;
}

.sec-prog-scroll-area::-webkit-scrollbar {
  width: 4px;
}
.sec-prog-scroll-area::-webkit-scrollbar-thumb {
  background: #b2cc18;
  border-radius: 10px;
}

/* --- DETALLE DEL PROGRAMA --- */
.program-detail-header h4 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.4rem;
  color: #092149;
  margin-bottom: 12px;
}

.program-description {
  font-family: "Poppins", sans-serif;
  color: #64748b;
  line-height: 1.6;
  font-size: 0.9rem;
  margin-bottom: 25px;
}

.program-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 25px;
}

.stat-box {
  background: #f8fafc;
  padding: 12px 5px;
  border-radius: 12px;
  text-align: center;
  border-top: 3px solid #b2cc18;
}

.stat-box i {
  color: #092149;
  margin-bottom: 5px;
  display: block;
}
.stat-text span {
  display: block;
  font-size: 0.6rem;
  text-transform: uppercase;
  color: #94a3b8;
  font-weight: 700;
}
.stat-text strong {
  font-size: 0.75rem;
  color: #092149;
}

/* --- FOOTER DETALLE --- */
.program-detail-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
  margin-top: auto;
}

.link-resolucion {
  font-size: 0.7rem;
  color: #64748b;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
}

.btn-inscripcion-slim {
  background: #092149;
  color: white;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.8rem;
  text-decoration: none;
  transition: 0.3s;
}

.btn-inscripcion-slim:hover {
  background: #b2cc18;
  color: #092149;
  transform: translateY(-3px);
}

/* Animación de items */
@keyframes fadeInItem {
  from {
    opacity: 0;
    transform: translateX(15px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .sec-prog-interactive-grid {
    flex-direction: column;
  }
  .sec-prog-column {
    width: 100% !important;
    flex: none;
    height: auto;
    max-height: 450px;
  }
  .col-narrow,
  .col-medium,
  .col-wide {
    flex: 1 1 auto;
  }
}

/* ===================================================================================================== 
                                            SECCIÓN 4: CONTADORES                                      
   ===================================================================================================== */

.sec-counters-container {
  padding: 100px 5%;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background-color: #f3f5f5; /* Fondo uniforme con el resto de la página */
}

/* Decoración de fondo sutil */
.sec-counters-container::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(178, 204, 24, 0.1) 0%,
    transparent 70%
  );
  top: -100px;
  right: -100px;
}

.sec-counters-content {
  display: flex;
  align-items: center;
  gap: 60px;
  width: 100%;
  max-width: 1050px;
  margin: 0 auto;
  z-index: 2;
}

.sec-counters-info {
  flex: 1.2;
}

.sec-counters-top-text {
  font-family: "Poppins", sans-serif;
  color: #44546e;
  text-align: left; /* Alineado a la izquierda para mejor lectura con la imagen al lado */
  margin-bottom: 40px;
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 600px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.sec-counters-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* Tarjetas Estilo Profesional */
.sec-counter-card {
  background: #092149; /* Azul de la marca */
  padding: 30px 20px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(9, 33, 73, 0.15);
  border-bottom: 4px solid #b2cc18; /* Línea de acento Lima */
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.sec-counter-card:hover {
  transform: translateY(-10px);
  background: #0d2d63;
}

.counter-number,
.counter-symbol {
  font-family: "Montserrat", sans-serif;
  color: #b2cc18; /* Verde Lima uniforme */
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
}

.counter-label {
  font-family: "Montserrat", sans-serif;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Sección Imagen */
.sec-counters-image {
  flex: 0.8;
  position: relative;
  display: flex;
  justify-content: center;
  opacity: 0;
  transform: scale(0.9);
  transition: all 1s ease-out;
}

.image-bg-blob {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #092149;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  z-index: -1;
  opacity: 0.05;
  animation: blobMorph 10s ease-in-out infinite;
}

.sec-counters-image img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

.floating-img {
  animation: float 4s ease-in-out infinite;
}

/* Animaciones */
@keyframes blobMorph {
  0%,
  100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
  50% {
    border-radius: 50% 50% 30% 70% / 50% 60% 40% 50%;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

/* Clases de Activación por Scroll */
.sec-counters-container.animate .sec-counters-top-text,
.sec-counters-container.animate .sec-counters-image {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.sec-counters-container.animate .sec-counter-card {
  opacity: 1;
  transform: translateY(0);
}

/* Delays escalonados */
.sec-counters-container.animate .sec-counter-card:nth-child(1) {
  transition-delay: 0.2s;
}
.sec-counters-container.animate .sec-counter-card:nth-child(2) {
  transition-delay: 0.3s;
}
.sec-counters-container.animate .sec-counter-card:nth-child(3) {
  transition-delay: 0.4s;
}
.sec-counters-container.animate .sec-counter-card:nth-child(4) {
  transition-delay: 0.5s;
}

/* Responsive */
@media (max-width: 900px) {
  .sec-counters-content {
    flex-direction: column;
    text-align: center;
  }
  .sec-counters-top-text {
    text-align: center;
    margin: 0 auto 40px;
  }
  .sec-counters-grid {
    gap: 15px;
  }
  .sec-counter-card {
    padding: 20px;
  }
}

/* ===================================================================================================== 
                                    SECCIÓN 5: PROGRAMAS MAS DEMANDADOS                             
   ===================================================================================================== */

.sec-demandados-container {
  padding: 100px 5%;
  background-color: #f3f5f5; 
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.sec-demandados-wrapper {
  width: 100%;
  max-width: 1140px;
}

.sec-demandados-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  font-weight: 800;
  text-align: center;
  color: #092149;
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.sec-demandados-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: #b2cc18;
  margin: 15px auto 0;
  transform: scaleX(0);
  transition: transform 0.6s ease 0.3s;
}

.sec-demandados-container.animate .sec-demandados-title::after {
  transform: scaleX(1);
}

.sec-demandados-subtitle {
  font-family: "Poppins", sans-serif;
  font-size: 1.1rem;
  text-align: center;
  margin-top: 60px;
  color: #44546e;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease 0.4s;
}

.sec-demandados-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* --- ESTILO DE TARJETA --- */
.sec-demandado-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(9, 33, 73, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid #edf2f7;
}

.sec-demandado-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(9, 33, 73, 0.12);
  border-color: #b2cc18;
}

/* Imagen y Badge */
.card-image-wrapper {
  width: 100%;
  height: 180px;
  overflow: hidden;
  position: relative;
}

.card-badge {
  position: absolute;
  top: 150px;
  right: 15px;
  background: #b2cc18;
  color: #092149;
  padding: 5px 12px;
  border-radius: 50px;
  font-family: "Montserrat", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  z-index: 2;
  text-transform: uppercase;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.sec-demandado-card:hover .card-image {
  transform: scale(1.1);
}

/* Contenido de Card */
.card-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-family: "Montserrat", sans-serif;
  color: #092149;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.card-description {
  font-family: "Poppins", sans-serif;
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 20px;
  line-height: 1.5;
}

.card-info-highlights {
  border-top: 1px solid #f1f5f9;
  padding-top: 15px;
  margin-bottom: 25px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: #44546e;
  font-family: "Poppins", sans-serif;
}

.info-item i {
  color: #b2cc18; /* Iconos en color Lima para resaltar */
  width: 18px;
  font-size: 0.9rem;
}

/* Botón "Conocer Más" Estilizado */
.btn-more-info {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  width: fit-content;
  transition: all 0.3s ease;
}

.btn-text {
  font-family: "Montserrat", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: #092149;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 4px;
}

/* Línea animada en Lima */
.btn-text::after {
  content: "";
  position: absolute;
  width: 30%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #b2cc18;
  transition: width 0.3s ease;
}

.btn-icon {
  color: #092149;
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.btn-more-info:hover .btn-text::after {
  width: 100%;
}

.btn-more-info:hover .btn-icon {
  transform: translateX(5px);
  color: #b2cc18;
}

/* --- ANIMACIONES DE ENTRADA --- */
.sec-demandados-container.animate .sec-demandados-title,
.sec-demandados-container.animate .sec-demandados-subtitle {
  opacity: 1;
  transform: translateY(0);
}

.sec-demandados-container.animate .sec-demandado-card {
  opacity: 1;
  transform: translateY(0);
}

/* Cascada de tarjetas */
.sec-demandados-container.animate .sec-demandado-card:nth-child(1) {
  transition-delay: 0.1s;
}
.sec-demandados-container.animate .sec-demandado-card:nth-child(2) {
  transition-delay: 0.2s;
}
.sec-demandados-container.animate .sec-demandado-card:nth-child(3) {
  transition-delay: 0.3s;
}
.sec-demandados-container.animate .sec-demandado-card:nth-child(4) {
  transition-delay: 0.4s;
}

/* Responsive */
@media (max-width: 1100px) {
  .sec-demandados-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .sec-demandados-grid {
    grid-template-columns: 1fr;
  }
  .sec-demandados-container {
    padding: 80px 5%;
  }
}

/* ===================================================================================================== */
/*                                   SECCIÓN 6: POR QUÉ ESTUDIAR (REDISEÑADA)                            */
/* ===================================================================================================== */

.sec-porque_estudiar-container {
  padding: 100px 0;
  background-color: #f3f5f5;
  overflow: hidden;
}

.sec-porque_estudiar-wrapper {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 5%;
}

.porque_estudiar-main-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #092149;
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(-30px);
  transition: all 0.8s ease;
}

.porque_estudiar-main-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: #b2cc18;
  margin: 15px 0 0; /* Alineado a la izquierda */
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease 0.3s;
}
.sec-porque_estudiar-container.reveal .porque_estudiar-main-title::after {
  transform: scaleX(1);
}

.sec-porque_estudiar-content {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
  min-height: 500px;
}

.porque_estudiar-text-side {
  flex: 0 0 40%;
  background: #092149;
  padding: 60px 50px;
  color: #fff;
  z-index: 10;
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(9, 33, 73, 0.2);
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 8px solid #b2cc18;
  opacity: 0;
  transform: translateX(-100px);
  transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.porque_estudiar-image-side {
  position: absolute;
  right: 0;
  width: 65%;
  height: 100%;
  z-index: 1;
  border-radius: 25px;
  overflow: hidden;
  opacity: 0;
  transform: translateX(100px);
  transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Estado Activo al Scroll */
.sec-porque_estudiar-container.reveal .porque_estudiar-main-title,
.sec-porque_estudiar-container.reveal .porque_estudiar-text-side,
.sec-porque_estudiar-container.reveal .porque_estudiar-image-side {
  opacity: 1;
  transform: translate(0);
}

.porque_estudiar-slider-container {
  position: relative;
  min-height: 200px;
}
.porque_estudiar-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: all 0.6s ease;
  visibility: hidden;
}
.porque_estudiar-slide.active {
  opacity: 1;
  visibility: visible;
}

.porque_estudiar-slide-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.8rem;
  margin-bottom: 15px;
  font-weight: 700;
  color: #b2cc18;
}

.porque_estudiar-slide-text {
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #e2e8f0;
}

.porque_estudiar-number {
  display: block;
  font-size: 4rem;
  font-weight: 900;
  color: rgba(178, 204, 24, 0.1);
  margin-bottom: -30px;
  font-family: "Montserrat", sans-serif;
}

.image-frame {
  width: 100%;
  height: 100%;
  position: relative;
}
.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(9, 33, 73, 0.4), transparent);
  z-index: 2;
}

.porque_estudiar-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.porque_estudiar-img.active {
  opacity: 1;
}

.porque_estudiar-controls {
  margin-top: 40px;
}
.porque_estudiar-dots {
  display: flex;
  gap: 10px;
}
.dot {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}
.dot.active {
  background: #b2cc18;
  width: 30px;
  border-radius: 10px;
}

@media (max-width: 992px) {
  .sec-porque_estudiar-content {
    flex-direction: column;
    min-height: auto;
  }
  .porque_estudiar-main-title::after {
    margin: 15px auto 0;
    transform-origin: center;
  }
  .porque_estudiar-image-side {
    position: relative;
    width: 100%;
    height: 350px;
    border-radius: 20px 20px 0 0;
  }
  .porque_estudiar-text-side {
    width: 100%;
    margin-top: -30px;
    border-radius: 0 0 20px 20px;
    padding: 40px 30px;
    border-left: 0;
    border-top: 6px solid #b2cc18;
  }
}

/* ===================================================================================================== 
                                            SECCIÓN 7: CONVENIOS                                         
   ===================================================================================================== */

.sec-convenios-container {
  padding: 100px 5%;
  background-color: #f3f5f5; 
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.sec-convenios-wrapper {
  width: 100%;
  max-width: 1100px;
  text-align: center;
}

.convenios-header {
  margin-bottom: 70px;
}

.convenios-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #092149;
  margin-bottom: 15px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.title-underline {
  width: 60px;
  height: 4px;
  background-color: #b2cc18; /* Acento Lima */
  margin: 0 auto 25px;
  opacity: 0;
  transform: scaleX(0);
  transition: all 0.6s ease 0.2s;
}

.convenios-subtitle {
  font-family: "Poppins", sans-serif;
  font-size: 1.1rem;
  color: #44546e;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease 0.3s;
}

/* Grid de Logos */
.convenios-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 50px;
}

.convenio-item {
  flex: 0 1 180px;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: translateY(40px) scale(0.9);
  transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo-img {
  max-width: 100%;
  height: auto;
  max-height: 60px; /* Limita la altura para que se vean uniformes */
  filter: grayscale(100%);
  opacity: 0.5;
  transition: all 0.4s ease;
  cursor: pointer;
}

/* --- EFECTOS HOVER --- */
.convenio-item:hover .logo-img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

/* --- ESTADOS REVEAL (Scroll) --- */
.sec-convenios-container.reveal .convenios-title {
  opacity: 1;
  transform: translateY(0);
}

.sec-convenios-container.reveal .title-underline {
  opacity: 1;
  transform: scaleX(1);
}

.sec-convenios-container.reveal .convenios-subtitle {
  opacity: 1;
  transform: translateY(0);
}

.sec-convenios-container.reveal .convenio-item {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Cascada de logos */
.sec-convenios-container.reveal .convenio-item:nth-child(1) {
  transition-delay: 0.4s;
}
.sec-convenios-container.reveal .convenio-item:nth-child(2) {
  transition-delay: 0.5s;
}
.sec-convenios-container.reveal .convenio-item:nth-child(3) {
  transition-delay: 0.6s;
}
.sec-convenios-container.reveal .convenio-item:nth-child(4) {
  transition-delay: 0.7s;
}
.sec-convenios-container.reveal .convenio-item:nth-child(5) {
  transition-delay: 0.8s;
}

@media (max-width: 768px) {
  .convenios-grid {
    gap: 30px;
  }
  .convenio-item {
    flex: 0 1 130px;
  }
  .sec-convenios-container {
    padding: 70px 5%;
  }
}

/* =============================================================================================
                                SECCIÓN 8: ASESORIA PERSONALIZADA
   ============================================================================================= */

.asesoria_personalizada-container {
  padding: 100px 5%;
  background-color: #f3f5f5; /* Fondo uniforme con el sitio */
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.asesoria_personalizada-wrapper {
  width: 100%;
  max-width: 1000px;
}

/* Título con línea unificada */
.asesoria_personalizada-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #092149;
  text-align: center;
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.asesoria_personalizada-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: #b2cc18;
  margin: 15px auto 0;
  transform: scaleX(0);
  transition: transform 0.6s ease 0.3s;
}

/* Tarjeta Principal */
.asesoria_personalizada-card {
  background: #ffffff;
  border-radius: 30px;
  padding: 50px;
  display: flex;
  align-items: center;
  gap: 50px;
  box-shadow: 0 20px 40px rgba(9, 33, 73, 0.08);
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Animación al hacer scroll */
.asesoria_personalizada-container.reveal .asesoria_personalizada-title,
.asesoria_personalizada-container.reveal .asesoria_personalizada-card {
  opacity: 1;
  transform: translateY(0);
}

.asesoria_personalizada-container.reveal .asesoria_personalizada-title::after {
  transform: scaleX(1);
}

.asesoria_tag {
  font-family: "Montserrat", sans-serif;
  color: #b2cc18;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.asesoria_personalizada-info {
  flex: 1;
}

.asesoria_personalizada-texto {
  font-family: "Poppins", sans-serif;
  color: #44546e;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 25px;
}

.asesoria_personalizada-contacto-link {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
  color: #092149;
}

.asesoria_personalizada-contacto-link i {
  color: #b2cc18;
  font-size: 1.2rem;
}

.telefono-destacado {
  font-family: "Montserrat", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #092149;
  text-decoration: none;
  transition: color 0.3s;
}

.telefono-destacado:hover {
  color: #b2cc18;
}

/* Botones Modernos */
.asesoria_personalizada-botones {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-asesoria {
  padding: 12px 25px;
  border-radius: 50px;
  font-family: "Montserrat", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.btn-call {
  background: #092149;
  color: white;
}
.btn-ws {
  background: #25d366;
  color: white;
}
.btn-mail {
  background: #f3f5f5;
  color: #092149;
}

.btn-asesoria:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Foto con diseño circular y decoración */
.asesoria_personalizada-foto-wrapper {
  position: relative;
  flex: 0 0 220px;
}

.foto-asesora {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #fff;
  position: relative;
  z-index: 2;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.foto-decoracion {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #b2cc18;
  border-radius: 50%;
  top: 15px;
  right: -15px;
  z-index: 1;
  opacity: 0.3;
}

/* --- RESPONSIVE --- */
@media (max-width: 850px) {
  .asesoria_personalizada-card {
    flex-direction: column-reverse;
    text-align: center;
    padding: 40px 25px;
  }
  .asesoria_personalizada-contacto-link {
    justify-content: center;
  }
  .asesoria_personalizada-botones {
    justify-content: center;
  }
  .asesoria_personalizada-foto-wrapper {
    flex: 0 0 auto;
  }
}

@media (max-width: 480px) {
  .btn-asesoria {
    width: 100%;
    justify-content: center;
  }
}

/* ========================================================================================================= */
/*                                        SECCIÓN 9: AGENDA EVENTOS                                          */
/* ========================================================================================================= */

.agenda_eventos-container {
  padding: 100px 0;
  background-color: #f3f5f5;
  display: flex;
  justify-content: center;
  overflow: hidden;
  width: 100%;
}

.agenda_eventos-wrapper {
  width: 100%;
  max-width: 1200px;
  padding: 0 5%;
}

/* --- Título con efecto Reveal --- */
.agenda_eventos-main-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #092149;
  text-align: center;
  margin-bottom: 70px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.agenda_eventos-main-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: #b2cc18;
  margin: 15px auto 0;
  transform: scaleX(0);
  transition: transform 0.6s ease 0.3s;
}

/* Estado activo del título al hacer scroll */
.agenda_eventos-container.reveal .agenda_eventos-main-title {
  opacity: 1;
  transform: translateY(0);
}

.agenda_eventos-container.reveal .agenda_eventos-main-title::after {
  transform: scaleX(1);
}

/* --- Viewport y Track --- */
.agenda_eventos-slider-viewport {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 20px 0 40px 0; /* Espacio extra para sombras */
}

.agenda_eventos-track {
  display: flex;
  gap: 25px; /* Este valor debe coincidir con el +25 en el JS */
  will-change: transform;
}

/* --- Tarjetas (Estilo y Animación de Entrada) --- */
.agenda-card-link {
  text-decoration: none;
  color: inherit;
  flex: 0 0 calc(33.333% - 17px); /* 3 tarjetas en escritorio */
  min-width: calc(33.333% - 17px);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  display: block;
}

/* Animación cuando la sección entra en vista */
.agenda_eventos-container.reveal .agenda-card-link {
  opacity: 1;
  transform: translateY(0);
}

/* Delays escalonados para la primera carga */
.agenda_eventos-container.reveal .agenda-card-link:nth-child(1) { transition-delay: 0.1s; }
.agenda_eventos-container.reveal .agenda-card-link:nth-child(2) { transition-delay: 0.2s; }
.agenda_eventos-container.reveal .agenda-card-link:nth-child(3) { transition-delay: 0.3s; }

.agenda-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(9, 33, 73, 0.05);
  transition: all 0.4s ease;
  border: 1px solid #edf2f7;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.agenda-card-link:hover .agenda-card {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(9, 33, 73, 0.12);
  border-color: #b2cc18;
}

/* --- Imagen y Badge --- */
.card-image-container {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.card-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.agenda-card-link:hover img {
  transform: scale(1.1);
}

.date-badge {
  position: absolute;
  top: 0;
  left: 20px;
  background-color: #b2cc18;
  color: #092149;
  padding: 12px 15px;
  text-align: center;
  border-radius: 0 0 10px 10px;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.date-badge span {
  font-family: "Montserrat", sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  display: block;
  line-height: 1;
}

.date-badge small {
  font-family: "Montserrat", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* --- Información de la tarjeta --- */
.card-info {
  padding: 25px;
  flex-grow: 1;
}

.location {
  font-family: "Poppins", sans-serif;
  color: #b2cc18;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.event-title {
  font-family: "Montserrat", sans-serif;
  color: #092149;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
}

/* --- Botones de Navegación --- */
.agenda_eventos-controls {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
}

.agenda-nav-btn {
  background: #fff;
  border: 2px solid #092149;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #092149;
  font-size: 1rem;
}

.agenda-nav-btn:hover {
  background: #092149;
  color: #b2cc18;
  transform: scale(1.1);
}

.agenda-nav-btn:active {
  transform: scale(0.95);
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .agenda-card-link {
    flex: 0 0 calc(50% - 13px);
    min-width: calc(50% - 13px);
  }
}

@media (max-width: 650px) {
  .agenda_eventos-container {
    padding: 60px 0;
  }
  .agenda-card-link {
    flex: 0 0 100%;
    min-width: 100%;
  }
  .agenda_eventos-main-title {
    margin-bottom: 40px;
  }
}

/* =================================================================================================
                                     BOTÓN VOLVER ARRIBA (BACK TO TOP)
   ================================================================================================= */

.btn-top-scroll {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background-color: #092149; /* Navy Institucional */
  color: #b2cc18; /* Verde Lima */
  border: 2px solid #b2cc18;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 999;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

  /* Inicialmente oculto */
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

/* Estado cuando el usuario hace scroll hacia abajo */
.btn-top-scroll.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.btn-top-scroll:hover {
  background-color: #b2cc18;
  color: #092149;
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 10px 20px rgba(9, 33, 73, 0.2);
}

/* Pequeño indicador visual de que es interactivo */
.btn-top-scroll i {
  animation: arrowBounce 2s infinite;
}

@keyframes arrowBounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-3px);
  }
  60% {
    transform: translateY(-1px);
  }
}

/* Ajuste para móviles */
@media (max-width: 768px) {
  .btn-top-scroll {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
}

/* =====================================================================================================
                                                SECCION : FOOTER
   ===================================================================================================== */

.ft-footer-area {
  background-color: #092149;
  position: relative;
  margin-top: 100px;
  color: #ffffff;
  font-family: "Poppins", sans-serif;
}

.ft-main-content {
  padding-bottom: 70px;
}

/* --- 1. Newsletter Flotante --- */
.ft-newsletter-card {
  background: #ffffff;
  padding: 35px 45px;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  position: relative;
  transform: translateY(-50%);
  z-index: 100;
  border-bottom: 5px solid #b2cc18;
}
.ft-news-title {
  font-family: "Montserrat", sans-serif;
  color: #092149;
  font-weight: 800;
  font-size: 1.4rem;
  margin: 0;
}
.ft-news-text {
  color: #64748b;
  font-size: 0.85rem;
  margin: 0;
}
.ft-btn-lime {
  background: #b2cc18 !important;
  color: #092149 !important;
  font-weight: 700;
  border-radius: 0 50px 50px 0 !important;
  border: none;
  padding: 0 25px;
}

/* --- 2. Brand Motto (Diferenciado tipográficamente) --- */
.ft-brand-motto {
  font-family: "Open", sans-serif; /* Cambio de fuente para diferenciar */
  font-weight: 500; /* Más delgado y elegante */
  font-style: italic;
  font-size: 0.88rem;
  line-height: 1.7;
  margin: 30px 0;
  color: rgba(255, 255, 255, 0.6);
  max-width: 340px;
  letter-spacing: 0.5px;
}

/* --- 3. Títulos de Columna (Color corregido a Blanco) --- */
.ft-col-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 25px;
  color: #ffffff !important; /* Aseguramos blanco puro */
  display: inline-block;
}

.ft-col-title::after {
  content: "";
  display: block;
  width: 35px;
  height: 3px;
  background: #b2cc18;
  margin-top: 8px;
}

/* --- Enlaces --- */
.ft-links-list {
  list-style: none;
  padding: 0;
}
.ft-links-list li {
  margin-bottom: 12px;
}
.ft-links-list li a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  text-decoration: none;
  transition: 0.3s;
}
.ft-links-list li a:hover {
  color: #b2cc18;
  padding-left: 5px;
}

/* --- SECCIÓN CONTACTO (Bajo las columnas) --- */
.ft-contact-horizontal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  padding-top: 0px;
}

.ft-contact-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.4;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

.ft-contact-info-item i {
  color: #b2cc18;
  font-size: 1.1rem;
}

/* Botón Contacto */
.ft-btn-contact-small {
  background: transparent;
  border: 2px solid #b2cc18;
  color: #ffffff;
  padding: 10px 22px;
  border-radius: 5px;
  font-family: "Montserrat", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.ft-btn-contact-small:hover {
  background: #b2cc18;
  color: #092149;
  text-decoration: none;
  transform: translateY(-2px);
}

/* --- Redes Sociales --- */
.ft-social-links {
  display: flex;
  gap: 12px;
}
.ft-social-item {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: 0.3s;
}
.ft-social-item:hover {
  background: #b2cc18;
  color: #092149;
  transform: translateY(-3px);
}

/* --- Barra Inferior --- */
.ft-copyright-bar {
  background: rgba(0, 0, 0, 0.3);
  padding: 25px 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.text-lime {
  color: #b2cc18;
}
.ft-legal-links a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: 0.3s;
  margin: 0 8px;
}
.ft-legal-links a:hover {
  color: #b2cc18;
}

/* --- Responsive --- */
@media (max-width: 991px) {
  .ft-main-content {
    text-align: center;
  }
  .ft-brand-motto {
    margin: 25px auto;
  }
  .ft-col-title::after {
    margin: 8px auto 0;
  }
  .ft-social-links,
  .ft-contact-horizontal {
    justify-content: center;
  }
  .ft-contact-horizontal {
    flex-direction: column;
    gap: 25px;
  }
  .ft-newsletter-card {
    transform: translateY(-10%);
    text-align: center;
    padding: 30px 20px;
  }
  .ft-btn-lime {
    border-radius: 50px !important;
    width: 100%;
    height: 50px;
    margin-top: 10px;
  }
}

/* ==========================================================================================
                                  ESTILO SISTEMA DE COOKIES
   ========================================================================================== */
.cook-sys-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.cook-sys-card {
  background: white;
  width: 100%;
  max-width: 550px;
  padding: 35px;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  animation: cookFadeUp 0.4s ease;
}

@keyframes cookFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cook-sys-card h3 {
  color: #0d3272;
  font-family: "Montserrat", sans-serif;
  margin-bottom: 15px;
  font-size: 1.4rem;
}
.cook-sys-card p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
  margin-bottom: 25px;
}
.cook-sys-card a {
  color: #3264ff;
  font-weight: 600;
}

/* Botones */
.cook-sys-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.btn-cook-main,
.btn-cook-sec,
.btn-cook-alt {
  padding: 12px 20px;
  border-radius: 8px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.85rem;
  transition: 0.3s;
  flex: 1;
  min-width: 140px;
}
.btn-cook-main {
  background: #b2cc18;
  color: #0d3272;
} /* Color Verde */
.btn-cook-sec {
  background: #0d3272;
  color: white;
} /* Color Azul */
.btn-cook-alt {
  background: #f1f1f1;
  color: #555;
}

/* Tabla de Preferencias */
.cook-sys-table-header {
  display: grid;
  grid-template-columns: 1fr 2fr 0.5fr;
  font-size: 0.7rem;
  font-weight: 800;
  color: #999;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  margin-bottom: 15px;
}

.cook-sys-item {
  display: grid;
  grid-template-columns: 1fr 2fr 0.5fr;
  align-items: center;
  gap: 10px;
  padding: 15px;
  background: #f9f9f9;
  border-radius: 10px;
  margin-bottom: 10px;
}
.cook-cat {
  font-weight: 700;
  color: #333;
  font-size: 0.85rem;
}
.cook-desc {
  font-size: 0.75rem;
  color: #777;
}

/* Switch de Toggle */
.cook-switch {
  position: relative;
  width: 45px;
  height: 22px;
}
.cook-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cook-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
}
.cook-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}
input:checked + .cook-slider {
  background-color: #b2cc18;
}
input:checked + .cook-slider:before {
  transform: translateX(23px);
}

.cook-sys-footer {
  text-align: right;
  margin-top: 20px;
}
.hidden {
  display: none !important;
}
