.container {
  max-width: 1400px; /* 1200 */
}

.icon-link > .bi {
  width: 0.75em;
  height: 0.75em;
}

/*
 * Custom translucent site header
 */

.site-header {
  background-color: rgba(63, 166, 224, 1); /*0,0,0,.85*/
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}
.site-header a {
  color: #3fa6e0; /*8e8e8e*/
  transition: color 0.15s ease-in-out;
}
.site-header a:hover {
  color: #fff;
  text-decoration: none;
}

.header-bg {
  background-color: #000000; /*2F4F78*/ /*3FA6E0*/
}

.header-logo {
  height: 44px; /* tamaño ideal para header */
  width: auto;
}

.header-logo {
  display: block;
}

/* Abrir dropdown al pasar el mouse */
.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
}

.dropdown-menu {
  border-radius: 10px;
  padding: 8px 0;
}

.dropdown-item {
  padding: 8px 20px;
}

.dropdown-item {
  transition:
    background-color 0.2s ease,
    padding-left 0.2s ease;
}

.dropdown-item:hover {
  background-color: #e9e9e9;
  padding-left: 26px;
}

/*
 * Dummy devices (replace them with your own or something else entirely!)
 */

.product-device {
  position: absolute;
  right: 10%;
  bottom: -30%;
  width: 300px;
  height: 540px;
  background-color: #333;
  border-radius: 21px;
  transform: rotate(30deg);
}

.product-device::before {
  position: absolute;
  top: 10%;
  right: 10px;
  bottom: 10%;
  left: 10px;
  content: "";
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
}

.product-device-2 {
  top: -25%;
  right: auto;
  bottom: 0;
  left: 5%;
  background-color: #e5e5e5;
}

/*.hero {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;

  background-image: url("img/navacoverimage.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}*/

/* HERO carousel base */
.hero-carousel {
  position: relative;
}

.hero-slide {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Tu overlay ya lo tienes, esto solo asegura que funcione dentro del slide */
.hero-slide .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45); /*rgba(0, 0, 0, 0.45)*/
  z-index: 1;
}

.hero-slide .hero-content {
  position: relative;
  z-index: 2;
  margin-top: 0;
}

/* Puntos un poquito más visibles */
.hero-carousel .carousel-indicators [data-bs-target] {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  margin: 0 6px;
}

/* El hero normal tenia flex, pero el hero con carousel debe ser block */
.hero.hero-carousel {
  display: block;
  min-height: auto;
}

.hero-carousel .carousel-inner {
  min-height: 75vh;
}

.hero-carousel .carousel-item.hero-slide {
  min-height: 100vh;
  display: flex;
  align-items: center; /* centra vertical */
  color: #ffffff; /*quitar para volver a texto negro*/
}

/* El overlay no debe empujar el contenido */
.hero-carousel .hero-overlay {
  position: absolute;
  inset: 0;
}

/* El contenido encima del overlay */
.hero-carousel .hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Asegura que la sección hero permita elementos flotantes */
.hero.hero-carousel {
  position: relative;
}

/* Contenedor flotante del carousel */
.hero-info-float {
  position: absolute;
  right: clamp(140px, 20vw, 180px);
  top: 100%;
  transform: translate(0px, -50%); /* X y Y en una sola línea */
  width: min(440px, 92vw);
  z-index: 50;
  pointer-events: none; /* no bloquear el hero */
}

/* Sí permitir interacción dentro del recuadro */
.hero-info-float .hero-info-card,
.hero-info-float .hero-info-bottom-controls,
.hero-info-float .hero-info-arrow,
.hero-info-float .hero-info-counter {
  pointer-events: auto;
}

/* Card con look tipo header translúcido */
.hero-info-card {
  background: rgba(40, 120, 180, 0.5); /*rgba(60, 80, 105, 0.50)*/
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  padding: 18px 18px 16px 18px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
  color: rgba(255, 255, 255, 0.92);
  position: relative;
  padding-bottom: 64px; /* espacio reservado para contador + flechas */
}

@media (max-width: 767.98px) {
  .hero-info-float {
    left: 50%;
    right: auto;
    top: 82% !important;
    transform: translate(0px, -30%) scale(0.75);
    width: min(340px, calc(100vw - 24px));
  }

  .hero-carousel .hero-content {
    padding-top: 20px !important;
  }

  .hero-info-card {
    padding: 14px 14px 52px 14px;
    border-radius: 16px;
  }

  .hero-info-card h3,
  .hero-info-card h4,
  .hero-info-card .card-title {
    font-size: 1.35rem;
    line-height: 1.15;
  }

  .hero-info-card p,
  .hero-info-card li {
    font-size: 0.92rem;
    line-height: 1.4;
  }
}

/* Texto */
.hero-info-eyebrow {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  opacity: 0.85;
  margin-bottom: 6px;
}

.hero-info-title {
  font-weight: 700;
  font-size: 1.35rem;
  margin-bottom: 8px;
  line-height: 1.2;
}

.hero-info-text {
  font-size: 0.98rem;
  line-height: 1.45;
  opacity: 0.92;
}

.hero-info-bullets li {
  font-size: 0.98rem;
  line-height: 1.45;
  opacity: 0.92;
}

.hero-info-actions {
  position: absolute;
  bottom: 10px;
  left: 18px;
  display: flex;
  gap: 10px;
}

.hero-info-bottom-controls {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;

  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;

  padding: 10px 12px;

  padding: 0;
  background: none;
}

.hero-info-counter {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-info-slash {
  opacity: 0.65;
}

.hero-info-arrow {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.95);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    background 0.15s ease,
    opacity 0.15s ease;
}

.hero-info-arrow:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.2);
}

.hero-info-control:hover {
  opacity: 1;
}

/* Opcional: ajusta los iconos para que se vean mejor sobre fondo oscuro */
.hero-info-control .carousel-control-prev-icon,
.hero-info-control .carousel-control-next-icon {
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

/* Responsive: en pantallas chicas lo baja para que no tape texto del hero */
@media (max-width: 992px) {
  .hero-info-float {
    top: 72%;
    right: 16px;
    left: 16px;
    width: auto;
  }
}

/*.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.70);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1,
.hero p {
  color: #212529;
}*/

/* OUR SERVICES - imágenes uniformes */
.card-img-top {
  height: 240px; /* ajusta este valor si quieres más o menos alto */
  object-fit: cover; /* recorta sin deformar */
}

/* Imagen */
.service-card .card-img-top {
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
}

/* Quitar estilo de link */
.service-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* Animación suave */
.service-card {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  /*background: transparent;*/
  background-color: rgba(40, 120, 180, 0.5);
  border: none;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.5);
}

/* Hover effect */
.service-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12),
  0 0 30px rgba(0, 140, 255, 0.35);
}

/* Body con efecto tipo header */
.service-card .card-body {
  background: rgba(
    40,
    120,
    180,
    0.5
  ); /* mismo tono que header rgba(60, 80, 105, 0.50) rgba(40, 120, 180, 1) */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-top: none;

  color: rgba(255, 255, 255, 0.92);
  padding: 16px 18px 18px;
}

/* Título */
.service-card .card-title {
  font-weight: 700;
  color: #ffffff;
}

/* Texto */
.service-card .card-text {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  line-height: 1.45;
}

/* Robotics Integration - imágenes uniformes */
.img-fluid {
  width: 100%;
  height: 300px; /* ajusta este valor si quieres más o menos alto */
  object-fit: cover; /* recorta sin deformar */
  border-radius: 12px; /* mantiene el look limpio */
}

.hero-logo {
  max-width: 320px; /* ajusta según qué tan grande lo quieras */
  width: 100%;
  height: auto;
  margin-top: 10px; /* baja el logo */
}

.hero-logo {
  max-width: 320px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));
}

.image-fill {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 12px;
}

.image-fill img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0) 25%,
    rgba(255, 255, 255, 0) 75%,
    rgba(255, 255, 255, 0.95) 100%
  );
  pointer-events: none;
}

.row .section-card-img {
  height: 240px;
  object-fit: cover;
}

.mini-btn {
  padding: 8px 16px;
  font-size: 0.9rem;
  border-radius: 8px;
}

.integrator-logo {
  width: 100%;
  max-width: 380px;
  height: auto;
  display: block;
  border-radius: 14px;
}

/* HEADER encima del hero */
.header-on-hero {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  background: transparent;
}

/* Links blancos en el header */
.nav-link-on-hero {
  color: rgba(255, 255, 255, 0.92);
}

.nav-link-on-hero:hover {
  color: #ffffff;
}

/* Logo en header sobre hero (por si ocupa ajuste) */
.header-logo--on-hero {
  height: 44px; /* ajusta si quieres */
  width: auto;
}

.hero-full-bleed {
  position: relative;
  min-height: 130vh; /* ocupa toda la altura de la pantalla */
  padding-top: 120px; /* espacio solo para el header */
  border-radius: 14px;
  overflow: hidden;
}

.hero-robotics.hero-full-bleed {
  min-height: 60vh;
  border-radius: 0px;

  /* zoom out solo para este hero */
  background-size: 100%;
  background-position: center 70%;
}

body {
  margin: 0;
}

/* Fondo del hero (si ya lo tienes en .hero-robotics, deja tu background ahí) */
.hero-robotics {
  margin-top: 0 !important;
  /* default */
  background-image: url("img/cobot_welding_cover.jpg"); /* usa tu imagen actual */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Overlay oscuro para que se lea el texto */
.hero-overlay-dark {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

/* Contenido arriba del overlay */
.hero-robotics .hero-content {
  position: relative;
  z-index: 2;
}

/* Botón outline light alineado visualmente */
.btn-outline-light {
  border-width: 1px;
}

.page-wrap {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

main {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.video-band {
  position: relative;

  /* Esto lo hace full width aunque estés dentro de un .container */
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;

  padding: 70px 0;
  overflow: hidden;
}

.video-band__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-band__overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.55);
}

.video-band__content {
  position: relative;
  z-index: 2;
}

.video-band__fade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  background:
   /* linear-gradient(to bottom, rgba(255,255,255,1), rgba(255,255,255,0) 12%),
    linear-gradient(to top, rgba(255,255,255,1), rgba(255,255,255,0) 12%),
    linear-gradient(to right, rgba(255,255,255,1), rgba(255,255,255,0) 12%),
    linear-gradient(to left, rgba(255,255,255,1), rgba(255,255,255,0) 12%); */
    linear-gradient(to bottom, rgba(0, 16, 48, 0.3), rgba(0, 16, 48, 0) 12%),
    linear-gradient(to top, rgba(0, 16, 48, 0.3), rgba(0, 16, 48, 0) 12%),
    linear-gradient(to right, rgba(0, 16, 48, 0.3), rgba(0, 16, 48, 0) 12%),
    linear-gradient(to left, rgba(0, 16, 48, 0.3), rgba(0, 16, 48, 0) 12%);
}

.service-glass {
  background: rgba(
    40,
    120,
    180,
    0.22
  ); /* azul translúcido rgba(0, 60, 120, 0.22)*/
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}


.service-glass {
  background: rgba(0, 60, 120, 0.22);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: all 0.35s ease;
}

.service-glass-2 {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 1);
  padding: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: all 0.35s ease;
}

.service-glass:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.35),
    0 0 25px rgba(80, 140, 255, 0.6);
  background: rgba(0, 60, 120, 0.32);
}

.service-glass-2:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  border-color: #0d6efd !important;
}

/* HERO */
.hero-apps {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Video de fondo */
.hero-apps__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Velo negro */
.hero-apps__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

/* Contenido encima del video */
.hero-apps__content {
  position: relative;
  z-index: 2;
  padding-top: 32px;
  padding-bottom: 32px;
}

/* Subtítulo */
.hero-subtitle {
  color: rgba(255, 255, 255, 0.85);
  max-width: 52ch;
}

/* Header sobre hero */
.header-on-hero {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
}

/* BLUE BLOCKS */
.blue-block {
  background: rgba(40, 120, 180, 0.5); /*rgba(0, 85, 255, 0.14)*/
  border: 1px solid rgba(0, 85, 255, 0.22);
  border-radius: 16px;
  padding: 20px;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.blue-block:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
  background: rgba(40, 120, 180, 0.18); /*rgba(0, 85, 255, 0.18)*/
}

.blue-block ul {
  margin: 0;
  padding-left: 18px;
  color: rgba(0, 0, 0, 0.78);
}

.blue-media {
  border-radius: 14px;
  overflow: hidden;
  height: 360px;
}

.blue-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CTA band */
.cta-band {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 22px;
}

.highlight-card {
  background: rgba(40, 120, 180, 0.5); /*rgba(235, 235, 235, 0.95)*/
  border-radius: 14px;
  padding: 28px;
  border: 1px solid rgba(0, 85, 255, 0.22); /*rgba(0, 0, 0, 0.06)*/
  transition: all 0.35s ease;
  cursor: default;
}

/* Hover suave */
.highlight-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.12);
}

/* Títulos */
.highlight-title {
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 1.05rem;
  color: #ffffff;
}

/* Texto */
.highlight-text {
  color: #ffffff; /*#6c757d*/
  line-height: 1.5;
}

.deliver-card {
  transition: all 0.25s ease;
  /*background: #fff;*/
  background: rgba(255, 255, 255, 0.15); /*rgba(255, 255, 255, .20)*/
  border: 1px solid rgba(255, 255, 255, 1) !important; /*1px solid rgba(0, 85, 255, 0.22) !important*/
}

.deliver-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  border-color: #0d6efd !important;
}

.text-block {
  max-width: 420px;
}

.blue-block .col-lg-6.d-flex {
  justify-content: center;
}

/* ABOUT PAGE */
.about-page {
  padding-top: 46px;
  padding-bottom: 60px;
}

/* Logo grande */
.about-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px;
}

.about-hero-row {
  margin-top: 10px; /* ajusta a ojo, 32 a 64px suele ser el sweet spot */
}

.about-logo-img {
  max-width: 520px;
  width: 100%;
  height: auto;
  display: block;
}

/* Stats */
.about-stat {
  background: rgba(
    40,
    120,
    180,
    0.5
  ) !important; /*rgba(255,255,255,0.95)*/ /*rgba(255,255,255,0.30)*/
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  padding: 14px 16px;
}

.about-stat__num {
  font-weight: 800;
  font-size: 1.05rem;
}

.about-stat__label {
  color: rgba(255, 255, 255, 1) !important;
  font-size: 0.95rem;
}

/* Video */
.about-video {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

/* Cards */
.about-card {
  background: rgba(
    40,
    120,
    180,
    0.5
  ); /*rgba(255,255,255,0.98)*/ /*rgba(255,255,255,0.30)*/
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  padding: 18px;
}

.about-card--hover {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.about-card--hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  border-color: rgba(13, 110, 253, 0.55);
}

/* Partners */
.partner-card {
  background: rgba(40, 120, 180, 0.5);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  padding: 14px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-card img {
  max-height: 52px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.reveal .reveal-item {
  opacity: 0;
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
  will-change: opacity, transform;
}

.reveal .reveal-item--left {
  transform: translateX(-22px);
}
.reveal .reveal-item--right {
  transform: translateX(22px);
}

.reveal.is-visible .reveal-item {
  opacity: 1;
  transform: translateX(0);
}

/* Scroll reveal */
.reveal .reveal-item {
  opacity: 0;
  transition:
    opacity 1s ease,
    transform 1s ease;
  will-change: opacity, transform;
}

.reveal .reveal-item--left {
  transform: translateX(-22px);
}
.reveal .reveal-item--right {
  transform: translateX(22px);
}

/* default si no pones left/right */
.reveal .reveal-item:not(.reveal-item--left):not(.reveal-item--right) {
  transform: translateY(14px);
}

.reveal.is-visible .reveal-item {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal .reveal-item {
    transition: none;
    transform: none;
    opacity: 1;
  }
}

.section-bg-light {
  background-color: #2f4f78; /* gris muy suave */
}

.section-bg-dark {
  background-color: #0f172a; /* oscuro */
  color: #fff;
}

.section-bg-blue {
  background-color: rgba(0, 85, 255, 0.08);
}

.section-full-bg {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.hero-wrap {
  position: relative;
}

/* Header flotando arriba del hero */
.header-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  /* Azul translúcido */
  background: rgba(40, 120, 180, 0.5); /*rgba(11, 31, 51, 0.50);*/

  /* Efecto vidrio */
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  /* Línea sutil abajo */
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* Como el header ahora va encima, empuja el contenido del hero hacia abajo */
.hero-carousel .hero-content {
  padding-top: 110px;
}

/* Links claros encima de fondo oscuro */
.header-bg a {
  color: rgba(255, 255, 255, 0.92) !important; /*rgba(255, 255, 255, 0.92)*/
}

.header-bg a:hover {
  color: #ffffff !important;
}

/* Dropdown en oscuro */
.header-bg .dropdown-menu {
  background: rgba(40, 120, 180, 0.75); /*rgba(11, 31, 51, 0.96)*/
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.header-bg .dropdown-item {
  color: rgba(255, 255, 255, 0.92);
}

.header-bg .dropdown-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

/* Boton de contacto para que contraste */
.header-bg .btn.btn-dark {
  background: rgba(0, 0, 0, 0.35); /*rgba(255, 255, 255, 0.16)*/
  border-color: rgba(0, 0, 0, 0.25); /*rgba(255, 255, 255, 0.22)*/
  color: #ffffff;
}

.header-bg .btn.btn-dark:hover {
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.3);
}

.page-content-bg {
  position: relative;
  padding: 40px 0 60px;

  background: linear-gradient(
    180deg,
    #001030 0%,
    /* #001F3F */ /*2878B4*/ /*002366*/ /*001030, 3FA6E0*/ #001030 100%
      /*002A5C*/
  );
}

/*.page-content-bg::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      circle at 50% 100%,
      rgba(0, 120, 255, 0.35),
      transparent 70%
    );

  filter: blur(6px);
  pointer-events: none;
}*/

.page-content-bg > * {
  position: relative;
  z-index: 1;
}

/* Fade suave a blanco antes del CTA + Footer */
.page-content-bg::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  height: 180px;

  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 100% /*rgba(255, 255, 255, 1) 100%*/
  );

  pointer-events: none;
}

html,
body {
  overflow-x: hidden;
}

.page-content-bg {
  overflow-x: hidden;
}

html,
body {
  overflow-x: hidden;
}

/* Video grande arriba */
.about-video--hero {
  margin-top: 20px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.about-video--hero video {
  display: block;
}

/* Logo grande abajo a la izquierda */
.about-logo-row {
  margin-top: 26px;
}

.about-logo-img {
  width: 100%;
  max-width: 520px;
  height: auto;
  opacity: 0.95;
}

/* Stats como tarjetas suaves */
.about-stat {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  padding: 14px 16px;
  background: #fff;
}

.about-stat .fw-bold {
  font-size: 18px;
  line-height: 1.2;
}

.about-stat__label {
  color: #6c757d;
  font-size: 13px;
}

.header-bg nav a {
  font-size: 20px;
}

html {
  font-size: 18px;
}

body {
  font-size: 1rem;
  line-height: 1.6;
}

h1 {
  font-size: 2.6rem;
  line-height: 1.15;
  color: #ffffff;
}
h2 {
  font-size: 2rem;
  line-height: 1.2;
  color: #ffffff;
}
h3 {
  font-size: 1.6rem;
  color: #ffffff;
}
h4 {
  font-size: 1.25rem;
  color: #ffffff;
}
h5 {
  font-size: 1.2rem;
  color: #ffffff;
}
h6 {
  font-size: 1.2rem;
  color: #ffffff;
} /*0.95rem*/

.text-secondary {
  font-size: 1.25rem; /*0.95rem*/
  font-weight: 300;
  color: #ffffff !important;
}

.btn {
  font-size: 0.9rem;
}

/* Contenedor del logo, ahora sin tarjeta */
.customer-logo-card {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.customer-logo {
  max-height: 85px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;

  opacity: 0.85;
  filter: grayscale(100%) brightness(2.5);

  transition:
    transform 0.35s ease,
    opacity 0.35s ease,
    filter 0.35s ease;
}

/* Hover sutil tipo "flotando" */
.customer-logo-card:hover .customer-logo {
  transform: translateY(-4px) scale(1.05);
  opacity: 1;
  filter: grayscale(0%);
}

#customersCarousel .carousel-control-prev-icon,
#customersCarousel .carousel-control-next-icon {
  filter: invert(1);
  opacity: 0.5;
}

#customersCarousel .carousel-control-prev:hover .carousel-control-prev-icon,
#customersCarousel .carousel-control-next:hover .carousel-control-next-icon {
  opacity: 0.8;
}

/* Flechas más a las orillas */
#customersCarousel .carousel-control-prev {
  left: -60px;
}

#customersCarousel .carousel-control-next {
  right: -60px;
}

/* Solo imágenes de Robotics Integration en Home */
.robotics-img {
  height: 360px;
  width: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.product-card:hover .robotics-img {
  transform: scale(1.05);
}

.footer-social-icon {
  height: 22px;
  width: auto;
  opacity: 0.75;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.footer-social-icon:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.contact-top {
  padding-top: 70px !important;
}

.contact-page {
  min-height: 70vh;
}

.contact-form-card {
  background: rgba(40, 120, 180, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 18px;
  padding: 22px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
}

.contact-form-card .form-control,
.contact-form-card .form-select {
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 10px 12px;
}

.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
  box-shadow: 0 0 0 0.2rem rgba(55, 119, 215, 0.2);
  border-color: rgba(55, 119, 215, 0.35);
}

.check-dot {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  color: rgba(0, 16, 48, 0.95);
  font-weight: 800;
  flex: 0 0 26px;
  margin-top: 2px;
}

.info-card {
  background: rgba(40, 120, 180, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  padding: 14px 16px;
}

.contact-graphic-sm {
  max-width: 260px;
  width: 100%;
  opacity: 0.18;
  margin-top: 28px;
}

.footer-text {
  color: #6c757d;
  text-decoration: none;
}

/* Brands carousel wrapper */
.brands-carousel {
  position: relative;
  padding: 6px 40px; /* deja espacio para flechas */
}

/* Flechas más a las orillas */
.brands-control {
  width: 44px;
  opacity: 0.8;
}
.brands-control:hover {
  opacity: 1;
}

.brands-control .carousel-control-prev-icon,
.brands-control .carousel-control-next-icon {
  filter: brightness(0); /* negras */
  opacity: 0.9;
}

/* Logo floating: sin recuadro, grande, gris -> color en hover */
.brand-logo {
  width: min(240px, 100%);
  max-height: 180px;
  height: auto;
  object-fit: contain;

  filter: grayscale(100%);
  opacity: 0.85;
  transition:
    filter 0.2s ease,
    opacity 0.2s ease,
    transform 0.2s ease;
}

.brand-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: translateY(-2px);
}

/* En móvil, que no se vean gigantes */
@media (max-width: 768px) {
  .brands-carousel {
    padding: 6px 28px;
  }
  .brand-logo {
    width: min(160px, 100%);
    max-height: 120px;
  }
}

.resource-carousel-img {
  height: 250px; /*190px*/
  object-fit: cover;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.usecase-img {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 12px;
}

.insight-card {
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

/* Modal */
.insight-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  align-items: center;
  justify-content: center;
}

.insight-modal-content {
  background: rgba(40, 120, 180, 1);
  color: #ffffff;
  padding: 32px;
  max-width: 600px;
  width: 90%;
  border-radius: 16px;
  position: relative;
}

.insight-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
}

.logo-marquee {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.logo-track {
  display: flex;
  gap: 18px;
  width: max-content;
  /*animation: logoScroll 30s linear infinite;*/
  animation-name: logoScroll;
  animation-duration: 60s !important;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.logo-item {
  flex: 0 0 auto;
  width: 160px;
}

.logo-marquee:hover .logo-track {
  animation-play-state: paused;
}

@keyframes logoScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.brands-track {
  gap: 28px;
}

.brand-item {
  flex: 0 0 auto;
  width: 180px;
  display: flex;
  align-items: center;
  justify-content: center;

  filter: grayscale(100%) brightness(2.5);
  opacity: 0.85;
}

.brand-item-eh {
  flex: 0 0 auto;
  width: 180px;
  display: flex;
  align-items: center;
  justify-content: center;

  filter: grayscale(100%) brightness(1);
  opacity: 0.85;
}

/* Hover sutil tipo "flotando" */
.brand-item:hover {
  transform: translateY(-4px) scale(1.05);
  filter: none;
}

.brand-item-eh:hover {
  transform: translateY(-4px) scale(1.05);
  filter: none;
}




.cap-img {
  width: 100%;
  height: 550px;
  object-fit: cover;
  object-position: center 5%;
  border-radius: 16px;
  display: block;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
}

/* Reverse order helper */
.cap-row.cap-reverse {
  grid-template-columns: 1fr 1.05fr;
}

.cap-row.cap-reverse .cap-text {
  order: 2;
}
.cap-row.cap-reverse .cap-media {
  order: 1;
}

/* Responsive */
@media (max-width: 992px) {
  .cap-row.cap-glass,
  .cap-row.cap-reverse {
    grid-template-columns: 1fr;
  }

  .cap-row.cap-reverse .cap-text,
  .cap-row.cap-reverse .cap-media {
    order: initial;
  }

  .cap-img {
    height: 200px;
  }
}

.revealed {
  opacity: 0;
  transition:
    opacity 1.5s ease,
    transform 1.5s ease !important;
}

.revealed:nth-child(odd) {
  transform: translateX(-80px);
}

.revealed:nth-child(even) {
  transform: translateX(80px);
}

.revealed.reveal-visible {
  opacity: 1;
  transform: translateX(0);
}

.revealed-2 {
  opacity: 0;
  transform: translateX(80px);
  transition:
    opacity 1.5s ease,
    transform 1.5s ease;
}

.revealed-2.reveal-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Large service cards */
.service-card-lg img {
  height: 260px;
  object-fit: cover;
}

.service-card-lg {
  padding: 1.25rem;
}

/* En pantallas grandes, un poco más altas */
@media (min-width: 992px) {
  .service-card-lg img {
    height: 300px;
  }
}

.product-card {
  position: relative;
  /*background: #ffffff;*/
  background: rgba(40, 120, 180, 0.5);
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  border-radius: 18px;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  will-change: transform;
}

.product-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 
    0 20px 40px rgba(0,0,0,0.25),
    0 0 30px rgba(0, 140, 255, 0.35);
}

.product-carousel .product-img {
  height: 220px;
  object-fit: cover;
}

.product-cta {
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(40, 120, 180, 0.5); /*rgba(0,0,0,.03)*/
  border-radius: 18px;
}

.btn-outline-primary {
  color: #fff;
  border-color: #fff;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: #fff;
  border-color: #fff;
  color: #000;
}

/* Título */
.cap-heading {
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 1rem;
  color: #f8fafc;
}

/* Grid */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}

/* Recuadros claros */
.cap-box {
  background: rgba(40, 120, 180, 0.3); /*rgba(155, 175, 200, 0.90)*/
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 14px;
  padding: 1rem 0.9rem;
  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;

  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    border-color 0.15s ease;
}

/* Hover sutil */
.cap-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.18);
  border-color: rgba(15, 23, 42, 0.25);
}

/* Contenedor del icono */
.cap-icon {
  width: 56px;
  height: 56px;
  border-radius: 8px;

  background: rgba(255, 255, 255, 0.6); /*rgba(15, 23, 42, 0.08)*/

  display: flex;
  align-items: center;
  justify-content: center;
}

/* SVG ahora oscuro */
.cap-svg {
  width: 22px;
  height: 22px;
  fill: #0f172a;
}

/* Texto negro */
.cap-label {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.25;
  color: #ffffff;
}

.cap-svg {
  width: 22px;
  height: 22px;
  display: block;
}

/* Responsive */
@media (max-width: 576px) {
  .cap-grid {
    grid-template-columns: 1fr;
  }
}

.footer-bottom {
  text-align: right;
  font-size: 0.85rem;
  color: #6c757d; /*rgba(255,255,255,0.65);*/
  padding: 20px 0 30px;
}

.back-to-top {
  position: fixed;
  right: 30px;
  bottom: 30px;

  width: 52px;
  height: 52px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: rgba(40, 120, 180, 0.9);
  color: white;
  text-decoration: none;
  font-size: 28px;
  font-weight: bold;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);

  transition:
    opacity 0.3s ease,
    transform 0.3s ease;

  opacity: 0;
  pointer-events: none;
  transform: translateY(15px);

  z-index: 999;
}

/* cuando aparece */
.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #3fa6e0;
}

.accordion-button {
  background: rgba(
    23,
    85,
    132,
    1
  ); /*rgba(23, 85, 132, 1)*/ /*rgba(0, 36, 100, 1)*/
}

.accordion-button:not(.collapsed) {
  background-color: #001c52; /* tu azul */
}

.accordion-body {
  background-color: rgba(40, 120, 180, 0.85);
  color: #fff;
}

.image-fill{
  width: 100%;
  height: 100%;
}

.image-fill img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

#automationCarousel{
  width: 100%;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
}

#automationCarousel .carousel-inner,
#automationCarousel .carousel-item{
  height: 100%;
}

#automationCarousel img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 767.98px) {
  #automationCarousel {
    height: 280px;
  }
}

.impact-section{
  position: relative;
  /*background:
    radial-gradient(circle at top left, rgba(63,166,224,0.18), transparent 26%),
    radial-gradient(circle at top center, rgba(110,70,255,0.14), transparent 22%),
    linear-gradient(180deg, #06152c 0%, #04101f 100%);*/
  overflow: hidden;
}

.impact-title{
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: -0.02em;
}

/*.impact-subtitle{
  color: rgba(255,255,255,0.78);
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.05rem;
}*/

.impact-card{
  position: relative;
  height: 100%;
  padding: 2rem 1.75rem 1.8rem;
  border-radius: 22px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  overflow: hidden;
}

.impact-card:hover{
  transform: translateY(-6px);
  background: rgba(255,255,255,0.11);
  box-shadow: 0 22px 46px rgba(0,0,0,0.24);
}

.impact-line{
  width: 100%;
  height: 3px;
  margin-bottom: 1.5rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #5fc7ff 0%, #7c79ff 55%, #ff4d6d 100%);
}

.impact-number{
  color: #ffffff;
  font-weight: 700;
  line-height: 1;
  font-size: clamp(2.5rem, 5vw, 4.2rem); /*clamp(2.8rem, 5vw, 4.4rem)*/
  margin-bottom: 1rem;
}

.impact-number .counter,
.impact-number .suffix{
  display: inline-block;
}

.impact-label{
  color: rgba(255,255,255,0.88);
  font-size: 1.05rem;
  line-height: 1.45;
  max-width: 260px;
}

@media (max-width: 767.98px){
  .impact-card{
    padding: 1.6rem 1.25rem 1.5rem;
  }

  .impact-label{
    max-width: none;
  }
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu .submenu {
  position: absolute;
  top: 0px;
  left: 100%;
  margin-left: 0px;
  display: none !important;
}

.dropdown-submenu:hover .submenu {
  display: block !important;
}

.dropdown-menu {
  overflow: visible;
}

.dropdown-item {
  padding: 0.7rem 1rem;
}

.submenu-toggle::after {
  content: "›";
  float: right;
  font-size: 18px;
}

.submenu .dropdown-item{
  padding: 8px 16px;
  line-height: 1.2;
}

.water-photo-adjust{
  object-position: 65% center;
}

/* ── Hamburger button ── */
.hamburger-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.hamburger-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Animación X al abrir */
.hamburger-btn.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger-btn.open span:nth-child(2) {
  opacity: 0;
}
.hamburger-btn.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile nav ── */
@media (max-width: 767.98px) {
  .hamburger-btn {
    display: flex !important;
  }

  #mainNav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    /* Azul translúcido */
    background: rgba(0, 16, 48, 0.80); /*rgba(40, 120, 180, 0.90);*/
    /* Efecto vidrio */
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 0 16px 0;
    z-index: 999;
  }

  #mainNav.open {
    display: flex !important;
  }

  #mainNav a.fw-bold,
  #mainNav a.nav-link-on-hero,
  #mainNav a:not(.btn):not(.dropdown-toggle):not(.fw-bold):not(.nav-link-on-hero) {
    color: #ffffff !important;
    padding: 10px 24px;
    width: 100%;
  }

  #mainNav .dropdown {
    width: 100%;
  }

  #mainNav .dropdown-toggle {
    padding: 10px 24px;
    width: 100%;
    display: block;
  }

  #mainNav .dropdown-menu {
    position: static !important;
    transform: none !important;
    box-shadow: none !important;
    background: rgba(40, 120, 180, 0.50);
    border: none;
    border-radius: 0;
    padding: 0;
    width: 100%;
  }

  #mainNav .dropdown-item {
    color: #cccccc;
    padding: 9px 36px;
  }

  #mainNav .dropdown-item:hover {
    background-color: #2a2a2a;
    padding-left: 42px;
    color: #fff;
  }

  #mainNav .btn.btn-dark {
    margin: 8px 24px 0 24px;
    width: calc(100% - 48px);
    text-align: center;
    background-color: rgba(255, 255, 255, 1) !important;
    border-color: transparent !important;
    color: #001030 !important;
  }

  /* Deshabilitar hover-dropdown en móvil */
  .dropdown:hover .dropdown-menu {
    display: none;
  }
}

@media (max-width: 767.98px) {
  #mainNav {
    display: none !important;
  }

  #mainNav.open {
    display: flex !important;
  }
}

@media (max-width: 767.98px) {
  /* Deshabilitar hover-dropdown en móvil */
  .dropdown:hover .dropdown-menu {
    display: none !important;
  }

  /* Permitir que Bootstrap maneje el click */
  #mainNav .dropdown-menu {
    display: none;
  }

  #mainNav .dropdown-menu.show {
    display: block !important;
  }
}

@media (max-width: 767.98px) {
  #mainNav .dropdown-menu {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
}

@media (max-width: 767.98px) {
  #mainNav .dropdown {
    margin-bottom: 0 !important;
  }

  /* En móvil, submenu-toggle solo se oscurece cuando está abierto */
  #mainNav .submenu-toggle:not(.submenu-active):hover,
  #mainNav .submenu-toggle:not(.submenu-active):focus,
  #mainNav .submenu-toggle:not(.submenu-active):active {
    background-color: transparent !important;
    color: #ffffff !important;
    outline: none;
    padding-left: 36px;
  }

  /* Color de selección solo cuando el submenu está abierto */
  #mainNav .submenu-toggle.submenu-active {
    background-color: #001030 !important;
    color: #fff !important;
  }

  /* Submenu accordion en móvil */
  #mainNav .dropdown-submenu .submenu {
    position: static !important;
    transform: none !important;
    left: auto !important;
    top: auto !important;
    display: none !important;
    background: rgba(20, 90, 150, 0.85);
    padding-left: 12px;
  }

  #mainNav .dropdown-submenu .submenu.show {
    display: block !important;
  }
}

/*
 * Extra utilities
 */

.flex-equal > * {
  flex: 1;
}
@media (min-width: 768px) {
  .flex-md-equal > * {
    flex: 1;
  }

  .submenu-toggle:focus,
  .submenu-toggle:active,
  .submenu-toggle:focus-visible {
    color: rgba(255, 255, 255, 0.92) !important;
    background-color: transparent !important;
    outline: none;
    box-shadow: none !important;
  }
}

.bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

/* ── Sticky header on mobile only ── */
@media (max-width: 767.98px) {
  .header-bg,
  .header-on-hero {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
  }

}
