:root {
  --text: #123f7f;
  --muted: #5f6f85;
  --accent: #f68016;
  --accent-deep: #db6500;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.9);
  --line: rgba(18, 63, 127, 0.12);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --shadow: 0 24px 60px rgba(11, 47, 95, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(246, 128, 22, 0.18), transparent 24%),
    radial-gradient(circle at 90% 10%, rgba(30, 98, 201, 0.18), transparent 22%),
    linear-gradient(180deg, #f8f4ec 0%, #eef4fb 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.36) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.36) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.45;
  pointer-events: none;
}

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

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

h1,
h2,
h3,
p,
blockquote,
ul {
  margin: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  margin: 0;
  padding: 14px 24px;
  border-top: 0;
  border-right: 0;
  border-left: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 28px rgba(18, 63, 127, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand img {
  width: 168px;
  height: 56px;
  object-fit: contain;
  object-position: center;
  padding: 0;
  filter: drop-shadow(0 8px 14px rgba(18, 63, 127, 0.14));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  background: rgba(18, 63, 127, 0.08);
  transform: translateY(-1px);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(18, 63, 127, 0.08);
}

.language-button {
  min-width: 44px;
  min-height: 36px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.language-button.is-active {
  background: #ffffff;
  color: var(--text);
  box-shadow: 0 6px 14px rgba(18, 63, 127, 0.08);
}

.language-switch-mobile {
  display: none;
}

.language-switch-footer {
  background: rgba(255, 255, 255, 0.08);
}

.language-switch-footer .language-button {
  color: rgba(243, 247, 255, 0.72);
}

.language-switch-footer .language-button.is-active {
  color: var(--text);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(18, 63, 127, 0.08);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  transition: transform 180ms ease;
}

.slide-deck {
  width: 100%;
  margin: 0;
  display: grid;
  gap: 0;
}

.slide {
  position: relative;
  min-height: min(88vh, 860px);
  width: 100%;
  border-radius: 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.8);
  border-left: 0;
  border-right: 0;
  box-shadow: var(--shadow);
}

.slide::after {
  content: "";
  position: absolute;
  inset: auto -10% -34% auto;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 128, 22, 0.16), transparent 70%);
  pointer-events: none;
}

.slide-inner {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  gap: 34px;
  min-height: inherit;
  width: min(calc(100% - 40px), 1340px);
  margin: 0 auto;
  padding: 42px;
}

.slide-hero {
  min-height: min(68vh, 700px);
  background:
    linear-gradient(135deg, rgba(11, 48, 97, 0.98), rgba(40, 111, 211, 0.92)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
  color: #f8fbff;
}

.hero-slider {
  position: relative;
  min-height: inherit;
}

.hero-track {
  position: relative;
  min-height: inherit;
}

.hero-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateX(34px) scale(1.01);
  transition: opacity 780ms ease, transform 780ms ease;
}

.hero-panel.is-active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.hero-slider-controls {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-arrow,
.hero-dot {
  border: 0;
  cursor: pointer;
}

.hero-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font: inherit;
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 180ms ease, background-color 180ms ease;
}

.hero-arrow:hover,
.hero-arrow:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.22);
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.hero-dot.is-active {
  background: #ffb066;
}

.slide-services,
.slide-about,
.slide-contact,
.slide-offices {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.68));
}

.slide-network {
  background:
    linear-gradient(135deg, rgba(250, 251, 255, 0.94), rgba(229, 239, 251, 0.88)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.3));
}

.hero-layout,
.network-layout,
.about-layout,
.contact-layout,
.offices-layout {
  grid-template-columns: 1fr;
}

.slide-intro {
  max-width: 760px;
}

.offices-intro {
  width: min(calc(100% - 40px), 1340px);
  margin: 0 auto;
  padding-bottom: 10px;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  font-weight: 700;
}

.slide-hero .eyebrow,
.slide-hero .lead {
  color: rgba(248, 251, 255, 0.8);
}

h1 {
  max-width: 10ch;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.93;
  letter-spacing: -0.07em;
}

h1 span {
  display: block;
  color: #ffb066;
}

h2 {
  max-width: 16ch;
  font-size: clamp(2rem, 3.2vw, 3.6rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

h3 {
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.lead,
.slide p,
.feature-list {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
}

.hero-copy {
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(180deg, var(--accent), var(--accent-deep));
  box-shadow: 0 14px 30px rgba(246, 128, 22, 0.26);
}

.button-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-stage {
  display: grid;
  gap: 18px;
  align-content: center;
  min-height: 0;
}

.hero-cutout {
  position: absolute;
  right: -2%;
  top: 10%;
  width: min(56vw, 940px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.96;
}

.hero-cutout::before {
  content: "";
  position: absolute;
  right: 6%;
  top: 10%;
  width: 82%;
  height: 82%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 70%);
  filter: blur(8px);
}

.hero-cutout img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  filter: drop-shadow(0 28px 40px rgba(7, 24, 50, 0.32));
}

.hero-transaction-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  position: relative;
  z-index: 1;
}

.stage-card {
  display: grid;
  gap: 10px;
  width: 100%;
  min-height: 138px;
  padding: 22px;
  border-radius: 28px;
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 50px rgba(8, 30, 61, 0.26);
}

.stage-card strong {
  font-size: 0.82rem;
  letter-spacing: 0.18em;
}

.stage-card span {
  line-height: 1.6;
  color: rgba(248, 251, 255, 0.82);
}

.stage-card-main {
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.stage-card-side {
  background: rgba(246, 128, 22, 0.12);
  border: 1px solid rgba(255, 184, 107, 0.24);
}

.stage-card-accent {
  background: rgba(20, 76, 152, 0.28);
  border: 1px solid rgba(170, 211, 255, 0.22);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.contact-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}

.service-card {
  display: grid;
  gap: 14px;
}

.service-index {
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.network-copy {
  max-width: 580px;
}

.route-map {
  position: relative;
  min-height: 420px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 25% 30%, rgba(18, 63, 127, 0.09), transparent 18%),
    radial-gradient(circle at 76% 22%, rgba(246, 128, 22, 0.12), transparent 16%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(231, 239, 249, 0.72));
  border: 1px solid var(--line);
}

.route-dot,
.route-line {
  position: absolute;
  display: block;
}

.route-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 8px rgba(246, 128, 22, 0.12);
}

.route-dot-a {
  left: 14%;
  top: 34%;
}

.route-dot-b {
  left: 42%;
  top: 56%;
}

.route-dot-c {
  left: 64%;
  top: 28%;
}

.route-dot-d {
  left: 82%;
  top: 44%;
}

.route-line {
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #2e74da);
  transform-origin: left center;
}

.route-line-a {
  left: 16%;
  top: 40%;
  width: 30%;
  transform: rotate(23deg);
}

.route-line-b {
  left: 44%;
  top: 54%;
  width: 25%;
  transform: rotate(-30deg);
}

.route-line-c {
  left: 66%;
  top: 34%;
  width: 18%;
  transform: rotate(24deg);
}

.feature-list {
  padding-left: 18px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: center;
}

blockquote {
  padding: 26px;
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: rgba(18, 63, 127, 0.05);
  font-family: "Instrument Serif", serif;
  font-size: 2rem;
  line-height: 1.08;
}

.contact-card {
  display: grid;
  align-content: start;
  gap: 18px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 20px;
}

.contact-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-points span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(18, 63, 127, 0.08);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 500;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  border: 1px solid var(--line);
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form span {
  align-items: center;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(18, 63, 127, 0.14);
  border-radius: 16px;
  background: #fff;
  color: var(--text);
  font: inherit;
  padding: 14px 16px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(246, 128, 22, 0.7);
  box-shadow: 0 0 0 4px rgba(246, 128, 22, 0.12);
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.form-span {
  grid-column: 1 / -1;
}

.contact-form .button {
  justify-self: start;
}

.office-map-card {
  display: grid;
  gap: 0;
  width: 100%;
}

.office-map {
  position: relative;
  min-height: 460px;
  width: 100%;
  z-index: 0;
}

.slide-offices .slide-inner {
  width: 100%;
  padding: 42px 0 0;
}

.leaflet-container {
  font-family: "Space Grotesk", sans-serif;
}

.leaflet-popup-content-wrapper {
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(12, 30, 60, 0.18);
}

.leaflet-popup-content {
  margin: 14px 16px;
  color: var(--text);
}

.office-popup {
  display: grid;
  gap: 6px;
  min-width: 180px;
}

.office-popup strong {
  font-size: 0.95rem;
}

.office-popup span {
  color: var(--muted);
  line-height: 1.5;
}

.office-marker {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #36c5ff;
  border: 4px solid rgba(255, 255, 255, 0.98);
  box-shadow: 0 0 0 12px rgba(54, 197, 255, 0.22);
}

.office-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  width: 100%;
  background:
    linear-gradient(180deg, rgba(21, 54, 87, 0.96), rgba(20, 50, 80, 0.96)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
}

.office-band article {
  display: grid;
  gap: 12px;
  padding: 34px 28px;
  min-height: 220px;
  align-content: start;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.office-band article:last-child {
  border-right: 0;
}

.office-band strong {
  color: #ffffff;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.office-band span,
.office-band a {
  color: rgba(232, 240, 248, 0.78);
  line-height: 1.6;
  font-size: 0.98rem;
}

.office-band a {
  color: #37c6ff;
}

.office-band span::before,
.office-band a::before {
  display: inline-block;
  width: 18px;
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.5);
}

.office-band article span:first-of-type::before {
  content: "o";
}

.office-band article span:last-of-type::before {
  content: "[]";
  font-size: 0.78rem;
}

.office-band article a::before {
  content: "@";
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

.site-footer {
  background:
    linear-gradient(180deg, #0c1e3c 0%, #081426 100%);
  color: #f3f7ff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--accent), var(--accent-deep));
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(246, 128, 22, 0.28);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(246, 128, 22, 0.34);
}

.site-footer-inner {
  width: min(calc(100% - 40px), 1340px);
  margin: 0 auto;
  padding: 42px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: end;
}

.footer-kicker {
  margin-bottom: 10px;
  color: #ffb066;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
}

.footer-title {
  max-width: 14ch;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.footer-meta {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.footer-meta p,
.footer-meta a {
  color: rgba(243, 247, 255, 0.74);
  line-height: 1.7;
}

.footer-meta a {
  color: #ffffff;
  font-weight: 700;
}

@media (max-width: 1080px) {
  .hero-layout,
  .network-layout,
  .about-layout,
  .contact-layout,
  .offices-layout,
  .about-grid,
  .contact-grid,
  .office-band,
  .site-footer-inner,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .slide {
    min-height: 0;
  }

  .hero-stage {
    min-height: 320px;
  }

  .hero-transaction-strip {
    grid-template-columns: 1fr;
  }

  .hero-cutout {
    position: relative;
    right: auto;
    top: auto;
    width: min(100%, 760px);
    margin: 0 auto;
    opacity: 1;
  }

  .hero-cutout img {
    max-height: 280px;
  }

  .contact-card {
    align-items: flex-start;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .topbar {
    top: 0;
    flex-wrap: wrap;
    width: 100%;
    padding: 14px 16px;
    margin-top: 0;
    border-radius: 0;
  }

  .brand img {
    width: 140px;
    height: 48px;
  }

  .menu-toggle {
    display: inline-block;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-top: 8px;
  }

  .language-switch-desktop {
    display: none;
  }

  .language-switch-mobile {
    display: inline-flex;
    width: fit-content;
    margin-top: 8px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    background: rgba(18, 63, 127, 0.04);
  }

  .slide-deck {
    width: 100%;
    margin-top: 0;
    gap: 0;
  }

  .slide-inner {
    width: min(calc(100% - 16px), 1340px);
    padding: 28px 20px;
    gap: 24px;
  }

  .hero-slider-controls {
    right: 16px;
    bottom: 16px;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
  }

  .offices-intro {
    width: min(calc(100% - 16px), 1340px);
  }

  .site-footer-inner {
    width: min(calc(100% - 16px), 1340px);
    padding: 28px 20px;
  }

  .office-map {
    min-height: 360px;
  }

  .slide-offices .slide-inner {
    padding-top: 28px;
  }

  .office-band article {
    min-height: 0;
    padding: 24px 20px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .office-band article:last-child {
    border-bottom: 0;
  }

  h1 {
    max-width: 11ch;
    font-size: clamp(2.5rem, 12vw, 4.6rem);
  }

  h2 {
    max-width: none;
    font-size: clamp(1.9rem, 8vw, 3rem);
  }

  .hero-stage {
    min-height: 260px;
  }

  .hero-cutout img {
    max-height: 220px;
  }

  .stage-card {
    width: 100%;
  }

  blockquote {
    font-size: 1.5rem;
  }
}
