@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 100 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("./fonts/ibm-plex-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 100 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("./fonts/ibm-plex-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("./fonts/outfit-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("./fonts/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #f4f6fb;
  --paper: #ffffff;
  --ink: #3a4658;
  --muted: #6b778c;
  --line: #d8dee8;
  --blue: #2f5bff;
  --blue-2: #1e45d6;
  --on-blue: #f4f6fb;
  --header: 68px;
  --wrap: 1120px;
  --gutter: 40px;
  --font: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --display: "Outfit", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
}
a { color: inherit; }
img { display: block; }

.skip-link {
  position: absolute;
  left: 10px;
  top: -40px;
  background: var(--blue);
  color: var(--on-blue);
  padding: 8px 12px;
  z-index: 50;
}
.skip-link:focus { top: 10px; }

.wrap,
.header-inner,
.footer-inner,
.cookie-inner {
  width: min(var(--wrap), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 14px;
  white-space: nowrap;
}
.nav-main { display: flex; gap: 20px; }
.nav-link {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.nav-link:hover { color: var(--blue); }
.nav-air {
  color: var(--ink);
  font-weight: 700;
}
.header-actions { display: flex; align-items: center; gap: 12px; }

.lang-switch { display: flex; gap: 2px; }
.lang-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 8px;
  cursor: pointer;
}
.lang-btn.is-active { color: var(--blue); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 650;
  font-size: 14px;
  padding: 12px 20px;
  background: var(--blue);
  color: var(--on-blue);
}
.btn:hover { background: var(--blue-2); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 -1px 0 var(--ink);
  padding-left: 0;
  padding-right: 0;
}
.btn-ghost:hover { background: transparent; color: var(--blue); box-shadow: inset 0 -1px 0 var(--blue); }

.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-sky {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translate3d(var(--look-x, 0px), var(--look-y, 0px), 0);
  transition: transform 0.45s ease-out;
}
.hero-photo {
  position: absolute;
  inset: -10%;
  background:
    url("https://images.unsplash.com/photo-1436491865332-7a61a109cc05?auto=format&fit=crop&w=2400&q=80") 62% 42% / cover no-repeat,
    linear-gradient(135deg, #d5def5, #f4f6fb);
  transform-origin: 70% 45%;
  animation: aeris-fly 22s ease-in-out infinite alternate;
  will-change: transform;
}
.hero-clouds {
  position: absolute;
  inset: -30% -50%;
  background:
    radial-gradient(ellipse 42% 18% at 18% 62%, rgba(255, 255, 255, 0.55), transparent 70%),
    radial-gradient(ellipse 50% 22% at 72% 78%, rgba(255, 255, 255, 0.4), transparent 70%),
    radial-gradient(ellipse 36% 14% at 48% 88%, rgba(255, 255, 255, 0.35), transparent 68%);
  filter: blur(18px);
  animation: aeris-drift 16s linear infinite;
  opacity: 0.7;
}
.hero-streaks {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    98deg,
    transparent 0 46px,
    rgba(255, 255, 255, 0.07) 46px 48px
  );
  mix-blend-mode: screen;
  animation: aeris-streak 7s linear infinite;
  opacity: 0.45;
  mask-image: linear-gradient(90deg, transparent 35%, #000 78%);
}
.hero-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(244, 246, 251, 0.08) 0%, rgba(244, 246, 251, 0.55) 58%, #ffffff 100%);
}
@keyframes aeris-fly {
  from { transform: scale(1.06) translate3d(0, 0, 0) rotate(0.2deg); }
  to { transform: scale(1.14) translate3d(-4.5%, 2.2%, 0) rotate(-1.4deg); }
}
@keyframes aeris-drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-11%, 3%, 0); }
}
@keyframes aeris-streak {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-6%, 1.5%, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-photo,
  .hero-clouds,
  .hero-streaks,
  .globe-spin,
  .globe-shine {
    animation: none;
  }
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding: 0 0 56px;
  max-width: 820px;
  margin-left: max(var(--gutter), calc((100% - var(--wrap)) / 2));
  margin-right: var(--gutter);
  width: auto;
}
.kicker {
  margin: 0 0 12px;
  color: var(--blue);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
}
h1 {
  font-family: var(--display);
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin: 0 0 18px;
}
h1 em {
  display: block;
  font-style: normal;
  color: var(--blue);
}
.lede {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 18px;
  max-width: 46ch;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; }

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  padding: 28px 0 8px;
  border-top: 1px solid var(--line);
}
.stats p { margin: 0; display: flex; gap: 14px; align-items: baseline; }
.stats strong {
  font-family: var(--display);
  font-size: 28px;
  color: var(--blue);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.stats span { color: var(--muted); font-size: 14px; }

#acoperire h2 { max-width: 26ch; }
#acoperire > .wrap {
  perspective: 1400px;
}
#acoperire > .wrap > p { max-width: 62ch; color: var(--muted); }
.globe-stage {
  position: relative;
  width: min(540px, 100%);
  aspect-ratio: 1;
  margin: 48px auto 8px;
  overflow: visible;
  transform: rotateX(var(--globe-x, 6deg)) rotateY(var(--globe-y, -8deg));
  transform-style: preserve-3d;
  transition: transform 0.5s ease-out;
}
.globe-atmosphere {
  position: absolute;
  inset: -14%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(90, 160, 255, 0.28) 0%, rgba(47, 91, 255, 0.1) 38%, transparent 66%);
  pointer-events: none;
}
.globe {
  position: absolute;
  inset: 9%;
  border-radius: 50%;
  overflow: hidden;
  background: #071422;
  box-shadow:
    inset -36px -18px 54px rgba(2, 8, 22, 0.72),
    inset 16px 10px 24px rgba(180, 210, 255, 0.12),
    0 0 0 2px rgba(140, 190, 255, 0.28),
    0 0 28px 8px rgba(70, 130, 255, 0.22),
    0 32px 64px rgba(20, 50, 120, 0.28);
}
.globe-spin {
  position: absolute;
  inset: 0;
  background-image: url("./img/earth.jpg");
  background-repeat: repeat-x;
  background-size: auto 100%;
  background-position: 32% 50%;
  animation: globe-spin 80s linear infinite;
}
.globe-cover {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(47, 91, 255, 0.08), rgba(47, 91, 255, 0.22) 70%, rgba(47, 91, 255, 0.32) 100%);
  pointer-events: none;
  mix-blend-mode: screen;
}
.globe-shade {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 33% 28%, rgba(255, 255, 255, 0.2) 0%, transparent 28%),
    linear-gradient(108deg, rgba(0, 0, 0, 0.18) 0%, transparent 30%, transparent 55%, rgba(0, 4, 18, 0.62) 100%);
  pointer-events: none;
}
.globe-shine {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 200deg, transparent 0 58%, rgba(255, 255, 255, 0.1) 70%, transparent 84%);
  animation: globe-shine 22s linear infinite;
  pointer-events: none;
  mix-blend-mode: screen;
}
.globe-pct {
  position: absolute;
  right: 0;
  top: 12%;
  z-index: 3;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  pointer-events: none;
}
.globe-pct strong {
  font-family: var(--display);
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--blue);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.globe-pct span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.globe-hud {
  position: absolute;
  inset: 0;
  overflow: visible;
  z-index: 2;
  pointer-events: none;
}
.globe-arc {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 4px rgba(160, 190, 255, 0.65));
}
.globe-head {
  fill: #fff;
  filter: drop-shadow(0 0 3px rgba(180, 205, 255, 0.85));
}
.globe-modes {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.globe-modes li { min-width: 0; }
.globe-modes strong {
  display: block;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}
.globe-modes span { color: var(--muted); font-size: 14px; }
@keyframes globe-spin {
  from { background-position: 32% 50%; }
  to { background-position: 232% 50%; }
}
@keyframes globe-shine {
  to { transform: rotate(360deg); }
}

.block { padding: 88px 0; }
.block-alt { background: var(--bg); }
.block-mode {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: center;
  background-color: var(--mode-fade, var(--paper));
}
#avion.block-mode {
  --mode-img: url("./img/mode-air.jpg");
  --mode-fade: #ffffff;
  --mode-pos: 68% 42%;
  min-height: 460px;
}
#europa.block-mode {
  --mode-img: url("./img/mode-truck.jpg");
  --mode-fade: #f4f6fb;
  --mode-pos: 62% 48%;
}
#maritim.block-mode {
  --mode-img: url("./img/mode-sea.jpg");
  --mode-fade: #ffffff;
  --mode-pos: 80% 46%;
}
#tren.block-mode {
  --mode-img: url("./img/mode-rail.jpg?v=2");
  --mode-fade: #f4f6fb;
  --mode-pos: 72% 42%;
}
.block-mode::before {
  content: "";
  position: absolute;
  inset: 0 0 0 28%;
  background: var(--mode-img) var(--mode-pos, center) / cover no-repeat;
  z-index: 0;
}
.block-mode::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    var(--mode-fade) 0%,
    var(--mode-fade) 34%,
    color-mix(in srgb, var(--mode-fade) 88%, transparent) 48%,
    color-mix(in srgb, var(--mode-fade) 40%, transparent) 64%,
    transparent 84%
  );
}
.block-mode > .wrap {
  position: relative;
  z-index: 2;
}
#avion h2 {
  font-size: clamp(32px, 4.2vw, 48px);
  max-width: 14ch;
}
.split {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  align-items: start;
}
.index {
  margin: 0;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
h2 {
  font-family: var(--display);
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.28;
  letter-spacing: 0.04em;
  margin: 0 0 16px;
  font-weight: 800;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.block p { color: var(--muted); max-width: 62ch; }
.plain-list {
  list-style: none;
  padding: 18px 0 0;
  margin: 0;
}
.plain-list li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 500;
}

.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  list-style: none;
  padding: 36px 0 0;
  margin: 0;
}
.flow span {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 800;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}
.flow h3 {
  margin: 10px 0 8px;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.03em;
  overflow-wrap: anywhere;
}
.flow p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.flow-why {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
@media (max-width: 1100px) {
  .flow-why { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.legal { margin-top: 24px; font-size: 13px; color: var(--muted); }

#discount h2 { max-width: 28ch; }
#discount > .wrap > p { max-width: 62ch; color: var(--muted); }
.disc-save {
  max-width: 46ch;
  color: var(--ink) !important;
  font-weight: 600;
  font-size: 17px;
}
.disc-cta { margin: 28px 0 0; }

.quote-layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: stretch;
}
.quote-head {
  width: 100%;
  max-width: 34rem;
  overflow: hidden;
}
.quote-head h2 {
  max-width: 100%;
  font-size: clamp(22px, 4.6vw, 34px);
  line-height: 1.2;
}

.quote-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px 32px;
  width: 100%;
  max-width: 720px;
  position: relative;
  z-index: 1;
  background: var(--bg);
}
.quote-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.quote-form .check {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.45;
}
.quote-form .check input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--blue);
  border: 0;
  padding: 0;
}
.quote-form .wide,
.quote-form .check,
.quote-form .btn,
.quote-form .mesaj {
  grid-column: 1 / -1;
}
input, select, textarea {
  font: inherit;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 8px 0;
  background: transparent;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-bottom-color: var(--blue);
}
form .btn {
  justify-self: start;
  margin-top: 4px;
}
.mesaj { grid-column: 1 / -1; min-height: 1.2em; margin: 0; font-weight: 600; }
.mesaj.ok { color: #1f6b4a; }
.mesaj.err { color: #9b2c2c; }

.site-footer {
  padding: 40px 0 28px;
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  width: 100%;
  margin: 0;
}
.footer-row nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-row nav a {
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
}
.foot-copy {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px 24px;
  flex-wrap: wrap;
  width: 100%;
}

.cookie-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 12px 0;
  pointer-events: auto;
}
.cookie-bar[hidden],
[data-only-lang][hidden] {
  display: none !important;
}
.cookie-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: flex-end;
}
.cookie-bar p { margin: 0 auto 0 0; color: var(--muted); font-size: 14px; }
.cookie-bar a { color: var(--blue); font-weight: 600; text-decoration: none; }
.cookie-bar .btn { pointer-events: auto; cursor: pointer; }

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin: 0;
  width: 100%;
}
.legal-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
}
.legal-nav a:hover { color: var(--blue); }
.legal-page {
  padding: 48px 0 80px;
  max-width: none;
}
.legal-page article {
  max-width: 42rem;
}
.legal-page h1 {
  font-size: clamp(28px, 5vw, 42px);
  margin-bottom: 8px;
}
.legal-page .updated {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 28px;
}
.legal-page h2 {
  font-size: 22px;
  margin: 28px 0 10px;
}
.legal-page p,
.legal-page li {
  color: var(--muted);
}
.legal-page ul { padding-left: 1.2em; }

@media (max-width: 900px) {
  :root { --gutter: 20px; }
  .nav-main {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    padding: 16px var(--gutter);
    gap: 12px;
  }
  .nav-main.is-open { display: flex; }
  .nav-toggle { display: flex; }
  .header-actions .btn { display: none; }
  .globe-modes { grid-template-columns: 1fr 1fr; }
  .globe-pct { top: auto; bottom: 4%; right: 4%; }
  .quote-head, .quote-form { max-width: 100%; }
  .hero-copy { margin-left: var(--gutter); }
  .block-mode { min-height: 0; }
  .block-mode::before { inset: 0; opacity: 0.28; }
  .block-mode::after {
    background: linear-gradient(
      180deg,
      var(--mode-fade) 0%,
      color-mix(in srgb, var(--mode-fade) 92%, transparent) 62%,
      color-mix(in srgb, var(--mode-fade) 78%, transparent) 100%
    );
  }
  .flow,
  .flow-why { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr; gap: 12px; }
  .footer-row,
  .cookie-inner,
  .foot-copy { flex-direction: column; align-items: flex-start; }
}
