/* ============================================================
   2CHINA — Premium China Gateway
   ============================================================ */
:root {
  --blue: #407AF3;
  --dark-blue: #001D5F;
  --type-blue: #1975F4;
  --dark: #0F172A;
  --white: #FFFFFF;
  --gray: #F8FAFC;
  --text: #1E293B;
  --text-light: #64748B;
  --border: #E2E8F0;
  --nav-h: 80px;
  --font: 'Montserrat', 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --shadow-sm: 0 2px 12px rgba(15, 23, 42, .06);
  --shadow-md: 0 12px 32px rgba(15, 23, 42, .10);
  --shadow-lg: 0 24px 64px rgba(15, 23, 42, .16);
  --glow: 0 8px 30px rgba(64, 122, 243, .45);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

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

html { scroll-behavior: smooth; }

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

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

.container { max-width: 1280px; margin: 0 auto; padding: 0 48px; }
.section { padding: 120px 0; }

.section-title {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--dark-blue);
  text-align: center;
}
.section-head { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.section-subtitle {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600;
  color: var(--type-blue);
  margin-top: 14px;
}
.section-desc { color: var(--text-light); margin-top: 16px; font-size: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 34px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .02em;
  transition: transform .3s ease-out, box-shadow .3s ease-out, background .3s ease-out, color .3s ease-out;
  will-change: transform;
}
.btn:hover { transform: scale(1.05); }
.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(64, 122, 243, .35);
}
.btn-primary:hover { box-shadow: var(--glow); background: var(--type-blue); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, .75);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .12); box-shadow: 0 8px 30px rgba(255, 255, 255, .18); }

/* ---------- Custom cursor ---------- */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--blue);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .25s var(--ease), height .25s var(--ease), opacity .25s;
  opacity: 0;
  mix-blend-mode: multiply;
}
.cursor.visible { opacity: .85; }
.cursor.hovered { width: 38px; height: 38px; opacity: .35; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  z-index: 900;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 64px; width: auto; }

.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.nav-links-pill {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  border-radius: 999px;
  transition: background .3s ease-out, box-shadow .3s ease-out;
}
.nav.scrolled .nav-links-pill {
  background: rgba(226, 232, 240, .88);
  box-shadow: 0 4px 18px rgba(15, 23, 42, .10);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.nav-links-pill a {
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--white);
  padding: 8px 16px;
  border-radius: 999px;
  transition: color .3s ease-out;
}
.nav.scrolled .nav-links-pill a { color: var(--dark-blue); }
.nav-links-pill a:hover { color: var(--type-blue); }

.nav-right { display: flex; align-items: center; gap: 18px; }
.btn-nav { padding: 12px 26px; font-size: 14px; }

.menu-btn { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.menu-btn span {
  display: block; width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: background .3s ease-out;
}
.nav.scrolled .menu-btn span { background: var(--dark-blue); }

.lang-selector { position: relative; }
.lang-current {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  padding: 8px 12px;
  border-radius: 999px;
  transition: color .3s ease-out, background .3s ease-out, box-shadow .3s ease-out;
}
.lang-current svg { width: 20px; height: 20px; display: block; }
.lang-current:hover { color: var(--type-blue); }
.nav.scrolled .lang-current {
  color: var(--dark-blue);
  background: rgba(226, 232, 240, .88);
  box-shadow: 0 4px 18px rgba(15, 23, 42, .10);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.lang-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  min-width: 190px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .25s ease-out, transform .25s ease-out, visibility .25s;
}
.lang-selector.open .lang-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-dropdown li {
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  color: var(--text);
  transition: background .2s, color .2s;
}
.lang-dropdown li:hover { background: var(--gray); color: var(--type-blue); }
.lang-dropdown li.active { color: var(--type-blue); font-weight: 700; }

/* ---------- Drawer ---------- */
.drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(15, 23, 42, .45);
  backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s;
  z-index: 950;
}
.drawer-overlay.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: min(360px, 84vw);
  background: var(--white);
  z-index: 960;
  transform: translateX(-100%);
  transition: transform .5s var(--ease);
  padding: 100px 48px 48px;
  box-shadow: var(--shadow-lg);
}
.drawer.open { transform: translateX(0); }
.drawer-close {
  position: absolute;
  top: 26px; right: 28px;
  font-size: 34px;
  line-height: 1;
  color: var(--dark-blue);
}
.drawer-nav { display: flex; flex-direction: column; gap: 8px; }
.drawer-nav a {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--dark-blue);
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  transition: color .25s, padding-left .25s var(--ease);
}
.drawer-nav a:hover { color: var(--type-blue); padding-left: 10px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url("assets/images/hero.png") no-repeat;
  will-change: background-position;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0, 29, 95, .28) 0%, rgba(15, 23, 42, .18) 45%, rgba(15, 23, 42, .45) 100%);
}
.hero-logo {
  position: absolute;
  z-index: 2;
  filter: drop-shadow(0 14px 34px rgba(0, 29, 95, .45));
}
.hero-text {
  position: absolute;
  z-index: 2;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: min(92vw, 880px);
}
.hero-title {
  margin-top: 0;
  font-size: clamp(26px, 3.4vw, 44px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: .01em;
  line-height: 1.2;
  text-shadow: 0 4px 30px rgba(0, 29, 95, .45);
}
.hero-subtitle {
  margin-top: 14px;
  font-size: clamp(19px, 2.3vw, 27px);
  font-weight: 500;
  color: rgba(255, 255, 255, .94);
  letter-spacing: .03em;
  text-shadow: 0 2px 18px rgba(0, 29, 95, .4);
}
.btn-hero { margin-top: 34px; }
.hero-scroll-hint {
  position: absolute;
  bottom: 34px; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 44px;
  border: 2px solid rgba(255, 255, 255, .6);
  border-radius: 14px;
  z-index: 2;
}
.hero-scroll-hint span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--white);
  animation: scrollHint 1.8s ease-in-out infinite;
}
@keyframes scrollHint {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- Why 2China ---------- */
.why { background: var(--white); }
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 56px;
}
.vm-card {
  background: var(--gray);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 56px 48px;
  transition: transform .3s ease-out, box-shadow .3s ease-out, background .3s ease-out, border-color .3s ease-out;
}
.vm-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 44px rgba(64, 122, 243, .4);
  background: var(--blue);
  border-color: var(--blue);
}
.vm-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .22em;
  color: var(--type-blue);
  padding-bottom: 12px;
  margin-bottom: 20px;
  border-bottom: 3px solid var(--blue);
  transition: color .3s ease-out, border-color .3s ease-out;
}
.vm-card p {
  font-size: 19px;
  line-height: 1.7;
  color: var(--text);
  font-weight: 500;
  transition: color .3s ease-out;
}
.vm-card:hover .vm-tag { color: var(--white); border-color: rgba(255, 255, 255, .8); }
.vm-card:hover p { color: var(--white); }

.gap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 72px;
}
.gap-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 28px;
  transition: transform .3s ease-out, box-shadow .3s ease-out, background .3s ease-out, border-color .3s ease-out;
  overflow: hidden;
}
.gap-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 16px 44px rgba(64, 122, 243, .4);
  background: var(--blue);
  border-color: var(--blue);
}
.gap-num {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .18em;
  color: var(--blue);
  transition: color .3s ease-out;
}
.gap-icon {
  width: 46px; height: 46px;
  margin: 18px 0;
  color: var(--dark-blue);
  transition: transform .3s ease-out, color .3s ease-out;
}
.gap-card:hover .gap-icon { transform: scale(1.12) rotate(-4deg); color: var(--white); }
.gap-icon svg { width: 100%; height: 100%; }
.gap-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark-blue);
  transition: color .3s ease-out;
}
.gap-card p {
  font-size: 14.5px;
  color: var(--text-light);
  margin-top: 10px;
  max-height: 0;
  opacity: 0;
  transition: max-height .3s ease-out, opacity .3s ease-out, color .3s ease-out;
}
.gap-card:hover .gap-num,
.gap-card:hover h3 { color: var(--white); }
.gap-card:hover p { max-height: 140px; opacity: 1; color: rgba(255, 255, 255, .88); }
@media (hover: none) { .gap-card p { max-height: none; opacity: 1; } }

/* ---------- Founding team ---------- */
.team { background: var(--gray); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.team-card {
  position: relative;
  cursor: pointer;
  transition: transform .4s var(--ease);
}
.team-card:hover { transform: translateY(-8px); }
.team-card .tc-photo {
  aspect-ratio: 900 / 692;
  overflow: hidden;
  border-radius: 20px;
}
.tc-photo.tone-1 { background: linear-gradient(to bottom, transparent 0%, transparent 50%, #FF8C42 62.5%, #FF8C42 100%); }
.tc-photo.tone-2 { background: linear-gradient(to bottom, transparent 0%, transparent 50%, var(--blue) 62.5%, var(--blue) 100%); }
.tc-photo.tone-3 { background: linear-gradient(to bottom, transparent 0%, transparent 50%, var(--dark-blue) 62.5%, var(--dark-blue) 100%); }
.team-card .tc-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card .tc-info {
  padding: 18px 0 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.tc-info h3 { font-size: 19px; font-weight: 700; color: var(--dark-blue); }
.tc-info .tc-country {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--type-blue);
  margin-top: 6px;
}
.tc-info .tc-role { font-size: 14px; color: var(--text-light); margin-top: 6px; }

/* Founder modal */
.founder-overlay {
  position: fixed; inset: 0;
  background: rgba(15, 23, 42, .35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 970;
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s var(--ease), visibility .6s;
  padding: 24px;
}
.founder-overlay.open { opacity: 1; visibility: visible; }
.founder-modal {
  background: var(--white);
  border-radius: 28px;
  max-width: 880px;
  width: 100%;
  max-height: 88vh;
  overflow: auto;
  display: grid;
  grid-template-columns: 42% 58%;
  transform: scale(.86) translateY(30px);
  transition: transform .6s var(--ease);
  box-shadow: var(--shadow-lg);
}
.founder-overlay.open .founder-modal { transform: scale(1) translateY(0); }
.founder-modal .fm-photo { min-height: 420px; }
.founder-modal .fm-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-modal .fm-body { padding: 52px 48px; position: relative; }
.fm-close {
  position: absolute;
  top: 20px; right: 24px;
  font-size: 30px;
  color: var(--dark-blue);
  line-height: 1;
}
.fm-body .tc-country { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--type-blue); }
.fm-body h3 { font-size: 30px; font-weight: 800; color: var(--dark-blue); margin-top: 8px; }
.fm-body .fm-role { font-size: 16px; font-weight: 600; color: var(--text); margin-top: 8px; }
.fm-body .fm-bio { font-size: 15.5px; color: var(--text-light); margin-top: 20px; line-height: 1.8; }

/* ---------- Services ---------- */
.services { background: var(--white); }
.services-tagline {
  font-size: 15px;
  color: var(--text-light);
  margin-top: 14px;
  white-space: nowrap;
}
.services-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: stretch;
}
.services-left { display: flex; flex-direction: column; gap: 30px; }
.services-catinfo[hidden] { display: none; }
.services-catinfo h3 {
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--dark-blue);
}
.services-catinfo .catinfo-sub {
  margin-top: 8px;
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 600;
  color: var(--type-blue);
}
.services-catinfo .catinfo-desc {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-light);
}
.services-media {
  display: flex;
  align-items: center;
  justify-content: center;
}
.services-media.is-logo { min-height: 520px; }
.services-media img { transition: opacity .3s ease-out; }
.services-media.is-logo img {
  width: 62%;
  object-fit: contain;
  filter: drop-shadow(0 18px 44px rgba(0, 29, 95, .18));
}
.services-media:not(.is-logo) img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
}
.services-media img.fading { opacity: 0; }

.services-right {
  display: flex;
  flex-direction: column;
  min-height: 520px;
}
.svc-pane {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  transition: opacity .3s ease-out, transform .3s ease-out;
}
.svc-pane.pane-out { opacity: 0; transform: translateY(14px); }

.cat-box {
  flex: 1;
  width: 100%;
  text-align: left;
  background: var(--gray);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform .3s ease-out, box-shadow .3s ease-out, border-color .3s ease-out;
}
.cat-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(64, 122, 243, .45);
}
.cat-box h3 {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--dark-blue);
}
.cat-box p {
  margin-top: 10px;
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.7;
}

.detail-head { display: flex; justify-content: flex-end; margin-bottom: 4px; }
.detail-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--type-blue);
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  transition: all .3s ease-out;
}
.detail-back:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  box-shadow: 0 6px 20px rgba(64, 122, 243, .35);
}
.detail-list { display: flex; flex-direction: column; gap: 12px; }

.svc-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  text-align: left;
  background: var(--gray);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px 22px;
  transition: transform .3s ease-out, box-shadow .3s ease-out, border-color .3s ease-out;
}
.svc-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(64, 122, 243, .45);
}
.svc-icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--type-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  transition: background .3s ease-out, color .3s ease-out, border-color .3s ease-out;
}
.svc-icon svg { width: 100%; height: 100%; }
.svc-item:hover .svc-icon { background: var(--blue); color: var(--white); border-color: var(--blue); }
.svc-item-text { flex: 1; display: flex; flex-direction: column; }
.svc-item-text h4 { font-size: 17px; font-weight: 700; color: var(--dark-blue); }
.svc-item-text p { font-size: 13.5px; color: var(--text-light); margin-top: 6px; line-height: 1.55; }
.svc-arrow {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--type-blue);
  font-size: 18px;
  transition: all .3s ease-out;
}
.svc-item:hover .svc-arrow { background: var(--blue); color: var(--white); border-color: var(--blue); }

/* Subservice popup — occupies the right 50% of the screen */
.svc-popup {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50vw;
  min-width: 480px;
  background: var(--white);
  z-index: 850;
  box-shadow: -24px 0 64px rgba(15, 23, 42, .18);
  transform: translateX(103%);
  visibility: hidden;
  transition: transform .35s ease-out, visibility .35s;
  display: flex;
  flex-direction: column;
  padding: 150px 64px 64px;
  overflow-y: auto;
}
.svc-popup.open { transform: translateX(0); visibility: visible; }
.svc-popup-close {
  position: absolute;
  top: 104px;
  right: 36px;
  font-size: 34px;
  line-height: 1;
  color: var(--dark-blue);
  transition: color .25s ease-out, transform .25s ease-out;
}
.svc-popup-close:hover { color: var(--type-blue); transform: scale(1.12); }
.svc-popup-title {
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 800;
  color: var(--dark-blue);
  text-align: center;
}
.svc-popup-desc {
  margin-top: 24px;
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--text-light);
  text-align: center;
  max-width: 46ch;
  margin-left: auto;
  margin-right: auto;
}
.svc-popup-cta { margin: auto auto 0; }
.svc-popup-desc { margin-bottom: 48px; }

/* ---------- How it works ---------- */
.how { background: var(--white); }
.how-big {
  font-size: clamp(24px, 2.8vw, 38px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin-top: 18px;
}
.steps-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 34px 24px;
  text-align: center;
  transition: background .3s ease-out, box-shadow .3s ease-out, transform .3s ease-out, border-color .3s ease-out;
}
.step-card .step-num {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .24em;
  color: var(--blue);
  transition: color .3s ease-out;
}
.step-card .step-icon {
  width: 56px; height: 56px;
  margin: 20px auto 18px;
  color: var(--dark-blue);
  transition: color .3s ease-out, transform .3s ease-out;
}
.step-card .step-icon svg { width: 100%; height: 100%; }
.step-card h3 { font-size: 16.5px; font-weight: 700; color: var(--dark-blue); transition: color .3s ease-out; }
.step-card p { font-size: 13.5px; color: var(--text-light); margin-top: 10px; transition: color .3s ease-out; }
.step-card:hover {
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 16px 44px rgba(64, 122, 243, .5);
  transform: translateY(-8px);
}
.step-card:hover .step-num,
.step-card:hover h3 { color: var(--white); }
.step-card:hover p { color: rgba(255, 255, 255, .85); }
.step-card:hover .step-icon { color: var(--white); transform: scale(1.1); }

/* ---------- Final CTA (mirrors hero) ---------- */
.final-cta {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
}
.final-cta-bg {
  position: absolute;
  inset: 0;
  background: url("assets/images/hero.png") no-repeat;
  will-change: background-position;
}
.cta-logo {
  position: absolute;
  z-index: 2;
  filter: drop-shadow(0 14px 34px rgba(0, 29, 95, .45));
}
.cta-text {
  position: absolute;
  z-index: 2;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: min(92vw, 880px);
}
.cta-text h2 {
  margin-top: 0;
  font-size: clamp(26px, 3.4vw, 44px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  text-shadow: 0 4px 30px rgba(0, 29, 95, .45);
}
.cta-text p {
  font-size: clamp(19px, 2.3vw, 27px);
  font-weight: 500;
  color: rgba(255, 255, 255, .94);
  margin-top: 14px;
  text-shadow: 0 2px 18px rgba(0, 29, 95, .4);
}
.cta-buttons { display: flex; gap: 18px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact { background: var(--gray); }
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 80px;
  align-items: start;
}
.contact-form-col .section-title,
.contact-form-col .section-desc { text-align: left; }
.contact-form { margin-top: 36px; }
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dark-blue);
  margin-bottom: 8px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 15px 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  transition: border-color .25s, box-shadow .25s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(64, 122, 243, .14);
}
.form-row textarea { resize: vertical; }
.btn-send { width: 100%; }
.form-status { margin-top: 16px; font-size: 14.5px; font-weight: 600; min-height: 22px; }
.form-status.ok { color: #15803D; }
.form-status.err { color: #DC2626; }

.contact-info-col {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 48px 44px;
  box-shadow: var(--shadow-sm);
}
.contact-logo { width: 84px; }
.contact-tagline { font-size: 17px; font-weight: 600; color: var(--dark-blue); margin-top: 18px; }
.contact-info-block { margin-top: 30px; }
.contact-info-block h4 {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--type-blue);
  margin-bottom: 10px;
}
.contact-info-block a { color: var(--text); font-size: 15px; word-break: break-all; }
.contact-info-block a:hover { color: var(--type-blue); }
.social-links { display: flex; gap: 14px; flex-wrap: wrap; }
.social-links a {
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: all .3s ease-out;
}
.social-links a:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: var(--white); padding: 72px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.footer-brand img { width: 72px; filter: drop-shadow(0 0 16px rgba(64, 122, 243, .55)) brightness(1.25); }
.footer-brand p { margin-top: 16px; color: rgba(255, 255, 255, .7); font-size: 15px; }
.footer-nav { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .14em;
  color: rgba(255, 255, 255, .85);
  transition: color .25s, padding-left .25s var(--ease);
}
.footer-nav a:hover { color: var(--blue); padding-left: 6px; }
.footer-social { display: flex; flex-direction: column; gap: 12px; }
.footer-social a { font-size: 14.5px; color: rgba(255, 255, 255, .7); transition: color .25s; }
.footer-social a:hover { color: var(--white); }
.footer-bottom {
  margin-top: 56px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 24px;
  text-align: center;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .55);
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .gap-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-track { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .menu-btn { display: flex; }
  .nav-logo img { height: 46px; }
  .services-split { grid-template-columns: 1fr; gap: 32px; }
  .services-media.is-logo { min-height: 340px; }
  .services-right { min-height: 0; }
  .svc-popup { width: 100vw; min-width: 0; padding: 120px 32px 48px; }
  .svc-popup-close { top: 88px; right: 24px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .founder-modal { grid-template-columns: 1fr; }
  .founder-modal .fm-photo { min-height: 300px; max-height: 340px; }
  .services-tagline { white-space: normal; }
}
@media (max-width: 720px) {
  .container { padding: 0 24px; }
  .section { padding: 84px 0; }
  .nav { padding: 0 16px; }
  .nav-right { gap: 8px; }
  .btn-nav { padding: 10px 16px; font-size: 12px; }
  .vm-grid, .team-grid { grid-template-columns: 1fr; }
  .steps-track { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .vm-card { padding: 40px 30px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
