/* Homepage — dhl.com layout + GoGreen premium ultimate */

.dhl-home { background: var(--surface); }

.dhl-home-hero {
  position: relative;
  min-height: clamp(520px, 62vh, 680px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 0;
  overflow: hidden;
}

.dhl-home-hero__content {
  position: relative;
  z-index: 1;
  padding: 88px 24px 128px;
  color: #fff;
  animation: heroFadeUp .7s ease-out both;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.dhl-home-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text);
  background: var(--dhl-yellow);
  padding: 6px 12px;
  margin-bottom: 16px;
}

.dhl-home-hero__title {
  font-size: clamp(36px, 5.5vw, 56px);
  font-weight: 700;
  letter-spacing: -.03em;
  margin-bottom: 20px;
  line-height: 1.05;
  text-shadow: 0 2px 24px rgba(0,0,0,.45);
  max-width: 14ch;
}

.dhl-home-hero__sub {
  font-size: 17px;
  color: rgba(255,255,255,.92);
  max-width: 520px;
  line-height: 1.65;
  margin-bottom: 0;
  text-shadow: 0 1px 12px rgba(0,0,0,.35);
}

.dhl-home-hero--short {
  min-height: clamp(400px, 48vh, 520px);
}

.dhl-home-hero--short .dhl-home-hero__content {
  padding: 64px 24px 108px;
}

.dhl-home-hero--short .dhl-home-hero__title {
  max-width: none;
  font-size: clamp(32px, 4.5vw, 44px);
}

.dhl-home-track {
  display: flex;
  max-width: 760px;
  box-shadow: 0 8px 32px rgba(0,0,0,.28);
  animation: heroFadeUp .7s .12s ease-out both;
}

.dhl-home-track input {
  flex: 1;
  border: none;
  padding: 16px 18px;
  font-size: 16px;
  font-family: var(--font);
  background: rgba(255,255,255,.95);
  min-width: 0;
  outline: none;
}

.dhl-home-track input:focus {
  background: #fff;
  box-shadow: inset 0 0 0 2px var(--dhl-red);
}

.dhl-home-track button {
  background: var(--dhl-red);
  color: #fff;
  border: none;
  padding: 0 36px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s;
  white-space: nowrap;
}

.dhl-home-track button:hover { background: var(--dhl-red-hover); }

.dhl-home-hero__hint {
  margin-top: 14px;
  font-size: 13px;
  color: rgba(255,255,255,.75);
}

.dhl-home-hero__hint button {
  background: none;
  border: none;
  color: var(--dhl-yellow);
  font-family: var(--font-mono);
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

.dhl-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  list-style: none;
  margin-top: 28px;
  padding: 0;
  animation: heroFadeUp .7s .25s ease-out both;
}

.dhl-hero-trust li {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  padding-left: 18px;
  position: relative;
}

.dhl-hero-trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  background: var(--dhl-yellow);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

/* Action tiles (dhl.com overlay cards) */
.dhl-action-tiles {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: -64px;
  margin-bottom: 0;
  padding-bottom: 56px;
  animation: heroFadeUp .7s .2s ease-out both;
}

.dhl-action-tiles--compact {
  margin-top: -52px;
  padding-bottom: 36px;
}

.dhl-action-tile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 30px 26px 34px;
  text-decoration: none;
  color: inherit;
  position: relative;
  min-height: 148px;
  transition: transform .2s ease, box-shadow .2s ease;
  border: 1px solid rgba(0,0,0,.06);
}

.dhl-action-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,.14);
  text-decoration: none;
  color: inherit;
}

.dhl-action-tile--white { background: #fff; }
.dhl-action-tile--gray { background: #E8E8E8; }
.dhl-action-tile--dark {
  background: #666;
  color: #fff;
}

.dhl-action-tile--dark .dhl-action-tile__sub { color: rgba(255,255,255,.8); }
.dhl-action-tile--dark .dhl-action-tile__icon { color: var(--dhl-yellow); }

.dhl-action-tile__badge {
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 36px 36px 0;
  border-color: transparent var(--dhl-yellow) transparent transparent;
}

.dhl-action-tile__icon {
  color: var(--dhl-red);
  margin-bottom: 4px;
}

.dhl-action-tile__title {
  font-size: 18px;
  font-weight: 700;
  color: inherit;
}

.dhl-action-tile__sub {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
  max-width: 280px;
}

/* Promo band */
.dhl-promo-band {
  background: linear-gradient(135deg, #E8F5EC 0%, #F5FAF7 100%);
  border-top: 4px solid var(--dhl-green);
  border-bottom: 1px solid #C5E0CC;
  padding: 64px 0;
}

.dhl-promo-band__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}

.dhl-promo-band__copy h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--dhl-green-dark);
}

.dhl-promo-band__copy p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 560px;
}

.dhl-promo-band__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.dhl-stat {
  background: #fff;
  border: 1px solid #C5E0CC;
  padding: 20px 16px;
  text-align: center;
}

.dhl-stat strong {
  display: block;
  font-size: 26px;
  font-weight: 700;
  color: var(--dhl-green-dark);
  margin-bottom: 4px;
}

.dhl-stat span {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.35;
}

/* Services section */
.dhl-services {
  padding: 64px 0;
  background: var(--bg);
}

.dhl-section-head {
  margin-bottom: 36px;
}

.dhl-section-head h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 6px;
}

.dhl-section-head__sub {
  font-size: 15px;
  color: var(--text-muted);
}

.dhl-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.dhl-service-card {
  background: #fff;
  border: 1px solid var(--border);
  padding: 28px 24px 32px;
  display: flex;
  flex-direction: column;
}

.dhl-service-card--featured {
  border-top: 4px solid var(--dhl-green);
  box-shadow: 0 8px 32px rgba(0,124,57,.12);
  transform: translateY(-2px);
}

.dhl-service-card__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--dhl-green);
  margin-bottom: 10px;
}

.dhl-service-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.dhl-service-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.dhl-service-card__list {
  list-style: none;
  margin-bottom: 20px;
  flex: 1;
}

.dhl-service-card__list li {
  font-size: 13px;
  color: var(--text);
  padding: 6px 0 6px 18px;
  position: relative;
}

.dhl-service-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  background: var(--dhl-red);
}

.dhl-service-card__link {
  font-size: 14px;
  font-weight: 700;
  color: var(--dhl-red);
}

.dhl-service-card__link:hover { text-decoration: underline; }

/* Sustainability banner */
.dhl-sustainability {
  padding: 0 0 64px;
  background: var(--bg);
}

.dhl-sustainability__card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background: #fff;
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  min-height: 280px;
  transition: box-shadow .2s;
}

.dhl-sustainability__card:hover {
  box-shadow: var(--shadow-md);
  text-decoration: none;
  color: inherit;
}

.dhl-sustainability__content {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dhl-sustainability__content h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 14px;
}

.dhl-sustainability__content p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.dhl-sustainability__cta {
  font-size: 14px;
  font-weight: 700;
  color: var(--dhl-red);
}

.dhl-sustainability__visual {
  background-image:
    linear-gradient(135deg, rgba(0,124,57,.88) 0%, rgba(0,0,0,.15) 100%),
    var(--hero-image);
  background-position: center 30%;
  background-size: cover;
  min-height: 280px;
}

/* Updates / why section */
.dhl-updates {
  padding: 64px 0 80px;
  background: #fff;
  border-top: 1px solid var(--border-light);
}

.dhl-updates__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.dhl-update-card {
  padding: 28px 0;
  border-top: 3px solid var(--dhl-yellow);
}

.dhl-update-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.dhl-update-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

@media (max-width: 960px) {
  .dhl-action-tiles { grid-template-columns: 1fr; margin-top: -24px; }
  .dhl-promo-band__inner { grid-template-columns: 1fr; }
  .dhl-promo-band__stats { grid-template-columns: 1fr; }
  .dhl-services__grid { grid-template-columns: 1fr; }
  .dhl-sustainability__card { grid-template-columns: 1fr; }
  .dhl-sustainability__visual { min-height: 160px; }
  .dhl-updates__grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .dhl-home-hero { min-height: 440px; }
  .dhl-home-hero__content { padding: 48px 24px 80px; }
  .dhl-home-track { flex-direction: column; }
  .dhl-home-track button { padding: 16px; }
}
