/* =========================================================================
   ALLEX — Alladin Express
   Palette sampled directly from ALLEX-NEW-LOGO-1.png:
   #003047 navy · #DC262F red · #D34426 ember · #221F1F ink · #C0C7CB steel
   No framework, no build step. One file, mobile first.
   ========================================================================= */

:root {
  --navy: #003047;
  --navy-deep: #001c2a;
  --navy-soft: #0b4460;
  --red: #dc262f;
  --red-dark: #b81d26;
  --ember: #d34426;
  --ink: #221f1f;
  --steel: #c0c7cb;
  --paper: #f4f6f7;
  --paper-warm: #eceff1;
  --white: #ffffff;

  --text: #221f1f;
  --text-muted: #55636b;
  --line: #d9e0e4;

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1180px;
  --gutter: 1.25rem;
  --radius: 3px;
  --shadow: 0 18px 40px -24px rgba(0, 48, 71, 0.45);
}

/* --- reset ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--ember); outline-offset: 2px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 6.4vw, 4.1rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p { margin: 0 0 1.1em; max-width: 68ch; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--tint { background: var(--paper); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy p { color: #cfdbe2; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--red); color: #fff; padding: 0.75rem 1.25rem;
}
.skip-link:focus { left: 0; color: #fff; }

/* --- the contrail: the one motif carried through the whole site --------- */
.contrail { display: flex; gap: 4px; align-items: center; }
.contrail span { display: block; height: 3px; border-radius: 2px; }
.contrail span:nth-child(1) { width: 34px; background: var(--ink); }
.contrail span:nth-child(2) { width: 22px; background: var(--ember); }
.contrail span:nth-child(3) { width: 12px; background: var(--steel); }
.section--navy .contrail span:nth-child(1) { background: var(--white); }
.section--navy .contrail span:nth-child(3) { background: rgba(255, 255, 255, 0.4); }

.section-head { margin-bottom: 2.5rem; max-width: 62ch; }
.section-head .contrail { margin-bottom: 1.1rem; }
.section-head p { color: var(--text-muted); font-size: 1.08rem; }
.section--navy .section-head p { color: #c3d3dc; }

/* --- buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-display); font-weight: 700; font-size: 0.98rem;
  padding: 0.85rem 1.6rem; border-radius: var(--radius);
  border: 2px solid transparent; cursor: pointer; text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); color: #fff; }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-deep); color: #fff; }
.btn--block { width: 100%; justify-content: center; }

/* --- header ------------------------------------------------------------ */
.masthead { background: var(--navy); color: #fff; position: relative; z-index: 40; }
.masthead__bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-block: 0.85rem;
}
.masthead__logo img { height: 46px; width: auto; }
.masthead a { color: #fff; }
.nav { display: flex; align-items: center; gap: 1.65rem; }
.nav a {
  font-family: var(--font-display); font-weight: 600; font-size: 0.94rem;
  text-decoration: none; padding-block: 0.35rem; position: relative;
}
.nav a[aria-current="page"]::after,
.nav a:hover::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 3px; background: var(--red);
}
.nav a:hover { color: #fff; }
.masthead__actions { display: flex; align-items: center; gap: 1rem; }

.langswitch { display: flex; gap: 2px; font-family: var(--font-display); font-size: 0.85rem; font-weight: 700; }
.langswitch a, .langswitch span { padding: 0.2rem 0.5rem; border-radius: 2px; text-decoration: none; }
.langswitch .is-active { background: #fff; color: var(--navy); }
.langswitch a { color: rgba(255, 255, 255, 0.75); }

.navtoggle {
  display: none; background: none; border: 2px solid rgba(255, 255, 255, 0.35);
  color: #fff; padding: 0.5rem 0.7rem; border-radius: var(--radius); cursor: pointer;
}
.navtoggle span { display: block; width: 20px; height: 2px; background: #fff; margin: 4px 0; }

@media (max-width: 940px) {
  .navtoggle { display: block; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--navy-deep); padding: 0.5rem var(--gutter) 1.5rem;
  }
  .nav.is-open { display: flex; }
  .nav a { width: 100%; padding: 0.85rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
  .nav a[aria-current="page"]::after, .nav a:hover::after { display: none; }
  .nav a[aria-current="page"] { color: var(--steel); }
}

/* --- hero -------------------------------------------------------------- */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 85% 10%, rgba(11, 68, 96, 0.9), transparent 60%);
  pointer-events: none;
}
.hero__streaks { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.5; }
.hero__streaks path { fill: none; stroke-linecap: round; }
.hero__inner {
  position: relative; z-index: 2;
  display: grid; gap: 3rem; align-items: center;
  padding-block: clamp(3.5rem, 9vw, 6.5rem);
}
@media (min-width: 1000px) { .hero__inner { grid-template-columns: 1.05fr 0.95fr; gap: 4rem; } }
.hero h1 { color: #fff; margin-bottom: 0.5em; }
.hero__lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #cfdbe2; max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.hero__note { margin-top: 2.25rem; font-size: 0.92rem; color: #9fb6c2; display: flex; gap: 0.6rem; align-items: center; }

/* departures board — literal airport signage, the one place we use caps */
.board {
  background: var(--navy-deep);
  border: 1px solid rgba(192, 199, 203, 0.25);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.board__head {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 0.9rem 1.15rem; border-bottom: 1px solid rgba(192, 199, 203, 0.22);
}
.board__title {
  font-family: var(--font-display); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--steel); margin: 0;
}
.board__live { font-size: 0.72rem; color: #9fb6c2; display: flex; align-items: center; gap: 0.4rem; }
.board__live::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ember);
}
.board__row {
  display: grid; grid-template-columns: 1fr auto; gap: 0.35rem 1rem;
  padding: 0.85rem 1.15rem; border-bottom: 1px solid rgba(192, 199, 203, 0.13);
}
.board__row:last-child { border-bottom: 0; }
.board__route {
  font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; color: #fff;
}
.board__route .arrow { color: var(--ember); margin-inline: 0.4rem; }
.board__meta { font-size: 0.85rem; color: #9fb6c2; }
.board__mode {
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--navy-deep); background: var(--steel);
  padding: 0.18rem 0.5rem; border-radius: 2px; align-self: center;
}
.board__mode--air { background: #9fd0e8; }
.board__mode--sea { background: #a7c4b5; }
.board__mode--road { background: #e3b59f; }
.board__foot { padding: 0.9rem 1.15rem; border-top: 1px solid rgba(192, 199, 203, 0.22); }
.board__foot a { color: var(--steel); font-size: 0.88rem; }

/* --- services index ---------------------------------------------------- */
.index { border-top: 1px solid var(--line); }
.index__item {
  display: grid; gap: 0.5rem 2rem; align-items: start;
  padding-block: 1.9rem; border-bottom: 1px solid var(--line);
  text-decoration: none; color: inherit; position: relative;
}
@media (min-width: 800px) {
  .index__item { grid-template-columns: 56px minmax(0, 20rem) 1fr auto; align-items: center; }
}
.index__item:hover { color: inherit; }
.index__item:hover .index__title { color: var(--red); }
.index__item::before {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 3px; width: 0;
  background: var(--red); transition: width 0.25s ease;
}
.index__item:hover::before { width: 100%; }
.index__icon { color: var(--navy); }
.index__icon svg { width: 34px; height: 34px; }
.index__title { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; margin: 0; }
.index__summary { color: var(--text-muted); margin: 0; font-size: 0.98rem; }
.index__go {
  font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; color: var(--red);
  white-space: nowrap;
}

/* --- split content ----------------------------------------------------- */
.split { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 4.5rem; } }
.split--narrow-left { grid-template-columns: 1fr; }
@media (min-width: 900px) { .split--narrow-left { grid-template-columns: 0.9fr 1.1fr; } }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem 1rem; margin-top: 2.5rem; }
@media (min-width: 700px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat__value {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1; color: var(--navy);
}
.section--navy .stat__value { color: #fff; }
.stat__label { font-size: 0.9rem; color: var(--text-muted); margin-top: 0.4rem; }
.section--navy .stat__label { color: #a9bfca; }
.stat { border-left: 3px solid var(--red); padding-left: 0.9rem; }

.pillars { display: grid; gap: 1.75rem; margin-top: 2rem; }
@media (min-width: 760px) { .pillars { grid-template-columns: repeat(3, 1fr); gap: 2.25rem; } }
.pillar h3 { margin-bottom: 0.4rem; font-size: 1.1rem; }
.pillar p { font-size: 0.96rem; color: var(--text-muted); margin: 0; }
.pillar .contrail { margin-bottom: 0.9rem; }

/* --- offices ----------------------------------------------------------- */
.offices { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 640px) { .offices { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .offices { grid-template-columns: repeat(4, 1fr); } }
.office { background: var(--white); padding: 1.5rem 1.35rem; }
.office__city { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; margin: 0; }
.office__country { color: var(--text-muted); font-size: 0.92rem; margin: 0.15rem 0 0.75rem; }
.office__kind {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--red); margin-bottom: 0.5rem;
}
.office ul { list-style: none; margin: 0; padding: 0; font-size: 0.9rem; color: var(--text-muted); }
.office li { margin-bottom: 0.25rem; word-break: break-word; }

.mapframe { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 2.5rem; }
.mapframe iframe { display: block; width: 100%; height: 380px; border: 0; }

/* --- testimonials ------------------------------------------------------ */
.quotes { display: grid; gap: 1.5rem; }
@media (min-width: 820px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote {
  background: var(--white); border: 1px solid var(--line);
  border-top: 4px solid var(--navy); padding: 1.75rem 1.5rem;
}
.quote blockquote { margin: 0 0 1.25rem; font-size: 1rem; }
.quote figcaption { display: flex; align-items: center; gap: 0.75rem; }
.quote img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.quote__name { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; }
.quote__role { font-size: 0.85rem; color: var(--text-muted); }

/* --- news -------------------------------------------------------------- */
.posts { display: grid; gap: 2rem; }
@media (min-width: 760px) { .posts { grid-template-columns: repeat(3, 1fr); } }
.post { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.post__cover { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; background: var(--paper-warm); }
.post__date { font-size: 0.82rem; color: var(--text-muted); margin: 1rem 0 0.35rem; }
.post__title { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; margin: 0 0 0.5rem; }
.post:hover .post__title { color: var(--red); }
.post__excerpt { font-size: 0.94rem; color: var(--text-muted); margin: 0; }

/* --- forms ------------------------------------------------------------- */
.formgrid { display: grid; gap: 1.1rem; }
@media (min-width: 700px) { .formgrid { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--text); }
.field__input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 0.98rem; color: var(--text);
  padding: 0.75rem 0.85rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); width: 100%;
}
.field__input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--navy); outline: 2px solid rgba(0, 48, 71, 0.18); outline-offset: 1px;
}
.field .helptext { font-size: 0.8rem; color: var(--text-muted); }
.field .errorlist { list-style: none; margin: 0.2rem 0 0; padding: 0; color: var(--red); font-size: 0.85rem; }
.kindpick { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.kindpick ul { list-style: none; display: flex; gap: 0.6rem; margin: 0; padding: 0; flex-wrap: wrap; }
.kindpick label {
  display: inline-flex; align-items: center; gap: 0.45rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0.55rem 0.9rem; cursor: pointer; font-weight: 600; font-size: 0.9rem;
  background: var(--white);
}
.kindpick input { accent-color: var(--red); }

.alert { padding: 0.9rem 1.15rem; border-radius: var(--radius); margin-bottom: 1.5rem; font-size: 0.95rem; }
.alert--success { background: #e7f3ec; border-left: 4px solid #2f7d54; color: #1d5236; }
.alert--error { background: #fdecec; border-left: 4px solid var(--red); color: #8d1a21; }

.contactcard { background: var(--navy); color: #fff; padding: 2rem 1.75rem; border-radius: var(--radius); }
.contactcard h3 { color: #fff; }
.contactcard dl { margin: 0; }
.contactcard dt {
  font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: #8fb0c0; margin-top: 1.35rem;
}
.contactcard dd { margin: 0.2rem 0 0; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.contactcard a { color: #fff; }
.contactcard a:hover { color: var(--steel); }

/* --- footer ------------------------------------------------------------ */
.footer { background: var(--navy-deep); color: #b7c8d2; padding-block: 3.5rem 1.75rem; }
.footer a { color: #b7c8d2; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; gap: 2.5rem; }
@media (min-width: 860px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer h4 {
  color: #fff; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 0.5rem; font-size: 0.93rem; }
.footer__logo img { height: 54px; width: auto; margin-bottom: 1rem; }
.footer__brandnote { font-size: 0.93rem; max-width: 32ch; }
.footer__social { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.footer__social a {
  border: 1px solid rgba(183, 200, 210, 0.35); border-radius: 50%;
  width: 36px; height: 36px; display: grid; place-items: center;
}
.footer__social a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.footer__bottom {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(183, 200, 210, 0.2);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: 0.85rem;
}
.subscribe { display: flex; gap: 0.5rem; margin-top: 0.75rem; }
.subscribe input { flex: 1; min-width: 0; }

/* --- utilities & page furniture ---------------------------------------- */
.crumbs { font-size: 0.88rem; color: var(--text-muted); padding-block: 1rem; }
.crumbs a { color: var(--text-muted); }
.pagehead { background: var(--paper); border-bottom: 1px solid var(--line); padding-block: 2.75rem 3rem; }
.pagehead h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 0.35em; }
.pagehead p { color: var(--text-muted); font-size: 1.05rem; }
.prose h2 { margin-top: 2rem; font-size: 1.6rem; }
.prose ul { padding-left: 1.15rem; }
.prose li { margin-bottom: 0.5rem; }
.checklist { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.checklist li {
  position: relative; padding-left: 1.9rem; margin-bottom: 0.85rem; color: var(--text-muted);
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 12px; height: 3px; background: var(--ember); border-radius: 2px;
}
.pagination { display: flex; gap: 1rem; justify-content: center; margin-top: 3rem; font-family: var(--font-display); }
.error-page { text-align: center; padding-block: 6rem; }
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
