/*** Spinner Start ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-out, visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity 0.8s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}
/*** Spinner End ***/


/*** Button Start ***/
.btn {
  font-weight: 600;
  transition: 0.5s;
}

.btn-square { width: 38px; height: 38px; }
.btn-sm-square { width: 32px; height: 32px; }
.btn-md-square { width: 46px; height: 46px; }
.btn-lg-square { width: 58px; height: 58px; }

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
}

.back-to-top {
  position: fixed;
  width: 50px;
  height: 50px;
  right: 30px;
  bottom: 30px;
  z-index: 99;
}
/*** Button End ***/


/*** Topbar Start ***/
.topbar .top-info {
  letter-spacing: 1px;
}

.topbar .top-link {
  display: flex;
  align-items: center;
  justify-content: center;
}

.topbar .top-link a {
  margin-right: 10px;
}

#note {
  width: 500px;
  overflow: hidden;
}

#note small {
  position: relative;
  display: inline-block;
  animation: mymove 10s linear infinite; /* FIX: antes "all" inválido */
}

@keyframes mymove {
  from { left: -100%; }
  to { left: 100%; }
}
/*** Topbar End ***/


/*** Navbar Start ***/
.navbar .navbar-nav {
  padding: 14px 0;
}

.navbar .navbar-nav .nav-link {
  padding: 9px 14px;
  color: var(--bs-white);
  font-size: 18px;
  outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  color: var(--bs-indigo) !important;
}

.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "font awesome 5 free";
  font-weight: 900;
  vertical-align: middle;
  margin-left: 9px;
}

@media (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
    display: block;
    visibility: hidden;
    top: 100%;
    transform: rotateX(-75deg);
    transform-origin: 0% 0%;
    transition: 0.5s;
    opacity: 0;
  }
}

.navbar .nav-item:hover .dropdown-menu {
  transform: rotateX(0deg);
  visibility: visible;
  transition: 0.5s;
  opacity: 1;
}
/*** Navbar End ***/


/*** Carousel Start ***/
.carousel-item { position: relative; }

.carousel-item::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.6);
}

.carousel-caption {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.carousel-item p {
  max-width: 700px;
  margin: 0 auto 35px auto;
}

.carousel-control-prev {
  width: 90px;
  height: 60px;
  position: absolute;
  top: 50%;
  left: 0;
  background: var(--bs-azulmarino);
  border-radius: 0 50px 50px 0;
  opacity: 1;
}

.carousel-control-prev:hover {
  background: var(--bs-indigo);
  transition: 0.8s;
}

.carousel-control-next {
  width: 90px;
  height: 60px;
  position: absolute;
  top: 50%;
  right: 0;
  background: var(--bs-azulmarino);
  border-radius: 50px 0 0 50px;
  opacity: 1;
}

.carousel-control-next:hover {
  background: var(--bs-indigo);
  transition: 0.8s;
}

.carousel-caption .carousel-content a button.carousel-content-btn1 {
  background: var(--bs-azulmarino);
  color: var(--bs-light);
  opacity: 1;
  border: 0;
  border-radius: 20px;
}

.carousel-caption .carousel-content a button.carousel-content-btn1:hover {
  background: var(--bs-indigo);
  color: #ffffff;
  border: 0;
  opacity: 1;
  transition: 1s;
  border-radius: 20px;
}

.carousel-caption .carousel-content a button.carousel-content-btn2 {
  background: var(--bs-indigo);
  color: var(--bs-white);
  opacity: 1;
  border: 0;
  border-radius: 20px;
}

.carousel-caption .carousel-content a button.carousel-content-btn2:hover {
  background: var(--bs-azulmarino);
  color: var(--bs-light);
  border: 0;
  opacity: 1;
  transition: 1s;
  border-radius: 20px;
}

#carouselId .carousel-indicators li {
  width: 30px;
  height: 10px;
  background: var(--bs-primary);
  margin: 10px;
  border-radius: 30px;
  opacity: 1;
}

#carouselId .carousel-indicators li:hover {
  background: var(--bs-secondary);
  opacity: 1;
}

@media (max-width: 992px) {
  .carousel-item { min-height: 500px; }
  .carousel-item img { min-height: 500px; object-fit: cover; }
  .carousel-item h1 { font-size: 40px !important; }
  .carousel-item p { font-size: 16px !important; }
}

@media (max-width: 768px) {
  .carousel-item { min-height: 400px; }
  .carousel-item img { min-height: 400px; object-fit: cover; }
  .carousel-item h1 { font-size: 28px !important; }
  .carousel-item p { font-size: 14px !important; }
}

.page-header {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url(../img/carousel-1.jpg) center center no-repeat;
  background-size: cover;
}

.page-header .breadcrumb-item + .breadcrumb-item::before { color: var(--bs-white); }
.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
  font-size: 18px;
  color: var(--bs-white);
}
/*** Carousel End ***/


/*** Services Start ***/
.services .services-item {
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.2);
  width: 100%;
  height: 100%;
  border-radius: 10px;
  padding: 10px 0;
  position: relative;
}

/* FIX: selector duplicado -> solo uno */
.services-content::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 0;
  top: 0;
  left: 0;
  border-radius: 10px;
  background: rgba(69, 204, 253, 0.8);
  transition: 0.5s;
}

.services-item:hover .services-content::after {
  height: 100%;
  opacity: 1;
  transition: 0.5s;
}

.services-item:hover .services-content-icon {
  position: relative;
  z-index: 2;
}

.services-item .services-content-icon i,
.services-item .services-content-icon p {
  transition: 0.5s;
}

.services-item:hover .services-content-icon i {
  color: var(--bs-indigoex) !important;
}

.services-item:hover .services-content-icon p {
  color: var(--bs-white);
}
/*** Services End ***/


/*** Project Start ***/
.project-img {
  position: relative;
  padding: 15px;
}

.project-img::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  top: 0;
  left: 0;
  background: var(--bs-indigo);
  border-radius: 10px;
  opacity: 1;
  z-index: -1;
  transition: 0.5s;
}

.project-img::after {
  content: "";
  width: 150px;
  height: 150px;
  position: absolute;
  right: 0;
  bottom: 0;
  background: var(--bs-azulmarino);
  border-radius: 10px;
  opacity: 1;
  z-index: -1;
  transition: 0.5s;
}

.project-content {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
}

.project-content a {
  display: inline-block;
  padding: 20px 25px;
  background: var(--bs-primary);
  border-radius: 10px;
}

.project-item:hover .project-content {
  opacity: 1;
  transition: 0.5s;
}

.project-item:hover .project-img::before,
.project-item:hover .project-img::after {
  opacity: 0;
}
/*** Project End ***/


/*** Blog Start ***/
.blog-item .blog-btn { z-index: 2; }

.blog-btn .blog-btn-icon {
  height: 50px;
  position: relative;
  overflow: hidden;
}

.blog-btn-icon .blog-icon-2 {
  display: flex;
  position: absolute;
  top: 6px;
  left: -140px;
}

.blog-btn-icon:hover .blog-icon-2 {
  transition: 1s;
  left: 5px;
  top: 6px;
  padding-bottom: 5px;
}

.blog-icon-1 { position: relative; top: -4px; }
.blog-btn-icon:hover .blog-icon-1 {
  top: 0;
  right: -140px;
  transition: 1s;
}
/*** Blog End ***/


/*** Team Start ***/
.team-item {
  border-top: 30px solid var(--bs-azulmarino) !important;
  background: rgba(239, 239, 241, 0.8);
}

.team-content::before {
  height: 200px;
  display: block;
  content: "";
  position: relative;
  top: -101px;
  background: var(--bs-azulmarino);
  clip-path: polygon(50% 50%, 100% 50%, 50% 100%, 0% 50%);
  padding: 60px;
  opacity: 1;
}

.team-img-icon {
  position: relative;
  margin-top: -200px;
  padding: 30px;
  padding-bottom: 0;
}

.team-img { border: 15px solid var(--bs-white); }

.team-img img {
  border: 10px solid var(--bs-indigo);
  transition: 0.5s;
}

.team-item:hover h4 {
  color: var(--bs-indigo);
  transition: 0.5s;
}

.team-item:hover .team-img img {
  transform: scale(1.05);
  border: 10px solid var(--bs-azulmarino);
}

.team-carousel .owl-stage {
  position: relative;
  width: 100%;
  height: 100%;
}

.team-carousel .owl-nav {
  position: absolute;
  top: -100px;
  right: 50px;
  display: flex;
}

.team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next {
  width: 56px;
  height: 56px;
  border-radius: 56px;
  margin-left: 15px;
  background: var(--bs-indigo);
  color: var(--bs-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.5s;
}

.team-carousel .owl-nav .owl-prev:hover,
.team-carousel .owl-nav .owl-next:hover {
  background: var(--bs-primary);
  color: var(--bs-white);
}

@media (max-width: 992px) {
  .team-carousel { margin-top: 3rem; }
  .team-carousel .owl-nav {
    top: -85px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    margin-left: -15px;
  }
}
/*** Team End ***/


/*** Testimonial Start ***/
.testimonial-item { background: #e3f0eb; }

.testimonial-carousel .owl-dots {
  margin-top: 15px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.testimonial-carousel .owl-dot {
  position: relative;
  display: inline-block;
  margin: 0 5px;
  width: 15px;
  height: 15px;
  background: #c1dad0;
  border-radius: 15px;
  transition: 0.5s;
}

.testimonial-carousel .owl-dot.active {
  width: 30px;
  background: var(--bs-primary);
}

.testimonial-carousel .owl-item.center {
  position: relative;
  z-index: 1;
}

.testimonial-carousel .owl-item .testimonial-item {
  transition: 0.5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
  background: #ffffff !important;
  box-shadow: 0 0 30px #dddddd;
}
/*** Testimonial End ***/


/*** Contact Start ***/
.contact-detail::before {
  position: absolute;
  content: "";
  height: 50%;
  width: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(rgb(210, 243, 235, 1), rgba(230, 250, 245, 0.3)),
    url(../img/background.jpg) center center no-repeat;
  background-size: cover;
  border-radius: 10px;
  z-index: -1;
}

.contact-map,
.contact-form {
  background-color: rgb(9, 21, 73);
  background: linear-gradient(270deg, #2e0249 0%, #001f3f 33%, #2e0249 66%, #001f3f 100%);
  background-size: 600% 600%;
  animation: gradientShift 12s ease infinite;
  border-radius: 10px;
  color: #fff;
}
/*** Contact End ***/


/*** Footer Start ***/
.footer .short-link a,
.footer .help-link a,
.footer .contact-link a {
  position: relative;
  transition: 
    color .25s ease,
    transform .25s ease;
}

.footer .short-link a:hover,
.footer .help-link a:hover,
.footer .contact-link a:hover {
  color: var(--bs-indigo);
  transform: translateX(6px);
}

.footer .hightech-link a {
  transition: 
    background .3s ease,
    transform .3s ease,
    box-shadow .3s ease;
}

.footer .hightech-link a:hover {
  background: var(--bs-indigo);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 25px rgba(13,110,253,.45);
}
.footer hr{
  opacity: .25;
}

.footer .row:last-child{
  align-items: center;
}


/*** Footer End ***/


/*** LOGIN ***/
.btn-login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 16px;
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  background: linear-gradient(270deg, #2e0249, #001f3f, #2e0249);
  background-size: 400% 400%;
  animation: gradientShift 8s ease infinite;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-login:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-login i { font-size: 1.2em; }
/*** LOGIN End ***/


/* ✅ UN SOLO KEYFRAMES (antes estaba duplicado) */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Respeta reduce motion */
@media (prefers-reduced-motion: reduce) {
  .contact-map, .contact-form, .btn-login { animation: none; }
}

html { scroll-behavior: smooth; }


/*** PRELOADER ***/
.preloader-internet {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #001f3f;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.7s ease-in-out, visibility 0.7s ease-in-out;
}

.preloader-internet--hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-internet__wave {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #2e0249;
  animation: expand-wave 2s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
  box-shadow: 0 0 20px rgba(46, 2, 73, 0.7);
  margin-bottom: 20px;
}

.preloader-internet__wave::before,
.preloader-internet__wave::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #001f3f;
  animation: expand-wave 2s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
}

.preloader-internet__wave::before {
  animation-delay: 0.3s;
  background-color: rgba(0, 31, 63, 0.7);
}

.preloader-internet__wave::after {
  animation-delay: 0.6s;
  background-color: rgba(0, 31, 63, 0.4);
}

.preloader-internet__text {
  font-family: "Montserrat", sans-serif;
  font-size: 2.2em;
  font-weight: 700;
  color: #e0e0e0;
  letter-spacing: 3px;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  animation: fade-in-out 3s ease-in-out infinite;
}

@keyframes expand-wave {
  0% { transform: scale(0); opacity: 1; }
  70% { transform: scale(1.5); opacity: 0.5; }
  100% { transform: scale(2.5); opacity: 0; }
}

@keyframes fade-in-out {
  0%, 100% { opacity: 0.5; transform: translateY(5px); }
  50% { opacity: 1; transform: translateY(-5px); }
}
/*** preloader End ***/


::selection { background-color: #4a0c63; color: #ffffff; }
::-moz-selection { background-color: #521669; color: #ffffff; }


/* ✅ HEADER: deja solo FIXED (antes estaba duplicado sticky+fixed) */
#header-fixed{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
}

/* Ajuste para que no tape el contenido */
body{
  padding-top: 120px; /* ajusta a tu header real */
}

/* Sombra y transición */
#header-fixed .bg-primary { transition: all .25s ease; }
#header-fixed.is-scrolled .bg-primary { box-shadow: 0 12px 30px rgba(0,0,0,.25); }

/* Compactar */
#header-fixed .navbar { min-height: 64px; }
#header-fixed .navbar-brand h2 { font-size: 1.25rem; line-height: 1; }

#header-fixed.is-scrolled .navbar { min-height: 56px; }
#header-fixed.is-scrolled .navbar-brand h2 { font-size: 1.15rem; }

/* Menú móvil animado */
@media (max-width: 991.98px) {
  #navbarCollapse {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(-6px);
    transition: max-height .3s ease, opacity .2s ease, transform .2s ease;
  }

  #navbarCollapse.show {
    max-height: 520px;
    opacity: 1;
    transform: translateY(0);
  }

  #navbarCollapse .navbar-nav { padding: 12px 0; }
}


/* ===== CARD SERVICIOS EFECTO IMPACTO ===== */
.service-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,110,253,.35), rgba(0,0,0,0));
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 60px rgba(13,110,253,.35);
}

.service-card:hover::before { opacity: 1; }

.service-icon i { transition: transform .35s ease; }

@keyframes pulseSoft {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.service-card:hover .service-icon i {
  transform: rotate(-8deg) scale(1.15);
  animation: pulseSoft 0.9s ease-in-out infinite;
}

.service-card .btn { transition: all .3s ease; }

.service-card:hover .btn {
  background-color: #0d6efd;
  box-shadow: 0 10px 25px rgba(13,110,253,.45);
  transform: translateY(-2px);
}


/* ===== ABOUT EFECTO PRO ===== */
.about-images { min-height: 380px; }

.about-img-main {
  box-shadow: 0 18px 45px rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.08);
}

.about-img-float {
  position: absolute;
  width: 75%;
  top: 22%;
  left: 25%;
  box-shadow: 0 18px 45px rgba(0,0,0,.18);
  border-radius: 18px;
}

.about-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  background: rgba(13,110,253,.92);
  color: #fff;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: .85rem;
  box-shadow: 0 12px 30px rgba(13,110,253,.35);
}

.about-card {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 12px 35px rgba(0,0,0,.08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.about-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0,0,0,.14);
}

.about-features li { margin-bottom: 10px; color: #444; }


/* Botón impacto */
.btn-impact{
  position: relative;
  overflow: hidden;
  transition: all .3s ease;
}

.btn-impact:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(13,110,253,.45);
}


/* ===== PROYECTOS / TRABAJOS ===== */
.project-card{
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0,0,0,.15);
  transition: transform .35s ease, box-shadow .35s ease;
}

.project-card img{ transition: transform .6s ease; }

.project-card:hover{
  transform: translateY(-10px);
  box-shadow: 0 28px 60px rgba(0,0,0,.25);
}

.project-card:hover img{ transform: scale(1.08); }

.project-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.75) 40%,
    rgba(0,0,0,.25) 70%,
    rgba(0,0,0,.1)
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  color: #fff;
  opacity: 0;
  transition: opacity .35s ease;
}

.project-card:hover .project-overlay{ opacity: 1; }

.project-title{
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.project-text{
  font-size: .95rem;
  line-height: 1.5;
  opacity: .9;
}

.project-badge{
  align-self: flex-start;
  background: #0d6efd;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: .75rem;
  margin-bottom: auto;
}

.back-to-top{
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
  transform: translateY(10px);
}

.back-to-top.show{
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.text-justify-custom{ text-align: justify; }
/* ===== TEAM CARD PRO (más pequeño y con estilo) ===== */
.team-carousel .team-item{
  padding: 10px; /* reduce “aire” del item */
}

.team-card{
  border-radius: 16px !important;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 10px 26px rgba(0,0,0,.10);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}

/* Hace el “cuadro” más compacto */
.team-card .team-content::before{
  height: 110px;              /* antes era 200px */
  top: -65px;                 /* ajusta el recorte */
  padding: 40px;              /* menos grande */
}

/* Ajusta el bloque que empuja la foto */
.team-card .team-img-icon{
  margin-top: -120px;         /* antes -200px */
  padding: 18px;              /* más compacto */
  padding-bottom: 0;
}

/* Avatar más pequeño */
.team-avatar{
  width: 110px;
  height: 110px;
  margin: 0 auto;
  border-radius: 999px;
  border: 10px solid #fff;    /* aro blanco */
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
  overflow: hidden;
}

.team-avatar img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 999px;
  border: 6px solid var(--bs-indigo);
  transition: transform .35s ease, border-color .35s ease;
}

/* Tipos más “finos” */
.team-card h5{
  font-size: 1rem;
  line-height: 1.2;
}
.team-role{
  font-size: .9rem;
  color: #6c757d;
}

/* Hover pro */
.team-card:hover{
  transform: translateY(-8px);
  box-shadow: 0 18px 46px rgba(0,0,0,.18);
}
.team-card:hover .team-avatar img{
  transform: scale(1.06);
  border-color: var(--bs-azulmarino);
}

/* En pantallas pequeñas, más compacto aún */
@media (max-width: 576px){
  .team-avatar{ width: 96px; height: 96px; }
  .team-card .team-img-icon{ margin-top: -110px; }
}

/* ===== FAQ PRO ===== */
.faq-section .faq-accordion{
  display: grid;
  gap: 14px;
}

.faq-item{
  border: 1px solid rgba(0,0,0,.06) !important;
  border-radius: 16px !important;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.faq-item:hover{
  transform: translateY(-4px);
  box-shadow: 0 16px 38px rgba(0,0,0,.12);
}

.faq-btn{
  padding: 18px 18px !important;
  font-weight: 700;
  font-size: 1.05rem;
  background: #fff !important;
}

.faq-btn:not(.collapsed){
  background: linear-gradient(135deg, rgba(13,110,253,.10), rgba(0,0,0,0)) !important;
  color: #0d6efd;
}

.faq-btn:focus{
  box-shadow: none !important;
}

.faq-icon{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(13,110,253,.12);
  color: #0d6efd;
}

.faq-body{
  padding: 16px 18px 20px 18px !important;
  color: #4b5563;
  line-height: 1.7;
}

/* Animación suave del icono al abrir */
.faq-btn:not(.collapsed) .faq-icon{
  transform: rotate(-6deg) scale(1.05);
  transition: transform .25s ease;
}

/* Ajuste en móvil */
@media (max-width: 576px){
  .faq-btn{ font-size: 1rem; padding: 16px !important; }
  .faq-icon{ width: 34px; height: 34px; border-radius: 10px; }
}

.text-justify-custom{
  text-align: justify;
  text-justify: inter-word;
}

/* Ajuste Mapa */
.contact-map-box {
  height: 100%;
  min-height: 520px;
  background: linear-gradient(135deg, #0a1a3a, #2b0a4f);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0,0,0,.25);
}

.contact-map-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(1.1) contrast(1.05);
}

.preloader-internet{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #041a33;
  transition: opacity .35s ease, visibility .35s ease;
}
.preloader-internet--hidden{
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
