/* ═══════════════════════════════════════════════════════════
   Т‑Путешествия — Premium Travel Design System 2026
   Mobile-first · Glassmorphism · Performance-safe motion
   ═══════════════════════════════════════════════════════════ */

:root {
  --navy: #061e3d;
  --navy-mid: #0b4b8a;
  --sky: #3b9fd9;
  --sky-light: #7ec8eb;
  --sky-pale: #e8f6fc;
  --white: #ffffff;
  --cream: #fafcfe;
  --text: #0f2744;
  --text-muted: #5a7a9a;
  --accent: #ff8c42;
  --accent-hover: #f07828;
  --accent-glow: rgba(255, 140, 66, 0.45);

  --font-display: "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;

  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.85);
  --glass-shadow: 0 8px 32px rgba(11, 75, 138, 0.08), 0 2px 8px rgba(11, 75, 138, 0.04);
  --glass-blur: blur(20px) saturate(180%);

  --shadow-sm: 0 2px 12px rgba(6, 30, 61, 0.06);
  --shadow-md: 0 12px 40px rgba(6, 30, 61, 0.1);
  --shadow-lg: 0 24px 64px rgba(6, 30, 61, 0.14);
  --shadow-glow: 0 8px 32px var(--accent-glow);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration: 0.4s;
  --header-h: clamp(60px, 10vw, 76px);
  --space-section: clamp(56px, 8vw, 120px);
  --container-max: 1440px;
  --container-gutter: clamp(16px, 2.5vw, 20px);
  --text-base: clamp(16px, 0.35vw + 14.5px, 20px);
  --text-h1: clamp(32px, 5vw + 0.5rem, 72px);
  --text-h2: clamp(26px, 3.5vw + 0.25rem, 48px);
  --touch-min: 48px;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --duration: 0.01ms;
  }
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

main {
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  overflow-x: clip;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration) var(--ease-out);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

/* Page ambient background */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(59, 159, 217, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(255, 140, 66, 0.06), transparent 50%),
    var(--cream);
  pointer-events: none;
}

/* Glass utility */
.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

/* Typography */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  margin-bottom: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sky);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(59, 159, 217, 0.2);
  border-radius: 100px;
  backdrop-filter: blur(8px);
}

.eyebrow--dark {
  color: var(--navy-mid);
  background: rgba(59, 159, 217, 0.1);
  border-color: rgba(59, 159, 217, 0.15);
}

.section-head {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.section__title {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--navy);
  margin-bottom: 16px;
  text-wrap: balance;
}

.section__lead {
  font-size: clamp(1rem, 1.5vw + 0.5rem, 1.2rem);
  color: var(--text-muted);
  max-width: min(520px, 100%);
  margin-inline: auto;
  text-wrap: pretty;
}

.section {
  padding-block: var(--space-section);
  position: relative;
}

.section--mesh {
  background:
    radial-gradient(ellipse 70% 50% at 0% 50%, rgba(59, 159, 217, 0.08), transparent 60%),
    radial-gradient(ellipse 50% 40% at 100% 80%, rgba(255, 140, 66, 0.05), transparent 50%);
}

.section--search {
  background: linear-gradient(180deg, transparent 0%, rgba(232, 246, 252, 0.8) 50%, transparent 100%);
}

.section__cta {
  text-align: center;
  margin-top: 48px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 300;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  transition: top 0.2s var(--ease-out);
}

.skip-link:focus {
  top: 12px;
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

/* ═══ Header ═══ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--header-h);
  transition: background var(--duration) var(--ease-out),
              box-shadow var(--duration) var(--ease-out),
              height var(--duration) var(--ease-out);
}

.header.is-scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(59, 159, 217, 0.1);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.nav {
  display: none;
  gap: 32px;
}

.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--sky));
  border-radius: 2px;
  transition: width var(--duration) var(--ease-out);
}

.nav__link:hover {
  color: var(--navy);
}

.nav__link:hover::after {
  width: 100%;
}

.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(59, 159, 217, 0.12);
  transition: background var(--duration);
}

.burger span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform var(--duration) var(--ease-out), opacity var(--duration);
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: var(--header-h);
  left: var(--container-gutter);
  right: var(--container-gutter);
  padding: clamp(16px, 4vw, 24px);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 199;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration), transform var(--duration) var(--ease-out);
}

.mobile-menu:not([hidden]) {
  opacity: 1;
  transform: translateY(8px);
  pointer-events: auto;
}

.mobile-menu[hidden] { display: none; }

.mobile-menu:not([hidden]) {
  display: flex;
}

.mobile-menu__link {
  font-weight: 600;
  font-size: 1.05rem;
  padding: 14px 16px;
  min-height: var(--touch-min);
  display: flex;
  align-items: center;
  border-radius: var(--radius-sm);
  color: var(--navy);
  transition: background var(--duration);
}

.mobile-menu__link:hover {
  background: rgba(59, 159, 217, 0.08);
}

/* ═══ Buttons ═══ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  border-radius: 100px;
  transition:
    transform var(--duration) var(--ease-spring),
    box-shadow var(--duration) var(--ease-out),
    background var(--duration);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.35) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease-out);
}

.btn:hover::before {
  transform: translateX(100%);
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent) 0%, #ffb347 100%);
  color: var(--navy);
  box-shadow: var(--shadow-glow);
}

.btn--primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 40px var(--accent-glow);
}

.btn--primary:active {
  transform: translateY(-1px) scale(1);
}

.btn--light {
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-md);
}

.btn--light:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn--glass {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.btn--glass:hover {
  background: var(--white);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.btn--lg {
  padding: 18px 36px;
  font-size: 1.05rem;
}

.btn--block {
  width: 100%;
  max-width: 100%;
}

/* Full-width CTAs on touch devices */
@media (max-width: 767px) {
  .hero__actions .btn,
  .section__cta .btn,
  .cta-panel .btn {
    width: 100%;
    max-width: 100%;
  }
}

/* ═══ Hero ═══ */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  padding-top: calc(var(--header-h) + 32px);
  padding-bottom: 48px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__scene {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__mesh {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(165deg, #c5e8f7 0%, #e8f4fc 35%, var(--cream) 70%),
    radial-gradient(ellipse 100% 80% at 70% 20%, rgba(59, 159, 217, 0.25), transparent 55%),
    radial-gradient(ellipse 60% 50% at 20% 60%, rgba(255, 140, 66, 0.12), transparent 50%);
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}

.hero__glow--1 {
  width: clamp(200px, 35vw, 520px);
  height: clamp(200px, 35vw, 520px);
  top: -10%;
  right: -5%;
  background: rgba(59, 159, 217, 0.35);
}

.hero__glow--2 {
  width: clamp(160px, 28vw, 400px);
  height: clamp(160px, 28vw, 400px);
  bottom: 10%;
  left: -3%;
  background: rgba(255, 140, 66, 0.2);
}

.hero__map-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.55;
  mask-image: linear-gradient(180deg, black 20%, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, black 20%, transparent 85%);
}

.hero__map {
  width: min(120%, 56rem);
  max-width: 100%;
  height: auto;
  margin-top: 8%;
}

.route-path {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: drawRoute 4s var(--ease-out) forwards;
}

.route-path--2 { animation-delay: 0.8s; }
.route-path--3 { animation-delay: 1.6s; }

@keyframes drawRoute {
  to { stroke-dashoffset: 0; }
}

.map-pin--pulse {
  animation: pinPulse 2.5s ease-in-out infinite;
}

@keyframes pinPulse {
  0%, 100% { r: 5; opacity: 1; }
  50% { r: 8; opacity: 0.6; }
}

/* Clouds */
.cloud-layer {
  position: absolute;
  inset: 0;
}

.cloud {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  box-shadow: 0 16px 48px rgba(255, 255, 255, 0.5);
  will-change: transform;
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  background: inherit;
  border-radius: 50%;
}

.cloud--a {
  width: clamp(80px, 22vw, 160px);
  height: clamp(28px, 8vw, 52px);
  top: 14%;
  left: max(2%, 8px);
  animation: cloudDrift 35s ease-in-out infinite;
}
.cloud--a::before { width: clamp(36px, 12vw, 60px); height: clamp(36px, 12vw, 60px); top: -55%; left: 18%; }
.cloud--a::after { width: clamp(48px, 14vw, 80px); height: clamp(40px, 12vw, 65px); top: -60%; right: 12%; }

.cloud--b {
  width: clamp(70px, 18vw, 120px);
  height: clamp(24px, 6vw, 40px);
  top: 28%;
  right: max(3%, 12px);
  animation: cloudDrift 28s ease-in-out infinite reverse;
  animation-delay: -8s;
}
.cloud--b::before { width: 45px; height: 45px; top: -22px; left: 12px; }
.cloud--b::after { width: 58px; height: 48px; top: -26px; right: 10px; }

.cloud--c {
  width: 80px; height: 28px;
  top: 8%; right: 30%;
  animation: cloudDrift 40s ease-in-out infinite;
  animation-delay: -15s;
  opacity: 0.7;
}
.cloud--c::before { width: 35px; height: 35px; top: -18px; left: 10px; }
.cloud--c::after { width: 48px; height: 38px; top: -20px; right: 8px; }

.cloud--d {
  width: 60px; height: 22px;
  bottom: 35%; left: 20%;
  animation: cloudDrift 22s ease-in-out infinite;
  opacity: 0.5;
}
.cloud--d::before { width: 28px; height: 28px; top: -14px; left: 8px; }
.cloud--d::after { width: 36px; height: 30px; top: -16px; right: 6px; }

@keyframes cloudDrift {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(24px, -8px); }
  66% { transform: translate(-12px, 6px); }
}

.hero__plane-wrap {
  position: absolute;
  top: 22%;
  right: 5%;
  width: min(200px, 45vw);
  z-index: 2;
  animation: planeFloat 8s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(11, 75, 138, 0.2));
}

@keyframes planeFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-12px, -16px); }
}

.hero__plane {
  width: 100%;
  height: auto;
  aspect-ratio: 200 / 80;
  display: block;
}

/* Hero content — mobile first */
.hero__body {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-block: 24px 16px;
}

.hero__content {
  text-align: center;
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-h1);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.04em;
  color: var(--navy);
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, var(--sky) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-wrap: balance;
}

.hero__subtitle {
  font-size: clamp(1rem, 1.8vw + 0.4rem, 1.25rem);
  color: var(--text-muted);
  max-width: min(34rem, 100%);
  margin-inline: auto;
  margin-bottom: 28px;
  line-height: 1.6;
  text-wrap: pretty;
}

.hero__actions {
  margin-bottom: 12px;
}

.hero__note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.hero__stats {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: clamp(20px, 5vw, 48px);
  flex-wrap: wrap;
}

.hero__stats li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.hero__stats strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.hero__stats span {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Search widget */
.hero__widget {
  position: relative;
  width: 100%;
  max-width: min(26rem, 100%);
  margin-inline: auto;
}

.search-widget {
  padding: clamp(20px, 4vw, 32px);
  border-radius: var(--radius-lg);
  transition: transform var(--duration) var(--ease-out), box-shadow var(--duration);
}

.search-widget:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.search-widget__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.search-widget__tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sky);
}

.search-widget__live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #22a06b;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #22a06b;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.search-widget__route {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.search-widget__city {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.search-widget__code {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 5vw, 1.5rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

.search-widget__name {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.search-widget__connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.search-widget__line {
  width: clamp(28px, 10vw, 48px);
  height: 2px;
  background: linear-gradient(90deg, var(--sky-light), var(--accent));
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.search-widget__line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
  animation: lineShine 2.5s ease-in-out infinite;
}

@keyframes lineShine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.search-widget__plane-icon {
  color: var(--accent);
  animation: iconBounce 3s ease-in-out infinite;
}

@keyframes iconBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.search-widget__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.search-widget__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(59, 159, 217, 0.08);
  border-radius: 100px;
}

.hero__float-card {
  display: none;
  position: absolute;
  bottom: -20px;
  left: -24px;
  padding: 14px 18px;
  border-radius: var(--radius);
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  animation: floatCard 6s ease-in-out infinite;
}

.hero__float-card strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  font-size: 0.9rem;
}

.hero__float-card span {
  color: var(--text-muted);
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ═══ Cashback banner ═══ */
.section--cashback {
  padding-block: clamp(40px, 6vw, 80px);
}

.cashback-banner {
  display: grid;
  gap: 32px;
  padding: clamp(32px, 5vw, 56px);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 50%, #1a6fad 100%);
  color: var(--white);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}

.cashback-banner__content {
  position: relative;
  z-index: 2;
}

.cashback-banner__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw + 0.5rem, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 16px;
  text-wrap: balance;
}

.cashback-banner__text {
  font-size: clamp(0.95rem, 1.5vw + 0.4rem, 1.1rem);
  opacity: 0.88;
  max-width: 36rem;
  margin-bottom: 28px;
  line-height: 1.65;
}

.cashback-banner__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(16px, 3vw, 32px);
  margin-bottom: 32px;
}

.cashback-banner__list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cashback-banner__list strong {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.cashback-banner__list span {
  font-size: 0.8rem;
  opacity: 0.75;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cashback-banner__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
}

.cashback-banner__orb {
  position: absolute;
  width: clamp(120px, 30vw, 200px);
  height: clamp(120px, 30vw, 200px);
  border-radius: 50%;
  background: rgba(255, 140, 66, 0.25);
  filter: blur(40px);
}

.cashback-banner__plane {
  width: clamp(100px, 25vw, 140px);
  height: auto;
  aspect-ratio: 1;
  display: block;
  position: relative;
  z-index: 1;
  animation: planeFloat 8s ease-in-out infinite;
}

/* ═══ Trust grid ═══ */
.trust-grid {
  display: grid;
  gap: 20px;
}

.trust-card {
  padding: clamp(28px, 4vw, 36px);
  border-radius: var(--radius-lg);
  transition:
    transform var(--duration) var(--ease-out),
    box-shadow var(--duration);
}

.trust-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.trust-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(59, 159, 217, 0.2), rgba(59, 159, 217, 0.05));
  color: var(--navy-mid);
  margin-bottom: 20px;
}

.trust-card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.trust-card__text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ═══ Routes grid ═══ */
.routes-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 56rem;
  margin-inline: auto;
}

.route-chip {
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  min-height: var(--touch-min);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(59, 159, 217, 0.15);
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--duration) var(--ease-spring),
    box-shadow var(--duration),
    border-color var(--duration),
    background var(--duration);
  cursor: pointer;
}

.route-chip:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--sky);
  background: var(--white);
}

.route-chip:active {
  transform: translateY(-1px);
}

/* ═══ Benefits ═══ */
.benefits {
  display: grid;
  gap: 20px;
}

.benefit-card {
  padding: clamp(28px, 4vw, 40px);
  border-radius: var(--radius-lg);
  transition:
    transform var(--duration) var(--ease-out),
    box-shadow var(--duration),
    border-color var(--duration);
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(59,159,217,0.3), transparent 50%, rgba(255,140,66,0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--duration);
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.benefit-card:hover::before {
  opacity: 1;
}

.icon-ring {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  margin-bottom: 24px;
  transition: transform var(--duration) var(--ease-spring);
}

.benefit-card:hover .icon-ring {
  transform: scale(1.08) rotate(-3deg);
}

.icon-ring--blue {
  background: linear-gradient(135deg, rgba(59, 159, 217, 0.2), rgba(59, 159, 217, 0.05));
  color: var(--navy-mid);
}

.icon-ring--orange {
  background: linear-gradient(135deg, rgba(255, 140, 66, 0.25), rgba(255, 140, 66, 0.08));
  color: var(--accent-hover);
}

.icon-ring--sky {
  background: linear-gradient(135deg, rgba(126, 200, 235, 0.4), rgba(59, 159, 217, 0.1));
  color: var(--sky);
}

.benefit-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.benefit-card__text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ═══ Steps ═══ */
.steps-grid {
  list-style: none;
  display: grid;
  gap: 16px;
}

.step-card {
  padding: 24px 28px;
  border-radius: var(--radius);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: transform var(--duration) var(--ease-out), box-shadow var(--duration);
}

.step-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}

.step-card__num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--sky);
  background: rgba(59, 159, 217, 0.12);
  padding: 8px 12px;
  border-radius: 10px;
  flex-shrink: 0;
}

.step-card p {
  padding-top: 6px;
  color: var(--text);
  font-size: 0.95rem;
  overflow-wrap: break-word;
  min-width: 0;
}

/* ═══ Audience ═══ */
.audience {
  display: grid;
  gap: 16px;
}

.audience-card {
  position: relative;
  padding: 28px 24px 28px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid rgba(59, 159, 217, 0.08);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition:
    transform var(--duration) var(--ease-out),
    box-shadow var(--duration);
}

.audience-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.audience-card__visual {
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 100%;
  opacity: 0.35;
  border-radius: 0 var(--radius-lg) 0 0;
}

.audience-card__visual--1 { background: linear-gradient(135deg, #7ec8eb, #3b9fd9); }
.audience-card__visual--2 { background: linear-gradient(135deg, #a8c5e8, #5a8fc4); }
.audience-card__visual--3 { background: linear-gradient(135deg, #ffc9a8, #ff8c42); }
.audience-card__visual--4 { background: linear-gradient(135deg, #b8e0f0, #6eb8d9); }
.audience-card__visual--5 { background: linear-gradient(135deg, #c5d4f0, #7a9fd4); }

.audience-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 14px;
  color: var(--navy-mid);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-sm);
}

.audience-card__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.audience-card__text {
  font-size: 0.88rem;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
  max-width: 90%;
}

/* ═══ Search form ═══ */
.search-form {
  width: 100%;
  max-width: min(55rem, 100%);
  margin-inline: auto;
  padding: clamp(20px, 4vw, 48px);
  border-radius: var(--radius-xl);
}

.search-form__grid {
  display: grid;
  gap: 20px;
  margin-bottom: 28px;
}

.field__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.field__wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 4px 4px 16px;
  background: rgba(255, 255, 255, 0.7);
  border: 1.5px solid rgba(59, 159, 217, 0.15);
  border-radius: var(--radius);
  transition: border-color var(--duration), box-shadow var(--duration), background var(--duration);
}

.field__wrap:focus-within {
  border-color: var(--sky);
  box-shadow: 0 0 0 4px rgba(59, 159, 217, 0.12);
  background: var(--white);
}

.field__icon {
  flex-shrink: 0;
  color: var(--sky);
}

.field__wrap {
  min-height: var(--touch-min);
}

.field__wrap input,
.field__wrap select {
  flex: 1;
  width: 100%;
  min-width: 0;
  min-height: calc(var(--touch-min) - 8px);
  padding: 14px 16px 14px 0;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: max(16px, 1rem);
  font-weight: 500;
  color: var(--text);
  outline: none;
}

.field__wrap select {
  cursor: pointer;
  padding-right: 8px;
}

.search-form__note {
  text-align: center;
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.price-disclaimer {
  text-align: center;
  margin-top: 28px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ═══ FAQ ═══ */
.faq {
  width: 100%;
  max-width: min(47.5rem, 100%);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item {
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--duration);
}

.faq__item.is-open {
  box-shadow: var(--shadow-md);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: clamp(16px, 3vw, 22px) clamp(16px, 4vw, 28px);
  min-height: var(--touch-min);
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  transition: background var(--duration);
}

.faq__question:hover {
  background: rgba(59, 159, 217, 0.06);
}

.faq__chevron {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(59, 159, 217, 0.1);
  position: relative;
  transition: transform var(--duration) var(--ease-spring), background var(--duration);
}

.faq__chevron::before,
.faq__chevron::after {
  content: "";
  position: absolute;
  background: var(--navy-mid);
  border-radius: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform var(--duration) var(--ease-out);
}

.faq__chevron::before {
  width: 12px;
  height: 2px;
}

.faq__chevron::after {
  width: 2px;
  height: 12px;
}

.faq__item.is-open .faq__chevron {
  background: var(--accent);
  transform: rotate(180deg);
}

.faq__item.is-open .faq__chevron::before,
.faq__item.is-open .faq__chevron::after {
  background: var(--navy);
}

.faq__item.is-open .faq__chevron::after {
  transform: translate(-50%, -50%) scaleY(0);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease-out);
}

.faq__answer p {
  padding: 0 clamp(16px, 4vw, 28px) clamp(16px, 3vw, 24px);
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ═══ CTA Panel ═══ */
.cta-final {
  padding-bottom: var(--space-section);
}

.cta-panel {
  position: relative;
  text-align: center;
  padding: clamp(48px, 8vw, 80px) clamp(24px, 5vw, 64px);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 45%, #1a6fad 100%);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.cta-panel__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-panel__bg .cloud {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: none;
}

.cloud--cta-a {
  width: 100px; height: 34px;
  top: 15%; left: 8%;
  animation: cloudDrift 25s ease-in-out infinite;
}

.cloud--cta-b {
  width: 80px; height: 28px;
  bottom: 20%; right: 10%;
  animation: cloudDrift 20s ease-in-out infinite reverse;
}

.cta-panel__title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.5vw + 0.5rem, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  position: relative;
}

.cta-panel__text {
  font-size: clamp(0.95rem, 1.5vw + 0.5rem, 1.05rem);
  opacity: 0.88;
  max-width: min(30rem, 100%);
  margin: 0 auto 32px;
  position: relative;
  padding-inline: var(--container-gutter);
}

/* ═══ Footer ═══ */
.footer {
  padding: 48px 0;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
}

.footer__disclaimer {
  text-align: center;
  max-width: min(42.5rem, 100%);
  margin: 0 auto 20px;
  padding-inline: var(--container-gutter);
  font-size: clamp(0.8rem, 1.5vw, 0.875rem);
  line-height: 1.6;
}

.footer__links {
  text-align: center;
  margin-bottom: 12px;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  transition: color var(--duration);
}

.footer__links a:hover {
  color: var(--white);
}

.footer__copy {
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.5;
}

/* ═══ Scroll reveal ═══ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.8s var(--ease-out),
    transform 0.8s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--d1 { transition-delay: 0.12s; }
.reveal--d2 { transition-delay: 0.24s; }

/* Stagger children */
.benefits .reveal:nth-child(2) { transition-delay: 0.1s; }
.benefits .reveal:nth-child(3) { transition-delay: 0.2s; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — 320 → 3840+
   Mobile-first · No horizontal scroll
   ═══════════════════════════════════════════════════════════ */

/* ── Small phones (320–479) ── */
@media (max-width: 479px) {
  .logo__text {
    font-size: clamp(0.9rem, 4vw, 1.05rem);
  }

  .logo__mark svg {
    width: clamp(28px, 8vw, 36px);
    height: auto;
  }

  .hero__stats {
    gap: clamp(12px, 4vw, 20px);
  }

  .hero__stats strong {
    font-size: clamp(1.1rem, 5vw, 1.35rem);
  }

  .search-widget__head {
    flex-wrap: wrap;
    gap: 8px;
  }

  .search-widget__route {
    gap: 8px;
  }

  .search-widget__name {
    font-size: 0.75rem;
  }

  .step-card {
    padding: 18px 16px;
    gap: 14px;
  }

  .step-card p {
    font-size: 0.9rem;
  }

  .audience-card {
    padding: 22px 18px;
  }

  .audience-card__visual {
    width: clamp(72px, 28vw, 120px);
  }

  .benefit-card__title {
    font-size: clamp(1.05rem, 4vw, 1.2rem);
  }

  .faq__question span:first-child {
    font-size: 0.92rem;
  }
}

/* ── Mobile menu & header (< 768) ── */
@media (max-width: 767px) {
  .header .btn--glass:not(.mobile-menu .btn) {
    display: none;
  }

  .nav { display: none; }
  .burger { display: flex; }

  .hero__plane-wrap {
    width: min(42vw, 180px);
    right: max(2%, 8px);
    top: 10%;
    opacity: 0.85;
  }

  .hero__map-wrap {
    opacity: 0.4;
  }

  .hero__float-card {
    display: none;
  }

  .btn {
    min-height: var(--touch-min);
  }

  .burger {
    min-width: var(--touch-min);
    min-height: var(--touch-min);
  }
}

/* ── Tablets (768–1023) — 2 columns ── */
@media (min-width: 768px) {
  .cashback-banner {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 40px;
  }

  .trust-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 2.5vw, 24px);
  }

  .nav { display: flex; flex-wrap: wrap; gap: clamp(12px, 2vw, 24px); }
  .burger { display: none; }
  .header .btn--glass { display: inline-flex; }

  .hero__body {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(32px, 5vw, 56px);
    align-items: center;
    min-height: calc(100svh - var(--header-h) - 64px);
    min-height: calc(100dvh - var(--header-h) - 64px);
    padding-block: clamp(32px, 5vw, 56px);
  }

  .hero__content { text-align: left; }
  .hero__subtitle { margin-inline: 0; }
  .hero__stats { justify-content: flex-start; }

  .hero__widget {
    margin-inline: 0;
    max-width: 100%;
    width: 100%;
  }

  .hero__map-wrap { opacity: 0.65; }

  .hero__plane-wrap {
    width: clamp(200px, 28vw, 280px);
    right: 6%;
    top: 16%;
  }

  .benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 2.5vw, 24px);
  }

  .benefits .benefit-card:last-child {
    grid-column: 1 / -1;
    max-width: min(100%, 50rem);
    justify-self: center;
    width: 100%;
  }

  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(14px, 2vw, 20px);
  }

  .audience {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(14px, 2vw, 20px);
  }

  .search-form__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .field--full { grid-column: 1 / -1; }
}

/* ── Laptops (1024–1279) ── */
@media (min-width: 1024px) {
  .benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .benefits .benefit-card:last-child {
    grid-column: auto;
    max-width: none;
    justify-self: stretch;
  }

  .hero__plane-wrap {
    width: clamp(240px, 22vw, 320px);
  }

  .hero__float-card {
    display: flex;
    left: clamp(-12px, -2vw, -24px);
  }

  .hero__map {
    width: min(110%, 56rem);
  }

  .hero__map-wrap { opacity: 0.72; }

  .audience {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .audience-card:nth-child(4) {
    grid-column: 1 / 2;
  }

  .audience-card:nth-child(5) {
    grid-column: 2 / 4;
  }

  .steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ── Desktop (1280–1919) ── */
@media (min-width: 1280px) {
  .hero__body {
    gap: clamp(48px, 4vw, 72px);
  }

  .audience {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .audience-card:nth-child(4),
  .audience-card:nth-child(5) {
    grid-column: auto;
  }

  .hero__plane-wrap {
    width: clamp(280px, 18vw, 340px);
  }
}

/* ── Large screens (1920+) ── */
@media (min-width: 1920px) {
  .page-bg {
    background:
      radial-gradient(ellipse 70% 55% at 50% -5%, rgba(59, 159, 217, 0.2), transparent 58%),
      radial-gradient(ellipse 45% 35% at 95% 45%, rgba(255, 140, 66, 0.08), transparent 55%),
      radial-gradient(ellipse 40% 30% at 5% 70%, rgba(59, 159, 217, 0.1), transparent 50%),
      var(--cream);
  }

  .hero__mesh {
    background:
      linear-gradient(165deg, #c5e8f7 0%, #e8f4fc 30%, var(--cream) 65%),
      radial-gradient(ellipse 90% 70% at 65% 15%, rgba(59, 159, 217, 0.28), transparent 58%),
      radial-gradient(ellipse 55% 45% at 15% 55%, rgba(255, 140, 66, 0.14), transparent 52%);
  }

  .hero__map {
    width: min(100%, 64rem);
  }

  .hero__map-wrap {
    opacity: 0.78;
  }

  .hero__plane-wrap {
    width: clamp(300px, 16vw, 380px);
    right: 10%;
  }

  .section--mesh {
    background:
      radial-gradient(ellipse 55% 45% at 0% 50%, rgba(59, 159, 217, 0.1), transparent 65%),
      radial-gradient(ellipse 45% 40% at 100% 80%, rgba(255, 140, 66, 0.06), transparent 55%);
  }
}

/* ── Ultrawide & 4K (2560+) ── */
@media (min-width: 2560px) {
  :root {
    --container-gutter: clamp(24px, 3vw, 48px);
  }

  .hero__scene::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 30% 50% at 0% 40%, rgba(59, 159, 217, 0.12), transparent 70%),
      radial-gradient(ellipse 30% 50% at 100% 60%, rgba(255, 140, 66, 0.08), transparent 70%);
    pointer-events: none;
  }

  .hero__map {
    width: min(72rem, 85vw);
  }

  .hero__glow--1 {
    width: clamp(400px, 22vw, 640px);
    height: clamp(400px, 22vw, 640px);
  }

  .hero__glow--2 {
    width: clamp(320px, 18vw, 500px);
    height: clamp(320px, 18vw, 500px);
  }

  .cta-panel {
    padding-block: clamp(64px, 5vw, 96px);
  }
}

/* ── 4K (3840) — keep content centered, fill sides with decor ── */
@media (min-width: 3440px) {
  .hero__plane-wrap {
    right: 12%;
  }

  .cloud--c,
  .cloud--d {
    opacity: 0.85;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .route-path {
    stroke-dashoffset: 0;
    animation: none;
  }

  .cloud,
  .hero__plane-wrap,
  .hero__float-card,
  .search-widget__plane-icon,
  .map-pin--pulse,
  .pulse-dot {
    animation: none !important;
  }

  [data-parallax] {
    transform: none !important;
  }
}
