:root {
  --bg: #08111f;
  --bg-2: #0d1b2f;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-2: rgba(255, 255, 255, 0.08);
  --card: rgba(13, 27, 47, 0.72);
  --text: #eef4ff;
  --muted: #a7b7cf;
  --line: rgba(255, 255, 255, 0.09);
  --accent: #57c7ff;
  --accent-2: #8a7dff;
  --accent-3: #45e0a1;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.34);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1220px;
  --header-h: 86px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 10% 10%, rgba(87, 199, 255, 0.14), transparent 26%),
    radial-gradient(circle at 86% 18%, rgba(138, 125, 255, 0.14), transparent 24%),
    radial-gradient(circle at 50% 90%, rgba(69, 224, 161, 0.10), transparent 28%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 110px 0;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}

.section-subtitle {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.04rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--accent);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: rgba(87, 199, 255, 0.6);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.scrolled {
  background: rgba(8, 17, 31, 0.78);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.26);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(87, 199, 255, 0.22), rgba(138, 125, 255, 0.22));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  font-size: 1.1rem;
}

.brand-text strong {
  display: block;
  font-size: 0.98rem;
}

.brand-text span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.25s ease;
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
}

.site-nav a:hover::after,
.site-nav a.active::after {
  transform: scaleX(1);
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #7be0ff);
  color: #08111f;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(87, 199, 255, 0.28);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
  color: var(--text);
}

.btn-call {
  background: linear-gradient(135deg, var(--accent-2), #a79dff);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(138, 125, 255, 0.24);
}

.lang-menu {
  position: relative;
}

.lang-trigger {
  min-height: 52px;
  min-width: 150px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.lang-trigger:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.lang-current {
  font-weight: 600;
}

.chev {
  transition: transform 0.25s ease;
  color: var(--muted);
}

.lang-menu.open .chev {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 220px;
  background: rgba(10, 20, 37, 0.96);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  padding: 8px;
  z-index: 1005;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px) scale(0.98);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.lang-menu.open .lang-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.lang-option {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 12px 14px;
  text-align: left;
  border-radius: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-option:hover,
.lang-option.active {
  background: rgba(87, 199, 255, 0.12);
  color: #fff;
}

.lang-option span:last-child {
  color: var(--muted);
  font-size: 0.88rem;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: #fff;
  display: block;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-panel {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: rgba(7, 13, 23, 0.97);
  backdrop-filter: blur(16px);
  padding: 24px 18px 36px;
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 999;
  overflow-y: auto;
}

.mobile-panel.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-nav,
.mobile-cta,
.mobile-lang-list {
  display: grid;
  gap: 12px;
}

.mobile-nav {
  margin-bottom: 18px;
}

.mobile-nav a,
.mobile-cta a {
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-lang-wrap {
  margin-bottom: 18px;
}

.mobile-lang-title {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 12px;
}

.mobile-lang-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mobile-lang-btn {
  min-height: 48px;
  padding: 0 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.mobile-lang-btn.active {
  background: rgba(87, 199, 255, 0.14);
  border-color: rgba(87, 199, 255, 0.3);
}

.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + 30px);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 6.2rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  margin-bottom: 24px;
  max-width: 780px;
}

.hero-title .accent {
  color: var(--accent);
  display: inline-block;
}

.hero-text {
  max-width: 690px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.15rem);
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 760px;
}

.stat-card,
.glass-card,
.service-card,
.why-card,
.step-card,
.contact-card,
.lang-card {
  background: var(--card);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.stat-card {
  padding: 20px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(87, 199, 255, 0.24);
}

.stat-card strong {
  display: block;
  font-size: clamp(1.35rem, 2vw, 2rem);
  margin-bottom: 6px;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
  min-height: 620px;
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
  opacity: 0.78;
}

.hero-orb.one {
  width: 180px;
  height: 180px;
  background: rgba(87, 199, 255, 0.18);
  top: 20px;
  right: 10%;
}

.hero-orb.two {
  width: 220px;
  height: 220px;
  background: rgba(138, 125, 255, 0.18);
  bottom: 80px;
  left: 8%;
}

.hero-card-main {
  position: absolute;
  inset: 70px 0 80px 70px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.hero-card-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.01)),
    radial-gradient(circle at 20% 20%, rgba(87, 199, 255, 0.15), transparent 30%),
    radial-gradient(circle at 80% 80%, rgba(138, 125, 255, 0.14), transparent 28%);
  z-index: 0;
}

.hero-card-main > * {
  position: relative;
  z-index: 1;
}

.route-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
  color: var(--muted);
  width: fit-content;
}

.hero-card-title {
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.05;
  max-width: 420px;
}

.mini-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.mini-card {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mini-card strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 8px;
}

.mini-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.floating-card {
  position: absolute;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(8, 17, 31, 0.82);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  min-width: 220px;
}

.floating-card strong {
  display: block;
  margin-bottom: 6px;
}

.floating-card span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

.floating-card.top {
  top: 22px;
  left: 0;
}

.floating-card.bottom {
  right: 0;
  bottom: 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.glass-card {
  padding: 30px;
}

.about-text,
.contact-text {
  color: var(--muted);
  font-size: 1rem;
}

.about-features,
.direction-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.about-features li,
.direction-list li {
  list-style: none;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.icon-badge {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: rgba(87, 199, 255, 0.12);
  color: var(--accent);
  font-weight: 700;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 42px;
}

.service-card,
.why-card,
.step-card,
.lang-card,
.contact-card {
  padding: 26px;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.service-card:hover,
.why-card:hover,
.step-card:hover,
.lang-card:hover,
.contact-card:hover {
  transform: translateY(-6px);
  border-color: rgba(87, 199, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(87, 199, 255, 0.16), rgba(138, 125, 255, 0.16));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.small-icon {
  margin-bottom: 0;
  width: 46px;
  height: 46px;
  border-radius: 14px;
}

.card-title {
  font-size: 1.12rem;
  margin-bottom: 10px;
}

.card-text {
  color: var(--muted);
  font-size: 0.96rem;
}

.directions-wrap {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  margin-top: 42px;
  align-items: stretch;
}

.map-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

.map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black 45%, transparent 85%);
  opacity: 0.5;
}

.route-line {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, rgba(87, 199, 255, 0.08), rgba(87, 199, 255, 0.95), rgba(138, 125, 255, 0.65));
  transform-origin: left center;
  border-radius: 999px;
  box-shadow: 0 0 18px rgba(87, 199, 255, 0.2);
}

.route-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 8px rgba(87, 199, 255, 0.12);
}

.route-label {
  position: absolute;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(9, 18, 33, 0.76);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
  backdrop-filter: blur(8px);
}

.why-grid,
.steps-grid,
.langs-grid,
.contact-grid {
  display: grid;
  gap: 20px;
  margin-top: 42px;
}

.why-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.steps-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.langs-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.lang-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  margin-bottom: 16px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.step-number {
  font-size: 0.92rem;
  color: var(--accent);
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.step-number::before {
  content: "";
  width: 26px;
  height: 1px;
  background: rgba(87, 199, 255, 0.6);
}

.contact-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
}

.contact-list {
  display: grid;
  gap: 14px;
}

.contact-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.25s ease, background 0.25s ease;
}

.contact-link:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.06);
}

.contact-meta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-tag {
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-big {
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
  margin: 24px 0 16px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1001;
  width: 62px;
  height: 62px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #1ebc61, #11a14f);
  color: #fff;
  box-shadow: 0 18px 34px rgba(17, 161, 79, 0.34);
  font-size: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform 0.25s ease;
}

.floating-whatsapp:hover {
  transform: translateY(-3px) scale(1.03);
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 94px;
  z-index: 1001;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(9, 18, 33, 0.8);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.site-footer {
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.parallax {
  will-change: transform;
}

[dir="rtl"] {
  text-align: right;
}

[dir="rtl"] .eyebrow,
[dir="rtl"] .brand,
[dir="rtl"] .header-controls,
[dir="rtl"] .nav-wrap,
[dir="rtl"] .hero-actions,
[dir="rtl"] .cta-row,
[dir="rtl"] .contact-meta,
[dir="rtl"] .step-number,
[dir="rtl"] .route-tag {
  flex-direction: row-reverse;
}

[dir="rtl"] .eyebrow::before,
[dir="rtl"] .step-number::before {
  order: 2;
}

[dir="rtl"] .lang-dropdown {
  right: auto;
  left: 0;
}

[dir="rtl"] .lang-option {
  text-align: right;
}

[dir="rtl"] .contact-link:hover {
  transform: translateX(-4px);
}

@media (max-width: 1180px) {
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-grid,
  .steps-grid,
  .langs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid,
  .directions-wrap,
  .contact-grid,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 560px;
  }
}

@media (max-width: 920px) {
  .site-nav,
  .header-controls {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero {
    min-height: auto;
    padding-bottom: 40px;
  }

  .hero-card-main {
    inset: 60px 20px 80px 20px;
  }

  .floating-card.top,
  .floating-card.bottom {
    min-width: unset;
    max-width: 220px;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 90px 0;
  }

  .hero-title {
    font-size: clamp(2.4rem, 12vw, 4rem);
  }

  .hero-stats,
  .cards-grid,
  .why-grid,
  .steps-grid,
  .langs-grid,
  .mini-cards,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 500px;
  }

  .hero-card-main {
    padding: 24px;
  }

  .floating-card.top {
    top: 12px;
    left: 10px;
  }

  .floating-card.bottom {
    right: 10px;
    bottom: 8px;
  }

  .glass-card,
  .service-card,
  .why-card,
  .step-card,
  .contact-card,
  .lang-card {
    padding: 22px;
  }

  .mobile-lang-list {
    grid-template-columns: 1fr;
  }
}