/* ===== Design tokens ===== */
:root {
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f1f5fc;
  --surface-tab: rgba(255, 255, 255, 0.9);
  --header-glass: rgba(255, 255, 255, 0.82);
  --text: #0a2a5e;
  --text-muted: #3d4f70;
  --text-soft: #66758f;
  --primary: #0b5ad2;
  --primary-text: #0b5ad2;
  --hero-accent: #0a2a5e;
  --on-primary: #ffffff;
  --border: #dce5f2;
  --border-strong: #c9d6ea;
  --error: #c62828;
  --focus-ring: 0 0 0 3px rgba(11, 90, 210, 0.18);
  --btn-gradient: linear-gradient(180deg, #0d63dd 0%, #0a3f9f 100%);

  --hero-overlay:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.86) 30%, rgba(255, 255, 255, 0.35) 50%, rgba(255, 255, 255, 0) 64%),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 58%, #ffffff 100%);
  --card-overlay: linear-gradient(180deg, rgba(4, 18, 48, 0) 45%, rgba(4, 18, 48, 0.82) 100%);
  --fleet-panel: linear-gradient(110deg, #e6effb 0%, #f3f7fd 100%);
  --footer-bg: #0a2554;
  --footer-text: #ffffff;
  --footer-muted: rgba(255, 255, 255, 0.78);
  --footer-border: rgba(255, 255, 255, 0.14);

  --shadow-sm: 0 2px 10px rgba(16, 52, 120, 0.07);
  --shadow-md: 0 14px 36px rgba(16, 52, 120, 0.14);
  --shadow-primary: 0 6px 16px rgba(11, 90, 210, 0.28);

  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-pill: 999px;

  --h-control: 38px;
  --h-control-tall: 40px;
  --container: 1720px;
  --gutter: 16px;

  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #0e2145;
  --surface: #14295a;
  --surface-2: #1c3768;
  --surface-tab: rgba(20, 41, 90, 0.9);
  --header-glass: rgba(14, 33, 69, 0.82);
  --text: #eef4ff;
  --text-muted: #c2cfe6;
  --text-soft: #97a9cc;
  --primary: #1d86ff;
  --primary-text: #4da6ff;
  --hero-accent: #4aa8ff;
  --border: #2d4e84;
  --border-strong: #3a5c96;
  --error: #ff7b7b;
  --focus-ring: 0 0 0 3px rgba(29, 134, 255, 0.3);
  --btn-gradient: linear-gradient(180deg, #2193ff 0%, #0b5fe6 100%);

  --hero-overlay:
    linear-gradient(90deg, rgba(14, 33, 69, 0.96) 0%, rgba(14, 33, 69, 0.86) 30%, rgba(14, 33, 69, 0.4) 50%, rgba(14, 33, 69, 0.1) 64%),
    linear-gradient(180deg, rgba(14, 33, 69, 0.2) 0%, rgba(14, 33, 69, 0) 40%, rgba(14, 33, 69, 0) 58%, #0e2145 100%);
  --card-overlay: linear-gradient(180deg, rgba(2, 10, 28, 0) 45%, rgba(2, 10, 28, 0.85) 100%);
  --fleet-panel: linear-gradient(110deg, #16305f 0%, #112851 100%);
  --footer-bg: #0a1c40;

  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 14px 36px rgba(0, 0, 0, 0.45);
  --shadow-primary: 0 6px 18px rgba(29, 134, 255, 0.35);

  color-scheme: dark;
}

/* ===== Base ===== */
*,
*::before,
*::after { box-sizing: border-box; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; }
html { scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }
::selection { background: var(--primary); color: var(--on-primary); }

:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
[id] { scroll-margin-top: 72px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 8px 14px;
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--primary-text);
  font-weight: 600;
  box-shadow: var(--shadow-md);
}
.skip-link:focus { top: 12px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: var(--h-control);
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}
.btn .icon { width: 17px; height: 17px; }
.btn--primary { background: var(--btn-gradient); color: var(--on-primary); box-shadow: var(--shadow-primary); }
.btn--primary:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn--primary { position: relative; overflow: hidden; isolation: isolate; }
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.32) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
  pointer-events: none;
}
.btn--primary:hover::after { transform: translateX(120%); }
.btn--tall { height: var(--h-control-tall); }
.btn--block { width: 100%; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: var(--h-control);
  height: var(--h-control);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.icon-btn:hover { border-color: var(--primary); }

.round-btn {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--btn-gradient);
  color: var(--on-primary);
  box-shadow: var(--shadow-primary);
  cursor: pointer;
  transition: transform 0.2s ease;
}
.round-btn:hover { transform: translateX(3px); }
.round-btn--outline { background: transparent; border: 2px solid var(--primary-text); color: var(--primary-text); box-shadow: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 13px;
  font-weight: 500;
  color: var(--primary-text);
  cursor: pointer;
}
.link-arrow .icon { width: 17px; height: 17px; transition: transform 0.15s ease; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--border);
  background: var(--header-glass);
  backdrop-filter: blur(14px) saturate(1.5);
  transition: box-shadow 0.25s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
/* Reading progress: fills the header's bottom edge from left to right */
.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 3px;
  background: var(--btn-gradient);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}
.site-header__inner { position: relative; display: flex; align-items: center; gap: 24px; height: 54px; }
.logo { display: inline-flex; flex: none; }
.logo img { width: auto; height: 42px; }
[data-theme="dark"] .site-header .logo,
.logo--plate { padding: 2px 6px; border-radius: var(--r-md); background: #ffffff; }
[data-theme="dark"] .site-header .logo img { height: 36px; }

.site-nav { flex: 1; display: flex; justify-content: center; }
.site-nav__list { display: flex; gap: 30px; }
.site-nav__link {
  position: relative;
  display: block;
  padding: 6px 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.15s ease;
}
.site-nav__link:hover,
.site-nav__link.is-active { color: var(--primary-text); }
.site-nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--primary-text);
}

.site-header__actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle__sun,
[data-theme="dark"] .theme-toggle__moon { display: none; }
[data-theme="dark"] .theme-toggle__sun { display: block; }
.nav-toggle { display: none; }
.nav-toggle__close,
.site-header.is-open .nav-toggle__open { display: none; }
.site-header.is-open .nav-toggle__close { display: block; }

/* ===== Hero ===== */
.hero { position: relative; padding: 46px 0 140px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: var(--hero-overlay); }
.hero__slide { position: absolute; inset: 0; background: 70% 38% / cover no-repeat; opacity: 0; transition: opacity 1.4s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__content { position: relative; }
.hero__title { max-width: 680px; font-size: clamp(24px, 2.8vw, 34px); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
.hero__title span { color: var(--hero-accent); }
@media (min-width: 761px) { .hero__title span { white-space: nowrap; } }
.hero__text { max-width: 440px; margin: 8px 0 0; font-size: 14px; font-weight: 500; line-height: 1.45; }

/* ===== Booking ===== */
.booking-section { position: relative; z-index: 5; margin-top: -104px; }
.booking__tabs { display: flex; gap: 4px; width: fit-content; max-width: 100%; padding: 5px 5px 0; border: 1px solid var(--border); border-bottom: 0; border-radius: var(--r-lg) var(--r-lg) 0 0; background: var(--surface-tab); backdrop-filter: blur(12px) saturate(1.4); }
.booking__tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 136px;
  height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: var(--r-md) var(--r-md) 0 0;
  background: transparent;
  color: var(--primary-text);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.booking__tab:hover { background: var(--surface); }
.booking__tab.is-active { background: var(--btn-gradient); color: var(--on-primary); font-weight: 600; box-shadow: var(--shadow-primary); }

.booking__card {
  padding: 10px 18px 14px;
  border: 1px solid var(--border);
  border-radius: 0 var(--r-lg) var(--r-lg) var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
.track__form.booking__awb { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 12px; align-items: end; padding: 4px 0; }

.form-row { display: grid; gap: 8px 16px; align-items: start; }
.form-row + .form-row { margin-top: 6px; }
.form-row--cargo-top { grid-template-columns: 1.3fr 1.27fr 1fr 0.75fr; }
.form-row--cargo-bottom { grid-template-columns: 0.95fr 0.85fr 0.92fr 0.8fr 0.75fr; }
.form-row--schedule { grid-template-columns: 1.3fr 1.27fr 1fr 0.75fr; }
.form-actions { padding-top: 22px; }

.field { min-width: 0; }
.field__label { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 500; }
.control { position: relative; }
.control input,
.track__input {
  width: 100%;
  height: var(--h-control);
  padding: 0 12px 0 38px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--text);
  font-size: 12.5px;
  appearance: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.control input::placeholder,
.track__input::placeholder { color: var(--text-soft); }
.control input:focus,
.track__input:focus { outline: none; border-color: var(--primary); box-shadow: var(--focus-ring); }
.control [aria-invalid="true"],
.track__input[aria-invalid="true"] { border-color: var(--error); }
.control__icon,
.control__chevron { position: absolute; top: 50%; transform: translateY(-50%); pointer-events: none; }
.control__icon { left: 12px; width: 17px; height: 17px; color: var(--primary-text); }
.control__chevron { right: 12px; width: 16px; height: 16px; color: var(--text-muted); transition: transform 0.15s ease; }

/* Custom select */
.control--select .select__native { position: absolute; inset: 0; height: 100%; opacity: 0; pointer-events: none; }
.select__trigger {
  display: flex;
  align-items: center;
  width: 100%;
  height: var(--h-control);
  padding: 0 34px 0 38px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--text);
  font-size: 12.5px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.select__trigger:hover { border-color: var(--primary); }
.select__trigger:focus-visible,
.control.is-open .select__trigger { outline: none; border-color: var(--primary); box-shadow: var(--focus-ring); }
.select__trigger.is-placeholder { color: var(--text-soft); }
.control:has(.select__native[aria-invalid="true"]) .select__trigger { border-color: var(--error); }
.select__value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.control.is-open .control__chevron { transform: translateY(-50%) rotate(180deg); color: var(--primary-text); }
.select__list {
  position: absolute;
  z-index: 20;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 264px;
  margin: 0;
  padding: 6px;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
.control.is-up .select__list { top: auto; bottom: calc(100% + 6px); }
.select__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 36px;
  padding: 0 10px;
  border-radius: var(--r-md);
  font-size: 13px;
  cursor: pointer;
}
.select__option.is-active { background: var(--surface-2); }
.select__option[aria-selected="true"] { color: var(--primary-text); font-weight: 600; }
.select__check { width: 16px; height: 16px; visibility: hidden; }
.select__option[aria-selected="true"] .select__check { visibility: visible; }
.select__empty { padding: 8px 10px; font-size: 12.5px; line-height: 1.45; color: var(--text-muted); }

/* Field errors are read by screen readers via aria-describedby; sighted users see them in the toast. */
.field__error { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 6px 0; }
.contact-grid li { display: flex; gap: 10px; font-size: 13px; line-height: 1.5; color: var(--text-muted); }
.contact-grid .icon { margin-top: 2px; color: var(--primary-text); }
.contact-grid strong,
.contact-grid a { display: block; }
.contact-grid strong { color: var(--text); font-weight: 600; }
.contact-grid a:hover { color: var(--primary-text); }
.portal-panel { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 8px 0; }
.portal-panel p { margin: 0; font-size: 14px; color: var(--text-muted); }

/* ===== Sections ===== */
.section { padding: 14px 0; }
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px 24px;
  margin-bottom: 10px;
}
.section-head__actions { display: flex; align-items: center; gap: 18px; }
.section-title { font-size: 23px; font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
.section-title::before {
  content: "";
  display: block;
  width: 32px;
  height: 3px;
  margin-bottom: 8px;
  border-radius: 2px;
  background: var(--btn-gradient);
}
.section-sub { margin: 2px 0 0; font-size: 13.5px; line-height: 1.35; color: var(--text-muted); }
.section-head__note { margin: 0; padding-right: 16px; border-right: 1px solid var(--border-strong); font-size: 12.5px; line-height: 1.4; text-align: right; color: var(--text-muted); }
.section-head > .section-head__note { padding-right: 0; border-right: 0; }

/* ===== Destinations ===== */
.destinations { padding-top: 22px; }
.slider-controls { display: flex; gap: 6px; }
.slider-btn {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--primary-text);
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.slider-btn:hover { transform: translateY(-1px); border-color: var(--primary); }
.slider-btn .icon { width: 15px; height: 15px; }
.slider-btn--filled { border-color: transparent; background: var(--btn-gradient); color: var(--on-primary); box-shadow: var(--shadow-primary); }
.slider-btn__play,
.is-paused .slider-btn__pause { display: none; }
.is-paused .slider-btn__play { display: block; }

.destination-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * 12px) / 4);
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.destination-track::-webkit-scrollbar { display: none; }
.destination-track li { scroll-snap-align: start; }
.destination-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  color: var(--text);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.destination-card:hover { transform: translateY(-3px); border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.destination-card img { width: 100%; height: auto; aspect-ratio: 2.7; object-fit: cover; transition: transform 0.5s ease; }
.destination-card:hover img { transform: scale(1.06); }
.destination-card__caption {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: var(--surface);
}
.destination-card__plane { width: 18px; height: 18px; color: var(--primary-text); transform: rotate(45deg); }
.destination-card__name strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.2; }
.destination-card__name small { display: block; font-size: 11px; line-height: 1.2; color: var(--text-muted); }
.destination-card__arrow {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-left: auto;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  color: var(--primary-text);
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}
.destination-card__arrow .icon { width: 14px; height: 14px; }
.destination-card:hover .destination-card__arrow { background: var(--btn-gradient); color: var(--on-primary); transform: rotate(-45deg); }

/* ===== About ===== */
.about__inner { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 24px; align-items: center; }
.about__text .section-title { margin-bottom: 8px; }
.about__lead {
  margin: 0 0 8px;
  padding-left: 12px;
  border-left: 3px solid var(--primary);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--text);
}
.about__points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px 8px; }
.about__points li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 6px 8px;
  border-radius: var(--r-md);
  transition: background-color 0.2s ease;
}
.about__points li:hover { background: var(--surface-2); }
.about__point-icon { display: grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: var(--r-md); background: var(--surface-2); color: var(--primary-text); }
.about__points li:hover .about__point-icon { background: var(--btn-gradient); color: var(--on-primary); }
.about__point-icon .icon { width: 15px; height: 15px; }
.about__points p { margin: 0; font-size: 12px; line-height: 1.5; color: var(--text-muted); }

.carousel { position: relative; aspect-ratio: 2.2; overflow: hidden; border-radius: var(--r-lg); box-shadow: var(--shadow-md); }
.carousel__track { display: flex; height: 100%; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.carousel__slide { flex: 0 0 100%; height: 100%; }
.carousel__slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(180deg, transparent, rgba(4, 18, 48, 0.35)); pointer-events: none; }
.carousel__controls,
.carousel__dots { z-index: 1; }
.carousel__controls {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: flex;
  gap: 6px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--r-pill);
  background: rgba(4, 18, 48, 0.3);
  backdrop-filter: blur(8px);
}
.carousel__arrow {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.75);
  color: #0a2a5e;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: transform 0.15s ease;
}
.carousel__arrow:hover { transform: scale(1.08); }
.carousel__arrow .icon { width: 16px; height: 16px; }
.carousel__arrow--filled { border-color: transparent; background: var(--btn-gradient); color: var(--on-primary); }
.carousel__play,
.is-paused .carousel__pause { display: none; }
.is-paused .carousel__play { display: block; }
.carousel__dots { position: absolute; left: 16px; bottom: 26px; display: flex; gap: 6px; }
.carousel__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: width 0.25s ease, background-color 0.25s ease;
}
.carousel__dot[aria-current="true"] { width: 20px; background: #ffffff; }
.carousel__badge {
  position: absolute;
  z-index: 1;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.78);
  color: #0a2a5e;
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(8px);
}
.carousel__badge .icon { width: 15px; height: 15px; color: #0b5ad2; transform: rotate(45deg); }

/* ===== Key facts ===== */
.facts {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 12px;
  padding: 12px 6px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.facts li { display: flex; align-items: center; gap: 10px; padding: 2px 14px; }
.facts li + li { border-left: 1px solid var(--border); }
.facts__icon { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: var(--r-pill); background: var(--btn-gradient); color: var(--on-primary); box-shadow: var(--shadow-primary); }
.facts__icon .icon { width: 17px; height: 17px; }
.facts strong { display: block; font-size: 19px; font-weight: 700; line-height: 1.1; color: var(--primary-text); }
.facts small { display: block; font-size: 11px; line-height: 1.35; color: var(--text-muted); }

/* ===== Services ===== */
.services { padding-top: 8px; }
.services__tagline { margin: 0; padding-right: 18px; border-right: 1px solid var(--border-strong); font-size: 12.5px; line-height: 1.4; text-align: right; color: var(--text-muted); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.service-card {
  position: relative;
  display: grid;
  grid-template-columns: 34% 1fr;
  gap: 12px;
  padding: 5px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.service-card:hover { transform: translateY(-3px); border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.service-card__media { position: relative; overflow: hidden; border-radius: var(--r-md); }
.service-card img { width: 100%; height: 100%; min-height: 104px; object-fit: cover; transition: transform 0.5s ease; }
.service-card:hover img { transform: scale(1.07); }
.service-card__icon {
  position: absolute;
  left: 6px;
  bottom: 6px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: var(--r-md);
  background: var(--btn-gradient);
  color: var(--on-primary);
  box-shadow: var(--shadow-primary);
}
.service-card__icon .icon { width: 16px; height: 16px; }
.service-card__body { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 4px 8px 2px 0; }
.service-card__index { position: absolute; top: 2px; right: 6px; font-size: 20px; font-weight: 700; line-height: 1; color: var(--border-strong); transition: color 0.25s ease; }
.service-card:hover .service-card__index { color: var(--primary-text); }
.service-card h3 { padding-right: 30px; font-size: 14px; font-weight: 600; }
.service-card p { margin: 1px 0 4px; font-size: 11.5px; line-height: 1.45; color: var(--text-muted); }
.service-card__more {
  margin-top: auto;
  height: 24px;
  padding: 0 10px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  font-size: 12px;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.service-card__more:hover,
.service-card:hover .service-card__more { background: var(--btn-gradient); color: var(--on-primary); }

/* ===== Fleet ===== */
.fleet { padding: 6px 0 22px; }
.fleet__card {
  display: grid;
  grid-template-columns: 32% 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 0 22px 0 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--fleet-panel);
  box-shadow: var(--shadow-sm);
}
.fleet__media { align-self: stretch; min-height: 160px; overflow: hidden; }
.fleet__media img { width: 100%; height: 100%; object-fit: cover; object-position: 35% 50%; transition: transform 0.6s ease; }
.fleet__card:hover .fleet__media img { transform: scale(1.05); }
.fleet__text { padding: 14px 0; }
.fleet__text .section-title { font-size: 21px; }
.fleet__text .section-title::before { margin-bottom: 6px; }
.fleet__text p { margin: 4px 0 0; font-size: 12px; line-height: 1.55; color: var(--text-muted); }
.fleet__next { display: flex; flex-direction: column; align-items: center; gap: 2px; padding-left: 22px; border-left: 1px solid var(--border-strong); }
.fleet__next .round-btn { width: 40px; height: 40px; margin-bottom: 4px; }
.fleet__next-label { font-size: 13px; font-weight: 500; color: var(--primary-text); }
.fleet__reg { font-size: 15px; font-weight: 700; letter-spacing: 0.04em; }
.fleet__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.fleet__tags li { padding: 3px 10px; border: 1px solid var(--border-strong); border-radius: var(--r-pill); background: var(--surface); font-size: 11px; font-weight: 500; color: var(--primary-text); }

/* All Fleet page: shown instead of the home sections */
.fleet-page { padding: 14px 0 22px; }
.fleet-page .section-head { margin-bottom: 4px; }

/* Aircraft details */
.fleet-list { margin-top: 12px; }
.fleet-page .fleet-list { margin-top: 0; }
.aircraft-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.aircraft {
  display: flex;
  flex-direction: column;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.aircraft:hover { transform: translateY(-3px); border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.aircraft__head { display: flex; align-items: center; gap: 10px; }
.aircraft__icon { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: var(--r-md); background: var(--btn-gradient); color: var(--on-primary); box-shadow: var(--shadow-primary); }
.aircraft__icon .icon { width: 18px; height: 18px; transform: rotate(45deg); }
.aircraft__tag { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--primary-text); }
.aircraft h3 { font-size: 14px; font-weight: 600; line-height: 1.25; }
.aircraft p { margin: 10px 0; font-size: 12.5px; line-height: 1.5; color: var(--text-muted); }
.aircraft__specs { margin: 0; border-top: 1px solid var(--border); }
.aircraft__specs div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed var(--border); font-size: 12px; line-height: 1.4; }
.aircraft__specs div:last-child { border-bottom: 0; }
.aircraft__specs dt { flex: none; color: var(--text-muted); }
.aircraft__specs dd { margin: 0; font-weight: 600; text-align: right; color: var(--text); }

.fleet-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.fleet-gallery figure { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.fleet-gallery img { width: 100%; height: auto; aspect-ratio: 3.2; object-fit: cover; transition: transform 0.5s ease; }
.fleet-gallery figure:hover img { transform: scale(1.05); }
.fleet-gallery figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.82);
  color: #0a2a5e;
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.destination-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }

/* Official photos: updates, gallery, people */
.dest-updates { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.dest-update { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.dest-update strong { font-size: 13.5px; font-weight: 600; color: var(--primary-text); }
.dest-update span { font-size: 12.5px; color: var(--text-muted); }
.dest-gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 8px; }
.dest-gallery figure,
.people-grid figure { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.dest-gallery img { width: 100%; height: auto; aspect-ratio: 1.2; object-fit: cover; transition: transform 0.5s ease; }
.dest-gallery figure:hover img,
.people-grid figure:hover img { transform: scale(1.05); }
.people-grid { grid-column: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
.people-grid img { width: 100%; height: auto; aspect-ratio: 1.15; object-fit: cover; object-position: 50% 20%; transition: transform 0.5s ease; }
.dest-gallery figcaption,
.people-grid figcaption { position: absolute; left: 10px; bottom: 10px; padding: 3px 12px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.85); color: #0a2a5e; font-size: 12px; font-weight: 600; backdrop-filter: blur(8px); }

/* Go back button on the full pages */
.back-btn { justify-self: start; display: inline-flex; align-items: center; gap: 8px; height: 34px; margin-bottom: 8px; padding: 0 14px 0 4px; border: 1px solid var(--border-strong); border-radius: var(--r-pill); background: var(--surface); color: var(--primary-text); font-size: 13px; font-weight: 600; box-shadow: var(--shadow-sm); transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.back-btn__icon { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--btn-gradient); color: var(--on-primary); transition: transform 0.2s ease; }
.back-btn__icon .icon { width: 14px; height: 14px; }
.back-btn:hover { border-color: var(--primary); background: var(--surface-2); }
.back-btn:hover .back-btn__icon { transform: translateX(-3px); }

/* All About page */
.about__more { margin-top: 8px; }
#all-about > .container { display: block; }
.ab-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: start; margin-top: 0; }
.ab-eyebrow { display: inline-block; padding: 3px 12px; border-radius: var(--r-pill); background: var(--surface-2); color: var(--primary-text); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.ab-title { margin-top: 8px; font-size: clamp(30px, 3.4vw, 44px); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; }
.ab-title em { font-style: normal; background: var(--btn-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ab-lead { max-width: 640px; margin: 10px 0 0; font-size: 14px; line-height: 1.6; color: var(--text-muted); }
.ab-stats { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 14px; }
.ab-stats li { display: flex; flex-direction: column; max-width: 150px; }
.ab-stats strong { font-size: 26px; font-weight: 700; line-height: 1; letter-spacing: -0.02em; color: var(--primary-text); }
.ab-stats span { margin-top: 3px; font-size: 11.5px; line-height: 1.35; color: var(--text-muted); }
.ab-hero__photos { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 12px; align-items: start; }
.ab-photo { position: relative; margin: 0; overflow: hidden; border-radius: 22px; box-shadow: var(--shadow-md); }
.ab-photo img { width: 100%; height: auto; object-fit: cover; transition: transform 0.6s ease; }
.ab-photo:hover img { transform: scale(1.05); }
.ab-photo--founder img { aspect-ratio: 1.05; object-position: 52% 20%; }
.ab-photo--team { margin-bottom: 0; }
.ab-photo--team img { aspect-ratio: 1.3; object-position: 50% 30%; }
.ab-photo figcaption { position: absolute; left: 10px; bottom: 10px; padding: 3px 12px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.88); color: #0a2a5e; font-size: 12px; font-weight: 600; backdrop-filter: blur(8px); }

.ab-bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.ab-bento { gap: 0 32px; margin-top: 10px; }
.ab-tile { display: flex; gap: 12px; padding: 8px 0; }
.ab-tile__no { flex: none; font-size: 22px; font-weight: 300; line-height: 1; color: var(--primary-text); opacity: 0.75; }
.ab-tile p { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--text-muted); }

.ab-vm { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin-top: 12px; }
.ab-vm__card { padding: 8px 0 0; }
.ab-vm__card h3 { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--primary-text); }
.ab-vm__card p { margin: 6px 0 0; font-size: 16px; font-weight: 500; line-height: 1.45; letter-spacing: -0.005em; color: var(--text); }

.ab-heading { margin-top: 16px; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.ab-values { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: auto; gap: 0 32px; margin-top: 6px; }
.ab-value { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; padding: 8px 0 6px; transition: transform 0.25s ease; }
.ab-value:hover { transform: translateY(-3px); }
.ab-value__no { display: block; width: fit-content; font-size: 30px; font-weight: 600; line-height: 1; letter-spacing: -0.02em; background: var(--btn-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ab-value h4 { margin: 6px 0 0; font-size: 15px; font-weight: 600; }
.ab-value strong { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 500; color: var(--primary-text); }
.ab-value p { margin: 4px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--text-muted); }

/* All Services page */
.sv-hero { margin-top: 2px; }
.sv-row { display: grid; grid-template-columns: 30% 1fr; gap: 28px; align-items: start; margin-top: 22px; }
.sv-row:nth-of-type(even) { grid-template-columns: 1fr 30%; }
.sv-row:nth-of-type(even) .sv-row__media { order: 2; }
.sv-row__media { margin: 0; overflow: hidden; border-radius: 22px; box-shadow: var(--shadow-md); }
.sv-row__media img { width: 100%; height: auto; aspect-ratio: 1.2; object-fit: cover; transition: transform 0.6s ease; }
.sv-row:hover .sv-row__media img { transform: scale(1.05); }
.sv-row__no { display: block; width: fit-content; font-size: 30px; font-weight: 600; line-height: 1; letter-spacing: -0.02em; background: var(--btn-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sv-row h3 { margin-top: 4px; font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.sv-row__body > p { margin: 6px 0 0; font-size: 13px; line-height: 1.6; color: var(--text-muted); }
.sv-items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; margin-top: 10px; counter-reset: sv; }
.sv-item { position: relative; padding: 8px 0 8px 34px; counter-increment: sv; }
.sv-item::before { content: counter(sv, decimal-leading-zero); position: absolute; left: 0; top: 8px; font-size: 17px; font-weight: 300; line-height: 1.2; color: var(--text-soft); }
.sv-item h4 { font-size: 14px; font-weight: 600; color: var(--text); }
.sv-item p { margin: 3px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--text-muted); }
.sv-item .chips { margin-top: 6px; gap: 4px; }
.sv-item .chips li { padding: 2px 10px; font-size: 11.5px; }

/* All Fleet page */
.fl-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.fl-photos figure { position: relative; margin: 0; overflow: hidden; border-radius: 22px; box-shadow: var(--shadow-md); }
.fl-photos img { width: 100%; height: auto; aspect-ratio: 1.9; object-fit: cover; transition: transform 0.6s ease; }
.fl-photos figure:hover img { transform: scale(1.05); }
.fl-photos figcaption { position: absolute; left: 10px; bottom: 10px; padding: 3px 12px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.88); color: #0a2a5e; font-size: 12px; font-weight: 600; backdrop-filter: blur(8px); }
.fl-row { display: grid; grid-template-columns: 0.8fr 1.4fr; gap: 28px; align-items: start; margin-top: 22px; }
.fl-row__tag { display: block; margin-top: 4px; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.fl-row h3 { margin-top: 2px; font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.fl-row__head > p { margin: 6px 0 0; font-size: 13px; line-height: 1.6; color: var(--text-muted); }
.fl-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; margin: 0; padding-top: 6px; }
.fl-specs div { padding: 6px 0; }
.fl-specs dt { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.fl-specs dd { margin: 1px 0 0; font-size: 14px; font-weight: 600; color: var(--text); }

/* All Destinations: open style, no boxes */
#all-destinations .destination-grid { margin-top: 14px; }
#all-destinations .destination-card { border: 0; border-radius: 22px; box-shadow: var(--shadow-md); }
#all-destinations .dest-updates { gap: 0 32px; margin-top: 14px; }
#all-destinations .dest-update { padding: 6px 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
#all-destinations .routes { gap: 0 32px; margin-top: 10px; }
#all-destinations .routes__card { padding: 8px 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
#all-destinations .routes__photo { border-radius: 22px; box-shadow: var(--shadow-md); }
#all-destinations .routes__groups div { border-top: 0; padding-top: 4px; }
#all-destinations .dest-gallery figure { border-radius: 22px; box-shadow: var(--shadow-md); }

/* Destination routes */
.routes { display: grid; grid-template-columns: 1fr 2.2fr; gap: 12px; margin-top: 12px; }
.routes__card { padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.routes__card h3 { position: relative; padding-bottom: 6px; font-size: 14px; font-weight: 600; }
.routes__card h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 22px; height: 2px; border-radius: 2px; background: var(--btn-gradient); }
.routes__card > p { margin: 8px 0; font-size: 12.5px; line-height: 1.5; color: var(--text-muted); }
.routes__groups { display: grid; gap: 8px; margin: 0; }
.routes__groups div { display: grid; grid-template-columns: 96px 1fr; align-items: start; gap: 10px; padding-top: 8px; border-top: 1px dashed var(--border-strong); }
.routes__groups dt { padding-top: 4px; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--primary-text); }
.routes__groups dd { margin: 0; }
.routes__card:not(.routes__card--wide) { display: flex; flex-direction: column; }
.routes__photo { flex: 1; min-height: 140px; margin: 12px 0 0; overflow: hidden; border-radius: var(--r-md); }
.routes__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { padding: 3px 10px; border: 1px solid var(--border-strong); border-radius: var(--r-pill); background: var(--surface-2); font-size: 11.5px; font-weight: 500; color: var(--primary-text); }

/* ===== Testimonials ===== */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.testimonial-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 12px 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.testimonial-card:hover { transform: translateY(-3px); border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.testimonial-card__quote { position: absolute; right: 12px; top: 10px; width: 26px; height: 26px; color: var(--primary-text); opacity: 0.85; }
.testimonial-card__author { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--border); }
.testimonial-card__avatar { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: var(--r-pill); background: var(--btn-gradient); color: var(--on-primary); }
.testimonial-card__avatar .icon { width: 15px; height: 15px; }
.testimonial-card__author strong { display: block; font-size: 12.5px; font-weight: 600; line-height: 1.25; }
.testimonial-card__author small { display: block; font-size: 11px; line-height: 1.25; color: var(--text-muted); }
.testimonial-card__text {
  position: relative;
  margin: 0 0 10px;
  padding: 0 34px 0 10px;
  border-left: 2px solid var(--primary);
  font-size: 12.5px;
  font-style: italic;
  line-height: 1.5;
  color: var(--text-muted);
}

/* ===== Contact ===== */
.contact { padding-bottom: 24px; }
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 16px; align-items: stretch; }
.contact__info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.contact__info-title {
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-text);
}

.office-grid { display: grid; flex: 1; grid-template-columns: 1fr; }
.office {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  transition: background-color 0.2s ease;
}
.office + .office { border-top: 1px solid var(--border); }
.office:hover { background: var(--surface-2); }
.office__icon { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--border-strong); border-radius: var(--r-md); color: var(--primary-text); }
.office__icon .icon { width: 17px; height: 17px; }
.office__text strong { display: block; font-size: 14px; font-weight: 600; color: var(--text); }
.office__text p { margin: 2px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--text-muted); }
.office__map { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--border-strong); border-radius: var(--r-pill); color: var(--primary-text); transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.office__map .icon { width: 14px; height: 14px; transform: rotate(-45deg); }
.office__map:hover { border-color: transparent; background: var(--btn-gradient); color: var(--on-primary); }

.reach { border-top: 1px solid var(--border); }
.reach li + li { border-top: 1px solid var(--border); }
.reach__item {
  display: grid;
  grid-template-columns: 36px 64px 1fr;
  align-items: center;
  gap: 14px;
  padding: 10px 18px;
  transition: background-color 0.2s ease;
}
.reach__item:hover { background: var(--surface-2); }
.reach__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--r-md); background: var(--surface-2); color: var(--primary-text); transition: background-color 0.2s ease, color 0.2s ease; }
.reach__item:hover .reach__icon { background: var(--btn-gradient); color: var(--on-primary); }
.reach__icon .icon { width: 17px; height: 17px; }
.reach__label { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }
.reach__value { min-width: 0; font-size: 14px; font-weight: 600; color: var(--text); overflow-wrap: anywhere; }
.reach__item:hover .reach__value { color: var(--primary-text); }
.contact__form {
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.form-row--contact { grid-template-columns: repeat(2, 1fr); }
.field--wide { grid-column: 1 / -1; }
.control--textarea textarea {
  display: block;
  width: 100%;
  min-height: 58px;
  padding: 8px 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 12.5px;
  resize: vertical;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.control--textarea textarea::placeholder { color: var(--text-soft); }
.control--textarea textarea:focus { outline: none; border-color: var(--primary); box-shadow: var(--focus-ring); }
.control--textarea textarea[aria-invalid="true"] { border-color: var(--error); }
.contact__submit { align-self: flex-start; margin-top: 12px; }
/* Message box grows so the form ends level with the contact cards */
.contact__form { display: flex; flex-direction: column; }
.form-row--contact { flex: 1; grid-template-rows: auto auto 1fr; }
.form-row--contact .field--wide { display: flex; flex-direction: column; align-self: stretch; }
.form-row--contact .control--textarea { display: flex; flex: 1; flex-direction: column; }
.form-row--contact .control--textarea textarea { flex: 1; }

/* ===== Track (blue card overlapping the footer) ===== */
.track { position: relative; z-index: 2; margin-bottom: -34px; }
.track__inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 20px;
  align-items: center;
  padding: 14px 20px;
  border-radius: var(--r-lg);
  background: var(--btn-gradient);
  color: #ffffff;
  box-shadow: var(--shadow-md);
}
.track__intro { display: flex; align-items: center; gap: 14px; }
.track__icon {
  width: 44px;
  height: 44px;
  padding: 9px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  stroke-width: 1.5;
}
.track__title { font-size: 17px; font-weight: 600; }
.track__intro p { margin: 1px 0 0; font-size: 11.5px; line-height: 1.4; color: rgba(255, 255, 255, 0.85); }
.track__form { display: grid; grid-template-columns: 1fr 130px; gap: 6px 10px; align-items: start; }
.track__input { height: var(--h-control-tall); padding-left: 14px; border-color: transparent; background: #ffffff; color: #0a2a5e; font-size: 13px; }
.track__input::placeholder { color: #7c8aa5; }
.track__input:focus { border-color: #ffffff; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35); }
.track__input[aria-invalid="true"] { border-color: #ff9a9a; box-shadow: 0 0 0 3px rgba(255, 120, 120, 0.45); }
.track__form .btn { background: #ffffff; color: #0a3f9f; box-shadow: none; }
.track__form .btn:hover { filter: none; background: #e8f0ff; }

/* ===== Footer ===== */
.site-footer { padding-top: 52px; background: var(--footer-bg); color: var(--footer-text); }
.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--footer-border);
}
.site-footer__brand { display: flex; align-items: center; gap: 14px; }
.site-footer__brand .logo img { height: 36px; }
.site-footer__brand p { max-width: 370px; margin: 0; font-size: 11.5px; line-height: 1.45; color: var(--footer-muted); }
.site-footer__brand .logo img { height: 48px; }
.site-footer__brand { align-items: center; gap: 18px; }
.site-footer__brand > div { padding-left: 18px; border-left: 2px solid var(--footer-border); }
.site-footer__brand .site-footer__name { font-size: 20px; font-weight: 700; line-height: 1.2; color: var(--footer-text); }
.site-footer__brand .site-footer__slogan { margin-top: 2px; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; color: #6ea8ff; }
.site-footer__brand .site-footer__tagline { margin-top: 8px; font-size: 12.5px; font-weight: 600; color: var(--footer-text); }
.site-footer__quick { display: flex; flex-wrap: wrap; gap: 6px; }
.site-footer__quick a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  padding: 0 11px;
  border: 1px solid var(--footer-border);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.06);
  font-size: 11.5px;
  color: var(--footer-text);
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.site-footer__quick a:hover { border-color: var(--primary-text); background: rgba(255, 255, 255, 0.12); }
.site-footer__quick .icon { width: 15px; height: 15px; color: var(--primary-text); }

.site-footer__grid { display: grid; grid-template-columns: 1fr 1.15fr 1.1fr 1.9fr; gap: 24px; padding-top: 16px; }
.site-footer__col h3 { position: relative; margin-bottom: 8px; padding-bottom: 5px; font-size: 12.5px; font-weight: 600; }
.site-footer__col h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 18px; height: 2px; border-radius: 2px; background: var(--primary-text); }
.site-footer__col ul { display: grid; grid-template-columns: repeat(2, max-content); gap: 3px 18px; }
.site-footer__col a { display: inline-block; font-size: 12px; color: var(--footer-muted); transition: color 0.15s ease, transform 0.15s ease; }
.site-footer__col a:hover { color: var(--footer-text); transform: translateX(3px); }
.site-footer__offices ul { grid-template-columns: 1fr; gap: 5px; }
.site-footer__offices li { display: flex; align-items: flex-start; gap: 8px; font-size: 11.5px; line-height: 1.45; color: var(--footer-muted); }
.site-footer__offices strong { font-weight: 600; color: var(--footer-text); }
.site-footer__offices .icon { width: 15px; height: 15px; margin-top: 1px; color: var(--primary-text); }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 24px;
  margin-top: 14px;
  padding: 10px 64px 10px 0;
  border-top: 1px solid var(--footer-border);
  font-size: 11.5px;
  color: var(--footer-muted);
}
.site-footer__bottom p { margin: 0; }
.site-footer__bottom ul { display: flex; flex-wrap: wrap; }
.site-footer__bottom li + li::before { content: "|"; margin: 0 10px; opacity: 0.6; }
.site-footer__bottom a:hover { color: var(--footer-text); }

/* ===== Detail dialog ===== */
.detail-dialog {
  width: min(520px, 100% - 32px);
  max-height: min(88vh, 720px);
  padding: 0;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-md);
}
.detail-dialog::backdrop { background: rgba(4, 12, 32, 0.6); backdrop-filter: blur(2px); }
body:has(.detail-dialog[open]) { overflow: hidden; }
.detail-dialog__image { width: 100%; aspect-ratio: 2.1; object-fit: cover; }
.detail-dialog__close { position: absolute; top: 10px; right: 10px; }
.detail-dialog__body { padding: 16px 20px 20px; }
.detail-dialog__title { font-size: 20px; font-weight: 700; }
.detail-dialog__text { margin: 6px 0 14px; font-size: 14px; line-height: 1.6; color: var(--text-muted); }

/* ===== Toast ===== */
.toast {
  --toast-accent: var(--primary);
  position: fixed;
  z-index: 60;
  top: 68px;
  right: 20px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: min(500px, 100% - 32px);
  padding: 12px 10px 12px 12px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--toast-accent);
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateX(24px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.toast.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.toast.is-error { --toast-accent: var(--error); }
.toast__icon { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: var(--r-pill); background: var(--surface-2); color: var(--toast-accent); }
.toast__body { flex: 1; min-width: 0; }
.toast__title { display: block; font-size: 13px; font-weight: 600; line-height: 1.35; }
.toast__list { margin-top: 2px; font-size: 12px; line-height: 1.45; color: var(--text-muted); }
.toast__list li + li { margin-top: 2px; }
.toast__list b { font-weight: 600; color: var(--text); }
.toast__close { display: grid; place-items: center; width: 26px; height: 26px; flex: none; padding: 0; border: 0; border-radius: var(--r-sm); background: none; color: var(--text-muted); cursor: pointer; }
.toast__close:hover { background: var(--surface-2); color: var(--text); }
.toast__close .icon { width: 16px; height: 16px; }

/* ===== Back to top ===== */
.back-to-top {
  position: fixed;
  z-index: 40;
  right: 18px;
  bottom: 18px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-pill);
  background: var(--btn-gradient);
  color: var(--on-primary);
  box-shadow: var(--shadow-primary);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.back-to-top:hover { transform: translateY(-3px); }

/* ===== Motion ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--reveal-delay);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }

@media (prefers-reduced-motion: no-preference) {
  .hero__bg { animation: hero-zoom 14s ease-out both; }
  .hero__title,
  .hero__text { animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero__text { animation-delay: 0.15s; }
  .booking { animation: rise 0.9s 0.3s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .detail-dialog[open] { animation: rise 0.2s ease; }
  .select__list:not([hidden]) { animation: fade-down 0.14s ease; }

  @keyframes rise { from { opacity: 0; transform: translateY(24px); } }
  @keyframes fade-down { from { opacity: 0; transform: translateY(-4px); } }
  @keyframes hero-zoom { from { transform: scale(1.07); } }
}

/* ===== Laptop & tablet ===== */
@media (max-width: 1100px) {
  .nav-toggle { display: inline-grid; }
  .site-header__actions { margin-left: auto; }
  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    background: var(--surface);
    box-shadow: var(--shadow-md);
  }
  .site-header.is-open .site-nav { display: block; }
  .site-nav__list { flex-direction: column; gap: 2px; }
  .site-nav__link { padding: 10px 12px; border-radius: var(--r-md); }
  .site-nav__link:hover,
  .site-nav__link.is-active { background: var(--surface-2); }
  .site-nav__link.is-active::after { display: none; }

  .booking__tab { min-width: 0; }
  .form-row--cargo-top,
  .form-row--schedule,
  .form-row--cargo-bottom { grid-template-columns: repeat(3, 1fr); }
  .form-row--schedule .form-actions { padding-top: 0; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }

  .destination-track { grid-auto-columns: calc((100% - 14px) / 2); }
  .about__inner { grid-template-columns: 1fr; gap: 20px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(3, 1fr); row-gap: 12px; }
  .facts li:nth-child(4) { border-left: 0; }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .routes { grid-template-columns: 1fr; }
  .svc-block { grid-template-columns: 1fr; }
  .fl-row { grid-template-columns: 1fr; gap: 6px; }
  .sv-row, .sv-row:nth-of-type(even) { grid-template-columns: 1fr; gap: 12px; }
  .sv-row:nth-of-type(even) .sv-row__media { order: 0; }
  .sv-row__media img { aspect-ratio: 2.2; }
  .ab-hero { grid-template-columns: 1fr; }
  .ab-bento { grid-template-columns: repeat(2, 1fr); }
  .ab-values { grid-template-columns: repeat(2, 1fr); }
  .dest-updates { grid-template-columns: repeat(2, 1fr); }
  .dest-gallery { grid-template-columns: repeat(3, 1fr); }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-block__media { min-height: 0; height: 150px; }
  .svc-subs { grid-template-columns: 1fr; }
  .sv-items { grid-template-columns: 1fr; }
  .fl-photos, .fl-specs { grid-template-columns: 1fr; }
  .ab-bento, .ab-vm, .ab-values { grid-template-columns: 1fr; }
  .ab-photo--team { margin-bottom: 0; }
  .dest-updates { grid-template-columns: 1fr; }
  .dest-gallery { grid-template-columns: repeat(2, 1fr); }
  .svc-tabs { border-radius: var(--r-lg); }
  .svc-tab { flex: 1 1 auto; justify-content: center; padding: 0 12px; }
  .destination-grid { grid-template-columns: repeat(2, 1fr); }
  .aircraft-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .carousel { aspect-ratio: 2.8; }
  .contact__grid { grid-template-columns: 1fr; }

  .fleet__card { grid-template-columns: 34% 1fr; row-gap: 0; }
  .fleet__media { grid-row: 1 / span 2; }
  .fleet__next { grid-column: 2; flex-direction: row; gap: 10px; padding: 0 0 14px; border-left: 0; }
  .fleet__next .round-btn { margin-bottom: 0; }

  .track__inner { grid-template-columns: 1fr; gap: 14px; }

  .site-footer__grid { grid-template-columns: repeat(3, 1fr); }
  .site-footer__offices { grid-column: 1 / -1; }
  .site-footer__offices ul { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Mobile ===== */
@media (max-width: 760px) {
  :root { --gutter: 16px; }

  .site-header__portal span { display: none; }
  .site-header__portal { width: var(--h-control); padding: 0; }
  .logo img { height: 40px; }

  .hero { padding: 28px 0 96px; }
  .hero__bg::before { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--bg); opacity: 0.6; }
  .hero__text { font-size: 14px; }
  .booking-section { margin-top: -76px; }
  .booking__tabs { display: grid; grid-template-columns: repeat(2, 1fr); width: 100%; padding: 5px; }
  .booking__tab { gap: 6px; padding: 0 8px; border-radius: var(--r-md); font-size: 12.5px; }
  .booking__card { padding: 14px; border-radius: 0 0 var(--r-lg) var(--r-lg); }
  .form-row { column-gap: 10px; }
  .form-row--cargo-top,
  .form-row--cargo-bottom,
  .form-row--schedule { grid-template-columns: repeat(2, 1fr); }
  .form-row--cargo-top > :last-child:nth-child(odd),
  .form-row--cargo-bottom > :last-child:nth-child(odd),
  .form-row--schedule > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-actions { padding-top: 0; }

  .section { padding: 14px 0; }
  .section-title { font-size: 22px; }
  .section-sub { font-size: 14px; }
  .section-head { align-items: flex-start; flex-direction: column; }

  .destination-track { grid-auto-columns: 82%; }
  .carousel { aspect-ratio: 1.7; }
  .service-grid { grid-template-columns: 1fr; }
  .services__tagline,
  .section-head__note { padding-right: 0; border-right: 0; text-align: left; }
  .section-head__actions { flex-wrap: wrap; }
  .services .section-head__actions { flex-direction: column; align-items: flex-start; gap: 6px; }
  .service-card { grid-template-columns: 38% 1fr; }

  .fleet__card { grid-template-columns: 1fr; padding: 0; }
  .fleet__media { grid-row: auto; height: 150px; min-height: 0; }
  .fleet__text { padding: 12px 14px 0; }
  .fleet__next { grid-column: auto; padding: 0 14px 14px; }
  .track__inner { padding: 14px; }

  .track__form { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, 1fr); row-gap: 10px; }
  .facts li { padding: 2px 8px; }
  .facts li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .about__points { grid-template-columns: 1fr; }
  .facts li + li { border-left: 0; }
  .aircraft-grid,
  .fleet-gallery { grid-template-columns: 1fr; }
  .routes__groups div { grid-template-columns: 1fr; gap: 4px; }
  .destination-grid { grid-template-columns: 1fr; }
  .fleet-gallery img { aspect-ratio: 2.4; }
  .testimonial-grid,
  .form-row--contact { grid-template-columns: 1fr; }
  .office-grid { grid-template-columns: 1fr; }
  .reach__item { grid-template-columns: 36px 1fr; gap: 0 12px; padding: 10px 14px; }
  .reach__icon { grid-row: 1 / span 2; }
  .reach__value { font-size: 13.5px; }
  .office { padding: 12px 14px; }
  .contact__submit { width: 100%; }
  .track__form .btn { width: 100%; }

  .site-footer__grid { grid-template-columns: 1fr; gap: 14px; }
  .site-footer__offices ul { grid-template-columns: 1fr; }
  .site-footer__brand { align-items: flex-start; }
  .site-footer__quick { width: 100%; }
  .toast { top: 62px; right: 16px; left: 16px; width: auto; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; padding-right: 0; padding-bottom: 64px; }
}

/* ===== Small phones: booking fields and facts need the full width to show their text ===== */
@media (max-width: 479px) {
  .form-row--cargo-top,
  .form-row--cargo-bottom,
  .form-row--schedule,
  .facts { grid-template-columns: 1fr; }
}

/* AWB Tracking tab: same look as the other booking buttons */
.track__form.booking__awb .btn { background: var(--btn-gradient); color: var(--on-primary); box-shadow: var(--shadow-primary); }
.track__form.booking__awb .btn:hover { filter: brightness(1.08); background: var(--btn-gradient); }

/* Environment label (QA / PROD) beside the logo */
.env-badge { flex: none; padding: 3px 10px; border-radius: var(--r-pill); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; line-height: 1.4; }
.env-badge[hidden] { display: none; }
.env-badge--qa { background: #fff1d6; color: #8a5300; box-shadow: inset 0 0 0 1px #f2c46b; }
.env-badge--prod { background: #dcf7e6; color: #0d6b34; box-shadow: inset 0 0 0 1px #7fd6a3; }
.env-badge--error { background: #ffe0e0; color: #a01616; box-shadow: inset 0 0 0 1px #f08a8a; }
[data-theme="dark"] .env-badge--qa { background: rgba(242, 196, 107, 0.16); color: #ffd48a; box-shadow: inset 0 0 0 1px rgba(242, 196, 107, 0.5); }
[data-theme="dark"] .env-badge--prod { background: rgba(127, 214, 163, 0.16); color: #8ee6b1; box-shadow: inset 0 0 0 1px rgba(127, 214, 163, 0.5); }
[data-theme="dark"] .env-badge--error { background: rgba(240, 138, 138, 0.16); color: #ffa3a3; box-shadow: inset 0 0 0 1px rgba(240, 138, 138, 0.5); }
@media (max-width: 400px) { .env-badge { padding: 2px 7px; font-size: 10px; } }
.env-badge--offline { box-shadow: inset 0 0 0 2px #e25555; }

/* Flight schedule results */
.schedule-results { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--border); }
.schedule-results.is-away { display: none; }
.schedule-results__title { margin: 0 0 8px; font-size: 14px; font-weight: 600; }
.schedule-results__message { margin: 0; font-size: 13px; color: var(--text-muted); }
.schedule-results__message--error { color: var(--error); }
.flight-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; }
.flight { padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); }
.flight__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.flight__head strong { font-size: 15px; font-weight: 700; color: var(--primary-text); }
.flight__status { padding: 2px 10px; border-radius: var(--r-pill); background: var(--surface-2); font-size: 11px; font-weight: 600; color: var(--text-muted); }
.flight__route { display: flex; align-items: center; gap: 8px; margin: 6px 0; font-size: 20px; font-weight: 700; letter-spacing: 0.02em; }
.flight__route .icon { width: 18px; height: 18px; color: var(--primary-text); }
.flight__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; }
.flight__cell span { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }
.flight__cell strong { font-size: 12.5px; font-weight: 600; color: var(--text); }

/* Airport boxes with suggestions */
.field--suggest { position: relative; }
.airport-list { position: absolute; z-index: 20; left: 0; right: 0; top: 100%; margin-top: 4px; max-height: 280px; overflow-y: auto; padding: 4px; border: 1px solid var(--border-strong); border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-md); }
.airport-list[hidden] { display: none; }
.airport-list li { display: grid; grid-template-columns: 44px 1fr; gap: 0 10px; padding: 7px 10px; border-radius: var(--r-sm, 8px); cursor: pointer; }
.airport-list li strong { grid-row: 1 / span 2; align-self: center; font-size: 14px; font-weight: 700; color: var(--primary-text); }
.airport-list li span { font-size: 13px; font-weight: 500; color: var(--text); }
.airport-list li small { font-size: 11.5px; color: var(--text-muted); }
.airport-list li:hover, .airport-list li.is-active { background: var(--surface-2); }
.airport-list .airport-list__empty { display: block; cursor: default; font-size: 13px; color: var(--text-muted); }
.flight__logo { width: auto; height: 28px; max-width: 70px; margin-right: 8px; object-fit: contain; }
.flight__head { justify-content: flex-start; }
.flight__head .flight__status { margin-left: auto; }

/* Send confirmation window */
.confirm-send { width: min(480px, 100% - 24px); padding: 20px; border: 0; border-radius: var(--r-lg); background: var(--surface); color: var(--text); box-shadow: var(--shadow-md); }
.confirm-send::backdrop { background: rgba(4, 12, 32, 0.6); backdrop-filter: blur(2px); }
.confirm-send h2 { font-size: 18px; font-weight: 700; }
.confirm-send p { margin: 6px 0 0; font-size: 13.5px; color: var(--text-muted); }
.confirm-send__list { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.confirm-send__list li { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); font-size: 12.5px; font-weight: 600; overflow-wrap: anywhere; }
.confirm-send__list button { padding: 0 2px; border: 0; background: none; color: var(--text-muted); font-size: 16px; line-height: 1; cursor: pointer; }
.confirm-send__add { display: flex; gap: 8px; margin-top: 12px; }
.confirm-send__add input { flex: 1; min-width: 0; height: 40px; padding: 0 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--text); font: inherit; font-size: 13.5px; }
.confirm-send p.confirm-send__alert { color: #d93025; font-weight: 600; }
.confirm-send__actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.confirm-send .btn { height: 40px; padding: 0 18px; }
.confirm-send .btn:not(.btn--primary) { border: 1px solid var(--border); background: var(--surface); color: var(--text); }
.phone-row { display: flex; gap: 8px; }
.phone-row .control { flex: 1; min-width: 0; }
.phone-row .phone-row__code { flex: 0 0 84px; width: 84px; }
.phone-row__code .select__trigger { padding-left: 12px; }
.phone-row__code .select__list { width: 230px; max-width: calc(100vw - 48px); }

.confirm-send__sender { display: grid; gap: 4px; margin-top: 12px; }
.confirm-send__sender label { font-size: 12.5px; font-weight: 600; }
.confirm-send__sender input { height: 40px; padding: 0 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--text); font: inherit; font-size: 13.5px; }
.confirm-send [hidden] { display: none; }
.confirm-send__summary { display: flex; flex-wrap: wrap; gap: 2px 14px; margin: 8px 0 0; }
.confirm-send__summary[hidden] { display: none; }
.confirm-send__summary > div { display: flex; gap: 4px; min-width: 0; font-size: 12px; line-height: 1.4; }
.confirm-send__summary dt { color: var(--text-muted); }
.confirm-send__summary dt::after { content: ":"; }
.confirm-send__summary dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.confirm-send__contact { display: grid; gap: 8px; margin-top: 12px; }
.confirm-send__contact label { display: grid; gap: 3px; font-size: 12.5px; font-weight: 600; }
.confirm-send__contact input, .confirm-send__contact select, .confirm-send__contact textarea { width: 100%; padding: 0 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--text); font: inherit; font-size: 13.5px; font-weight: 400; }
.confirm-send__contact input, .confirm-send__contact select { height: 38px; }
.confirm-send__contact textarea { padding: 8px 12px; resize: vertical; }
.confirm-send__phone { display: grid; grid-template-columns: 150px 1fr; gap: 8px; }
.confirm-send__phone { grid-template-columns: auto 1fr; align-items: end; }
.confirm-send__phone > label { grid-column: 1 / -1; margin-bottom: -4px; }
.confirm-send__code { width: 96px; }
.confirm-send__code .select__trigger { height: 38px; padding-left: 12px; font-weight: 400; }
.confirm-send__code .select__list { width: 270px; max-width: calc(100vw - 80px); }
.confirm-send__phone input { height: 38px; }
.confirm-send { overflow: visible; }
/* Send confirmation window: two-column layout, booking details as small chips */
.confirm-send { width: min(560px, 100% - 24px); max-height: calc(100dvh - 24px); padding: 16px 20px 14px; overflow: hidden auto; }
.confirm-send h2 { font-size: 17px; line-height: 1.2; }
.confirm-send p { margin: 0; font-size: 12px; line-height: 1.4; }
.confirm-send__summary { display: flex; flex-wrap: wrap; gap: 5px; margin: 8px 0 0; padding: 0; border: 0; }
.confirm-send__summary > div { display: flex; align-items: baseline; gap: 6px; padding: 2px 9px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface-2); font-size: 11.5px; line-height: 1.3; }
.confirm-send__summary dt { font-size: 11px; color: var(--text-muted); }
.confirm-send__summary dt::after { content: none; }
.confirm-send__summary dd { margin: 0; font-weight: 600; }
.confirm-send__contact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; margin-top: 10px; }
.confirm-send__contact label { gap: 4px; font-size: 12px; }
.confirm-send__contact label:nth-of-type(3) { grid-column: 1 / -1; }
.confirm-send__phone { grid-column: 1 / -1; gap: 4px 8px; }
.confirm-send__phone > label { margin-bottom: 0; }
.confirm-send__code { width: 96px; }
.confirm-send__contact input, .confirm-send__contact select, .confirm-send__code .select__trigger, .confirm-send__phone input { height: 38px; }
.confirm-send__contact input, .confirm-send__contact select, .confirm-send__contact textarea { font-size: 13px; border-radius: 10px; }
.confirm-send__contact textarea { padding: 8px 12px; min-height: 0; }
.confirm-send__count { justify-self: end; margin-top: -2px; font-size: 11px; font-weight: 400; color: var(--text-muted); }
.confirm-send__contact + p { margin-top: 12px; color: var(--text-muted); }
.confirm-send__add { gap: 8px; margin-top: 8px; }
.confirm-send__add input { height: 38px; font-size: 13px; border-radius: 10px; }
.confirm-send__list { margin-top: 8px; }
.confirm-send__actions { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border); }
.confirm-send .btn { height: 38px; padding: 0 20px; font-size: 13px; }
.testimonial-card__avatar--logo { overflow: hidden; background: #000; }
.testimonial-card__avatar--logo img { width: 100%; height: 100%; object-fit: cover; }

/* Flight rows on the Flight Schedule page: one compact row per flight */
.schedule .flight-list { grid-template-columns: 1fr; gap: 8px; }
.flight-row { display: flex; align-items: center; gap: 14px; padding: 8px 14px 8px 12px; border: 1px solid var(--border); border-left: 4px solid #1fb25a; border-radius: var(--r-md); background: var(--surface); box-shadow: 0 1px 3px rgba(11, 42, 99, 0.06); }
.flight-row__id { display: grid; gap: 3px; min-width: 150px; }
.flight-row__no { display: flex; align-items: baseline; gap: 8px; }
.flight-row__no strong { font-size: 15px; font-weight: 700; color: var(--text); }
.flight-row__no span { font-size: 12px; color: var(--text-muted); }
.flight-row__id .flight__logo { height: 22px; margin: 0; }
.flight-row__stop { display: grid; gap: 0; min-width: 78px; line-height: 1.25; }
.flight-row__stop--end { text-align: right; }
.flight-row__stop em { font-size: 11px; font-style: normal; font-weight: 700; color: #1fb25a; }
.flight-row__stop strong { font-size: 17px; font-weight: 700; color: var(--text); }
.flight-row__stop span { font-size: 13px; font-weight: 500; }
.flight-row__stop small { font-size: 11.5px; color: var(--text-muted); }
.flight-row__meta { display: flex; gap: 14px; }
.flight-row__item span { display: block; font-size: 11px; color: var(--text-muted); }
.flight-row__item strong { font-size: 13px; font-weight: 600; }
.flight-row__path { flex: 1; display: grid; gap: 2px; min-width: 80px; text-align: center; }
.flight-row__kind { font-size: 11.5px; color: var(--text-muted); }
.flight-row__kind strong { font-size: 12.5px; color: var(--text); }
.flight-row__line { display: flex; align-items: center; gap: 8px; color: var(--primary-text); }
.flight-row__line::before, .flight-row__line::after { content: ""; flex: 1; border-top: 1px dashed var(--border-strong); }
.flight-row__line .icon { width: 18px; height: 18px; transform: rotate(90deg); }
@media (max-width: 600px) {
  .flight-row { flex-wrap: wrap; gap: 8px 14px; }
  .flight-row__id { min-width: 100%; grid-auto-flow: column; justify-content: space-between; align-items: center; }
  .flight-row__path { order: 5; flex-basis: 100%; }
  .flight-row__stop--end { margin-left: auto; }
}

/* Testimonials slider: cards slide sideways, three at a time on wide screens */
.testimonial-grid[data-slider-track] { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 12px) / 3); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.testimonial-grid[data-slider-track]::-webkit-scrollbar { display: none; }
.testimonial-grid[data-slider-track] > li { scroll-snap-align: start; }
@media (max-width: 1100px) { .testimonial-grid[data-slider-track] { grid-auto-columns: calc((100% - 12px) / 2); } }
@media (max-width: 680px) { .testimonial-grid[data-slider-track] { grid-auto-columns: 88%; } }
.section.schedule { padding-top: 10px; padding-bottom: 12px; }
.schedule .section-head { margin-bottom: 8px; }
.schedule .section-title em { font-style: normal; background: var(--btn-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.schedule__lead { margin: 4px 0 0; font-size: 12.5px; color: var(--text-muted); }
.schedule .section-head__actions { gap: 8px; }
.schedule .ab-eyebrow:empty { display: none; }
.schedule .schedule-results { margin: 0; padding: 0; border: 0; }
.schedule .flight-list { gap: 6px; }
.schedule .flight-row { padding: 6px 12px 6px 10px; gap: 12px; }
.schedule .flight-row__id { gap: 2px; min-width: 140px; }
.schedule .flight-row__id .flight__logo { height: 18px; }
.schedule .flight-row__stop { line-height: 1.15; }
.schedule .flight-row__stop strong { font-size: 16px; }
.schedule .flight-row__stop span { font-size: 12.5px; }
.schedule .flight-row__stop small, .schedule .flight-row__item span, .schedule .flight-row__kind { font-size: 11px; }
.schedule .ab-eyebrow { text-transform: none; letter-spacing: 0.02em; font-size: 12px; }
@media (max-width: 600px) { .schedule .flight-row__id { min-width: 100%; } }
.schedule > .container > .back-btn { margin-bottom: 8px; }
.schedule .flight-list { gap: 10px; }
.schedule .flight-row { padding: 12px 18px 12px 14px; gap: 18px; }
.schedule .flight-row__id { gap: 6px; }
.schedule .flight-row__stop { line-height: 1.3; gap: 1px; }
.schedule .flight-row__meta { gap: 18px; }
.schedule .flight-row__item strong { line-height: 1.5; }
.schedule .flight-row__path { gap: 6px; }
.schedule .flight-row__id { justify-items: center; }
.schedule .flight-row__no { justify-content: center; gap: 8px; }
.schedule .flight-row__no strong, .schedule .flight-row__no span { font-size: 15px; font-weight: 700; color: var(--text); }
@media (max-width: 600px) { .schedule .flight-row__id { justify-items: start; } .schedule .flight-row__no { justify-content: flex-start; } }
.schedule .flight-row__stop em { text-transform: uppercase; letter-spacing: 0.05em; font-size: 10.5px; }
.schedule .flight-row__stop em.flight-row__status { justify-self: start; margin-bottom: 3px; padding: 2px 9px; border-radius: 6px; background: #64748b; color: #ffffff; font-size: 10.5px; font-weight: 700; line-height: 1.4; }
.schedule .flight-row__stop--end em.flight-row__status { justify-self: end; }
.flight-row__status--closed { background: #008000 !important; }
.flight-row__status--scheduled { background: #33cc33 !important; }
.flight-row__status--cancelled { background: #ff0000 !important; }
.flight-row__status--delayed { background: #ffa500 !important; }
.flight-row__status--departed { background: #0000ff !important; }
.schedule .flight-row__stop em.flight-row__status { margin-bottom: 0; padding: 1px 7px; border-radius: 5px; font-size: 10px; letter-spacing: 0.03em; line-height: 1.35; }
.schedule .flight-row { border-left-color: #64748b; }
.schedule .flight-row--closed { border-left-color: #008000; }
.schedule .flight-row--scheduled { border-left-color: #33cc33; }
.schedule .flight-row--cancelled { border-left-color: #ff0000; }
.schedule .flight-row--delayed { border-left-color: #ffa500; }
.schedule .flight-row--departed { border-left-color: #0000ff; }
.schedule .flight-row__stop em.flight-row__status { padding: 0 6px; border-radius: 4px; font-size: 9.5px; line-height: 1.5; letter-spacing: 0.02em; }
@media (min-width: 601px) {
  .schedule .flight-row { display: grid; grid-template-columns: 190px 112px 112px 100px minmax(120px, 1fr) 112px 112px; column-gap: 14px; align-items: center; }
  .schedule .flight-row__meta { display: contents; }
  .schedule .flight-row__id { min-width: 0; }
  .schedule .flight-row__stop--end { justify-self: end; }
}
.schedule .flight-row__states { display: flex; justify-content: center; gap: 6px; }
.schedule .flight-row__states .flight-row__status { margin: 0; }
.schedule .flight-row__states em.flight-row__status { padding: 0 6px; border-radius: 4px; background: #64748b; color: #ffffff; font-size: 9.5px; font-style: normal; font-weight: 700; line-height: 1.5; letter-spacing: 0.02em; text-transform: uppercase; }
.schedule .flight-row { border-radius: 4px; }
.schedule .flight-row__id .flight__logo { width: auto; height: 34px; max-width: 130px; object-fit: contain; image-rendering: auto; opacity: 1; filter: none; }
.schedule .flight-row__line::before, .schedule .flight-row__line::after { border-top: 1.5px dashed var(--border-strong); }
@media (min-width: 601px) {
  .schedule .flight-row { grid-template-columns: 160px max-content minmax(110px, 1fr) max-content 78px 76px 84px 80px 80px; column-gap: 8px; }
  .schedule .flight-row__stop .flight-row__place { white-space: nowrap; }
}
.schedule .flight-row { border-radius: var(--r-md); }
.schedule .flight-row__id { display: grid; justify-items: center; gap: 4px; }
.schedule .flight-row__id > strong, .schedule .flight-row__id > span { font-size: 15px; font-weight: 700; line-height: 1.2; color: var(--text); }
.schedule .flight-row__states em.flight-row__status, .schedule .flight-row__stop em.flight-row__status { border-radius: 2px; }
@media (max-width: 600px) { .schedule .flight-row__id { grid-auto-flow: row; justify-items: start; } }
.schedule .flight-row__id { gap: 0; } .schedule .flight-row__id .flight__logo { height: 30px; margin: -2px 0; }
.schedule .flight-row__id .flight__logo { height: 22px; width: auto; max-height: 22px; margin: 0; }
.schedule .flight-row__id .flight__logo { height: 17px; max-height: 17px; }
.schedule .flight-row__id { gap: 6px; }
.schedule .flight-row__item { text-align: center; }
@media (max-width: 600px) {
  .schedule .flight-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 8px; padding: 12px 14px 12px 12px; }
  .schedule .flight-row__meta { display: contents; }
  .schedule .flight-row__id { grid-column: 1 / -1; order: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 4px 10px; min-width: 0; padding-bottom: 8px; border-bottom: 1px dashed var(--border); }
  .schedule .flight-row__id .flight__logo { order: 3; margin-left: auto; }
  .schedule .flight-row__stop { order: 2; grid-column: 1 / span 2; justify-self: start; text-align: left; }
  .schedule .flight-row__stop--end { order: 3; grid-column: 3; justify-self: end; text-align: right; margin-left: 0; }
  .schedule .flight-row__meta .flight-row__item { order: 4; }
  .schedule .flight-row__path { order: 5; grid-column: 1 / -1; flex-basis: auto; }
  .schedule .flight-row__item { padding: 6px 0; border-top: 1px dashed var(--border); }
  .schedule .section-head { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 8px; }
}
@media (max-width: 480px) {
  .schedule .section-title { font-size: 26px; }
  .schedule .flight-row__stop strong { font-size: 18px; }
  .schedule .flight-row__item span { font-size: 10.5px; }
  .schedule .flight-row__item strong { font-size: 12.5px; }
}
@media (max-width: 600px) {
  .schedule .flight-row__item:empty { display: none; }
  .schedule .flight-row__id .flight__logo { height: 22px; max-height: 22px; }
}
@media (max-width: 600px) {
  .schedule .flight-row__id .flight__logo { order: 0; margin: 0 4px 0 0; }
  .schedule .flight-row__stop { order: 2; grid-column: 1; }
  .schedule .flight-row__path { order: 3; grid-column: 2; align-self: center; min-width: 0; text-align: center; }
  .schedule .flight-row__stop--end { order: 4; grid-column: 3; }
  .schedule .flight-row__meta .flight-row__item { order: 5; }
  .schedule .flight-row__kind { font-size: 10px; line-height: 1.2; }
  .schedule .flight-row__kind strong { display: block; font-size: 11px; }
  .schedule .flight-row__states { flex-wrap: wrap; }
}
@media (max-width: 600px) { .schedule .flight-row__id .flight__logo { order: -1; } }
/* Flight Type is shown in the route column on desktop, and as one more small item of the A/C row on small screens */
@media (min-width: 601px) {
  .schedule .flight-row__item--kind { display: none; }
  /* "Flight Type COMBI" and the status badge share one line above the dashed route line */
  .schedule .flight-row__kind { white-space: nowrap; }
  /* Fixed column widths so every card lines up vertically (route, destination and A/C columns start at the same place in each card) */
  .schedule .flight-row { grid-template-columns: 150px 250px minmax(100px, 1fr) 140px 70px 70px 80px 80px 80px; }
  .schedule .flight-row__stop .flight-row__place { white-space: normal; }
  /* Smaller text on every card */
  .schedule .flight-row__stop strong { font-size: 14px; }
  .schedule .flight-row__stop span, .schedule .flight-row__stop small { font-size: 10.5px; }
  .schedule .flight-row__id > strong, .schedule .flight-row__id > span, .schedule .flight-row__no strong, .schedule .flight-row__no span { font-size: 13px; }
  .schedule .flight-row__kind, .schedule .flight-row__item span { font-size: 10px; }
  .schedule .flight-row__kind strong, .schedule .flight-row__item strong { font-size: 11.5px; }
  .schedule .flight-row__states em.flight-row__status { font-size: 9px; }
}
@media (max-width: 600px) {
  .schedule .flight-row__kind { display: none; }
  .schedule .flight-row__meta { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; order: 6; grid-column: 1 / -1; padding-top: 6px; border-top: 1px dashed var(--border); }
  .schedule .flight-row__meta .flight-row__item { order: 0; padding: 0; border-top: 0; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; }
  .schedule .flight-row__meta .flight-row__item span { font-size: 9.5px; line-height: 1.2; }
  .schedule .flight-row__meta .flight-row__item strong { font-size: 11px; line-height: 1.4; white-space: nowrap; }
}
#all-testimonials .testimonial-grid { margin-top: 14px; }
.fl-row { margin-top: 14px; padding: 18px 22px; border: 1px solid var(--border); border-left: 4px solid var(--primary); border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-sm); }
@media (max-width: 900px) { .fl-row { padding: 14px 16px; } }
.fl-row { grid-template-columns: 300px 0.9fr 1.4fr; gap: 24px; align-items: center; padding: 14px 22px 14px 14px; border-left-width: 1px; border-left-color: var(--border); border-radius: var(--r-lg); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.fl-row:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.fl-row__media { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-md); aspect-ratio: 4 / 3; background: var(--surface-2); }
.fl-row__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.fl-row:hover .fl-row__media img { transform: scale(1.05); }
.fl-row__media::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(11, 42, 99, 0.08); pointer-events: none; }
@media (max-width: 1100px) { .fl-row { grid-template-columns: 240px 1fr; } .fl-row__head { grid-column: 2; } .fl-row .fl-specs { grid-column: 1 / -1; } }
@media (max-width: 680px) { .fl-row { grid-template-columns: 1fr; gap: 12px; padding: 12px; } .fl-row__media { aspect-ratio: 16 / 9; } .fl-row__head, .fl-row .fl-specs { grid-column: 1; } }
.ab-hero__photos--single { grid-template-columns: 1fr; align-self: stretch; }
.ab-photo--fleet { height: 100%; min-height: 260px; }
.ab-photo--fleet img { height: 100%; aspect-ratio: auto; object-position: 40% 50%; }
@media (max-width: 900px) { .ab-photo--fleet { height: auto; min-height: 0; } .ab-photo--fleet img { height: auto; aspect-ratio: 16 / 9; } }
.fl-row { grid-template-columns: 320px 1fr; align-items: start; }
.fl-row__media { grid-row: 1 / span 2; align-self: start; }
.fl-row__head, .fl-row .fl-specs { grid-column: 2; }
.fl-row__head > p { margin-top: 8px; }
.fl-row .fl-specs { grid-template-columns: repeat(3, 1fr); gap: 0 28px; padding-top: 10px; border-top: 1px dashed var(--border); }
@media (max-width: 1100px) { .fl-row { grid-template-columns: 240px 1fr; } .fl-row .fl-specs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .fl-row { grid-template-columns: 1fr; } .fl-row__media { grid-row: auto; } .fl-row__head, .fl-row .fl-specs { grid-column: 1; } .fl-row .fl-specs { grid-template-columns: 1fr; } }
.fl-hero .ab-lead { max-width: none; font-size: 13.5px; }
.fl-hero .ab-title { margin-top: 6px; font-size: clamp(26px, 3vw, 36px); }
.fl-hero .ab-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.fl-hero .ab-stats li { max-width: none; flex-direction: row; align-items: center; gap: 12px; padding: 8px 16px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-sm); }
.fl-hero .ab-stats strong { font-size: 22px; white-space: nowrap; }
.fl-hero .ab-stats span { margin: 0; font-size: 12px; }
.fl-photos { margin-top: 12px; }
@media (max-width: 680px) { .fl-hero .ab-stats { grid-template-columns: 1fr; } }
/* Aircraft cards: photo beside the story, specs as tiles underneath */
.fl-row { grid-template-columns: 340px 1fr; gap: 16px 26px; align-items: stretch; padding: 16px; }
.fl-row__media { grid-row: 1; grid-column: 1; align-self: stretch; aspect-ratio: auto; min-height: 220px; }
.fl-row__head { grid-column: 2; grid-row: 1; }
.fl-row .fl-specs { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; padding: 0; border-top: 0; }
.fl-row .fl-specs div { padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface-2); }
.fl-row .fl-specs dd { margin: 2px 0 0; font-size: 14px; font-weight: 600; }
.fl-row__head .sv-row__no { display: inline-block; padding: 2px 12px; border-radius: var(--r-pill); background: var(--btn-gradient); color: var(--on-primary); font-size: 13px; font-weight: 700; letter-spacing: 0.04em; line-height: 1.6; -webkit-text-fill-color: currentColor; }
.fl-row__head .fl-row__tag { display: inline-block; margin: 0 0 0 8px; vertical-align: middle; }
.fl-row__head h3 { margin-top: 8px; font-size: 24px; }
.fl-row__head > p { font-size: 13.5px; }
@media (max-width: 1100px) { .fl-row { grid-template-columns: 1fr; } .fl-row__media { grid-column: 1; grid-row: 1; min-height: 0; aspect-ratio: 16 / 9; } .fl-row__head { grid-column: 1; grid-row: 2; } .fl-row .fl-specs { grid-row: 3; } }
/* Specs without boxes: label over value, a thin blue rule on the left of each */
.fl-row .fl-specs { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px 28px; padding-top: 6px; }
.fl-row .fl-specs div { padding: 0 0 0 12px; border: 0; border-left: 2px solid var(--primary); border-radius: 0; background: transparent; }
.fl-row .fl-specs dt { font-size: 10.5px; }
.fl-row .fl-specs dd { margin: 3px 0 0; font-size: 15px; font-weight: 700; line-height: 1.3; }
.fl-row .fl-specs { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.fl-row .fl-specs div:last-child { grid-column: span 2; }
@media (max-width: 680px) { .fl-row .fl-specs div:last-child { grid-column: auto; } }
/* Compact aircraft cards */
.fl-row { grid-template-columns: 280px 1fr; gap: 10px 20px; padding: 12px; margin-top: 10px; }
.fl-row__media { min-height: 0; }
.fl-row__head .sv-row__no { padding: 0 10px; font-size: 12px; line-height: 1.6; }
.fl-row__head .fl-row__tag { font-size: 10px; }
.fl-row__head h3 { margin-top: 4px; font-size: 19px; }
.fl-row__head > p { margin-top: 5px; font-size: 12.5px; line-height: 1.5; }
.fl-row .fl-specs { gap: 8px 20px; padding-top: 2px; }
.fl-row .fl-specs div { padding-left: 10px; }
.fl-row .fl-specs dt { font-size: 9.5px; }
.fl-row .fl-specs dd { margin-top: 1px; font-size: 13px; line-height: 1.3; }
@media (max-width: 1100px) { .fl-row { grid-template-columns: 1fr; } }
.contact > .container > .back-btn { margin-bottom: 8px; }
/* Sliders clip anything outside their box, so cards inside them must not lift on hover */
.testimonial-grid[data-slider-track] .testimonial-card:hover,
.destination-track .destination-card:hover { transform: none; box-shadow: var(--shadow-sm); }
.testimonial-grid[data-slider-track] { padding-block: 2px; }
/* Hover effect that stays inside the slider box (nothing lifts or spills out) */
.testimonial-grid[data-slider-track] .testimonial-card,
.destination-track .destination-card { transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease; }
.testimonial-grid[data-slider-track] .testimonial-card:hover { border-color: var(--primary); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--primary); }
.testimonial-grid[data-slider-track] .testimonial-card:hover .testimonial-card__quote { transform: scale(1.15); }
.testimonial-card__quote { transition: transform 0.2s ease; }
.testimonial-grid[data-slider-track] .testimonial-card:hover .testimonial-card__avatar { transform: scale(1.08); }
.testimonial-card__avatar { transition: transform 0.2s ease; }
.destination-track .destination-card:hover { border-color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); }
/* Airport list: every row is the same list item, with the code in its own box */
.airport-list { padding: 6px; }
.airport-list li:not(.airport-list__empty) { grid-template-columns: 56px minmax(0, 1fr); gap: 0 12px; align-items: center; min-height: 54px; margin-bottom: 4px; padding: 6px 10px 6px 6px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); }
.airport-list li:last-child { margin-bottom: 0; }
.airport-list li:not(.airport-list__empty) strong { display: grid; place-items: center; align-self: stretch; padding: 0; border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent); border-radius: 8px; background: color-mix(in srgb, var(--primary) 10%, transparent); font-size: 14px; letter-spacing: 0.04em; }
.airport-list li span, .airport-list li small { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.airport-list li:not(.airport-list__empty):hover, .airport-list li.is-active { border-color: var(--primary); background: var(--surface-2); }
/* Airport list, modern: floating panel, borderless rows, soft code chips */
.airport-list { margin-top: 6px; padding: 6px; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-md); }
.airport-list li:not(.airport-list__empty) { min-height: 52px; margin-bottom: 2px; padding: 5px 10px 5px 5px; border: 0; border-radius: 10px; background: transparent; transition: background-color 0.15s ease; }
.airport-list li:not(.airport-list__empty) strong { border: 0; border-radius: 8px; background: color-mix(in srgb, var(--primary) 12%, transparent); font-size: 13.5px; transition: background-color 0.15s ease, color 0.15s ease; }
.airport-list li:not(.airport-list__empty):hover, .airport-list li.is-active { border: 0; background: color-mix(in srgb, var(--primary) 8%, transparent); }
.airport-list li:not(.airport-list__empty):hover strong, .airport-list li.is-active strong { background: var(--btn-gradient); color: var(--on-primary); }
.airport-list li span { font-size: 13.5px; font-weight: 600; }
/* Select lists with codes (special handling): code chip + name, same look as the airport list */
.select__list { overflow-x: hidden; }
.select__coded { display: flex; align-items: center; gap: 10px; min-width: 0; }
.select__code { display: grid; place-items: center; flex: none; min-width: 48px; height: 34px; padding: 0 8px; border-radius: 8px; background: color-mix(in srgb, var(--primary) 12%, transparent); color: var(--primary-text); font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; transition: background-color 0.15s ease, color 0.15s ease; }
.select__name { min-width: 0; font-size: 13px; font-weight: 600; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; }
.select__option:has(.select__coded) { min-height: 46px; padding: 5px 10px 5px 6px; margin-bottom: 2px; border-radius: 10px; }
.select__option:has(.select__coded).is-active, .select__option:has(.select__coded):hover { background: color-mix(in srgb, var(--primary) 8%, transparent); }
.select__option:has(.select__coded).is-active .select__code, .select__option:has(.select__coded):hover .select__code, .select__option:has(.select__coded)[aria-selected="true"] .select__code { background: var(--btn-gradient); color: var(--on-primary); }
#cargo-handling-list { min-width: 300px; left: auto; right: 0; }
/* Sliders only move sideways: no inner vertical scrolling, the page itself scrolls */
.testimonial-grid[data-slider-track], .destination-track { overflow-y: hidden; overscroll-behavior-y: auto; }
/* Environment switch: a tiny icon that is easy to miss on purpose */
.env-switch { display: grid; place-items: center; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: inherit; opacity: 0.18; cursor: pointer; transition: opacity 0.2s ease; }
.env-switch:hover, .env-switch:focus-visible { opacity: 0.8; }
.env-switch .icon { width: 13px; height: 13px; }
.site-footer__bottom li:has(.env-switch)::before { content: none; }
.env-dialog { width: min(360px, 100% - 24px); padding: 20px; border: 0; border-radius: var(--r-lg); background: var(--surface); color: var(--text); box-shadow: var(--shadow-md); }
.env-dialog::backdrop { background: rgba(4, 12, 32, 0.6); backdrop-filter: blur(2px); }
.env-dialog h2 { font-size: 18px; font-weight: 700; }
.env-dialog p { margin: 6px 0 0; font-size: 13.5px; color: var(--text-muted); }
.env-dialog__choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.env-dialog .btn { height: 42px; border: 1px solid var(--border); background: var(--surface); color: var(--text); }
.env-dialog .btn.btn--primary { border-color: transparent; background: var(--btn-gradient); color: var(--on-primary); }
.env-dialog__cancel { width: 100%; margin-top: 10px; }
.site-footer__bottom ul { align-items: center; }
.site-footer__bottom li { display: flex; align-items: center; line-height: 1.4; }
.env-switch { margin-left: 8px; }
/* Tablet and desktop (601px and wider) keep the desktop card layout; below 1150px wide the whole card is scaled down to fit (the scale is set in main.js). Phones use the stacked mobile card. */
@media (min-width: 601px) { .schedule .flight-row { min-width: 1150px; zoom: var(--flight-scale, 1); } }
/* Phones: the stacked card is laid out 440px wide and scaled down to the screen, so it looks the same on every phone */
@media (max-width: 600px) { .schedule .flight-row { min-width: 440px; zoom: var(--flight-scale, 1); } }
/* Loader on a button while the API works */
.btn.is-loading { pointer-events: none; opacity: 0.85; }
.btn.is-loading .icon { display: none; }
.btn.is-loading::before { content: ""; flex: none; width: 16px; height: 16px; margin-right: 8px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: btn-spin 0.7s linear infinite; }
@keyframes btn-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .btn.is-loading::before { animation-duration: 1.6s; } }
/* A open popup keeps the page behind it still: scrolling inside the popup never scrolls the page */
body:has(dialog[open]) { overflow: hidden; }
.confirm-send, .env-dialog { overscroll-behavior: contain; }
/* Country flags in the phone code list */
.select__flag { flex: none; width: 20px; height: 15px; margin-right: 7px; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15); }
.select__flagged { display: flex; align-items: center; min-width: 0; }
/* Phone code box: wide enough for flag + "+91" without the ellipsis cutting the number */
.phone-row .phone-row__code { flex: 0 0 112px; width: 112px; }
.confirm-send__code { width: 112px; }
.phone-row__code .select__trigger, .confirm-send__code .select__trigger { padding-right: 28px; }
.phone-row__code .select__value, .confirm-send__code .select__value { overflow: visible; text-overflow: clip; }
/* Format line under a field label */
.field__hint { margin: -2px 0 6px; font-size: 12px; line-height: 1.35; color: var(--text-muted); }
/* Bot check in the enquiry form: the submit button stays disabled until the code is typed correctly */
.form-captcha { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.form-captcha canvas { flex: none; width: 120px; height: 38px; border: 1px solid var(--border); border-radius: 10px; }
.form-captcha [data-captcha-refresh] { flex: none; width: 38px; height: 38px; padding: 0; }
.form-captcha [data-captcha-refresh] .icon { width: 17px; height: 17px; }
.form-captcha input[data-captcha-input] { width: 150px; height: 38px; padding: 0 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--text); font: inherit; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; }
.form-captcha input[data-captcha-input]::placeholder { letter-spacing: normal; text-transform: none; }
.form-captcha__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form-captcha__status { font-size: 12.5px; font-weight: 600; }
.form-captcha__status--ok { color: #0d6b34; }
.form-captcha__status--bad { color: #d93025; }
.contact__submit:disabled { opacity: 0.5; cursor: not-allowed; box-shadow: none; }
/* Send Enquiry sits in the same row as the code, at the right end */
.form-captcha .contact__submit { margin: 0 0 0 auto; }
/* Hovering the disabled Send Enquiry button tells the visitor what is missing */
.form-captcha { position: relative; }
.form-captcha__hint { position: absolute; right: 0; bottom: calc(100% + 4px); padding: 6px 10px; border-radius: 8px; background: #0b2a63; color: #ffffff; font-size: 12px; font-weight: 600; line-height: 1.3; white-space: nowrap; box-shadow: 0 4px 14px rgba(11, 42, 99, 0.3); opacity: 0; transform: translateY(4px); pointer-events: none; transition: opacity 0.15s ease, transform 0.15s ease; z-index: 5; }
.contact__submit:disabled:hover + .form-captcha__hint { opacity: 1; transform: none; }
@media (max-width: 600px) { .form-captcha__hint { white-space: normal; max-width: 220px; } }
/* Cargo Booking: the code only appears after the first free requests of the session */
.form-captcha[hidden] { display: none; }
.form-captcha--cargo { padding: 0; margin-top: 10px; }
.form-captcha__note { font-size: 12.5px; color: var(--text-muted); }
/* Any disabled primary button (Send Request waiting for the code) looks switched off */
.btn--primary:disabled { opacity: 0.5; cursor: not-allowed; box-shadow: none; }
/* Header refresh button */
.refresh-btn.is-spinning .icon { animation: btn-spin 0.7s linear infinite; }
/* Cookie and storage banner */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; max-width: 980px; margin: 0 auto; padding: 14px 18px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); color: var(--text); box-shadow: var(--shadow-md); }
.consent[hidden] { display: none; }
.consent__text { flex: 1 1 420px; min-width: 0; }
.consent__text strong { font-size: 14px; }
.consent__text p { margin: 4px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--text-muted); }
.consent__actions { display: flex; gap: 8px; }
.consent .btn { height: 38px; padding: 0 18px; font-size: 13px; }
.consent .btn:not(.btn--primary) { border: 1px solid var(--border); background: var(--surface); color: var(--text); }
.consent .btn.is-current { box-shadow: 0 0 0 2px var(--primary); }
/* Airline name under the logo on a flight card: small, plain, muted */
.schedule .flight-row__id > span.flight-row__airline { font-size: 11.5px; font-weight: 400; line-height: 1.2; text-align: center; color: var(--text-muted); }
/* More space between the lines of a departure / arrival block (airport, time, date, city and country) */
.schedule .flight-row__stop { gap: 5px; }
/* "Powered by" credit in the footer: same colour as the text, underlined on hover */
.footer-credit { color: inherit; font-weight: 600; text-decoration: none; transition: text-decoration-color 0.15s ease; }
.footer-credit:hover, .footer-credit:focus-visible { text-decoration: underline; }
/* Centred status card on the Flight Schedule page (searching, no flights, error) */
.schedule-empty { display: grid; justify-items: center; gap: 6px; max-width: 460px; margin: 28px auto 34px; padding: 30px 26px 28px; border: 1px dashed var(--border-strong); border-radius: var(--r-lg); background: var(--surface-2); text-align: center; }
.schedule-empty__icon { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 6px; border-radius: 50%; background: var(--surface); color: var(--primary-text); box-shadow: 0 6px 18px -8px rgba(11, 42, 99, 0.35), inset 0 0 0 1px var(--border); }
.schedule-empty__icon .icon { width: 30px; height: 30px; }
.schedule-empty--empty .schedule-empty__icon .icon { transform: rotate(45deg); }
.schedule-empty--error .schedule-empty__icon { color: var(--error); }
.schedule-empty__title { margin: 0; font-size: 20px; font-weight: 700; color: var(--text); }
.schedule-empty__text { margin: 0; font-size: 14px; line-height: 1.55; color: var(--text-muted); }
.schedule-empty__spinner { width: 28px; height: 28px; border: 3px solid var(--border-strong); border-top-color: var(--primary-text); border-radius: 50%; animation: btn-spin 0.8s linear infinite; }
/* Touch targets: bigger tap areas for small footer links, the carousel dots and the "Read More" link on phones and tablets */
@media (max-width: 820px) {
  .site-footer a:not(.footer-credit) { display: inline-block; padding: 7px 0; }
  .site-footer .footer-credit { display: inline-block; padding: 6px 0; }
  .about__more { display: inline-flex; align-items: center; min-height: 36px; }
  .carousel__dot { position: relative; }
  .carousel__dot::after { content: ""; position: absolute; inset: -12px -6px; }
}
/* The airport already picked is marked in the list: tinted row, blue edge and a tick */
.airport-list li.is-selected { position: relative; background: var(--surface-2); box-shadow: inset 3px 0 0 var(--primary); }
.airport-list li.is-selected span { font-weight: 700; }
.airport-list li.is-selected::after { content: "\2713"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 16px; font-weight: 700; color: var(--primary-text); }

/* Advertising banners (ads.js) */
.ads { padding: 8px 0 28px; }
.ads__label { display: block; margin-bottom: 6px; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.ads__stage { position: relative; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--border); background: var(--surface, transparent); }
.ads__slide { display: none; text-decoration: none; color: inherit; }
.ads__slide.is-active { display: block; animation: ads-in 0.5s ease; }
.ads__slide img { display: block; width: 100%; height: auto; max-height: 320px; object-fit: cover; }
.ads__slide--text { padding: 28px 24px; text-align: center; background: linear-gradient(135deg, #0a3d91, #1e6fe0); color: #ffffff; }
.ads__slide--text strong { display: block; font-size: 22px; margin-bottom: 6px; }
.ads__slide--text span { font-size: 14px; opacity: 0.9; }
.ads__dots { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
.ads__dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: var(--border-strong); cursor: pointer; }
.ads__dot.is-active { background: var(--primary-text); width: 22px; border-radius: 4px; }
@keyframes ads-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ads__slide.is-active { animation: none; } }

/* Banner looks like a real advert: wide strip, fixed shape, "Ad" tag in the corner, space around it */
.ads { padding: 36px 0 32px; position: relative; clear: both; }
.ads__label { display: none; }
.ads__stage { position: relative; aspect-ratio: 4 / 1; max-height: 230px; box-shadow: var(--shadow-sm, 0 2px 10px rgba(0,0,0,.08)); }
.ads__stage::after { content: "Ad"; position: absolute; top: 8px; right: 8px; z-index: 2; padding: 1px 7px; border-radius: 3px; background: rgba(0,0,0,.55); color: #fff; font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; pointer-events: none; }
.ads__slide { width: 100%; height: 100%; }
.ads__slide.is-active { display: block; }
.ads__slide img { width: 100%; height: 100%; max-height: none; object-fit: cover; }
.ads__slide--text { display: none; }
.ads__slide--text.is-active { display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 600px) { .ads { padding: 24px 0 24px; } .ads__stage { aspect-ratio: 16 / 7; } }

/* Banner sits right under the header on every page, full width, fixed height */
.ads { padding: 14px 0 0; }
.ads .container { display: block; }
.ads__stage { width: 100%; aspect-ratio: auto; max-height: none; height: clamp(90px, 13vw, 190px); }
.ads__slide, .ads__slide--text.is-active { height: 100%; }
.ads__slide--text { padding: 10px 24px; }
.ads__slide--text strong { font-size: clamp(16px, 2.2vw, 24px); margin-bottom: 2px; }
.ads__dots { margin-top: 8px; }
@media (max-width: 600px) { .ads { padding-top: 10px; } .ads__stage { aspect-ratio: auto; height: clamp(80px, 26vw, 130px); } }

/* Advertisement pop-up (ads.js): shown once per visit */
.ads-pop { position: fixed; inset: 0; z-index: 1200; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(8, 18, 40, 0.6); animation: ads-in 0.3s ease; }
.ads-pop__box { position: relative; width: min(820px, 100%); }
.ads-pop .ads__stage { width: 100%; height: auto; aspect-ratio: 16 / 9; max-height: 80vh; border: 0; border-radius: var(--r-md); box-shadow: 0 20px 60px rgba(0,0,0,.45); }
.ads-pop .ads__slide--text { padding: 24px; }
.ads-pop .ads__slide--text strong { font-size: clamp(22px, 4vw, 34px); }
.ads-pop .ads__dots { margin-top: 12px; }
.ads-pop .ads__dot { background: rgba(255,255,255,.55); }
.ads-pop .ads__dot.is-active { background: #ffffff; }
.ads-pop__close { position: absolute; top: -14px; right: -14px; z-index: 3; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #ffffff; color: #0b1f44; font-size: 24px; line-height: 1; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.35); }
@media (max-width: 600px) { .ads-pop__close { top: -10px; right: -4px; } }

/* Advertisement card in the bottom-right corner (ads.js) - replaces the earlier pop-up/strip styles */
.ads-pop, .ads { display: none !important; }
.ads-card { position: fixed; right: 20px; bottom: 90px; z-index: 1100; width: 300px; max-width: calc(100vw - 32px); border-radius: var(--r-md); overflow: hidden; background: var(--surface, #ffffff); color: var(--text); border: 1px solid var(--border); box-shadow: 0 12px 36px rgba(8, 18, 40, 0.28); animation: ads-card-in 0.4s ease; }
.ads-card__stage { display: block; }
.ads-card__slide { display: none; color: inherit; text-decoration: none; }
.ads-card__slide.is-active { display: block; }
.ads-card__image { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--border); }
.ads-card__body { display: grid; gap: 3px; padding: 10px 14px 12px; }
.ads-card__title { font-size: 14px; line-height: 1.3; }
.ads-card__text { font-size: 12px; line-height: 1.4; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ads-card__more { font-size: 12px; font-weight: 600; color: var(--primary-text); }
.ads-card__slide:hover .ads-card__more { text-decoration: underline; }
.ads-card__close { position: absolute; top: 6px; right: 6px; z-index: 2; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 50%; background: rgba(0, 0, 0, 0.55); color: #ffffff; font-size: 18px; line-height: 1; cursor: pointer; }
.ads-card__tag { position: absolute; top: 8px; left: 8px; z-index: 2; padding: 1px 6px; border-radius: 3px; background: rgba(0, 0, 0, 0.55); color: #ffffff; font-size: 9.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; pointer-events: none; }
.ads-card__dots { display: flex; justify-content: center; gap: 6px; padding: 0 0 10px; }
.ads-card__dot { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: var(--border-strong); cursor: pointer; }
.ads-card__dot.is-active { width: 18px; border-radius: 4px; background: var(--primary-text); }
@keyframes ads-card-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) { .ads-card { right: 12px; bottom: 80px; width: 260px; } }
@media (prefers-reduced-motion: reduce) { .ads-card { animation: none; } }

/* Full advertisement page (advertisement/?id=...) */
.ad-detail__image { display: block; width: 100%; max-width: 960px; height: auto; margin: 18px 0 8px; border-radius: var(--r-md); border: 1px solid var(--border); }
.ad-detail__meta { margin: 6px 0 14px; font-size: 13px; color: var(--text-muted); }
.ad-detail__link { display: inline-flex; margin: 0 10px 10px 0; }
.ads-card__slide:not(:has(.ads-card__image)) .ads-card__body { padding-top: 34px; }
.ad-detail__image { max-width: 520px; max-height: 360px; object-fit: cover; }
@media (max-width: 600px) { .ad-detail__image { max-width: 100%; max-height: 260px; } }

/* Compact advertisement page: small picture beside all the details from the API */
.ad-detail__layout { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; margin-top: 10px; }
.ad-detail__image { width: 280px; max-width: 100%; height: auto; max-height: 220px; margin: 0; object-fit: cover; }
.ad-detail__list { flex: 1 1 320px; display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; font-size: 14px; }
.ad-detail__list dt { color: var(--text-muted); }
.ad-detail__list dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.ad-detail__list a { color: var(--primary-text); }
/* Banner without a picture: a blue background instead of an empty white card */
.ads-card__slide:not(:has(.ads-card__image)) { background: linear-gradient(135deg, #0a3d91, #1e6fe0); color: #ffffff; }
.ads-card__slide:not(:has(.ads-card__image)) .ads-card__text { color: rgba(255, 255, 255, 0.88); }
.ads-card__slide:not(:has(.ads-card__image)) .ads-card__more { color: #ffffff; }

/* View-all advertisement page: every ad as one compact card in a list */
.ad-detail__all { display: grid; gap: 14px; margin-top: 14px; }
.ad-detail__all .ad-detail__layout { margin: 0; padding: 14px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); }
.ad-detail__all .ad-detail__layout.is-selected { border-color: var(--primary-text); box-shadow: 0 0 0 2px var(--primary-text); }
.ad-detail__body { flex: 1 1 320px; min-width: 0; }
.ad-detail__name { margin: 0 0 8px; font-size: 18px; color: var(--text); }
.ad-detail__all .ad-detail__list { font-size: 13.5px; }
.ad-detail__all .ad-detail__image { width: 240px; max-height: 180px; }
.ad-detail__holder { display: flex; align-items: center; justify-content: center; min-height: 150px; padding: 16px; text-align: center; border: 0; background: linear-gradient(135deg, #0a3d91, #1e6fe0); color: #ffffff; font-size: 18px; }
/* Every advertisement card is identical: same picture block size whether it has a photo or the blue placeholder */
.ad-detail__all .ad-detail__image { width: 240px; height: 160px; max-height: none; flex: 0 0 240px; object-fit: cover; border-radius: var(--r-md); }
.ad-detail__all .ad-detail__holder { min-height: 0; }
@media (max-width: 600px) { .ad-detail__all .ad-detail__image { width: 100%; flex-basis: 100%; } }
/* Corner ad card: every slide has the same size, with or without a picture */
.ads-card__slide.is-active { display: flex; flex-direction: column; height: 230px; }
.ads-card__image { aspect-ratio: auto; height: 130px; flex: 0 0 130px; }
.ads-card__body { flex: 1; align-content: start; }
.ads-card__slide:not(:has(.ads-card__image)) .ads-card__body { align-content: center; padding-top: 30px; }
/* No picture: the same layout as a card with a photo - blue block on top, white text area below */
.ads-card__image--blank { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #0a3d91, #1e6fe0); color: rgba(255, 255, 255, 0.9); font-size: 18px; font-weight: 700; letter-spacing: 0.02em; }

/* Modern advertisement page: a grid of cards, picture on top, details below */
.ad-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; margin-top: 18px; }
.ad-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); box-shadow: 0 2px 10px rgba(8, 18, 40, 0.06); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.ad-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(8, 18, 40, 0.16); }
.ad-card.is-selected { border-color: var(--primary-text); box-shadow: 0 0 0 2px var(--primary-text), 0 14px 34px rgba(8, 18, 40, 0.16); }
.ad-card__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--border); }
.ad-card__image { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.ad-card:hover .ad-card__image { transform: scale(1.06); }
.ad-card__media--blank { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #0a3d91, #1e6fe0); color: rgba(255, 255, 255, 0.92); font-size: 20px; font-weight: 700; }
.ad-card__media::after { content: "Ad"; position: absolute; top: 10px; left: 10px; padding: 2px 8px; border-radius: 4px; background: rgba(0, 0, 0, 0.55); color: #ffffff; font-size: 10px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.ad-card__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 16px 18px 18px; }
.ad-card__name { margin: 0; font-size: 19px; line-height: 1.25; color: var(--text); }
.ad-card__text { margin: 0; font-size: 14px; line-height: 1.5; color: var(--text-muted); }
.ad-card__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ad-card__chip { padding: 3px 10px; border-radius: 999px; background: var(--primary-soft, rgba(30, 111, 224, 0.12)); color: var(--primary-text); font-size: 11.5px; font-weight: 600; }
.ad-card__meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 14px; margin: 4px 0 0; padding-top: 12px; border-top: 1px dashed var(--border); }
.ad-card__meta dt { font-size: 11px; color: var(--text-muted); }
.ad-card__meta dd { margin: 2px 0 0; font-size: 13.5px; font-weight: 600; color: var(--text); }
.ad-card__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }
@media (max-width: 600px) { .ad-grid { grid-template-columns: 1fr; gap: 16px; } }
@media (prefers-reduced-motion: reduce) { .ad-card, .ad-card__image { transition: none; } .ad-card:hover { transform: none; } .ad-card:hover .ad-card__image { transform: none; } }

/* New advertisement design: full-picture cards with the text over a dark fade at the bottom */
.ad-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.ad-card { position: relative; display: block; aspect-ratio: 3 / 4; min-height: 380px; border: 0; border-radius: 20px; background: #0b1f44; color: #ffffff; box-shadow: 0 10px 30px rgba(8, 18, 40, 0.22); }
.ad-card__media { position: absolute; inset: 0; aspect-ratio: auto; }
.ad-card__media::after { top: 14px; left: 14px; }
.ad-card__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; flex: none; gap: 8px; padding: 70px 18px 18px; background: linear-gradient(180deg, rgba(4, 14, 36, 0) 0%, rgba(4, 14, 36, 0.78) 45%, rgba(4, 14, 36, 0.95) 100%); }
.ad-card__name { font-size: 22px; color: #ffffff; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4); }
.ad-card__text { color: rgba(255, 255, 255, 0.85); display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ad-card__chip { background: rgba(255, 255, 255, 0.16); color: #ffffff; backdrop-filter: blur(4px); }
.ad-card__meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 0; padding: 0; border: 0; }
.ad-card__meta > div { display: flex; gap: 5px; align-items: baseline; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); }
.ad-card__meta dt { color: rgba(255, 255, 255, 0.7); font-size: 11px; }
.ad-card__meta dd { margin: 0; color: #ffffff; font-size: 11.5px; font-weight: 600; }
.ad-card__actions .btn { background: #ffffff; color: #0a3d91; }
.ad-card__media--blank { font-size: 24px; align-items: flex-start; padding-top: 38%; justify-content: center; }
.ad-card:hover .ad-card__image { transform: scale(1.08); }
@media (max-width: 600px) { .ad-card { aspect-ratio: 4 / 5; min-height: 340px; } }

/* Expanded picture view on the advertisement page */
.ad-card.is-zoomable { cursor: zoom-in; }
.ad-card.is-zoomable:focus-visible { outline: 3px solid var(--primary-text); outline-offset: 3px; }
.ad-viewer-open { overflow: hidden; }
.ad-viewer { position: fixed; inset: 0; z-index: 1300; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(4, 10, 26, 0.88); animation: ads-in 0.25s ease; }
.ad-viewer__figure { margin: 0; max-width: min(1100px, 100%); max-height: 100%; display: grid; gap: 10px; justify-items: center; }
.ad-viewer__image { display: block; max-width: 100%; max-height: calc(100vh - 110px); width: auto; height: auto; border-radius: 12px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); }
.ad-viewer__caption { color: #ffffff; font-size: 15px; font-weight: 600; }
.ad-viewer__close { position: absolute; top: 16px; right: 16px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: #ffffff; color: #0b1f44; font-size: 28px; line-height: 1; cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4); }
@media (max-width: 600px) { .ad-card { aspect-ratio: 1 / 1; min-height: 300px; } .ad-card__name { font-size: 19px; } .ad-viewer { padding: 12px; } }

/* Advertisement slots inside a page (picture or GIF that links to another page) */
.ad-slot { padding: 22px 0; }
.ad-slot[hidden] { display: none; }
.ad-slot__link { position: relative; display: block; overflow: hidden; border-radius: 18px; border: 1px solid var(--border); box-shadow: 0 8px 26px rgba(8, 18, 40, 0.14); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.ad-slot__link:hover { transform: translateY(-3px); box-shadow: 0 16px 38px rgba(8, 18, 40, 0.22); }
.ad-slot__link:focus-visible { outline: 3px solid var(--primary-text); outline-offset: 3px; }
.ad-slot__link img { display: block; width: 100%; height: auto; }
.ad-slot__tag { position: absolute; top: 10px; right: 10px; padding: 2px 9px; border-radius: 4px; background: rgba(0, 0, 0, 0.55); color: #ffffff; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; pointer-events: none; }
@media (max-width: 600px) { .ad-slot { padding: 14px 0; } .ad-slot__link { border-radius: 14px; } }
@media (prefers-reduced-motion: reduce) { .ad-slot__link { transition: none; } .ad-slot__link:hover { transform: none; } }
.ad-slot { padding: 16px 0; }
.ad-slot__link { border-radius: 16px; border: 0; }
.ad-slot__link picture { display: block; }
.ad-slot__tag { top: 8px; right: 10px; padding: 1px 7px; font-size: 10px; }

/* Advertisement slider with Previous / Pause-Play / Next (ad-slider.js) */
.ad-slider { position: relative; overflow: hidden; border-radius: 16px; box-shadow: 0 8px 26px rgba(8, 18, 40, 0.16); }
.ad-slider__track { display: grid; }
.ad-slider__slide { grid-area: 1 / 1; display: block; opacity: 0; visibility: hidden; transform: scale(1.02); transition: opacity 0.6s ease, transform 0.8s ease, visibility 0s linear 0.6s; }
.ad-slider__slide.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity 0.6s ease, transform 0.8s ease; }
.ad-slider__slide picture, .ad-slider__slide img { display: block; width: 100%; height: auto; }
.ad-slider__slide:focus-visible { outline: 3px solid var(--primary-text); outline-offset: -3px; }
.ad-slider .ad-slot__tag { z-index: 2; }
.ad-slider__controls { position: absolute; right: 12px; bottom: 8px; z-index: 2; display: flex; gap: 5px; padding: 3px; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 999px; background: rgba(4, 18, 48, 0.35); backdrop-filter: blur(8px); }
.ad-slider__controls .carousel__arrow { width: 28px; height: 28px; }
.ad-slider__controls .carousel__arrow .icon { width: 14px; height: 14px; }
.ad-slider__dots { position: absolute; left: 50%; bottom: 8px; z-index: 2; display: flex; gap: 6px; transform: translateX(-50%); }
.ad-slider__dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.5); cursor: pointer; transition: width 0.25s ease, background 0.25s ease; }
.ad-slider__dot[aria-current="true"] { width: 22px; border-radius: 4px; background: #ffffff; }
.ad-slider.is-single .ad-slider__controls, .ad-slider.is-single .ad-slider__dots { display: none; }
.ad-slider.is-paused .carousel__pause { display: none; }
.ad-slider.is-paused .carousel__play { display: block; }
.ad-slider:not(.is-paused) .carousel__play { display: none; }
@media (max-width: 600px) { .ad-slider { border-radius: 14px; } .ad-slider__controls { right: 8px; bottom: 6px; } .ad-slider__controls .carousel__arrow { width: 26px; height: 26px; } .ad-slider__dots { bottom: 10px; } }
@media (prefers-reduced-motion: reduce) { .ad-slider__slide, .ad-slider__slide.is-active { transition: none; transform: none; } }


/* Date picker on the Flight Schedule page (looks like the date chip it replaces) */
.schedule-datepick { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.schedule-datepick .icon { width: 15px; height: 15px; flex: none; }
.schedule-datepick input { border: 0; padding: 0; background: transparent; color: inherit; font: inherit; font-weight: 600; cursor: pointer; }
.schedule-datepick input:focus-visible { outline: 2px solid var(--primary-text); outline-offset: 3px; border-radius: 4px; }
.schedule-datepick:hover { filter: brightness(0.97); }
[data-theme="dark"] .schedule-datepick input { color-scheme: dark; }


/* Tooltip shared by all icon buttons and the Customer Portal button (tooltip.js) */
.tip { position: fixed; z-index: 2000; max-width: min(280px, calc(100vw - 16px)); padding: 6px 10px; border-radius: 8px; background: #0b1f44; color: #ffffff; font-size: 12px; font-weight: 500; line-height: 1.3; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28); pointer-events: none; animation: tip-in 0.15s ease; }
.tip[hidden] { display: none; }
.tip::before { content: ""; position: absolute; left: var(--tip-arrow, 50%); top: -5px; margin-left: -6px; border: 6px solid transparent; border-top-width: 0; border-bottom-color: #0b1f44; }
.tip.is-above::before { top: auto; bottom: -5px; border-top-width: 6px; border-bottom-width: 0; border-top-color: #0b1f44; border-bottom-color: transparent; }
[data-theme="dark"] .tip { background: #ffffff; color: #0b1f44; }
[data-theme="dark"] .tip::before { border-bottom-color: #ffffff; }
[data-theme="dark"] .tip.is-above::before { border-bottom-color: transparent; border-top-color: #ffffff; }
@keyframes tip-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .tip { animation: none; } }

/* Cargo type dropdown: the product picture sits where the airport code box is */
.airport-list li strong.product-thumb { overflow: hidden; padding: 0; font-size: 13px; }
.airport-list li strong.product-thumb img { display: block; width: 100%; height: 100%; min-height: 40px; object-fit: cover; border-radius: 8px; }

/* Corner ad card: no fixed height - every slide sits in the same grid cell, so the card is exactly as tall as its longest content and no white space is left */
.ads-card__stage { display: grid; }
.ads-card__slide, .ads-card__slide.is-active { grid-area: 1 / 1; display: flex; flex-direction: column; height: auto; }
.ads-card__slide { visibility: hidden; }
.ads-card__slide.is-active { visibility: visible; }
.ads-card__image { height: 120px; flex: none; }
.ads-card__body { flex: none; gap: 2px; padding: 8px 14px 6px; }
.ads-card__dots { padding: 2px 0 8px; }
.ads-card--single .ads-card__dots { display: none; }

/* ===== Final check fixes ===== */
/* 1. 320px phones: the header (logo, QA badge, 4 buttons) was ~20px too wide and the page scrolled sideways */
@media (max-width: 360px) {
  :root { --gutter: 12px; }
  .site-header { --h-control: 34px; }
  .site-header__inner { gap: 8px; }
  .site-header__actions { gap: 6px; }
  .logo img, [data-theme="dark"] .site-header .logo img { height: 32px; }
  .env-badge { padding: 2px 7px; font-size: 10px; letter-spacing: 0.04em; }
}
/* 2. Small controls get a 24px touch area (WCAG 2.2): the dots keep their look but are easier to hit */
.ad-slider__dot, .ads-card__dot { position: relative; width: 24px; height: 24px; padding: 0; background: none; border-radius: 0; }
.ad-slider__dot[aria-current="true"], .ads-card__dot.is-active { width: 24px; border-radius: 0; background: none; }
.ad-slider__dot::before, .ads-card__dot::before { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-radius: 50%; transform: translate(-50%, -50%); background: rgba(255, 255, 255, 0.5); transition: width 0.25s ease, background 0.25s ease; }
.ad-slider__dot[aria-current="true"]::before { width: 22px; border-radius: 4px; background: #ffffff; }
.ads-card__dot::before { width: 7px; height: 7px; background: var(--border-strong); }
.ads-card__dot.is-active::before { width: 18px; border-radius: 4px; background: var(--primary-text); }
.ad-slider__dots, .ads-card__dots { gap: 0; }
.env-switch { width: 28px; height: 28px; }
.schedule-datepick input { min-height: 24px; }
.ads-card__close { width: 28px; height: 28px; }
/* 3. Status badges on light backgrounds (green, orange) need dark text to be readable */
.flight-row__status--scheduled, .flight-row__status--delayed { color: #10240f !important; }
.schedule .flight-row__states em.flight-row__status--scheduled, .schedule .flight-row__states em.flight-row__status--delayed { color: #10240f; }
/* About photo slider dots: same 24px touch area, same look */
.carousel__dot { position: relative; width: 24px; height: 24px; padding: 0; background: none; border-radius: 0; }
.carousel__dot[aria-current="true"] { width: 24px; background: none; }
.carousel__dot::before { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-radius: 50%; transform: translate(-50%, -50%); background: rgba(255, 255, 255, 0.6); transition: width 0.25s ease, background 0.25s ease; }
.carousel__dot[aria-current="true"]::before { width: 20px; border-radius: 4px; background: #ffffff; }
.carousel__dots { gap: 0; left: 4px; }

/* ===== Row of adverts that scrolls sideways, every advert is the same tile design ===== */
.ad-row__bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.ad-row__label { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.ad-row__nav { display: flex; gap: 6px; }
.ad-row:not(.is-scrollable) .ad-row__nav { display: none; }
.ad-row__track { display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding: 0 2px; padding: 4px 2px 12px; scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent; }
.ad-row__track::-webkit-scrollbar { height: 8px; }
.ad-row__track::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 999px; }
.ad-row__track:focus-visible { outline: 2px solid var(--primary-text); outline-offset: 2px; border-radius: 12px; }
.ad-row__item { flex: 0 0 clamp(300px, 31%, 440px); display: flex; scroll-snap-align: start; }
.ad-row__item > a { flex: 1; min-width: 0; }

.ad-tile { --tile-ink: #0a3d91; position: relative; display: grid; grid-template-columns: 116px minmax(0, 1fr); align-items: stretch; min-height: 130px; overflow: hidden; border-radius: 18px; color: #ffffff; text-decoration: none; background: var(--tile-bg); box-shadow: 0 8px 22px rgba(8, 18, 40, 0.2); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.ad-tile--teal { --tile-bg: linear-gradient(115deg, #053f3b 0%, #0b7a70 60%, #12a595 100%); --tile-ink: #075a52; }
.ad-tile--blue { --tile-bg: linear-gradient(115deg, #07204f 0%, #0f3a8c 55%, #1b61d8 100%); --tile-ink: #0a3d91; }
.ad-tile--orange { --tile-bg: linear-gradient(115deg, #5c1f06 0%, #b3470f 55%, #ec8a2a 100%); --tile-ink: #8a3305; }
.ad-tile--navy { --tile-bg: linear-gradient(115deg, #1a1446 0%, #3a2a8f 55%, #6a4fd8 100%); --tile-ink: #3a2a8f; }
.ad-tile:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(8, 18, 40, 0.28); }
.ad-tile:focus-visible { outline: 3px solid var(--primary-text); outline-offset: 3px; }
.ad-tile__photo { overflow: hidden; clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%); }
.ad-tile__photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.ad-tile:hover .ad-tile__photo img { transform: scale(1.08); }
.ad-tile__body { display: grid; align-content: center; justify-items: start; gap: 5px; padding: 12px 14px 12px 4px; }
.ad-tile__title { font-size: 17px; line-height: 1.18; }
.ad-tile__title em { font-style: normal; color: #ffd60a; }
.ad-tile__sub { display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12.5px; line-height: 1.35; color: rgba(255, 255, 255, 0.88); }
.ad-tile__cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 3px; padding: 5px 13px; border-radius: 999px; background: #ffffff; color: var(--tile-ink); font-size: 13px; font-weight: 700; transition: gap 0.2s ease; }
.ad-tile__cta .icon { width: 14px; height: 14px; }
.ad-tile:hover .ad-tile__cta { gap: 10px; }
.ad-tile .ad-slot__tag { top: 8px; right: 10px; left: auto; }
@media (max-width: 760px) { .ad-row__item { flex-basis: min(88%, 340px); } .ad-tile { grid-template-columns: 92px minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .ad-row__track { scroll-behavior: auto; } .ad-tile, .ad-tile__photo img, .ad-tile__cta { transition: none; } .ad-tile:hover { transform: none; } .ad-tile:hover .ad-tile__photo img { transform: none; } }

/* the picture fills its column but never makes the tile taller */
.ad-tile__photo { position: relative; }
.ad-tile__photo img { position: absolute; inset: 0; }

/* ===== Ad row as a modern slider: no scrollbar, soft edges, pill controls and dots ===== */
.ad-row__track { scrollbar-width: none; padding-bottom: 6px; }
.ad-row__track::-webkit-scrollbar { display: none; }
.ad-row.can-next:not(.can-prev) .ad-row__track { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); }
.ad-row.can-prev:not(.can-next) .ad-row__track { -webkit-mask-image: linear-gradient(90deg, transparent, #000 36px); mask-image: linear-gradient(90deg, transparent, #000 36px); }
.ad-row.can-prev.can-next .ad-row__track { -webkit-mask-image: linear-gradient(90deg, transparent, #000 36px, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, transparent, #000 36px, #000 calc(100% - 36px), transparent); }
.ad-row__nav { gap: 4px; padding: 3px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-sm, 0 2px 8px rgba(8, 18, 40, 0.1)); }
.ad-row__nav .carousel__arrow { width: 30px; height: 30px; border-color: transparent; background: var(--surface-2); color: var(--text); box-shadow: none; }
.ad-row__nav .carousel__arrow:hover { background: var(--border); }
.ad-row__nav .carousel__arrow--filled { background: var(--btn-gradient, var(--primary)); color: var(--on-primary, #ffffff); }
.ad-row__dots { display: flex; justify-content: center; margin-top: 2px; }
.ad-row__dot { position: relative; width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
.ad-row__dot::before { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-radius: 50%; transform: translate(-50%, -50%); background: var(--border-strong); transition: width 0.25s ease, background 0.25s ease; }
.ad-row__dot[aria-current="true"]::before { width: 22px; border-radius: 4px; background: var(--primary-text); }
.ad-row:not(.is-scrollable) .ad-row__dots { display: none; }
/* no shadow behind the ad tiles (it was cut off by the sliding row and left a grey band) */
.ad-tile, .ad-tile:hover { box-shadow: none; }

/* Corner advert: the dots are joined by short lines. The line after the active dot fills towards the next dot; when it arrives the next
   advert shows and that dot's line starts filling. Dots already passed stay coloured. */
.ads-card__dot::before, .ads-card__dot.is-active::before { width: 7px; height: 7px; border-radius: 50%; background: var(--border-strong); transition: background 0.25s ease; }
.ads-card__dot.is-done::before, .ads-card__dot.is-active::before { background: var(--primary-text); }
.ads-card__dot::after { content: ""; position: absolute; left: calc(50% + 3.5px); top: 50%; width: 17px; height: 2px; transform: translateY(-50%); border-radius: 1px; background: linear-gradient(var(--primary-text), var(--primary-text)) left center / 0 100% no-repeat, var(--border-strong); }
.ads-card__dot:last-child::after { display: none; }
.ads-card__dot.is-done::after { background-size: 100% 100%; }
.ads-card__dots.is-running .ads-card__dot.is-active::after { animation: ads-line-fill var(--ads-rotate, 2000ms) linear forwards; }
.ads-card__dots.is-running .ads-card__dot.is-active:last-child::before { animation: ads-last-fill var(--ads-rotate, 2000ms) linear forwards; }
.ads-card__dots.is-paused .ads-card__dot.is-active::after, .ads-card__dots.is-paused .ads-card__dot.is-active::before { animation-play-state: paused; }
@keyframes ads-line-fill { from { background-size: 0 100%; } to { background-size: 100% 100%; } }
@keyframes ads-last-fill { from { background: var(--border-strong); } to { background: var(--primary-text); } }
@media (prefers-reduced-motion: reduce) { .ads-card__dot.is-active::after { background-size: 100% 100%; animation: none !important; } }

/* Advertisement page: one wide row per advert - picture on one side, text on the other, switching sides on each row */
.ad-grid { grid-template-columns: 1fr; gap: 28px; }
.ad-card, .ad-card:hover { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); aspect-ratio: auto; min-height: 0; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); color: var(--text); box-shadow: 0 4px 18px rgba(8, 18, 40, 0.08); transform: none; }
.ad-card:hover { box-shadow: 0 16px 40px rgba(8, 18, 40, 0.16); }
.ad-card:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.ad-card:nth-child(even) .ad-card__media { order: 2; }
.ad-card__media { position: relative; inset: auto; aspect-ratio: 16 / 10; min-height: 100%; }
.ad-card__media--blank { padding-top: 0; align-items: center; }
.ad-card__body { position: static; align-self: center; justify-content: center; gap: 12px; padding: 28px clamp(20px, 3.5vw, 44px); background: none; }
.ad-card__body::before { content: ""; width: 44px; height: 4px; border-radius: 2px; background: var(--primary-text); }
.ad-card__name { font-size: clamp(22px, 2.6vw, 30px); color: var(--text); text-shadow: none; }
.ad-card__text { display: block; -webkit-line-clamp: unset; line-clamp: unset; overflow: visible; font-size: 16px; line-height: 1.65; color: var(--text-muted); }
.ad-card__meta > div { background: var(--primary-soft, rgba(30, 111, 224, 0.12)); }
.ad-card__meta dt { color: var(--text-muted); }
.ad-card__meta dd { color: var(--primary-text); }
.ad-card__actions .btn { background: var(--primary-text); color: #ffffff; }
@media (max-width: 800px) {
  .ad-card, .ad-card:nth-child(even) { grid-template-columns: 1fr; }
  .ad-card:nth-child(even) .ad-card__media { order: 0; }
  .ad-card__media { min-height: 0; }
  .ad-card__body { padding: 20px; }
}

/* Shorter rows */
.ad-grid { gap: 18px; }
.ad-card__media { aspect-ratio: 16 / 7; }
.ad-card__body { gap: 8px; padding: 16px clamp(18px, 3vw, 32px); }
.ad-card__body::before { width: 36px; height: 3px; }
.ad-card__name { font-size: clamp(19px, 2.1vw, 24px); }
.ad-card__text { font-size: 14.5px; line-height: 1.5; }
@media (max-width: 800px) { .ad-card__media { aspect-ratio: 16 / 8; } .ad-card__body { padding: 14px 18px; } }

/* Advertisement page: tighter header and spacing */
.ad-detail .ab-eyebrow { padding: 2px 10px; font-size: 10px; }
.ad-detail .ab-title { margin-top: 4px; font-size: clamp(22px, 2.4vw, 30px); }
.ad-detail .ab-lead { margin: 2px 0 0; font-size: 14px; }
.ad-detail .ad-grid { margin-top: 10px; gap: 14px; }
.fleet-page:has(.ad-detail) { padding: 8px 0 14px; }
.fleet-page:has(.ad-detail) .back-btn { height: 30px; margin-bottom: 4px; }
.ad-detail .ad-card__media { aspect-ratio: 16 / 6; }
.ad-detail .ad-card__body { gap: 6px; padding: 12px clamp(16px, 2.6vw, 28px); }
.ad-detail .ad-card__body::before { display: none; }
.ad-detail .ad-card__name { font-size: clamp(18px, 1.9vw, 22px); }
.ad-detail .ad-card__text { font-size: 14px; line-height: 1.45; }

/* Advertisement page, new look: two columns of compact cards - small picture on the left, text on the right */
.ad-detail .ad-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ad-detail .ad-card, .ad-detail .ad-card:nth-child(even) { grid-template-columns: 38% minmax(0, 1fr); align-items: stretch; border-radius: 14px; box-shadow: 0 2px 10px rgba(8, 18, 40, 0.07); }
.ad-detail .ad-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(8, 18, 40, 0.15); }
.ad-detail .ad-card:nth-child(even) .ad-card__media { order: 0; }
.ad-detail .ad-card__media { aspect-ratio: auto; min-height: 150px; height: 100%; border-radius: 14px 0 0 14px; }
.ad-detail .ad-card__media::after { top: 8px; left: 8px; font-size: 9px; }
.ad-detail .ad-card__body { align-self: center; gap: 4px; padding: 12px 14px; }
.ad-detail .ad-card__name { font-size: 17px; }
.ad-detail .ad-card__text { display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; line-height: 1.45; }
.ad-detail .ad-card__meta > div { padding: 2px 8px; }
.ad-detail .ad-card__actions { padding-top: 4px; }
.ad-detail .ad-card__actions .btn { padding: 5px 12px; font-size: 12.5px; }
@media (max-width: 900px) { .ad-detail .ad-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .ad-detail .ad-card, .ad-detail .ad-card:nth-child(even) { grid-template-columns: 1fr; } .ad-detail .ad-card__media { height: auto; aspect-ratio: 16 / 8; min-height: 0; border-radius: 14px 14px 0 0; } }

/* Every slider: only the current dot and the next one are joined. The line after the current dot fills over 2 seconds, then the slide
   moves on and the line starts again from the new current dot. Other dots have no line. */
.ad-slider__dot, .carousel__dot { --dot-off: rgba(255, 255, 255, 0.4); --dot-on: #ffffff; }
.ad-row__dot { --dot-off: var(--border-strong); --dot-on: var(--primary-text); }
.ad-slider__dot, .carousel__dot, .ad-row__dot { position: relative; width: 24px; height: 24px; padding: 0; border-radius: 0; background: none; }
.ad-slider__dots { gap: 0; }
.ad-slider__dot::before, .carousel__dot::before, .ad-row__dot::before { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-radius: 50%; transform: translate(-50%, -50%); background: var(--dot-off); transition: background 0.3s ease, transform 0.3s ease; }
.ad-slider__dot[aria-current="true"]::before, .carousel__dot[aria-current="true"]::before, .ad-row__dot[aria-current="true"]::before { width: 8px; border-radius: 50%; background: var(--dot-on); transform: translate(-50%, -50%) scale(1.3); }
.ad-slider__dot::after, .carousel__dot::after, .ad-row__dot::after { content: none; }
.ad-slider__dot[aria-current="true"]:not(:last-child)::after, .carousel__dot[aria-current="true"]:not(:last-child)::after, .ad-row__dot[aria-current="true"]:not(:last-child)::after { content: ""; position: absolute; inset: auto; left: calc(50% + 4px); top: 50%; width: 16px; height: 2px; transform: translateY(-50%); border-radius: 1px; background: linear-gradient(var(--dot-on), var(--dot-on)) left center / 0 100% no-repeat, var(--dot-off); animation: dot-line-fill 2s linear forwards; }
.ad-slider.is-paused .ad-slider__dot::after, .ad-slider:hover .ad-slider__dot::after, .ad-row.is-paused .ad-row__dot::after, .ad-row:hover .ad-row__dot::after, .carousel:hover .carousel__dot::after, .carousel:has(.is-paused) .carousel__dot::after { animation-play-state: paused; }
@keyframes dot-line-fill { from { background-size: 0 100%; } to { background-size: 100% 100%; } }
@media (prefers-reduced-motion: reduce) { .ad-slider__dot::before, .carousel__dot::before, .ad-row__dot::before { transition: none; } .ad-slider__dot::after, .carousel__dot::after, .ad-row__dot::after { animation: none !important; background-size: 100% 100% !important; } }

/* Corner advert popup: same rule - only the current dot and the next one are joined */
.ads-card__dot.is-done::before { background: var(--border-strong); }
.ads-card__dot.is-done::after { background-size: 0 100%; }

/* The last dot has no line after it, so its own dot fades in over the same 2 seconds, like the corner popup */
.ad-slider__dot[aria-current="true"]:last-child::before, .carousel__dot[aria-current="true"]:last-child::before, .ad-row__dot[aria-current="true"]:last-child::before { animation: dot-last-fill 2s linear forwards; }
.ad-slider.is-paused .ad-slider__dot:last-child::before, .ad-slider:hover .ad-slider__dot:last-child::before, .ad-row.is-paused .ad-row__dot:last-child::before, .ad-row:hover .ad-row__dot:last-child::before, .carousel:hover .carousel__dot:last-child::before, .carousel:has(.is-paused) .carousel__dot:last-child::before { animation-play-state: paused; }
@keyframes dot-last-fill { from { background: var(--dot-off); } to { background: var(--dot-on); } }
@media (prefers-reduced-motion: reduce) { .ad-slider__dot:last-child::before, .carousel__dot:last-child::before, .ad-row__dot:last-child::before { animation: none !important; } }

/* Corner popup: the line exists only after the current dot (the faint track under the other dots is removed) */
.ads-card__dot::after { content: none; }
.ads-card__dot.is-active:not(:last-child)::after { content: ""; }

/* ===== Our Technology page ===== */
.tech-hero { position: relative; overflow: hidden; margin-top: 12px; padding: 36px 36px 32px; border-radius: 20px; color: #fff; background: radial-gradient(circle at 85% 10%, rgba(77,166,255,.45), transparent 45%), linear-gradient(135deg, #0a2a6b 0%, #0b5ad2 100%); box-shadow: var(--shadow-md); }
.tech-hero::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; border: 36px solid rgba(255,255,255,.07); }
.tech-hero .ab-eyebrow { background: rgba(255,255,255,.16); color: #fff; }
.tech-hero .ab-title { color: #fff; }
.tech-hero .ab-title em { background: none; color: #9fd0ff; }
.tech-hero .ab-lead { max-width: 760px; color: rgba(255,255,255,.88); font-size: 15px; }
.tech-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; position: relative; z-index: 1; }
.tech-chips li { padding: 5px 14px; border-radius: var(--r-pill); background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); font-size: 12px; font-weight: 600; backdrop-filter: blur(4px); }
.tech-section { margin-top: 32px; }
.tech-section__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.tech-section__head h3 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.tech-section__head::before { content: ""; width: 5px; height: 24px; border-radius: 4px; background: var(--btn-gradient); }
.tech-intro { max-width: 720px; margin: 0 0 16px; font-size: 14px; color: var(--text-muted); }
.tech-two { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.tech-card, .tech-cap { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.tech-card { padding: 22px 24px; }
.tech-card p { margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--text-muted); }
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.tech-cap { position: relative; padding: 20px 20px 22px; }
.tech-cap:hover, .tech-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.tech-cap__no { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-bottom: 12px; border-radius: 12px; background: var(--btn-gradient); color: #fff; font-size: 14px; font-weight: 700; box-shadow: var(--shadow-primary); }
.tech-cap h4 { margin: 0 0 6px; font-size: 15.5px; font-weight: 700; }
.tech-cap p { margin: 0; font-size: 13px; line-height: 1.55; color: var(--text-muted); }
.tech-card--accent { border-left: 5px solid var(--primary); }
@media (max-width: 980px) { .tech-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .tech-grid, .tech-two { grid-template-columns: 1fr; } .tech-hero { padding: 26px 20px; } }
@media (prefers-reduced-motion: reduce) { .tech-cap, .tech-card { transition: none; } }

/* Our Technology: compact pass */
.tech-hero { margin-top: 6px; padding: 18px 24px; border-radius: 14px; }
.tech-hero::after { display: none; }
.tech-hero .ab-title { margin-top: 4px; font-size: clamp(24px, 2.6vw, 32px); }
.tech-hero .ab-lead { margin-top: 6px; font-size: 13px; line-height: 1.5; max-width: 900px; }
.tech-chips { gap: 6px; margin-top: 10px; }
.tech-chips li { padding: 3px 10px; font-size: 11px; }
.tech-section { margin-top: 16px; }
.tech-section__head { margin-bottom: 8px; gap: 8px; }
.tech-section__head::before { height: 18px; width: 4px; }
.tech-section__head h3 { font-size: 16px; }
.tech-intro { margin: 0 0 8px; font-size: 12.5px; }
.tech-two, .tech-grid { gap: 10px; }
.tech-card { padding: 12px 16px; border-radius: 12px; }
.tech-card p { font-size: 12.5px; line-height: 1.5; }
.tech-card--accent { border-left-width: 4px; }
.tech-grid { grid-template-columns: repeat(4, 1fr); }
.tech-cap { display: grid; grid-template-columns: 28px 1fr; column-gap: 10px; align-items: start; padding: 10px 12px; border-radius: 12px; }
.tech-cap__no { grid-row: span 2; width: 28px; height: 28px; margin: 0; border-radius: 8px; font-size: 11px; box-shadow: none; }
.tech-cap h4 { margin: 0 0 2px; font-size: 13px; line-height: 1.25; }
.tech-cap p { font-size: 11.5px; line-height: 1.4; }
.tech-cap:hover, .tech-card:hover { transform: translateY(-2px); }
@media (max-width: 1100px) { .tech-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .tech-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .tech-grid, .tech-two { grid-template-columns: 1fr; } .tech-hero { padding: 16px; } }

/* Our Technology: tabbed layout */
.tx-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 6px; padding: 16px 22px; border-radius: 14px; color: #fff; background: radial-gradient(circle at 90% 0, rgba(77,166,255,.4), transparent 50%), linear-gradient(135deg, #0a2a6b, #0b5ad2); box-shadow: var(--shadow-md); }
.tx-top .ab-eyebrow { background: rgba(255,255,255,.16); color: #fff; }
.tx-top .ab-title { margin-top: 4px; color: #fff; font-size: clamp(22px, 2.4vw, 30px); }
.tx-top .ab-title em { background: none; color: #9fd0ff; }
.tx-top .ab-lead { margin-top: 6px; max-width: 760px; color: rgba(255,255,255,.88); font-size: 12.5px; line-height: 1.5; }
.tx-stats { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; flex-shrink: 0; }
.tx-stats li { min-width: 84px; padding: 8px 12px; text-align: center; border-radius: 10px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); }
.tx-stats strong { display: block; font-size: 20px; line-height: 1.1; }
.tx-stats span { font-size: 10.5px; opacity: .85; }
.tx-tabs { display: inline-flex; gap: 4px; margin: 14px 0 10px; padding: 4px; border-radius: var(--r-pill); background: var(--surface-2); border: 1px solid var(--border); }
.tx-tab { padding: 7px 16px; border: 0; border-radius: var(--r-pill); background: transparent; color: var(--text-muted); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s; }
.tx-tab:hover { color: var(--text); }
.tx-tab.is-active { background: var(--btn-gradient); color: #fff; box-shadow: var(--shadow-primary); }
.tx-tab:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.tx-panel[hidden] { display: none; }
.tx-panel h3 { margin: 0 0 8px; font-size: 16px; font-weight: 700; }
.tx-sub { margin: 0 0 8px; font-size: 12.5px; color: var(--text-muted); }
.tx-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.tx-cols p { margin: 0; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--border); border-left: 4px solid var(--primary); background: var(--surface); font-size: 13px; line-height: 1.55; color: var(--text-muted); }
@media (max-width: 820px) { .tx-top { flex-direction: column; align-items: flex-start; } .tx-cols { grid-template-columns: 1fr; } .tx-tabs { display: flex; overflow-x: auto; } .tx-tab { white-space: nowrap; } }

/* Our Technology: split layout (no tabs) */
.tx-layout { display: grid; grid-template-columns: 5fr 7fr; gap: 16px; margin-top: 14px; align-items: start; }
.tx-story { display: grid; gap: 12px; }
.tx-block { padding: 14px 18px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); }
.tx-block h3, .tx-caps h3 { margin: 0 0 6px; font-size: 15px; font-weight: 700; }
.tx-block p { margin: 0 0 6px; font-size: 12.5px; line-height: 1.5; color: var(--text-muted); }
.tx-block p:last-child { margin-bottom: 0; }
.tx-caps .tx-sub { margin: 0 0 8px; }
.tx-caps .tech-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
.tx-caps .tech-cap { box-shadow: none; }
@media (max-width: 980px) { .tx-layout { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .tx-caps .tech-grid { grid-template-columns: 1fr; } }

/* Our Technology: images + DRONA logo */
.tx-top { display: grid; grid-template-columns: 1fr minmax(260px, 34%); gap: 24px; padding: 20px 24px; }
.tx-brand { display: flex; align-items: center; gap: 12px; }
.tx-logo { width: 56px; height: 56px; border-radius: 50%; box-shadow: 0 0 0 3px rgba(255,255,255,.35), 0 6px 18px rgba(0,0,0,.35); background: #000; }
.tx-top .tx-stats { margin-top: 12px; }
.tx-hero-img { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,.3); box-shadow: 0 14px 30px rgba(0,0,0,.3); min-height: 170px; }
.tx-hero-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tx-block { overflow: hidden; padding: 0 0 14px; }
.tx-block > :not(.tx-block__img) { margin-left: 18px; margin-right: 18px; }
.tx-block__img { display: block; width: 100%; height: 110px; margin-bottom: 12px; object-fit: cover; }
.tx-block h3 { margin-top: 0; }
.tx-caps .tech-cap { background: linear-gradient(180deg, var(--surface), var(--surface-2)); }
@media (max-width: 820px) { .tx-top { grid-template-columns: 1fr; } .tx-hero-img { min-height: 140px; } }

/* Our Technology: slim layout v3 */
.tx-top { grid-template-columns: 1fr 240px; gap: 18px; margin-top: 4px; padding: 12px 18px; border-radius: 12px; align-items: center; }
.tx-brand { gap: 10px; }
.tx-logo { width: 38px; height: 38px; box-shadow: 0 0 0 2px rgba(255,255,255,.35); }
.tx-top .tx-brand .ab-eyebrow { padding: 2px 10px; font-size: 10px; }
.tx-top .ab-title { margin: 2px 0 0; font-size: 22px; }
.tx-top .ab-lead { margin: 4px 0 0; font-size: 12px; line-height: 1.45; }
.tx-top .tx-stats { margin-top: 8px; gap: 6px; }
.tx-top .tx-stats li { min-width: 0; padding: 3px 10px; display: flex; align-items: baseline; gap: 6px; border-radius: var(--r-pill); }
.tx-top .tx-stats strong { display: inline; font-size: 13px; }
.tx-top .tx-stats span { font-size: 11px; }
.tx-hero-img { min-height: 0; height: 120px; border-radius: 12px; }
.tx-layout { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.tx-caps { order: -1; }
.tx-caps h3 { display: inline; margin: 0 10px 0 0; font-size: 14px; }
.tx-caps .tx-sub { display: inline; margin: 0; font-size: 12px; }
.tx-caps .tech-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.tx-caps .tech-cap { grid-template-columns: 1fr; padding: 8px 10px 9px; border-radius: 10px; border: 1px solid var(--border); border-top: 3px solid var(--primary); background: var(--surface); }
.tx-caps .tech-cap__no { display: none; }
.tx-caps .tech-cap h4 { grid-column: 1; font-size: 12.5px; margin-bottom: 2px; }
.tx-caps .tech-cap p { grid-column: 1; font-size: 11px; line-height: 1.35; }
.tx-story { grid-template-columns: repeat(2, 1fr); gap: 10px; }
.tx-block { display: grid; grid-template-columns: 84px 1fr; column-gap: 12px; padding: 10px 12px; border-radius: 12px; align-items: start; }
.tx-block > :not(.tx-block__img) { margin-left: 0; margin-right: 0; grid-column: 2; }
.tx-block__img { grid-column: 1; grid-row: 1 / span 3; width: 84px; height: 100%; min-height: 84px; margin: 0; border-radius: 10px; }
.tx-block h3 { margin: 0 0 3px; font-size: 13.5px; }
.tx-block p { margin: 0 0 3px; font-size: 11.5px; line-height: 1.4; }
@media (max-width: 1100px) { .tx-caps .tech-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .tx-top { grid-template-columns: 1fr; } .tx-hero-img { display: none; } .tx-story { grid-template-columns: 1fr; } .tx-caps .tech-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .tx-caps .tech-grid { grid-template-columns: 1fr; } }

/* Our Technology: v4 - no indicators, icon tiles */
.tx-top { grid-template-columns: 1fr 300px; }
.tx-hero-img { height: 150px; }
.tx-caps .tech-cap { display: grid; grid-template-columns: 34px 1fr; column-gap: 10px; border: 0; border-top: 0; border-radius: 12px; padding: 10px 12px; background: var(--surface-2); box-shadow: none; }
.tx-caps .tech-cap__no { display: inline-flex; grid-row: span 2; width: 34px; height: 34px; border-radius: 10px; background: var(--surface); color: var(--primary-text); box-shadow: var(--shadow-sm); }
.tx-caps .tech-cap__no .icon { width: 18px; height: 18px; }
.tx-caps .tech-cap h4, .tx-caps .tech-cap p { grid-column: 2; }
.tx-caps .tech-cap:hover { background: var(--surface); box-shadow: var(--shadow-md); }
.tx-block { grid-template-columns: 120px 1fr; background: var(--surface); }
.tx-block__img { width: 120px; min-height: 120px; }
@media (max-width: 820px) { .tx-block { grid-template-columns: 1fr; } .tx-block__img { grid-row: auto; width: 100%; min-height: 0; height: 110px; } .tx-block > :not(.tx-block__img) { grid-column: 1; } }

/* Our Technology: v5 top card (light split card, flush illustration) */
.tx-top { display: grid; grid-template-columns: 1fr minmax(280px, 38%); gap: 0; margin-top: 4px; padding: 0; overflow: hidden; border-radius: 16px; color: var(--text); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); align-items: stretch; }
.tx-top__text { padding: 18px 24px; }
.tx-top .tx-brand .ab-eyebrow { background: var(--surface-2); color: var(--primary-text); }
.tx-logo { width: 44px; height: 44px; box-shadow: var(--shadow-sm); }
.tx-top .ab-title { color: var(--text); font-size: clamp(24px, 2.4vw, 30px); }
.tx-top .ab-title em { background: var(--btn-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tx-top .ab-lead { color: var(--text-muted); font-size: 12.5px; max-width: 640px; }
.tx-top .tx-stats { display: flex; gap: 0; margin-top: 12px; }
.tx-top .tx-stats li { display: block; padding: 0 20px; border: 0; border-left: 1px solid var(--border); border-radius: 0; background: none; backdrop-filter: none; text-align: left; }
.tx-top .tx-stats li:first-child { padding-left: 0; border-left: 0; }
.tx-top .tx-stats strong { display: block; font-size: 20px; line-height: 1.1; color: var(--primary-text); }
.tx-top .tx-stats span { font-size: 11px; color: var(--text-muted); }
.tx-hero-img { height: auto; min-height: 150px; margin: 0; border: 0; border-radius: 0; box-shadow: none; background: #0a2a6b; clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%); }
.tx-hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
@media (max-width: 820px) { .tx-top { grid-template-columns: 1fr; } .tx-hero-img { display: none; } .tx-top__text { padding: 14px 16px; } }

/* Our Technology: v6 compact top card */
.tx-top { grid-template-columns: 1fr 26%; border-radius: 14px; }
.tx-top__text { display: grid; grid-template-columns: 1fr auto; column-gap: 20px; row-gap: 2px; align-items: center; padding: 10px 20px; }
.tx-top .tx-brand { grid-column: 1; width: max-content; gap: 6px; padding: 3px 12px 3px 3px; border-radius: var(--r-pill); background: var(--surface-2); border: 1px solid var(--border); }
.tx-top .tx-brand .ab-eyebrow { padding: 0; background: none; font-size: 10px; }
.tx-logo { width: 22px; height: 22px; box-shadow: none; }
.tx-top .ab-title { grid-column: 1; margin: 0; font-size: 22px; line-height: 1.15; }
.tx-top .ab-lead { grid-column: 1; margin: 0; font-size: 12px; line-height: 1.4; }
.tx-top .tx-stats { grid-column: 2; grid-row: 1 / span 3; margin: 0; flex-direction: column; gap: 6px; }
.tx-top .tx-stats li { display: flex; align-items: baseline; gap: 6px; padding: 0 0 0 14px; border-left: 2px solid var(--border); }
.tx-top .tx-stats li:first-child { padding-left: 14px; border-left: 2px solid var(--border); }
.tx-top .tx-stats strong { display: inline; font-size: 15px; }
.tx-top .tx-stats span { font-size: 11px; }
.tx-hero-img { min-height: 0; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }
.tx-hero-img img { position: absolute; inset: 0; }
.tx-hero-img { position: relative; }
@media (max-width: 820px) { .tx-top__text { grid-template-columns: 1fr; } .tx-top .tx-stats { grid-column: 1; grid-row: auto; flex-direction: row; flex-wrap: wrap; margin-top: 6px; } }


.btn--ghost { background: var(--surface); color: var(--text); border: 1px solid var(--primary); }
.btn--ghost:hover { background: var(--surface-2); }

/* ===== Our Technology (tn): compact modern design ===== */
.tn { padding: 10px 0 16px; }
.tn .back-btn { margin-bottom: 6px; }
.tn-heading { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin: 6px 0 20px; }
.tn-hl { font-weight: 800; letter-spacing: .02em; color: #d97706; }
:root[data-theme="dark"] .tn-hl { color: #ffb84d; }
.tn-lead .tn-hl, .tn-band .tn-hl { color: #ffd36b; }
.tn-codes b { font-weight: 800; }
.tn-codes span { font-weight: 500; letter-spacing: 0; opacity: .9; }
.tn-codes span::before { content: "\00b7\00a0"; }
.tn-count-line { position: relative; margin: 7px 0 0 !important; font-size: 11px !important; font-weight: 600; color: rgba(255,255,255,.85) !important; }
.tn-count-line b { display: inline-block; min-width: 20px; padding: 0 6px; margin-right: 3px; border-radius: var(--r-pill); background: #ffc83d; color: #0a2a6b; text-align: center; }
.tn-count { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 22px; padding: 0 7px; border-radius: var(--r-pill); background: var(--btn-gradient); color: #fff; font-size: 12px; font-weight: 800; box-shadow: var(--shadow-primary); }
.tn-heading .ab-title { margin: 0; font-size: clamp(24px, 2.8vw, 34px); }
.tn-eyebrow { display: inline-flex; align-items: center; gap: 7px; padding: 3px 12px 3px 4px; background: var(--surface) !important; color: var(--text) !important; text-transform: none !important; letter-spacing: .01em !important; font-size: 12px !important; text-decoration: none; border: 1px solid var(--border); transition: background-color .2s, box-shadow .2s, transform .2s; }
.tn-eyebrow:hover { color: var(--primary-text) !important; box-shadow: var(--shadow-md); transform: translateY(-1px); }
.tn-eyebrow img { width: 22px; height: 22px; border-radius: 50%; }
.tn-eyebrow svg { width: 12px; height: 12px; }
.tn-top { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; }
.tn-lead { position: relative; overflow: hidden; padding: 14px 18px; border-radius: 14px; color: #fff; background: radial-gradient(circle at 92% 10%, rgba(77,166,255,.45), transparent 55%), linear-gradient(135deg, #0a2a6b, #0b5ad2); box-shadow: var(--shadow-md); }
.tn-lead h2 { margin: 0; font-size: clamp(18px, 2vw, 23px); font-weight: 800; line-height: 1.15; }
.tn-lead p { position: relative; z-index: 1; margin: 4px 0 0; font-size: 12px; line-height: 1.45; color: rgba(255,255,255,.93); max-width: 92%; }
.tn-codes { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 4px; margin: 8px 0 0; padding: 0; list-style: none; }
.tn-codes li { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px 2px 6px; border-radius: var(--r-pill); background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); font-size: 10.5px; font-weight: 700; letter-spacing: .04em; }
.tn-codes .icon { width: 11px; height: 11px; }
.tn-why { display: grid; gap: 12px; }
.tn-why > div { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; padding: 8px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.tn-why i, .tn-item i, .tn-band__icon { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 9px; background: var(--btn-gradient); color: #fff; box-shadow: var(--shadow-primary); font-style: normal; }
.tn-why .icon, .tn-item .icon, .tn-band__icon .icon { width: 16px; height: 16px; }
.tn-why p { margin: 0; font-size: 11.5px; line-height: 1.45; color: var(--text-muted); }
.tn-h { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; margin: 18px 0 12px; padding: 5px 12px; border-radius: 10px; background: var(--surface-2); }
.tn-h h3 { margin: 0; font-size: 15px; font-weight: 800; letter-spacing: -.01em; color: var(--primary-text); }
.tn-h span { font-size: 11.5px; color: var(--text-muted); }
.tn-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: tn; }
.tn-item { position: relative; display: grid; grid-template-columns: 30px 1fr; column-gap: 9px; padding: 8px 10px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); transition: transform .2s, border-color .2s, box-shadow .2s; }
.tn-item::after { counter-increment: tn; content: counter(tn, decimal-leading-zero); position: absolute; top: 5px; right: 9px; font-size: 10px; font-weight: 800; color: var(--border-strong); }
.tn-item:hover { transform: translateY(-2px); border-color: var(--primary); box-shadow: var(--shadow-md); }
.tn-item i { grid-row: span 2; }
.tn-item h4 { margin: 0 0 1px; padding-right: 16px; font-size: 12px; font-weight: 700; line-height: 1.25; }
.tn-item p { margin: 0; font-size: 10.5px; line-height: 1.38; color: var(--text-muted); }
.tn-band { display: grid; grid-template-columns: auto 1fr 1.3fr; gap: 14px; align-items: center; margin-top: 18px; padding: 12px 18px; border-radius: 14px; color: #fff; background: linear-gradient(135deg, #0a2a6b, #0c3a8f); box-shadow: var(--shadow-md); }
.tn-band__icon { width: 38px; height: 38px; border-radius: 12px; background: rgba(255,255,255,.16); box-shadow: none; }
.tn-band__icon .icon { width: 20px; height: 20px; }
.tn-band h3 { margin: 0 0 2px; font-size: 14.5px; font-weight: 800; }
.tn-band h3 em { font-style: normal; color: #7dbdff; }
.tn-band p { margin: 0; font-size: 11.5px; line-height: 1.45; color: rgba(255,255,255,.9); }
.tn-band > div:last-child { padding-left: 14px; border-left: 1px solid rgba(255,255,255,.25); }
.tn-band strong { color: #fff; }
@media (max-width: 1000px) { .tn-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .tn-top { grid-template-columns: 1fr; } .tn-band { grid-template-columns: auto 1fr; } .tn-band > div:last-child { grid-column: 1 / -1; padding: 8px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.25); } .tn-grid { grid-template-columns: repeat(2, 1fr); } .tn-lead p { max-width: 100%; } }
@media (max-width: 520px) { .tn-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .tn-item, .tn-eyebrow { transition: none; } }

/* Advert photos: keep the top of the picture in view so faces are not cropped */
.ads-card__image, .ad-card__image, .ad-tile__photo img, .ad-detail__image, .ads__slide img { object-position: 50% 20%; }

/* build: environment is fixed, so the switch icon and the badge are hidden */
.env-switch, [data-env-switch], .env-badge, #env-badge { display: none !important; }
