/* Phase 7 / 7.1 — legs, stops, trip summary (v25 tokens) */
.ar-leg-panel {
  margin-top: 1.25rem;
  padding: 1.1rem 0 0.25rem;
  border-top: 1px solid rgba(89, 201, 216, 0.28);
}
.ar-leg-panel:first-of-type {
  border-top: 0;
  margin-top: 0.5rem;
  padding-top: 0;
}
.ar-leg-head {
  margin-bottom: 1rem;
}
.ar-leg-head h4 {
  margin: 0.35rem 0 0.35rem;
  font-size: 1.25rem;
  color: #e8eef5;
  font-weight: 700;
}
.ar-leg-badge {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: none;
  padding: 0.2rem 0.55rem;
  border: 1px solid rgba(89, 201, 216, 0.55);
  color: #59c9d8;
  background: rgba(89, 201, 216, 0.08);
}
.ar-leg-badge-ret {
  border-color: rgba(196, 92, 84, 0.55);
  color: #e8a39c;
  background: rgba(196, 92, 84, 0.1);
}
.ar-route-hint {
  margin: 0;
  color: rgba(232, 238, 245, 0.78);
  font-size: 0.95rem;
}
.ar-leg-price {
  margin-top: 0.4rem;
  color: #59c9d8;
  font-weight: 600;
}
.ar-leg-divider {
  height: 1px;
  margin: 1.5rem 0 0.5rem;
  background: linear-gradient(90deg, transparent, rgba(89, 201, 216, 0.45), transparent);
}
.ar-stops-list {
  display: grid;
  gap: 0.75rem;
  margin: 0.75rem 0;
}
.ar-stop-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  align-items: start;
}
.ar-stop-actions {
  display: flex;
  gap: 0.25rem;
  align-items: center;
  padding-top: 1.6rem;
}
.ar-stop-remove,
.ar-stop-move {
  background: transparent;
  border: 1px solid rgba(232, 238, 245, 0.25);
  color: #e8eef5;
  padding: 0.45rem 0.55rem;
  cursor: pointer;
  min-height: 38px;
}
.ar-stop-error {
  color: #e8a39c;
  font-size: 0.85rem;
  margin-top: 0.25rem;
}
.ar-add-stop {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: transparent;
  border: 1px dashed rgba(89, 201, 216, 0.55);
  color: #59c9d8;
  padding: 0.55rem 0.9rem;
  cursor: pointer;
  margin-top: 0.25rem;
}
.ar-round-summary,
.ar-trip-summary {
  margin-top: 0.75rem;
  padding: 0.85rem 0;
  color: #e8eef5;
  line-height: 1.55;
  border-top: 1px solid rgba(89, 201, 216, 0.2);
}
.ar-trip-summary h4 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: #59c9d8;
}
.ar-sum-status {
  margin: 0 0 0.65rem;
  opacity: 0.85;
  font-size: 0.9rem;
}
.ar-sum-block {
  display: grid;
  gap: 0.15rem;
  width: 100%;
  text-align: inherit;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(89, 201, 216, 0.2);
  color: inherit;
  padding: 0.65rem 0.75rem;
  margin: 0 0 0.5rem;
  cursor: pointer;
}
.ar-sum-block strong {
  color: #59c9d8;
}
.ar-sum-total {
  margin-top: 0.5rem;
  font-size: 1.05rem;
}
.ar-flight-optional-hint {
  font-size: 0.85rem;
  opacity: 0.75;
  margin: 0.25rem 0 0;
}
#arReturnLeg[hidden],
#arReturnLeg[style*="display: none"] {
  display: none !important;
}
body.airride-lang-en .ar-flow,
body.airride-lang-en .airride-form-surface {
  direction: ltr;
  text-align: left;
}
body.airride-lang-en,
html[lang="en"] body.airride-he-desktop {
  direction: ltr;
  text-align: left;
  font-family: Manrope, Heebo, Arial, sans-serif;
}
body.airride-lang-en .actions {
  margin-left: auto;
  margin-right: 0;
}
body.airride-lang-en .modes button {
  text-align: left;
}
body.airride-lang-en .fleet-grid article > div {
  right: 26px;
  left: 26px;
}
body.airride-lang-en .business {
  background: linear-gradient(270deg, rgba(7, 16, 29, 0.97), rgba(7, 16, 29, 0.42)),
    url('../airride-assets/business.jpg') right center / 55% 100% no-repeat;
}
body.airride-lang-en .business aside {
  margin-left: auto;
  margin-right: 0;
}
body.airride-lang-en .ar-cta-arrow {
  display: inline-block;
  transform: scaleX(-1);
}
body.airride-lang-en footer > small {
  margin-left: auto;
  margin-right: 0;
}
/* Language-specific dual-class content (legacy) */
body.airride-he-desktop:not(.airride-lang-en) .en { display: none !important; }
body.airride-lang-en .he { display: none !important; }
body.airride-lang-en .en { display: revert !important; }

.process {
  width: min(calc(100% - 48px), var(--max, 1460px));
  margin: 0 auto 40px;
  padding: 72px 0;
}
.process-head {
  text-align: center;
  max-width: 690px;
  margin: 0 auto 38px;
}
.process-head .eyebrow {
  color: var(--teal, #59c9d8);
  font-weight: 800;
  display: block;
}
.process-head h2 {
  font-size: clamp(38px, 3.2vw, 50px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 8px 0 0;
}
.process .steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.process .steps article {
  background: var(--panel, #0c1728);
  border: 1px solid var(--line, rgba(255, 255, 255, 0.13));
  border-radius: 14px;
  padding: 28px;
  min-height: 200px;
}
.process .steps b {
  color: var(--teal, #59c9d8);
  font: 700 17px Manrope, sans-serif;
}
.process .steps h3 {
  font-size: 18px;
  margin: 28px 0 8px;
}
.process .steps p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted, #a6b1c0);
  margin: 0;
}
@media (max-width: 900px) {
  .process .steps {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 900px) {
  .ar-trip-summary {
    order: 3;
  }
  .ar-stop-row {
    grid-template-columns: 1fr;
  }
  .ar-stop-actions {
    padding-top: 0;
  }
}
@media (max-width: 480px) {
  .ar-flow .ar-grid-2 {
    grid-template-columns: 1fr !important;
  }
  /* Banner / legacy only — booking form keeps fixed 92/12/92 via mockup-skin */
  body:not(.airride-form-page) .airride-time-control {
    width: 100%;
    max-width: 100%;
    grid-template-columns: minmax(0, 1fr) 12px minmax(0, 1fr);
  }
  body:not(.airride-form-page) .airride-time-control .form-control,
  body:not(.airride-form-page) .airride-time-control select {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
  }
  .airride-form-surface,
  .ar-flow {
    overflow-x: hidden;
  }
  body.airride-form-page .airride-form-surface,
  body.airride-form-page .ar-flow,
  body.airride-form-page #arBookingFlow {
    overflow-x: visible;
  }
}

/* Phase 7.2 — stepper, mirror return, price breakdown, clearer legs */
.ar-stepper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0 0 18px;
}
.ar-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  text-align: start;
  background: var(--panel, #0c1728);
  border: 1px solid var(--line, rgba(255,255,255,.13));
  border-radius: 14px;
  padding: 14px 16px;
  color: inherit;
  cursor: pointer;
}
.ar-step.is-active {
  border-color: var(--teal, #59c9d8);
  box-shadow: inset 0 0 0 1px rgba(89,201,216,.35);
}
.ar-step.is-done .ar-step-num {
  background: var(--teal, #59c9d8);
  color: #06111a;
}
.ar-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: 800 16px Manrope, sans-serif;
  background: rgba(255,255,255,.08);
  flex: none;
}
.ar-step-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.ar-step-body strong { font-size: 15px; }
.ar-step-route {
  color: var(--muted, #a6b1c0);
  font-size: 12px;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ar-step-status {
  font-size: 11px;
  font-style: normal;
  color: var(--teal, #59c9d8);
  font-weight: 700;
}
.ar-leg-badge-out { background: rgba(89,201,216,.18); color: var(--teal, #59c9d8); }
.ar-leg-badge-ret { background: rgba(185,74,67,.22); color: #ffb3ad; }
.ar-mirror-panel {
  border: 1px solid var(--line, rgba(255,255,255,.13));
  border-radius: 12px;
  padding: 14px 16px;
  margin: 0 0 16px;
}
.ar-mirror-panel legend {
  padding: 0 8px;
  font-weight: 700;
  color: var(--teal, #59c9d8);
}
.ar-mirror-option {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 8px 0;
  cursor: pointer;
}
.ar-mirror-badge {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(89,201,216,.15);
  color: var(--teal, #59c9d8);
  font-size: 12px;
  font-weight: 700;
}
.ar-mirror-locked .ar-stop-address[readonly],
.ar-mirror-locked #returnAddressStreet[readonly] {
  opacity: .85;
  cursor: default;
}
.ar-leg-compact {
  background: rgba(255,255,255,.04);
  border: 1px dashed var(--line, rgba(255,255,255,.2));
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 12px;
}
.ar-compact-route { font-weight: 600; line-height: 1.45; }
.ar-linkish {
  background: none;
  border: 0;
  color: var(--teal, #59c9d8);
  font-weight: 700;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
}
.ar-step-actions { margin-top: 16px; }
.ar-sum-block {
  display: block;
  width: 100%;
  text-align: start;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line, rgba(255,255,255,.13));
  border-radius: 12px;
  padding: 12px 14px;
  margin: 10px 0;
  color: inherit;
}
.ar-sum-block-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.ar-sum-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
}
.ar-sum-tag-out { background: rgba(89,201,216,.2); color: var(--teal, #59c9d8); }
.ar-sum-tag-ret { background: rgba(185,74,67,.25); color: #ffb3ad; }
.ar-sum-route { font-size: 13px; line-height: 1.45; margin: 6px 0; color: #d7deea; }
.ar-sum-price { font-weight: 800; font-size: 16px; }
.ar-price-details { margin-top: 8px; font-size: 13px; }
.ar-price-details summary { cursor: pointer; color: var(--teal, #59c9d8); font-weight: 700; }
.ar-bd-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.ar-bd-total, .ar-bd-grand { font-weight: 800; border-bottom: 0; margin-top: 6px; }
.ar-map-tabs { display: flex; gap: 8px; margin: 12px 0 8px; }
.ar-map-tab {
  flex: 1;
  border: 1px solid var(--line, rgba(255,255,255,.13));
  background: transparent;
  color: inherit;
  border-radius: 999px;
  padding: 8px 10px;
  font-weight: 700;
  cursor: pointer;
}
.ar-map-tab.is-active {
  background: rgba(89,201,216,.15);
  border-color: var(--teal, #59c9d8);
  color: var(--teal, #59c9d8);
}
.ar-trip-confirm-header {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}
.ar-confirm-leg {
  border: 1px solid var(--line, rgba(255,255,255,.13));
  border-radius: 12px;
  padding: 14px 16px;
  background: var(--panel, #0c1728);
}
.ar-confirm-out { border-color: rgba(89,201,216,.35); }
.ar-confirm-return { border-color: rgba(185,74,67,.4); }
.ar-confirm-route { font-weight: 600; line-height: 1.45; }
.ar-confirm-price { font-size: 1.15rem; font-weight: 800; color: var(--teal, #59c9d8); }
@media (max-width: 900px) {
  .ar-stepper { grid-template-columns: 1fr; }
}
