/* ============================================================
   FATRO — Your Trusted International Payment Partner
   Brand palette taken from the official brand deck:
   deep navy backgrounds, beveled gold accents, white text.
   ============================================================ */

:root {
  --navy-950: #030c1d;
  --navy-900: #051530;
  --navy-850: #071b3a;
  --navy-800: #0a2145;
  --navy-700: #102a52;
  --panel: rgba(21, 45, 86, 0.45);
  --panel-solid: #0d2348;
  --hairline: rgba(201, 150, 59, 0.28);
  --gold: #c9963b;
  --gold-light: #efcf95;
  --gold-deep: #8c6420;
  --gold-grad: linear-gradient(135deg, #f3d9a0 0%, #d8a559 45%, #9a6f26 100%);
  --text: #f0f5fc;
  --muted: #9fb0cc;
  --shadow: 0 18px 50px rgba(1, 8, 22, 0.55);
  --radius: 18px;
  --nav-h: 82px;
  --font: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 10px);
}

body {
  font-family: var(--font);
  background: var(--navy-950);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* fixed background layer (more reliable than background-attachment: fixed) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1100px 700px at 85% -5%, rgba(28, 62, 116, 0.55), transparent 60%),
    radial-gradient(900px 600px at -10% 40%, rgba(22, 50, 96, 0.5), transparent 60%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
  pointer-events: none;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

.gold { color: var(--gold); }

/* ---------- Top navigation ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background 0.35s ease, box-shadow 0.35s ease, height 0.35s ease;
}

.nav.scrolled {
  height: 68px;
  background: rgba(4, 14, 32, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(1, 8, 22, 0.55);
  border-bottom: 1px solid rgba(201, 150, 59, 0.18);
}

.nav-inner {
  width: min(1280px, 94%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-right: auto;
}

.brand img { height: 40px; width: auto; }

.brand .wordmark {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #fff;
  border-left: 1px solid rgba(201, 150, 59, 0.5);
  padding-left: 13px;
  line-height: 1.1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
  padding: 6px 2px;
  position: relative;
  transition: color 0.25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--gold-grad);
  transition: right 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active { color: #fff; }

.nav-links a:hover::after,
.nav-links a.active::after { right: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 12px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn-gold {
  background: var(--gold-grad);
  color: #24170a;
  box-shadow: 0 8px 24px rgba(201, 150, 59, 0.35);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(201, 150, 59, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--gold-light);
  border: 1px solid rgba(201, 150, 59, 0.65);
}

.btn-outline:hover {
  background: rgba(201, 150, 59, 0.12);
  transform: translateY(-2px);
}

.nav .btn { padding: 10px 24px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold-light);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

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

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 120px;
  overflow: hidden;
}

.hero-globe {
  position: absolute;
  top: -6%;
  right: -14%;
  width: 62vw;
  max-width: 1050px;
  min-width: 520px;
  aspect-ratio: 1;
  background: url("../assets/globe.svg") center / cover no-repeat;
  -webkit-mask-image: radial-gradient(70% 70% at 55% 45%, #000 55%, transparent 78%);
  mask-image: radial-gradient(70% 70% at 55% 45%, #000 55%, transparent 78%);
  opacity: 0.95;
  pointer-events: none;
}

.hero-skyline {
  position: absolute;
  bottom: 0;
  left: 10%;
  width: 46%;
  max-width: 760px;
  aspect-ratio: 1200 / 900;
  background: url("../assets/skyline.svg") center bottom / contain no-repeat;
  opacity: 0.55;
  pointer-events: none;
}

.hero-swoosh {
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 34%;
  pointer-events: none;
}

/* traveling light streaks along the gold curves */
.hero-swoosh .flow {
  fill: none;
  stroke: #f3d9a0;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 0.045 0.955;
  animation: comet 8s linear infinite;
  filter: drop-shadow(0 0 6px rgba(239, 207, 149, 0.8));
}

.hero-swoosh .flow.f2 {
  stroke-width: 1.8;
  animation-duration: 12s;
  animation-delay: 2.5s;
  opacity: 0.8;
}

/* floating gold particles */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hero-particles span {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, #efcf95 0%, rgba(201, 150, 59, 0) 70%);
  animation: twinkle 4s ease-in-out infinite, drift 12s ease-in-out infinite alternate;
}

.hero-particles span:nth-child(1) { left: 12%; top: 26%; animation-delay: 0s, 0s; }
.hero-particles span:nth-child(2) { left: 30%; top: 64%; width: 9px; height: 9px; animation-delay: 1.1s, 2s; }
.hero-particles span:nth-child(3) { left: 46%; top: 20%; animation-delay: 2.3s, 4s; }
.hero-particles span:nth-child(4) { left: 55%; top: 72%; width: 8px; height: 8px; animation-delay: 0.6s, 1s; }
.hero-particles span:nth-child(5) { left: 64%; top: 38%; animation-delay: 3.1s, 5s; }
.hero-particles span:nth-child(6) { left: 76%; top: 82%; width: 10px; height: 10px; animation-delay: 1.8s, 3s; }
.hero-particles span:nth-child(7) { left: 86%; top: 56%; animation-delay: 2.7s, 6s; }
.hero-particles span:nth-child(8) { left: 22%; top: 46%; width: 7px; height: 7px; animation-delay: 3.6s, 2.4s; }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

/* staggered entrance for the hero content */
.hero-content > * {
  animation: rise-in 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.hero-content > *:nth-child(2) { animation-delay: 0.15s; }
.hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.hero-content > *:nth-child(4) { animation-delay: 0.45s; }
.hero-content > *:nth-child(5) { animation-delay: 0.6s; }

.hero-lockup img { animation: logo-float 7s ease-in-out 1.2s infinite; }

.hero-globe { animation: globe-in 1.6s ease both; }
.hero-skyline { animation: skyline-in 1.8s ease 0.3s both; }

.hero-lockup {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-bottom: 26px;
}

.hero-lockup img {
  height: clamp(74px, 9vw, 108px);
  width: auto;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.45));
}

.hero-lockup h1 {
  font-size: clamp(3.2rem, 7.5vw, 5.4rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  color: #fff;
  border-left: 2px solid rgba(201, 150, 59, 0.55);
  padding-left: 26px;
}

.hero-tagline {
  font-size: clamp(0.82rem, 1.6vw, 1.02rem);
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.hero-tagline::after {
  content: "";
  display: block;
  width: 64px;
  height: 2px;
  margin-top: 16px;
  background: var(--gold-grad);
}

.hero-sub {
  color: var(--muted);
  font-size: 1.06rem;
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 42px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 18px;
}

.icon-ring {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid rgba(201, 150, 59, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  background: rgba(201, 150, 59, 0.06);
}

.icon-ring svg { width: 24px; height: 24px; }

.info-item strong {
  display: block;
  font-size: 1.02rem;
  letter-spacing: 0.04em;
  color: #fff;
}

.info-item span {
  font-size: 0.95rem;
  color: var(--muted);
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Sections ---------- */

section { position: relative; }

.section {
  padding: 110px 0;
}

.section-head {
  margin-bottom: 54px;
  max-width: 640px;
}

.section-head h2 {
  font-size: clamp(2.1rem, 4.5vw, 3.1rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: #fff;
}

.section-head h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin-top: 18px;
  background: var(--gold-grad);
  border-radius: 2px;
}

.section-head .kicker {
  margin-top: 20px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
}

.section-head p.lead {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head.center h2::after { margin-left: auto; margin-right: auto; }

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.about-copy p {
  color: var(--muted);
  font-size: 1.07rem;
  margin-bottom: 22px;
}

.about-copy p strong { color: var(--text); font-weight: 600; }

.about-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  background:
    url("../assets/globe.svg") 75% 30% / 165% no-repeat,
    linear-gradient(160deg, #0b2148, #050e22);
}

.about-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, transparent 40%, rgba(4, 14, 32, 0.55) 100%);
}

.core-strip {
  margin-top: 70px;
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 40px 34px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.core-cell {
  padding: 6px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  border-left: 1px solid rgba(201, 150, 59, 0.18);
}

.core-cell:first-child { border-left: none; }

.core-cell .icon-ring { width: 62px; height: 62px; border-width: 1.5px; }
.core-cell .icon-ring svg { width: 28px; height: 28px; }

.core-cell p {
  font-size: 0.94rem;
  color: var(--text);
  line-height: 1.45;
}

.core-label {
  justify-content: center;
}

.core-label h3 {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.core-label h3::after {
  content: "";
  display: block;
  width: 44px;
  height: 2px;
  margin: 12px auto 0;
  background: var(--gold-grad);
}

/* ---------- Services ---------- */

.services-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.provide-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 22px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 11px 0;
  font-size: 1.05rem;
}

.check-badge {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid rgba(201, 150, 59, 0.8);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.check-badge svg { width: 15px; height: 15px; }

.goal-card {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 22px;
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 26px 28px;
}

.goal-card .icon-ring { width: 58px; height: 58px; }
.goal-card p { color: var(--muted); border-left: 1px solid rgba(201,150,59,0.35); padding-left: 22px; }
.goal-card p strong { color: var(--text); }

/* services network diagram */
.svc-diagram {
  position: relative;
  aspect-ratio: 1;
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}

.svc-diagram svg.links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.svc-node {
  position: absolute;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 1.5px solid rgba(214, 226, 245, 0.55);
  background: rgba(10, 33, 69, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #dbe6f6;
  transform: translate(-50%, -50%);
  box-shadow: 0 10px 28px rgba(1, 8, 22, 0.45);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.svc-node svg { width: 36px; height: 36px; }

.svc-node.center {
  width: 128px;
  height: 128px;
  border: 2px solid var(--gold);
  color: #fff;
  background: rgba(13, 35, 72, 0.92);
  box-shadow: 0 0 0 8px rgba(201, 150, 59, 0.08), 0 16px 40px rgba(1, 8, 22, 0.6);
}

.svc-node.center svg { width: 54px; height: 54px; }

/* ---------- How it works ---------- */

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

.how-visual {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow);
  aspect-ratio: 3 / 4;
  background:
    url("../assets/skyline.svg") center bottom / cover no-repeat,
    linear-gradient(180deg, var(--navy-800), var(--navy-950));
  position: relative;
}

.how-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 14, 32, 0.15) 0%, rgba(4, 14, 32, 0.75) 100%);
}

.steps {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 38px;
}

.steps::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 30px;
  bottom: 30px;
  width: 1.5px;
  background: linear-gradient(180deg, rgba(201,150,59,0.7), rgba(201,150,59,0.15));
}

.step {
  position: relative;
  display: flex;
  gap: 26px;
}

.step-num {
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  background: var(--navy-900);
  color: var(--gold);
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.step h3 {
  font-size: 1.22rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.step p { color: var(--muted); max-width: 460px; }

/* ---------- Why FATRO ---------- */

.why-list {
  max-width: 720px;
}

.why-item {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(201, 150, 59, 0.22);
}

.why-item:last-child { border-bottom: none; }

.why-item .icon-ring { width: 60px; height: 60px; border-radius: 16px; }
.why-item .icon-ring svg { width: 27px; height: 27px; }

.why-item h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.why-item p { color: var(--muted); }

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

.why-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
}

.shield-glow {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 150, 59, 0.16) 0%, transparent 65%);
}

.shield-badge {
  width: 64%;
  color: var(--gold);
  filter: drop-shadow(0 24px 50px rgba(1, 8, 22, 0.7));
}

/* ---------- Who we serve ---------- */

.clients-wrap {
  max-width: 780px;
  margin: 0 auto;
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 20px 46px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.client-row {
  display: flex;
  gap: 26px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid rgba(201, 150, 59, 0.22);
  position: relative;
}

.client-row:last-child { border-bottom: none; }

.client-row .icon-ring { width: 64px; height: 64px; }
.client-row .icon-ring svg { width: 30px; height: 30px; }

.client-row h3 {
  font-size: 1.22rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 3px;
}

.client-row p { color: var(--muted); }

/* ---------- Mission ---------- */

.mission-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 70px;
}

.mission-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(21, 45, 86, 0.55), rgba(7, 20, 44, 0.65));
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow);
}

.mission-logo img {
  width: min(58%, 220px);
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.5));
}

.mission-copy p {
  font-size: 1.18rem;
  color: var(--text);
  line-height: 1.75;
}

.stands-for {
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 42px 30px 36px;
  text-align: center;
}

.stands-for h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.stands-for h3::before,
.stands-for h3::after {
  content: "";
  height: 1px;
  width: 70px;
  background: linear-gradient(90deg, transparent, rgba(201, 150, 59, 0.7));
}

.stands-for h3::after {
  background: linear-gradient(90deg, rgba(201, 150, 59, 0.7), transparent);
}

.stands-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.stand-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 8px 14px;
  border-left: 1px solid rgba(201, 150, 59, 0.2);
  font-weight: 600;
  font-size: 0.98rem;
}

.stand-cell:first-child { border-left: none; }

.stand-cell .check-badge { width: 44px; height: 44px; }
.stand-cell .check-badge svg { width: 20px; height: 20px; }

/* ---------- Pre-footer band ---------- */

.band {
  position: relative;
  text-align: center;
  padding: 100px 0 110px;
  overflow: hidden;
  border-top: 1px solid rgba(201, 150, 59, 0.3);
  background: linear-gradient(180deg, rgba(10, 33, 69, 0.35), rgba(3, 12, 29, 0.9));
}

.band h2 {
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  font-weight: 800;
  letter-spacing: 0.16em;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
}

.band .divider {
  width: 260px;
  max-width: 60%;
  height: 1px;
  margin: 18px auto 26px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  position: relative;
}

.band .divider::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-light);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 14px 3px rgba(239, 207, 149, 0.6);
}

.band p {
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: clamp(0.8rem, 2vw, 1.05rem);
  color: var(--text);
}

.band .hero-swoosh { height: 55%; opacity: 0.6; }

/* ---------- Footer ---------- */

.footer {
  background: #020a18;
  border-top: 1px solid rgba(201, 150, 59, 0.25);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1.2fr;
  gap: 56px;
  padding-bottom: 54px;
}

.footer h4 {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}

.footer-brand .brand { margin: 0 0 18px; }

.footer-brand p {
  color: var(--muted);
  font-size: 0.97rem;
  max-width: 300px;
}

.footer-brand .tagline {
  margin-top: 14px;
  font-size: 0.78rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-links li { margin-bottom: 12px; }

.footer-links a {
  color: var(--muted);
  font-size: 0.97rem;
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.footer-links a:hover { color: var(--gold-light); padding-left: 6px; }

.footer-legal li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.97rem;
  margin-bottom: 16px;
}

.footer-legal svg {
  flex: none;
  width: 19px;
  height: 19px;
  color: var(--gold);
  margin-top: 3px;
}

.footer-legal strong { color: var(--text); font-weight: 600; }

.footer-bottom {
  border-top: 1px solid rgba(159, 176, 204, 0.12);
  padding: 22px 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: rgba(159, 176, 204, 0.75);
}

/* ---------- Sign-in page ---------- */

.auth-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.auth-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 30px) 4% 60px;
  position: relative;
  overflow: hidden;
}

.auth-globe {
  position: absolute;
  inset: 0;
  background: url("../assets/globe.svg") right -10% top -20% / 70% no-repeat;
  opacity: 0.35;
  -webkit-mask-image: radial-gradient(75% 75% at 75% 30%, #000 40%, transparent 75%);
  mask-image: radial-gradient(75% 75% at 75% 30%, #000 40%, transparent 75%);
  pointer-events: none;
}

.auth-card {
  position: relative;
  z-index: 2;
  width: min(960px, 100%);
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow);
  background: rgba(7, 20, 44, 0.85);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.auth-side {
  position: relative;
  padding: 54px 44px;
  background:
    linear-gradient(210deg, rgba(16, 42, 82, 0.9), rgba(4, 14, 32, 0.96)),
    url("../assets/globe.svg") center / cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid rgba(201, 150, 59, 0.25);
}

.auth-side img { height: 76px; width: auto; margin-bottom: 30px; }

.auth-side h2 {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #fff;
}

.auth-side .tagline {
  margin-top: 12px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 2;
}

.auth-side .legal {
  margin-top: 40px;
  font-size: 0.8rem;
  color: rgba(159, 176, 204, 0.75);
  line-height: 1.8;
}

.auth-forms {
  padding: 54px 48px;
}

.auth-forms h1 {
  font-size: 1.7rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}

.auth-forms .sub {
  color: var(--muted);
  font-size: 0.97rem;
  margin-bottom: 34px;
}

.field { margin-bottom: 22px; }

.field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 9px;
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrap > svg {
  position: absolute;
  left: 16px;
  width: 19px;
  height: 19px;
  color: var(--gold);
  pointer-events: none;
}

.input-wrap input {
  width: 100%;
  font-family: var(--font);
  font-size: 0.98rem;
  color: var(--text);
  background: rgba(3, 12, 29, 0.65);
  border: 1px solid rgba(159, 176, 204, 0.25);
  border-radius: 12px;
  padding: 14px 46px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.input-wrap input::placeholder { color: rgba(159, 176, 204, 0.5); }

.input-wrap input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 150, 59, 0.18);
}

.toggle-pass {
  position: absolute;
  right: 8px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  padding: 8px;
  display: flex;
  border-radius: 8px;
  transition: color 0.25s ease;
}

.toggle-pass:hover { color: var(--gold-light); }
.toggle-pass svg { width: 19px; height: 19px; }

.form-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: -6px 0 26px;
}

.remember {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.9rem;
  color: var(--muted);
  cursor: pointer;
}

.remember input {
  accent-color: var(--gold);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.link-gold {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  padding: 0;
  transition: color 0.25s ease;
}

.link-gold:hover { color: var(--gold-light); text-decoration: underline; }

.auth-forms .btn { width: 100%; padding: 15px 28px; font-size: 1rem; }

.auth-alt {
  margin-top: 26px;
  text-align: center;
  font-size: 0.92rem;
  color: var(--muted);
}

.form-msg {
  display: none;
  margin-bottom: 22px;
  padding: 13px 16px;
  border-radius: 12px;
  font-size: 0.92rem;
  line-height: 1.5;
}

.form-msg.error {
  display: block;
  background: rgba(196, 64, 64, 0.14);
  border: 1px solid rgba(220, 110, 110, 0.4);
  color: #f2b8b8;
}

.form-msg.success {
  display: block;
  background: rgba(201, 150, 59, 0.12);
  border: 1px solid rgba(201, 150, 59, 0.45);
  color: var(--gold-light);
}

.auth-view { display: none; }
.auth-view.active { display: block; animation: fadeUp 0.45s ease; }

.back-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.back-row svg { width: 16px; height: 16px; }

/* ---------- Keyframes ---------- */

@keyframes rise-in {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: none; }
}

@keyframes logo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@keyframes globe-in {
  from { opacity: 0; }
  to { opacity: 0.95; }
}

@keyframes skyline-in {
  from { opacity: 0; }
  to { opacity: 0.55; }
}

@keyframes comet {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: -1; }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.12; }
  50% { opacity: 0.95; }
}

@keyframes drift {
  from { transform: translateY(0); }
  to { transform: translateY(-28px); }
}

@keyframes shimmer {
  from { background-position: 0% center; }
  to { background-position: -200% center; }
}

@keyframes center-pulse {
  0%, 100% {
    box-shadow: 0 0 0 8px rgba(201, 150, 59, 0.08), 0 16px 40px rgba(1, 8, 22, 0.6);
  }
  50% {
    box-shadow: 0 0 0 16px rgba(201, 150, 59, 0.13), 0 16px 46px rgba(1, 8, 22, 0.6),
      0 0 36px rgba(201, 150, 59, 0.35);
  }
}

@keyframes shield-glow {
  0%, 100% { filter: drop-shadow(0 24px 50px rgba(1, 8, 22, 0.7)); }
  50% { filter: drop-shadow(0 24px 50px rgba(1, 8, 22, 0.7)) drop-shadow(0 0 26px rgba(201, 150, 59, 0.45)); }
}

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.reveal.from-left { transform: translateX(-46px); }
.reveal.from-right { transform: translateX(46px); }
.reveal.zoom { transform: scale(0.88); }

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* section heading underline grows in */
.section-head h2::after {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) 0.35s;
}

.section-head.center h2::after { transform-origin: center; }

.section-head.visible h2::after { transform: scaleX(1); }

/* how-it-works: timeline draws itself, step numbers pop */
.steps::before {
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 1.5s ease 0.15s;
}

.steps.visible::before { transform: scaleY(1); }

.step .step-num {
  transform: scale(0.4);
  transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 0.25s;
}

.step.visible .step-num { transform: scale(1); }

/* services diagram: nodes pop in, hub pulses, dots twinkle */
.svc-diagram .svc-node {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.3);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.svc-diagram.visible .svc-node {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.svc-diagram.visible .svc-node:nth-child(2) { transition-delay: 0.1s; }
.svc-diagram.visible .svc-node:nth-child(3) { transition-delay: 0.18s; }
.svc-diagram.visible .svc-node:nth-child(4) { transition-delay: 0.26s; }
.svc-diagram.visible .svc-node:nth-child(5) { transition-delay: 0.34s; }
.svc-diagram.visible .svc-node:nth-child(6) { transition-delay: 0.42s; }
.svc-diagram.visible .svc-node:nth-child(7) { transition-delay: 0.5s; }
.svc-diagram.visible .svc-node:nth-child(8) { transition-delay: 0.58s; }

.svc-diagram.visible .svc-node.center { animation: center-pulse 4s ease-in-out 0.8s infinite; }

.sparks circle {
  animation: twinkle 2.8s ease-in-out infinite;
}

.sparks circle:nth-child(2) { animation-delay: 0.5s; }
.sparks circle:nth-child(3) { animation-delay: 1s; }
.sparks circle:nth-child(4) { animation-delay: 1.5s; }
.sparks circle:nth-child(5) { animation-delay: 2s; }
.sparks circle:nth-child(6) { animation-delay: 2.5s; }

/* why-fatro shield: check draws in, badge glows */
.shield-check {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.1s ease 0.55s;
}

.why-visual.visible .shield-check { stroke-dashoffset: 0; }

.why-visual.visible .shield-badge { animation: shield-glow 5s ease-in-out 1.7s infinite; }

/* mission: value badges pop in one by one */
.stands-for .check-badge {
  transform: scale(0);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stands-for.visible .check-badge { transform: scale(1); }

.stands-for.visible .stand-cell:nth-child(2) .check-badge { transition-delay: 0.12s; }
.stands-for.visible .stand-cell:nth-child(3) .check-badge { transition-delay: 0.24s; }
.stands-for.visible .stand-cell:nth-child(4) .check-badge { transition-delay: 0.36s; }
.stands-for.visible .stand-cell:nth-child(5) .check-badge { transition-delay: 0.48s; }

/* pre-footer band: gold wordmark shimmers */
.band h2 {
  background-image: linear-gradient(110deg, #9a6f26, #d8a559 25%, #f3d9a0 50%, #d8a559 75%, #9a6f26);
  background-size: 200% auto;
  animation: shimmer 7s linear infinite;
}

/* icon rings light up on hover */
.icon-ring {
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.core-cell:hover .icon-ring,
.client-row:hover .icon-ring,
.why-item:hover .icon-ring,
.info-item:hover .icon-ring {
  background: rgba(201, 150, 59, 0.16);
  box-shadow: 0 0 26px rgba(201, 150, 59, 0.35);
  transform: translateY(-3px);
}

.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }
.reveal.d4 { transition-delay: 0.4s; }
.reveal.d5 { transition-delay: 0.5s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

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

  .hero-content > *,
  .hero-lockup img,
  .hero-globe,
  .hero-skyline,
  .hero-particles span,
  .hero-swoosh .flow,
  .band h2,
  .svc-diagram.visible .svc-node.center,
  .sparks circle,
  .why-visual.visible .shield-badge {
    animation: none !important;
  }

  .hero-globe { opacity: 0.95; }
  .hero-skyline { opacity: 0.55; }
  .hero-particles { display: none; }
  .section-head h2::after,
  .steps::before,
  .step .step-num,
  .stands-for .check-badge { transform: none; transition: none; }
  .svc-diagram .svc-node { opacity: 1; transform: translate(-50%, -50%); transition: none; }
  .shield-check { stroke-dashoffset: 0; transition: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .core-strip { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
  .core-cell:nth-child(4) { border-left: none; }
  .stands-grid { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .stand-cell:nth-child(4) { border-left: none; }
}

@media (max-width: 960px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(320px, 82vw);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
    padding: 110px 34px 40px;
    background: rgba(3, 12, 29, 0.97);
    border-left: 1px solid rgba(201, 150, 59, 0.25);
    box-shadow: -20px 0 50px rgba(1, 8, 22, 0.6);
    transform: translateX(105%);
    transition: transform 0.35s ease;
    z-index: 99;
  }

  .nav-links.open { transform: none; }

  .nav-links a {
    font-size: 1.05rem;
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid rgba(159, 176, 204, 0.12);
  }

  .nav .btn { margin-left: auto; }
  .nav-toggle { display: flex; z-index: 101; }

  .hero-globe { opacity: 0.45; right: -30%; }

  .about-grid,
  .services-grid,
  .steps-grid,
  .why-grid,
  .mission-grid { grid-template-columns: 1fr; gap: 44px; }

  .how-visual { display: none; }
  .about-visual { aspect-ratio: 16 / 10; }

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

  .auth-card { grid-template-columns: 1fr; }
  .auth-side { display: none; }
}

@media (max-width: 640px) {
  .section { padding: 80px 0; }
  .hero { padding-bottom: 90px; }
  .hero-lockup { gap: 18px; }
  .hero-lockup h1 { padding-left: 18px; }
  .hero-skyline { width: 100%; left: 0; }

  .core-strip { grid-template-columns: 1fr; padding: 30px 24px; }
  .core-cell { border-left: none; border-top: 1px solid rgba(201, 150, 59, 0.18); padding-top: 22px; }
  .core-cell:first-child { border-top: none; padding-top: 0; }

  .stands-grid { grid-template-columns: 1fr 1fr; }
  .stand-cell { border-left: none !important; }

  .clients-wrap { padding: 8px 24px; }
  .client-row { flex-direction: row; align-items: flex-start; }

  .footer-grid { grid-template-columns: 1fr; gap: 40px; }

  .svc-diagram { max-width: 340px; }
  .svc-node { width: 64px; height: 64px; }
  .svc-node svg { width: 26px; height: 26px; }
  .svc-node.center { width: 96px; height: 96px; }
  .svc-node.center svg { width: 40px; height: 40px; }

  .auth-forms { padding: 40px 26px; }
}
