/* ============================================================
   Air Freight page - design layer
   Reuses the shared brand system (marlett-eyebrow, tokens,
   radius, type scale) defined in marlett-brand.css.
   ============================================================ */

.air-freight-page {
  --af-navy: #06265e;
  --af-navy-deep: #041b43;
  --af-orange: #ff7a1a;
  --af-orange-deep: #b74700;
  --af-border: #e1e7f0;
  --af-text: #46546a;
  --af-muted: #66758b;
  --af-bg: #f2f5fa;
}

/* ---------- shared section header ---------- */
.marlett-af-section-head {
  margin: 0 0 30px;
}
.marlett-af-section-head h2 {
  margin: 0;
  color: var(--af-navy);
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.2;
  letter-spacing: -.025em;
}
.marlett-af-section-head .marlett-eyebrow {
  color: var(--af-orange-deep);
}

/* ---------- lead ---------- */
.marlett-af-lead {
  background: var(--af-bg);
  padding: 72px 0;
  border-bottom: 1px solid #e3e9f1;
}
.marlett-af-lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
}
.marlett-af-lead-copy h2 {
  margin: 0 0 18px;
  color: var(--af-navy);
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.15;
  letter-spacing: -.03em;
}
.marlett-af-lead-copy p {
  margin: 0;
  max-width: 52ch;
  color: var(--af-text);
  font-size: 16px;
  line-height: 1.8;
}
.marlett-af-lead-media {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 44px rgba(6, 38, 94, .12);
}
.marlett-af-lead-media img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
  padding: 0;
}

/* ---------- how it works ---------- */
.marlett-af-how {
  padding: 72px 0;
  background: #fff;
}
.marlett-af-how-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.marlett-af-how-card {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid var(--af-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(6, 38, 94, .04);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.marlett-af-how-card:hover {
  border-color: var(--af-orange);
  box-shadow: 0 14px 34px rgba(6, 38, 94, .1);
  transform: translateY(-3px);
}
.marlett-af-how-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.marlett-af-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 13px;
  background: #fff0e4;
  color: var(--af-orange-deep);
}
.marlett-af-step {
  font: 700 32px/1 "Urbanist", sans-serif;
  color: #c6d0de;
  letter-spacing: -.02em;
}
.marlett-af-how-card h3 {
  margin: 0 0 10px;
  color: var(--af-navy);
  font-size: 22px;
  line-height: 1.25;
}
.marlett-af-how-card p {
  margin: 0;
  max-width: 46ch;
  color: var(--af-muted);
  font-size: 15px;
  line-height: 1.75;
}

/* ---------- packing + calculator ---------- */
.marlett-af-tools {
  padding: 72px 0;
  background: var(--af-bg);
  border-top: 1px solid #e3e9f1;
}
.marlett-af-tools-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 28px;
}
.marlett-af-media {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  padding: 24px;
  min-height: 100%;
}
.marlett-af-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  min-height: 0;
}

.marlett-af-calc-card {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid var(--af-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(6, 38, 94, .04);
}
.marlett-af-calc-card h3 {
  margin: 0 0 6px;
  color: var(--af-navy);
  font-size: 22px;
  line-height: 1.25;
}
.marlett-af-calc-card form {
  margin: 18px 0 0;
}
.marlett-af-calc-card label {
  display: block;
  margin: 0 0 6px;
  color: var(--af-text);
  font: 600 13px/1.4 "Inter", sans-serif;
}
.marlett-af-calc-card .form-control {
  border-color: var(--af-border);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--af-text);
  background-color: #fff;
}
.marlett-af-calc-card .form-control:focus {
  border-color: var(--af-orange);
  box-shadow: 0 0 0 3px rgba(255, 122, 26, .14);
}
.marlett-af-calc-card details summary {
  color: var(--af-navy);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}
.marlett-af-calc-card details p {
  margin: 10px 0 12px;
  color: var(--af-muted);
  font-size: 13px;
  line-height: 1.7;
}
.marlett-af-hint {
  margin: 0 0 18px;
  color: var(--af-muted);
  font-size: 12px;
  line-height: 1.65;
}
.marlett-af-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 13px 24px;
  border: 0;
  border-radius: 8px;
  background: var(--af-orange);
  color: var(--af-navy);
  font: 700 16px/1.4 "Urbanist", sans-serif;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.marlett-af-submit:hover {
  background: var(--af-navy);
  color: #fff;
}
.marlett-af-submit:focus-visible {
  outline: 3px solid rgba(6, 38, 94, .35);
  outline-offset: 2px;
}
.marlett-af-result {
  margin: 16px 0 0;
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--af-bg);
  color: var(--af-text);
  font-size: 14px;
  line-height: 1.7;
}
.marlett-af-more {
  margin: auto 0 0;
  padding-top: 18px;
  color: var(--af-muted);
  font-size: 13px;
  text-align: right;
}
.marlett-af-more a {
  color: var(--af-navy);
  font-weight: 700;
  text-decoration: none;
}
.marlett-af-more a:hover {
  color: var(--af-orange-deep);
}

/* ---------- straight talk ---------- */
.marlett-af-talk-label { display:block; margin-bottom:12px; color:#ffb77f; font-size:12px; font-weight:700; letter-spacing:2px; text-transform:uppercase; }
.marlett-af-delivery-note { display:grid; grid-template-columns:210px minmax(0,1fr); gap:32px; align-items:start; margin-top:30px; text-align:left; }
.marlett-af-delivery-time { padding:25px 20px; border:1px solid #ffffff30; border-top:3px solid #ff7a22; border-radius:12px; background:#ffffff08; text-align:center; color:#e5edf8; }
.marlett-af-delivery-time span { display:block; font-size:13px; line-height:1.7; }
.marlett-af-delivery-time strong { display:block; margin:12px 0 5px; font-size:48px; line-height:1.1; letter-spacing:-2px; color:#fff; }
.marlett-af-talk-inner .marlett-af-delivery-copy p { margin:0 0 16px; font-size:15px; line-height:1.8; }
.marlett-af-delivery-copy strong { color:#fff; }
.marlett-af-talk-inner .marlett-af-delivery-copy .marlett-af-delivery-promise { margin-bottom:0; padding-top:16px; border-top:1px solid #ffffff24; color:#ffccaa; font-size:14px; }
@media(max-width:600px) { .marlett-af-delivery-note { grid-template-columns:1fr; gap:24px; } .marlett-af-delivery-time { padding:20px; } }
.marlett-af-talk {
  background: var(--af-navy);
  padding: 68px 0;
}
.marlett-af-talk-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: left;
}
.marlett-af-talk-inner h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -.02em;
}
.marlett-af-talk-inner p {
  margin: 0;
  color: #ccd6e5;
  font-size: 16px;
  line-height: 1.9;
}

/* ---------- rates widget ---------- */
.air-freight-page .website-rates {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--af-border);
}

/* ---------- responsive ---------- */
@media (max-width: 991px) {
  .marlett-af-lead,
  .marlett-af-how,
  .marlett-af-tools {
    padding: 56px 0;
  }
  .marlett-af-lead-grid,
  .marlett-af-tools-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .marlett-af-lead-media img,
  .marlett-af-media img {
    min-height: 0;
  }
}

@media (max-width: 767px) {
  .marlett-af-how-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .marlett-af-how-card,
  .marlett-af-calc-card {
    padding: 24px;
  }
  .marlett-af-talk {
    padding: 48px 0;
  }
}

@media (max-width: 575px) {
  .marlett-af-lead,
  .marlett-af-how,
  .marlett-af-tools {
    padding: 44px 0;
  }
  .marlett-af-lead-media img,
  .marlett-af-media img {
    min-height: 0;
    aspect-ratio: auto;
  }
  .marlett-af-more {
    text-align: left;
  }
}

/* ------------------------------------------------------------
   Air Freight page - hero and image band added in the redesign.
   Scoped to .air-freight-page so nothing else is affected.
   ------------------------------------------------------------ */
.air-freight-page .af2-hero {
  position: relative;
  background: #041b43 url('../images/service/marlett-air-cargo-terminal.png') center/cover no-repeat;
  min-height: 430px;
  display: flex; align-items: center;
  isolation: isolate;
}
.air-freight-page .af2-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(4,27,67,.95) 0%, rgba(4,27,67,.88) 46%, rgba(4,27,67,.5) 100%);
}
.air-freight-page .af2-hero-inner { max-width: 720px; padding: 82px 0; }
.air-freight-page .af2-hero .marlett-eyebrow { color: #ff7a1a; }
.air-freight-page .af2-hero h1 {
  color: #fff; font: 800 46px/1.12 inherit; margin: 0 0 18px;
}
.air-freight-page .af2-hero p { color: #d7e0f2; font-size: 18px; margin: 0; max-width: 620px; }
.air-freight-page .af2-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.air-freight-page .af2-btn {
  display: inline-block; padding: 13px 28px; border-radius: 4px;
  font-weight: 700; font-size: 15px; transition: all .18s ease;
}
.air-freight-page .af2-btn-primary { background: #ff7a1a; color: #fff; }
.air-freight-page .af2-btn-primary:hover { background: #e96a10; color: #fff; }
.air-freight-page .af2-btn-ghost { border: 2px solid rgba(255,255,255,.65); color: #fff; }
.air-freight-page .af2-btn-ghost:hover { background: #fff; color: #041b43; }

.air-freight-page .af2-band { padding: 66px 0; background: #f4f6fa; }
.air-freight-page .af2-band .marlett-af-section-head { margin-bottom: 30px; }
.air-freight-page .af2-band-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center; }
.air-freight-page .af2-band-media img { width: 100%; height: auto; border-radius: 12px; }
.air-freight-page .af2-band-copy h3 { font-size: 24px; color: #06265e; margin: 0 0 12px; }
.air-freight-page .af2-band-copy p { color: #66758b; margin: 0 0 14px; line-height: 1.75; }
.air-freight-page .af2-band-copy ul { margin: 18px 0 0; padding-left: 20px; color: #4a5a75; }
.air-freight-page .af2-band-copy li { margin-bottom: 8px; line-height: 1.6; }

.air-freight-page .af2-cta { padding: 66px 0; background: #fff; text-align: center; }
.air-freight-page .af2-cta h2 { font-size: 32px; color: #06265e; margin: 0 0 14px; }
.air-freight-page .af2-cta p { color: #66758b; max-width: 620px; margin: 0 auto 26px; }

@media (max-width: 991px) {
  .air-freight-page .af2-hero h1 { font-size: 36px; }
  .air-freight-page .af2-hero-inner { padding: 60px 0; }
  .air-freight-page .af2-band-grid { grid-template-columns: 1fr; gap: 26px; }
  .air-freight-page .af2-band, .air-freight-page .af2-cta { padding: 48px 0; }
}
@media (max-width: 575px) {
  .air-freight-page .af2-hero h1 { font-size: 30px; }
}
