/* Styles used only by cargo-storage.html. Hero + animasi disamakan dengan Products/Business. */

.btn {
  display: inline-block;
  padding: clamp(12px, 1vw, 16px) clamp(20px, 2.2vw, 34px);
  font-size: clamp(.72rem, .8vw, .86rem);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all .25s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-outline {
  background: transparent;
  border-color: var(--ae-gold);
  color: var(--ae-gold);
}

.btn-outline:hover {
  background: var(--ae-gold);
  color: #151206;
  transform: translateY(-2px);
}

.ae-hero {
  position: relative;
  height: clamp(560px, 72svh, 820px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.ae-hero-bg {
  position: absolute;
  top: -15%;
  left: 0;
  right: 0;
  bottom: -15%;
  background-size: cover;
  background-position: center;
  will-change: transform;
  z-index: 0;
}

.ae-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 10, 20, 0.55) 0%, rgba(5, 10, 20, 0.35) 40%, rgba(5, 8, 13, 0.95) 100%);
  z-index: 1;
}

.ae-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1440px;
  padding: clamp(40px, 5vh, 64px) clamp(24px, 8vw, 120px) clamp(64px, 8vh, 110px);
}

.ae-hero h1 {
  color: var(--ae-gold);
  font-weight: 800;
  font-size: clamp(2.1rem, 4.5vw, 4.5rem);
  line-height: 1.25;
  max-width: 22ch;
  margin-inline: auto;
  margin-bottom: 22px;
}

.ae-hero p {
  color: #f1f1f1;
  max-width: 58rem;
  margin-inline: auto;
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1.75;
  margin-bottom: 34px;
}

.ae-hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.ae-section {
  padding: clamp(4rem, 7vw, 8rem) clamp(24px, 7vw, 120px);
  background: var(--ae-black);
}

.ae-section-inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.ae-section h2 {
  text-align: center;
  color: #fff;
  font-weight: 700;
  font-size: clamp(2rem, 3vw, 3.25rem);
  margin-bottom: 12px;
  position: relative;
  display: block;
  text-transform: uppercase;
}

.ae-section h2 span {
  display: inline-block;
  position: relative;
}

.ae-section h2 span::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--ae-gold);
  border-radius: 2px;
}

.cargo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 1000px;
  margin: clamp(2.5rem, 4vw, 4rem) auto 0;
  align-items: start;
}

.cargo-card {
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.55);
  padding: 22px 22px 32px;
  display: flex;
  flex-direction: column;
  opacity: 1;
  transform: none;
}

body.js-anim .cargo-card {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .7s ease, transform .7s ease;
}

body.js-anim .cargo-card.is-visible {
  opacity: 1;
  transform: none;
}

.cargo-card-media {
  height: 230px;
  overflow: hidden;
  margin-bottom: 20px;
}

.cargo-card-media img {
  width: 100%;
  height: 130%;
  object-fit: cover;
  display: block;
  will-change: transform;
}

.cargo-card h3 {
  color: var(--ae-gold);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.cargo-card p {
  color: #e9e9e9;
  font-size: .9rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.cargo-card p:last-child {
  margin-bottom: 0;
}

.cargo-list {
  list-style: none;
  margin: 4px 0 16px;
  padding: 0;
  color: #e9e9e9;
  font-size: .9rem;
  line-height: 1.8;
}

@media (max-width: 700px) {
  .cargo-grid {
    grid-template-columns: 1fr;
  }

  .cargo-card-media {
    height: 200px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.js-anim .cargo-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
