:root {
  --navy-950: #061326;
  --navy-900: #0a1f3c;
  --navy-800: #0e2a52;
  --navy-700: #14376b;
  --navy-600: #1c4786;
  --navy-500: #28599f;
  --accent: #f2a71b;
  --accent-dark: #d18d0d;
  --accent-light: #ffe9b8;
  --light: #f4f6fa;
  --light-alt: #e9edf4;
  --text: #1f2937;
  --muted: #64748b;
  --line: #dde3ec;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(10, 31, 60, 0.08);
  --shadow-md: 0 10px 30px rgba(10, 31, 60, 0.12);
  --shadow-lg: 0 24px 60px rgba(10, 31, 60, 0.18);
  --radius: 10px;
  --font-head: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.18;
  color: var(--navy-900);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.section {
  padding: 96px 0;
}

.section--light {
  background: var(--light);
}

.section--alt {
  background: var(--light-alt);
}

.section--dark {
  background: var(--navy-900);
}

/* The global heading colour (--navy-900) is the SAME value as this section's
   background, so a heading in here is invisible unless it opts out. Colour them
   at the section, not per component: every .why-item h3 was unreadable because
   only .section-head h2 had been given the override. */
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--dark h5 {
  color: var(--white);
}

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head.left {
  margin-left: 0;
  text-align: left;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 12px;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 34px;
  height: 2px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 10px;
}

.section--dark .eyebrow {
  color: var(--accent);
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  margin-bottom: 16px;
}

.section-head p {
  color: var(--muted);
  font-size: 1.02rem;
}

.section--dark .section-head p {
  color: #aebcd0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 15px 30px;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn--accent {
  background: var(--accent);
  color: var(--navy-950);
}

.btn--accent:hover {
  background: var(--accent-dark);
  color: var(--white);
}

.btn--outline {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
}

.btn--outline:hover {
  background: var(--white);
  color: var(--navy-900);
}

.btn--navy {
  background: var(--navy-900);
  color: var(--white);
}

.btn--navy:hover {
  background: var(--navy-700);
}

.btn--ghost {
  border-color: var(--navy-700);
  color: var(--navy-800);
}

.btn--ghost:hover {
  background: var(--navy-800);
  color: var(--white);
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy-950);
  color: #c7d2e0;
  font-size: 0.83rem;
  padding: 9px 0;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.topbar ul {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color 0.2s;
}

.topbar a:hover {
  color: var(--accent);
}

.topbar svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
}

.topbar .topbar-note {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.4px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s;
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

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

.brand-text {
  line-height: 1.15;
}

.brand-text strong {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: 1px;
  text-transform: uppercase;
  display: block;
}

.brand-text span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-menu a {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--navy-800);
  padding: 10px 16px;
  border-radius: 6px;
  position: relative;
  transition: color 0.2s, background 0.2s;
}

.nav-menu a:hover {
  color: var(--accent-dark);
}

.nav-menu a.active {
  color: var(--accent-dark);
  background: var(--accent-light);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-cta .btn {
  padding: 11px 22px;
  font-size: 0.85rem;
}

/* Paired with the max-width:860px rule: both nav controls are mobile-only. */
.nav-close { display: none; }

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--navy-900);
  margin: 4.5px auto;
  border-radius: 2px;
  transition: all 0.25s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  background: linear-gradient(100deg, rgba(6, 19, 38, 0.96) 0%, rgba(10, 31, 60, 0.88) 45%, rgba(10, 31, 60, 0.35) 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(6, 19, 38, 0.97) 0%, rgba(10, 31, 60, 0.86) 48%, rgba(10, 31, 60, 0.3) 100%);
}

.hero-content {
  padding: 110px 0;
  max-width: 720px;
  color: var(--white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(242, 167, 27, 0.15);
  border: 1px solid rgba(242, 167, 27, 0.55);
  color: var(--accent);
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 9px 18px;
  border-radius: 40px;
  margin-bottom: 26px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 5.6vw, 4.3rem);
  font-weight: 700;
  margin-bottom: 20px;
}

.hero h1 .accent {
  color: var(--accent);
  background: linear-gradient(120deg, #f2a71b 0%, #ffd47a 50%, #f2a71b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.12rem;
  color: #c7d2e0;
  max-width: 620px;
  margin-bottom: 36px;
}

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

.hero-stats {
  position: relative;
  z-index: 2;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  margin-top: -44px;
}

.hero-stats .grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 34px 24px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: none;
}

.stat .num {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--navy-800);
  line-height: 1;
}

.stat .num .plus {
  color: var(--accent-dark);
}

.stat .label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 96px 0 104px;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(6, 19, 38, 0.95) 0%, rgba(10, 31, 60, 0.82) 60%, rgba(10, 31, 60, 0.45) 100%);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 4.4vw, 3.3rem);
  font-weight: 700;
  margin-bottom: 14px;
}

.page-hero .crumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-family: var(--font-head);
  font-size: 0.85rem;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #b6c3d6;
}

.page-hero .crumb a:hover {
  color: var(--accent);
}

.page-hero .crumb span {
  color: var(--accent);
}

.page-hero .crumb .sep {
  color: #556a85;
}

/* ---------- Grid utilities ---------- */
.grid {
  display: grid;
  gap: 30px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

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

.about-media {
  position: relative;
}

.about-media .main-img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.about-media .badge-box {
  position: absolute;
  bottom: -30px;
  right: -18px;
  background: var(--accent);
  color: var(--navy-950);
  border-radius: var(--radius);
  padding: 22px 30px;
  box-shadow: var(--shadow-md);
  text-align: center;
  line-height: 1.2;
}

.about-media .badge-box .big {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
}

.about-media .badge-box .small {
  font-family: var(--font-head);
  font-size: 0.78rem;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  font-weight: 600;
}

.about-media .frame {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 130px;
  height: 130px;
  border: 4px solid var(--accent);
  border-radius: var(--radius);
  z-index: -1;
}

.about-copy h2 {
  margin-bottom: 18px;
}

.about-copy > p {
  color: var(--muted);
  margin-bottom: 18px;
}

.about-points {
  margin: 26px 0 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 22px;
}

.about-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy-800);
}

.about-points .tick {
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
  color: var(--navy-950);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
}

/* ---------- Services ---------- */
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 38px 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 62px;
  height: 62px;
  border-radius: 12px;
  background: var(--navy-900);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: background 0.3s, color 0.3s;
}

.service-card:hover .service-icon {
  background: var(--accent);
  color: var(--navy-950);
}

.service-icon svg {
  width: 30px;
  height: 30px;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Features / why us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.why-item {
  display: flex;
  gap: 18px;
}

.why-item .num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

/* Oswald ships no tabular-figure feature (font-variant-numeric is a no-op in
   it), so "01" measures 29.9px against "06"'s 34.8px. .num is a flex sibling of
   the text, so that difference pushed each item's heading to a different x -
   item 04 sat ~4.5px right of item 01 above it. Give the number column one
   fixed width instead of letting the glyphs decide it.
   The icon variant (services.php passes an <svg>) is excluded: those already
   align, and a floor would indent that section for no reason. */
.why-item .num:not(:has(svg)) {
  min-width: 36px;
}

.why-item h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.why-item p {
  color: #aebcd0;
  font-size: 0.95rem;
}

/* ---------- Projects ---------- */
.project-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.project-media {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.project-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.5s ease;
}

/* Stacked in one fixed-height box, so switching photos causes no layout shift. */
.project-media img.active { opacity: 1; }

/* A file that 404s must not leave a blank card. */
.project-media img.pm-failed {
  opacity: 1;
  background: var(--navy-800) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 24 24' fill='none' stroke='%23f0b429' stroke-width='1.5'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='9' cy='9' r='2'/%3E%3Cpath d='m21 15-5-5L5 21'/%3E%3C/svg%3E") center/56px no-repeat;
}

.pm-dots {
  position: absolute;
  bottom: 12px;
  right: 14px;
  z-index: 3;
  display: flex;
  gap: 6px;
  padding: 6px 9px;
  border-radius: 20px;
  background: rgba(6, 19, 38, 0.72);
  backdrop-filter: blur(4px);
}

.pm-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: all 0.2s;
}

.pm-dot.active { background: var(--accent); transform: scale(1.25); }
.pm-dot:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }


/* Fingers need a bigger target than a mouse does. */
@media (hover: none) {
  .pm-dots { gap: 10px; padding: 9px 12px; bottom: 10px; }
  .pm-dot { width: 10px; height: 10px; }
}

.project-card:hover .project-media img.active {
  transform: scale(1.08);
}

.project-media .tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--accent);
  color: var(--navy-950);
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 13px;
  border-radius: 40px;
}

.project-media .loc {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(6, 19, 38, 0.82);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.project-media .loc svg {
  width: 13px;
  height: 13px;
  color: var(--accent);
}

.project-body {
  padding: 26px 26px 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-body h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.project-body p {
  color: var(--muted);
  font-size: 0.92rem;
  flex: 1;
}

.project-body ul {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-body ul li {
  background: var(--light);
  border: 1px solid var(--line);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--navy-700);
  padding: 5px 12px;
  border-radius: 40px;
}

/* ---------- Filter ---------- */
.filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 44px;
}

.filter-btn {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: var(--white);
  border: 1.5px solid var(--line);
  color: var(--navy-800);
  padding: 10px 22px;
  border-radius: 40px;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.filter-btn.active {
  background: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-900);
}

.project-item {
  animation: fadeUp 0.45s ease both;
}

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

/* ---------- Featured slider ---------- */
.featured-slider {
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
}

.fs-viewport {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.fs-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.fs-slide {
  flex: 0 0 100%;
  min-width: 100%;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  background: var(--white);
}

.fs-media {
  position: relative;
  min-height: 440px;
  overflow: hidden;
}

.fs-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fs-img.active {
  opacity: 1;
  transform: scale(1);
}

.fs-media .tag {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  background: var(--accent);
  color: var(--navy-950);
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 13px;
  border-radius: 40px;
}

.fs-media-foot {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(6, 19, 38, 0.78);
  padding: 12px 18px;
  border-radius: 10px;
  backdrop-filter: blur(4px);
}

.fs-media-count {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--white);
}

.fs-media-count .fs-img-cur {
  color: var(--accent);
}

.fs-media-dots {
  display: flex;
  gap: 7px;
}

.fs-media-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.2s;
}

.fs-media-dot.active {
  background: var(--accent);
  transform: scale(1.2);
}

.fs-info {
  padding: 46px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: #c7d2e0;
}

.fs-num {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 14px;
}

.fs-info h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.fs-info .fs-title {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.6px;
  color: var(--accent-light);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.fs-info .fs-desc {
  font-size: 0.93rem;
  color: #aebcd0;
  margin-bottom: 20px;
}

.fs-meta {
  margin-bottom: 18px;
}

.fs-info .loc {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  background: rgba(242, 167, 27, 0.12);
  border: 1px solid rgba(242, 167, 27, 0.4);
  padding: 8px 16px;
  border-radius: 40px;
}

.fs-info .loc svg {
  width: 13px;
  height: 13px;
  color: var(--accent);
}

.fs-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fs-tags li {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid #2c4b77;
  font-size: 0.72rem;
  font-weight: 600;
  color: #d5deec;
  padding: 5px 13px;
  border-radius: 40px;
}

.fs-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  margin-top: 34px;
}

.fs-arrow {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1.5px solid var(--navy-700);
  background: var(--white);
  color: var(--navy-800);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
}

.fs-arrow svg {
  width: 20px;
  height: 20px;
}

.fs-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--navy-950);
}

.fs-dots {
  display: flex;
  gap: 9px;
}

.fs-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: #c3cede;
  cursor: pointer;
  transition: all 0.25s;
}

.fs-dot.active {
  width: 30px;
  border-radius: 40px;
  background: var(--accent);
}

@media (max-width: 900px) {
  .fs-slide {
    grid-template-columns: 1fr;
  }
  .fs-media {
    min-height: 320px;
  }
  .fs-info {
    padding: 36px 30px;
  }
}

/* ---------- Clients ---------- */
.client-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.client-chip {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 26px;
  font-family: var(--font-head);
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--navy-700);
  font-size: 1rem;
  text-align: center;
  transition: all 0.25s;
}

.client-chip:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: linear-gradient(110deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: var(--white);
  padding: 70px 0;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 320px;
  height: 320px;
  border: 36px solid rgba(242, 167, 27, 0.14);
  border-radius: 50%;
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.cta-inner h2 {
  color: var(--white);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 10px;
}

.cta-inner p {
  color: #b6c3d6;
  max-width: 640px;
}

/* ---------- Values ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}

.value-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 32px 22px;
  text-align: center;
  transition: all 0.3s;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.value-card .icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-card .icon svg {
  width: 26px;
  height: 26px;
}

.value-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.value-card p {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---------- Process / timeline ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 34px 26px;
  text-align: center;
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-head);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 14px;
}

.step h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.step p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s;
}

.team-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.avatar {
  width: 92px;
  height: 92px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
}

.team-card h3 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.team-card .role {
  color: var(--accent-dark);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.team-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

.team-card a {
  color: var(--navy-600);
  font-weight: 600;
  font-size: 0.9rem;
}

.team-card a:hover {
  color: var(--accent-dark);
}

/* ---------- Policy cards ---------- */
.policy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.policy-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 38px 32px;
  transition: all 0.3s;
}

.policy-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.policy-card h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.policy-card h3 .ic {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 10px;
  background: var(--accent-light);
  color: var(--accent-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.policy-card h3 .ic svg {
  width: 24px;
  height: 24px;
}

.policy-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.policy-card ul {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

.policy-card ul li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.9rem;
}

.policy-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
}

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

.contact-info-card {
  background: var(--navy-900);
  color: #c7d2e0;
  border-radius: var(--radius);
  padding: 44px 38px;
  position: relative;
  overflow: hidden;
}

.contact-info-card::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 220px;
  height: 220px;
  border: 26px solid rgba(242, 167, 27, 0.12);
  border-radius: 50%;
}

.contact-info-card h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.contact-info-card > p {
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.info-item {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 16px;
  margin-bottom: 26px;
}

.info-item .ic {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 10px;
  background: rgba(242, 167, 27, 0.15);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-item .ic svg {
  width: 22px;
  height: 22px;
}

.info-item h4 {
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.info-item p, .info-item a {
  font-size: 0.95rem;
  color: #c7d2e0;
}

.info-item a:hover {
  color: var(--accent);
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 44px 38px;
}

.contact-form h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.contact-form > p {
  color: var(--muted);
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--navy-800);
  margin-bottom: 7px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: 7px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--light);
  transition: border 0.2s, background 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--navy-600);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(28, 71, 134, 0.12);
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

.form-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 12px;
}

.form-alert {
  display: none;
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 0.92rem;
  font-weight: 500;
}

.form-alert.success {
  background: #e7f7ec;
  color: #166534;
  border: 1px solid #a7e3bd;
}

.form-alert.error {
  background: #fdeeee;
  color: #991b1b;
  border: 1px solid #f3c6c6;
}

/* ---------- Map ---------- */
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  line-height: 0;
}

.map-wrap iframe {
  width: 100%;
  height: 420px;
  border: 0;
  filter: saturate(0.85);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: #9fb0c6;
  padding-top: 80px;
  font-size: 0.93rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 1fr 1.1fr;
  gap: 44px;
  padding-bottom: 54px;
}

.footer-logo {
  display: inline-block;
  background: var(--white);
  padding: 10px 16px;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  margin-bottom: 18px;
  line-height: 0;
}

.footer-logo img {
  height: 56px;
  width: auto;
}

.footer-about p {
  margin-bottom: 18px;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid #24405f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
}

.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--navy-950);
}

.footer-social svg {
  width: 17px;
  height: 17px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  letter-spacing: 1.2px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 3px;
  background: var(--accent);
}

.footer-col ul {
  display: grid;
  gap: 11px;
}

.footer-col ul a {
  transition: color 0.2s, padding-left 0.2s;
}

.footer-col ul a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.footer-contact svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--accent);
  margin-top: 3px;
}

.footer-contact a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid #1c3350;
  padding: 22px 0;
  font-size: 0.85rem;
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-bottom a {
  color: var(--accent);
}

.back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--navy-950);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s;
  z-index: 90;
  box-shadow: var(--shadow-md);
}

.back-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-top:hover {
  background: var(--accent-dark);
  color: var(--white);
}

.back-top svg {
  width: 20px;
  height: 20px;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .about-split, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .about-media .main-img { height: 400px; }
  .nav-cta .btn { display: none; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: var(--navy-950);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 90px 28px 30px;
    gap: 8px;
    transition: right 0.3s ease;
    box-shadow: var(--shadow-lg);
    z-index: 150;
  }
  .nav-menu.open { right: 0; }
  .nav-menu a {
    color: #d3dcea;
    border-bottom: 1px solid #1c3350;
    border-radius: 0;
    padding: 14px 4px;
  }
  .nav-menu a:hover, .nav-menu a.active {
    color: var(--accent);
    background: transparent;
  }
  .nav-close {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: 1px solid #24405f;
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    font-size: 1.3rem;
    cursor: pointer;
  }
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(6, 19, 38, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    /* Must stay BELOW .site-header (z-index 100). The header is position:sticky
       with a z-index, so it opens a stacking context and .nav-menu's z-index:150
       cannot escape it -- at 140 this overlay covered the open menu and swallowed
       every click on the nav links and the close button. */
    z-index: 95;
  }
  .nav-overlay.show { opacity: 1; visibility: visible; }
  .grid-3, .team-grid, .policy-grid { grid-template-columns: repeat(2, 1fr); }
  .topbar .topbar-note { display: none; }
}

@media (max-width: 640px) {
  .section { padding: 70px 0; }
  .grid-2, .grid-3, .grid-4, .values-grid, .steps-grid, .why-grid,
  .team-grid, .policy-grid, .form-row { grid-template-columns: 1fr; }
  .hero-stats .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 28px 12px; }
  .stat .label { letter-spacing: 0.6px; word-break: break-word; }
  .stat { border-right: none; border-bottom: 1px solid var(--line); }
  .hero { min-height: 78vh; }
  .hero-content { padding: 80px 0; }
  .hero-stats { margin-top: -30px; }
  .about-media .badge-box { right: 6px; }
  .topbar ul { gap: 10px 18px; justify-content: center; width: 100%; }
  /* Both numbers stay visible and tappable at every width. The email is the
     long item, so it gets its own row instead of squeezing the phones out. */
  .topbar-item:last-child { flex-basis: 100%; text-align: center; justify-content: center; }
  .topbar-item:last-child a { justify-content: center; }
  .topbar a { min-height: 32px; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 32px 22px; }
  .contact-info-card { padding: 34px 26px; }
}
