/* ============================================================
   TWE Technologies — Main Stylesheet
   Technology. Workflow. Efficiency.
   ============================================================ */

/* --- CSS Variables --- */
:root {
  --navy: #0d1b34;
  --navy-2: #14284d;
  --blue: #1f5eff;
  --blue-2: #4a86ff;
  --blue-light: #eef4ff;
  --blue-light-2: #f0f5ff;
  --ink: #18263d;
  --muted: #607189;
  --muted-2: #8a9ab5;
  --line: #d9e4f1;
  --bg: #f8fafd;
  --white: #ffffff;
  --success: #059669;
  --success-bg: #ecfdf5;
  --gold: #f5c451;
  --shadow-sm: 0 2px 8px rgba(13,27,52,.06);
  --shadow: 0 8px 28px rgba(13,27,52,.09);
  --shadow-md: 0 14px 40px rgba(13,27,52,.12);
  --shadow-lg: 0 22px 55px rgba(13,27,52,.16);
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --max-width: 1180px;
  --transition: .18s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; }

/* --- Layout --- */
.container {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
}
.section {
  padding: 88px 0;
}
.section-dark {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--white);
}
.section-light {
  background: var(--blue-light-2);
}

/* --- Typography --- */
h1 { font-size: clamp(2.4rem, 4.5vw, 4rem); font-weight: 900; line-height: 1.06; letter-spacing: -.04em; }
h2 { font-size: clamp(1.9rem, 3vw, 2.8rem); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; }
h3 { font-size: 1.15rem; font-weight: 700; line-height: 1.3; }
h4 { font-size: 1rem; font-weight: 700; }
p { color: var(--muted); line-height: 1.7; }
strong { color: var(--ink); }

.section-header { max-width: 680px; margin-bottom: 48px; }
.section-header.centered { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-lead { font-size: 1.08rem; color: var(--muted); margin-top: 14px; max-width: 60ch; }
.section-lead.centered-text { margin: 14px auto 0; }
.light-text { color: rgba(255,255,255,.72) !important; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 800;
  font-size: .94rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: var(--white);
  box-shadow: 0 8px 28px rgba(31,94,255,.3);
}
.btn-primary:hover {
  box-shadow: 0 14px 38px rgba(31,94,255,.42);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-light);
}
.btn-ghost {
  background: transparent;
  color: var(--muted);
  border-color: var(--line);
}
.btn-ghost:hover { color: var(--navy); border-color: var(--navy); }
.btn-lg { padding: 16px 30px; font-size: 1rem; }
.btn-full { width: 100%; }
.btn i { font-size: .9em; }

/* --- Eyebrow Tag --- */
.eyebrow-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--blue-light);
  color: var(--blue);
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow-tag.light {
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.9);
}

/* --- Inline Link --- */
.inline-link {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* ============================================================
   UTILITY BAR
   ============================================================ */
.utility-bar {
  background: var(--navy);
  color: var(--white);
}
.utility-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  flex-wrap: wrap;
}
.utility-left, .utility-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.util-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .82rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.88);
  transition: var(--transition);
}
.util-chip:hover {
  background: rgba(255,255,255,.16);
  color: var(--white);
}
.util-chip i { font-size: .85em; }
.util-social {
  padding: 6px 10px !important;
  font-size: .9rem !important;
}
.badge {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  color: rgba(255,255,255,.65);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .04em;
}


/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 18px rgba(13,27,52,.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 104px;
}
.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
/* Header logo — real PNG, white bg blends away on white header */
.brand-logo-img {
  height: 88px;
  width: auto;
  display: block;
  mix-blend-mode: multiply;
  transition: opacity .18s ease;
}
.brand-logo-img:hover { opacity: .7; }

/* Footer logo — white pill so black artwork reads on dark navy */
.footer-logo-img {
  height: 30px;
  width: auto;
  display: block;
  background: var(--white);
  border-radius: 6px;
  padding: 3px 10px;
  flex-shrink: 0;
}
.brand-copy strong {
  display: block;
  font-size: .98rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}
.brand-copy span {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.primary-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.primary-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .92rem;
  color: var(--muted);
  transition: var(--transition);
}
.primary-nav a:hover {
  color: var(--blue);
  background: var(--blue-light);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
}
.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}
.mobile-menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 2px;
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 14px 20px 20px;
}
.mobile-nav.open { display: flex; }
.mobile-nav-link {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  color: var(--ink);
  transition: var(--transition);
}
.mobile-nav-link:hover { background: var(--blue-light); color: var(--blue); }
.mobile-cta { margin-top: 10px; justify-content: center; }


/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  padding: 80px 0 72px;
  background: linear-gradient(180deg, #f4f8ff 0%, #ffffff 55%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74,134,255,.12) 0%, transparent 70%);
  top: -120px;
  right: -80px;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31,94,255,.07) 0%, transparent 70%);
  bottom: -100px;
  left: -60px;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-content h1 {
  margin-bottom: 20px;
  color: var(--navy);
}
.hero-lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 54ch;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.hero-trust-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: .83rem;
  font-weight: 700;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.trust-pill i { color: var(--success); font-size: .85em; }

/* Hero Visual */
.hero-visual {
  position: relative;
  height: 420px;
}
.hero-card-main {
  position: absolute;
  inset: 0 0 80px 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero-card-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot.green { background: #32d74b; }
.dot.yellow { background: #ffd60a; }
.dot.red { background: #ff453a; }
.card-label {
  margin-left: 8px;
  font-size: .78rem;
  font-weight: 700;
  color: rgba(255,255,255,.55);
  letter-spacing: .05em;
}
.hero-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: var(--radius-sm);
  background: var(--blue-light-2);
  border: 1px solid var(--line);
}
.stat-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue-light), #dce9ff);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  flex-shrink: 0;
}
.stat-item strong {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}
.stat-item .stat-status {
  font-size: .78rem;
  font-weight: 600;
  color: var(--muted);
}
.stat-item .stat-status.green-text { color: var(--success); }
.support-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--blue-light-2);
  border: 1px solid var(--line);
}
.support-bar-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}
.support-bar-label i { color: var(--blue); }
.support-bar-track {
  flex: 1;
  height: 6px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.support-bar-fill {
  height: 100%;
  width: 88%;
  background: linear-gradient(90deg, var(--blue), var(--blue-2));
  border-radius: 999px;
  animation: fillBar 1.8s ease forwards;
}
@keyframes fillBar {
  from { width: 0; }
  to { width: 88%; }
}
.support-bar-pct {
  font-size: .78rem;
  font-weight: 800;
  color: var(--blue);
  white-space: nowrap;
}
.hero-badge-card {
  position: absolute;
  left: -20px;
  bottom: 50px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: 0 16px 40px rgba(13,27,52,.32);
  max-width: 240px;
  z-index: 2;
}
.badge-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255,255,255,.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.hero-badge-card strong {
  display: block;
  font-size: .9rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 2px;
}
.hero-badge-card p {
  font-size: .76rem;
  color: rgba(255,255,255,.65);
  line-height: 1.4;
}
.hero-location-pill {
  position: absolute;
  right: 10px;
  top: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: .78rem;
  font-weight: 700;
  color: var(--ink);
  z-index: 2;
}
.hero-location-pill i { color: var(--blue); }


/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(31,94,255,.2);
}
.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blue-light), #dce9ff);
  color: var(--icon-color, var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 4px;
}
.service-card h3 { color: var(--navy); }
.service-card p { font-size: .94rem; flex: 1; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  font-weight: 700;
  color: var(--blue);
  margin-top: 4px;
  transition: var(--transition);
}
.card-link:hover { gap: 10px; }
.card-link i { font-size: .8em; }

/* Services Banner */
.services-banner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px;
  align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-lg);
  color: var(--white);
}
.services-banner-copy .eyebrow-tag { margin-bottom: 16px; }
.services-banner-copy h3 {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
}
.services-banner-copy p {
  color: rgba(255,255,255,.7);
  margin-bottom: 20px;
  font-size: .96rem;
}
.check-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .94rem;
}
.check-list li i {
  color: var(--success);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.check-list.light li i { color: #4ade80; }
.check-list li strong { color: var(--white); }
.check-list.light li strong { color: var(--white); }
.check-list li div { color: rgba(255,255,255,.82); line-height: 1.5; }
.check-list.light li div { color: rgba(255,255,255,.82); }
.services-banner-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.visual-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: 100%;
}
.vstat-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: var(--transition);
}
.vstat-card:hover { background: rgba(255,255,255,.14); }
.vstat-card i {
  font-size: 1.4rem;
  color: var(--blue-2);
}
.vstat-card strong {
  display: block;
  font-size: .9rem;
  font-weight: 800;
  color: var(--white);
}
.vstat-card span {
  font-size: .78rem;
  color: rgba(255,255,255,.55);
}


/* ============================================================
   WHY TWE SECTION
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: start;
}
.why-panel h2 { color: var(--white); margin-bottom: 16px; }
.why-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}
.why-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.11);
  border-radius: var(--radius);
  padding: 22px;
  transition: var(--transition);
}
.why-card:hover { background: rgba(255,255,255,.12); }
.why-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255,255,255,.1);
  color: var(--blue-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-bottom: 12px;
}
.why-card h4 { color: var(--white); margin-bottom: 6px; }
.why-card p { color: rgba(255,255,255,.62); font-size: .88rem; line-height: 1.6; }

/* Why Side Panel */
.why-side-panel {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.why-side-image {
  background: linear-gradient(135deg, rgba(31,94,255,.15), rgba(74,134,255,.08));
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}
.abstract-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 280px;
}
.av-icon-row {
  display: flex;
  gap: 14px;
  justify-content: center;
}
.av-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
}
.av-line {
  width: 2px;
  height: 24px;
  background: linear-gradient(to bottom, rgba(255,255,255,.3), rgba(31,94,255,.5));
  border-radius: 999px;
}
.av-center {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  border-radius: 999px;
  color: var(--white);
  font-weight: 800;
  font-size: .88rem;
  box-shadow: 0 8px 24px rgba(31,94,255,.4);
}
.av-center i { font-size: 1rem; }
.why-side-copy {
  padding: 28px;
}
.why-side-copy h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 12px;
}


/* ============================================================
   HOW IT WORKS SECTION
   ============================================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 28px;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 52px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--blue-light), var(--line), var(--blue-light));
  z-index: 0;
}
.step-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  z-index: 1;
  text-align: center;
}
.step-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(31,94,255,.2);
}
.step-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--blue-light);
  line-height: 1;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #d0e2ff, #b8d0ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.step-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin: 0 auto 16px;
  box-shadow: 0 6px 20px rgba(31,94,255,.28);
}
.step-card h3 { color: var(--navy); margin-bottom: 8px; }
.step-card p { font-size: .9rem; }
.reassurance-note {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--blue-light);
  border: 1px solid #c5d8ff;
  border-radius: var(--radius);
  padding: 18px 22px;
  font-weight: 700;
  font-size: .95rem;
  color: var(--navy);
}
.reassurance-note i { color: var(--blue); font-size: 1.1rem; flex-shrink: 0; }


/* ============================================================
   CLIENT PORTALS SECTION
   ============================================================ */
.portals-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}
.portal-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: var(--transition);
}
.portal-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.portal-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.portal-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-light), #dce9ff);
  color: var(--portal-color, var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.portal-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 800;
  color: #8a6900;
  background: #fff5d7;
  border: 1px solid #f0d883;
  letter-spacing: .04em;
}
.portal-card h3 { color: var(--navy); font-size: 1rem; }
.portal-card > p { font-size: .88rem; flex: 1; }
.portal-note {
  font-size: .82rem;
  color: var(--muted-2);
}
.portal-note a {
  color: var(--blue);
  font-weight: 700;
}
.portal-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
  font-size: .86rem;
  transition: var(--transition);
  margin-top: auto;
}
.portal-btn:hover {
  background: var(--blue);
  transform: translateY(-1px);
}
/* CTA Banner */
.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow);
  flex-wrap: wrap;
}
.cta-banner-copy h3 { color: var(--navy); margin-bottom: 6px; }
.cta-banner-copy p { font-size: .94rem; }


/* ============================================================
   CONTACT SECTION
   ============================================================ */
.section-contact {
  background: linear-gradient(160deg, var(--navy) 0%, #0a1628 55%, #101e3a 100%);
  position: relative;
  overflow: hidden;
}
.section-contact::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31,94,255,.18) 0%, transparent 65%);
  top: -200px;
  right: -150px;
  pointer-events: none;
}
.section-contact::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74,134,255,.1) 0%, transparent 65%);
  bottom: -100px;
  left: -100px;
  pointer-events: none;
}
.section-contact .section-header {
  position: relative;
  z-index: 1;
  margin-bottom: 52px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.contact-info-panel {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  backdrop-filter: blur(8px);
}
.contact-info-panel h2,
.contact-panel-heading { color: var(--white); margin-bottom: 14px; }
.contact-info-panel .section-lead { color: rgba(255,255,255,.62); }
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 24px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.contact-item:last-child { border-bottom: none; }
.contact-item { border-bottom-color: rgba(255,255,255,.08); }
.contact-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(31,94,255,.25);
  color: var(--blue-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  flex-shrink: 0;
}
.contact-item strong {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 3px;
}
.contact-item a,
.contact-item span {
  font-size: .98rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
}
.contact-item a:hover { color: var(--blue-2); }
.service-areas {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.service-areas strong {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 10px;
}
.service-areas strong i { color: var(--blue-2); }
.area-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.area-tags span {
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(31,94,255,.2);
  color: var(--blue-2);
  font-size: .82rem;
  font-weight: 700;
  border: 1px solid rgba(74,134,255,.3);
}

/* Contact Form */
.contact-form-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: 0 24px 64px rgba(0,0,0,.35), 0 0 0 1px rgba(31,94,255,.15);
  position: relative;
  overflow: hidden;
}
.contact-form-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--blue-2), #7aafff);
}
.contact-form-panel h3 {
  color: var(--navy);
  font-size: 1.4rem;
  margin-bottom: 8px;
  margin-top: 8px;
}
.form-note {
  font-size: .9rem;
  margin-bottom: 24px;
}
.form-note a { color: var(--blue); font-weight: 700; }
form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
label {
  font-size: .84rem;
  font-weight: 700;
  color: var(--ink);
}
.required { color: var(--blue); }
input, textarea, select {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  font: inherit;
  font-size: .94rem;
  color: var(--ink);
  background: var(--white);
  transition: var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23607189' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(31,94,255,.1);
}
textarea { min-height: 120px; resize: vertical; }
.form-success {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--success-bg);
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin-top: 8px;
}
.form-success i {
  color: var(--success);
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.form-success strong {
  display: block;
  color: var(--success);
  font-size: .95rem;
  margin-bottom: 4px;
}
.form-success p {
  font-size: .88rem;
  color: #065f46;
}
.form-success a { color: #047857; font-weight: 700; }


/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.6);
  padding: 40px 0 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-brand strong {
  display: block;
  color: var(--white);
  font-size: .98rem;
  font-weight: 800;
  line-height: 1.2;
}
.footer-brand span {
  display: block;
  font-size: .78rem;
  color: rgba(255,255,255,.5);
}
.footer-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.footer-nav a {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: .86rem;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  transition: var(--transition);
}
.footer-nav a:hover {
  color: var(--white);
  background: rgba(255,255,255,.07);
}
.footer-contact {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: .84rem;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  transition: var(--transition);
}
.footer-contact a:hover {
  color: var(--white);
  background: rgba(255,255,255,.07);
}
.footer-contact a i { font-size: .82em; }
.footer-socials {
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.65);
  font-size: .88rem;
  transition: var(--transition);
}
.footer-socials a:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}
.footer-bottom {
  padding: 16px 0;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: .8rem;
  color: rgba(255,255,255,.35);
}


/* ============================================================
   MEET THE TEAM SECTION
   ============================================================ */
.section-team {
  background: linear-gradient(180deg, #f4f8ff 0%, #ffffff 100%);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 32px;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.team-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
  border-color: rgba(31,94,255,.18);
}
.team-photo-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--blue-light-2);
  position: relative;
}
.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform .4s ease;
}
.team-card:hover .team-photo {
  transform: scale(1.04);
}
.team-info {
  padding: 22px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}
.team-info h3 {
  color: var(--navy);
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0;
}
.team-role {
  display: inline-block;
  font-size: .78rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.team-info p {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Team CTA Banner */
.team-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow-md);
  flex-wrap: wrap;
}
.team-cta-copy {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--white);
}
.team-cta-copy > i {
  font-size: 1.8rem;
  color: var(--gold);
  flex-shrink: 0;
}
.team-cta-copy strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 4px;
}
.team-cta-copy p {
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  margin: 0;
}


/* ============================================================
   RESPONSIVE — TABLET (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { height: 360px; }
  .hero-badge-card { left: 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-banner { grid-template-columns: 1fr; }
  .services-banner-visual { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
  .portals-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .primary-nav { display: none; }
  .header-actions .btn-ghost { display: none; }
  .mobile-menu-toggle { display: flex; }
  .utility-right { display: none; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 640px)
   ============================================================ */
@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .section { padding: 60px 0; }
  .hero { padding: 52px 0 48px; }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-visual { height: 300px; }
  .hero-badge-card { max-width: 200px; left: -10px; }
  .services-grid { grid-template-columns: 1fr; }
  .services-banner { padding: 28px; }
  .why-cards-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .portals-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; }
  .cta-banner .btn { width: 100%; justify-content: center; }
  .utility-inner { flex-direction: column; align-items: flex-start; }
  .util-chip { font-size: .78rem; }
  .header-actions { display: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-bottom .container { flex-direction: column; align-items: flex-start; gap: 4px; }
}
