/*
  Theme Name: Rapid
  Theme URL: https://bootstrapmade.com/rapid-multipurpose-bootstrap-business-template/
  Author: BootstrapMade.com
  License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/

body {
  background: #fff;
  color: #444;
  font-family: "Open Sans", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;

  background: url("../img/isotipo.png") no-repeat center center;
  background-size: 400px; /* ajusta tamaño */

  opacity: 0.09; /* 🔥 clave: ultra sutil */
  pointer-events: none; /* no bloquea clicks */

  z-index: 0;
}

a {
  color: #07579a;
  transition: 0.5s;
}

a:hover,
a:active,
a:focus {
  color: #0a98c0;
  outline: none;
  text-decoration: none;
}

p {
  padding: 0;
  margin: 0 0 30px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  margin: 0 0 20px 0;
  padding: 0;
}

/* Back to top button */

.back-to-top {
  position: fixed;
  display: none;
  background: #07579a;
  color: #fff;
  width: 44px;
  height: 44px;
  text-align: center;
  line-height: 1;
  font-size: 16px;
  border-radius: 50%;
  right: 15px;
  bottom: 15px;
  transition: background 0.5s;
  z-index: 11;
}

.back-to-top i {
  padding-top: 12px;
  color: #fff;
}

/* Prelaoder */

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: #fff;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #f2f2f2;
  border-top: 6px solid #07579a;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  -webkit-animation: animate-preloader 1s linear infinite;
  animation: animate-preloader 1s linear infinite;
}

@-webkit-keyframes animate-preloader {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

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

@keyframes animate-preloader {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

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

/*--------------------------------------------------------------
# Top Bar
--------------------------------------------------------------*/

#topbar {
  padding: 0 0 10px 0;
  font-size: 14px;
  transition: all 0.5s;
}

#topbar .social-links {
  text-align: right;
}

#topbar .social-links a {
  color: #ffffff;
  padding: 4px 12px;
  display: inline-block;
  line-height: 1px;
}

#topbar .social-links a:hover {
  color: #07579a;
}

#topbar .social-links a:first-child {
  border-left: 0;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 110px;
  padding: 20px 0;
  z-index: 997;
  transition: all 0.5s;
}

#header.header-scrolled,
#header.header-pages {
  height: 70px;
  padding: 15px 0;
  background-color: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.3);
}

#header.header-scrolled #topbar,
#header.header-pages #topbar {
  display: none;
}

#header.header-scrolled .main-nav a,
#header.header-pages .main-nav a {
  color: #000;
  /* Negro */
}

#header.header-scrolled .main-nav a:hover,
#header.header-scrolled .main-nav .active>a,
#header.header-pages .main-nav a:hover,
#header.header-pages .main-nav .active>a {
  color: #07579a;
  /* tu color azul al pasar el mouse */
}

#header .logo h1 {
  font-size: 36px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
}

#header .logo h1 a,
#header .logo h1 a:hover {
  color: #413e66;
  text-decoration: none;
}

#header .logo img {
  padding: 0;
  /* margin: 7px 0; */
  max-height: 45px;
}

/* Base */
.logo {
  position: relative;
}

.logo-link {
  position: relative;
  display: inline-block;
}

.logo-img {
  display: block;
  max-height: 45px;
  /* ya lo usas en tu tema */
  transition: opacity .2s ease;
}

/* Superponemos el segundo logo para hacer crossfade */
.logo--dark {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  pointer-events: none;
}

/* Estado normal (hero transparente): se ve el logo blanco */
#header .logo--light {
  opacity: 1;
}

#header .logo--dark {
  opacity: 0;
}

/* Estado scrolleado/páginas (fondo blanco): se ve el logo oscuro */
#header.header-scrolled .logo--light,
#header.header-pages .logo--light {
  opacity: 0;
}

#header.header-scrolled .logo--dark,
#header.header-pages .logo--dark {
  opacity: 1;
}

/* (Opcional) altura reducida cuando scrollea: ajusta max-height si quieres */
#header.header-scrolled .logo-img,
#header.header-pages .logo-img {
  max-height: 40px;
}


.main-pages {
  margin-top: 60px;
}

/*--------------------------------------------------------------
# Intro Section
--------------------------------------------------------------*/

#intro {
  width: 100%;
  height: 100vh;
  height: 100vh;
  /* fallback */
  height: 100svh;
  /* iOS 16+ */
  height: 100dvh;
  /* moderno y preciso */
  position: relative;
  background: #f5f8fd url("../img/intro-bg.jpg") center top no-repeat;
  background-size: cover;
  overflow: hidden;
}

#intro .intro-info h2 {
  color: #ffffff;
  margin-bottom: 40px;
  font-size: 48px;
  font-weight: 400;
}

#intro .intro-info h2 span {
  color: #ffffff;
  font-weight: 700;
}

#intro .intro-info .btn-get-started,
#intro .intro-info .btn-services {
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 32px;
  border-radius: 4px;
  transition: 0.5s;
  color: #07579a;
  background: #ffffff;
}

#intro .intro-info .btn-get-started:hover,
#intro .intro-info .btn-services:hover {
  background: #0a98c0;
}


/* Cada slide debe ocupar todo el contenedor */
#intro .carousel-slide {
  position: absolute;
  inset: 0;
  /* top/right/bottom/left: 0 */
  display: flex;
  align-items: center;
}

/* Imagen del lado derecho controlada */
/* removed legacy banner img rule (replaced by hero patch) */

/* Texto cómodo en móvil */
@media (max-width: 767px) {

  /* En móvil, que el bloque pueda crecer si hace falta */
  #intro {
    height: auto;
    min-height: 85dvh;
    /* ocupa la mayoría del alto */
  }

  /* En móvil, mejor apilar y no usar absolute para el slide */
  #intro .carousel-slide {
    position: relative;
    min-height: 75dvh;
    padding: 0px 0 6px;
    /* respiro para CTA/barra */
  }

  #intro .intro-info {
    text-align: center;
    padding-top: 8px;
  }

  #intro .intro-info h2 {
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 16px;
  }

  #intro .intro-img {
    width: 85%;
    margin: 0 auto;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/

/* Desktop Navigation */

/* ===== NAV HOVER EFFECT ===== */

.main-nav ul li a {
  position: relative;
  padding: 8px 15px;
  transition: all 0.3s ease;
}

/* Hover movimiento */
.main-nav ul li a:hover {
  transform: translateY(-2px);
}

/* Línea animada */
.main-nav ul li a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #3291cf;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.main-nav ul li a:hover::after {
  width: 60%;
}

/* Item activo */
.main-nav ul li.active a {
  color: #3291cf;
  font-weight: 600;
}

/* Header azul (inicio) */
#header .main-nav ul li a {
  color: #ffffff;
}

#header .main-nav ul li a:hover {
  color: #3291cf;
}

/* Header blanco cuando haces scroll */
#header.header-scrolled .main-nav ul li a {
  color: #190b47;
}

#header.header-scrolled .main-nav ul li a:hover {
  color: #3291cf;
}

#header.header-scrolled .main-nav ul li.active a {
  color: #3291cf;
}

/* sombra elegante */
.main-nav ul li a:hover {
  text-shadow: 0 2px 10px rgba(0, 191, 255, 0.4);
}

.main-nav,
.main-nav * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav>ul>li {
  position: relative;
  white-space: nowrap;
  float: left;
}

.main-nav a {
  display: block;
  position: relative;
  color: #ffffff;
  padding: 10px 15px;
  transition: 0.3s;
  font-size: 14px;
  font-family: "Open Sans", sans-serif;
  text-transform: uppercase;
  font-weight: 400;
}

.main-nav a:hover,
.main-nav .active>a,
.main-nav li:hover>a {
  color: #07579a;
  text-decoration: none;
}

.main-nav .drop-down ul {
  display: block;
  position: absolute;
  left: 0;
  top: calc(100% - 30px);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  padding: 10px 0;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: ease all 0.3s;
}

.main-nav .drop-down:hover>ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.main-nav .drop-down li {
  min-width: 180px;
  position: relative;
}

.main-nav .drop-down ul a {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  color: #07579a;
}

.main-nav .drop-down ul a:hover,
.main-nav .drop-down ul .active>a,
.main-nav .drop-down ul li:hover>a {
  color: #07579a;
}

.main-nav .drop-down>a:after {
  content: "\f107";
  font-family: FontAwesome;
  padding-left: 10px;
}

.main-nav .drop-down .drop-down ul {
  top: 0;
  left: calc(100% - 30px);
}

.main-nav .drop-down .drop-down:hover>ul {
  opacity: 1;
  top: 0;
  left: 100%;
}

.main-nav .drop-down .drop-down>a {
  padding-right: 35px;
}

.main-nav .drop-down .drop-down>a:after {
  content: "\f105";
  position: absolute;
  right: 15px;
}

/* Mobile Navigation */

.mobile-nav {
  position: fixed;
  top: 0;
  bottom: 0;
  left: -280px;
  width: 280px;
  z-index: 9999;
  overflow-y: auto;
  padding: 24px 0 18px;
  background: linear-gradient(180deg, #08035f 0%, #07579a 55%, #07579a 100%);
  box-shadow: 8px 0 30px rgba(0, 0, 0, 0.22);
  transition: all 0.35s ease;
  border-top-right-radius: 18px;
  border-bottom-right-radius: 18px;
}

.mobile-nav * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-nav ul {
  padding: 8px 14px;
}

.mobile-nav li {
  margin-bottom: 8px;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  position: relative;
  color: #ffffff;
  padding: 13px 16px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.mobile-nav a:hover,
.mobile-nav .active > a,
.mobile-nav li:hover > a {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.mobile-nav .active > a {
  background: rgba(255, 255, 255, 0.18);
}

.mobile-nav .drop-down > a {
  padding-right: 38px;
}

.mobile-nav .drop-down > a:after {
  content: "\f078";
  font-family: FontAwesome;
  position: absolute;
  right: 15px;
  font-size: 12px;
  transition: transform 0.3s ease;
}

.mobile-nav .active.drop-down > a:after {
  content: "\f077";
}

.mobile-nav .drop-down ul {
  display: none;
  overflow: hidden;
  padding-top: 6px;
}

.mobile-nav .drop-down li {
  padding-left: 10px;
}

.mobile-nav .drop-down ul a {
  font-size: 14px;
  font-weight: 500;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.06);
  margin-top: 6px;
}

.mobile-nav-toggle {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 10000;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 12px;
  background:#0a0f41;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav-toggle:hover {
  background: #07579a;
  transform: translateY(-1px);
}

.mobile-nav-toggle i {
  color: #ffffff;
  margin: 0;
}

.btnMenu {
  color: #faf9fb !important;
}

.mobile-nav-overly {
  position: fixed;
  inset: 0;
  z-index: 9997;
  background: rgba(6, 10, 32, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: none;
  transition: all 0.3s ease;
}

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

.mobile-nav-active .mobile-nav {
  left: 0;
}

.mobile-nav-active .mobile-nav-toggle {
  background: #07579a;
  color: #f2f2f2;
}

.mobile-nav-active .mobile-nav-toggle i {
   background: #07579a;
  color: #f2f2f2;
}


/*--------------------------------------------------------------
# Sections
--------------------------------------------------------------*/

/* Sections Header
--------------------------------*/

.section-header h3 {
  font-size: 36px;
  color: #413e66;
  text-align: center;
  font-weight: 700;
  position: relative;
  font-family: "Montserrat", sans-serif;
}

.section-header p {
  text-align: center;
  margin: auto;
  font-size: 15px;
  padding-bottom: 30px;
  color: #535074;
  width: 50%;
}

/* Section with background
--------------------------------*/

.section-bg {
  background: #f5f8fd;
}

/* About Us Section
--------------------------------*/

#about {
  padding: 80px 0;
}

#about .about-content {
  padding-top: 40px;
}

#about .about-content h2 {
  color: #413e66;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}

#about .about-content h3 {
  color: #696592;
  font-weight: 400;
  font-size: 22px;
  font-style: italic;
}

#about .about-content ul {
  list-style: none;
  padding: 0;
}

#about .about-content ul li {
  padding-bottom: 10px;
}

#about .about-content ul li i {
  font-size: 20px;
  padding-right: 4px;
  color: #07579a;
}

#about .about-img {
  position: relative;
  margin: 30px 30px 30px 30px;
}

#about .about-img img {
  width: 100%;
  border: 8px solid #fff;
  transition: .5s;
}

#about .about-img img:hover {
  width: 100%;
  -webkit-transform: scale(1.03);
  transform: scale(1.03);
}

#about .about-img::before {
  position: absolute;
  left: -31px;
  top: -30px;
  width: 90%;
  height: 92%;
  z-index: -1;
  content: '';
  background-color: #ebf1fa;
  transition: .5s;
}

#about .about-img::after {
  position: absolute;
  right: -31px;
  bottom: -30px;
  width: 90%;
  height: 92%;
  z-index: -1;
  content: '';
  background-color: #ebf1fa;
  transition: .5s;
}

/* Services Section
--------------------------------*/

#services {
  padding: 30px 0 40px 0;
}

#services .box {
  padding: 30px;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin: 0 10px 40px 10px;
  background: #fff;
  box-shadow: 0 10px 29px 0 rgba(68, 88, 144, 0.1);
  transition: all 0.3s ease-in-out;
  text-align: center;
}

#services .box:hover {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

#services .icon {
  margin: 0 auto 15px auto;
  padding-top: 12px;
  display: inline-block;
  text-align: center;
  border-radius: 50%;
  width: 60px;
  height: 60px;
}

#services .icon i {
  font-size: 36px;
  line-height: 1;
}

#services .title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px;
}

#services .title a {
  color: #111;
}

#services .box:hover .title a {
  color: #07579a;
}

#services .description {
  font-size: 14px;
  line-height: 28px;
  margin-bottom: 0;
  text-align: left;
}

/* Why Us Section
--------------------------------*/

#why-us {
  padding: 60px 0;
}

#why-us .why-us-content .features {
  margin: 0 0 15px 0;
  padding: 0;
  transition: 0.3s ease-in-out;
}

#why-us .why-us-content .features i {
  font-size: 36px;
  float: left;
}

#why-us .why-us-content .features h4 {
  font-size: 24px;
  font-weight: 600;
  margin-left: 56px;
  color: #413e66;
  margin-bottom: 5px;
}

#why-us .why-us-content .features p {
  font-size: 16px;
  margin-left: 56px;
  color: #555186;
}

#why-us .counters {
  padding-top: 40px;
}

#why-us .counters span {
  font-family: "Montserrat", sans-serif;
  font-weight: bold;
  font-size: 48px;
  display: block;
  color: #555186;
}

#why-us .counters p {
  padding: 0;
  margin: 0 0 20px 0;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  color: #8a87b6;
}

/* Call To Action Section
--------------------------------*/

#call-to-action {
  background: #2d2b46;
  background-size: cover;
  padding: 40px 0;
}

#call-to-action .cta-title {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
}

#call-to-action .cta-text {
  color: #fff;
}

#call-to-action .cta-btn {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 26px;
  border-radius: 3px;
  transition: 0.5s;
  margin: 10px;
  border: 3px solid #fff;
  color: #fff;
}

#call-to-action .cta-btn:hover {
  background: #07579a;
  border: 3px solid #07579a;
}

/* Features Section
--------------------------------*/

#features {
  padding: 80px 0;
}

#features h4 {
  font-weight: 600;
  font-size: 24px;
}

.feature-img {
  max-width: 85%;
  height: auto;
  display: block;
  margin: 0 auto;

  /* toque visual */
  filter: drop-shadow(0 10px 25px rgba(0,0,0,0.12));
}

.feature-item {
  align-items: center;
}

.feature-item img {
  border-radius: 12px;
}

.feature-item img {
  border-radius: 12px;
}

.feature-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(7, 27, 60, 0.15),
    rgba(7, 87, 154, 0.10)
  );
  pointer-events: none;
}
/* Portfolio Section
--------------------------------*/
#portfolio {
  padding: 75px 0 65px;
}

#portfolio .section-header {
  margin-bottom: 8px;
}

#portfolio .section-title {
  margin-bottom: 12px;
  font-weight: 700;
}

/* Filtros */
#portfolio #portfolio-flters {
  padding: 0;
  margin: 20px 0 35px 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

#portfolio #portfolio-flters li {
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 16px;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  color: #190b47;
  text-align: center;
  background: #ffffff;
  border: 1px solid rgba(50, 145, 207, 0.10);
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(68, 88, 144, 0.08);
  transition: all 0.28s ease;
  overflow: hidden;
}

#portfolio #portfolio-flters li:hover {
  color: #ffffff;
  background: #07579a;
  border-color: #07579a;
  transform: translateY(-2px);
  box-shadow: none;
}

#portfolio #portfolio-flters li.filter-active {
  color: #ffffff;
  background: linear-gradient(90deg, #07579a 0%, #0a98c0 100%);
  border: none !important;
  box-shadow: none !important;
}

/* Grid cards */
#portfolio .portfolio-container {
  margin-top: 10px;
}

#portfolio .portfolio-item {
  margin-bottom: 20px;
}

#portfolio .portfolio-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(68, 88, 144, 0.10);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

#portfolio .portfolio-wrap:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(68, 88, 144, 0.16);
}

/* Imagen */
#portfolio .portfolio-wrap img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

#portfolio .portfolio-wrap:hover img {
  transform: scale(1.04);
}

/* Overlay más limpio */
#portfolio .portfolio-info {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  text-align: left;
  padding: 18px 16px 16px;
  background: linear-gradient(to top,
      rgba(7, 27, 60, 0.96) 0%,
      rgba(7, 87, 154, 0.82) 28%,
      rgba(7, 87, 154, 0.42) 52%,
      rgba(7, 87, 154, 0.14) 72%,
      rgba(7, 87, 154, 0) 100%);
  transition: background 0.3s ease;
}

#portfolio .portfolio-wrap:hover .portfolio-info {
  background: linear-gradient(
    to top,
    rgba(7, 27, 60, 0.98) 0%,   /* MUY oscuro abajo */
    rgba(7, 27, 60, 0.90) 25%,  /* mantiene contraste */
    rgba(7, 87, 154, 0.60) 55%, /* transición marca */
    rgba(7, 87, 154, 0.25) 75%, 
    rgba(7, 87, 154, 0.05) 100%
  );
}

/* Texto */
#portfolio .portfolio-info h4 {
  margin: 0 0 4px 0;
  font-size: 17px;
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: 0.1px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
}

#portfolio .portfolio-info h4 a {
  color: #ffffff;
  text-decoration: none;
}

#portfolio .portfolio-info h4 a:hover {
  color: #ffffff;
}

#portfolio .portfolio-info h4,
#portfolio .portfolio-info p {
 
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

#portfolio .portfolio-info p {
  margin: 0 0 12px 0;
  color: rgba(255, 255, 255, 0.94);
  font-weight: 500;
  font-size: 12px;
  line-height: 1.3;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.24);
}

#portfolio .portfolio-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

#portfolio .portfolio-wrap:hover::after {
  opacity: 1;
}

/* Botón */
#portfolio .portfolio-actions {
  opacity: 1;
  transform: translateY(8px);
  transition: all 0.28s ease;
}

#portfolio .portfolio-wrap:hover .portfolio-actions {
  opacity: 1;
  transform: translateY(0);
}

#portfolio .portfolio-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  border-radius: 999px;
  background: #3291cf;
  box-shadow: 0 8px 18px rgba(50, 145, 207, 0.22);
  transition: all 0.28s ease;
  white-space: nowrap;
}

#portfolio .portfolio-btn:hover {
  color: #07579a;
  background: #ffffff;
  ;
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(50, 145, 207, 0.28);
}

/* Desktop medium */
@media (max-width: 991.98px) {
  #portfolio #portfolio-flters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #portfolio #portfolio-flters li {
    font-size: 12px;
    padding: 10px 12px;
  }

  #portfolio .portfolio-wrap img {
    height: 190px;
  }

  #portfolio .portfolio-info {
    padding: 16px 14px 14px;
  }

  #portfolio .portfolio-info h4 {
    font-size: 15px;
  }
}

/* Tablet / mobile */
@media (max-width: 767.98px) {
  #portfolio #portfolio-flters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  #portfolio #portfolio-flters li {
    min-height: 44px;
    font-size: 12px;
    padding: 10px 10px;
  }

  #portfolio .portfolio-wrap img {
    height: 170px;
  }
}

/* Mobile small */
@media (max-width: 575.98px) {
  #portfolio .portfolio-item {
    margin-bottom: 14px;
  }

  #portfolio .portfolio-wrap {
    border-radius: 16px;
  }

  #portfolio .portfolio-wrap img {
    height: 155px;
  }

  #portfolio .portfolio-info {
    padding: 14px 12px 12px;
  }

  #portfolio .portfolio-info h4 {
    font-size: 14px;
  }

  #portfolio .portfolio-info p {
    font-size: 11px;
    margin-bottom: 10px;
  }

  #portfolio .portfolio-btn {
    padding: 7px 14px;
    font-size: 11px;
  }
}

/* Testimonials Section
--------------------------------*/

#testimonials {
  padding: 60px 0;
}

#testimonials .section-header {
  margin-bottom: 40px;
}

#testimonials .testimonial-item .testimonial-img {
  width: 120px;
  border-radius: 50%;
  border: 4px solid #fff;
  float: left;
}

#testimonials .testimonial-item h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0 5px 0;
  color: #111;
  margin-left: 140px;
}

#testimonials .testimonial-item h4 {
  font-size: 14px;
  color: #999;
  margin: 0 0 15px 0;
  margin-left: 140px;
}

#testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 0 15px 140px;
}

#testimonials .owl-nav,
#testimonials .owl-dots {
  margin-top: 5px;
  text-align: center;
}

#testimonials .owl-dot {
  display: inline-block;
  margin: 0 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ddd;
}

#testimonials .owl-dot.active {
  background-color: #07579a;
}

/* Team Section
--------------------------------*/

#team {
  padding: 60px 0;
}

#team .member {
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

#team .member .member-info {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  transition: 0.2s;
  padding: 15px 0;
  background: rgba(29, 28, 41, 0.6);
}

#team .member .member-info-content {
  transition: margin 0.2s;
  height: 40px;
  transition: height 0.4s;
}

#team .member:hover .member-info {
  transition: 0.4s;
}

#team .member:hover .member-info-content {
  height: 80px;
}

#team .member h4 {
  font-weight: 700;
  margin-bottom: 2px;
  font-size: 18px;
  color: #fff;
}

#team .member span {
  font-style: italic;
  display: block;
  font-size: 13px;
  color: #fff;
}

#team .member .social {
  margin-top: 15px;
}

#team .member .social a {
  transition: none;
  color: #fff;
}

#team .member .social a:hover {
  color: #07579a;
}

#team .member .social i {
  font-size: 18px;
  margin: 0 2px;
}

/* Clients Section
--------------------------------*/

#clients {
  padding: 60px 0;
}

#clients img {
  max-width: 80%;
  opacity: 0.5;
  transition: 0.3s;
  padding: 15px 0;
}

#clients img:hover {
  opacity: 1;
}

#clients .owl-nav,
#clients .owl-dots {
  margin-top: 5px;
  text-align: center;
}

#clients .owl-dot {
  display: inline-block;
  margin: 0 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ddd;
}

#clients .owl-dot.active {
  background-color: #07579a;
}

/* Pricing Section
--------------------------------*/

#pricing {
  padding: 80px 0;
}

#pricing .card {
  border: 0;
  border-radius: 0px;
  box-shadow: 0 3px 0px 0 rgba(65, 62, 102, 0.08);
  transition: all .3s ease-in-out;
  /* padding-top: 0px; */
  padding: 0px 0px 36px 0px;
  position: relative;
}

#pricing .card:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 5px;
  background-color: #07579a;
  transition: 0.5s;
}

#pricing .card:hover {
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
  box-shadow: 0 20px 35px 0 rgba(0, 0, 0, 0.08);
}

#pricing .card:hover:after {
  width: 100%;
}

#pricing .card .card-header {
  background-color: white;
  border-bottom: 0px;
  -moz-text-align-last: center;
  text-align-last: center;
}

#pricing .card .card-title {
  margin-bottom: 16px;
  color: #535074;
}

#pricing .card .card-block {
  padding-top: 0;
  text-align: center;
}

#pricing .card .list-group-item {
  border: 0px;
  padding: 6px;
  color: #413e66;
  font-weight: 300;
}

#pricing .card h3 {
  font-size: 64px;
  margin-bottom: 0px;
  color: #535074;
}

#pricing .card h3 .currency {
  font-size: 30px;
  position: relative;
  font-weight: 400;
  top: -30px;
  letter-spacing: 0px;
}

#pricing .card h3 .period {
  font-size: 16px;
  color: #6c67a3;
  letter-spacing: 0px;
}

#pricing .card h3 .badge-plan {
  font-size: 28px;
  font-weight: 600;
  position: static;
  /* ignora el top:-30px de .currency del theme */
  letter-spacing: 0.5px;
}

#pricing .card .list-group {
  margin-bottom: 15px;
}

#pricing .card .btn {
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 500;
  color: #5f5b96;
  border-radius: 0;
  padding: 10px 24px;
  letter-spacing: 1px;
  border-radius: 3px;
  display: inline-block;
  background: #07579a;
  color: #fff;
}

#pricing .card .btn:hover {
  background: #0a98c0;
}

/* list-animated
--------------------------------*/

.list-animated li {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.9s ease; /* 🔥 más lento */
}

/* cuando aparece */
.list-animated.show li {
  opacity: 1;
  transform: translateY(0);
}

/* delays más amplios */
.list-animated.show li:nth-child(1) {
  transition-delay: 0.3s;
}

.list-animated.show li:nth-child(2) {
  transition-delay: 0.7s;
}

.list-animated.show li:nth-child(3) {
  transition-delay: 1.1s;
}

/*FIN
--------------------------------*/


/* Frequently Asked Questions Section
--------------------------------*/

#faq {
  padding: 60px 0;
  overflow: hidden;
}

#faq #faq-list {
  padding: 0;
  list-style: none;
}

#faq #faq-list li {
  border-bottom: 1px solid #ebebeb;
}

#faq #faq-list a {
  padding: 22px 0;
  display: block;
  position: relative;
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  line-height: 1;
  font-weight: 400;
  padding-right: 20px;
}

#faq #faq-list i {
  font-size: 24px;
  position: absolute;
  right: 0;
  top: 20px;
}

#faq #faq-list p {
  margin-bottom: 20px;
}

#faq #faq-list a.collapse {
  color: #07579a;
}

#faq #faq-list a.collapsed {
  color: #000;
}

#faq #faq-list a.collapsed i::before {
  content: "\f2c7" !important;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

#footer {
  background: linear-gradient(
    120deg,
    #071B3C 0%,
    #0B2A55 45%,
    #0A3C78 100%
  );
  color: #fff;
  font-size: 14px;
  position: relative;
  overflow: hidden;
}

#footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 20% 20%,
    rgba(10, 152, 192, 0.35),
    transparent 60%
  );
  opacity: 0.5;
  pointer-events: none;
}

#footer a {
  color: rgba(255, 255, 255, 0.86);
  transition: all 0.3s ease;
}

#footer a:hover {
  color: #ffffff;
  text-decoration: none;
}

#footer .footer-main {
  padding: 70px 0 40px;
  position: relative;
  z-index: 2;
}

#footer .footer-logo {
  max-height: 48px;
  margin-bottom: 22px;
  display: block;
}

#footer .footer-description {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
  max-width: 500px;
}

#footer .footer-contact-info p {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
}

#footer .footer-contact-info i {
  width: 18px;
  margin-right: 8px;
  color: #8fdcff;
}

#footer .footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

#footer .footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.10);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

#footer .footer-social a:hover {
  background: #ffffff;
  color: #07579a;
  transform: translateY(-3px);
}

#footer .footer-links-block h4,
#footer .footer-form-box h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

#footer .footer-links-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-links-block ul li {
  margin-bottom: 12px;
}

#footer .footer-links-block ul li a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

#footer .footer-links-block ul li a:hover {
  color: #8fdcff;
  padding-left: 4px;
}

#footer .footer-form-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(6px);
}

#footer .footer-form-box p {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
  margin-bottom: 16px;
}

#footer .footer-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
    background: #25d366;

  color: #fff;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 999px;
  margin-bottom: 8px;
}

#footer .footer-whatsapp-btn:hover {
  background: #1ebe5d;
  color: #fff;
  transform: translateY(-2px);
}

#footer .footer-form-box .form-group {
  margin-bottom: 14px;
}

#footer .footer-form-box .form-control {
  height: auto;
  border-radius: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: none;
  font-size: 14px;
  color: #1b1b1b;
}

#footer .footer-form-box textarea.form-control {
  resize: none;
}

#footer .footer-form-box .form-control::placeholder {
  color: #7b7f91;
}

#footer .footer-submit-btn {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 12px 20px;
  background: #ffffff;
   color: #071B3C;
  font-weight: 700;
  transition: all 0.3s ease;
}

#footer .footer-submit-btn:hover {
  background: #8fdcff;
  color: #07103a;
  transform: translateY(-2px);
}

#footer #sendmessage,
#footer #errormessage {
  display: none;
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  font-weight: 600;
  text-align: center;
}

#footer #sendmessage {
  background: rgba(40, 167, 69, 0.18);
  color: #d4ffe1;
  border: 1px solid rgba(40, 167, 69, 0.25);
}

#footer #errormessage {
  background: rgba(255, 99, 71, 0.18);
  color: #ffe0d9;
  border: 1px solid rgba(255, 99, 71, 0.25);
}

#footer #sendmessage.show,
#footer #errormessage.show,
#footer .show {
  display: block;
}

#footer .validation {
  color: #ffd7d7;
  display: none;
  margin: 6px 0 0;
  font-size: 12px;
}

#footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 18px 0;
  background: rgba(7, 27, 60, 0.6); /* mismo azul pero más oscuro/transparente */
  backdrop-filter: blur(6px);
}

#footer .footer-copy {
  color: rgba(255,255,255,0.75);
  font-size: 13px;
}

#footer .footer-bottom-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

#footer .footer-bottom-links a {
  color: rgba(255,255,255,0.65);
  font-size: 13px;
  transition: all 0.3s ease;
}

#footer .footer-bottom-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

@media (max-width: 991.98px) {
  #footer .footer-main {
    padding: 55px 0 30px;
  }

  #footer .footer-description {
    max-width: 100%;
  }

  #footer .footer-form-box {
    margin-top: 10px;
  }
}

@media (max-width: 767.98px) {
  #footer .footer-main {
    padding: 48px 0 24px;
  }

  #footer .footer-form-box {
    padding: 22px 18px;
    border-radius: 16px;
  }

  #footer .footer-bottom {
    text-align: center;
  }

  #footer .footer-bottom-links {
    justify-content: center;
  }
}

/*--------------------------------------------------------------
# Responsive Media Queries
--------------------------------------------------------------*/

@media (min-width: 991px) {
  #call-to-action .cta-btn-container {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    -ms-flex-pack: end;
    justify-content: flex-end;
  }
}

@media (min-width: 992px) {
  #intro .intro-info {
    padding-top: 100px;
  }

  #testimonials .testimonial-item p {
    width: 80%;
  }
}

@media (max-width: 991px) {
  #topbar {
    display: none;
  }

  #header {
    height: 70px;
    padding: 15px 0;
  }

  #header .logo h1 {
    font-size: 28px;
    padding: 8px 0;
  }

  #why-us .why-us-content {
    padding-top: 30px;
  }

  #pricing {
    padding-bottom: 30px;
  }

  #pricing .card {
    margin-bottom: 50px;
  }
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 15px;
  }

  #faq #faq-list a {
    font-size: 18px;
  }

  #faq #faq-list i {
    top: 13px;
  }
}

@media (max-width: 767px) {
  #intro {
    height: auto;
    padding: 80px 0 60px 0;
  }

  #intro .container {
    height: auto !important;
  }

  #intro .intro-img {
    width: 80%;
  }

  #intro .intro-info {
    text-align: center;
    padding-top: 40px;
  }

  #intro .intro-info h2 {
    font-size: 34px;
    margin-bottom: 30px;
  }

  .section-header p {
    width: 100%;
  }

  #testimonials .testimonial-item {
    text-align: center;
  }

  #testimonials .testimonial-item .testimonial-img {
    float: none;
    margin: auto;
  }

  #testimonials .testimonial-item h3,
  #testimonials .testimonial-item h4,
  #testimonials .testimonial-item p {
    margin-left: 0;
  }
}

@media (max-width: 574px) {
  #footer .footer-top .social-links a {
    margin-bottom: 25px;
  }
}



/* NUEVOS AJUSTES */


/* ===== Servicios con IMAGEN + OVERLAY (estilo "colaboradores") ===== */
/* ===== Servicios estilo "Colaboradores" ===== */
.service-img-box {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 29px 0 rgba(68, 88, 144, 0.1);
  width: 100%;
  height: 270px;
}

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

@media (max-width: 991.98px) {
  .service-img-box {
    height: 310px;
  }
}

@media (max-width: 575.98px) {
  .service-img-box {
    height: 350px;
  }
}

.service-img-box:hover img {
  transform: scale(1.05);
}

/* Overlay igual al team */
.service-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    to top,
    rgba(7, 27, 60, 0.98) 0%,   /* MUY oscuro abajo */
    rgba(7, 27, 60, 0.90) 25%,  /* mantiene contraste */
    rgba(7, 87, 154, 0.60) 55%, /* transición marca */
    rgba(7, 87, 154, 0.25) 75%, 
    rgba(7, 87, 154, 0.05) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  height: 0;
  overflow: hidden;
  transition: height 0.4s ease;
}

.service-img-box:hover .service-overlay {
  height: 100%;
}

.service-overlay-content {
 text-align: center;
  color: #ffffff;
  padding: 22px;
  backdrop-filter: blur(2px);
}

/* Título */
.service-overlay-content h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #ffffff;

  /* efecto premium */
  letter-spacing: 0.3px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

/* Descripción */
.service-overlay-content p {
  font-size: 14px;
  line-height: 1.5;
   color: rgba(255, 255, 255, 0.95);

  /* mejora legibilidad */
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.service-overlay-content h4::after {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  margin: 8px auto 0;
  border-radius: 2px;

  /* color marca */
  background: #3291cf;
}

.services-carousel {
  position: relative;
}

/* Controles del carrusel de servicios */
.services-carousel .owl-nav button.owl-prev,
.services-carousel .owl-nav button.owl-next {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #07579a !important;
  color: #fff !important;
  font-size: 16px;
  line-height: 40px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  transition: all .3s;
  z-index: 99;
}

.services-carousel .owl-nav button.owl-prev {
  left: 5px;
}

.services-carousel .owl-nav button.owl-next {
  right: 5px;
}

.services-carousel .owl-nav button:hover {
  background: #0a56c4 !important;
}

.services-carousel .owl-nav i {
  font-size: 14px;
}

.services-carousel .owl-dots {
  margin-top: 12px;
  text-align: center;
}

.services-carousel .owl-dot span {
  width: 10px;
  height: 10px;
  background: #ddd;
  display: inline-block;
  border-radius: 50%;
  margin: 0 4px;
  transition: background .2s ease;
}

.services-carousel .owl-dot.active span {
  background: #07579a;
}

/* Asegurar altura consistente de las imágenes */
.services-carousel .service-img-box img {
  /*  height: 240px;  */
  /* ya lo tienes */
  object-fit: cover;
  /* ya lo tienes */
}





/* OCULATMOS BOTOES DE DESPLAZAMIENTO CARRUSEL SERVICIOS DE DISPOSITIVOS PEQUEÑOS */
@media (max-width: 576px) {
  .services-carousel .owl-nav button.owl-prev {
    left: 0;
  }

  .services-carousel .owl-nav button.owl-next {
    right: 0;
  }
}


/* removed duplicate banner fullscreen block (consolidated below) */


/* Footer: lista horizontal */
#footer .footer-list-inline {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-list-inline li {
  display: inline-block;
  margin: 0 8px;
  /* separación lateral mínima */
}

#footer .footer-list-inline a {
  color: inherit;
  /* conserva el color original */
  text-decoration: none;
  font-size: 14px;
}

#footer .footer-list-inline a:hover {
  text-decoration: underline;
  /* efecto hover */
}


/* Imagen y badge */
.card-service .card-img {
  position: relative;
  overflow: hidden;
}

.card-service .card-img img {
  width: 100%;
  height: auto;
  display: block;
}

.card-service .card-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #ff9800;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
}

/* Padding reducido de las li */
.card-service .list-group-item {
  padding: 0px 8px;
  /* 1px arriba/abajo, 8px a los lados */
  font-size: 14px;
}


/* ================================
   >>> PATCH BANNER RESPONSIVE <<<
   Ajusta imagen del lado derecho
   ================================ */

/* 1) Asegura alto del hero y columnas */
#intro,
#intro .container,
#introCarousel,
#introCarousel .carousel-slide {
  min-height: 100dvh;
}

#introCarousel .carousel-slide .row,
#introCarousel .carousel-slide .col-md-6 {
  height: 100%;
}

/* 2) Imagen en la columna derecha: FILL en desktop */
#introCarousel .intro-img {
  position: relative;
  overflow: hidden;
}

#introCarousel .intro-img img {
  /* Sobrescribe cualquier width/height previos (incl. 135dvh, 60dvh, contain, etc.) */
  position: absolute;
  inset: 0;
  /* top/right/bottom/left: 0 */
  width: 100%;
  height: 100%;
  /* llena toda la columna sin deformar (puede recortar) */
}

/* 3) Texto a la izquierda, centrado vertical */
#introCarousel .intro-info {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* 4) MÓVIL (<=767px): imagen más pequeña, sin recortes */


/* 5) TABLET (768–991px): un intermedio suave */
@media (min-width: 768px) and (max-width: 991.98px) {
  #introCarousel .intro-img img {
    object-fit: cover;
    /* puedes suavizar el recorte en tablet si quieres: */
    /* object-position: center right; */
  }
}

/* ================================
   HERO/CAROUSEL — imagen derecha full height (desktop)
   y proporcionada en móvil
   ================================ */

/* Alto mínimo de héroe y columnas/fila ocupando 100% */
#intro,
#intro .container,
#introCarousel,
#introCarousel .carousel-slide {
  min-height: 100dvh;
}

#introCarousel .carousel-slide .row,
#introCarousel .carousel-slide .col-md-5,
#introCarousel .carousel-slide .col-md-6,
#introCarousel .carousel-slide .col-md-7 {
  height: 100%;
}

/* Imagen lado derecho: llena toda su columna (desktop/tablet) */
#introCarousel .intro-img {
  position: relative;
  overflow: hidden;
}

#introCarousel .intro-img img {
  position: absolute;
  inset: 0;
  /* top/right/bottom/left: 0 */
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* rellena sin deformar (puede recortar) */
}

/* Texto a la izquierda centrado verticalmente */
#introCarousel .intro-info {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}



/* optional slide object-position hints kept in final patch */

/* ============================================
   HERO / INTRO CAROUSEL — CONSOLIDATED PATCH
   ============================================ */

/* Base hero sizing and stacking */
#intro {
  position: relative;
  width: 100%;
  height: 100dvh;
  min-height: 480px;
  overflow: hidden;
  /* background fallback image keeps original theme look behind video */
  background: #f5f8fd url("../img/intro-bg.jpg") center top no-repeat;
  background-size: cover;
}

#intro .container {
  position: relative;
  z-index: 2;
}


/* readability overlay */
#intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .28);
  z-index: 1;
}

/* Slides take full height */
#intro,
#intro .container,
#introCarousel,
#introCarousel .carousel-slide {
  min-height: 100dvh;
}

#introCarousel .carousel-slide .row,
#introCarousel .carousel-slide .col-md-5,
#introCarousel .carousel-slide .col-md-6,
#introCarousel .carousel-slide .col-md-7 {
  height: 100%;
}

/* Right column image fills height on desktop/tablet */
#introCarousel .intro-img {
  position: relative;
  overflow: hidden;
}

#introCarousel .intro-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* fills without distortion; may crop */
  display: block;
}

/* Left column text centered vertically */
#introCarousel .intro-info {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}





/* Optional: tweak crop per slide on desktop */
/*
#introCarousel .carousel-slide:nth-child(1) .intro-img img { object-position: center right; }
#introCarousel .carousel-slide:nth-child(2) .intro-img img { object-position: center; }
#introCarousel .carousel-slide:nth-child(3) .intro-img img { object-position: 60% center; }
*/




/****** MODIFICACIONES ******/

/* ===== HERO / INTRO ===== */
.hero-intro {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #061a2f;
  padding: 110px 0 60px;
}

.video-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  z-index: 0;
}

/* Ajustes para móviles */
/* Ajustes para móviles */
@media (max-width: 767.98px) {
  .hero-intro {
    min-height: auto;
    padding: 110px 0 40px;
  }

  .video-background {
    height: 70vh;
    object-fit: cover;
    object-position: center top;
    transform: scale(1.15);
  }

  .hero-carousel {
    position: relative;
    min-height: 620px;
  }

  .hero-carousel .carousel-slide {
    display: none !important;
    position: absolute;
    inset: 0;
    min-height: 620px;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: none;
    z-index: 0;
    padding: 20px 0;
  }

  .hero-carousel .carousel-slide.active {
    display: flex !important;
    pointer-events: auto;
    z-index: 3;
  }

  .hero-row {
    min-height: 620px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 16px;
    text-align: center;
    margin: 0;
    width: 100%;
    padding-top: 10px;
  }

  .hero-text {
    order: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 10px;
    text-align: center;
  }

  .hero-text h2 {
    font-size: 30px;
    line-height: 1.15;
    margin-bottom: 10px;
  }

  .hero-btn-desktop {
    display: none !important;
  }

  .hero-image {
    order: 2;
    width: 100%;
    padding: 0 10px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .hero-image img {
    width: 100%;
    max-width: 100%;
    max-height: 360px;
    height: auto;
    object-fit: contain;
    display: block;
  }

  .hero-button {
    order: 3;
    width: 100%;
    display: block !important;
    text-align: center;
    margin-top: 4px;
  }

  .hero-btn-mobile {
    display: inline-block !important;
  }

  .hero-overlay {
    background: linear-gradient(180deg,
        rgba(4, 16, 36, 0.78) 0%,
        rgba(4, 16, 36, 0.58) 45%,
        rgba(4, 16, 36, 0.45) 100%);
  }
}


.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(4, 16, 36, 0.82) 0%,
      rgba(4, 16, 36, 0.55) 40%,
      rgba(4, 16, 36, 0.28) 100%);
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-carousel {
  position: relative;
  min-height: calc(100svh - 170px);
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

.hero-row {
  min-height: calc(100svh - 170px);
}

.hero-text {
  color: #fff;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  text-align: left;
}

.hero-text h2 {
  font-size: 52px;
  line-height: 1.08;
  font-weight: 700;
  margin-bottom: 24px;
  color: #fff;
}

.hero-text h2 span {
  color: #3291cf;
}

/* Botón */
.btn-get-started {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 50px;
  background: #3291cf;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-get-started:hover {
  background: #07579a;
  color: #fff;
  text-decoration: none;
}

.hero-text .btn-get-started {
  width: auto;
  align-self: flex-start;
}

/* Barra de progreso */
.intro-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.18);
  z-index: 3;
}

#introProgressFill {
  width: 0%;
  height: 100%;
  background: #3291cf;
}

/* Animaciones */
.slide-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in.show {
  opacity: 1;
  transform: translateY(0);
}

/* Imagen hero */
.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  width: 100%;
  max-width: 640px;
  height: auto;
  display: block;
  object-fit: contain;
}

/* ===== TABLET ===== */
@media (max-width: 991.98px) {
  .hero-intro {
    padding: 120px 0 50px;
  }

  .hero-carousel,
  .hero-row {
    min-height: auto;
  }

  .carousel-slide {
    padding: 20px 0;
  }

  .hero-text h2 {
    font-size: 38px;
  }

  .hero-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }
}



/* ===== MOBILE PEQUEÑO ===== */
@media (max-width: 480px) {

  .hero-carousel,
  .carousel-slide,
  .hero-row {
    min-height: 520px;
  }

  .hero-text h2 {
    font-size: 26px;
  }

  .hero-image img {
    max-height: 420px;
  }

  .btn-get-started {
    padding: 10px 24px;
    font-size: 14px;
  }
}


.btn-get-started {
  position: relative;
  display: inline-block;
  padding: 12px 32px;
  border-radius: 50px;
  background: #3291cf;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  z-index: 1;

  /* Animaciones combinadas */
  animation: pulseButton 2.5s infinite, glowButton 2.5s infinite alternate;
}

/* ===== PULSO ===== */
@keyframes pulseButton {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

/* ===== BRILLO ===== */
@keyframes glowButton {
  0% {
    box-shadow: 0 0 0px rgba(3, 169, 244, 0.4);
  }

  100% {
    box-shadow: 0 0 18px rgba(3, 169, 244, 0.9);
  }
}

/* ===== ONDA EXTERNA ===== */
.btn-get-started::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50px;
  background: rgba(3, 169, 244, 0.4);
  z-index: -1;
  animation: pulseWave 2.5s infinite;
}

@keyframes pulseWave {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }

  70% {
    transform: scale(1.5);
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

/* Hover elegante */
.btn-get-started:hover {
  transform: translateY(-3px);
}



.hero-button {
  display: none;
}

.hero-btn-mobile {
  display: none;
}

.hero-intro::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 160px;

  background: linear-gradient(to bottom,
      rgba(4, 16, 36, 0) 0%,
      rgba(4, 16, 36, 0.3) 40%,
      rgba(4, 16, 36, 0.8) 75%,
      rgba(4, 16, 36, 1) 100%);

  pointer-events: none;
  z-index: 2;
}



.team-carousel .item {
  padding: 10px;
}

.team-carousel .member {
  margin-bottom: 0;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 24px rgba(68, 88, 144, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-carousel .member:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(68, 88, 144, 0.18);
}

.team-carousel .member img {
  display: block;
  width: 100%;
  border-radius: 20px;
}

.team-carousel .member .member-info {
  border-radius: 0 0 20px 20px;
}

/* Flechas del carrusel equipo */
.team-carousel .owl-nav button.owl-prev,
.team-carousel .owl-nav button.owl-next {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #07579a !important;
  color: #fff !important;
  line-height: 36px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(68, 88, 144, 0.2);
  transition: all 0.3s ease;
}

.team-carousel .owl-nav button.owl-prev:hover,
.team-carousel .owl-nav button.owl-next:hover {
  background: #0a98c0 !important;
  box-shadow: 0 10px 22px rgba(50, 145, 207, 0.28);
}

.team-carousel .owl-nav button.owl-prev {
  left: -10px;
}

.team-carousel .owl-nav button.owl-next {
  right: -10px;
}

.team-carousel .owl-nav i {
  font-size: 14px;
}

.team-carousel .owl-dots {
  margin-top: 14px;
  text-align: center;
}

.team-carousel .owl-dot span {
  width: 10px;
  height: 10px;
  background: #ddd;
  display: inline-block;
  border-radius: 50%;
  margin: 0 4px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.team-carousel .owl-dot.active span {
  background: #07579a;
  transform: scale(1.15);
}

@media (max-width: 576px) {
  .team-carousel .owl-nav button.owl-prev {
    left: 0;
  }

  .team-carousel .owl-nav button.owl-next {
    right: 0;
  }

  .team-carousel .member {
    border-radius: 18px;
  }

  .team-carousel .member img {
    border-radius: 18px;
  }

  .team-carousel .member .member-info {
    border-radius: 0 0 18px 18px;
  }
}