@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,600&display=swap');

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

:root {
  /* ── Brand palette (aligned to logo: navy + cyan) ── */
  --navy: #0c2a4d;
  /* Deep brand navy structure, nav, hero, headings */
  --navy-deep: #081f3a;
  /* Darker navy for gradients / depth */
  --navy-soft: #16375c;
  /* Slightly lifted navy for cards on dark */
  --cyan: #0fb5c4;
  /* Brand cyan primary accent: CTAs, links, highlights */
  --cyan-dark: #0a8f9c;
  /* Cyan hover / active */
  --cyan-soft: #e6f7f9;
  /* Very light cyan tint for backgrounds */

  /* RGB channels for rgba(var(--x-rgb), alpha) tints/overlays/shadows */
  --cyan-rgb: 15, 181, 196;
  --navy-rgb: 12, 42, 77;
  --white-rgb: 255, 255, 255;
  --shadow-rgb: 0, 0, 0;

  /* ── Gold: subtle hint only, never a primary surface ── */
  --gold: #c9a24a;
  /* Refined muted champagne gold thin accent rules only */
  --gold-lt: #ddc27f;

  /* ── Neutrals ── */
  --slate: #334155;
  --cloud: #f5f8fa;
  --white: #ffffff;
  --text: #12263a;
  --muted: #5b6b7e;
  --border: #e2e8f0;

  /* Semantic surface / text tokens (themeable for dark mode) */
  --bg: #ffffff;         /* page background */
  --surface: #ffffff;    /* cards / elevated panels */
  --surface-alt: #f5f8fa;/* alternating sections (was --cloud) */
  --heading: #0c2a4d;    /* navy headings on light surfaces */

  /* Semantic accent alias use this for accents so the system stays consistent */
  --accent: var(--cyan);
  --accent-dark: var(--cyan-dark);

  --display: 'Inter', sans-serif;
  --body: 'Inter', sans-serif;
  --nav-font: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  /* NOTE: --heading is the semantic heading COLOR (defined above);
     use var(--display) for heading font-family. */

  /* ── Modular type scale (single source of truth for font sizes) ── */
  --fs-xs: 0.75rem;    /* 12px eyebrows, labels, tags */
  --fs-sm: 0.875rem;   /* 14px small text, meta */
  --fs-base: 1rem;     /* 16px body */
  --fs-md: 1.125rem;   /* 18px lead / large body */
  --fs-lg: 1.5rem;     /* 24px h3 / card titles */
  --fs-xl: 1.875rem;   /* 30px h2 (small) / large numbers */
  --fs-2xl: 2.25rem;   /* 36px section titles */
  --fs-3xl: 3rem;      /* 48px hero */
  --fs-4xl: 3.75rem;   /* 60px display */

  --max: 1440px;
  --radius: 6px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  /* keep anchor targets clear of the fixed nav */
}

body {
  font-family: var(--body);
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Responsive hardening: prevent horizontal overflow on small screens ── */
html,
body {
  overflow-x: clip;
  max-width: 100%;
}

img {
  max-width: 100%;
  height: auto;
}

/* Form controls inherit the page font (avoid the UA default, e.g. Arial) */
input,
select,
textarea,
button,
option {
  font-family: inherit;
}

/* Long words / URLs shouldn't force horizontal scroll */
p,
h1,
h2,
h3,
h4,
li,
a {
  overflow-wrap: break-word;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--display);
  font-weight: 600;
  /* consistent heading weight; specific display headings may override */
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(var(--white-rgb), 0.95);
  backdrop-filter: blur(8px);
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 24px rgba(var(--shadow-rgb), 0.15);
}

.nav-brand {
  font-family: var(--display);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--heading);
  letter-spacing: 0.02em;
}

.nav-brand span {
  color: var(--white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  height: 64px;
}

.nav-links li {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-links a {
  color: var(--heading);
  text-decoration: none;
  font-family: var(--nav-font);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.005em;
  text-transform: none;
  white-space: nowrap;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--cyan);
}

.nav-links a.active {
  color: var(--cyan);
  font-weight: 600;
}

.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  font-family: var(--nav-font);
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius);
  font-weight: 600 !important;
  opacity: 1 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover {
  background: var(--cyan) !important;
}

/* Mobile menu button hidden by default */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--heading);
  font-size: var(--fs-xl);
  cursor: pointer;
}

/* ── HERO ── */
#hero {
  min-height: 90vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 7rem 2rem 4rem;
}



#hero .hero-inner {
  position: relative;
  z-index: 2;
  pointer-events: none;
}

#hero .hero-inner>* {
  pointer-events: auto;
}

/* Decorative bridge line */
#hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--cyan) 30%, var(--cyan-dark) 50%, var(--cyan) 70%, transparent 100%);
  opacity: 0.4;
}

.hero-inner {
  max-width: var(--max);
  margin: auto;
  display: block;
  width: 100%;
}

.hero-inner>div {
  max-width: 800px;
}

.hero-eyebrow {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.2rem;
}

.hero-h1 {
  font-family: var(--display);
  font-size: clamp(2.1rem, 7vw, 4.5rem);
  font-weight: 500;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
}

.hero-h1 em {
  color: var(--cyan);
  font-style: italic;
  font-weight: 400;
}

.hero-sub {
  color: rgba(var(--white-rgb), 0.85);
  font-size: var(--fs-base);
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  padding: 0.85rem 2rem;
  border: 1px solid var(--cyan);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: var(--fs-sm);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: var(--cyan);
  color: var(--heading);
  border-color: var(--cyan);
  transform: translateY(-1px);
}

.btn-submit {
  background: linear-gradient(135deg, var(--cyan), var(--cyan));
  color: var(--heading);
  padding: 1.15rem 2rem;
  border: none;
  border-radius: var(--radius);
  font-family: var(--body);
  font-weight: 700;
  font-size: var(--fs-base);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 15px rgba(var(--cyan-rgb), 0.25);
  position: relative;
  overflow: hidden;
}

.btn-submit span {
  transition: transform 0.3s ease;
  font-size: var(--fs-md);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(var(--cyan-rgb), 0.4);
}

.btn-submit:hover span {
  transform: translateX(4px);
}

.btn-submit::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(var(--white-rgb), 0) 0%, rgba(var(--white-rgb), 0.4) 50%, rgba(var(--white-rgb), 0) 100%);
  transform: skewX(-25deg);
  transition: all 0.7s ease;
}

.btn-submit:hover::after {
  left: 150%;
}

.btn-cta {
  background: linear-gradient(135deg, var(--cyan), var(--cyan));
  color: var(--heading);
  padding: 1.15rem 2.5rem;
  border: none;
  border-radius: var(--radius);
  font-family: var(--body);
  font-weight: 700;
  font-size: var(--fs-base);
  cursor: pointer;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.08em;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 15px rgba(var(--cyan-rgb), 0.25);
  position: relative;
  overflow: hidden;
}

.btn-cta span {
  transition: transform 0.3s ease;
  font-size: var(--fs-md);
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(var(--cyan-rgb), 0.4);
  color: var(--heading);
}

.btn-cta:hover span {
  transform: translateX(4px);
}

.btn-cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(var(--white-rgb), 0) 0%, rgba(var(--white-rgb), 0.4) 50%, rgba(var(--white-rgb), 0) 100%);
  transform: skewX(-25deg);
  transition: all 0.7s ease;
}

.btn-cta:hover::after {
  left: 150%;
}

.btn-outline {
  border: 1px solid var(--navy);
  color: var(--heading);
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: var(--fs-sm);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
}

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

#hero .btn-outline {
  border: 1px solid rgba(var(--white-rgb), 0.35);
  color: var(--white);
  background: transparent !important;
}

#hero .btn-outline:hover {
  border-color: var(--cyan);
  background: rgba(var(--white-rgb), 0.08);
  color: var(--cyan);
}

.btn-outline-dark {
  border: 1px solid var(--navy);
  color: var(--heading);
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: var(--fs-sm);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.btn-outline-dark:hover {
  border-color: var(--cyan);
  background: rgba(var(--cyan-rgb), 0.1);
  color: var(--cyan);
}

/* Stats card */
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem 2rem;
}

.stat-item {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 1.5rem 0 0 0;
  position: relative;
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-2px);
}

.stat-label {
  font-family: var(--body);
  font-size: var(--fs-base);
  color: var(--cyan);
  margin-bottom: 0.5rem;
  font-weight: 400;
}

.stat-num {
  font-family: var(--display);
  font-size: clamp(3rem, 4vw, 4.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 0.75rem;
  font-variant-numeric: lining-nums;
  letter-spacing: -0.02em;
}

.stat-desc {
  font-size: var(--fs-base);
  color: rgba(var(--white-rgb), 0.75);
  line-height: 1.6;
  font-weight: 400;
}

/* ── MARKET CONTEXT BAND ── */
#context {
  background: linear-gradient(135deg, #FBF7EE 0%, #F5F3EC 100%);
  padding: 3rem 2rem;
  border-bottom: 1px solid rgba(var(--cyan-rgb), 0.3);
  border-top: 1px solid rgba(var(--cyan-rgb), 0.15);
}

[data-theme="dark"] #context {
  background: var(--surface-alt);
}

.context-inner {
  max-width: var(--max);
  margin: auto;
}

.context-label {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.5rem;
}

.context-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.context-item {
  padding: 0 2rem 0 0;
  border-right: 1px solid rgba(var(--cyan-rgb), 0.25);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.context-item:last-child {
  border-right: none;
  padding-right: 0;
}

.context-item:not(:first-child) {
  padding-left: 2rem;
}



.context-num {
  font-family: var(--display);
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--cyan);
  line-height: 1;
  font-variant-numeric: lining-nums;
}

.context-desc {
  font-size: var(--fs-xs);
  color: var(--muted);
  margin-top: 0.4rem;
  line-height: 1.45;
}

/* ── SECTION SHARED ── */
section {
  padding: 5.5rem 2rem;
}

.section-inner {
  max-width: var(--max);
  margin: auto;
}

/* Side gutters on mobile so section content never touches the screen edge */
@media (max-width: 768px) {
  .section-inner {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

.section-eyebrow {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.9rem;
}



.section-h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600;
  color: var(--heading);
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.section-lead {
  color: var(--muted);
  font-size: var(--fs-base);
  line-height: 1.75;
  margin-bottom: 3rem;
}

/* ── SERVICES ── */
#services {
  background: var(--surface);
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.service-card {
  flex: 1 1 calc((100% - 4rem) / 3);
  min-width: 300px;
  background: var(--surface);
  padding: 2.5rem 2rem;
  border-radius: 8px;
  border: 1px solid rgba(var(--cyan-rgb), 0.15);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 15px rgba(var(--shadow-rgb), 0.03);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  z-index: 1;
}


.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #d4af37;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: 2;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.12), 0 5px 15px rgba(var(--shadow-rgb), 0.04);
  border-color: rgba(212, 175, 55, 0.3);
}

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



.sc-num {
  font-family: var(--display);
  font-weight: 600;
  font-size: var(--fs-3xl);
  color: rgba(212, 175, 55, 0.3);
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 0;
  transition: color 0.4s ease;
  font-variant-numeric: lining-nums;
  line-height: 1;
}

.service-card:hover .sc-num {
  color: rgba(212, 175, 55, 0.2);
}

.sc-title {
  font-family: var(--display);
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 0.75rem;
  line-height: 1.3;
  position: relative;
  z-index: 1;
  padding-right: 4.5rem;
}

.sc-desc {
  font-size: var(--fs-base);
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.sc-service-detail {
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  position: relative;
  z-index: 1;
}

.case-card-link {
  display: inline-flex;
  align-items: center;
  color: var(--heading);
  font-weight: 600;
  font-size: var(--fs-sm);
  border-bottom: 2px solid var(--cyan);
  padding-bottom: 2px;
  transition: all 0.3s ease;
}

.case-card:hover .case-card-link {
  color: var(--cyan);
}

.case-card-link .arrow {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.case-card:hover .case-card-link .arrow {
  transform: translateX(4px);
}

/* SERVICES GRID OVERRIDE */
.home-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}


@media (max-width: 900px) {
  .home-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .home-services-grid {
    grid-template-columns: 1fr;
  }
}

.sc-detail-item {
  font-size: var(--fs-sm);
  color: var(--text);
  line-height: 1.55;
  padding-left: 0.9rem;
  border-left: 2px solid var(--cyan);
  padding-top: 0.1rem;
  padding-bottom: 0.1rem;
}

.sc-detail-label {
  font-weight: 600;
  color: var(--heading);
  margin-right: 0.3rem;
}

.sc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface-alt);
  border: 1px solid var(--border);
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.tag:hover {
  background: rgba(212, 175, 55, 0.15);
  color: #d4af37;
  border-color: rgba(212, 175, 55, 0.4);
}

/* ── CASE STUDIES ── */
#cases {
  background: var(--surface-alt);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.case-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid #d4af37;
  border-radius: 4px;
  padding: 1.75rem;
  transition: box-shadow 0.2s, transform 0.15s;
}

.case-card:hover {
  box-shadow: 0 8px 32px rgba(var(--cyan-rgb), 0.15), 0 2px 8px rgba(18, 38, 58, 0.08);
  transform: translateY(-2px);
}

.case-sector {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.6rem;
}

.case-title {
  font-family: var(--display);
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.case-context {
  font-size: var(--fs-base);
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1.1rem;
}

.case-outcomes {
  list-style: none;
}

.case-outcomes li {
  font-size: var(--fs-base);
  color: var(--text);
  padding: 0.35rem 0;
  border-top: 1px solid var(--border);
  padding-left: 1rem;
  position: relative;
  line-height: 1.45;
}

.case-outcomes li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #d4af37;
  font-size: var(--fs-xs);
}

/* ── MARKETS ── */
#markets {
  background: var(--surface-alt);
}

#markets .section-h2 {
  color: var(--heading);
}

#markets .section-lead {
  color: var(--muted);
}

.markets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.market-card {
  background: var(--surface);
  border: 1px solid rgba(var(--cyan-rgb), 0.15);
  border-top: 3px solid var(--cyan);
  border-radius: 8px;
  padding: 2.25rem 2rem;
  box-shadow: 0 4px 15px rgba(var(--shadow-rgb), 0.03);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
}

.market-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(var(--cyan-rgb), 0.12), 0 5px 15px rgba(var(--shadow-rgb), 0.04);
  border-color: rgba(var(--cyan-rgb), 0.3);
}

.market-role {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.5rem;
}

.market-name {
  font-family: var(--display);
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 0.25rem;
}

.market-city {
  font-size: var(--fs-sm);
  color: var(--muted);
}

.sectors-label {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.2rem;
}

.sectors-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.sector-pill {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 0.75rem 1rem;
  font-size: var(--fs-sm);
  color: var(--text);
  box-shadow: 0 2px 5px rgba(var(--shadow-rgb), 0.02);
}

.sector-pill strong {
  display: block;
  color: var(--heading);
  font-size: var(--fs-xs);
  margin-bottom: 0.2rem;
  font-weight: 600;
}

/* ── MAP & CHARTS ── */
.map-wrap {
  margin-bottom: 3rem;
}

.world-map {
  width: 100%;
  border-radius: 6px;
  border: 1px solid var(--border);
  display: block;
  background: var(--surface);
}

.map-chips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.25rem;
}

.map-chip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  box-shadow: 0 2px 8px rgba(var(--shadow-rgb), 0.02);
}

.mc-num {
  font-family: var(--display);
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--cyan);
  line-height: 1;
}

.mc-lbl {
  font-size: var(--fs-xs);
  color: var(--muted);
  letter-spacing: 0.04em;
}

.charts-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 0.5rem;
}

.chart-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 2px solid var(--cyan);
  border-radius: 4px;
  padding: 1.5rem 1.5rem 1rem;
  box-shadow: 0 4px 15px rgba(var(--shadow-rgb), 0.02);
}

.chart-title {
  font-family: var(--display);
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 0.2rem;
}

.chart-sub {
  font-size: var(--fs-xs);
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.bar-chart-svg {
  width: 100%;
  display: block;
}

@media (max-width: 760px) {
  .charts-row {
    grid-template-columns: 1fr;
  }

  .map-chips {
    grid-template-columns: 1fr 1fr;
  }
}

/* ── ABOUT ── */
#about {
  background: var(--surface);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 3.5rem;
}

.bridge-box {
  padding: 2rem;
  border-left: 3px solid var(--cyan);
  background: var(--surface-alt);
  margin-bottom: 1.5rem;
}

.bridge-term {
  font-family: var(--display);
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 0.4rem;
}

.bridge-def {
  font-size: var(--fs-base);
  color: var(--muted);
  line-height: 1.75;
}

.quote-block {
  border-left: 3px solid var(--cyan);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  background: var(--surface-alt);
}

.quote-block p {
  font-family: var(--display);
  font-size: var(--fs-md);
  font-style: italic;
  color: var(--heading);
  line-height: 1.6;
}

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.value-card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-top: 3px solid var(--cyan);
  border-radius: 4px;
  transition: background 0.2s, box-shadow 0.2s;
}

.value-card:hover {
  background: var(--surface-alt);
  box-shadow: 0 4px 16px rgba(var(--cyan-rgb), 0.12);
}

.value-letter {
  font-family: var(--display);
  font-size: var(--fs-2xl);
  font-weight: 600;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.value-name {
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--heading);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.value-desc {
  font-size: var(--fs-base);
  color: var(--muted);
  line-height: 1.6;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.team-card {
  background: var(--surface-alt);
  border-radius: 4px;
  border-left: 3px solid var(--cyan);
  padding: 1.75rem;
}

.team-role {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.6rem;
}

.team-desc {
  font-size: var(--fs-base);
  color: var(--muted);
  line-height: 1.65;
}

/* ── CONTACT ── */
#contact {
  background: var(--navy);
  padding: 5.5rem 2rem;
}

#contact .section-h2 {
  color: var(--white);
}

#contact .section-lead {
  color: rgba(var(--white-rgb), 0.6);
  margin-bottom: 2.5rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}

.contact-key {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  min-width: 100px;
  padding-top: 0.1rem;
}

.contact-val {
  font-size: var(--fs-sm);
  color: rgba(var(--white-rgb), 0.8);
}

.contact-val a {
  color: rgba(var(--white-rgb), 0.8);
  text-decoration: none;
}

.contact-val a:hover {
  color: var(--cyan);
}

.contact-form {
  display: grid;
  gap: 1.25rem;
  background: rgba(var(--white-rgb), 0.03);
  border: 1px solid rgba(var(--cyan-rgb), 0.15);
  border-top: 3px solid var(--cyan);
  border-radius: 8px;
  padding: 3rem 2.5rem;
  box-shadow: 0 15px 35px rgba(var(--shadow-rgb), 0.2);
  backdrop-filter: blur(10px);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(var(--white-rgb), 0.5);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(var(--white-rgb), 0.06);
  border: 1px solid rgba(var(--white-rgb), 0.15);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--body);
  font-size: var(--fs-sm);
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(var(--white-rgb), 0.3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--cyan);
}

.form-group select option {
  background: var(--navy);
}

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

/* ── HOME SERVICES ── */
#home-services {
  background: var(--surface);
  padding: 5.5rem 2rem;
}

.home-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.hs-card {
  background: var(--surface-alt);
  padding: 2.5rem 2rem;
  border-radius: 8px;
  border: 1px solid rgba(var(--cyan-rgb), 0.15);
  border-top: 3px solid #d4af37;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 15px rgba(var(--shadow-rgb), 0.03);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  z-index: 1;
}


@media (max-width: 1024px) {
  .home-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .home-services-grid {
    grid-template-columns: 1fr;
  }
}

/* DROPDOWN MENU */
.dropdown {
  position: relative;
}

.dropbtn {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.dropbtn::after {
  content: '▼';
  font-size: 0.6em;
  opacity: 0.7;
  display: inline-block;
  transition: transform 0.3s ease;
}

.dropbtn.expanded::after {
  transform: rotate(180deg);
}

.dropdown-content {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--white);
  min-width: 260px;
  box-shadow: 0 8px 24px rgba(var(--shadow-rgb), 0.1);
  border-radius: 8px;
  z-index: 100;
  border: 1px solid rgba(var(--shadow-rgb), 0.05);
  border-top: 3px solid var(--cyan);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

@media (min-width: 1151px) {
  .dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

.dropdown-content a {
  color: var(--heading);
  padding: 12px 20px;
  text-decoration: none;
  display: block;
  /* match top-level nav link typography exactly */
  font-family: var(--nav-font);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.005em;
  text-transform: none;
  border-bottom: 1px solid rgba(var(--shadow-rgb), 0.03);
  transition: all 0.2s ease;
}

.dropdown-content a:last-child {
  border-bottom: none;
}

.dropdown-content a:hover {
  background-color: var(--surface-alt);
  color: var(--cyan);
  padding-left: 24px;
}

.dropdown-content a.active {
  color: var(--cyan);
  background-color: var(--surface-alt);
  border-bottom: 1px solid rgba(var(--shadow-rgb), 0.03);
}

/* SINGLE SERVICE PAGE STYLES */
.service-hero {
  background: var(--navy);
  padding: 13rem 2rem 10rem;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.service-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% -20%, rgba(var(--cyan-rgb), 0.15), transparent 70%);
}

.service-hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.05;
  pointer-events: none;
  animation: pulsePattern 10s infinite alternate ease-in-out;
}

@keyframes pulsePattern {
  0% {
    transform: scale(1);
    opacity: 0.03;
  }

  100% {
    transform: scale(1.05);
    opacity: 0.08;
  }
}

.service-hero-title {
  font-family: var(--display);
  font-size: var(--fs-3xl);
  color: var(--white);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
  text-shadow: 0 4px 20px rgba(var(--cyan-rgb), 0.3);
}

.service-hero-title span {
  color: var(--cyan);
}

.service-hero-desc {
  font-size: var(--fs-md);
  opacity: 0.9;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .service-hero-title {
    font-size: var(--fs-2xl);
  }

  .service-hero-desc {
    font-size: var(--fs-base);
  }
}

.single-service-content {
  padding: 3rem 2rem;
  background: var(--surface-alt);
  position: relative;
}

.single-service-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--shadow-rgb), 0.05), transparent);
}

.single-service-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.single-service-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.single-service-list li {
  background: var(--surface);
  padding: 2.5rem;
  border-radius: 12px;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  box-shadow: 0 4px 15px rgba(var(--shadow-rgb), 0.03);
  border: 1px solid rgba(var(--shadow-rgb), 0.04);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
}

.single-service-list li::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: #d4af37;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s ease;
}

.single-service-list li:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.1), 0 5px 15px rgba(var(--shadow-rgb), 0.02);
  border-color: rgba(212, 175, 55, 0.2);
}

.single-service-list li:hover::before {
  transform: scaleY(1);
}

.ss-check {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, rgba(var(--cyan-rgb), 0.15), rgba(var(--cyan-rgb), 0.05));
  color: var(--cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: var(--fs-md);
  border: 1px solid rgba(var(--cyan-rgb), 0.2);
}

.ss-text strong {
  color: var(--heading);
  display: block;
  margin-bottom: 0.6rem;
  font-size: var(--fs-md);
  font-family: var(--display);
  letter-spacing: -0.01em;
}

.ss-text {
  color: var(--muted);
  line-height: 1.6;
  font-size: var(--fs-base);
}

@media (max-width: 768px) {
  .single-service-list {
    grid-template-columns: 1fr;
  }

  .single-service-list li {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
  }

  .single-service-list .ss-text {
    font-size: var(--fs-base);
  }
}

.hs-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(var(--cyan-rgb), 0.12), 0 5px 15px rgba(var(--shadow-rgb), 0.04);
  border-color: rgba(var(--cyan-rgb), 0.3);
  border-top-color: #d4af37;
}

.hs-num {
  font-family: var(--display);
  font-weight: 600;
  font-size: var(--fs-4xl);
  color: #d4af37;
  position: absolute;
  top: -0.5rem;
  right: 1rem;
  z-index: 0;
  transition: color 0.4s ease;
  font-variant-numeric: lining-nums;
}

.hs-title {
  font-family: var(--display);
  font-size: var(--fs-lg);
  color: var(--heading);
  margin-bottom: 0.8rem;
  line-height: 1.25;
  min-height: 3.75rem;
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
  padding-right: 2.5rem;
}

.hs-desc {
  font-size: var(--fs-base);
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.8rem;
  flex-grow: 1;
  position: relative;
  z-index: 1;
}

.hs-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
}

.hs-tags .tag {
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

.hs-card:hover .hs-tags .tag {
  transform: translateY(-1px);
}

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy), var(--navy));
  padding: 5rem 2rem;
  text-align: center;
  border-top: 2px solid var(--cyan);
}

.cta-banner h2 {
  font-family: var(--display);
  font-size: var(--fs-2xl);
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-banner p {
  font-size: var(--fs-md);
  color: rgba(var(--white-rgb), 0.75);
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.6;
}

/* ── CLIENT LOGOS ── */
.clients-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 3rem 4rem;
  margin-top: 2.5rem;
}

.client-logo-box svg {
  height: 48px;
  width: auto;
  opacity: 0.85;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.client-logo-box:hover svg {
  opacity: 1;
  transform: scale(1.05);
}

/* ── FOOTER ── */
footer {
  background: var(--navy);
  border-top: 1px solid rgba(var(--white-rgb), 0.3);
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  font-family: var(--display);
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--heading);
}

.footer-brand span {
  color: var(--white);
}

.footer-copy {
  font-size: var(--fs-xs);
  color: rgba(var(--white-rgb), 0.6);
  text-align: center;
}

.footer-tagline {
  font-size: var(--fs-xs);
  color: rgba(var(--white-rgb), 0.6);
  font-style: italic;
}

/* ── DIVIDERS & UTILITIES ── */
.gold-rule {
  width: 44px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-lt));
  /* subtle gold hint divider under section headings */
  margin-bottom: 1.5rem;
}

/* ── CUSTOM MULTI-SELECT ── */
.custom-select-wrapper {
  position: relative;
  user-select: none;
}

.custom-select-display {
  background: rgba(var(--white-rgb), 0.06);
  border: 1px solid rgba(var(--white-rgb), 0.15);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--body);
  font-size: var(--fs-sm);
  padding: 0.75rem 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: border-color 0.2s;
}

.custom-select-display.active {
  border-color: var(--cyan);
}

.custom-select-display::after {
  content: '▼';
  font-size: var(--fs-xs);
  opacity: 0.7;
  transition: transform 0.2s;
}

.custom-select-display.active::after {
  transform: rotate(180deg);
}

.custom-select-options {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--navy-deep);
  border: 1px solid var(--cyan);
  border-radius: var(--radius);
  z-index: 100;
  max-height: 250px;
  overflow-y: auto;
  box-shadow: 0 4px 12px rgba(var(--shadow-rgb), 0.3);
  margin-top: 4px;
}

.custom-select-options.open {
  display: block;
}

.custom-select-options label {
  display: flex;
  align-items: center;
  padding: 0.6rem 1rem;
  cursor: pointer;
  color: var(--white);
  font-size: var(--fs-sm);
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  margin: 0;
  transition: background 0.2s;
}

.custom-select-options label:hover {
  background: rgba(var(--cyan-rgb), 0.15);
}

.custom-select-options input[type="checkbox"] {
  margin-right: 0.75rem;
  width: auto;
  padding: 0;
  accent-color: var(--cyan);
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    max-width: 100%;
  }

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

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

  .context-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .context-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 0 0 1.5rem;
  }

  .context-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .context-item:not(:first-child) {
    padding-left: 0;
  }

  .sectors-list {
    grid-template-columns: 1fr 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

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

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

@media (max-width: 1150px) {

  body>nav+section,
  body>nav+.service-hero {
    padding-top: 6rem !important;
  }

  section,
  #context {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }

  #hero {
    padding-top: 6rem !important;
    padding-bottom: 1.5rem !important;
  }

  #about {
    padding-top: 6rem !important;
  }

  .hs-card>div[style] {
    margin: 0.75rem 0 1rem 0 !important;
  }

  .mobile-menu-btn {
    display: block;
  }

  .nav-cta {
    text-align: center;
  }

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

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

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

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

  .hero-h1 {
    font-size: var(--fs-2xl);
  }
}

@media (max-width: 760px) {
  .charts-row {
    grid-template-columns: 1fr;
  }

  .map-chips {
    grid-template-columns: 1fr 1fr;
  }
}

/* ── ABOUT ── */
#about {
  background: var(--surface);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3.5rem;
}

.bridge-box {
  padding: 2rem;
  border-left: 3px solid #d4af37;
  background: var(--surface-alt);
  margin-bottom: 1.5rem;
}

.bridge-term {
  font-family: var(--display);
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 0.4rem;
  font-variant-numeric: lining-nums;
}

.bridge-def {
  font-size: var(--fs-base);
  color: var(--muted);
  line-height: 1.75;
}

.quote-block {
  border-left: 3px solid #d4af37;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  background: var(--surface-alt);
}

.quote-block p {
  font-family: var(--display);
  font-size: var(--fs-md);
  font-style: italic;
  color: var(--heading);
  line-height: 1.6;
  font-variant-numeric: lining-nums;
}

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.value-card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-top: 3px solid #d4af37;
  border-radius: 4px;
  transition: background 0.2s, box-shadow 0.2s;
}

.value-card:hover {
  background: var(--surface-alt);
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.12);
}

.value-letter {
  font-family: var(--display);
  font-size: var(--fs-2xl);
  font-weight: 600;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-variant-numeric: lining-nums;
}

.value-name {
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--heading);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.value-desc {
  font-size: var(--fs-base);
  color: var(--muted);
  line-height: 1.6;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.team-card {
  background: var(--surface-alt);
  border-radius: 4px;
  border-left: 3px solid var(--cyan);
  padding: 1.75rem;
}

.team-role {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.6rem;
}

.team-desc {
  font-size: var(--fs-base);
  color: var(--muted);
  line-height: 1.65;
}

/* ── CONTACT ── */
#contact {
  background: var(--navy);
  padding: 5.5rem 2rem;
}

#contact .section-h2 {
  color: var(--white);
}

#contact .section-lead {
  color: rgba(var(--white-rgb), 0.6);
  margin-bottom: 2.5rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}

.contact-key {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  min-width: 100px;
  padding-top: 0.1rem;
}

.contact-val {
  font-size: var(--fs-sm);
  color: rgba(var(--white-rgb), 0.8);
}

.contact-val a {
  color: rgba(var(--white-rgb), 0.8);
  text-decoration: none;
}

.contact-val a:hover {
  color: var(--cyan);
}

/* form */
.contact-form {
  display: grid;
  gap: 1rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(var(--white-rgb), 0.5);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(var(--white-rgb), 0.06);
  border: 1px solid rgba(var(--white-rgb), 0.15);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--body);
  font-size: var(--fs-sm);
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(var(--white-rgb), 0.3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--cyan);
}

.form-group select option {
  background: var(--navy);
}

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

/* ── FOOTER ── */
.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 4.5rem 2rem 3.5rem;
  border-top: 4px solid var(--cyan);
}

.footer-inner {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr;
  gap: 1.5rem;
}

.footer-brand {
  font-family: var(--display);
  font-size: var(--fs-xl);
  color: var(--cyan);
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-brand span {
  color: var(--white);
}

.footer-tagline {
  font-size: var(--fs-sm);
  color: rgba(var(--white-rgb), 0.7);
  font-style: italic;
  max-width: 300px;
  line-height: 1.6;
}

.footer-contact-col h4,
.footer-social-col h4 {
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.25rem;
}

.footer-contact-col p {
  font-size: var(--fs-sm);
  color: rgba(var(--white-rgb), 0.8);
  margin-bottom: 0.75rem;
  display: flex;
  gap: 0.5rem;
}

.footer-contact-col p strong {
  color: var(--white);
  font-weight: 600;
  min-width: 45px;
}

.footer-contact-col a {
  color: rgba(var(--white-rgb), 0.8);
  text-decoration: none;
  transition: color 0.2s;
}

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

.social-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(var(--white-rgb), 0.8);
  text-decoration: none;
  font-size: var(--fs-sm);
  transition: color 0.2s;
}

.social-icon:hover {
  color: var(--cyan);
}

.social-icon svg {
  color: var(--cyan);
  width: 16px;
  height: 16px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(var(--white-rgb), 0.15);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: var(--fs-xs);
  color: rgba(var(--white-rgb), 0.5);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: var(--fs-xs);
  color: rgba(var(--white-rgb), 0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: var(--cyan);
}

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

/* ── DIVIDERS & UTILITIES ── */
.gold-rule {
  width: 44px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-lt));
  /* subtle gold hint divider under section headings */
  margin-bottom: 1.5rem;
}

/* ── CUSTOM MULTI-SELECT ── */
.custom-select-wrapper {
  position: relative;
  user-select: none;
}

.custom-select-display {
  background: rgba(var(--white-rgb), 0.06);
  border: 1px solid rgba(var(--white-rgb), 0.15);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--body);
  font-size: var(--fs-sm);
  padding: 0.75rem 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: border-color 0.2s;
}

.custom-select-display.active {
  border-color: var(--cyan);
}

.custom-select-display::after {
  content: '▼';
  font-size: var(--fs-xs);
  opacity: 0.7;
  transition: transform 0.2s;
}

.custom-select-display.active::after {
  transform: rotate(180deg);
}

.custom-select-options {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--navy-deep);
  border: 1px solid var(--cyan);
  border-radius: var(--radius);
  z-index: 100;
  max-height: 250px;
  overflow-y: auto;
  box-shadow: 0 4px 12px rgba(var(--shadow-rgb), 0.3);
  margin-top: 4px;
}

.custom-select-options.open {
  display: block;
}

.custom-select-options label {
  display: flex;
  align-items: center;
  padding: 0.6rem 1rem;
  cursor: pointer;
  color: var(--white);
  font-size: var(--fs-sm);
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  margin: 0;
  transition: background 0.2s;
}

.custom-select-options label:hover {
  background: rgba(var(--cyan-rgb), 0.15);
}

.custom-select-options input[type="checkbox"] {
  margin-right: 0.75rem;
  width: auto;
  padding: 0;
  accent-color: var(--cyan);
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    max-width: 420px;
  }

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

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

  .context-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .context-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 0 0 1.5rem;
  }

  .context-item:nth-child(3),
  .context-item:nth-child(4) {
    border-bottom: none;
  }

  .context-item:nth-child(1),
  .context-item:nth-child(2) {
    padding-top: 0;
  }

  .context-item:nth-child(3),
  .context-item:nth-child(4) {
    padding-top: 1.5rem;
  }

  .context-item {
    padding-left: 0 !important;
  }

  .sectors-list {
    grid-template-columns: 1fr 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

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

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

@media (max-width: 1150px) {
  nav {
    height: 50px;
    padding: 0 1.5rem;
  }

  .nav-brand {
    font-size: var(--fs-lg);
  }

  .mobile-menu-btn {
    display: block;
    font-size: var(--fs-lg);
  }

  .nav-links {
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 2rem;
    gap: 0.5rem;
    border-bottom: 2px solid var(--cyan);
    box-shadow: 0 4px 12px rgba(var(--shadow-rgb), 0.4);
    height: auto;
    max-height: calc(100vh - 50px);
    overflow-y: auto;

    /* Animation Setup */
    display: flex;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
  }

  .nav-links li {
    height: auto;
    width: 100%;
    justify-content: center;
  }

  .nav-links.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links.show a {
    color: var(--white);
    font-size: var(--fs-sm);
    text-align: center;
    display: block;
    padding: 8px;
    width: 100%;
    transition: all 0.2s ease;
  }

  .nav-links.show a:not(.nav-cta):hover {
    background-color: rgba(var(--white-rgb), 0.08);
    color: var(--cyan) !important;
  }

  .nav-links li.dropdown {
    flex-direction: column;
  }

  .dropdown-content {
    position: static;
    background: rgba(var(--white-rgb), 0.05);
    box-shadow: none;
    border: none;
    width: 100%;
    transform: none;
    margin-top: 0;
    text-align: center;
    display: none;
    opacity: 0;
    visibility: hidden;
    padding: 0;
    transition: all 0.3s ease;
  }

  .dropdown.mobile-open .dropdown-content {
    display: block;
    opacity: 1;
    visibility: visible;
    margin-top: 1rem;
    padding: 0.5rem 0;
  }

  .dropdown-content a {
    padding: 8px;
    font-size: var(--fs-xs) !important;
    border-bottom: 1px solid rgba(var(--white-rgb), 0.05);
  }

  .dropdown-content a:hover,
  .dropdown-content a.active {
    background-color: rgba(var(--white-rgb), 0.08);
    color: var(--cyan) !important;
  }

  .dropdown-content a:last-child {
    border-bottom: none;
  }

  .nav-links.show a.nav-cta {
    background: var(--cyan);
    color: var(--heading) !important;
    margin-top: 1rem;
  }

  .nav-links.show a.nav-cta:hover {
    background: var(--cyan-dark);
    color: var(--heading) !important;
  }

  .nav-cta {
    text-align: center;
  }

  .nav-links .theme-toggle {
    color: var(--white);
    border-color: rgba(var(--white-rgb), 0.3);
  }

  .nav-links .theme-toggle:hover {
    color: var(--cyan) !important;
    border-color: var(--cyan);
  }

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

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

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

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

  .hero-h1 {
    font-size: var(--fs-2xl);
  }
}

/* ── TEAM PROFILES ── */
.profile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .profile-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .profile-grid {
    grid-template-columns: 1fr;
  }
}

.profile-card {
  background: var(--surface);
  border: 1px solid rgba(var(--cyan-rgb), 0.15);
  border-bottom: 3px solid #d4af37;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 15px rgba(var(--shadow-rgb), 0.03);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.profile-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(var(--cyan-rgb), 0.12), 0 5px 15px rgba(var(--shadow-rgb), 0.04);
  border-color: rgba(var(--cyan-rgb), 0.3);
}

.profile-img-wrap {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--surface-alt);
  position: relative;
}

.profile-img-wrap::after {
  content: 'View Profile →';
  position: absolute;
  inset: 0;
  background: rgba(var(--navy-rgb), 0.75);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--body);
  font-weight: 600;
  font-size: var(--fs-base);
  letter-spacing: 0.05em;
  opacity: 0;
  transition: opacity 0.4s ease;
  backdrop-filter: blur(2px);
}

.profile-card:hover .profile-img-wrap::after {
  opacity: 1;
}

.profile-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.profile-img-wrap img.scale-up {
  transform: scale(1.2);
  transform-origin: center 15%;
}

.profile-card:hover .profile-img-wrap img {
  transform: scale(1.06);
}

.profile-card:hover .profile-img-wrap img.scale-up {
  transform: scale(1.26);
  transform-origin: center 15%;
}

.profile-info {
  padding: 1.5rem;
  text-align: center;
  background: var(--surface);
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: flex-start;
}

.profile-name {
  font-family: var(--display);
  font-size: var(--fs-base);
  color: var(--heading);
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.profile-designation {
  font-size: var(--fs-xs);
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}

/* ── TEAM DRAWER ── */
.team-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(var(--navy-rgb), 0.6);
  backdrop-filter: blur(4px);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.team-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.team-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  bottom: 0;
  width: 100%;
  max-width: 600px;
  background: var(--surface);
  z-index: 10001;
  box-shadow: -10px 0 30px rgba(var(--shadow-rgb), 0.1);
  transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.team-drawer.open {
  right: 0;
}

.drawer-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: var(--fs-xl);
  color: var(--heading);
  cursor: pointer;
  z-index: 10;
  transition: color 0.2s;
}

.drawer-close:hover {
  color: var(--cyan);
}

.drawer-content {
  padding: 4rem 3rem 3rem;
}

.drawer-img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 2rem;
  border: 3px solid var(--cyan);
  box-shadow: 0 10px 20px rgba(var(--shadow-rgb), 0.1);
}

.drawer-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.drawer-name {
  font-family: var(--display);
  font-size: var(--fs-2xl);
  color: var(--heading);
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.drawer-designation {
  font-size: var(--fs-sm);
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.drawer-bio {
  color: var(--text);
  font-size: var(--fs-base);
  line-height: 1.7;
}

.drawer-bio p {
  margin-bottom: 1rem;
}

.drawer-bio p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .drawer-content {
    padding: 3rem 1.5rem 2rem;
  }

  .drawer-img {
    width: 130px;
    height: 130px;
    margin-bottom: 1.5rem;
  }

  .drawer-name {
    font-size: var(--fs-xl);
  }

  .drawer-designation {
    font-size: var(--fs-sm);
  }

  .drawer-bio p {
    font-size: var(--fs-base);
  }

  .drawer-close {
    top: 1rem;
    right: 1rem;
    font-size: var(--fs-xl);
  }
}

/* ── Scroll Reveal Animations ── */
.hs-card,
.context-item,
.cta-banner h2,
.cta-banner p,
.cta-banner a {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.25, 0.8, 0.25, 1),
    transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hs-card.revealed,
.context-item.revealed,
.cta-banner h2.revealed,
.cta-banner p.revealed,
.cta-banner a.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── CLIENTS SECTION ── */
#clients-section {
  padding: 5rem 2rem 2rem;
  background: var(--surface);
  border-top: 1px solid rgba(var(--shadow-rgb), 0.06);
}

.clients-sub {
  text-align: center;
  color: var(--muted);
  font-size: var(--fs-base);
  max-width: 620px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

.clients-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem 2rem;
  margin-bottom: 0;
}

.client-logo-item {
  flex: 0 0 auto;
}

.client-logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(var(--shadow-rgb), 0.1);
  border-radius: 10px;
  padding: 1rem 1.5rem;
  width: 220px;
  height: 110px;
  background: var(--surface);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.client-logo-box:hover {
  border-color: var(--cyan);
  box-shadow: 0 4px 20px rgba(var(--cyan-rgb), 0.15);
  transform: translateY(-3px);
}

.clients-disclaimer {
  text-align: center;
  font-size: var(--fs-xs);
  color: var(--muted);
  letter-spacing: 0.04em;
  font-style: italic;
  opacity: 0.8;
}

/* ── HOME TEAM SECTION ── */
#home-team {
  padding: 5rem 2rem;
  background: var(--surface-alt);
  border-top: 1px solid rgba(var(--shadow-rgb), 0.06);
}

.home-team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.home-team-grid--4 {
  max-width: 1000px;
  margin: 0 auto;
}

.home-team-grid .home-profile-card {
  width: 200px;
}

.home-profile-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  cursor: pointer;
  transition: transform 0.25s;
}

.home-profile-card:hover {
  transform: translateY(-5px);
}

.home-profile-img-wrap {
  width: 150px;
  height: 150px;
  margin: 0 auto 0.5rem;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--cyan);
  box-shadow: 0 8px 30px rgba(var(--cyan-rgb), 0.2);
  transition: box-shadow 0.3s, border-color 0.3s;
}

.home-profile-card:hover .home-profile-img-wrap {
  box-shadow: 0 12px 40px rgba(var(--cyan-rgb), 0.35);
}

.home-profile-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-profile-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 0.25rem;
}

.home-profile-name {
  font-family: var(--display);
  font-size: var(--fs-md);
  color: var(--heading);
  font-weight: 600;
  margin: 0;
}

.home-profile-designation {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0;
}

@media (max-width: 768px) {
  .home-about-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }

  .home-team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .home-profile-img-wrap {
    width: 120px;
    height: 120px;
  }

  .clients-logos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .client-logo-box {
    display: flex;
    justify-content: center;
    padding: 0.5rem;
    width: 100%;
    height: 90px;
  }

  .client-logo-box svg {
    height: 38px;
    width: auto;
  }

  .cta-grid {
    grid-template-columns: 1fr !important;
    text-align: center;
  }

  .cta-grid>div:first-child {
    text-align: left;
  }

  .cta-grid h2 {
    font-size: var(--fs-2xl) !important;
  }

  .cta-grid p {
    font-size: var(--fs-base) !important;
  }

  .cta-grid ul li span {
    font-size: var(--fs-base) !important;
  }

  .cta-btn-wrap {
    text-align: center;
  }

  #clients-section {
    padding-top: 2.5rem !important;
  }
}

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

/* Enhanced Glowing Button */
.btn-glow {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 2.5rem;
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--white);
  background: var(--cyan);
  border: none;
  border-radius: 4px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 15px rgba(var(--cyan-rgb), 0.3);
  z-index: 1;
}

.btn-glow .arrow {
  margin-left: 0.75rem;
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.btn-glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(var(--white-rgb), 0.4), transparent);
  transition: all 0.6s ease;
  z-index: -1;
}

.btn-glow:hover {
  background: var(--cyan-dark);
  box-shadow: 0 8px 25px rgba(var(--cyan-rgb), 0.5);
  transform: translateY(-2px);
  color: var(--white);
}

.btn-glow:hover::before {
  left: 100%;
}

.btn-glow:hover .arrow {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .btn-glow {
    padding: 0.8rem 1.6rem;
    font-size: var(--fs-xs);
  }

  .btn-submit,
  .btn-cta {
    padding: 0.9rem 1.6rem;
    font-size: var(--fs-xs);
  }
}

/* ========================================
   RESPONSIVE ADDITIONS Bridge Gemini
   ======================================== */

/* Hero section */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-h1 {
    font-size: var(--fs-2xl);
  }

  .hero-sub {
    font-size: var(--fs-base);
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 1rem;
  }
}

/* About page */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

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

@media (max-width: 480px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

/* Services page */
@media (max-width: 900px) {
  .services-grid {
    flex-direction: column;
  }

  .service-card {
    flex: 1 1 100%;
    min-width: unset;
  }
}

/* Case studies */
@media (max-width: 1024px) {
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .cases-grid {
    grid-template-columns: 1fr;
  }
}

/* Team profile grid */
@media (max-width: 640px) {
  .profile-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 380px) {
  .profile-grid {
    grid-template-columns: 1fr;
  }
}

/* General section padding */
@media (max-width: 640px) {
  section {
    padding: 3.5rem 1.25rem;
  }

  .section-h2 {
    font-size: var(--fs-xl);
  }

  .section-lead {
    font-size: var(--fs-base);
  }
}

/* Footer */
@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-legal {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Mobile nav dropdown */
@media (max-width: 768px) {
  .dropdown.mobile-open .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    position: static;
    box-shadow: none;
    border-radius: 0;
    min-width: unset;
    border-top: none;
    border-left: 3px solid var(--cyan);
    margin-left: 1rem;
    padding: 0.5rem 0;
  }
}

/* Map container */
.leaflet-map-wrap {
  width: 100%;
  height: 500px;
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(var(--shadow-rgb), 0.07);
  max-width: 100%;
}

/* Custom marker popup */
.bg-marker {
  background: transparent !important;
  border: none !important;
}

.bg-pin {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bg-pin-bubble {
  /* markers sit on the always-dark map use fixed colours, not theme tokens */
  background: var(--cyan);
  color: var(--navy);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  border-radius: 6px;
  padding: 5px 10px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(var(--cyan-rgb), 0.45);
  position: relative;
}

.bg-pin-label {
  font-size: 9px;
  font-weight: 500;
  opacity: 0.75;
  display: block;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bg-pin-dot {
  width: 10px;
  height: 10px;
  background: var(--cyan-dark);
  border-radius: 50%;
  border: 2px solid var(--white);
  box-shadow: 0 0 10px rgba(var(--cyan-rgb), 0.8);
  margin-top: 6px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(var(--cyan-rgb), 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(var(--cyan-rgb), 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(var(--cyan-rgb), 0);
  }
}

/* Mobile Responsiveness Improvements */
@media (max-width: 768px) {

  /* 1. Hero Buttons */
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn-primary {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }

  /* 2. Team Grids */
  .team-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 1.5rem !important;
    gap: 1rem !important;
  }

  .team-grid .team-card {
    flex: 0 0 85% !important;
    scroll-snap-align: center !important;
  }

  /* 3. Speak with an Advisor (Contact Grid) */
  #contact .section-inner>div {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* 4. Footer */
  .site-footer {
    padding: 2.5rem 1.5rem 2rem !important;
  }

  .site-footer .footer-top {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .footer-brand {
    font-size: var(--fs-lg) !important;
  }

  .footer-contact-col p,
  .footer-contact-col a,
  .footer-social-col p,
  .footer-social-col a,
  .footer-copy,
  .footer-legal a {
    font-size: var(--fs-xs) !important;
  }

  /* 5. Industries */
  .industries-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }

  .industry-card {
    padding: 1rem 0.5rem !important;
  }

  .industry-emoji {
    font-size: var(--fs-lg) !important;
    padding: 0.5rem !important;
  }

  .industry-name {
    font-size: var(--fs-sm) !important;
  }
}


/* Additional Mobile Refinements */
@media (max-width: 768px) {

  /* 1. Ensure Industries grid is 1 column on mobile */
  .industries-grid {
    grid-template-columns: 1fr !important;
  }

  /* 2. Ensure footer legal links stay on one line */
  .footer-legal {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    gap: 0.5rem !important;
  }

  .footer-legal a {
    white-space: nowrap !important;
    font-size: var(--fs-xs) !important;
  }
}


/* 1. Team Tabs Scroll */
@media (max-width: 768px) {
  .team-tabs {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    justify-content: flex-start !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 0.5rem !important;
  }

  .team-tabs .team-tab {
    white-space: nowrap !important;
  }
}

/* 2. CTA Banner Resize */
@media (max-width: 768px) {
  .cta-banner {
    padding: 3.5rem 1.5rem !important;
  }

  .cta-banner .cta-grid {
    gap: 2rem !important;
  }

  .cta-banner h2 {
    font-size: var(--fs-2xl) !important;
  }

  .cta-banner p {
    font-size: var(--fs-base) !important;
    margin-bottom: 1.5rem !important;
  }

  .cta-banner .btn-glow {
    padding: 0.8rem 1.5rem !important;
    font-size: var(--fs-base) !important;
  }
}

/* 3. Industries Grid Mobile Collapse */
@media (max-width: 768px) {
  .industries-grid .industry-card:nth-child(n+4) {
    display: none !important;
  }

  .industries-grid.expanded .industry-card:nth-child(n+4) {
    display: flex !important;
  }

  .industries-expand-wrap {
    display: block !important;
  }
}


/* Hide scrollbar and add fade gradient to team-tabs */
@media (max-width: 768px) {
  .team-tabs::-webkit-scrollbar {
    display: none !important;
  }

  .team-tabs {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
    -webkit-mask-image: linear-gradient(to right, transparent 0, black 1.5rem, black calc(100% - 1.5rem), transparent 100%) !important;
    mask-image: linear-gradient(to right, transparent 0, black 1.5rem, black calc(100% - 1.5rem), transparent 100%) !important;
  }
}


/* Fix CTA Grid Overflow and Font Sizes */
@media (max-width: 768px) {
  .cta-grid {
    grid-template-columns: 1fr !important;
  }

  .cta-grid>div:last-child>div:last-child {
    padding: 2rem 1.5rem !important;
  }

  .cta-grid>div:last-child h3 {
    font-size: var(--fs-lg) !important;
  }

  .cta-grid>div:last-child p {
    font-size: var(--fs-base) !important;
    margin-bottom: 1.5rem !important;
  }

  .cta-grid>div:last-child a {
    padding: 0.75rem !important;
    font-size: var(--fs-sm) !important;
  }
}

/* Fix Team Tabs excessive spacing and button size */
@media (max-width: 768px) {
  .team-tabs {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
    -webkit-mask-image: linear-gradient(to right, transparent 0, black 0.5rem, black calc(100% - 0.5rem), transparent 100%) !important;
    mask-image: linear-gradient(to right, transparent 0, black 0.5rem, black calc(100% - 0.5rem), transparent 100%) !important;
  }

  .team-tabs .team-tab {
    padding: 0.4rem 1.2rem !important;
    font-size: var(--fs-sm) !important;
  }
}


/* Force CTA headline to single line */
@media (max-width: 768px) {
  .cta-banner h2 {
    font-size: clamp(1rem, 6.5vw, 2.2rem) !important;
    white-space: nowrap !important;
  }
}


/* Reduce Get In Touch button size on mobile */
@media (max-width: 768px) {
  .cta-banner .btn-glow {
    padding: 0.6rem 1.2rem !important;
    font-size: var(--fs-xs) !important;
  }
}


/* Reduce CTA paragraph font size on mobile */
@media (max-width: 768px) {
  .cta-banner p {
    font-size: var(--fs-base) !important;
    line-height: 1.5 !important;
  }
}


/* Justify CTA paragraph on mobile */
@media (max-width: 768px) {
  .cta-banner p {
    text-align: justify !important;
  }
}


/* Fix Show More button styling */
#industriesExpandBtn {
  background-color: transparent !important;
  border-radius: var(--radius) !important;
  padding: 0.85rem 2rem !important;
  font-family: inherit !important;
  transition: all 0.3s ease !important;
}

#industriesExpandBtn:hover {
  background: rgba(var(--cyan-rgb), 0.1) !important;
  border-color: var(--cyan) !important;
  color: var(--cyan) !important;
}


/* Fix HR Capability Registration Section for Mobile */
@media (max-width: 768px) {
  #register {
    padding: 2.5rem 1.5rem !important;
    margin-top: 3rem !important;
  }

  #register>div {
    padding-right: 0 !important;
  }

  #register h2.section-h2 {
    font-size: var(--fs-xl) !important;
    line-height: 1.2 !important;
  }

  #register p {
    font-size: var(--fs-base) !important;
  }
}


/* Force Register div to be full width on mobile */
@media (max-width: 768px) {
  #register {
    width: calc(100% + 4rem) !important;
    max-width: none !important;
    margin-left: -2rem !important;
    margin-right: -2rem !important;
  }
}


/* Reduce excessive space between hero and content on mobile */
@media (max-width: 768px) {
  .service-hero {
    padding-bottom: 2.5rem !important;
  }

  .single-service-content {
    padding-top: 2.5rem !important;
    padding-bottom: 3rem !important;
  }
}


/* Fix Registration Form Mobile Layout and Size */
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr !important;
  }

  .premium-input {
    padding: 0.8rem 1rem !important;
    font-size: var(--fs-sm) !important;
  }

  .premium-btn {
    padding: 0.8rem 1.5rem !important;
    font-size: var(--fs-sm) !important;
  }
}


@media (max-width: 768px) {
  .hide-on-mobile {
    display: none !important;
  }
}


/* Remove padding between registration form and footer on mobile */
@media (max-width: 768px) {
  .single-service-content {
    padding-bottom: 0 !important;
  }
}


/* Fix select text overflow and reduce spacing on mobile */
@media (max-width: 768px) {
  .premium-select {
    text-overflow: ellipsis !important;
    overflow: hidden !important;
    white-space: nowrap !important;
  }

  .premium-select option {
    font-size: var(--fs-sm) !important;
    white-space: normal !important;
  }

  #register form {
    gap: 0.8rem !important;
  }

  .form-row {
    gap: 0.8rem !important;
  }
}


/* Make form full width on mobile by reducing its padding */
@media (max-width: 768px) {
  #register form {
    padding: 1.5rem 1rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}


/* Force form to break out of container padding and be truly full width */
@media (max-width: 768px) {
  #register form {
    margin-left: -1.5rem !important;
    margin-right: -1.5rem !important;
    width: calc(100% + 3rem) !important;
    border-left: none !important;
    border-right: none !important;
    border-radius: 0 !important;
    padding: 2rem 1rem !important;
  }
}


/* Reduce top space in service hero on mobile */
@media (max-width: 768px) {
  .service-hero {
    padding-top: 4.5rem !important;
  }
}


/* --- Mobile Breakout & Button Responsive --- */
.bottom-cta-container {
  margin-top: 4rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .bottom-cta-container {
    margin-top: 1rem !important;
    margin-bottom: 3rem !important;
  }

  .btn-responsive {
    font-size: var(--fs-sm) !important;
    padding: 0.8rem 1.6rem !important;
  }
}

@media (max-width: 640px) {
  .home-services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* shrink the decorative number so it sits in the corner above the title
     instead of overlapping the wrapped heading */
  .hs-num {
    font-size: var(--fs-2xl);
    right: 1.25rem;
  }

  .hs-title {
    padding-right: 3rem;
  }
}


/* --- Sectors Grid --- */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .sectors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .sectors-grid {
    grid-template-columns: 1fr;
  }
}

/* ─────────────────────────  DARK MODE  ───────────────────────── */
:root[data-theme="dark"] {
  --bg: #0a1a2e;
  --surface: #12263a;
  --surface-alt: #0f2138;
  --heading: #eaf1f8;
  --text: #cdd9e5;
  --muted: #8fa1b3;
  --border: rgba(var(--white-rgb), 0.10);
  --cloud: #0f2138;
  --cyan-soft: rgba(var(--cyan-rgb), 0.12);
  /* slide-deck tokens */
  --slide-light-bg: #0f2138;
  --slide-text-dark: #eaf1f8;
  --slide-white: #12263a;
  color-scheme: dark;
}


/* Component fixes so dark surfaces read correctly */
:root[data-theme="dark"] nav,
:root[data-theme="dark"] .industry-card,
:root[data-theme="dark"] .dropdown-content {
  background: var(--surface);
}
:root[data-theme="dark"] nav { box-shadow: 0 4px 24px rgba(var(--shadow-rgb), 0.5); }
:root[data-theme="dark"] .industry-card { border-color: var(--border); }

/* Nav logo swaps to the light wordmark in dark mode (dark "BRIDGE"
   text is invisible on the dark nav otherwise) */
.nav-logo--dark {
  display: none;
}
:root[data-theme="dark"] .nav-logo--default {
  display: none;
}
:root[data-theme="dark"] .nav-logo--dark {
  display: inline-block;
  vertical-align: middle;
}

/* Theme toggle button in nav */
.theme-toggle {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--heading);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.theme-toggle:hover { border-color: var(--cyan); color: var(--cyan); }
.theme-toggle svg { width: 17px; height: 17px; display: block; }

/* ─────────────────────  UNIFIED FORMS  ───────────────────── */
/* Forms sit on always-dark navy panels (both themes) */
.bg-form { display: grid; gap: 0.85rem; }
.bg-row { display: grid; gap: 0.85rem; }
@media (min-width: 600px) { .bg-row { grid-template-columns: 1fr 1fr; } }

.bg-input,
.bg-select {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(var(--shadow-rgb), 0.22);
  border: 1px solid rgba(var(--white-rgb), 0.12);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--body);
  font-size: var(--fs-base);
  line-height: 1.4;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  box-sizing: border-box;
}
.bg-input::placeholder { color: rgba(var(--white-rgb), 0.45); }
.bg-input:focus,
.bg-select:focus,
.phone-field:focus-within .cc-number,
.phone-field:focus-within .cc-toggle {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(var(--cyan-rgb), 0.18);
}
.bg-select {
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  padding-right: 2.6rem;
  /* cyan chevron (replaces the old gold arrow) */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%230fb5c4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px 8px;
}
.bg-select option { background: var(--navy); color: var(--white); }
textarea.bg-input { resize: vertical; min-height: 100px; }

.bg-btn {
  width: 100%;
  background: var(--cyan);
  color: var(--navy);
  padding: 0.95rem;
  font-family: var(--nav-font);
  font-size: var(--fs-base);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.bg-btn:hover {
  background: var(--cyan-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--cyan-rgb), 0.3);
}
.bg-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
  color: rgba(var(--white-rgb), 0.5);
  font-size: var(--fs-sm);
  margin-top: 0.5rem;
}

/* Phone field with searchable country-code selector */
.phone-field { position: relative; display: flex; gap: 0.5rem; align-items: stretch; }
.cc-toggle {
  display: inline-flex; align-items: center; gap: 0.4rem;
  flex: 0 0 auto;
  padding: 0 0.85rem;
  background: rgba(var(--shadow-rgb), 0.22);
  border: 1px solid rgba(var(--white-rgb), 0.12);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--body);
  font-size: var(--fs-base);
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.cc-toggle:hover { border-color: rgba(var(--cyan-rgb), 0.5); }
.cc-flag { font-size: 1.15rem; line-height: 1; }
.cc-caret { width: 10px; height: 10px; opacity: 0.55; }
.cc-number { flex: 1 1 auto; min-width: 0; }

.cc-menu {
  position: absolute; top: calc(100% + 6px); left: 0;
  width: min(340px, 92vw);
  max-height: 300px;
  background: var(--navy-deep);
  border: 1px solid rgba(var(--white-rgb), 0.14);
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(var(--shadow-rgb), 0.5);
  z-index: 50;
  display: none;
  flex-direction: column;
  overflow: hidden;
}
.cc-menu.open { display: flex; }
.cc-search {
  margin: 0.6rem;
  padding: 0.55rem 0.75rem;
  background: rgba(var(--shadow-rgb), 0.3);
  border: 1px solid rgba(var(--white-rgb), 0.12);
  border-radius: 6px;
  color: var(--white);
  font-family: var(--body);
  font-size: var(--fs-sm);
  outline: none;
}
.cc-search::placeholder { color: rgba(var(--white-rgb), 0.4); }
.cc-search:focus { border-color: var(--cyan); }
.cc-list { list-style: none; margin: 0; padding: 0 0 0.4rem; overflow-y: auto; }
.cc-option {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.5rem 0.9rem;
  cursor: pointer;
  font-size: var(--fs-sm);
  color: rgba(var(--white-rgb), 0.85);
}
.cc-option:hover { background: rgba(var(--cyan-rgb), 0.14); color: var(--white); }
.cc-opt-flag { font-size: 1.05rem; }
.cc-opt-name { flex: 1 1 auto; }
.cc-opt-dial { color: rgba(var(--white-rgb), 0.55); }

/* Custom select enhances native <select class="bg-select"> */
.cs { position: relative; }
.cs-native {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.cs-trigger {
  text-align: left;
  display: flex;
  align-items: center;
  cursor: pointer;
}
.cs-label {
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cs-trigger.cs-placeholder .cs-label { color: rgba(var(--white-rgb), 0.45); }
.cs-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 260px;
  background: var(--navy-deep);
  border: 1px solid rgba(var(--white-rgb), 0.14);
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(var(--shadow-rgb), 0.5);
  z-index: 50;
  display: none;
  flex-direction: column;
  overflow: hidden;
}
.cs-menu.open { display: flex; }
.cs-list {
  list-style: none;
  margin: 0;
  padding: 0.35rem 0;
  overflow-y: auto;
}
.cs-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  cursor: pointer;
  font-size: var(--fs-sm);
  color: rgba(var(--white-rgb), 0.85);
}
.cs-option:hover { background: rgba(var(--cyan-rgb), 0.14); color: var(--white); }
.cs-option.selected { color: var(--cyan); }
.cs-option.selected::after { content: "\2713"; font-size: var(--fs-sm); }

/* Native-picker inputs (date/time) themed to match the dark form panel */
.bg-input[type="date"],
.bg-input[type="time"],
.bg-input[type="datetime-local"] {
  color-scheme: dark;
  cursor: pointer;
}
.bg-input[type="date"]::-webkit-calendar-picker-indicator,
.bg-input[type="time"]::-webkit-calendar-picker-indicator {
  filter: invert(64%) sepia(60%) saturate(560%) hue-rotate(140deg) brightness(95%);
  cursor: pointer;
}

/* Inline form validation + success states */
.bg-input.invalid,
.cs-invalid .cs-trigger,
.phone-field.invalid .cc-number {
  border-color: #ef6a6a;
  box-shadow: 0 0 0 3px rgba(239, 106, 106, 0.15);
}
.field-error {
  color: #ff9b9b;
  font-size: var(--fs-xs);
  margin-top: 0.25rem;
}
.form-success {
  text-align: center;
  padding: 2rem 1rem;
  animation: fadeInUp 0.4s ease both;
}
.form-success .fs-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(var(--cyan-rgb), 0.15);
  color: var(--cyan);
}
.form-success h3 {
  color: var(--white);
  font-size: var(--fs-lg);
  margin-bottom: 0.6rem;
}
.form-success p {
  color: rgba(var(--white-rgb), 0.7);
  font-size: var(--fs-base);
  line-height: 1.6;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─────────────────────  LEGAL / POLICY PAGES  ───────────────────── */
.legal-hero {
  background: var(--navy);
  color: var(--white);
  padding: 8rem 2rem 3.5rem;
  text-align: center;
}
.legal-eyebrow {
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: var(--fs-xs);
  font-weight: 600;
  margin-bottom: 0.8rem;
}
.legal-hero h1 {
  font-size: var(--fs-3xl);
  color: var(--white);
  line-height: 1.1;
}
.legal-updated {
  color: rgba(var(--white-rgb), 0.6);
  font-size: var(--fs-sm);
  margin-top: 1rem;
}
.legal-body {
  max-width: 820px;
  margin: 0 auto;
  padding: 4rem 2rem 5rem;
}
.legal-body h2 {
  font-size: var(--fs-xl);
  color: var(--heading);
  margin: 2.5rem 0 1rem;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 {
  font-size: var(--fs-md);
  color: var(--heading);
  margin: 1.5rem 0 0.6rem;
}
.legal-body p,
.legal-body li {
  color: var(--text);
  font-size: var(--fs-base);
  line-height: 1.8;
}
.legal-body p { margin-bottom: 1.1rem; }
.legal-body ul { margin: 0 0 1.1rem 1.2rem; }
.legal-body li { margin-bottom: 0.5rem; }
.legal-body a { color: var(--cyan); text-decoration: none; }
.legal-body a:hover { text-decoration: underline; }
.legal-body strong { color: var(--heading); }

/* Custom date picker (replaces native <input type="date">) */
.dp-field { position: relative; }
.dp-trigger {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(var(--shadow-rgb), 0.22);
  border: 1px solid rgba(var(--white-rgb), 0.12);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--body);
  font-size: var(--fs-base);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.dp-trigger.dp-placeholder .dp-label { color: rgba(var(--white-rgb), 0.45); }
.dp-trigger:hover,
.dp-field:focus-within .dp-trigger { border-color: rgba(var(--cyan-rgb), 0.5); }
.dp-icon { width: 18px; height: 18px; color: var(--cyan); flex-shrink: 0; }
.dp-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dp-field.invalid .dp-trigger {
  border-color: #ef6a6a;
  box-shadow: 0 0 0 3px rgba(239, 106, 106, 0.15);
}

.dp-cal {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 300px;
  max-width: 92vw;
  background: var(--navy-deep);
  border: 1px solid rgba(var(--white-rgb), 0.14);
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(var(--shadow-rgb), 0.5);
  padding: 0.9rem;
  z-index: 50;
  display: none;
}
.dp-cal.open { display: block; }
.dp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.7rem; }
.dp-title { color: var(--white); font-weight: 600; font-size: var(--fs-sm); }
.dp-nav {
  background: transparent;
  border: none;
  color: rgba(var(--white-rgb), 0.8);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  width: 28px;
  height: 28px;
  border-radius: 6px;
}
.dp-nav:hover:not(:disabled) { background: rgba(var(--cyan-rgb), 0.15); color: var(--cyan); }
.dp-nav:disabled { opacity: 0.3; cursor: default; }
.dp-dow { display: grid; grid-template-columns: repeat(7, 1fr); margin-bottom: 0.3rem; }
.dp-dow span { text-align: center; font-size: var(--fs-xs); color: rgba(var(--white-rgb), 0.5); padding: 0.3rem 0; }
.dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.dp-day, .dp-empty { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-size: var(--fs-sm); }
.dp-day {
  background: transparent;
  border: none;
  color: rgba(var(--white-rgb), 0.9);
  border-radius: 6px;
  cursor: pointer;
}
.dp-day:hover:not(.dp-disabled) { background: rgba(var(--cyan-rgb), 0.18); }
.dp-day.dp-today { box-shadow: inset 0 0 0 1px rgba(var(--cyan-rgb), 0.5); }
.dp-day.dp-selected { background: var(--cyan); color: var(--navy); font-weight: 700; }
.dp-day.dp-disabled { color: rgba(var(--white-rgb), 0.2); cursor: default; }

/* Search box inside a long custom select */
.cs-search {
  margin: 0.6rem;
  padding: 0.55rem 0.75rem;
  background: rgba(var(--shadow-rgb), 0.3);
  border: 1px solid rgba(var(--white-rgb), 0.12);
  border-radius: 6px;
  color: var(--white);
  font-family: var(--body);
  font-size: var(--fs-sm);
  outline: none;
}
.cs-search::placeholder { color: rgba(var(--white-rgb), 0.4); }
.cs-search:focus { border-color: var(--cyan); }

/* ═══════════════════════  UNIFIED BUTTON SYSTEM  ═══════════════════════ */
/* Solid (primary) */
.btn-primary, .btn-cta, .cta-btn, .bg-btn, .btn-submit, .premium-btn,
.ws-btn, .closing-cta-btn, .btn-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--cyan);
  color: var(--navy);
  padding: 0.9rem 1.9rem;
  border: 1px solid var(--cyan);
  border-radius: var(--radius);
  font-family: var(--body);
  font-weight: 600;
  font-size: var(--fs-sm);
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: none;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.btn-primary:hover, .btn-cta:hover, .cta-btn:hover, .bg-btn:hover, .btn-submit:hover,
.premium-btn:hover, .ws-btn:hover, .closing-cta-btn:hover, .btn-large:hover {
  background: var(--cyan-dark);
  border-color: var(--cyan-dark);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(var(--cyan-rgb), 0.28);
}
.bg-btn, .btn-submit, .premium-btn { width: 100%; }

/* Outline on light backgrounds (navy text) */
.btn-outline, .btn-outline-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--heading);
  padding: 0.9rem 1.9rem;
  border: 1px solid var(--cyan);
  border-radius: var(--radius);
  font-family: var(--body);
  font-weight: 600;
  font-size: var(--fs-sm);
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: none;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.btn-outline:hover, .btn-outline-dark:hover {
  background: var(--cyan);
  color: var(--navy);
  transform: translateY(-2px);
}

/* Outline on dark backgrounds (white text) */
.btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--white);
  padding: 0.9rem 1.9rem;
  border: 1px solid var(--cyan);
  border-radius: var(--radius);
  font-family: var(--body);
  font-weight: 600;
  font-size: var(--fs-sm);
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: none;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.btn-outline-white:hover {
  background: var(--cyan);
  color: var(--navy);
  transform: translateY(-2px);
}

.btn-primary, .btn-cta, .cta-btn, .bg-btn, .btn-submit, .premium-btn, .ws-btn,
.closing-cta-btn, .btn-large, .btn-outline, .btn-outline-dark, .btn-outline-white { white-space: nowrap; }

/* ── Justified body text on both edges, across all pages (client request).
   hyphens:auto minimises the inter-word gaps justification can create.
   Applied to running reading prose; centered heros/CTAs, UI labels, tags
   and buttons keep their own alignment. ── */
.single-service-content p,
.slide-section .slide-inner > p,
.slide-lead-dark,
.section-lead,
.bridge-def,
.value-desc,
.hs-desc,
.sc-desc,
.legal-body p,
.legal-body li,
.drawer-bio p,
.team-group-desc {
  text-align: justify;
  -webkit-hyphens: auto;
  hyphens: auto;
}
