/* =====================================================
   AYRS — Afghan Youth Remote Services (v2 · clean)
   ===================================================== */

:root {
  /* Brand — disciplined: navy + white + one amber accent */
  --primary: #0B1D41;
  --primary-deep: #061128;
  --primary-soft: #142a5c;
  --accent: #F4A825;
  --accent-soft: rgba(244, 168, 37, .12);
  --accent-hover: #ffb733;

  /* Surfaces */
  --bg: #ffffff;
  --bg-soft: #F6F8FC;
  --bg-tint: #EEF2F9;

  /* Ink */
  --ink: #0F1729;
  --ink-2: #1f2a44;
  --muted: #4A5675;
  --muted-2: #707d99;
  --muted-3: #94a3b8;

  /* Lines */
  --line: #E1E7EF;
  --line-2: #EEF2F7;

  /* Tokens */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(11, 29, 65, .04);
  --shadow-md: 0 6px 18px rgba(11, 29, 65, .07), 0 1px 3px rgba(11, 29, 65, .04);
  --shadow-lg: 0 20px 48px rgba(11, 29, 65, .12), 0 4px 12px rgba(11, 29, 65, .05);

  --t: cubic-bezier(.22, 1, .36, 1);

  /* Type system — Arial across the board (per user request).
     Originally: Fraunces (display) + Geist (UI) + JetBrains Mono (labels). */
  --font-display: Arial, Helvetica, sans-serif;
  --font-h: Arial, Helvetica, sans-serif;
  --font-b: Arial, Helvetica, sans-serif;
  --font-mono: Arial, Helvetica, sans-serif;
}

/* ============= Reset / base ============= */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html:focus-within { scroll-padding-top: 90px; }

body {
  font-family: var(--font-b);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}
/* Atmospheric grain overlay — applied across the page for editorial depth */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: .035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--accent); color: var(--primary); }

/* ============= Typography ============= */
h1, h2, h3, h4, h5 {
  font-family: var(--font-h);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.15;
  color: var(--primary);
}
/* Editorial display moments — Fraunces serif with optical sizing */
h1, h2 {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-weight: 400;
  letter-spacing: -.025em;
}
h1 {
  font-size: clamp(2.8rem, 6.2vw, 4.6rem);
  font-weight: 350;
  line-height: 1.02;
  letter-spacing: -.035em;
}
h2 {
  font-size: clamp(2.1rem, 4.2vw, 3.1rem);
  font-weight: 400;
  line-height: 1.06;
}
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

p { color: var(--muted); }

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

/* Italic Fraunces accent — used on hero/section headlines for editorial punch */
.serif-italic {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 350;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  letter-spacing: -.02em;
  color: var(--accent);
}

/* Tactical mono utility — sequence numbers, status, labels */
.mono {
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: .04em;
}

/* ============= Layout ============= */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 800px; }

.section { padding: 110px 0; }
.section-light { background: var(--bg-soft); }
.section-dark {
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-deep) 100%);
  color: #d8def0;
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark p { color: #a4afc8; }

/* Tactical eyebrow — tracking like a mission stamp */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
/* Pill-style eyebrow — suppress the legacy dash lines so they don't bleed inside the pill.
   ::before is re-enabled as an amber dot by the refined block later in this file. */
.eyebrow::before,
.eyebrow::after { content: none; }
.eyebrow-light { color: var(--accent); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.section-head p {
  margin-top: 14px;
  font-size: 1.05rem;
  text-align: center;
}

/* ============= Reveal ============= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(10px);
  transition: opacity 0.8s var(--t), transform 0.8s var(--t), filter 0.8s var(--t);
  will-change: opacity, transform, filter;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ============= Buttons ============= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 100px;
  font-weight: 600;
  font-size: .95rem;
  font-family: inherit;
  transition: transform .2s var(--t), box-shadow .2s var(--t), background .2s var(--t), color .2s var(--t), border-color .2s var(--t);
  white-space: nowrap;
  border: 1.5px solid transparent;
  cursor: pointer;
}
.btn-sm { padding: 9px 16px; font-size: .88rem; }
.btn-lg { padding: 14px 26px; font-size: 1rem; }
.btn-full { width: 100%; }

.btn-primary {
  background: var(--accent);
  color: var(--primary);
  box-shadow: 0 6px 18px rgba(244, 168, 37, .25);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(244, 168, 37, .35);
}

.btn-ghost {
  background: transparent;
  color: var(--primary);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--primary);
  background: var(--bg-soft);
}
.section-dark .btn-ghost,
.hero .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, .4);
}
.section-dark .btn-ghost:hover,
.hero .btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .1);
}

/* ============= Navbar ============= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 12px 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition: padding .4s var(--t), background .4s var(--t), border-color .4s var(--t), backdrop-filter .4s var(--t);
}
.navbar.scrolled {
  padding: 0;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 12px rgba(11, 29, 65, .06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-h);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--primary);
  letter-spacing: -.01em;
  transition: transform .25s var(--t);
}
.logo:hover { transform: scale(1.04); }
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-mark img {
  transition: filter .35s var(--t);
}
/* Over the navy hero (transparent navbar) — keep natural white logo */
.navbar:not(.scrolled) .logo-mark img {
  filter: none;
}
/* On the scrolled white navbar — force logo to navy so it's visible.
   Filter chain calibrated to convert white source -> #0B1D41 navy. */
.navbar.scrolled .logo-mark img {
  filter:
    brightness(0)
    saturate(100%)
    invert(9%)
    sepia(72%)
    saturate(3500%)
    hue-rotate(217deg)
    brightness(92%)
    contrast(105%);
}
/* Footer is dark navy — keep natural white logo */
.footer-brand .logo-mark img {
  filter: none;
}
.logo-dot { color: var(--accent); }

/* ---- Logo text group (stacked name + tagline) ---- */
.logo-text-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}
.logo-name {
  font-family: var(--font-h);
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -.01em;
  line-height: 1;
  color: var(--primary);
}
.logo-tagline {
  font-family: var(--font-b);
  font-size: .48rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--muted-2);
  white-space: nowrap;
}

/* Transparent (dark hero) navbar — everything white */
.navbar:not(.scrolled) .logo-mark { color: #fff; }
.navbar:not(.scrolled) .logo-name { color: #fff; }
.navbar:not(.scrolled) .logo-tagline { color: rgba(255,255,255,.65); }

/* Scrolled (white) navbar — navy + accent (defaults already set above) */
.navbar.scrolled .logo-mark { color: var(--accent); }

/* Live status badge next to logo */
.logo-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(34, 197, 94, .1);
  border: 1px solid rgba(34, 197, 94, .25);
  padding: 3px 10px 3px 7px;
  border-radius: 100px;
  margin-left: 4px;
}
.logo-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  position: relative;
  flex-shrink: 0;
}
.logo-status-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: #22c55e;
  opacity: .4;
  animation: statusPulse 2s ease-in-out infinite;
}
@keyframes statusPulse {
  0%, 100% { transform: scale(1); opacity: .4; }
  50% { transform: scale(2); opacity: 0; }
}
.logo-status-text {
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #22c55e;
  line-height: 1;
}

/* Nav pill container */
.nav-pill {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 4px;
  position: relative;
}
.nav-pill a {
  position: relative;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 100px;
  transition: color .25s var(--t), background .25s var(--t);
  z-index: 1;
}
.nav-pill a:hover {
  color: var(--primary);
  background: rgba(11, 29, 65, .06);
}

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

/* Glowing CTA button */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 22px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--accent);
  border-radius: 100px;
  position: relative;
  overflow: hidden;
  transition: transform .25s var(--t), box-shadow .25s var(--t);
  box-shadow: 0 4px 16px rgba(244, 168, 37, .3);
}
.nav-cta::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--accent) 0%, #ffcf4a 50%, var(--accent) 100%);
  background-size: 200% 200%;
  animation: ctaShimmer 3s ease infinite;
  z-index: -1;
}
@keyframes ctaShimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.nav-cta:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 28px rgba(244, 168, 37, .45);
}
.nav-cta svg {
  transition: transform .25s var(--t);
}
.nav-cta:hover svg {
  transform: translateX(3px);
}

/* Menu toggle (mobile) */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform .25s var(--t), opacity .25s var(--t);
}
.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); }

/* Hamburger contrast: white bars over the transparent navbar (dark hero),
   navy bars over the scrolled (white) navbar. Open state always navy so the
   X is visible against the opaque mobile menu panel sitting just below it. */
.navbar:not(.scrolled) .menu-toggle span { background: #fff; }
.navbar.scrolled .menu-toggle span { background: var(--primary); }
.menu-toggle.open span { background: var(--primary); }

/* ============= Hero ============= */
.hero {
  position: relative;
  padding: 180px 0 120px;
  /* Unsplash photo QBpZGqEMsKg — operations team at desks (free license).
     Verified via Unsplash search 2026-05-21. */
  background: url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d?q=80&w=2400&auto=format&fit=crop') center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 29, 65, 0.92) 0%, rgba(6, 17, 40, 0.85) 100%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}


.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: rgba(244, 168, 37, 0.15);
  color: var(--accent);
  border: 1px solid rgba(244, 168, 37, 0.3);
  border-radius: 100px;
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}
.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  position: relative;
}
.pulse::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .4;
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: .4; }
  100% { transform: scale(2.2); opacity: 0; }
}

.hero-title {
  margin-bottom: 22px;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  color: #fff;
}

.hero-sub {
  max-width: 600px;
  margin: 0 auto 36px;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.stat-value {
  font-family: var(--font-display);
  font-style: italic;
  font-variation-settings: "opsz" 144;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 300;
  color: #fff;
  line-height: 1;
  letter-spacing: -.035em;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: .68rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ============= Intro / About ============= */
.intro-section { background: var(--bg); }

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

/* Left column */
.intro-text { }
.intro-text h2 {
  margin: 10px 0 28px;
  line-height: 1.15;
}

.intro-body {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 18px;
}

.intro-callout {
  font-family: var(--font-h);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.55;
  margin-top: 24px;
  padding-left: 18px;
  border-left: 3px solid var(--accent);
}

/* Stat row */
.intro-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.intro-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.intro-stat-value {
  font-family: var(--font-display);
  font-style: italic;
  font-variation-settings: "opsz" 144;
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--accent);
  letter-spacing: -.04em;
  line-height: 1;
}

.intro-stat-label {
  font-family: var(--font-mono);
  font-size: .65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--muted-2);
  margin-top: 6px;
}

.intro-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--line);
  flex-shrink: 0;
}

/* Right column – image */
.intro-visual {
  position: relative;
}

.intro-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.intro-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(11, 29, 65, .07);
  pointer-events: none;
}

.intro-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--t);
}

.intro-img-wrap:hover .intro-img {
  transform: scale(1.04);
}

/* Floating "Founded" badge */
.intro-badge {
  position: absolute;
  bottom: 28px;
  right: -20px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  padding: 18px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  box-shadow: 0 12px 32px rgba(11, 29, 65, .3);
  border: 2px solid rgba(255,255,255,.1);
}

.intro-badge-year {
  font-family: var(--font-h);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -.04em;
  line-height: 1;
}

.intro-badge-label {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
}

/* Responsive */
@media (max-width: 900px) {
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .intro-badge { right: 12px; }
  .intro-img { height: 300px; }
}

@media (max-width: 540px) {
  .intro-stats { gap: 18px; }
  .intro-stat-value { font-size: 1.55rem; }
}

@media (max-width: 400px) {
  .intro-stats { gap: 10px; }
  .intro-stat-value { font-size: 1.35rem; }
  .intro-stat-label { font-size: .58rem; letter-spacing: .12em; }
  .intro-stat-divider { height: 32px; }
}

/* ============= Services ============= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .4s var(--t), border-color .4s var(--t), box-shadow .4s var(--t);
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
  will-change: transform;
}
.service-img {
  height: 180px;
  width: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s var(--t);
  flex-shrink: 0;
}
.service-card:hover .service-img {
  transform: scale(1.05);
}
.service-content {
  padding: 32px 28px;
  position: relative;
  z-index: 2;
  flex-grow: 1;
  background: #fff;
  transform: translateZ(20px);
}
.service-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}
.svc-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background .4s var(--t), color .4s var(--t), transform .4s var(--t);
}
.service-card:hover .svc-icon {
  transform: scale(1.1);
}
.service-card h3 {
  margin-bottom: 10px;
}
.service-card p {
  font-size: .92rem;
  margin-bottom: 16px;
}
.svc-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}
.svc-list li {
  position: relative;
  padding-left: 20px;
  font-size: .85rem;
  color: var(--ink-2);
  font-weight: 500;
}
.svc-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 7px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding-bottom: 6px;
  position: relative;
  color: var(--primary);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: -.005em;
  text-decoration: none;
  white-space: nowrap;
  transition: color .25s var(--t);
}
.svc-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1.5px;
  width: 0;
  background: var(--accent);
  transition: width .4s cubic-bezier(.2, .7, .2, 1);
}
.svc-link svg {
  display: inline-block;
  transition: transform .3s var(--t);
}
.svc-link:hover,
.svc-link:focus-visible,
.service-card:hover .svc-link {
  color: var(--accent);
}
.svc-link:hover::after,
.svc-link:focus-visible::after,
.service-card:hover .svc-link::after {
  width: calc(100% - 24px);
}
.svc-link:hover svg,
.svc-link:focus-visible svg,
.service-card:hover .svc-link svg {
  transform: translateX(4px);
}
.svc-link:focus-visible {
  outline: none;
}
.svc-link:focus-visible::before {
  content: '';
  position: absolute;
  inset: -4px -6px;
  border-radius: 4px;
  border: 2px solid var(--accent);
  pointer-events: none;
}

/* ============= Process ============= */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 38px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--line) 20%, var(--line) 80%, transparent);
  z-index: 0;
}
.process-step {
  position: relative;
  z-index: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform .25s var(--t), border-color .25s var(--t), box-shadow .25s var(--t);
  transform-style: preserve-3d;
  will-change: transform;
}
.process-step:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}
.step-num {
  font-family: var(--font-display);
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  font-size: 4.2rem;
  font-weight: 300;
  color: var(--accent);
  letter-spacing: -.05em;
  margin-bottom: 14px;
  line-height: .85;
  /* numerical contrast — the visual hero of the section */
  display: block;
}
.process-step h4 {
  font-family: var(--font-h);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.process-step h4 {
  margin-bottom: 6px;
  color: var(--primary);
}
.process-step p {
  font-size: .9rem;
}

/* ============= Why Us ============= */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  grid-template-rows: auto auto;
  column-gap: 18px;
  row-gap: 6px;
  align-items: start;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .25s var(--t), transform .25s var(--t), box-shadow .25s var(--t);
  transform-style: preserve-3d;
  will-change: transform;
}
.why-item:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}
.why-icon {
  grid-row: 1 / span 2;
  grid-column: 1;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.why-item h4 {
  grid-row: 1;
  grid-column: 2;
  margin: 0 0 2px;
  font-size: 1.05rem;
  line-height: 1.3;
}
.why-item p {
  grid-row: 2;
  grid-column: 2;
  margin: 0;
  font-size: .9rem;
  line-height: 1.55;
}

/* ============= Mission ============= */
.mission-section {
  position: relative;
  background: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?q=80&w=2070&auto=format&fit=crop') center/cover no-repeat;
  color: #fff;
  z-index: 1;
}
.mission-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 29, 65, 0.95) 0%, rgba(6, 17, 40, 0.9) 100%);
  z-index: -1;
}
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
.mission-card {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  transition: border-color .3s var(--t), background .3s var(--t), transform .3s var(--t);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform-style: preserve-3d;
  will-change: transform;
}
.mission-card:hover {
  border-color: var(--accent);
  background: rgba(255, 255, 255, .08);
}
.mission-mark {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 24px;
  transform: translateZ(20px);
  font-family: var(--font-display);
  font-style: italic;
  font-variation-settings: "opsz" 144;
  font-size: 3.2rem;
  font-weight: 300;
  color: var(--accent);
  letter-spacing: -.05em;
  line-height: .9;
}
.mission-mark::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: rgba(244, 168, 37, .4);
  align-self: center;
  transform: translateY(-4px);
}
.mission-card h3 {
  margin-bottom: 14px;
  color: #fff;
  transform: translateZ(10px);
  font-family: var(--font-mono);
  font-size: .8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .2em;
}
.mission-card p {
  transform: translateZ(10px);
  color: rgba(255,255,255,0.78);
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 350;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  margin-bottom: 14px;
}
.mission-card p:last-child {
  margin-bottom: 0;
}
.mission-card p.mission-lead {
  color: #fff;
  font-size: 1.25rem;
  line-height: 1.4;
  font-weight: 400;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(244, 168, 37, 0.25);
  letter-spacing: -.01em;
}

/* ============= Testimonial ============= */
.testimonial {
  max-width: 820px;
  margin: 0 auto;
  background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 60px 48px 48px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
/* Giant decorative serif quote glyph */
.testimonial::before {
  content: '"';
  position: absolute;
  top: -50px;
  left: 30px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 14rem;
  line-height: 1;
  color: var(--accent);
  opacity: .12;
  pointer-events: none;
}
.quote-rating {
  display: inline-flex;
  gap: 4px;
  color: var(--accent);
  margin-bottom: 24px;
  position: relative;
}
.quote-rating svg { width: 20px; height: 20px; }
.quote-text {
  font-family: var(--font-display);
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 80;
  font-size: clamp(1.4rem, 2.6vw, 1.75rem);
  font-weight: 350;
  color: var(--ink);
  line-height: 1.4;
  letter-spacing: -.015em;
  margin-bottom: 32px;
  position: relative;
}
.quote-meta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.quote-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: .95rem;
}
.quote-author {
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink);
  text-align: left;
}
.quote-role {
  font-size: .82rem;
  color: var(--muted-2);
  text-align: left;
}

/* ============= Reviews ============= */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.review-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform .3s var(--t), border-color .3s var(--t), box-shadow .3s var(--t);
  transform-style: preserve-3d;
  will-change: transform;
}
.review-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}
.rc-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.rc-rating {
  display: flex;
  gap: 4px;
  color: var(--accent);
  margin-bottom: 16px;
}
.rc-rating svg { width: 16px; height: 16px; }
.rc-quote {
  font-size: .95rem;
  color: var(--ink-2);
  line-height: 1.6;
  margin-bottom: 24px;
}
.rc-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.rc-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: .9rem;
}
.rc-author {
  font-weight: 600;
  font-size: .9rem;
  color: var(--ink);
}
.rc-role {
  font-size: .75rem;
  color: var(--muted-2);
}

/* ============= Reviews Carousel ============= */
.reviews-carousel {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.reviews-stage {
  position: relative;
  min-height: 280px;
}

.review-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .55s var(--t), transform .55s var(--t);
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  box-shadow: var(--shadow-sm);
}

.review-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  position: relative;
}

/* Service tag chip */
.rs-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--primary);
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 700;
  border: 1px solid rgba(244, 168, 37, .25);
  width: fit-content;
}
.rs-tag::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* Star rating */
.rs-rating {
  font-size: 1.1rem;
  color: var(--accent);
  letter-spacing: .1em;
  line-height: 1;
}

/* Quote body */
.rs-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 60;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 350;
  color: var(--ink);
  line-height: 1.55;
  letter-spacing: -.012em;
}

/* Author row */
.rs-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  margin-top: auto;
}

.rs-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: .9rem;
  flex-shrink: 0;
}

.rs-author {
  font-weight: 700;
  font-size: .95rem;
  color: var(--primary);
  letter-spacing: -.01em;
}

.rs-role {
  font-size: .8rem;
  color: var(--muted-2);
  margin-top: 2px;
}

/* Dot navigation */
.reviews-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.rdot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .3s var(--t), transform .3s var(--t), width .3s var(--t);
}

.rdot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}

.rdot:hover:not(.active) {
  background: var(--muted-3);
  transform: scale(1.2);
}

@media (max-width: 640px) {
  .review-slide { padding: 28px 24px; }
  .reviews-stage { min-height: 340px; }
}

/* ============= Partners Marquee ============= */
.partners {
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.partners-label {
  text-align: center;
  font-size: .7rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 700;
  margin-bottom: 28px;
}

.partners-marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
}

.partners-track {
  display: inline-flex;
  align-items: center;
  gap: 38px;
  white-space: nowrap;
  animation: partnersScroll 42s linear infinite;
  will-change: transform;
}

.partners-marquee:hover .partners-track {
  animation-play-state: paused;
}

.partner {
  display: inline-flex;
  align-items: center;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: -.015em;
  transition: color .3s var(--t), transform .3s var(--t);
  cursor: default;
}

.partner:hover {
  color: var(--primary);
  transform: translateY(-1px);
}

.partner-sep {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .55;
  flex-shrink: 0;
}

@keyframes partnersScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (max-width: 640px) {
  .partners { margin-top: 40px; padding-top: 28px; }
  .partners-label { font-size: .65rem; margin-bottom: 22px; }
  .partner { font-size: .92rem; }
  .partners-track { gap: 28px; animation-duration: 30s; }
  .partners-marquee {
    mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .partners-track { animation: none !important; }
}

/* ============= FAQ ============= */
.faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s var(--t);
}
.faq-item:hover { border-color: var(--accent); }
.faq-item[open] { border-color: var(--accent); }
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 26px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--primary);
  font-size: 1.15rem;
  letter-spacing: -.015em;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-toggle {
  width: 22px;
  height: 22px;
  position: relative;
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-toggle::before,
.faq-toggle::after {
  content: '';
  position: absolute;
  background: var(--accent);
  border-radius: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform .25s var(--t);
}
.faq-toggle::before { width: 12px; height: 2px; }
.faq-toggle::after { width: 2px; height: 12px; }
.faq-item[open] .faq-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-body {
  padding: 0 24px 22px;
}
.faq-body p {
  font-size: .95rem;
  line-height: 1.65;
}

/* ============= Contact ============= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: start;
}

.contact-info h2 { margin-bottom: 16px; }
.contact-lead {
  font-size: 1.05rem;
  margin-bottom: 36px;
  max-width: 460px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius);
  transition: background .2s var(--t), border-color .2s var(--t);
}
.contact-list li:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(244, 168, 37, .35);
}
.ci-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ci-label {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.contact-list a,
.contact-list span:not(.ci-label):not(.ci-icon) {
  color: #fff;
  font-size: .95rem;
  font-weight: 500;
}
.contact-list a:hover { color: var(--accent); }

/* Contact form */
.contact-form {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}
.field label {
  font-size: .82rem;
  font-weight: 600;
  color: #cbd5e1;
  letter-spacing: .02em;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  color: #fff;
  font-family: inherit;
  font-size: .95rem;
  transition: border-color .2s var(--t), background .2s var(--t);
}
.field input::placeholder,
.field textarea::placeholder { color: #64748b; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, .05);
}
.field select { cursor: pointer; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a4afc8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 100px; }
.field.invalid input,
.field.invalid select,
.field.invalid textarea { border-color: #f87171; }

.phone-field {
  display: grid;
  grid-template-columns: minmax(170px, 0.5fr) 1fr;
  gap: 10px;
  align-items: stretch;
}
.phone-field input { letter-spacing: .05em; font-variant-numeric: tabular-nums; }
@media (max-width: 540px) {
  .phone-field { grid-template-columns: 1fr; }
}

.form-note {
  padding: 12px 14px;
  background: rgba(34, 197, 94, .12);
  border: 1px solid rgba(34, 197, 94, .35);
  border-radius: var(--radius);
  color: #86efac;
  font-size: .9rem;
  text-align: center;
  font-weight: 500;
}

/* ---------- Custom select dropdown ---------- */
.cs-wrap {
  position: relative;
  width: 100%;
}

/* Hide the native select but keep it in the DOM for form submission */
.cs-native {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* Trigger button — matches other .field inputs visually */
.cs-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  color: #fff;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
  transition: border-color .25s var(--t), background .25s var(--t);
}
.cs-trigger:hover {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .18);
}
.cs-trigger:focus-visible,
.cs-wrap.open .cs-trigger {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, .05);
}

.cs-label.is-placeholder {
  color: rgba(255, 255, 255, .45);
}

.cs-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .55);
  transition: transform .3s var(--t), color .3s var(--t);
  flex-shrink: 0;
}
.cs-arrow svg { width: 12px; height: 8px; display: block; }
.cs-wrap.open .cs-arrow {
  transform: rotate(180deg);
  color: var(--accent);
}

/* Dropdown panel */
.cs-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 50;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: linear-gradient(180deg, #142a5c 0%, #0B1D41 100%);
  border: 1px solid rgba(244, 168, 37, .25);
  border-radius: var(--radius);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, .25),
    0 16px 40px rgba(0, 0, 0, .35),
    inset 0 1px 0 rgba(255, 255, 255, .08);
  max-height: 260px;
  overflow-y: auto;
  animation: csSlideIn .2s var(--t);
}
@keyframes csSlideIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.cs-option {
  padding: 11px 14px;
  border-radius: 8px;
  color: #fff;
  font-size: .94rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background .2s var(--t), padding-left .2s var(--t);
}
.cs-option::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: transparent;
  transition: background .2s var(--t), transform .2s var(--t);
  flex-shrink: 0;
}
.cs-option:hover,
.cs-option.focused {
  background: rgba(244, 168, 37, .12);
  padding-left: 18px;
}
.cs-option:hover::before,
.cs-option.focused::before { background: var(--accent); }
.cs-option.selected {
  color: var(--accent);
  font-weight: 600;
}
.cs-option.selected::before {
  background: var(--accent);
  transform: scale(1.4);
}

/* Custom scrollbar inside panel */
.cs-panel::-webkit-scrollbar { width: 6px; }
.cs-panel::-webkit-scrollbar-track { background: transparent; }
.cs-panel::-webkit-scrollbar-thumb {
  background: rgba(244, 168, 37, .25);
  border-radius: 3px;
}
.cs-panel::-webkit-scrollbar-thumb:hover { background: rgba(244, 168, 37, .4); }

/* Invalid state */
.field.invalid .cs-trigger {
  border-color: #ef4444;
  background: rgba(239, 68, 68, .08);
}

/* ============= Footer ============= */
.footer {
  background: var(--primary-deep);
  color: #a4afc8;
  padding: 64px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, .06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  margin-bottom: 22px;
}
.footer-brand .logo { color: #fff; margin-bottom: 14px; }
.footer-brand p {
  font-size: .9rem;
  max-width: 320px;
  color: #94a3b8;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col h5 {
  font-family: var(--font-h);
  font-size: .82rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 6px;
}
.footer-col a,
.footer-col span {
  font-size: .9rem;
  color: #94a3b8;
  transition: color .15s var(--t);
}
.footer-col a:hover { color: var(--accent); }

.footer-social {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  padding: 0;
}
.footer-social-link {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  color: #cbd5e1;
  transition: background .2s var(--t), border-color .2s var(--t), color .2s var(--t), transform .2s var(--t);
}
.footer-social-link svg { width: 14px; height: 14px; }
.footer-social-link:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--primary);
  transform: translateY(-1px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
  color: #64748b;
}
.back-to-top {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: background .2s var(--t), border-color .2s var(--t);
}
.back-to-top:hover {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
}

/* ============= Responsive ============= */
@media (max-width: 980px) {
  .section { padding: 80px 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .mission-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 820px) {
  .container { padding: 0 20px; }
  .nav-inner { padding: 14px 20px; }
  .logo-status { display: none; }

  /* Mobile menu = desktop nav-pill + nav-cta, stacked vertically inside an
     opaque dropdown panel. Same components, just rotated 90 degrees. */
  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 20px 20px 32px;
    min-height: calc(100vh - 64px);
    transform: translateY(calc(-100% - 64px));
    transition: transform .35s var(--t), visibility 0s linear .35s;
    visibility: hidden;
    box-shadow: 0 24px 48px rgba(11, 29, 65, .08);
  }
  .nav-links.open {
    transform: translateY(0);
    visibility: visible;
    transition: transform .35s var(--t), visibility 0s linear 0s;
  }

  /* Same grey capsule as desktop, just laid out as a column. */
  .nav-pill {
    flex-direction: column;
    align-items: stretch;
    border-radius: var(--radius-lg);
    padding: 6px;
    gap: 2px;
  }
  .nav-pill a {
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 1rem;
  }
  .nav-pill a:hover {
    background: rgba(11, 29, 65, .06);
    color: var(--primary);
  }

  /* Desktop CTA styling intact — only stretch it full-width and center text. */
  .nav-cta {
    justify-content: center;
    align-self: stretch;
    padding: 14px 22px;
    font-size: 1rem;
  }

  .menu-toggle { display: flex; padding: 11px 8px; }

  .hero { padding: 110px 0 64px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .hero-ctas .btn { flex: 1; }

  .services-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }

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

  .testimonial { padding: 36px 24px; }
  .quote-meta { flex-direction: column; gap: 10px; text-align: center; }
  .quote-author, .quote-role { text-align: center; }

  .contact-form { padding: 24px; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { grid-column: span 1; }
  .footer-bottom { flex-direction: column; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; filter: none; }
  .trust-track { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* =====================================================
   v3 — Premium refinements (high-end-visual-design,
   design-taste-frontend, gpt-taste)
   ===================================================== */

/* ---------- Tactile press feedback on buttons (haptic depth) ---------- */
.btn,
.nav-cta {
  transform-origin: center;
}
.btn:active,
.nav-cta:active {
  transform: translateY(0) scale(.985);
  transition-duration: .08s;
}
.btn-primary:active {
  box-shadow: 0 4px 12px rgba(244, 168, 37, .2);
}

/* ---------- Button-in-button arrow (Doppelrand pattern) ---------- */
.btn-with-arrow {
  /* extra right inset so the arrow capsule sits flush */
  padding-right: 10px;
  gap: 12px;
}
.btn-with-arrow.btn-lg { padding-right: 12px; }

.btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(11, 29, 65, .12);
  color: var(--primary);
  transition:
    transform .35s var(--t),
    background .35s var(--t);
}
.btn-with-arrow.btn-lg .btn-arrow { width: 34px; height: 34px; }

.btn-with-arrow:hover .btn-arrow {
  transform: translate(2px, -1px) scale(1.06);
  background: rgba(11, 29, 65, .18);
}

/* On dark/contact-form contexts the primary button sits on dark — keep amber-on-navy semantics */
.section-dark .btn-with-arrow .btn-arrow {
  background: rgba(11, 29, 65, .18);
}

/* Navbar CTA arrow — smaller, pill-on-pill */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.nav-cta .cta-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(11, 29, 65, .1);
  color: var(--primary);
  transition: transform .3s var(--t), background .3s var(--t);
}
.nav-cta:hover .cta-arrow {
  transform: translate(2px, -1px);
  background: rgba(244, 168, 37, .25);
}

/* ---------- Footprint — split layout: info left, country list right
   ----------- Clean horizontal rows with hover lift + amber bar slide-in. */
.footprint {
  padding: 48px 0 110px;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-soft) 100%);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}

.footprint-layout {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 80px;
  align-items: start;
}

/* ----- LEFT: information ----- */
.footprint-info {
  padding-top: 8px;
}
.footprint-info h2 {
  margin-top: 16px;
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  letter-spacing: -.035em;
  line-height: 1.04;
}
.footprint-info p {
  margin-top: 22px;
  max-width: 42ch;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.6;
}

/* ----- Global Map (Index) ----- */
.fp-map-wrapper {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin-top: 32px;
}
.fp-map {
  width: 100%;
  height: auto;
  opacity: 0.9;
}
.fp-map-label {
  position: absolute;
  transform: translate(-50%, -50%);
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 4px 12px rgba(11, 29, 65, 0.06);
  border-radius: 100px;
  padding: 4px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}
.fp-label-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 2px rgba(244, 168, 37, 0.2);
}
.fp-eyebrow {
  background: rgba(244, 168, 37, 0.15) !important;
  color: var(--primary) !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  letter-spacing: 0.1em;
  font-weight: 700;
}
.fp-eyebrow::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ----- RIGHT: country list ----- */
.footprint-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.fp-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  gap: 24px;
  padding: 26px 0 26px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  cursor: default;
  transition:
    padding-left .45s var(--t),
    background .45s var(--t);
}
/* Amber bar that slides in from the left edge on hover */
.fp-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width .45s var(--t);
}

.fp-num {
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .24em;
  color: var(--muted-3);
  font-variant-numeric: tabular-nums;
  transition: color .35s var(--t);
}
.fp-name {
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -.028em;
  color: var(--primary);
  line-height: 1.05;
  transition: color .35s var(--t);
}

/* Hover — row slides slightly right, amber bar grows, number turns amber */
.fp-row:hover {
  padding-left: 18px;
  background: linear-gradient(90deg, rgba(244, 168, 37, .04), transparent 70%);
}
.fp-row:hover::before {
  width: 12px;
}
.fp-row:hover .fp-num {
  color: var(--accent);
}

/* Responsive — stack columns below 880px */
@media (max-width: 880px) {
  .footprint { padding: 32px 0 80px; }
  .footprint-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footprint-info { padding-top: 0; }
  .fp-name { font-size: 1.35rem; }
  .fp-row { padding: 22px 0; }
}

/* ---------- Service card refinements: spotlight + image treatment ---------- */
.service-card {
  position: relative;
  isolation: isolate;
}
/* Cursor-following spotlight (radial highlight on hover) */
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    480px circle at var(--mx, 50%) var(--my, 50%),
    rgba(244, 168, 37, .12),
    transparent 45%
  );
  transition: opacity .5s var(--t);
  z-index: 2;
}
.service-card:hover::after { opacity: 1; }

/* Editorial image treatment: subtle grayscale → full color on hover.
   Keeps cards looking like a curated gallery rather than a stock photo lineup. */
.service-img {
  filter: saturate(.85) contrast(1.05);
  transition:
    transform .9s var(--t),
    filter .6s var(--t);
}
.service-card:hover .service-img {
  filter: saturate(1.08) contrast(1.08);
}

/* ---------- Refined eyebrow tag (gpt-taste section 4C) ---------- */
.eyebrow,
.eyebrow-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.eyebrow {
  background: var(--accent-soft);
  color: var(--primary);
  border: 1px solid rgba(244, 168, 37, .25);
}
.eyebrow-light {
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .85);
  border: 1px solid rgba(255, 255, 255, .15);
}
.eyebrow::before,
.eyebrow-light::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.eyebrow-light::before { background: var(--accent); }

/* ---------- Mission card mark refinement (subtle nested treatment) ---------- */
.mission-mark {
  position: relative;
}
.mission-mark::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  border: 1px solid rgba(244, 168, 37, .18);
  pointer-events: none;
}

/* =====================================================
   v4 — Arial Typography Polish
   Makes Arial feel as intentional as possible:
   - text-wrap: balance kills orphan words
   - tighter letter-spacing on display sizes
   - stronger weight hierarchy (400 / 700 / 900)
   - smarter italic treatment (Arial italic alone is bland)
   - proper reading measure on body
   ===================================================== */

html {
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1;
  font-synthesis: none;
}

/* ---- Display headlines ----
   Arial loves very tight tracking at large sizes — it reads "intentional"
   instead of "default". Balance prevents single-word last lines. */
h1, h2, h3, h4, h5 {
  text-wrap: balance;
  font-feature-settings: "kern" 1;
}

h1 {
  font-weight: 700;             /* Arial only has 400 + 700; pick the strong one for impact */
  letter-spacing: -.045em;      /* tighter than before — Arial display benefits hugely */
  line-height: 1.0;
}
h2 {
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.04;
}
h3 {
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.25;
}
h4, h5 {
  font-weight: 700;
  letter-spacing: -.01em;
}

/* ---- Hero title overrides — even more dramatic ---- */
.hero-title {
  font-weight: 700;
  letter-spacing: -.05em;
  line-height: .98;
}
.hero-sub {
  max-width: 52ch;
  font-weight: 400;
  letter-spacing: -.005em;
}

/* ---- Italic accent moments ----
   Plain Arial italic is meh, so we use italic + slight weight contrast.
   Color INHERITS from parent so it stays readable on dark backgrounds
   (hero, mission, contact) where the parent text is white. */
.serif-italic {
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.025em;
  opacity: .88;
}
/* On light sections, give it a slightly muted color so the italic
   reads as a true accent rather than identical-color slant. */
.intro-section .serif-italic,
.faq .serif-italic,
.section:not(.section-dark):not(.hero) .serif-italic {
  color: var(--muted);
  opacity: 1;
}

/* ---- Body paragraphs ----
   Optimal reading measure (65ch), pretty wrap so the last line doesn't
   end on a single word, lifted line-height for breathability. */
p {
  text-wrap: pretty;
  max-width: 65ch;
  line-height: 1.62;
}
/* Reset the max-width where layout already controls width
   (forms, footer, narrow containers, etc.) */
.form-note,
.footer p,
.footer-col p,
.contact-info p,
.essence p,
.eyebrow,
.eyebrow-light,
.mono,
.stat-label,
.intro-stat-label,
.trust-label,
.trust-item,
.svc-list,
.svc-list li,
.faq-toggle,
.btn,
.nav-cta {
  max-width: none;
}
.contact-lead {
  max-width: 42ch;
}

/* ---- Section heads — slightly more refined hierarchy ---- */
.section-head h2 {
  letter-spacing: -.04em;
}
.section-head p {
  margin-top: 14px;
  margin-inline: auto;
  max-width: 56ch;
  color: var(--muted);
  text-align: center;
}

/* ---- Eyebrow / mono labels — Arial wide-tracked uppercase
   benefits from more letter-spacing than the originally-mono labels. */
.eyebrow,
.eyebrow-light,
.trust-label,
.stat-label,
.intro-stat-label {
  font-weight: 700;
  letter-spacing: .26em;
}
.intro-stat-label {
  font-size: .68rem;
  text-transform: uppercase;
}
.stat-label {
  font-size: .72rem;
  text-transform: uppercase;
}

/* ---- Buttons & nav-cta — slightly more confident tracking ---- */
.btn,
.nav-cta {
  letter-spacing: .005em;
  font-weight: 700;
}

/* ---- Stat / counter values — high-impact display numerals ---- */
.stat-value,
.intro-stat-value {
  font-weight: 700;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums lining-nums;
}

/* ---- Logo wordmark — keep it strong ---- */
.logo-name,
.logo-text {
  font-weight: 900;
  letter-spacing: -.02em;
}
.logo-tagline {
  font-weight: 400;
  letter-spacing: .04em;
}

/* ---- Quote text in testimonials — slightly larger leading ---- */
.quote-text,
.rc-quote {
  text-wrap: pretty;
  line-height: 1.5;
  letter-spacing: -.01em;
}

/* ---- Form labels & inputs ---- */
.field label {
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .72rem;
}
.field input,
.field select,
.field textarea {
  font-weight: 400;
  letter-spacing: -.005em;
}

/* ---- Reduce motion: keep text-wrap behavior, just kill animations ---- */
@media (prefers-reduced-motion: reduce) {
  h1, h2, h3, h4, h5, p { text-wrap: initial; }
}

