/* ============ Tokens ============ */
:root {
  --blue: #2f6fb0;
  --blue-dark: #1d4a7c;
  --navy: #0f2a4a;
  --sky: #3fa9f5;
  --mint: #22c3a6;
  --coral: #ff6b6b;
  --yellow: #ffc93c;
  --yellow-dark: #f5a623;
  --orange: #ff8a3d;
  --purple: #8e6cf0;
  --red: #ef4f6a;
  --green: #4cbb5e;

  --ink: #1d2b3a;
  --muted: #5b6b7d;
  --bg: #fffaf2;
  --card: #ffffff;

  --radius: 22px;
  --shadow: 0 18px 40px -18px rgba(15, 42, 74, 0.35);
  --shadow-lg: 0 30px 60px -20px rgba(15, 42, 74, 0.45);
  --bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --smooth: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* ============ Scroll progress ============ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--yellow), var(--coral), var(--purple), var(--sky));
  z-index: 3000;
}

/* ============ Nav ============ */
.nav {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 28px);
  max-width: 1240px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 2000;
  transition: background 0.4s, box-shadow 0.4s, top 0.4s var(--smooth);
  animation: dropIn 0.9s var(--bounce) both;
}

.nav.scrolled {
  top: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 30px -12px rgba(15, 42, 74, 0.35);
}

.nav-brand {
  display: grid;
  place-items: center;
  width: 54px;
  height: 42px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: transform 0.4s var(--bounce);
}

.nav-brand:hover {
  transform: rotate(-8deg) scale(1.08);
}

.nav-brand img {
  height: 26px;
  width: auto;
}

.lang-switch {
  position: relative;
  display: inline-flex;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  padding: 4px;
  box-shadow: inset 0 0 0 1px rgba(15, 42, 74, 0.08);
}

.lang-pill {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc((100% - 8px) / 3);
  height: calc(100% - 8px);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--coral), var(--orange));
  box-shadow: 0 6px 14px -4px rgba(255, 107, 107, 0.7);
  transition: transform 0.45s var(--bounce);
}

.lang-switch[data-active="ru"] .lang-pill {
  transform: translateX(100%);
}

.lang-switch[data-active="en"] .lang-pill {
  transform: translateX(200%);
}

.lang-switch button {
  position: relative;
  z-index: 1;
  border: 0;
  background: transparent;
  min-width: 46px;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  font: 800 14px/1 "Nunito", sans-serif;
  color: var(--muted);
  transition: color 0.3s;
}

.lang-switch button.active {
  color: #fff;
}

/* ============ Hero ============ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  color: #fff;
  background: var(--navy);
}

.hero-layer {
  position: absolute;
  inset: -10% 0 -10% 0;
  will-change: transform;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.slide.active {
  opacity: 1;
}

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.15);
}

.slide.active .slide-bg {
  animation: kenburns 9s ease-out forwards;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(255, 107, 107, 0.35), transparent 55%),
    radial-gradient(ellipse at 85% 20%, rgba(255, 201, 60, 0.28), transparent 50%),
    linear-gradient(180deg, rgba(15, 42, 74, 0.55) 0%, rgba(15, 42, 74, 0.7) 100%);
}

.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.shape {
  position: absolute;
  display: block;
  will-change: transform;
}

.shape > i {
  display: block;
}

.shape-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffe08a, var(--yellow-dark));
  opacity: 0.85;
}

.shape-ring {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 10px solid var(--mint);
  opacity: 0.7;
}

.shape-blob {
  width: 220px;
  height: 220px;
  background: linear-gradient(135deg, var(--coral), var(--purple));
  border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
  opacity: 0.35;
  filter: blur(2px);
}

.shape-dots {
  width: 140px;
  height: 100px;
  background-image: radial-gradient(rgba(255, 255, 255, 0.7) 2.5px, transparent 3px);
  background-size: 20px 20px;
}

.shape-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-size: 26px;
  color: #fff;
}

.s1 { top: 16%; left: 7%; }
.s2 { bottom: 24%; right: 9%; }
.s3 { top: 52%; left: -60px; }
.s4 { top: 18%; right: 18%; }
.s5 { top: 26%; right: 8%; }
.s6 { bottom: 26%; left: 14%; }
.s7 { top: 14%; left: 42%; }

/* inner float animations (outer transform is used by JS) */
.hero-shapes .shape-icon i { animation: bob 4s ease-in-out infinite; }
.hero-shapes .s6 i { animation-delay: -1.3s; }
.hero-shapes .s7 i { animation-delay: -2.6s; }
.shape-blob { animation: morph 12s ease-in-out infinite; }
.shape-ring { animation: spinPulse 10s linear infinite; }

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  will-change: transform, opacity;
}

.hero-titles {
  display: grid;
  max-width: 980px;
  text-align: center;
}

.slide-title {
  grid-area: 1 / 1;
  margin: 0;
  font-weight: 900;
  font-size: clamp(1.7rem, 4.4vw, 3.6rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(40px) scale(0.96);
  filter: blur(10px);
  transition: opacity 0.6s ease, transform 0.6s ease, filter 0.6s ease;
  pointer-events: none;
}

.slide-title.active {
  opacity: 1;
  transform: none;
  filter: blur(0);
  transition: opacity 0.9s 0.35s ease, transform 1s 0.35s var(--bounce), filter 0.9s 0.35s ease;
  pointer-events: auto;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.3s, transform 0.35s var(--bounce);
}

.hero-arrow:hover {
  background: var(--yellow);
  color: var(--navy);
  transform: translateY(-50%) scale(1.12);
}

.hero-arrow.prev { left: 24px; }
.hero-arrow.next { right: 24px; }

.hero-dots {
  position: absolute;
  bottom: 140px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}

.hero-dots button {
  width: 14px;
  height: 14px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  overflow: hidden;
  position: relative;
  transition: width 0.45s var(--smooth), background 0.3s;
}

.hero-dots button.active {
  width: 46px;
  background: rgba(255, 255, 255, 0.35);
}

.hero-dots button span {
  position: absolute;
  inset: 0;
  background: var(--yellow);
  transform-origin: 0 50%;
  transform: scaleX(0);
}

.hero-dots button.active span {
  animation: dotFill var(--slide-time, 6500ms) linear forwards;
}

.hero.paused .hero-dots button.active span {
  animation-play-state: paused;
}

.scroll-hint {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 28px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
}

.scroll-hint span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 9px;
  margin-left: -2px;
  border-radius: 4px;
  background: #fff;
  animation: scrollHint 1.8s ease-in-out infinite;
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 90px;
  z-index: 2;
}

.wave-back {
  fill: var(--yellow);
  opacity: 0.55;
  animation: waveShift 9s ease-in-out infinite alternate;
}

.wave-front {
  fill: var(--bg);
}

/* ============ Section titles ============ */
.section-title {
  position: relative;
  margin: 0 0 28px;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 900;
  line-height: 1.2;
  color: var(--navy);
}

.section-title strong {
  font-weight: inherit;
}

.section-title::after {
  content: "";
  display: block;
  width: 90px;
  height: 14px;
  margin-top: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 90 14'%3E%3Cpath d='M2 8 Q 13 0 24 8 T 46 8 T 68 8 T 88 8' fill='none' stroke='%23ff6b6b' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.9s 0.3s var(--bounce);
}

.section-title.center {
  text-align: center;
}

.section-title.center::after {
  margin-left: auto;
  margin-right: auto;
  transform-origin: center;
}

.section-title.light {
  color: #fff;
}

.section-title.light::after {
  filter: brightness(0) saturate(100%) invert(84%) sepia(52%) saturate(1000%) hue-rotate(340deg);
}

.section-title.is-visible::after,
html:not(.js) .section-title::after {
  transform: scaleX(1);
}

/* ============ Blobs ============ */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.blob-yellow { width: 340px; height: 340px; background: var(--yellow); top: 4%; right: -100px; }
.blob-mint { width: 280px; height: 280px; background: var(--mint); bottom: 0; left: -120px; opacity: 0.35; }
.blob-coral { width: 360px; height: 360px; background: var(--coral); top: 18%; left: -160px; opacity: 0.25; }
.blob-blue { width: 420px; height: 420px; background: var(--sky); bottom: 6%; right: -180px; opacity: 0.25; }

/* ============ About ============ */
.about {
  position: relative;
  padding: 90px 0 60px;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.about-media {
  position: relative;
  padding: 26px;
}

.about-frame {
  position: relative;
  border-radius: 32px 32px 32px 120px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  z-index: 1;
}

.about-frame img {
  width: 100%;
  aspect-ratio: 4 / 3.2;
  object-fit: cover;
  transition: transform 1.2s var(--smooth);
}

.about-media:hover .about-frame img {
  transform: scale(1.06);
}

.about-dots {
  position: absolute;
  right: -6px;
  bottom: -6px;
  width: 180px;
  height: 150px;
  background-image: radial-gradient(var(--coral) 3px, transparent 3.5px);
  background-size: 22px 22px;
  opacity: 0.55;
  z-index: 0;
}

.float-badge {
  position: absolute;
  z-index: 2;
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  font-size: 26px;
  color: #fff;
  box-shadow: var(--shadow);
  animation: bob 4.5s ease-in-out infinite;
}

.fb1 { top: 0; left: 0; background: linear-gradient(135deg, var(--yellow), var(--orange)); }
.fb2 { top: 38%; right: -6px; background: linear-gradient(135deg, var(--mint), var(--sky)); animation-delay: -1.5s; }
.fb3 { bottom: 4px; left: 22%; background: linear-gradient(135deg, var(--coral), var(--purple)); animation-delay: -3s; }

.about-text p {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 18px;
}

.about-icons {
  display: flex;
  gap: 14px;
  margin-top: 26px;
}

.about-icons span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--c);
  background: color-mix(in srgb, var(--c) 14%, white);
  font-size: 20px;
  transition: transform 0.4s var(--bounce), background 0.3s, color 0.3s;
}

.about-icons span:hover {
  transform: translateY(-8px) rotate(-8deg);
  background: var(--c);
  color: #fff;
}

/* ============ Road ============ */
.road {
  position: relative;
  height: 90px;
  margin: 10px 0 0;
  overflow: hidden;
}

.road-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  height: 14px;
  background:
    repeating-linear-gradient(90deg, var(--yellow) 0 40px, transparent 40px 70px) center / 100% 4px no-repeat,
    #33465c;
  border-radius: 8px;
}

.road-truck {
  position: absolute;
  bottom: 30px;
  left: 0;
  font-size: 46px;
  color: var(--coral);
  will-change: transform;
  filter: drop-shadow(0 6px 6px rgba(0, 0, 0, 0.18));
}

.road-truck i {
  display: block;
  animation: truckBounce 0.5s ease-in-out infinite alternate;
}

.road-smoke {
  position: absolute;
  left: -16px;
  bottom: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(91, 107, 125, 0.4);
  animation: smoke 1s ease-out infinite;
}

/* ============ Services ============ */
.services {
  position: relative;
  padding: 60px 0 100px;
  overflow: hidden;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: start;
}

.card {
  position: relative;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: box-shadow 0.4s, transform 0.5s var(--smooth);
  cursor: pointer;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--accent);
  z-index: 3;
  transform: scaleX(0.25);
  transform-origin: left;
  transition: transform 0.6s var(--smooth);
}

.card:hover,
.card.open {
  box-shadow: var(--shadow-lg);
}

.card:hover::before,
.card.open::before {
  transform: scaleX(1);
}

.card-img {
  position: relative;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.9s var(--smooth);
}

.card-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, color-mix(in srgb, var(--accent) 55%, transparent));
  opacity: 0;
  transition: opacity 0.5s;
}

.card:hover .card-img img {
  transform: scale(1.1) rotate(1deg);
}

.card:hover .card-img::after {
  opacity: 1;
}

.card-icon {
  position: absolute;
  left: 20px;
  bottom: 16px;
  z-index: 2;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--accent);
  color: #fff;
  font-size: 22px;
  box-shadow: 0 10px 20px -6px color-mix(in srgb, var(--accent) 80%, black);
  transition: transform 0.5s var(--bounce);
}

.card:hover .card-icon {
  transform: translateY(-6px) rotate(-10deg) scale(1.08);
}

.card-body {
  padding: 22px 24px 18px;
}

.card-title {
  margin: 0 0 10px;
  font-size: 1.22rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--navy);
}

.card-text {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
}

.text-container {
  position: relative;
  overflow: hidden;
  max-height: 4.9em;
  transition: max-height 0.7s var(--smooth);
}

.text-container::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2em;
  background: linear-gradient(transparent, var(--card));
  transition: opacity 0.4s;
}

.card:hover .text-container,
.card.open .text-container {
  max-height: 40em;
}

.card:hover .text-container::after,
.card.open .text-container::after {
  opacity: 0;
}

.card-more {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin: 12px auto 0;
  border-radius: 50%;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, white);
  font-size: 13px;
  animation: nudge 1.8s ease-in-out infinite;
  transition: transform 0.4s var(--bounce);
}

.card:hover .card-more,
.card.open .card-more {
  transform: rotate(180deg);
  animation: none;
}

/* ============ Parallax band ============ */
.parallax-band {
  position: relative;
  height: 380px;
  overflow: hidden;
}

.parallax-img {
  position: absolute;
  inset: -40% 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
}

.parallax-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(47, 111, 176, 0.88), rgba(142, 108, 240, 0.7) 50%, rgba(255, 107, 107, 0.75));
}

.band-icons {
  position: absolute;
  inset: 0;
}

.band-icon {
  position: absolute;
  font-size: 40px;
  color: var(--c);
  will-change: transform;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.25));
}

.band-icon.big {
  font-size: 72px;
}

.band-icon i {
  display: block;
  animation: bob 5s ease-in-out infinite;
}

.band-icon:nth-child(2) i { animation-delay: -1s; }
.band-icon:nth-child(3) i { animation-delay: -2s; }
.band-icon:nth-child(4) i { animation-delay: -3s; }
.band-icon:nth-child(5) i { animation-delay: -4s; }

.band-plane {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 34px;
  color: #fff;
  animation: fly 14s linear infinite;
}

/* ============ Partners ============ */
.partners {
  padding: 90px 0 70px;
}

.logo-slider {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
}

.logo-track {
  display: flex;
  width: max-content;
  animation: scroll 32s linear infinite;
}

.logo-slider:hover .logo-track {
  animation-play-state: paused;
}

.logo-item {
  flex: 0 0 auto;
  width: 220px;
  height: 110px;
  margin: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 28px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 26px -14px rgba(15, 42, 74, 0.35);
  transition: transform 0.45s var(--bounce), box-shadow 0.3s;
}

.logo-item:hover {
  transform: translateY(-8px) rotate(-2deg);
  box-shadow: var(--shadow);
}

.logo-item img {
  max-height: 56px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: 0.35s;
}

.logo-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

.logo-slider::before,
.logo-slider::after {
  content: "";
  position: absolute;
  top: 0;
  width: 140px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.logo-slider::before {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}

.logo-slider::after {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}

/* ============ Contact ============ */
.contact {
  position: relative;
  padding: 100px 0 140px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 55%, #3a2f7a 100%);
  background-size: 200% 200%;
  animation: gradientShift 16s ease infinite;
}

.contact-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.contact-shape.c1 { width: 260px; height: 260px; top: -60px; left: -60px; background: var(--yellow); opacity: 0.3; filter: blur(10px); }
.contact-shape.c2 { width: 180px; height: 180px; bottom: 60px; right: 6%; border: 18px solid var(--coral); opacity: 0.45; }
.contact-shape.c3 { width: 120px; height: 120px; top: 40%; left: 8%; background-image: radial-gradient(rgba(255, 255, 255, 0.6) 2.5px, transparent 3px); background-size: 18px 18px; border-radius: 0; }

.form-card {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  padding: 44px 40px 36px;
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.5);
}

.form-plane {
  position: absolute;
  top: -30px;
  right: 34px;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  color: #fff;
  font-size: 24px;
  box-shadow: 0 12px 24px -8px rgba(245, 166, 35, 0.8);
  animation: bob 3.5s ease-in-out infinite;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  position: relative;
  margin-bottom: 20px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 22px 18px 10px;
  font: 600 1rem "Nunito", sans-serif;
  color: var(--ink);
  background: #f5f7fb;
  border: 2px solid transparent;
  border-radius: 16px;
  outline: none;
  resize: vertical;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}

.field textarea {
  min-height: 130px;
}

.field label {
  position: absolute;
  left: 18px;
  top: 16px;
  color: var(--muted);
  font-weight: 600;
  pointer-events: none;
  transform-origin: left top;
  transition: transform 0.3s var(--smooth), color 0.3s;
}

.field input:focus,
.field textarea:focus {
  background: #fff;
  border-color: var(--sky);
  box-shadow: 0 0 0 5px rgba(63, 169, 245, 0.15);
}

.field input:focus + label,
.field textarea:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:not(:placeholder-shown) + label {
  transform: translateY(-10px) scale(0.78);
  color: var(--blue);
}

.btn-send {
  position: relative;
  overflow: hidden;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 24px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--coral), var(--orange));
  color: #fff;
  font: 900 1.05rem "Nunito", sans-serif;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 16px 30px -12px rgba(255, 107, 107, 0.9);
  transition: transform 0.35s var(--bounce), box-shadow 0.3s;
}

.btn-send::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  animation: shine 3.2s ease-in-out infinite;
}

.btn-send:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 22px 36px -12px rgba(255, 107, 107, 0.95);
}

.btn-send:hover i {
  animation: planeGo 0.8s ease-in-out;
}

.btn-send .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  transform: scale(0);
  animation: ripple 0.7s ease-out forwards;
  pointer-events: none;
}

/* ============ Footer ============ */
.footer {
  position: relative;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  padding-top: 40px;
}

.footer-wave {
  position: absolute;
  top: -79px;
  left: 0;
  width: 100%;
  height: 80px;
}

.footer-wave path {
  fill: var(--navy);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  padding-bottom: 40px;
}

.footer-logo {
  height: 46px;
  width: auto;
  padding: 8px 12px;
  margin-bottom: 14px;
  background: #fff;
  border-radius: 14px;
}

.footer-title {
  margin: 0 0 14px;
  font-size: 1.15rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
}

.footer p {
  margin: 0;
  max-width: 440px;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-list li {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
}

.footer-list strong {
  color: #fff;
}

.footer-list a {
  color: var(--yellow);
  text-decoration: none;
}

.footer-list a:hover {
  text-decoration: underline;
}

.fi {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--yellow);
  transition: transform 0.4s var(--bounce), background 0.3s;
}

.footer-list li:hover .fi {
  transform: rotate(-12deg) scale(1.1);
  background: var(--coral);
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.2);
  font-weight: 700;
}

/* ============ Back to top ============ */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1500;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  color: #fff;
  font-size: 18px;
  text-decoration: none;
  box-shadow: 0 12px 24px -8px rgba(245, 166, 35, 0.8);
  opacity: 0;
  transform: translateY(30px) scale(0.6);
  pointer-events: none;
  transition: opacity 0.4s, transform 0.5s var(--bounce);
}

.to-top.show {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.to-top:hover {
  transform: translateY(-5px) rotate(-8deg);
}

/* ============ Reveal on scroll ============ */
.js .reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.9s var(--smooth), transform 0.9s var(--smooth);
  transition-delay: var(--delay, 0ms);
}

.js .reveal-left { transform: translateX(-70px) rotate(-3deg); }
.js .reveal-right { transform: translateX(70px); }
.js .reveal-zoom { transform: scale(0.85) translateY(40px); }

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* cards: let JS tilt take over once revealed */
.js .card.reveal.is-visible {
  transition: opacity 0.9s var(--smooth), transform 0.5s var(--smooth), box-shadow 0.4s;
}

/* ============ Keyframes ============ */
@keyframes dropIn {
  from { opacity: 0; transform: translate(-50%, -80px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

@keyframes kenburns {
  from { transform: scale(1.15) translate(0, 0); }
  to { transform: scale(1.02) translate(-1.5%, -1%); }
}

@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(4deg); }
}

@keyframes morph {
  0%, 100% { border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%; }
  33% { border-radius: 70% 30% 46% 54% / 30% 39% 61% 70%; }
  66% { border-radius: 28% 72% 35% 65% / 62% 30% 70% 38%; }
}

@keyframes spinPulse {
  0%, 100% { scale: 1; }
  50% { scale: 1.15; }
}

@keyframes dotFill {
  to { transform: scaleX(1); }
}

@keyframes scrollHint {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(16px); }
}

@keyframes waveShift {
  from { transform: translateX(0); }
  to { transform: translateX(-40px); }
}

@keyframes truckBounce {
  from { transform: translateY(0); }
  to { transform: translateY(-3px); }
}

@keyframes smoke {
  from { opacity: 0.8; transform: translate(0, 0) scale(0.6); }
  to { opacity: 0; transform: translate(-26px, -14px) scale(2); }
}

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

@keyframes fly {
  0% { transform: translate(-10vw, 300px) rotate(-20deg); }
  100% { transform: translate(110vw, -60px) rotate(-20deg); }
}

@keyframes scroll {
  to { transform: translateX(-50%); }
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes shine {
  0%, 60% { left: -60%; }
  100% { left: 130%; }
}

@keyframes planeGo {
  0% { transform: translate(0, 0); }
  45% { transform: translate(24px, -18px); opacity: 0; }
  55% { transform: translate(-24px, 18px); opacity: 0; }
  100% { transform: translate(0, 0); opacity: 1; }
}

@keyframes ripple {
  to { transform: scale(4); opacity: 0; }
}

/* ============ Responsive ============ */
@media (max-width: 991px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-media { max-width: 560px; margin: 0 auto; }
  .s4, .s7 { display: none; }
}

@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-card { padding: 40px 22px 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-arrow { width: 44px; height: 44px; top: auto; bottom: 128px; transform: none; }
  .hero-arrow:hover { transform: scale(1.1); }
  .hero-arrow.prev { left: 16px; }
  .hero-arrow.next { right: 16px; }
  .hero-dots { bottom: 146px; }
  .shape-icon { width: 48px; height: 48px; font-size: 20px; border-radius: 14px; }
  .shape-circle { width: 80px; height: 80px; }
  .s3 { display: none; }
  .logo-item { width: 170px; height: 90px; }
  .logo-slider::before, .logo-slider::after { width: 50px; }
  .parallax-band { height: 280px; }
  .band-icon.big { font-size: 52px; }
  .band-icon { font-size: 30px; }
}

@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;
  }
  .band-plane { display: none; }
}
