/*
 * V22 home-section alignment for the YLT-inspired preview.
 * Existing section order, copy, routes, and interactions remain authoritative.
 * The history section is intentionally excluded; it is styled by v22-timeline.css.
 */

:root {
  --v22-red: #c52f38;
  --v22-ink: #20272b;
  --v22-muted: #69747a;
  --v22-line: #e3e6e7;
  --v22-wash: #f5f6f6;
}

/* Reference rhythm: white brand strip, dark nav, then a broad visual opening. */
.site-header { background: #fff; }
.v16-brand-bar { min-height: 78px; }
.v16-nav-band { background: #151719; }
.v16-hero { background: #f4f5f5; }
.v16-carousel-track,
.v16-slide-copy { min-height: clamp(500px, 51vw, 700px); }
.v16-slide > img { object-position: center 52%; }
.v16-slide-shade {
  background:
    linear-gradient(90deg, rgb(12 21 27 / 72%) 0%, rgb(15 25 31 / 43%) 42%, rgb(19 30 36 / 8%) 100%),
    linear-gradient(0deg, rgb(14 23 28 / 20%), transparent 45%);
}
.v16-slide-copy { padding-top: 64px; padding-bottom: 84px; }
.v16-slide h1,
.v16-slide h2 { max-width: 740px; font-size: clamp(44px, 5.2vw, 72px); }
.v16-image-caption { font-size: 11px; }

/* Company figures and carrier marks form one open proof band, without logo tiles. */
.v16-resources { padding: 72px 0 60px; }
.v16-resources .v16-section-intro { margin-bottom: 38px; }
.v16-stats { padding: 30px 0 33px; }
.v16-stat { padding-inline: 26px; }
.v16-stat strong { font-size: clamp(27px, 3vw, 40px); }
.v16-carriers { gap: 18px; padding-top: 30px; }
.v16-carrier-logos { min-height: 54px; gap: 20px 28px; }
.v16-carrier-logos img { max-width: 112px; height: 32px; }
.v16-carriers > small { color: #69747a; font-size: 12px; line-height: 1.7; }

/* Full-width corporate-film band. Keep the supplied movie and disclosure intact. */
.v17-film { background: #171a1c; }
.v17-film video { max-height: min(68vw, 760px); }
.v17-film .v16-media-caption { width: min(1200px, calc(100% - 64px)); padding-block: 24px 28px; }

/* Large Iraq feature first, followed by three matching image-led service items. */
.v16-iraq-services { padding: 88px 0 90px; }
.v16-iraq-services .v16-section-intro { max-width: 850px; margin-bottom: 36px; }
.v16-service-feature {
  grid-template-columns: 1.12fr .88fr;
  min-height: 390px;
  margin-top: 0;
  background: var(--v22-wash);
}
.v16-service-image,
.v16-service-image img { min-height: 390px; }
.v16-service-copy { padding: 46px clamp(30px, 5vw, 72px); }
.v16-service-copy h3 { max-width: 520px; font-size: clamp(25px, 2.6vw, 34px); }
.v16-service-copy p { max-width: 490px; font-size: 14px; line-height: 1.9; }
.v16-service-grid { gap: 24px; margin-top: 35px; }
.v16-service-grid article { padding-bottom: 22px; border-bottom-color: #d8dddf; }
.v16-service-grid img { height: clamp(175px, 18vw, 245px); }
.v16-service-grid small { margin-top: 17px; font-size: 11px; }
.v16-service-grid h3 { font-size: 19px; }
.v16-service-grid p { max-width: 380px; font-size: 13px; line-height: 1.8; }
.v16-note { font-size: 11px; }

/* Why Jingyuan: strong image area and restrained red accents, no unsupported metrics. */
.v16-advantages { padding: 88px 0 90px; }
.v16-advantages .v16-section-intro { max-width: 860px; margin-bottom: 38px; }
.v16-advantage-grid { gap: 22px; }
.v16-advantage-grid article { border-color: var(--v22-line); }
.v16-advantage-grid article > img { height: clamp(205px, 21vw, 275px); }
.v16-advantage-grid article > div { padding: 20px 21px 24px; }
.v16-advantage-grid h3 { font-size: 20px; }
.v16-advantage-grid p { font-size: 13px; line-height: 1.8; }

/* Image-led cargo taxonomy. Each existing card retains its present destination URL. */
.v16-cargo { padding: 84px 0 88px; }
.v16-cargo .v16-section-intro { max-width: 860px; margin-bottom: 36px; }
.v16-cargo-grid { gap: 18px; }
.v16-cargo-grid a { border-color: var(--v22-line); }
.v16-cargo-grid img { height: clamp(175px, 17vw, 230px); }
.v16-cargo-grid small { padding: 15px 17px 0; font-size: 11px; }
.v16-cargo-grid strong { padding: 7px 17px 14px; font-size: 15px; }
.v16-cargo-grid span { padding: 0 17px 17px; font-size: 12px; }

/* Broad destination image and clear textual explanation. */
.v16-destination { min-height: 470px; }
.v16-destination-photo,
.v16-destination-photo img { min-height: 470px; }
.v16-destination-copy { padding-inline: clamp(34px, 7vw, 104px); }
.v16-destination-copy h2 { max-width: 560px; font-size: clamp(30px, 3.4vw, 43px); }
.v16-destination-copy p { font-size: 15px; line-height: 1.9; }

/* Final service/knowledge wayfinding remains the existing three-link set. */
.v16-service-entries { padding: 84px 0 88px; }
.v16-entry-grid { border-color: #d9dddf; }
.v16-entry-grid a { min-height: 176px; padding: 25px 30px; }
.v16-entry-grid strong { font-size: 17px; }
.v16-entry-grid span { font-size: 12px; }
.v16-footer { padding-block: 34px 27px; }

/* The target's map/service gallery rhythm, using only the nine and six existing items. */
.v22-locations { padding: 20px 0 78px; background: #fff; }
.v22-locations-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.v22-locations-grid a {
  position: relative;
  display: block;
  min-width: 0;
  aspect-ratio: 1.55 / 1;
  overflow: hidden;
  background: #e9edef;
}
.v22-locations-grid a::after {
  position: absolute;
  inset: 42% 0 0;
  background: linear-gradient(transparent, rgb(16 24 29 / 72%));
  content: "";
  pointer-events: none;
}
.v22-locations-grid img { display: block; width: 100%; height: 100%; object-fit: cover; }
.v22-locations-grid span {
  position: absolute;
  z-index: 1;
  right: 12px;
  bottom: 11px;
  left: 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .03em;
  text-shadow: 0 1px 8px rgb(0 0 0 / 34%);
}
.v22-locations > .v8-shell > .v16-note { margin-top: 13px; }
.v22-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.v22-service-grid a {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  background: #f4f5f5;
  color: var(--v22-ink);
}
.v22-service-grid img { display: block; width: 100%; aspect-ratio: 1.62 / 1; object-fit: cover; }
.v22-service-grid strong {
  min-height: 62px;
  padding: 18px 20px;
  border-bottom: 2px solid var(--v22-red);
  font-size: 17px;
  font-weight: 680;
  line-height: 1.5;
}
.v16-service-entries .v16-section-intro { margin-bottom: 34px; }
.v22-service-grid a:focus-visible { outline: 3px solid var(--v22-red); outline-offset: 3px; }

@media (max-width: 960px) {
  .v16-carousel-track,
  .v16-slide-copy { min-height: 570px; }
  .v16-service-feature { min-height: 330px; }
  .v16-service-image,
  .v16-service-image img { min-height: 330px; }
  .v16-service-grid { gap: 16px; }
  .v16-service-grid img { height: 170px; }
  .v16-advantage-grid { gap: 14px; }
  .v16-advantage-grid article > img { height: 195px; }
  .v16-cargo-grid { gap: 13px; }
  .v16-cargo-grid img { height: 155px; }
  .v16-destination,
  .v16-destination-photo,
  .v16-destination-photo img { min-height: 390px; }
  .v22-locations-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .v22-service-grid { gap: 14px; }
  .v22-service-grid strong { padding: 15px 16px; font-size: 15px; }
}

@media (max-width: 700px) {
  .v16-brand-bar { min-height: 66px; }
  .v16-carousel-track,
  .v16-slide-copy { min-height: 565px; }
  .v16-slide-copy { padding-top: 38px; padding-bottom: 78px; }
  .v16-slide h1,
  .v16-slide h2 { font-size: clamp(35px, 9vw, 48px); }
  .v16-resources,
  .v16-iraq-services,
  .v16-advantages,
  .v16-cargo,
  .v16-service-entries { padding-block: 54px; }
  .v16-resources .v16-section-intro,
  .v16-iraq-services .v16-section-intro,
  .v16-advantages .v16-section-intro,
  .v16-cargo .v16-section-intro { margin-bottom: 24px; }
  .v16-stat strong { font-size: 25px; }
  .v16-carriers { padding-top: 22px; }
  .v16-carrier-logos { gap: 13px 17px; }
  .v16-carrier-logos img { max-width: 78px; height: 25px; }
  .v17-film video { max-height: none; }
  .v17-film .v16-media-caption { width: calc(100% - 36px); padding: 17px 0 20px; }
  .v16-service-feature { grid-template-columns: 1fr; min-height: 0; }
  .v16-service-image,
  .v16-service-image img { height: 255px; min-height: 255px; }
  .v16-service-copy { padding: 27px 21px 31px; }
  .v16-service-grid { grid-template-columns: 1fr; gap: 22px; margin-top: 24px; }
  .v16-service-grid img { height: auto; aspect-ratio: 16 / 10; }
  .v16-service-grid p { max-width: none; }
  .v16-advantage-grid { grid-template-columns: 1fr; gap: 14px; }
  .v16-advantage-grid article > img { height: auto; aspect-ratio: 16 / 9; }
  .v16-advantage-grid article > div { padding: 16px 17px 19px; }
  .v16-cargo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .v16-cargo-grid img { height: auto; aspect-ratio: 4 / 3; }
  .v16-cargo-grid small { padding: 11px 11px 0; font-size: 10px; }
  .v16-cargo-grid strong { padding: 6px 11px 11px; font-size: 13px; }
  .v16-cargo-grid span { padding: 0 11px 12px; font-size: 10px; }
  .v16-destination { grid-template-columns: 1fr; min-height: 0; }
  .v16-destination-photo,
  .v16-destination-photo img { height: 260px; min-height: 260px; }
  .v16-destination-copy { padding: 29px 21px 35px; }
  .v16-destination-copy p { font-size: 13px; }
  .v16-entry-grid a { min-height: 130px; padding: 19px 20px; }
  .v22-locations { padding: 14px 0 54px; }
  .v22-locations-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .v22-locations-grid span { right: 9px; bottom: 9px; left: 9px; font-size: 12px; }
  .v22-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .v22-service-grid strong { min-height: 58px; padding: 12px; font-size: 13px; }
}

@media (max-width: 380px) {
  .v16-cargo-grid { grid-template-columns: 1fr; }
  .v16-cargo-grid img { aspect-ratio: 16 / 10; }
  .v16-carrier-logos { gap: 12px 14px; }
  .v16-carrier-logos img { max-width: 70px; }
}

@media (prefers-reduced-motion: reduce) {
  .v16-slide { transition: none !important; }
}
html[data-v22-motion="reduced"] .v16-slide { transition: none !important; }
/* Footer directory: keep every link within the local Jingyuan preview. */
.v22-footer-grid { display: grid; grid-template-columns: 1.7fr repeat(4, 1fr); gap: 32px; align-items: start; }
.v22-footer-grid nav { display: flex; flex-direction: column; gap: 11px; }
.v22-footer-grid nav strong { font-size: 15px; }
.v22-footer-grid nav a, .v22-footer-grid p { font-size: 13px; line-height: 1.7; }
.v22-footer-grid p { max-width: 300px; }
@media (max-width: 900px) { .v22-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px; } .v22-footer-grid > div { grid-column: 1 / -1; } }
@media (max-width: 420px) { .v22-footer-grid { gap: 22px 16px; } }
