/* ==========================================
   CSS CUSTOM PROPERTIES
   ========================================== */
:root {
  --navy-dark: #0D1F3C;
  --navy-brand: #1D3A6A;
  --accent: #0EA5E9;
  --accent-dark: #0284C7;
  --light-bg: #F1F5F9;
  --text-dark: #0F172A;
  --text-body: #334155;
  --text-gray: #64748B;
  --border: #E2E8F0;
  --white: #FFFFFF;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.08), 0 4px 6px rgba(0,0,0,0.05);

  --radius: 8px;
  --radius-lg: 12px;

  --nav-height: 72px;
  --max-width: 1160px;
  --section-padding: 96px;
}

/* ==========================================
   BASE & RESET
   ========================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.625rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.4rem); }
h4 { font-size: 1.0625rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ==========================================
   LAYOUT UTILITIES
   ========================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding: var(--section-padding) 0;
}

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

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

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-header {
  max-width: 640px;
  margin-bottom: 56px;
}

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

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.0625rem;
  color: var(--text-gray);
  line-height: 1.75;
}

.section--dark .section-header p {
  color: rgba(255,255,255,0.6);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--white);
}

/* ==========================================
   NAVIGATION
   ========================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background-color: var(--navy-dark);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Logo cropped to hide old tagline — shows top 73% of image */
.nav__logo {
  overflow: hidden;
  height: 52px;
  display: flex;
  align-items: flex-start;
}

.nav__logo img {
  height: 72px;
  width: auto;
  object-fit: cover;
  object-position: top left;
  /* Make logo white on dark nav background */
  filter: brightness(0) invert(1);
  flex-shrink: 0;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  padding: 8px 14px;
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--radius);
  color: rgba(255,255,255,0.78);
  transition: color 0.2s, background-color 0.2s;
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--white);
  background-color: rgba(255,255,255,0.08);
}

.nav__cta {
  margin-left: 16px;
}

.nav__cta-btn {
  display: inline-block;
  background-color: var(--accent);
  color: var(--white);
  padding: 10px 22px;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: background-color 0.2s, transform 0.15s, box-shadow 0.15s;
}

.nav__cta-btn:hover {
  background-color: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(14,165,233,0.35);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background-color: rgba(255,255,255,0.85);
  transition: all 0.3s ease;
}

.nav__hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__hamburger.is-open span:nth-child(2) {
  opacity: 0;
}
.nav__hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background-color: var(--navy-dark);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 16px 24px 24px;
  z-index: 99;
}

.nav__mobile.is-open {
  display: block;
}

.nav__mobile-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}

.nav__mobile-link {
  display: block;
  padding: 12px 16px;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  border-radius: var(--radius);
  transition: background-color 0.2s, color 0.2s;
}

.nav__mobile-link:hover {
  background-color: rgba(255,255,255,0.08);
  color: var(--white);
}

.nav__mobile-cta {
  display: block;
  text-align: center;
  background-color: var(--accent);
  color: var(--white);
  padding: 14px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 0.2s;
}

.nav__mobile-cta:hover {
  background-color: var(--accent-dark);
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  transition: all 0.2s ease;
  white-space: nowrap;
}

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

.btn--primary:hover {
  background-color: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(14,165,233,0.35);
}

.btn--outline {
  border: 2px solid rgba(255,255,255,0.4);
  color: rgba(255,255,255,0.85);
}

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

.btn--lg {
  padding: 16px 32px;
  font-size: 1rem;
}

/* ==========================================
   HERO
   ========================================== */
.hero {
  min-height: calc(100vh - var(--nav-height));
  background: linear-gradient(140deg, #0D1F3C 0%, #1a3868 55%, #0D2847 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 72px 0 80px;
}

/* Dot grid */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

/* Accent glow orb */
.hero::after {
  content: '';
  position: absolute;
  top: 10%;
  right: -5%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14,165,233,0.1) 0%, transparent 65%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}

.hero__label::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background-color: var(--accent);
  border-radius: 2px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero__sub {
  font-size: 1.1875rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.65);
  margin-bottom: 44px;
  max-width: 580px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.hero__divider {
  margin-top: 72px;
  padding-top: 56px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero__niche-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}

.hero__niches {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__niche-tag {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.72);
  background-color: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 8px 16px;
  border-radius: 100px;
}

/* ==========================================
   CLIENT LOGOS
   ========================================== */
.client-logos {
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}

.client-logos__label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-gray);
  margin-bottom: 32px;
}

.client-logos__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-logo img {
  height: 60px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.55;
  transition: filter 0.2s, opacity 0.2s;
}

.client-logo img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

@media (max-width: 600px) {
  .client-logos__row {
    gap: 32px;
  }
  .client-logo img {
    height: 48px;
  }
}

/* ==========================================
   WHO WE SERVE
   ========================================== */
.serve-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.serve-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.serve-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(14,165,233,0.12);
  transform: translateY(-3px);
}

.serve-card__icon {
  width: 44px;
  height: 44px;
  background-color: rgba(14,165,233,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--accent);
}

.serve-card__icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.serve-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.serve-card p {
  font-size: 0.875rem;
  color: var(--text-gray);
  line-height: 1.65;
  margin: 0;
}

/* ==========================================
   SERVICE PILLARS
   ========================================== */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pillar {
  background-color: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, background-color 0.2s;
}

.pillar:hover {
  transform: translateY(-4px);
  background-color: rgba(255,255,255,0.07);
}

.pillar__number {
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(255,255,255,0.04);
  position: absolute;
  top: 16px;
  right: 20px;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}

.pillar__icon {
  width: 52px;
  height: 52px;
  background-color: rgba(14,165,233,0.15);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--accent);
}

.pillar__icon svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pillar h3 {
  font-size: 1.3125rem;
  margin-bottom: 12px;
}

.pillar__desc {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.58);
  margin-bottom: 28px;
  line-height: 1.75;
}

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

.pillar__tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
  background-color: rgba(14,165,233,0.1);
  color: var(--accent);
  border: 1px solid rgba(14,165,233,0.18);
}

.pillars__cta {
  text-align: center;
  margin-top: 48px;
}

/* ==========================================
   WHY HCO
   ========================================== */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 48px;
}

.diff-item {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.diff-item__icon {
  width: 44px;
  height: 44px;
  background-color: rgba(14,165,233,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.diff-item__icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.diff-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

.diff-item p {
  font-size: 0.9375rem;
  color: var(--text-gray);
  line-height: 1.7;
  margin: 0;
}

/* ==========================================
   TEAM GRID
   ========================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.team-card {
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background-color: var(--white);
}

.team-card__role {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.team-card__name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.team-card__bio {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: 0;
}

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

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

/* ==========================================
   NARRATIVE PAGE
   ========================================== */
.narrative {
  max-width: 680px;
  margin: 0 auto;
}

.narrative p {
  font-size: 1.0625rem;
  line-height: 1.875;
  color: var(--text-body);
  margin-bottom: 1.5rem;
}

.narrative__lead {
  font-size: 1.1875rem;
  line-height: 1.8;
  color: var(--text-dark);
  font-weight: 500;
  margin-bottom: 1.75rem;
}

.narrative__beat {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 56px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.narrative__beat::before {
  content: '';
  display: block;
  width: 24px;
  height: 1.5px;
  background-color: var(--accent);
  flex-shrink: 0;
}

.narrative__quote {
  border-left: 3px solid var(--accent);
  padding: 24px 32px;
  margin: 48px 0 0;
  background-color: var(--light-bg);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.narrative__quote p {
  font-size: 1.125rem;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.75;
  margin-bottom: 16px;
}

.narrative__quote cite {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-gray);
  font-style: normal;
}

.built-item {
  border-left: 2px solid var(--accent);
  padding: 2px 0 2px 24px;
  margin-bottom: 40px;
}

.built-item__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.built-item p {
  margin-bottom: 0;
}

.cta-banner__secondary {
  display: block;
  margin-top: 20px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.cta-banner__secondary:hover {
  color: var(--white);
}

/* ==========================================
   CTA BANNER
   ========================================== */
.cta-banner {
  background: linear-gradient(140deg, var(--navy-dark) 0%, var(--navy-brand) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}

.cta-banner__inner {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.62);
  margin-bottom: 40px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================
   PAGE HERO (inner pages)
   ========================================== */
.page-hero {
  background: linear-gradient(140deg, var(--navy-dark) 0%, #1a3868 60%, #0D2847 100%);
  padding: 64px 0 60px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}

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

.page-hero .section-label {
  margin-bottom: 14px;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 14px;
}

.page-hero p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.62);
  max-width: 580px;
  margin: 0;
  line-height: 1.75;
}

/* ==========================================
   SERVICES PAGE
   ========================================== */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.service-block:last-of-type {
  border-bottom: none;
}

.service-block--flip {
  direction: rtl;
}

.service-block--flip > * {
  direction: ltr;
}

.service-block .section-label {
  margin-bottom: 14px;
}

.service-block h2 {
  font-size: 1.875rem;
  margin-bottom: 14px;
}

.service-block__desc {
  font-size: 1.0625rem;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 32px;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-list__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.5;
}

.service-list__check {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 50%;
  background-color: rgba(14,165,233,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  flex-shrink: 0;
}

.service-list__check svg {
  width: 11px;
  height: 11px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Visual panels */
.service-visual {
  background: linear-gradient(135deg, var(--light-bg) 0%, #dce8f5 100%);
  border-radius: var(--radius-lg);
  padding: 40px;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.visual-svg {
  width: 100%;
  max-width: 320px;
  height: auto;
  display: block;
}

.service-visual::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14,165,233,0.1) 0%, transparent 70%);
}

.service-visual__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-gray);
  margin-bottom: 8px;
}

.visual-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: var(--white);
  padding: 12px 16px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-body);
}

.visual-item__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent);
  flex-shrink: 0;
}

.visual-item--connected::after {
  content: '';
  display: block;
  height: 1px;
  flex: 1;
  background: linear-gradient(to right, var(--border), transparent);
}

.visual-connector {
  display: flex;
  align-items: center;
  padding-left: 28px;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-gray);
}

.visual-connector::before {
  content: '';
  display: block;
  width: 1px;
  height: 20px;
  background-color: var(--border);
}

/* ==========================================
   ABOUT PAGE
   ========================================== */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-intro__content h2 {
  margin-bottom: 20px;
}

.about-intro__content p {
  font-size: 1.0625rem;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 1.1rem;
}

.about-intro__content p:last-child {
  margin-bottom: 0;
}

/* Team photo placeholder */
.team-photo-placeholder {
  background: linear-gradient(135deg, var(--light-bg) 0%, #dce8f5 100%);
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 2px dashed #CBD5E1;
  color: var(--text-gray);
}

.team-photo-placeholder svg {
  width: 48px;
  height: 48px;
  stroke: #94A3B8;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.team-photo-placeholder span {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #94A3B8;
}

/* Positioning bar */
.positioning-bar {
  background: linear-gradient(140deg, var(--navy-dark) 0%, var(--navy-brand) 100%);
  border-radius: var(--radius-lg);
  padding: 48px 56px;
  display: flex;
  gap: 56px;
  align-items: center;
}

.positioning-bar__text {
  flex: 1;
}

.positioning-bar__text h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.positioning-bar__text p {
  color: rgba(255,255,255,0.62);
  font-size: 1rem;
  margin: 0;
  line-height: 1.75;
}

.positioning-bar__badges {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

.position-badge {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background-color: rgba(14,165,233,0.12);
  border: 1px solid rgba(14,165,233,0.22);
  padding: 8px 18px;
  border-radius: 100px;
  white-space: nowrap;
}

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

.value-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.value-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(14,165,233,0.1);
  transform: translateY(-2px);
}

.value-card__icon {
  width: 44px;
  height: 44px;
  background-color: rgba(14,165,233,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}

.value-card__icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.value-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.value-card p {
  font-size: 0.9375rem;
  color: var(--text-gray);
  line-height: 1.7;
  margin: 0;
}

/* ==========================================
   CONTACT PAGE
   ========================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 16px;
}

.contact-info > p {
  font-size: 1.0625rem;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 40px;
}

.contact-reasons {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-reason {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-reason__icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background-color: rgba(14,165,233,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-top: 2px;
}

.contact-reason__icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-reason h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.contact-reason p {
  font-size: 0.875rem;
  color: var(--text-gray);
  line-height: 1.65;
  margin: 0;
}

/* Form card */
.contact-form-wrap {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.contact-form-wrap h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.contact-form-wrap > p {
  font-size: 0.9375rem;
  color: var(--text-gray);
  margin-bottom: 32px;
}

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

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

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 7px;
}

.required {
  color: var(--accent);
  margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  font-size: 0.9375rem;
  color: var(--text-dark);
  background-color: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #94A3B8;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(14,165,233,0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2364748B'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
  cursor: pointer;
}

.form-submit {
  width: 100%;
  padding: 14px 24px;
  background-color: var(--accent);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.15s, box-shadow 0.15s;
  margin-top: 4px;
}

.form-submit:hover {
  background-color: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(14,165,233,0.35);
}

.form-note {
  font-size: 0.8125rem;
  color: #94A3B8;
  text-align: center;
  margin-top: 16px;
  margin-bottom: 0;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background-color: #080F1E;
  color: rgba(255,255,255,0.55);
  padding: 64px 0 32px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand {
  overflow: hidden;
  height: 44px;
  margin-bottom: 16px;
}

.footer__brand img {
  height: 62px;
  width: auto;
  object-fit: cover;
  object-position: top left;
  filter: brightness(0) invert(1);
}

.footer__tagline {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.45);
  max-width: 280px;
  margin-bottom: 0;
}

.footer__col h5 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__link {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
}

.footer__link:hover {
  color: var(--white);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer__copyright {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.3);
}

.footer__policy {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.3);
  transition: color 0.2s;
}

.footer__policy:hover {
  color: rgba(255,255,255,0.6);
}

.contact-process {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.contact-process p {
  font-size: 0.9375rem;
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 0;
}

.contact-geo {
  margin-top: 12px;
  font-size: 0.875rem !important;
  color: var(--text-gray);
  opacity: 0.75;
}

/* ==========================================
   PLATFORMS SECTION
   ========================================== */
.platforms__heading {
  margin-top: 12px;
  margin-bottom: 8px;
}

.platforms__sub {
  color: var(--text-gray);
  margin-bottom: 48px;
  max-width: 540px;
}

.platforms__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 48px;
}

.platform-category__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.platform-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.platform-list li {
  font-size: 0.9375rem;
  color: var(--text-dark);
  padding: 5px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  gap: 8px;
}

.platform-list li:last-child {
  border-bottom: none;
}

.platform-tag {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-gray);
  background: rgba(0,0,0,0.07);
  padding: 2px 6px;
  border-radius: 3px;
}

/* ==========================================
   RESPONSIVE — TABLET (≤1024px)
   ========================================== */
@media (max-width: 1024px) {
  :root {
    --section-padding: 72px;
  }

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

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .service-block {
    gap: 48px;
  }

  .positioning-bar {
    padding: 40px 44px;
    gap: 40px;
  }
}

/* ==========================================
   RESPONSIVE — MOBILE (≤768px)
   ========================================== */
@media (max-width: 768px) {
  :root {
    --section-padding: 56px;
    --nav-height: 64px;
  }

  .nav__links,
  .nav__cta {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .hero {
    padding: 56px 0 64px;
  }

  .hero__divider {
    margin-top: 48px;
    padding-top: 40px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .serve-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pillars,
  .diff-grid,
  .values-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-block,
  .service-block--flip {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 40px;
    padding: 56px 0;
  }

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

  .positioning-bar {
    flex-direction: column;
    padding: 32px;
    gap: 28px;
  }

  .positioning-bar__badges {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .platforms__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 40px;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ==========================================
   RESPONSIVE — SMALL MOBILE (≤480px)
   ========================================== */
@media (max-width: 480px) {
  .contact-form-wrap {
    padding: 24px 20px;
  }

  .hero__niche-tag {
    font-size: 0.8125rem;
  }

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