/**
 * Base compartida para demos Uribe Web Solutions.
 * Responsive, imágenes y accesibilidad táctil.
 */
*,
*::before,
*::after {
  box-sizing: border-box;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.u-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: clamp(12px, 2.5vw, 24px);
  background: rgba(15, 23, 42, 0.35);
}

.u-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.u-banner {
  position: relative;
  border-radius: clamp(14px, 3vw, 28px);
  overflow: hidden;
  min-height: min(48vh, 380px);
}

.u-banner img {
  width: 100%;
  height: min(48vh, 380px);
  object-fit: cover;
}

.u-banner .u-banner__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(7, 10, 18, 0.92) 0%,
    rgba(7, 10, 18, 0.55) 45%,
    rgba(7, 10, 18, 0.35) 100%
  );
  pointer-events: none;
}

.u-banner .u-banner__inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.25rem, 5vw, 2.75rem);
}

.u-split {
  display: grid;
  gap: clamp(1.25rem, 4vw, 2.75rem);
}

@media (min-width: 768px) {
  .u-split--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
  }

  .u-split--62 {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
  }
}

figcaption {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 0.5rem;
  line-height: 1.4;
}

@media (max-width: 767px) {
  .u-order-mobile-2 {
    order: 2;
  }

  .u-order-mobile-1 {
    order: 1;
  }
}

button,
.btn,
a[role="button"],
.nav-cta {
  min-height: 44px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
