/* Responsive typography for footer directory links */
.footer-dir-text {
  /* Fluid scale: min 0.95rem, prefers ~2.4vw, max 2.2rem (prev inline was 3rem) */
  font-size: clamp(0.95rem, 2.4vw, 2.2rem);
  line-height: 1.1;
  display: inline-block;
}

/* Fine-tune on very small devices */
@media (max-width: 480px) {
  .footer-dir-text {
    font-size: clamp(0.9rem, 3.8vw, 1.6rem);
  }
}

/* Ensure container keeps centering without inline styles */
.footer-dir-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.6rem;
  /* espacio consistente entre icono y texto */
}

/* Optional hover emphasis without layout shift */
.footer-dir-link:hover .footer-dir-text {
  text-decoration: underline;
}

/* Accessibility: reduce motion users keep consistent size if they prefer */
@media (prefers-reduced-motion: reduce) {
  .footer-dir-text {
    transition: none;
  }
}

/* Responsive overrides para footer (directorio y contactos) */
@media (max-width: 991.98px) {
  /* Escalonar tipografía del directorio antes de móvil extremo */
  .footer-dir-text {
    font-size: 1.4rem;
    line-height: 1.15;
  }
}

@media (max-width: 767.98px) {
  .footer-dir-link {
    display: block;
  }

  .footer-dir-mark {
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  .footer-dir-text {
    font-size: 1.05rem !important;
    padding-top: 0.2rem !important;
    letter-spacing: 0.5px;
  }

  .footer-nav__item + .footer-nav__item {
    margin-top: 0.4rem;
  }

  /* Permitir que el texto largo (preguntas frecuentes) se parta */
  .footer-dir-text {
    white-space: normal;
    word-break: break-word;
  }

  /* Enlaces de contacto (correo y teléfono) más pequeños y adaptables */
  .mxd-point-subtitle a {
    font-size: 2rem !important;
    word-break: break-all;
  }

  .mxd-point-subtitle svg {
    flex-shrink: 0;
  }

  .mxd-point-subtitle {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
  }
}

/* Ajustes adicionales */

/* Cambio de logo dependiendo del color del tema */

/* Por defecto, ocultamos ambos para evitar parpadeos */
.mxd-logo img {
  display: none;
  height: auto;
  max-height: 60px;
}

/* Modo claro → muestra el logo claro */
html[color-scheme="light"] .mxd-logo .logo-dark {
  display: inline-block;
}

/* Modo oscuro → muestra el logo oscuro */
html[color-scheme="dark"] .mxd-logo .logo-light {
  display: inline-block;
}

/* Compatibilidad con el esquema del sistema (por si no hay atributo manual) */
@media (prefers-color-scheme: light) {
  :root:not([color-scheme]) .mxd-logo .logo-light {
    display: inline-block;
  }
}

@media (prefers-color-scheme: dark) {
  :root:not([color-scheme]) .mxd-logo .logo-dark {
    display: inline-block;
  }
}

/* Estilos del menú fijo */

/* Todo este CSS afecta solo al menú fijo dentro del header */

/* ===== Estilos del menú fijo ===== */
header .main-menu--inline {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

header .main-menu--inline .main-menu__list {
  display: flex;
  gap: 3rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ===== Tamaño de texto del menú fijo ===== */
header .main-menu--inline .btn-caption {
  font-size: clamp(2.3rem, 1vw + 0.6rem, 1rem);
  line-height: 2.4;
  white-space: nowrap; /* evita que se corte el texto */
  display: inline-block;
}

/* ===== Tamaño de texto del submenú ===== */
header .main-menu--inline .submenu__item a {
  font-size: clamp(1.8rem, 0.8vw, 0.95rem);
  line-height: 1.3;
  white-space: nowrap;
}

/* ===== Submenú con blur elegante ===== */
header .main-menu--inline .submenu {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

header .main-menu--inline {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

header .main-menu--inline .main-menu__list {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

header .main-menu--inline .main-menu__item {
  position: relative;
}

header .main-menu--inline .main-menu__link .btn-caption {
  transition: color 0.2s ease;
}

/* Submenús */
header .main-menu--inline .submenu {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  list-style: none;
  padding: 1rem;
  border-radius: 0.75rem;
  z-index: 50;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    opacity 0.3s ease,
    transform 0.2s ease;
}

header .main-menu--inline .main-menu__item:hover > .submenu {
  display: block;
  animation: fadeIn 0.25s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Colores según tema */
html[color-scheme="light"]
  header
  .main-menu--inline
  .main-menu__link
  .btn-caption,
html[color-scheme="light"] header .main-menu--inline .submenu__item a {
  color: #111;
}

html[color-scheme="light"] header .main-menu--inline .submenu {
  background: rgba(255, 255, 255, 0.8);
}

html[color-scheme="dark"]
  header
  .main-menu--inline
  .main-menu__link
  .btn-caption,
html[color-scheme="dark"] header .main-menu--inline .submenu__item a {
  color: #fafafa;
}

html[color-scheme="dark"] header .main-menu--inline .submenu {
  background: rgba(20, 20, 20, 0.6);
}

header .main-menu--inline .submenu__item a:hover,
header .main-menu--inline .main-menu__link:hover .btn-caption {
  opacity: 0.7;
}

/* Ocultar menú fijo en móvil */
@media (max-width: 1520px) {
  header .main-menu--inline {
    display: none !important;
  }
}

/* Botón de cotización (general) */
.btn-cotizacion {
  background-color: #512aec !important;
  color: #fff !important;
  border: none !important;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.btn-cotizacion .btn-caption,
.btn-cotizacion i {
  color: #fff !important;
}

/* Botón de cotización (inicio) */
.btn-cotizacion-index {
  background-color: #95cfbe !important;
  color: #2f4a6d !important;
  border: none !important;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

/* Hover */
.btn-cotizacion-index:hover {
  background-color: #7cc6b0 !important;
  color: #2f4a6d !important;
}

/* Hover */
.btn-cotizacion:hover {
  background-color: #664ec7 !important;
  color: #fff !important;
}

/* Barra lateral fija de redes sociales */
.social-sidebar {
  position: fixed;
  left: 20px;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  z-index: 1000;
}

.social-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.social-sidebar a {
  color: #f0f0f0;
  font-size: 1.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition:
    color 0.3s ease,
    transform 0.3s ease;
  text-decoration: none;
}

.social-sidebar a i {
  display: inline-block;
  transition:
    transform 0.3s ease,
    color 0.3s ease;
}

/* Hover sobre ícono */
.social-sidebar a:hover {
  color: #7c6bff;
}

.social-sidebar a:hover i {
  transform: scale(1.5);
}

/* ===== Tooltip sin fondo ===== */
.social-label {
  position: absolute;
  left: 2rem;
  opacity: 0;
  transform: translateX(10px);
  color: #f0f0f0;
  font-size: 1.2rem;
  white-space: nowrap;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    color 0.3s ease;
  pointer-events: none;
}

/* Mostrar texto al hacer hover */
.social-sidebar a:hover .social-label {
  opacity: 1;
  transform: translateX(25px);
}

/* Línea divisoria */
.social-sidebar .divider {
  width: 1px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.4);
  margin: 0.5rem 0;
}

/* Texto vertical */
.social-sidebar .follow-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: #f0f0f0;
  font-size: 1.3rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.8;
}

/* Adaptación para modo claro */
html[color-scheme="light"] .social-sidebar a,
html[color-scheme="light"] .social-sidebar .follow-text {
  color: #111;
}

html[color-scheme="light"] .social-sidebar .divider {
  background-color: rgba(0, 0, 0, 0.3);
}

html[color-scheme="light"] .social-sidebar a:hover .social-label {
  color: #111;
}

/* Ajuste en pantallas pequeñas */
@media (max-width: 768px) {
  .social-sidebar {
    display: none;
  }
}

/* Tarjeta emergente con imagen e información */
.cert-tooltip {
  position: absolute;
  background: rgba(15, 15, 15, 0.85);
  color: #fff;
  border-radius: 0.8rem;
  padding: 1rem 1.2rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  pointer-events: none;
  opacity: 0;
  transform: translateY(-10px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
  z-index: 1000;
  max-width: 400px;
}

.cert-tooltip.visible {
  opacity: 1;
  transform: translateY(0);
}

.cert-tooltip img {
  width: 100%;
  border-radius: 0.7rem;
  margin-bottom: 0.8rem;
  display: block;
}

.cert-tooltip p strong {
  font-weight: 600;
}

.cert-tooltip h4 {
  font-size: 2rem;
  color: #7c6bff;
  margin: 0 0 0.4rem 0;
}

.cert-tooltip p {
  font-size: 1.3rem;
  line-height: 1.4;
  text-align: justify;
  margin: 0;
}

/* Ajuste para móviles */
@media (max-width: 768px) {
  .cert-tooltip {
    max-width: 280px; /* más estrecha en móviles */
    font-size: 1rem; /* fuente más pequeña */
    padding: 0.8rem 1rem;
  }

  .cert-tooltip h4 {
    font-size: 1.4rem;
  }

  .cert-tooltip p {
    font-size: 0.9rem;
  }
}

.cert-tooltip {
  position: absolute;
  background: rgba(15, 15, 15, 0.85);
  color: #ddd;
  border-radius: 0.8rem;
  padding: 1rem 1.2rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.25s ease,
    /* desvanecido */ transform 0.25s ease,
    /* movimiento vertical */ left 0.2s ease,
    /* movimiento horizontal */ top 0.2s ease;
  z-index: 1000;
  width: auto;
}

/* Modo claro */
html[color-scheme="light"] .cert-tooltip {
  background: rgba(255, 255, 255, 0.9);
  color: #111;
}

html[color-scheme="light"] .cert-tooltip h4 {
  color: #5d47d1;
}

.titulo-moviles {
  font-size: clamp(4rem, 8vw, 8rem);
  line-height: 1.1;
}

/* Cursor */

.cursor-dot,
.cursor-outline {
  position: fixed;
  pointer-events: none;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  will-change: left, top; /* mejora rendimiento animación */
}

/* punto pequeño */
.cursor-dot {
  width: 8px;
  height: 8px;
  /* default to black for light theme (initial state) */
  background: #000;
}

/* círculo grande (contorno) */
.cursor-outline {
  width: 30px;
  height: 30px;
  /* default to black border for light theme */
  border: 2px solid rgba(0, 0, 0, 1);
}

/* theme-specific color overrides */
html[color-scheme="dark"] .cursor-dot {
  background: #fff;
}
html[color-scheme="dark"] .cursor-outline {
  border-color: rgba(255, 255, 255, 1);
}
html[color-scheme="light"] .cursor-dot {
  background: #000;
}
html[color-scheme="light"] .cursor-outline {
  border-color: rgba(0, 0, 0, 1);
}

/* Blur en tarjetas apilables */

.mxd-projects-stack__title {
  position: relative;
  z-index: 1;
  padding: 2rem;
}

.mxd-projects-stack__title::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(6px);
  border-radius: 10px;
  z-index: -1;
}

@media (max-width: 417px) {
  .permanent-light.custom-title {
    font-size: 3.5rem !important;
  }
}

/* Sección de socios */

@media (min-width: 900px) {
  .socios-desktop {
    padding-left: 10rem !important;
  }
}

@media only screen and (max-width: 600px) {
  .col-6.col-md-6.col-xl-4 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

.mxd-section-title__hrdescr {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.mxd-blog-preview__data.inicio {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Mensaje del formulario de contacto */

.success-msg {
  display: none;
  margin-left: 2rem;
  color: #1d86a6;
  font-weight: 500;
  flex: 0 0 50%;
  max-width: 50%;
  text-wrap: pretty;
  text-align: justify;
}

.parrafo-contacto {
  max-width: 60%;
  text-align: justify;
}

@media (max-width: 768px) {
  .parrafo-contacto {
    max-width: 90%;
    text-align: justify;
  }
}

/* Ajustes para filosofía en móviles */
@media (max-width: 400px) {
  .certificaciones-clamp {
    font-size: clamp(4rem, 6vw, 4rem);
  }
  .title-clamp h1 {
    font-size: clamp(5.5rem, 8vw, 8rem);
  }
  .title-clamp h2 {
    font-size: clamp(4rem, 8vw, 8rem);
  }
  .title-clamp h3 {
    font-size: clamp(4rem, 8vw, 8rem);
  }
  .title-clamp-servicios {
    font-size: clamp(3rem, 8vw, 8rem);
  }
}

/* Imágenes de filosofía */

@media only screen and (max-width: 768px) {
  .mxd-pinned__img-mobile {
    height: 600px;
  }

  .mxd-pinned__img-mobile img {
    height: 46rem !important;
  }
}

/* Texto justificado para la sección de servicios */

.justify-class {
  text-align: justify;
}

.encabezados-pruebas {
  font-weight: bolder;
}

/* Texto descriptivo de los servicios para móviles */

@media only screen and (max-width: 400px) {
  .descripcion-width {
    width: 90%;
  }
}

@media only screen and (min-width: 401px) {
  .descripcion-width {
    width: 80%;
  }
}

/* Padding para Application Security Testing */

@media only screen and (min-width: 401px) {
  .mxd-container.grid-container.padding-ast {
    padding-left: 10% !important;
    padding-right: 10% !important;
  }
}

/* Video de fondo que cubre toda la pantalla */
.video-fondo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover; /* hace que el video se recorte y llene todo */
  object-position: center center; /* centra el encuadre */
  z-index: 0;
  transform: scale(1.3); /* leve zoom para eliminar microbordes negros */
  transition: transform 0.3s ease;
}

/* Capa oscura encima del video */
.overlay-video {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

/* Contenido encima */
.mxd-hero-08__wrap {
  position: relative;
  z-index: 2;
}

.mxd-hero-08 {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

/* Menú del inicio */

/* Tema claro para secciones con fondo oscuro o video */
.theme-light-text,
.theme-light-text h1,
.theme-light-text h2,
.theme-light-text h3,
.theme-light-text h4,
.theme-light-text h5,
.theme-light-text p,
.theme-light-text span,
.theme-light-text a,
.theme-light-text li,
.theme-light-text i {
  color: #ffffff !important;
  fill: #ffffff !important;
}

/* --- MENÚ PRINCIPAL --- */
.theme-light-text .main-menu__link,
.theme-light-text .main-menu__item a,
.theme-light-text .main-menu__link .btn-caption {
  color: #ffffff !important;
}

/* Submenús */
.theme-light-text .submenu__item a {
  color: #ffffff !important;
}

/* Ítems activos o al pasar el mouse */
.theme-light-text .main-menu__link:hover,
.theme-light-text .main-menu__item a:hover,
.theme-light-text .submenu__item a:hover {
  /* color: #00c2ff !important; */
}

/* Íconos dentro del menú */
.theme-light-text .main-menu__item i,
.theme-light-text .main-menu__toggle i {
  color: #ffffff !important;
  fill: #ffffff !important;
}

/* Botones del menú (si hay alguno especial como “Solicitar cotización”) */
.theme-light-text .btn.btn-anim.btn-accent {
  color: #fff !important;
  border-color: #fff !important;
}

/* Si el botón es sólido (fondo morado, etc.) y quieres que conserve contraste */
.theme-light-text .btn.btn-accent.solid {
  background-color: #6c2bff;
  color: #fff;
}

@media (max-width: 768px) {
  .video-fondo {
    object-position: 25% 20%; /* sube el encuadre hacia arriba */
    transform: scale(1.05); /* opcional: zoom leve para ajustar proporción */
  }
}

.filosofia-fondo {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
    url("../img/filosofia/filosofia-cover.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
}

.servicios-fondo {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
    url("../img/servicios/servicios-cover.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
}

.socios-fondo {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
    url("../img/socios/socios-cover.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
}

.contacto-fondo {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
    url("../img/contacto/contacto-cover.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
}

.recursos-fondo {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
    url("../img/recursos/recursos-cover.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
}

.pruebas-de-penetracion-fondo {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
    url("../img/servicios/pruebas-de-penetracion.avif");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
}

.coordinacion-de-ciberseguridad-fondo {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
    url("../img/servicios/coordinacion-de-ciberseguridad.avif");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
}

.dios-ciberseguridad-fondo {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
    url("../img/servicios/dios-ciberseguridad.avif");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
}

.application-security-testing-fondo {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
    url("../img/servicios/application-security-testing.avif");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
}

.devsecops-fondo {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
    url("../img/servicios/devsecops.avif");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
}

/* Links principales del menú */
.mxd-header.blue-menu .main-menu__link .btn-caption {
  color: #2f4a6d !important;
}

/* Hover */
.mxd-header.blue-menu .main-menu__link:hover .btn-caption {
  color: #1f3550 !important;
}

/* Submenú */
.mxd-header.blue-menu .submenu .submenu__item a {
  color: #2f4a6d !important;
}

/* Hover submenu */
.mxd-header.blue-menu .submenu .submenu__item a:hover {
  color: #1f3550 !important;
}

/* Botón de cotización (texto) */
.mxd-header.blue-menu .btn-cotizacion .btn-caption {
  color: #2f4a6d !important;
}

.mxd-header.blue-menu .btn-cotizacion:hover .btn-caption {
  color: #1f3550 !important;
}

.blue-menu h1,
span-contacto {
  color: #2f4a6d !important;
}

.blue-menu .h4-descriptivo {
  /*color: #2f4a6d !important;*/
  color: #FF0550 !important; /*color de texto debajo de palabra coeus*/
}

#mxd-page-content
  > div.mxd-section.home.blue-menu
  > div
  > div
  > div.mxd-hero-08__bottom
  > div.mxd-hero-08__data-wrap.hero-08-scale-out-scroll
  > div.mxd-hero-08__descr.loading__item
  > p {
  color: #2f4a6d !important;
}

.mxd-section.blue-menu .mxd-hero__mark .span-contacto {
  color: #2f4a6d !important;
}

/* Cambiar variables SOLO para este header */
.mxd-header.blue-menu {
  --t-bright: #2f4a6d;
  --base-tint: rgba(47, 74, 109, 0.15); /* hover suave */
}

/* Centrado vertical SOLO en este bloque */
.center-fix {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Centrado horizontal del texto */
.center-fix .mxd-section-title__hrtitle {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* Asegurar que el h2 ocupe todo el ancho */
.center-fix h2 {
  width: 100%;
  text-align: center;
}

.section-center-fix {
  min-height: 20vh;
  padding-bottom: 10vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.galeria-logos .logos-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 80px;
}

.galeria-logos img {
  width: 100%;
  max-width: 180px;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

/* Tablet */
@media (max-width: 768px) {
  .galeria-logos img {
    max-width: 140px;
  }
}

/* Móvil */
@media (max-width: 480px) {
  .galeria-logos img {
    max-width: 110px;
  }
}

@media (min-width: 300px) {
  .card-info-img {
    border-radius: 10px;
  }
}

@media (min-width: 1000px) {
  .cards-fix-img .mxd-services-cards-s__inner {
    position: relative;
    overflow: hidden; /* importante para recortar */
  }

  /* TU REGLA SE RESPETA */
  .card-info {
    display: inline-block;
    max-width: 50%;
    text-align: justify;
  }

  .card-wrapper {
    display: inline-block;
    max-width: 50%;
  }

  /* Imagen flotando a la derecha */
  .cards-fix-img .mxd-services-cards-s__image {
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    overflow: hidden;
  }

  .cards-fix-img .mxd-services-cards-s__image img {
    height: 100%;
    width: 120%;
    object-fit: cover;
    object-position: 30% center;
    border-radius: 10px;
  }
}

.img-seccion-1 {
  border-radius: 10px;
}

@media (min-width: 700px) {
  .protagonist {
    margin-left: 10rem;
    margin-right: 20rem;
  }
}

.protagonist-images {
  width: 90%;
  height: 100%;
  object-fit: contain;
  margin-top: 1.5rem;
  border-radius: 10px;
}

/* Hace que las dos columnas estén en el mismo renglón real */
.col-12.col-xl-6:first-child,
.col-12.col-xl-6:last-child {
  display: inline-block;
  vertical-align: top;
}

/* Texto angosto a la izquierda */
.parrafo-contacto {
  max-width: 90%;
  text-align: justify;
  margin-left: 2rem;
}

/* Imagen a la derecha */
.img-contacto {
  width: 100%;
  height: auto;
  border-radius: 50%;
  margin-top: 2rem;
}

@media (max-width: 1199px) {
  .parrafo-contacto {
    max-width: 85%;
    text-align: justify;
    margin-left: 2rem;
    padding-bottom: 5rem !important;
  }

  /* Imagen a la derecha */
  .img-contacto {
    width: 50%;
    height: auto;
    border-radius: 50%;
    margin-top: 0rem;
    margin: auto;
  }
}

@media (max-width: 500px) {
  .proximamente-index {
    /* padding: 0 10rem !important; */
  }
}

@media (max-width: 699px) {
  .proximamente-index {
    padding: 0 0rem !important;
  }
}

@media (min-width: 700px) {
  .proximamente-index {
    padding: 0 10rem !important;
  }
}

.proximamente-index-title {
  font-size: 6rem;
  line-height: 1.2;
}

/* Tablets */
@media (max-width: 1430px) {
  .proximamente-index-title {
    font-size: 5rem;
  }
}

/* Móviles */
@media (max-width: 1260px) {
  .proximamente-index-title {
    font-size: 4.5rem;
  }
}

@media (max-width: 1199px) {
  .proximamente-index-title {
    font-size: 4rem;
  }
}

@media (max-width: 1200px) {
  .mxd-section-title__hrdescr {
    padding-top: 3rem;
    display: flex;
    align-items: center;
    justify-content: left;
    height: 100%;
  }
}

@media (max-width: 450px) {
  .mxd-section.padding-pre-title h2 {
    padding-top: 4rem;
    padding-bottom: 3rem;
    font-size: 3.5rem;
    line-height: 1.2;
  }
}

@media (max-width: 480px) {
  .mxd-services-cards-s__item {
    padding: 0 !important;
  }
}

@media (min-width: 1200px) {
  .devsecops-image img {
    height: 400px;
  }
}

@media (min-width: 1200px) {
  .ast-headers {
    padding-left: 10rem;
  }
}

@media (max-width: 1200px) {
  .ast-info {
    padding-left: 10rem !important;
  }
}

@media (max-width: 880px) {
  .ast-info {
    padding-left: 7rem !important;
    padding-right: 7rem !important;
  }
}

@media (max-width: 600px) {
  .ast-info {
    padding-left: 5rem !important;
    padding-right: 5rem !important;
  }
}

@media (max-width: 450px) {
  .ast-info {
    padding-left: 4rem !important;
    padding-right: 4rem !important;
  }
}

@media (max-width: 400px) {
  .ast-info {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }
}

@media (min-width: 1200px) {
  .simulaciones-padding {
    padding-left: 10rem !important;
    padding-right: 10rem !important;
  }
}

@media (max-width: 900px) {
  .simulaciones-padding {
    padding-left: 8rem !important;
    padding-right: 8rem !important;
  }
}

@media (max-width: 600px) {
  .simulaciones-padding {
    padding-left: 7rem !important;
    padding-right: 7rem !important;
  }
}

@media (max-width: 500px) {
  .simulaciones-padding {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }
}

@media (min-width: 1000px) {
  .toma-de-decisiones-title {
    width: 50%!important;
  }

  .toma-de-decisiones-title h3 {
    font-size: 3.5rem!important;
  }
}

.img-equipo-container {
    height: 320px;
    overflow: hidden;
}

.img-equipo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 150%;
    display: block;
}

.clientes-section {
  max-width: 80%;
  margin: 0 auto;
  text-align: center;
  padding: 2rem 1rem;
}

.clientes-section h3 {
  margin-bottom: 1.5rem;
  font-weight: 600;
}

/* Contenedor de logos (Inicio) */

.clientes-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

/* Imágenes */
.clientes-logos img {
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.85;
}

.clientes-logos img:hover {
  transform: scale(1.05);
  opacity: 1;
}

/* Responsividad */

@media (max-width: 768px) {
  .clientes-section {
    max-width: 90%;
  }

  .clientes-logos {
    gap: 1.5rem;
  }

  .clientes-logos img {
    max-height: 40px;
  }
}

