/* =====================================================================
   VUELA TRAVEL EUROPEA S.L. — Corporate site stylesheet
   ---------------------------------------------------------------------
   Design language: "Trust & Authority" minimal corporate system.
   Palette strictly follows the uspeede.com brand analysis
   (uspeede-analysis.md): bright logistic blue + clean white surfaces.
   Typography: Poppins (display) / Open Sans (body) + CJK fallbacks.
   ===================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Brand blues (from uspeede-analysis.md §3.1) */
  --blue:        #00A2EA;  /* primary brand blue — buttons, logo, accents */
  --blue-bright: #00A2E9;  /* hover state variant */
  --blue-deep:   #2D7BAB;  /* secondary deep blue — cards, headings on dark */
  --blue-navy:   #171C60;  /* darkest blue — footer, stats band */
  --blue-ink:    #1E40AF;  /* link emphasis on light surfaces */

  /* Neutrals */
  --ink:      #332B29;     /* body text (warm dark, softer than pure black) */
  --ink-soft: #666666;     /* secondary text */
  --ink-mute: #888888;     /* captions / meta */
  --bg:       #FFFFFF;     /* page base */
  --bg-soft:  #F4F4F8;     /* alternating section background */
  --bg-warm:  #F5F5F5;     /* card wells / placeholder tint */
  --line:     rgba(51, 43, 41, 0.08);
  --line-blue: rgba(0, 162, 234, 0.22);

  /* Typography */
  --font-display: "Poppins", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body:    "Open Sans", "PingFang SC", "Microsoft YaHei", sans-serif;

  /* Rhythm */
  --container: 1200px;
  --sec-pad: 110px;
  --radius: 14px;
  --radius-lg: 22px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);      /* silk — long-tail ease-out */
  --ease-swift: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 0.25s;
  --t-med: 0.45s;
  --t-slow: 0.9s;

  /* Elevation */
  --shadow-sm: 0 2px 10px rgba(23, 28, 96, 0.05);
  --shadow-md: 0 14px 40px -12px rgba(23, 28, 96, 0.14);
  --shadow-lg: 0 30px 70px -20px rgba(23, 28, 96, 0.22);
  --shadow-blue: 0 16px 44px -14px rgba(0, 162, 234, 0.45);
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
::selection { background: var(--blue); color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.section { padding-block: var(--sec-pad); position: relative; }
.section--soft { background: var(--bg-soft); }
.section--blue {
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-navy) 100%);
  color: #fff;
}
.section--blue h2, .section--blue h3 { color: #fff; }

/* ---------- 3. Eyebrow / headings ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 34px; height: 2px;
  background: var(--blue);
  border-radius: 2px;
}
.section--blue .eyebrow { color: #9fdcff; }
.section--blue .eyebrow::before { background: #9fdcff; }

.section-head { max-width: 680px; margin-bottom: 64px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

.section-title {
  font-size: clamp(30px, 4vw, 46px);
  margin-bottom: 18px;
}
.section-sub {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 620px;
}
.section-head--center .section-sub { margin-inline: auto; }
.section--blue .section-sub { color: rgba(255, 255, 255, 0.82); }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 34px;
  border-radius: 6px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease),
              background var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease);
  will-change: transform;
}
.btn svg { width: 16px; height: 16px; transition: transform var(--t-fast) var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn--primary:hover {
  background: var(--blue-bright);
  transform: translateY(-3px);
  box-shadow: 0 22px 54px -14px rgba(0, 162, 234, 0.6);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(51, 43, 41, 0.2);
}
.btn--ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-3px);
}
.btn--light { background: #fff; color: var(--blue-deep); }
.btn--light:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn--outline-light {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}
.btn--outline-light:hover { border-color: #fff; transform: translateY(-3px); }

/* Text link with arrow */
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--blue);
  cursor: pointer;
}
.link-more svg { width: 16px; height: 16px; transition: transform var(--t-fast) var(--ease); }
.link-more:hover svg { transform: translateX(5px); }

/* ---------- 5. Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background var(--t-med) var(--ease),
              box-shadow var(--t-med) var(--ease),
              backdrop-filter var(--t-med) var(--ease);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  transition: height var(--t-med) var(--ease);
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 1px 0 var(--line), 0 10px 34px -18px rgba(23, 28, 96, 0.25);
}
.nav.is-scrolled .nav__inner { height: 68px; }

/* Brand */
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 40px; height: 40px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.05em;
  box-shadow: var(--shadow-blue);
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
}
.brand__name small {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* Links */
.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a {
  position: relative;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  padding-block: 6px;
  transition: color var(--t-fast) var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med) var(--ease);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--blue); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }

.nav__right { display: flex; align-items: center; gap: 18px; }
.nav__cta {
  padding: 11px 24px;
  font-size: 13.5px;
}

/* Language toggle */
.lang-toggle {
  display: inline-flex;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.6);
}
.lang-toggle button {
  padding: 7px 14px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  transition: all var(--t-fast) var(--ease);
}
.lang-toggle button.is-active { background: var(--blue); color: #fff; }

/* Hamburger (mobile) */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  z-index: 110;
}
.nav__burger span {
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-med) var(--ease), visibility var(--t-med);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  padding: 14px 0;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease), color var(--t-fast);
}
.mobile-menu.is-open a { opacity: 1; transform: translateY(0); }
.mobile-menu a:hover { color: var(--blue); }
.mobile-menu .lang-toggle { margin-top: 28px; align-self: flex-start; }

/* ---------- 6. Page entrance / reveal ---------- */
/* Page fade on load */
body { animation: pageIn 0.7s var(--ease) both; }
@keyframes pageIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Scroll reveal — elements start hidden, JS adds .is-visible */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
.reveal--left  { transform: translateX(-44px); }
.reveal--right { transform: translateX(44px); }
.reveal--zoom  { transform: scale(0.94); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 80px;
  overflow: hidden;
  background:
    radial-gradient(1100px 620px at 88% -10%, rgba(0, 162, 234, 0.16), transparent 60%),
    radial-gradient(800px 500px at -8% 110%, rgba(45, 123, 171, 0.12), transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, var(--bg-soft) 100%);
}
/* Decorative grid lines */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line-blue) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-blue) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 75%);
  opacity: 0.5;
  pointer-events: none;
}
/* Floating orbs */
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.hero__orb--1 {
  width: 420px; height: 420px;
  background: rgba(0, 162, 234, 0.16);
  top: -120px; right: -80px;
  animation: float 9s ease-in-out infinite;
}
.hero__orb--2 {
  width: 300px; height: 300px;
  background: rgba(45, 123, 171, 0.12);
  bottom: -100px; left: 6%;
  animation: float 11s ease-in-out infinite reverse;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-26px); }
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(0, 162, 234, 0.09);
  border: 1px solid var(--line-blue);
  color: var(--blue-deep);
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 26px;
}
.hero__badge i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blue);
  animation: pulseDot 2.2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 162, 234, 0.5); }
  55%      { box-shadow: 0 0 0 7px rgba(0, 162, 234, 0); }
}
.hero__title {
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero__title .accent {
  background: linear-gradient(120deg, var(--blue) 20%, var(--blue-deep) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 40px;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero visual (image placeholder + stat chips) */
.hero__visual { position: relative; }
.hero__chips {
  display: flex;
  gap: 14px;
  margin-top: 22px;
}
.hero__chip {
  flex: 1;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
}
.hero__chip b {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--blue-deep);
  letter-spacing: -0.02em;
}
.hero__chip span { font-size: 12.5px; color: var(--ink-mute); }

/* Inner-page hero (smaller) */
.page-hero {
  position: relative;
  padding: 190px 0 100px;
  background:
    radial-gradient(900px 480px at 85% -20%, rgba(0, 162, 234, 0.14), transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, var(--bg-soft) 100%);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line-blue) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-blue) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 90% at 50% 0%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 50% 0%, #000 20%, transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero__title { font-size: clamp(36px, 5vw, 60px); margin-bottom: 16px; }
.page-hero__sub { font-size: 18px; color: var(--ink-soft); max-width: 640px; }
.breadcrumb {
  display: inline-flex;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-mute);
  margin-bottom: 22px;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}
.breadcrumb a { color: var(--blue); }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- 8. Image placeholder ---------- */
/* Reusable visual slot — replace with <img> when assets are ready.
   Suggested dimensions are noted in the HTML comments beside each use. */
.img-slot {
  position: relative;
  border-radius: var(--radius-lg);
  border: 2px dashed rgba(0, 162, 234, 0.35);
  background:
    linear-gradient(135deg, rgba(0, 162, 234, 0.06), rgba(45, 123, 171, 0.08)),
    var(--bg-warm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  padding: 32px;
  color: var(--blue-deep);
  overflow: hidden;
  min-height: 300px;
}
.img-slot svg { width: 44px; height: 44px; opacity: 0.55; }
.img-slot b {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
}
.img-slot small {
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}
.img-slot::after {
  content: "";
  position: absolute;
  inset: auto -30% -55% -30%;
  height: 120px;
  background: radial-gradient(closest-side, rgba(0, 162, 234, 0.14), transparent);
  pointer-events: none;
}
.img-slot--tall { min-height: 460px; }
.img-slot--wide { min-height: 240px; }

/* Embedded media images (replaces .img-slot placeholders) */
.media-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  display: block;
  box-shadow: var(--shadow-sm);
}
.split__media .media-img {
  height: 100%;
  min-height: 460px;
  max-height: 560px;
  object-fit: cover;
}
.hero__visual > .media-img {
  min-height: 300px;
  max-height: 520px;
  object-fit: cover;
}
@media (max-width: 768px) {
  .split__media .media-img { min-height: 320px; max-height: none; }
  .hero__visual > .media-img { max-height: 420px; }
}

/* ---------- 9. Cards & grids ---------- */
.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  transition: transform var(--t-med) var(--ease),
              box-shadow var(--t-med) var(--ease),
              border-color var(--t-med) var(--ease);
  cursor: pointer;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--blue-deep));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med) var(--ease);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-blue);
}
.card:hover::before { transform: scaleX(1); }

.card__icon {
  width: 58px; height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 162, 234, 0.12), rgba(45, 123, 171, 0.14));
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  color: var(--blue);
  transition: transform var(--t-med) var(--ease), background var(--t-med) var(--ease);
}
.card:hover .card__icon { transform: scale(1.08) rotate(-4deg); }
.card__icon svg { width: 26px; height: 26px; }

.card h3 { font-size: 20px; margin-bottom: 12px; }
.card p { font-size: 14.5px; color: var(--ink-soft); }

/* Numbered card (process) */
.step-card { counter-increment: step; }
.step-card .card__num {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.6px rgba(0, 162, 234, 0.5);
  margin-bottom: 20px;
  transition: all var(--t-med) var(--ease);
}
.step-card:hover .card__num {
  -webkit-text-stroke: 1.6px var(--blue);
  color: rgba(0, 162, 234, 0.12);
}

/* ---------- 10. Split blocks (about preview / service detail) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.split--rev > .split__media { order: 2; }
.split__body h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 20px; }
.split__body p { color: var(--ink-soft); margin-bottom: 16px; }
.split__body .link-more { margin-top: 12px; }

/* Check list */
.check-list { margin-top: 24px; display: grid; gap: 14px; }
.check-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--ink);
}
.check-list svg {
  flex: none;
  width: 22px; height: 22px;
  color: var(--blue);
  margin-top: 2px;
}

/* ---------- 11. Stats band ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stats--six { grid-template-columns: repeat(3, 1fr); gap: 40px 20px; }
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(38px, 4.6vw, 58px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.1;
}
.stat b .suffix { color: #9fdcff; font-size: 0.62em; margin-left: 2px; }
.stat span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.04em;
}
.stat { position: relative; padding: 12px 8px; }
.stat + .stat::before {
  content: "";
  position: absolute;
  left: -10px; top: 20%;
  height: 60%; width: 1px;
  background: rgba(255, 255, 255, 0.16);
}

/* ---------- 12. Service rows (services page) ---------- */
.service-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}
.service-row:last-child { border-bottom: 0; }
.service-row__head { position: sticky; top: 120px; }
.service-row__tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0, 162, 234, 0.09);
  color: var(--blue-deep);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.service-row__head h2 { font-size: clamp(24px, 2.8vw, 34px); margin-bottom: 14px; }

.pain-box {
  background: linear-gradient(135deg, rgba(0, 162, 234, 0.06), rgba(45, 123, 171, 0.05));
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px;
  margin: 22px 0;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.pain-box b {
  display: block;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: 6px;
}
.solution-text { font-size: 15px; color: var(--ink); }

.adv-list { display: grid; gap: 14px; margin-top: 20px; }
.adv-list li {
  display: flex;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 14.5px;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.adv-list li:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-sm);
  border-color: var(--line-blue);
}
.adv-list svg { flex: none; width: 20px; height: 20px; color: var(--blue); margin-top: 2px; }

/* ---------- 13. Carrier cards (logistics page) ---------- */
.carrier {
  text-align: left;
  padding: 30px 28px;
}
.carrier__logo {
  height: 52px;
  display: flex;
  align-items: center;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--blue-deep);
}
.carrier__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.chip {
  font-size: 12px;
  font-family: var(--font-display);
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--ink-soft);
  border: 1px solid var(--line);
}

/* ---------- 14. Pain → solution table (why-us page) ---------- */
.pain-table { display: grid; gap: 14px; }
.pain-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.pain-row:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pain-row__pain {
  padding: 26px 28px;
  background: var(--bg-soft);
  border-right: 1px dashed var(--line);
}
.pain-row__pain b {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 6px;
}
.pain-row__pain span { font-size: 13.5px; color: var(--ink-soft); }
.pain-row__fix {
  padding: 26px 28px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.pain-row__fix svg { flex: none; width: 22px; height: 22px; color: var(--blue); margin-top: 2px; }
.pain-row__fix p { font-size: 14.5px; color: var(--ink); }

/* ---------- 15. CTA banner ---------- */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(700px 300px at 90% -20%, rgba(0, 162, 234, 0.35), transparent 60%),
    linear-gradient(135deg, var(--blue-deep), var(--blue-navy));
  color: #fff;
  padding: 72px 60px;
  text-align: center;
  overflow: hidden;
}
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 16px; }
.cta-band p { color: rgba(255, 255, 255, 0.8); max-width: 560px; margin: 0 auto 34px; }
.cta-band .hero__actions { justify-content: center; }

/* ---------- 16. Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}
.info-item {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.info-item:last-child { border-bottom: 0; }
.info-item__icon {
  flex: none;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: rgba(0, 162, 234, 0.1);
  display: grid;
  place-items: center;
  color: var(--blue);
}
.info-item__icon svg { width: 22px; height: 22px; }
.info-item b {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  margin-bottom: 4px;
}
.info-item span { font-size: 14px; color: var(--ink-soft); }

/* Form */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-md);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.form-field label i { color: var(--blue); font-style: normal; }
.form-field input,
.form-field textarea {
  font: inherit;
  font-size: 14.5px;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--bg-soft);
  color: var(--ink);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
  resize: vertical;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 162, 234, 0.12);
}
.form-note { font-size: 13px; color: var(--ink-mute); margin-top: 14px; }
.form-success {
  display: none;
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 10px;
  background: rgba(0, 200, 120, 0.1);
  border: 1px solid rgba(0, 200, 120, 0.3);
  color: #0a8a54;
  font-size: 14px;
}
.form-success.is-shown { display: block; }

.form-error {
  display: none;
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 10px;
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.25);
  color: #b91c1c;
  font-size: 14px;
}
.form-error.is-shown { display: block; }

.form-field input.is-invalid,
.form-field textarea.is-invalid {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.04);
}
.form-field input.is-invalid:focus,
.form-field textarea.is-invalid:focus {
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12);
}

/* FAQ */
.faq { display: grid; gap: 14px; }
.faq__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--t-fast) var(--ease);
}
.faq__item.is-open { border-color: var(--line-blue); }
.faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 26px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
.faq__q svg {
  flex: none;
  width: 18px; height: 18px;
  color: var(--blue);
  transition: transform var(--t-med) var(--ease);
}
.faq__item.is-open .faq__q svg { transform: rotate(45deg); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-med) var(--ease);
}
.faq__a p {
  padding: 0 26px 24px;
  font-size: 14.5px;
  color: var(--ink-soft);
}

/* ---------- 17. Footer ---------- */
.footer {
  background: var(--blue-navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  top: -200px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(closest-side, rgba(0, 162, 234, 0.18), transparent);
  pointer-events: none;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  position: relative;
}
.footer h4 {
  color: #fff;
  font-size: 15px;
  letter-spacing: 0.06em;
  margin-bottom: 22px;
}
.footer a {
  display: block;
  font-size: 14px;
  padding: 6px 0;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.footer a:hover { color: #fff; transform: translateX(4px); }
.footer__brand p { font-size: 14px; line-height: 1.8; margin-top: 18px; max-width: 300px; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  flex-wrap: wrap;
}
.footer__bottom a { display: inline; padding: 0; }
.footer__bottom a:hover { transform: none; color: #fff; }
.footer .brand__name { color: #fff; }
.footer .brand__name small { color: rgba(255, 255, 255, 0.5); }

/* Back-to-top */
.to-top {
  position: fixed;
  right: 26px; bottom: 26px;
  z-index: 90;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-blue);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: all var(--t-med) var(--ease);
}
.to-top.is-shown { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { transform: translateY(-4px); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- 18. Misc ---------- */
.marquee-note {
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 34px;
  font-family: var(--font-display);
}

/* Divider label between big sections */
.sec-anchor { position: relative; }

/* ---------- 19. Responsive ---------- */
@media (max-width: 1024px) {
  :root { --sec-pad: 84px; }
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero { min-height: auto; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
  .stat + .stat::before { display: none; }
  .service-row { grid-template-columns: 1fr; gap: 32px; }
  .service-row__head { position: static; }
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav__links, .nav .lang-toggle--nav { display: none; }
  .nav__burger { display: flex; }
  .nav__cta { display: none; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--rev > .split__media { order: 0; }
  .pain-row { grid-template-columns: 1fr; }
  .pain-row__pain { border-right: 0; border-bottom: 1px dashed var(--line); }
  .form-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 52px 28px; }
  .hero__chips { flex-wrap: wrap; }
  .hero__chip { min-width: 45%; }
  .section-head { margin-bottom: 44px; }
}

@media (max-width: 520px) {
  :root { --sec-pad: 64px; }
  .container { width: calc(100% - 36px); }
  .card { padding: 28px 22px; }
  .form-card { padding: 28px 22px; }
  .footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .stats { grid-template-columns: 1fr 1fr; }
}

/* ---------- 20. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
