*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --ink: #f3f5fb;
  --navy: #e9eef9;
  --navy-deep: #0b1324;
  --plum: #3e4f79;
  --cobalt: #5a79b8;
  --cyan: #4d7fa6;
  --mint: #8eaeb5;
  --sun: #b89b72;
  --rose: #9a7484;
  --paper: #0d1524;
  --white: #ffffff;
  --text: #e7edf7;
  --muted: #a8b4c9;
  --border: rgba(171, 184, 208, 0.14);
  --shadow: 0 16px 42px rgba(0, 0, 0, 0.24);
  --shadow-strong: 0 22px 64px rgba(0, 0, 0, 0.3);
  --radius: 24px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(92, 118, 156, 0.12), transparent 24%),
    radial-gradient(circle at top right, rgba(62, 79, 121, 0.12), transparent 28%),
    linear-gradient(180deg, #09111d 0%, #0f1727 100%);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 18, 33, 0.84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-inner,
.container,
.footer-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.nav-inner {
  position: relative;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

#navbar.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

#navbar.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

#navbar.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
}

.logo img,
.footer-logo img {
  display: block;
  width: auto;
  height: 40px;
}

.footer-logo img {
  height: 42px;
  margin: 0 auto;
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

nav ul a {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.94rem;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 999px;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

nav ul a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.nav-cta {
  color: var(--navy-deep) !important;
  background: linear-gradient(120deg, #d6dee9, #a9bacf);
}

.nav-active:not(.nav-cta) {
  color: var(--white) !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

/* ── Page header (sub-pages) ── */
.page-header {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 50%, rgba(77, 127, 166, 0.1), transparent 36%),
    radial-gradient(circle at 80% 30%, rgba(62, 79, 121, 0.1), transparent 30%),
    linear-gradient(140deg, #0c1424 0%, #111a2f 60%, #162138 100%);
  padding: 60px 0 58px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.22;
}

.page-header-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  max-width: 760px;
  padding-bottom: 6px;
}

.page-header h1 {
  font-family: "Manrope", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-weight: 800;
  font-size: clamp(1.75rem, 3.4vw, 2.7rem);
  line-height: 1.2;
  letter-spacing: -0.04em;
  color: var(--white);
  margin: 12px 0 20px;
  padding-bottom: 0.06em;
  overflow: visible;
  text-wrap: balance;
}

.page-header p {
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.7;
  max-width: 620px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 40px;
  color: var(--white);
  background:
    radial-gradient(circle at 15% 20%, rgba(154, 116, 132, 0.12), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(77, 127, 166, 0.14), transparent 26%),
    radial-gradient(circle at 60% 72%, rgba(184, 155, 114, 0.1), transparent 22%),
    linear-gradient(140deg, #0b1424 0%, #101a2e 48%, #162236 100%);
}

.hero-bg,
.hero-bg::before,
.hero-bg::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg::before {
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), transparent 92%);
  opacity: 0.08;
}

.hero-bg::after {
  content: "";
  inset: auto -8% -30% auto;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(142, 174, 181, 0.22), transparent 24%),
    radial-gradient(circle at 62% 42%, rgba(77, 127, 166, 0.18), transparent 30%),
    radial-gradient(circle at 48% 64%, rgba(154, 116, 132, 0.14), transparent 34%);
  filter: blur(44px);
  opacity: 0.4;
}

.hero-grid {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 42px;
  align-items: start;
}

.hero-content {
  max-width: 760px;
}

.hero-badge,
.panel-label,
.section-label,
.impact-kicker,
.exp-year {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  font-weight: 800;
}

.hero-badge {
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 18px;
}

.eyebrow {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 12px;
  font-size: 0.96rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.hero h1 {
  font-family: "Manrope", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-weight: 800;
  font-size: clamp(2.1rem, 4.1vw, 3.4rem);
  line-height: 1.24;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
  padding-bottom: 0.1em;
  text-wrap: balance;
}

.hero h1 span {
  display: inline-block;
  background: linear-gradient(120deg, #cfd9ea, #95aac5);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.04em;
}

.hero .sub,
.section-heading p,
.contact-text p {
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 680px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--navy-deep);
  background: linear-gradient(120deg, #d8e0ea, #aebfd3);
  box-shadow: 0 10px 28px rgba(12, 20, 36, 0.18);
}

.btn-ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-proof span,
.svc-tags span,
.track span {
  border-radius: 999px;
  font-weight: 700;
}

.hero-proof span {
  padding: 7px 14px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
}

.hero-panel {
  padding-top: 30px;
}

.panel-label {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
}

.panel-card {
  position: relative;
  margin-bottom: 16px;
  padding: 22px 22px 22px 24px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  border-radius: 22px;
}

.accent-one::before {
  background: linear-gradient(180deg, #9ab0bb, #5f7fa5);
}

.accent-two::before {
  background: linear-gradient(180deg, #5f7fa5, #7f8ca8);
}

.accent-three::before {
  background: linear-gradient(180deg, #b89b72, #8a7487);
}

.panel-card strong,
.service-card h3,
.impact-card strong,
.experience-card h3,
.tech-group h4,
.metric strong {
  display: block;
}

.panel-card strong {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.panel-card p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.hero-stats {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  margin: 36px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.stat {
  padding: 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.stat span {
  display: block;
  margin-bottom: 6px;
  font-family: "Manrope", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  background: linear-gradient(120deg, #cfd8e7, #98aabe);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat label {
  display: block;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.8rem;
  line-height: 1.5;
}

.section {
  padding: 100px 0;
}

.why-section {
  padding-bottom: 48px;
}

.section.alt {
  background:
    radial-gradient(circle at top right, rgba(90, 121, 184, 0.08), transparent 22%),
    linear-gradient(180deg, #0c1423 0%, #101827 100%);
}

.section-label {
  color: #8ea5c9;
  margin-bottom: 14px;
}

.section-label.light {
  color: #afc0c8;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 28px;
  align-items: end;
  margin-bottom: 42px;
}

h2 {
  font-family: "Manrope", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.28;
  letter-spacing: -0.04em;
  color: var(--text);
  padding-bottom: 0.06em;
  text-wrap: balance;
}

h2.light {
  color: var(--white);
}

.section-heading p {
  color: var(--muted);
  max-width: 420px;
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 34px;
}

.about-copy .lead {
  font-size: 1.14rem;
  color: #f7f8ff;
  margin-bottom: 18px;
}

.about-copy p {
  color: var(--muted);
  margin-bottom: 16px;
}

.capability-rail {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.capability-rail div,
.profile-card,
.service-card,
.impact-card,
.experience-card,
.tech-group,
.contact-box {
  border-radius: var(--radius);
}

.capability-rail div {
  padding: 18px 20px;
  background: linear-gradient(180deg, rgba(90, 121, 184, 0.1), rgba(184, 155, 114, 0.05));
  border: 1px solid rgba(180, 196, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), var(--shadow);
}

.capability-rail strong {
  display: block;
  color: #f8f9ff;
  margin-bottom: 4px;
}

.capability-rail span {
  color: var(--muted);
  font-size: 0.95rem;
}

.profile-card {
  padding: 28px;
  background:
    radial-gradient(circle at top right, rgba(142, 174, 181, 0.08), transparent 35%),
    linear-gradient(160deg, #0e1728 0%, #141f33 58%, #18243a 100%);
  color: var(--white);
  box-shadow: var(--shadow-strong);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.card-avatar {
  width: 68px;
  height: 68px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  font-family: "Manrope", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, #c7d4e3, #8ea5bf);
  color: #132033;
}

.card-name {
  font-size: 1.18rem;
  font-weight: 800;
}

.card-title {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.profile-metrics {
  display: grid;
  gap: 12px;
}

.metric {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
}

.metric span {
  display: block;
  color: rgba(255, 255, 255, 0.56);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  margin-bottom: 6px;
}

.metric strong {
  font-size: 0.96rem;
  line-height: 1.45;
}

.card-linkedin {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  margin-top: 18px;
  min-height: 50px;
  align-items: center;
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(207, 217, 234, 0.14), rgba(142, 165, 191, 0.18));
  border: 1px solid rgba(180, 196, 255, 0.14);
  color: var(--white);
  font-weight: 800;
}

.services-grid,
.impact-grid,
.experience-grid,
.tech-groups {
  display: grid;
  gap: 18px;
}

.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.service-card {
  padding: 28px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(18, 27, 45, 0.92), rgba(12, 18, 31, 0.96));
  border: 1px solid rgba(180, 196, 255, 0.12);
  box-shadow: var(--shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: auto -40px -70px auto;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(95, 127, 165, 0.12), transparent 65%);
  transition: transform 0.35s ease, opacity 0.35s ease;
  opacity: 0.7;
}

.service-card:hover,
.impact-card:hover,
.experience-card:hover,
.tech-group:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 48px rgba(10, 17, 29, 0.22);
}

.service-card:hover::after {
  transform: scale(1.08);
  opacity: 0.85;
}

.svc-icon,
.ci-icon {
  display: grid;
  place-items: center;
}

.svc-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  color: var(--navy-deep);
  border-radius: 18px;
  background: linear-gradient(135deg, #d4dde9, #9db1c6);
  box-shadow: 0 8px 20px rgba(10, 17, 29, 0.16);
}

.svc-icon svg {
  width: 24px;
  height: 24px;
}

.service-card h3 {
  font-size: 1.08rem;
  color: #f5f7ff;
  margin-bottom: 10px;
}

.service-card p,
.impact-card p,
.experience-card p,
.tech-group p {
  color: var(--muted);
  font-size: 0.94rem;
}

.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.svc-tags span {
  padding: 6px 12px;
  font-size: 0.75rem;
  color: #d8dfec;
  background: linear-gradient(120deg, rgba(62, 79, 121, 0.22), rgba(77, 127, 166, 0.12));
  border: 1px solid rgba(180, 196, 255, 0.12);
}

.impact-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 28px;
}

.impact-card {
  padding: 24px;
  background: linear-gradient(180deg, rgba(17, 25, 42, 0.94), rgba(11, 17, 29, 0.98));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.impact-card.spotlight {
  background:
    radial-gradient(circle at top right, rgba(142, 174, 181, 0.14), transparent 36%),
    linear-gradient(160deg, #121b31 0%, #17233a 100%);
  border-color: rgba(142, 165, 191, 0.2);
}

.impact-card.spotlight strong,
.impact-card.spotlight p,
.impact-card.spotlight .impact-kicker {
  color: var(--white);
}

.impact-kicker {
  margin-bottom: 10px;
  color: #afc0c8;
}

.impact-card strong {
  font-family: "Manrope", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.34;
  letter-spacing: -0.03em;
  color: #f5f7ff;
  margin-bottom: 10px;
}

.track-wrap {
  position: relative;
  overflow: hidden;
  margin: 26px 0 34px;
  padding: 12px 0;
}

.track-wrap::before,
.track-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 90px;
  z-index: 1;
}

.track-wrap::before {
  left: 0;
  background: linear-gradient(90deg, #050711, rgba(5, 7, 17, 0));
}

.track-wrap::after {
  right: 0;
  background: linear-gradient(270deg, #050711, rgba(5, 7, 17, 0));
}

.track {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  gap: 12px;
  animation: none;
}

.track span {
  padding: 10px 18px;
  font-size: 0.86rem;
  color: #f5f7ff;
  background: linear-gradient(120deg, rgba(184, 155, 114, 0.12), rgba(77, 127, 166, 0.12));
  border: 1px solid rgba(180, 196, 255, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.experience-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.experience-card {
  padding: 24px;
  background: linear-gradient(180deg, rgba(17, 25, 41, 0.96), rgba(11, 17, 29, 0.98));
  border: 1px solid rgba(180, 196, 255, 0.12);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.exp-year {
  color: #8ea5c9;
  margin-bottom: 10px;
}

.experience-card h3 {
  font-size: 1rem;
  color: #f5f7ff;
  margin-bottom: 10px;
}

.tech-groups {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tech-group {
  padding: 24px;
  border: 1px solid rgba(171, 184, 208, 0.1);
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, rgba(17, 24, 40, 0.95), rgba(11, 17, 29, 0.98));
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tech-group h4 {
  font-size: 0.78rem;
  color: #f5f7ff;
  margin-bottom: 12px;
}

.tint-a { background: linear-gradient(180deg, rgba(142, 174, 181, 0.1), rgba(11, 17, 29, 0.98)); }
.tint-b { background: linear-gradient(180deg, rgba(77, 127, 166, 0.1), rgba(11, 17, 29, 0.98)); }
.tint-c { background: linear-gradient(180deg, rgba(184, 155, 114, 0.1), rgba(11, 17, 29, 0.98)); }
.tint-d { background: linear-gradient(180deg, rgba(154, 116, 132, 0.1), rgba(11, 17, 29, 0.98)); }
.tint-e { background: linear-gradient(180deg, rgba(62, 79, 121, 0.12), rgba(11, 17, 29, 0.98)); }
.tint-f { background: linear-gradient(180deg, rgba(90, 121, 184, 0.12), rgba(11, 17, 29, 0.98)); }
.tint-g { background: linear-gradient(180deg, rgba(120, 180, 140, 0.12), rgba(11, 17, 29, 0.98)); }
.tint-h { background: linear-gradient(180deg, rgba(200, 140, 80, 0.12), rgba(11, 17, 29, 0.98)); }

.contact-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(184, 155, 114, 0.12), transparent 24%),
    radial-gradient(circle at 80% 24%, rgba(77, 127, 166, 0.12), transparent 26%),
    linear-gradient(150deg, #0d1626 0%, #121d31 55%, #172438 100%);
}

.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 76px 76px;
  opacity: 0.07;
}

.contact-grid {
  position: relative;
  z-index: 1;
  align-items: center;
}

.contact-box {
  padding: 28px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-item + .contact-item {
  margin-top: 18px;
}

.contact-item strong {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.58);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
}

.contact-item div:last-child,
.contact-item a {
  color: rgba(255, 255, 255, 0.88);
}

.ci-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 16px;
  color: var(--navy-deep);
  background: linear-gradient(135deg, #d4dde9, #9db1c6);
}

.ci-icon svg {
  width: 20px;
  height: 20px;
}

/* Contact form */
.contact-details {
  margin-top: 28px;
}

.contact-form-wrap {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 32px;
  backdrop-filter: blur(16px);
}

#contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 11px 15px;
  color: rgba(255, 255, 255, 0.9);
  font-family: "Manrope", sans-serif;
  font-size: 0.92rem;
  outline: none;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.18s, background 0.18s;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.45)' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.form-group select option {
  background: #121d31;
  color: rgba(255, 255, 255, 0.9);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.28);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--cobalt);
  background: rgba(33, 102, 255, 0.06);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

.form-status {
  padding: 13px 16px;
  border-radius: 10px;
  font-size: 0.88rem;
  line-height: 1.5;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(143, 241, 215, 0.1);
  border: 1px solid rgba(143, 241, 215, 0.3);
  color: var(--mint);
}

.form-status.error {
  display: block;
  background: rgba(255, 95, 162, 0.1);
  border: 1px solid rgba(255, 95, 162, 0.3);
  color: #ff8fc4;
}

.form-submit {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

footer {
  padding: 32px 0 42px;
  background: #09101a;
  text-align: center;
}

footer p {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.9rem;
}

.footer-copy {
  margin-top: 6px;
}

/* Why M Lab section */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.why-card {
  padding: 32px 28px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.22s, box-shadow 0.22s;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
}

.why-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 12px;
  background: rgba(33, 102, 255, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  color: var(--cyan);
  flex: 0 0 44px;
  overflow: hidden;
}

.why-icon svg {
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
  flex: 0 0 22px;
}

.why-card h3 {
  font-family: "Syne", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.why-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  margin: 0;
}

/* ROI section */
.roi-title {
  font-family: "Manrope", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  line-height: 1.22;
  letter-spacing: -0.03em;
  padding-bottom: 0.08em;
}

.section-sub {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 1rem;
  line-height: 1.7;
  margin-top: 10px;
}

.roi-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 24px;
}

.roi-group-label {
  font-family: "Syne", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mint);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.roi-group-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.roi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.roi-card {
  padding: 32px 26px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.22s, box-shadow 0.22s;
}

.roi-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.24);
}

.roi-metric {
  font-family: "Manrope", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(2rem, 3.6vw, 2.65rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  background: linear-gradient(120deg, #cfd8e7, #98aabe);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.04em;
}

.roi-label {
  font-family: "Manrope", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.34;
  letter-spacing: -0.02em;
}

.roi-card p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.65;
  flex: 1;
  margin: 0;
}

.roi-area {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: #aac0d8;
  background: rgba(77, 127, 166, 0.14);
  border-radius: 100px;
  padding: 5px 13px;
  margin-top: 4px;
  align-self: flex-start;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .section-heading,
  .about-grid,
  .contact-grid,
  .roi-grid,
  .impact-grid,
  .experience-grid,
  .tech-groups {
    grid-template-columns: 1fr 1fr;
  }

  .roi-groups,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    padding-top: 0;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero h1 {
    font-size: clamp(2.35rem, 4.8vw, 3.7rem);
  }

  .page-header h1 {
    font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  }
}

@media (max-width: 720px) {
  .nav-inner,
  .container,
  .footer-inner,
  .hero-grid,
  .hero-stats,
  .page-header-inner {
    width: min(100% - 32px, 1180px);
  }

  .logo img,
  .footer-logo img {
    height: 34px;
  }

  .nav-inner {
    min-height: 68px;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  nav ul {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding-top: 8px;
  }

  #navbar.nav-open ul {
    display: flex;
  }

  nav ul li,
  nav ul li:not(:last-child) {
    display: block;
    width: 100%;
  }

  nav ul a {
    display: block;
    width: 100%;
    padding: 12px 14px;
  }

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

  .section,
  .hero {
    padding-top: 76px;
  }

  .section {
    padding-bottom: 76px;
  }

  .hero h1 {
    font-size: clamp(2rem, 9vw, 2.7rem);
    line-height: 1.3;
  }

  .page-header {
    padding: 48px 0 48px;
  }

  .page-header h1 {
    font-size: clamp(1.55rem, 7vw, 2rem);
    line-height: 1.18;
    padding-bottom: 0.06em;
  }

  .page-header p,
  .hero .sub,
  .section-heading p,
  .contact-text p,
  .about-copy .lead {
    font-size: 0.94rem;
  }

  .hero-stats,
  .section-heading,
  .roi-grid,
  .roi-groups,
  .impact-grid,
  .experience-grid,
  .tech-groups {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    gap: 12px;
  }

  .btn {
    width: 100%;
  }

  .hero-proof span,
  .track span {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .profile-top {
    align-items: flex-start;
  }

  .contact-box,
  .profile-card,
  .service-card,
  .impact-card,
  .experience-card,
  .tech-group {
    padding: 22px;
  }

  .track-wrap::before,
  .track-wrap::after {
    width: 40px;
  }
}
