:root {
  --ink: #070b10;
  --glass: rgba(8, 13, 20, 0.66);
  --line: rgba(255, 255, 255, 0.18);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --blue: #147ff6;
  --blue-dark: #0b58b9;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.gateway {
  position: relative;
  min-height: 100svh;
  isolation: isolate;
  display: grid;
  align-items: center;
  padding: clamp(22px, 4vw, 48px);
  overflow: hidden;
}

.hero-video,
.shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  z-index: -3;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
}

.shade {
  z-index: -2;
  background:
    radial-gradient(circle at 80% 12%, rgba(20, 127, 246, 0.22), transparent 28%),
    linear-gradient(90deg, rgba(5, 8, 13, 0.94), rgba(5, 8, 13, 0.58) 48%, rgba(5, 8, 13, 0.84)),
    linear-gradient(0deg, rgba(5, 8, 13, 0.84), rgba(5, 8, 13, 0.18) 44%);
}

.gateway::after {
  content: "";
  position: absolute;
  left: -12%;
  right: -12%;
  bottom: 40px;
  z-index: -1;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), var(--blue), rgba(255, 255, 255, 0.55), transparent);
  opacity: 0.52;
  animation: roadPulse 4.5s linear infinite;
}

.content {
  width: min(100%, 1180px);
  margin: 0 auto;
}

.brand {
  width: min(100%, 1180px);
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: clamp(34px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(5, 9, 14, 0.72);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(18px);
}

.brand img {
  width: clamp(126px, 14vw, 176px);
  height: auto;
  display: block;
}

.headline {
  max-width: 900px;
}

h1 {
  max-width: 940px;
  margin: 0;
  color: #fff;
  font-size: clamp(3.2rem, 7vw, 6.6rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.headline p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1.2rem, 2.4vw, 2rem);
  font-weight: 850;
  line-height: 1.25;
}

.branch-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 820px;
  margin-top: clamp(28px, 4vw, 44px);
}

.branch-card {
  min-height: 148px;
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: clamp(20px, 2.4vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.branch-card:hover,
.branch-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(20, 127, 246, 0.82);
  background: rgba(9, 17, 28, 0.82);
  outline: none;
}

.country {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
}

.branch-card strong {
  color: #fff;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.action {
  width: fit-content;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius);
  padding: 0 16px;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
}

.branch-card:hover .action,
.branch-card:focus-visible .action {
  background: var(--blue-dark);
}

@keyframes roadPulse {
  from {
    transform: translateX(-12%);
  }

  to {
    transform: translateX(12%);
  }
}

@media (max-width: 720px) {
  .gateway {
    align-items: start;
    padding: 14px;
  }

  .brand {
    min-height: 88px;
    margin-bottom: 34px;
  }

  h1 {
    font-size: clamp(2.8rem, 14vw, 4.7rem);
  }

  .branch-grid {
    grid-template-columns: 1fr;
  }

  .branch-card {
    min-height: 130px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }

  .gateway::after {
    animation: none;
  }
}
