/**
 * GDL Core — estilos exclusivos de widgets Elementor.
 * El diseño principal permanece en metrindust-theme.
 */

:root {
  --gdl-section-pad-top: clamp(40px, 5vw, 56px);
  --gdl-section-pad-bottom: clamp(48px, 6vw, 64px);
  --gdl-section-pad-cta: clamp(48px, 6vw, 72px);
}

/* Ritmo vertical unificado. Hero / CTA / banner / certs anidados se excluyen abajo. */
section.gdl-widget {
  padding-block: var(--gdl-section-pad-top) var(--gdl-section-pad-bottom);
}

section.gdl-widget.hero,
section.gdl-widget.page-hero,
section.gdl-widget.lab-cta,
section.gdl-widget.service-cta {
  padding-block: 0;
}

section.gdl-widget.page-cta {
  padding-block: var(--gdl-section-pad-cta);
}

section.gdl-widget.prod-banner {
  padding-block: var(--gdl-section-pad-top);
}

section.gdl-widget.blog-webinars {
  padding-block-start: 0;
}

section.gdl-widget.service-deliverables {
  padding-block-end: 0;
}

section.gdl-widget.about-home__certs,
section.gdl-widget.gdl-certs {
  padding-block: 0.5rem 0;
}

.gdl-widget--empty {
  padding: 1.25rem;
  border: 1px dashed #c5d0de;
  background: #f7fafc;
  color: #515b6e;
  font-size: 0.95rem;
}

.gdl-product-card {
  display: block;
  height: 100%;
}

.gdl-product-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.gdl-product-card__media {
  margin-bottom: 0.75rem;
}

.gdl-product-card__media img {
  width: 100%;
  height: auto;
  display: block;
}

.gdl-product-card__title {
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
}

.gdl-product-card__excerpt {
  font-size: 0.9rem;
  color: var(--color-text, #515b6e);
  margin-bottom: 0.5rem;
}

.gdl-product-card__cta {
  margin-top: auto;
  font-weight: 600;
  color: var(--color-accent, #0090ff);
}

.gdl-contact-data__list li {
  margin-bottom: 0.75rem;
}

.gdl-contact-data__list a {
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
}

.gdl-card-post__cta {
  font-weight: 600;
  color: var(--color-accent, #0090ff);
}

/* Elementor editor comfort */
.elementor-editor-active .gdl-widget .swiper,
.elementor-editor-active .gdl-widget .owl-carousel {
  min-height: 120px;
}

/* Misma causa que elementor-compatibility.css: .reveal queda en opacity:0 en el canvas */
.elementor-editor-active .gdl-widget .reveal,
.elementor-editor-preview .gdl-widget .reveal {
  opacity: 1;
  transform: none;
}

/*
 * Certificaciones ISO (about-home__certs): forzar layout de la maqueta
 * dentro de Elementor (el Swiper de GDL no debe pelear con el grid ≥768px).
 */
.elementor-widget-gdl-about-intro .about-home__certs,
.elementor-widget-gdl-home-about .about-home__certs,
.elementor-widget-gdl-certificaciones.gdl-widget,
.gdl-about .about-home__certs,
.gdl-certs {
  width: 100%;
}

.elementor-widget-gdl-about-intro .about-home__certs-carousel:not(.is-carousel-active),
.elementor-widget-gdl-home-about .about-home__certs-carousel:not(.is-carousel-active),
.gdl-about .about-home__certs-carousel:not(.is-carousel-active),
.gdl-certs .about-home__certs-carousel:not(.is-carousel-active) {
  overflow: visible;
  padding-bottom: 0;
}

@media (min-width: 768px) {
  .elementor-widget-gdl-about-intro .about-home__certs-carousel .swiper-wrapper,
  .elementor-widget-gdl-home-about .about-home__certs-carousel .swiper-wrapper,
  .gdl-about .about-home__certs-carousel .swiper-wrapper,
  .gdl-certs .about-home__certs-carousel .swiper-wrapper,
  .elementor-widget-gdl-certificaciones .about-home__certs-carousel .swiper-wrapper {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
    width: 100% !important;
    height: auto !important;
    transform: none !important;
  }

  .elementor-widget-gdl-about-intro .about-home__certs-carousel .swiper-slide,
  .elementor-widget-gdl-home-about .about-home__certs-carousel .swiper-slide,
  .gdl-about .about-home__certs-carousel .swiper-slide,
  .gdl-certs .about-home__certs-carousel .swiper-slide,
  .elementor-widget-gdl-certificaciones .about-home__certs-carousel .swiper-slide {
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
  }

  .elementor-widget-gdl-about-intro .about-home__certs-carousel .swiper-pagination,
  .elementor-widget-gdl-home-about .about-home__certs-carousel .swiper-pagination,
  .gdl-about .about-home__certs-carousel .swiper-pagination,
  .gdl-certs .about-home__certs-carousel .swiper-pagination,
  .elementor-widget-gdl-certificaciones .about-home__certs-carousel .swiper-pagination {
    display: none !important;
  }
}

/* Evitar que Elementor aplaste las placas ISO */
.elementor .cert-card img.cert-card__plate,
.gdl-about .cert-card img.cert-card__plate,
.gdl-certs .cert-card img.cert-card__plate {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto 0.875rem;
  padding: 0;
  border: 0;
  background: none;
  border-radius: 0;
  object-fit: contain;
}

.elementor .cert-card,
.gdl-about .cert-card,
.gdl-certs .cert-card {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(16, 50, 108, 0.18);
  padding: 1.5rem 1.5rem 1.25rem;
  height: 100%;
  text-align: center;
}

/* Owl hide-until-loaded: show container, hide clones until init */
.gdl-owl.owl-carousel:not(.owl-loaded) {
  display: block !important;
}

.gdl-owl.owl-carousel.owl-loaded {
  display: block !important;
}

/* Clientes partners: slider de logos (tarjeta blanca de referencia) */
.gdl-clientes .clients-logos-grid.owl-carousel {
  display: block !important;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  grid-template-columns: none;
  gap: 0;
  background: #ffffff;
  border: 1px solid rgba(17, 51, 115, 0.08);
  border-radius: 20px;
  box-shadow:
    0 4px 14px rgba(17, 51, 115, 0.06),
    0 10px 28px rgba(17, 51, 115, 0.08);
  padding: clamp(28px, 3.5vw, 40px) clamp(24px, 4vw, 48px);
}

.gdl-clientes .clients-logos-grid.owl-carousel .owl-stage-outer {
  overflow: hidden;
}

.gdl-clientes .clients-logos-grid.owl-carousel .owl-stage {
  display: flex;
  align-items: center;
}

.gdl-clientes .clients-logos-grid.owl-carousel .clients-logos-grid__cell {
  width: 100%;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
}

.gdl-clientes .clients-logos-grid.owl-carousel .clients-logos-grid__cell img {
  max-width: 100%;
  max-height: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

@media (max-width: 575.98px) {
  .gdl-clientes .clients-logos-grid.owl-carousel {
    border-radius: 16px;
    padding: 22px 16px;
  }

  .gdl-clientes .clients-logos-grid.owl-carousel .clients-logos-grid__cell img {
    max-height: 52px;
  }
}

/* Servicios: layout estable antes de Owl (maqueta .spec-home) */
.gdl-servicios .spec-home__slider.owl-carousel:not(.owl-loaded) {
  display: flex !important;
  gap: 1rem;
  overflow: hidden;
}

.gdl-servicios .spec-home__slider.owl-carousel:not(.owl-loaded) > .spec-home__item {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .gdl-servicios .spec-home__slider.owl-carousel:not(.owl-loaded) > .spec-home__item {
    flex-basis: 50%;
    max-width: 50%;
  }
}

@media (min-width: 992px) {
  .gdl-servicios .spec-home__slider.owl-carousel:not(.owl-loaded) > .spec-home__item {
    flex-basis: 33.333%;
    max-width: 33.333%;
  }

  .gdl-servicios .spec-home__slider.owl-carousel:not(.owl-loaded) > .spec-home__item:nth-child(n + 4) {
    display: none;
  }
}

.gdl-servicios .spec-home__slider.owl-carousel:not(.owl-loaded) > .spec-home__item:first-child .spec-card__inner {
  min-height: 460px;
  border: 1.5px solid #1050b2;
}

/*
 * CTA: fallback de sombra en .page-cta__inner.
 * Si se edita en Estilo → Sombra, gana el CSS de Elementor (más específico / posterior).
 */
.elementor-widget-gdl-cta .page-cta__inner {
	box-shadow: 0 1px 0 rgba(38, 114, 255, 0.06), 0 16px 40px rgba(16, 50, 108, 0.08);
}

/* Contacto: quote media / waze vs reset .elementor img */
.elementor .gdl-contact-quote .quote-card__media img,
.elementor-widget-gdl-formulario-cf7 .quote-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border: none;
	border-radius: 0;
	box-shadow: none;
	margin: 0;
}

.elementor .gdl-contact-locations .location-card__waze img,
.elementor-widget-gdl-contact-locations .location-card__waze img {
	width: 44px;
	height: 44px;
	object-fit: contain;
	display: block;
	border: none;
	border-radius: 0;
	box-shadow: none;
	margin: 0;
}

/* Blog: cards vs reset .elementor img */
.elementor .gdl-blog-webinars .blog-webinar-card__media img,
.elementor-widget-gdl-blog-webinars .blog-webinar-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border: none;
	border-radius: 0;
	box-shadow: none;
	margin: 0;
}

.elementor .gdl-blog-page .blog-card__media img,
.elementor-widget-gdl-blog-page .blog-card__media img {
	width: 100%;
	height: auto;
	display: block;
	border: none;
	border-radius: 0;
	box-shadow: none;
	margin: 0;
	object-fit: cover;
}

/* Productos outro: logos vs reset .elementor img */
.elementor .gdl-prod-outro .prod-page-brands__slide img,
.elementor-widget-gdl-prod-outro .prod-page-brands__slide img {
	width: auto;
	max-width: 120px;
	max-height: 44px;
	height: auto;
	margin: 0 auto;
	object-fit: contain;
	display: block;
	border: none;
	border-radius: 0;
	box-shadow: none;
}

.gdl-productos--shop .prod-shop-grid__empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 1.25rem 0;
  color: #647087;
  font-size: 0.95rem;
}

/* Productos shop: imagen spotlight vs reset .elementor img (0,1,1) */
.elementor .prod-shop-spotlight__product-img,
.elementor-widget-gdl-productos .prod-shop-spotlight__product-img,
.elementor .gdl-productos--shop .prod-shop-spotlight__product-img {
	width: 100%;
	max-width: min(150px, 100%);
	height: auto;
	margin-top: clamp(-2.5rem, -4.2vw, -1.75rem);
	margin-bottom: 0;
	object-fit: contain;
	object-position: bottom center;
	display: block;
	border: none;
	border-radius: 0;
	box-shadow: none;
	filter: drop-shadow(2px 5px 8px rgba(17, 51, 115, 0.14));
}

@media (max-width: 991.98px) {
	.elementor .prod-shop-spotlight__product-img,
	.elementor-widget-gdl-productos .prod-shop-spotlight__product-img {
		max-width: 100%;
		width: auto;
		max-height: 88px;
		margin-top: 0;
		object-position: center;
	}
}

@media (max-width: 767.98px) {
	.elementor .prod-shop-spotlight__product-img,
	.elementor-widget-gdl-productos .prod-shop-spotlight__product-img {
		max-height: 150px;
		margin-top: 0;
	}
}

/* Nosotros / política: borde redondeado (Elementor suele anular border-radius en img) */
.gdl-about-policy .about-policy__media,
.elementor-widget-gdl-about-policy .about-policy__media {
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(16, 50, 108, 0.1);
}

.gdl-about-policy .about-policy__image,
.elementor-widget-gdl-about-policy .about-policy__image,
.elementor-widget-gdl-about-policy .about-policy__media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px !important;
  object-fit: cover;
}

/* ——— Hero slider principal (Swiper fade + imagen/video cover) ——— */
/* Como index-fa.html: header + hero ≈ 1 viewport, asoma un poco la sección siguiente. */
.elementor-section:has(.gdl-hero-slider),
.e-con:has(.gdl-hero-slider),
.elementor-widget-gdl-hero-slider,
.elementor-widget-gdl-hero-slider > .elementor-widget-container {
  min-height: 0 !important;
  height: auto;
}

.gdl-hero-slider.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: var(
    --gdl-hero-min-h,
    calc(100vh - var(--home-header-stack, clamp(7.75rem, 16vh, 9.5rem)))
  ) !important;
  min-height: var(
    --gdl-hero-min-h,
    calc(100dvh - var(--home-header-stack, clamp(7.75rem, 16vh, 9.5rem)))
  ) !important;
}

.gdl-hero-slider .hero-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: inherit;
  --swiper-navigation-color: #fff;
  --swiper-pagination-color: #fff;
  --swiper-navigation-size: 16px;
}

.gdl-hero-slider .swiper-wrapper,
.gdl-hero-slider .swiper-slide {
  height: 100% !important;
  min-height: inherit;
}

.gdl-hero-slider .swiper-slide {
  display: flex;
  flex-direction: column;
}

.gdl-hero-slider .hero-bg,
.gdl-hero-slider .hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.gdl-hero-slider .hero-bg--media {
  overflow: hidden;
}

.gdl-hero-slider .hero-bg--video.hero-bg--media {
  background-image: none;
}

.gdl-hero-slider .hero-bg img,
.gdl-hero-slider .hero-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-position: center;
}

.gdl-hero-slider .hero-bg--cover img,
.gdl-hero-slider .hero-bg--cover video {
  object-fit: cover;
}

.gdl-hero-slider .hero-bg--contain img,
.gdl-hero-slider .hero-bg--contain video {
  object-fit: contain;
  background: #0b2a85;
}

.gdl-hero-slider .hero-bg--youtube {
  overflow: hidden;
  container-type: size;
}

.gdl-hero-slider .hero-bg--youtube iframe {
  border: 0;
  pointer-events: none;
}

.gdl-hero-slider .hero-bg--cover.hero-bg--youtube iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.78%;
  height: 100%;
  min-width: 100%;
  transform: translate(-50%, -50%);
}

@supports (width: 1cqw) {
  .gdl-hero-slider .hero-bg--cover.hero-bg--youtube iframe {
    width: 100cqw;
    height: 56.25cqw;
    min-height: 100cqh;
    min-width: 177.78cqh;
  }
}

.gdl-hero-slider .hero-bg--contain.hero-bg--youtube iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.gdl-hero-slider .hero-slider__pagination {
  position: absolute;
  left: 0;
  right: 0;
  bottom: max(5.5rem, calc(env(safe-area-inset-bottom, 0px) + 4.5rem));
  z-index: 7;
  width: 100%;
}

.gdl-hero-slider .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.42);
  opacity: 1;
}

.gdl-hero-slider .swiper-pagination-bullet-active {
  background: #fff;
  transform: scale(1.15);
}

.gdl-hero-slider .hero-slider__arrow {
  width: 48px;
  height: 48px;
  margin-top: 0;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  z-index: 7;
}

.gdl-hero-slider .hero-slider__arrow:after {
  font-size: 16px;
}

.gdl-hero-slider .hero-slider__arrow--prev {
  left: max(1rem, env(safe-area-inset-left, 0px));
}

.gdl-hero-slider .hero-slider__arrow--next {
  right: max(1rem, env(safe-area-inset-right, 0px));
}

.gdl-hero-slider .hero-slider__arrow:hover,
.gdl-hero-slider .hero-slider__arrow:focus-visible {
  background: rgba(255, 255, 255, 0.28);
}

.gdl-hero-slider .hero-slider__arrow.swiper-button-disabled {
  opacity: 0.35;
}

.gdl-hero-slider .hero-badge,
.gdl-hero-slider .hero-scroll {
  z-index: 8;
}

.gdl-hero-slider .swiper-slide:not(.swiper-slide-active) .hero-content > .hero-title,
.gdl-hero-slider .swiper-slide:not(.swiper-slide-active) .hero-content > .hero-sub,
.gdl-hero-slider .swiper-slide:not(.swiper-slide-active) .hero-content > .btn-quote {
  animation: none;
  opacity: 1;
  transform: none;
}

.elementor-widget-gdl-hero-slider {
  width: 100%;
  overflow: hidden;
}

.gdl-hero-slider .hero-content {
  box-sizing: border-box;
  min-width: 0;
  max-width: min(1000px, 100%);
  padding-left: clamp(1rem, 4vw, 2rem);
  padding-right: clamp(1rem, 4vw, 2rem);
}

.gdl-hero-slider .hero-title,
.gdl-hero-slider .hero-sub {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 1199.98px) {
  .gdl-hero-slider .hero-title br,
  .gdl-hero-slider .hero-sub br {
    display: none;
  }

  .gdl-hero-slider .hero-title {
    font-size: clamp(1.65rem, 4vw, 2.75rem);
    line-height: 1.2;
  }

  .gdl-hero-slider .hero-sub {
    font-size: clamp(0.95rem, 2vw, 1.25rem);
  }
}

@media (max-width: 991.98px) {
  .gdl-hero-slider.hero {
    min-height: 32rem !important;
    min-height: 70dvh !important;
  }

  .gdl-hero-slider .hero-content {
    padding-top: clamp(3.5rem, 10vh, 5.5rem);
    padding-bottom: clamp(4.5rem, 12vh, 6rem);
    justify-content: center;
  }

  .gdl-hero-slider .hero-bg,
  .gdl-hero-slider .hero-bg--cover img,
  .gdl-hero-slider .hero-bg--cover video {
    background-position: center 30%;
    object-position: center 30%;
  }
}

@media (max-width: 767.98px) {
  .gdl-hero-slider .hero-slider__arrow {
    display: none;
  }

  .gdl-hero-slider.hero {
    min-height: 28rem !important;
    min-height: 62dvh !important;
  }

  .gdl-hero-slider .hero-title {
    font-size: clamp(1.4rem, 6.5vw, 1.85rem);
  }

  .gdl-hero-slider .hero-sub {
    margin-top: 0.85rem;
    font-size: 0.9375rem;
  }

  .gdl-hero-slider .hero-content {
    padding-top: 3.25rem;
    padding-bottom: 5rem;
  }

  .gdl-hero-slider .hero-bg,
  .gdl-hero-slider .hero-bg--cover img,
  .gdl-hero-slider .hero-bg--cover video {
    background-position: center 22%;
    object-position: center 22%;
  }
}

/*
 * Canvas Elementor: el iframe suele ser estrecho aunque el modo sea Escritorio,
 * así que @media no coincide con el device switcher. Forzamos por clase.
 */
body.elementor-device-desktop .gdl-hero-slider.hero {
  min-height: var(
    --gdl-hero-min-h,
    calc(100vh - var(--home-header-stack, clamp(7.75rem, 16vh, 9.5rem)))
  ) !important;
  min-height: var(
    --gdl-hero-min-h,
    calc(100dvh - var(--home-header-stack, clamp(7.75rem, 16vh, 9.5rem)))
  ) !important;
}

body.elementor-device-desktop .gdl-hero-slider .hero-title br,
body.elementor-device-desktop .gdl-hero-slider .hero-sub br {
  display: block;
}

body.elementor-device-desktop .gdl-hero-slider .hero-title {
  font-size: clamp(2.25rem, 4.2vw + 1.25rem, 4.5rem);
  line-height: 1.14;
}

body.elementor-device-desktop .gdl-hero-slider .hero-sub {
  font-size: clamp(1rem, 1vw + 0.85rem, 1.5rem);
  margin-top: 1.5rem;
}

body.elementor-device-desktop .gdl-hero-slider .hero-content {
  padding-top: clamp(7.5rem, 18vh, 11rem);
  padding-bottom: clamp(5rem, 12vh, 7rem);
}

body.elementor-device-desktop .gdl-hero-slider .hero-bg,
body.elementor-device-desktop .gdl-hero-slider .hero-bg--cover img,
body.elementor-device-desktop .gdl-hero-slider .hero-bg--cover video {
  background-position: center center;
  object-position: center center;
}

body.elementor-device-tablet .gdl-hero-slider .hero-title br,
body.elementor-device-tablet .gdl-hero-slider .hero-sub br,
body.elementor-device-mobile .gdl-hero-slider .hero-title br,
body.elementor-device-mobile .gdl-hero-slider .hero-sub br {
  display: none;
}

body.elementor-device-tablet .gdl-hero-slider.hero {
  min-height: 32rem !important;
  min-height: 70dvh !important;
}

body.elementor-device-tablet .gdl-hero-slider .hero-title {
  font-size: clamp(1.65rem, 4vw, 2.75rem);
  line-height: 1.2;
}

body.elementor-device-tablet .gdl-hero-slider .hero-sub {
  font-size: clamp(0.95rem, 2vw, 1.25rem);
}

body.elementor-device-tablet .gdl-hero-slider .hero-content {
  padding-top: clamp(3.5rem, 10vh, 5.5rem);
  padding-bottom: clamp(4.5rem, 12vh, 6rem);
}

body.elementor-device-tablet .gdl-hero-slider .hero-bg,
body.elementor-device-tablet .gdl-hero-slider .hero-bg--cover img,
body.elementor-device-tablet .gdl-hero-slider .hero-bg--cover video {
  background-position: center 30%;
  object-position: center 30%;
}

body.elementor-device-mobile .gdl-hero-slider .hero-slider__arrow {
  display: none;
}

body.elementor-device-mobile .gdl-hero-slider.hero {
  min-height: 28rem !important;
  min-height: 62dvh !important;
}

body.elementor-device-mobile .gdl-hero-slider .hero-title {
  font-size: clamp(1.4rem, 6.5vw, 1.85rem);
  line-height: 1.2;
}

body.elementor-device-mobile .gdl-hero-slider .hero-sub {
  margin-top: 0.85rem;
  font-size: 0.9375rem;
}

body.elementor-device-mobile .gdl-hero-slider .hero-content {
  padding-top: 3.25rem;
  padding-bottom: 5rem;
}

body.elementor-device-mobile .gdl-hero-slider .hero-bg,
body.elementor-device-mobile .gdl-hero-slider .hero-bg--cover img,
body.elementor-device-mobile .gdl-hero-slider .hero-bg--cover video {
  background-position: center 22%;
  object-position: center 22%;
}

@media (min-width: 992px) and (prefers-reduced-motion: no-preference) {
  .gdl-hero-slider .hero-bg--video,
  .gdl-hero-slider .swiper-slide:not(.swiper-slide-active) .hero-bg {
    animation: none;
  }
}

/* Lab equipos: slider 1 imagen por slide */
.lab-equipment__media {
  position: relative;
}

.lab-equipment__slider {
  --swiper-navigation-color: #113373;
  --swiper-pagination-color: #2672ff;
  --swiper-navigation-size: 18px;
  width: 100%;
  height: 100%;
}

.lab-equipment__slider .swiper-wrapper,
.lab-equipment__slider .swiper-slide {
  height: 100%;
}

.lab-equipment__slider .swiper-slide img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.lab-equipment__arrow {
  width: 36px;
  height: 36px;
  margin: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.lab-equipment__arrow::after {
  font-size: 14px;
  font-weight: 700;
}

.lab-equipment__arrow--prev {
  left: 10px;
}

.lab-equipment__arrow--next {
  right: 10px;
}

.lab-equipment__pagination {
  bottom: 10px !important;
}

/* Nosotros / intro: video popup + columna de contenido */
.gdl-about--page .about-page__intro-media,
.elementor-widget-gdl-about-intro .about-page__intro-media {
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
}

.gdl-about--page .about-page__intro-media--split .about-page__intro-video,
.elementor-widget-gdl-about-intro .about-page__intro-media--split .about-page__intro-video {
  margin: 0;
}

.gdl-about--page .about-page__intro-media-title,
.elementor-widget-gdl-about-intro .about-page__intro-media-title {
  margin: 0 0 1rem;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 3.2vw, 2.125rem);
  line-height: 1.25;
  color: #113373;
}

.gdl-about--page .about-page__intro-media-text,
.elementor-widget-gdl-about-intro .about-page__intro-media-text,
.gdl-about--page .about-page__intro-media-list li,
.elementor-widget-gdl-about-intro .about-page__intro-media-list li {
  font-family: "Roboto", sans-serif;
  font-size: clamp(0.9375rem, 1.6vw, 1.0625rem);
  line-height: 1.55;
  color: #515b6e;
}

.gdl-about--page .about-page__intro-media-list,
.elementor-widget-gdl-about-intro .about-page__intro-media-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.gdl-about--page .about-page__intro-media-list li,
.elementor-widget-gdl-about-intro .about-page__intro-media-list li {
  position: relative;
  padding-left: 1.35rem;
}

.gdl-about--page .about-page__intro-media-list li + li,
.elementor-widget-gdl-about-intro .about-page__intro-media-list li + li {
  margin-top: 0.65rem;
}

.gdl-about--page .about-page__intro-media-list li::before,
.elementor-widget-gdl-about-intro .about-page__intro-media-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(155deg, #1050b2 0%, #2672ff 100%);
  transform: translateY(-50%);
}

.gdl-about--page .about-page__intro-media--split .about-page__video-trigger,
.elementor-widget-gdl-about-intro .about-page__video-trigger {
  overflow: hidden;
  border-radius: 22px;
}

.gdl-about--page .about-page__intro-media--split .about-page__video-poster,
.elementor-widget-gdl-about-intro .about-page__video-poster {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px !important;
  object-fit: cover;
}

.gdl-about--page .about-page__video-embed,
.elementor-widget-gdl-about-intro .about-page__video-embed {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 20px 48px rgba(16, 50, 108, 0.18);
  background: #0a1f4d;
  aspect-ratio: 16 / 9;
}

.gdl-about--page .about-page__video-embed-player,
.elementor-widget-gdl-about-intro .about-page__video-embed-player,
.elementor-widget-gdl-about-intro .about-page__video-embed iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 22px !important;
  background: #0a1f4d;
}

.about-page__video-lightbox {
  width: min(92vw, 960px);
  max-height: 90vh;
  margin: auto;
  padding: 0;
  border: none;
  border-radius: 16px;
  background: transparent;
  overflow: visible;
}

.about-page__video-lightbox::backdrop {
  background: rgba(17, 51, 115, 0.88);
  backdrop-filter: blur(6px);
}

.about-page__video-lightbox-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #0a1f4d;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.about-page__video-lightbox-frame iframe,
.about-page__video-lightbox-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #0a1f4d;
}

.about-page__video-lightbox-close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 1.75rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.about-page__video-lightbox-close:hover,
.about-page__video-lightbox-close:focus-visible {
  background: rgba(255, 255, 255, 0.28);
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}
