/* ============================================================================
 * home.css — index.html only.
 * ==========================================================================*/

/* ------------------------------------------------------------------- hero */
.hero--home { min-height: min(88vh, 760px); }
.hero--home .hero__inner { padding-block: clamp(96px, 15vw, 168px) clamp(110px, 16vw, 190px); }

/* Licence line under the hero CTAs — the first proof point a shipper looks for. */
.hero__licence {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin: 26px 0 0;
  padding: 9px 18px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(6px);
  font-size: .86rem;
  color: rgba(255, 255, 255, .85);
}
.hero__licence .ico { width: 16px; height: 16px; color: var(--amber); }
.hero__licence strong { color: #fff; font-weight: 800; }
.hero__licenceDot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: .5;
}

/* ------------------------------------------------------------ trust strip
 * Lifted up over the hero so the credentials are the first thing that breaks
 * the fold, rather than a band of empty page.
 * ------------------------------------------------------------------------ */
.trustwrap {
  position: relative;
  z-index: 3;
  margin-block-start: clamp(-88px, -9vw, -56px);
}

/* --------------------------------------------------------------- services */
.svccard { color: inherit; }
.svccard:hover { color: inherit; }
.svccard .card__body { padding-block-end: 14px; }

/* ------------------------------------------------------------------ fleet */
.media--framed {
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.fleetstats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-md);
  margin-block: var(--gap-md);
  padding-block: var(--gap);
  border-block: 1px solid var(--border);
}
.fleetstat { display: grid; gap: 2px; }
.fleetstat__value {
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--brand);
  letter-spacing: -.02em;
}
:root.is-ar .fleetstat__value { letter-spacing: 0; }
.fleetstat__label {
  font-size: .82rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* --------------------------------------------------------------- routes */
.routepreview { margin-block: var(--gap-md); }
.routepreview .chip { font-size: .84rem; padding: 7px 15px; }

/* --------------------------------------------------------------- why us */
.whycard {
  padding: var(--gap-md);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform .28s var(--ease-out), box-shadow .28s var(--ease-out);
}
.whycard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.whycard h3 { font-size: 1.1rem; margin-block-end: 8px; }
.whycard p { color: var(--text-muted); font-size: .95rem; margin: 0; }
.whycard .tile { margin-block-end: 16px; }

/* On the alt background the cards need a touch more contrast to separate. */
:root[data-theme="dark"] .whycard { background: var(--surface); border-color: var(--border); }

/* ---------------------------------------------------------------- mobile */
@media (max-width: 600px) {
  .hero--home { min-height: auto; }
  .hero__licence { font-size: .8rem; padding: 8px 14px; }
  .fleetstats { gap: var(--gap); }
  .fleetstat__value { font-size: 1.6rem; }
}

/* ============================================================ rate preview
 * The five domestic lanes, pulled from the same dictionary keys as the full
 * rate card so the two can never drift apart.
 * ========================================================================= */
.fromprice {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-block: var(--gap-md) 12px;
  padding-block-end: var(--gap);
  border-block-end: 1px solid var(--border);
}
.fromprice__label { font-size: .92rem; color: var(--text-muted); }
.fromprice__value {
  font-size: clamp(1.9rem, 1.4rem + 2vw, 2.6rem);
  font-weight: 800;
  line-height: 1;
  color: var(--amber-deep);
  letter-spacing: -.02em;
}
:root[data-theme="dark"] .fromprice__value { color: var(--accent); }
:root.is-ar .fromprice__value { letter-spacing: 0; }
.fromprice__unit { font-size: .92rem; color: var(--text-muted); font-weight: 600; }

.ratepreview__vat {
  font-size: .85rem;
  color: var(--text-faint);
  line-height: 1.65;
  margin-block-end: var(--gap-md);
}

.ratelist {
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.ratelist__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  border-block-end: 1px solid var(--border);
  font-weight: 700;
  transition: background-color .18s var(--ease);
}
.ratelist__row:hover { background: var(--surface-2); }
.ratelist__price {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  color: var(--amber-deep);
  white-space: nowrap;
}
:root[data-theme="dark"] .ratelist__price { color: var(--accent); }

/* Last row is the pointer to the Gulf lanes on the full card. */
.ratelist__more {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 15px 22px;
  background: var(--surface-2);
  font-size: .92rem;
  font-weight: 700;
  color: var(--brand);
}
.ratelist__more:hover { background: var(--brand-soft); }
.ratelist__more .ico { width: 17px; height: 17px; }

/* ================================================================= process */
.steps4 {
  display: grid;
  gap: var(--gap);
  counter-reset: step;
}
@media (min-width: 640px)  { .steps4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .steps4 { grid-template-columns: repeat(4, 1fr); } }

.step4 {
  position: relative;
  padding: var(--gap-md);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}
.step4__num {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  margin-block-end: 16px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
}
:root[data-theme="dark"] .step4__num { background: var(--brand); }
.step4 h3 { font-size: 1.05rem; margin-block-end: 8px; }
.step4 p { color: var(--text-muted); font-size: .93rem; margin: 0; }

/* A connector between the cards on the four-across layout. */
@media (min-width: 1040px) {
  .step4:not(:last-child)::after {
    content: '';
    position: absolute;
    inset-block-start: calc(var(--gap-md) + 20px);
    inset-inline-end: calc(var(--gap) * -1);
    width: var(--gap);
    height: 2px;
    background: var(--border-strong);
  }
}
