/* NAV FIX - exact header classes - desktop + mobile */
.dfz-dhl-header,
.header-wrapper,
header.dfz-dhl-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 9999 !important;
}

.dnd-section:has(.dfz-dhl-header) {
  position: relative !important;
  z-index: 100 !important;
}

.dnd-section:has(.dhl-hero) {
  position: relative !important;
  z-index: 1 !important;
}

.widget_1767634033240,
.dfz-dhl-header,
.dnd-section:has(.dfz-dhl-header),
.dnd-section:has(.dfz-dhl-header) > .row-fluid,
.dnd-section:has(.dfz-dhl-header) .dnd-column,
.dnd-section:has(.dfz-dhl-header) .dnd-module,
.dnd-section:has(.dfz-dhl-header) .widget-span,
.dnd-section:has(.dfz-dhl-header) .hs_cos_wrapper {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

@media (max-width: 1200px) {
  .dfz-dhl-header,
  .dnd-section:has(.dfz-dhl-header),
  .dnd-section:has(.dfz-dhl-header) .row-fluid,
  .dnd-section:has(.dfz-dhl-header) .dnd-column,
  .dnd-section:has(.dfz-dhl-header) .widget-span,
  .dnd-section:has(.dfz-dhl-header) .hs_cos_wrapper,
  .dnd-section:has(.dhl-hero),
  .dnd-section:has(.dhl-hero) .row-fluid,
  .dnd-section:has(.dhl-hero) .dnd-column,
  .dnd-section:has(.dhl-hero) .widget-span {
    background-color: #000000 !important;
  }
}

@media (max-width: 768px) {
  .dhl-hero__overlay,
  .dhl-hero__video + div {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    background: #000000 !important;
  }
  /* Viñeta difuminada derecha a izquierda */
  .dhl-hero__video::after,
  .dhl-hero__video-fade {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(to left, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
    z-index: 2;
    pointer-events: none;
  }
  .dfz-dhl-header,
  .header-wrapper,
  header.dfz-dhl-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
  }
  .dhl-hero {
    margin-top: -92px !important;
    padding-top: 0 !important;
    z-index: 0 !important;
    background: #000000 !important;
  }
}

.dhl-hero {
  margin-top: 0;
  padding-top: 0;
  position: relative;
  width: 100%;
  min-height: 820px;
  display: flex;
  align-items: center;
  overflow: visible;
  background: #000;
  border-radius: 0;
  box-sizing: border-box;
  z-index: 0;
  isolation: auto;
}

/* Force section wrapper to go behind nav */
.dhl-hero__outer,
[class*="widget-span"] .dhl-hero,
.cell .dhl-hero {
  position: relative;
  z-index: 0 !important;
}

.dhl-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  z-index: 0;
}

.dhl-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.55) 50%,
    rgba(0, 0, 0, 0.15) 100%
  );
  z-index: 1;
}

.dhl-hero__triangle {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 216px 216px;
  border-color: transparent transparent #ffc400 transparent;
  z-index: 2;
}

.dhl-hero__badge {
  position: absolute;
  top: 50%;
  right: 60px;
  transform: translateY(-80%);
  z-index: 3;
  width: 110px;
  height: 110px;
}

.dhl-hero__badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.dhl-hero__content {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 64px 25px;
  box-sizing: border-box;
}

.dhl-hero__heading {
  font-size: 4.2rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
  margin: 0 0 24px;
  letter-spacing: -0.5px;
}

.dhl-hero__heading-highlight {
  color: #FFCc00;
}

.dhl-hero__body {
    font-size: 1.32rem;
    color: #ffffff;
    line-height: 1.3;
  margin: 0 0 16px;
  max-width: 100%;
}

.dhl-hero__body-highlight {
    color: #FFCC00;
  font-weight: 500;
}

.dhl-hero__subtext {
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 32px;
}

.dhl-hero__heading,
.dhl-hero__body,
.dhl-hero__subtext {
  max-width: 640px;
}

.dhl-hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  min-width: 222px;
  height: 49px;
  box-sizing: border-box;
  background-color: #d40511;
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 700;
  text-decoration: none;
  padding: 14px 20px 12px;
  border-radius: 27px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  letter-spacing: 0.2px;
}

.dhl-hero__button:hover {
  background-color: #b0040e;
  transform: scale(1.04);
}

.dhl-hero__button-arrow {
  display: block;
  height: 20px;
  width: auto;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .dhl-hero__content { padding: 48px 25px; }
  .dhl-hero__heading { font-size: 2.4rem; }
  .dhl-hero__badge { right: 32px; width: 88px; height: 88px; }
}





@media (max-width: 768px) {

  /* Hacer el header sticky para que quede siempre encima */
  .nav-width-flex,
  .placeholder-nav {
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
  }

  .dhl-hero {
    flex-direction: column;
    min-height: auto;
    border-radius: 0;
    margin-top: 0;
    padding-top: 0;
    width: 100%;
    z-index: 1;
    background: #000000;
  }
  .dhl-hero__video {
    position: relative;
    width: calc(100% + 10px);
    margin-left: -10px;
    height: 75vw;
    min-height: 340px;
    margin-top: 32px;
    object-fit: cover;
    object-position: calc(80% - 15px) calc(50% + 20px);
    /* placeholdernter;
  }
  .dhl-hero__overlay { display: none; }
  .dhl-hero__triangle { display: none; }
  .dhl-hero__badge {
    position: absolute;
    top: 12px;
    right: 12px;
    transform: none;
    width: 68px;
    height: 68px;
    z-index: 2;
  }
  .dhl-hero__content {
    position: relative;
    z-index: 2;
    background: #000000;
    padding: 28px 20px 36px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .dhl-hero__heading { font-size: 3.1rem; margin-bottom: 16px; }
  .dhl-hero__body { font-size: 1.15rem; margin-bottom: 12px; color: #cccccc; max-width: 100%; }
  .dhl-hero__subtext { font-size: 1.1rem; margin-bottom: 24px; }
  .dhl-hero__button { width: 100%; justify-content: center; padding: 18px 28px; font-size: 1.27rem; border-radius: 999px; }
}

@media (max-width: 480px) {
  .dhl-hero__heading { font-size: 2.6rem; }
  .dhl-hero__video { height: 70vw; }
}

@media (max-width: 768px) {
  /* Text adjustments */
  .dhl-hero__body {
    color: #ffffff !important;
    line-height: 1.3 !important;
    font-size: calc(1.15rem * 0.85) !important;
  }
  .dhl-hero__body-highlight {
    color: #ffc400 !important;
  }
  /* Hide yellow triangle */
  .dhl-hero__triangle {
    display: none !important;
  }
}

/* Fix white/grey gap on mobile */
@media (max-width: 768px) {
  body, html,
  .row-fluid, .row-fluid-wrapper, .dnd-row, .dnd-column,
  .span12, .widget-span, .hs_cos_wrapper {
    background-color: #ffffff !important;
  }
  .dfz-dhl-header {
    margin-bottom: 0 !important;
  }
  .row-fluid-wrapper,
  .row-fluid,
  .dnd-row,
  .dnd-column {
    background-color: #ffffff !important;
  }
}

.widget_1767634033240 {
  margin-bottom: 0 !important;
}

@media (max-width: 768px) {
  .dhl-hero__triangle {
    display: none !important;
  }
}
/* BR solo desktop */
.dhl-br-desktop { display: block; }
@media (max-width: 768px) {
  .dhl-br-desktop { display: none; }
}