/* =====================
   RESET & BASE
   ===================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; background: #04060f; color: #1a1d2e; line-height: 1.6; overflow-x: hidden; }

/* =====================
   ANIMATIONS
   ===================== */
@keyframes pulse {
  0%, 100% { opacity: .55; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.1); }
}

.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }
.delay-5 { transition-delay: .5s; }

.pulse-icon { animation: pulse 2.4s ease-in-out infinite; }

/* =====================
   NAV
   ===================== */
nav {
  background: #04060f;
  position: sticky; top: 0; z-index: 200;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: box-shadow .3s;
}
.nav-inner {
  width: 100%; padding: 16px 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 36px; width: auto; display: block; }

nav ul { list-style: none; display: flex; gap: 32px; }
nav ul a { color: #5a6480; text-decoration: none; font-size: 12px; letter-spacing: 1px; transition: color .2s; }
nav ul a:hover { color: #c0392b; }
.nav-cta { background: #c0392b; color: #fff; border: none; padding: 9px 20px; border-radius: 4px; font-size: 12px; cursor: pointer; letter-spacing: 1px; transition: background .2s, transform .15s; }
.nav-cta:hover { background: #a93226; transform: translateY(-1px); }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.burger span { display: block; width: 22px; height: 2px; background: #4a5470; border-radius: 2px; transition: transform .25s, opacity .25s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

-webkit-backdrop-filter: blur(20px);
.mobile-menu { display: none; background: rgba(255,255,255,0.96); border-bottom: 1px solid rgba(255,255,255,0.07); padding: 16px 24px; backdrop-filter: blur(20px); }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.mobile-menu a { color: #4a5470; text-decoration: none; font-size: 14px; letter-spacing: 1px; }
.mobile-menu.open { display: block; }

/* =====================
   HERO
   ===================== */
.hero { background: #04060f; padding: 0; position: relative; overflow: hidden; min-height: calc(100vh - 57px); display: flex; align-items: center; }
.hero-bg-glow { position: absolute !important; top: -140px; right: -100px; width: 700px; height: 700px; background: radial-gradient(circle,rgba(192,57,43,.1) 0%,transparent 65%); pointer-events: none; z-index: 0; }
.hero-grid { width: 100%; padding: 0 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.hero-tag { display: inline-block; background: rgba(192,57,43,.15); color: #e74c3c; border: 1px solid rgba(192,57,43,.3); padding: 5px 14px; border-radius: 20px; font-size: 10px; letter-spacing: 2.5px; margin-bottom: 20px; }
.hero h1 { color: #0f1220; font-size: 50px; font-weight: 700; line-height: 1.16; margin-bottom: 18px; }
.hero h1 span { color: #c0392b; }
.hero p { color: #4a5470; font-size: 16px; line-height: 1.78; margin-bottom: 40px; max-width: 460px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual { display: flex; justify-content: center; align-items: center; }
#heroCanvas { width: 100%; max-width: 520px; height: 520px; display: block; }

.btn-primary { background: #c0392b; color: #fff; border: none; padding: 13px 28px; border-radius: 5px; font-size: 13px; font-weight: 600; cursor: pointer; position: relative; overflow: hidden; transition: background .2s, transform .15s, box-shadow .2s; }
.btn-primary:hover { background: #a93226; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(192,57,43,.38); }
.btn-outline { background: transparent; color: #4a5470; border: 1px solid rgba(74,84,112,.25); padding: 13px 28px; border-radius: 5px; font-size: 13px; cursor: pointer; transition: border-color .2s, color .2s; }
.btn-outline:hover { border-color: #c0392b; color: #c0392b; background: rgba(192,57,43,0.04); }

/* =====================
   STATS
   ===================== */
.stats-bar { background: #ffffff; padding: 28px 32px; display: flex; justify-content: center; gap: 80px; flex-wrap: wrap; border-top: 1px solid rgba(0,0,0,0.06); border-bottom: 1px solid rgba(0,0,0,0.06); }
.stat-item { text-align: center; }
.stat-num { color: #c0392b; font-size: 26px; font-weight: 700; }
.stat-num span { color: #c0392b; }
.stat-label { color: #6b7a99; font-size: 10px; letter-spacing: 1.5px; margin-top: 4px; }

/* =====================
   SECTIONS
   ===================== */
.sec { padding: 80px 48px; }
.sec-w { width: 100%; }
.white-sec   { background: #ffffff; }
.light-sec   { background: #f5f6fc; }
.dark-sec    { background: linear-gradient(145deg,#0d1022 0%,#141830 60%,#180e2a 100%); }
.darkest-sec { background: linear-gradient(145deg,#080c18 0%,#0f1428 100%); }
.sec-label { color: #c0392b; font-size: 10px; letter-spacing: 3.5px; margin-bottom: 14px; font-weight: 700; }
.sec-title { font-size: 36px; font-weight: 800; margin-bottom: 16px; line-height: 1.18; color: #0f1220; letter-spacing: -0.02em; }
.sec-title.light { color: #fff; }
.sec-sub   { color: #5a6480; font-size: 15px; margin-bottom: 44px; line-height: 1.75; max-width: 580px; }
.sec-sub.light { color: #a0aec0; }
.sec-intro { color: #6b7a99; font-size: 13px; line-height: 1.7; margin-bottom: 24px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.svg-center { display: flex; justify-content: center; align-items: center; align-self: center; }


/* =====================
   PROBLEM CARDS
   ===================== */
.chaos-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
-webkit-backdrop-filter: blur(16px);
.chaos-card { background: rgba(255,255,255,0.75); backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,0.9); border-radius: 16px; box-shadow: 0 4px 24px rgba(0,0,0,0.05), inset 0 1px 0 rgba(255,255,255,1); padding: 20px; display: flex; align-items: flex-start; gap: 14px; transition: border-color .25s, transform .25s, box-shadow .25s; }
.chaos-card:hover { border-color: rgba(192,57,43,.25); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.07); }
.chaos-icon { width: 38px; height: 38px; min-width: 38px; background: rgba(192,57,43,.08); border-radius: 9px; display: flex; align-items: center; justify-content: center; }
.chaos-card h4 { font-size: 13px; font-weight: 600; color: #1a1d2e; margin-bottom: 3px; }
.chaos-card p  { font-size: 12px; color: #6b7a99; line-height: 1.5; }

#chaosCanvas { width: 360px; height: 360px; display: block; }

/* =====================
   MODEL
   ===================== */
.model-flow { display: flex; align-items: center; justify-content: center; gap: 0; margin: 36px 0 28px; flex-wrap: wrap; row-gap: 16px; }
.model-node { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 24px 28px; text-align: center; min-width: 148px; transition: border-color .25s, background .25s, transform .25s; }
.model-node:hover { transform: translateY(-3px); }
.model-node.active { background: rgba(192,57,43,.15); border-color: rgba(192,57,43,.4); }
.model-node-icon { width: 44px; height: 44px; border-radius: 50%; background: rgba(192,57,43,.2); border: 1px solid rgba(192,57,43,.4); display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.model-node h4 { color: #e8edf5; font-size: 13px; font-weight: 600; margin-bottom: 3px; }
.model-node p  { color: #8a9bba; font-size: 11px; }

.altium-node { border-color: rgba(255,255,255,.18) !important; }
.altium-sub  { margin-top: 10px; }
.pharos-badge {
  display: inline-block;
  font-size: 9px; letter-spacing: 1.5px; font-weight: 600;
  color: #8a9bba;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 4px;
  padding: 3px 8px;
  background: rgba(255,255,255,.04);
}
.model-arrow { width: 52px; height: 2px; background: rgba(192,57,43,.5); position: relative; flex-shrink: 0; }
.model-arrow::after { content: ''; position: absolute; right: -1px; top: -4px; border-left: 8px solid rgba(192,57,43,.8); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }

.model-canvas-wrap { width: 100%; margin: 0 0 32px; }
#hubCanvas { width: 100%; height: 200px; display: block; }

.mkt-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.mkt-tile { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 10px; padding: 20px; text-align: center; transition: background .25s, border-color .25s, transform .25s; }
.mkt-tile:hover { background: rgba(255,255,255,.07); border-color: rgba(192,57,43,.3); transform: translateY(-3px); }
.mkt-tile .ico { font-size: 22px; margin-bottom: 8px; }
.mkt-tile h5 { color: #fff; font-size: 12px; font-weight: 600; }
.mkt-tile p  { color: #8a9bba; font-size: 11px; margin-top: 4px; }

/* =====================
   SERVICES
   ===================== */
.srv-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.srv-card { background: #fff; border: 1px solid #e8ecf4; border-radius: 14px; padding: 24px; transition: border-color .25s, transform .25s, box-shadow .25s; }
.srv-card:hover { border-color: rgba(192,57,43,.3); transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.08); }
.srv-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.srv-num { color: #ebebeb; font-size: 28px; font-weight: 700; }
.srv-icon { width: 40px; height: 40px; background: rgba(192,57,43,.08); border-radius: 9px; display: flex; align-items: center; justify-content: center; }
.srv-card h3 { font-size: 14px; font-weight: 600; color: #1a1d2e; margin-bottom: 7px; }
.srv-card p  { font-size: 12px; color: #6b7a99; line-height: 1.6; }
.srv-tag { display: inline-block; margin-top: 12px; padding: 3px 10px; background: rgba(192,57,43,.08); color: #c0392b; border-radius: 20px; font-size: 10px; letter-spacing: 1px; }

/* =====================
   GAINS
   ===================== */
.gains-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.gains-steps { display: flex; flex-direction: column; }
.gain-step { display: flex; align-items: flex-start; gap: 20px; padding: 28px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.09); border-radius: 20px; margin: 0; transition: transform .3s, border-color .3s, box-shadow .3s; position: relative; overflow: hidden; }
.gain-step:hover { transform: translateY(-5px); border-color: rgba(192,57,43,0.35); box-shadow: 0 16px 48px rgba(0,0,0,0.4); }
.gain-num { width: 44px; height: 44px; min-width: 44px; border-radius: 50%; border: 1px solid rgba(192,57,43,0.4); background: rgba(192,57,43,0.12); color: #e05a2a; font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 0 16px rgba(192,57,43,0.15); }
.gain-step h4 { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.gain-step p  { color: rgba(255,255,255,0.55); font-size: 13px; line-height: 1.65; margin: 0; }
#stairCanvas { width: 500px; height: 500px; display: block; }

/* =====================
   WHY
   ===================== */
.why-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.why-card { border: 1px solid #e8ecf4; border-radius: 14px; padding: 24px; display: flex; gap: 16px; align-items: flex-start; transition: border-color .25s, transform .25s, box-shadow .25s; }
.why-card:hover { border-color: rgba(192,57,43,.25); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.why-badge { width: 44px; height: 44px; min-width: 44px; border-radius: 11px; background: rgba(192,57,43,.1); display: flex; align-items: center; justify-content: center; }
.why-card h3 { font-size: 14px; font-weight: 600; color: #1a1d2e; margin-bottom: 6px; }
.why-card p  { font-size: 12px; color: #6b7a99; line-height: 1.6; }

/* =====================
   CTA
   ===================== */
.cta-sec { background: linear-gradient(135deg,#0d1022 0%,#1a1030 100%); padding: 56px 32px; position: relative; overflow: hidden; }
.cta-glow { position: absolute !important; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 640px; height: 200px; background: radial-gradient(ellipse,rgba(192,57,43,.15) 0%,transparent 70%); pointer-events: none; z-index: 0; }

.cta-compact {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  gap: 12px; position: relative; z-index: 1;
}
.cta-compact-text h2 { color: #fff; font-size: 22px; font-weight: 700; margin-bottom: 4px; line-height: 1.25; }
.cta-compact-text p  { color: #8a9bba; font-size: 13px; line-height: 1.55; }
.cta-btn { background: #c0392b; color: #fff; border: none; padding: 12px 28px; border-radius: 5px; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; flex-shrink: 0; position: relative; overflow: hidden; transition: background .2s, transform .15s, box-shadow .2s; }
.cta-btn:hover { background: #a93226; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(192,57,43,.4); }

/* keep old cta-inner/form styles for contacts.html which still has the full form */
.cta-inner { width: 100%; display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.cta-text h2 { color: #fff; font-size: 28px; font-weight: 700; margin-bottom: 10px; line-height: 1.25; }
.cta-text p  { color: #8a9bba; font-size: 14px; line-height: 1.65; }
.cta-form { display: flex; flex-direction: column; gap: 10px; }
.cta-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cta-form input, .cta-form textarea { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 7px; padding: 11px 14px; color: #fff; font-size: 13px; font-family: inherit; outline: none; resize: none; transition: border-color .2s, background .2s; }
.cta-form input::placeholder, .cta-form textarea::placeholder { color: rgba(255,255,255,.3); }
.cta-form input:focus, .cta-form textarea:focus { border-color: rgba(192,57,43,.6); background: rgba(255,255,255,.09); }
.cta-success { flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; gap: 10px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 10px; }
.cta-success-icon { width: 44px; height: 44px; border-radius: 50%; background: rgba(39,174,96,.15); color: #27ae60; font-size: 20px; display: flex; align-items: center; justify-content: center; }
.cta-success p { color: #8a9bba; font-size: 13px; }

/* =====================
   FOOTER
   ===================== */
footer { background: linear-gradient(135deg,#080c18 0%,#0e1228 100%); border-top: 1px solid rgba(255,255,255,.08); }
.footer-inner { width: 100%; padding: 52px 32px 32px; }

.footer-brand { margin-bottom: 36px; }
.footer-logo-row { margin-bottom: 12px; }
.footer-logo-img { height: 30px; width: auto; display: block; opacity: .8; transition: opacity .2s; }
.footer-logo-img:hover { opacity: 1; }
.footer-tagline { color: #4a5568; font-size: 13px; margin-bottom: 18px; }

.footer-socials { display: flex; gap: 10px; }
.social-btn {
  display: flex; align-items: center; gap: 7px;
  color: #8a9bba; text-decoration: none; font-size: 12px;
  border: 1px solid rgba(255,255,255,.1); border-radius: 6px;
  padding: 7px 14px;
  transition: color .2s, border-color .2s, background .2s;
}
.social-btn:hover { color: #fff; border-color: rgba(192,57,43,.5); background: rgba(192,57,43,.1); }

.footer-divider { height: 1px; background: rgba(255,255,255,.06); margin-bottom: 32px; }

.footer-info-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-bottom: 36px; }
.footer-col { display: flex; flex-direction: column; gap: 5px; }
.footer-col-label { color: #c0392b; font-size: 10px; letter-spacing: 2px; margin-bottom: 8px; font-weight: 600; }
.footer-col p { color: #6b7a99; font-size: 12px; line-height: 1.6; }
.footer-col a { color: #8a9bba; font-size: 12px; text-decoration: none; transition: color .2s; line-height: 1.8; }
.footer-col a:hover { color: #fff; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 20px; }
.footer-bottom p { color: #4a5568; font-size: 11px; }

@media (max-width: 900px) {
  .footer-inner { padding: 40px 24px 24px; }
  .footer-info-cols { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 600px) {
  .footer-info-cols { grid-template-columns: 1fr; }
  .footer-socials { flex-direction: column; }
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 900px) {
  nav ul, .nav-cta { display: none; }
  .nav-inner { padding: 14px 24px; }
  .burger { display: flex; }
  .hero { padding: 0; }
  .hero-grid { padding: 48px 24px; grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { font-size: 30px; }
  .hero-visual { display: none; }
  .stats-bar { gap: 32px; padding: 20px 24px; }
  .sec { padding: 56px 24px; }
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .svg-center { display: none; }
  .model-canvas-wrap { display: none; }
  .srv-grid { grid-template-columns: 1fr; }
  .mkt-grid { grid-template-columns: 1fr; gap: 10px; }
  .model-flow { flex-direction: column; gap: 12px; }
  .model-arrow { width: 2px; height: 36px; }
  .model-arrow::after { right: -4px; top: auto; bottom: -1px; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 8px solid rgba(192,57,43,.8); border-bottom: none; }
  .gains-grid { grid-template-columns: 1fr; gap: 32px; }
  .why-grid, .chaos-grid { grid-template-columns: 1fr; }
  .cta-sec { padding: 24px; }
  .cta-inner { grid-template-columns: 1fr; gap: 28px; }
  .cta-form-row { grid-template-columns: 1fr; }
  .cta-compact { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cta-sec h2 { font-size: 26px; }
  footer { padding: 24px; flex-direction: column; text-align: center; }
  .footer-right { text-align: center; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: 24px; }
  .sec-title { font-size: 22px; }
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-outline { width: 100%; text-align: center; }
}

/* =====================
   ANIMATION CANVAS LAYERS
   ===================== */
canvas.grid-canvas,
canvas.cubes-canvas,
canvas.stream-canvas { display: block; }

/* Ensure hero content sits above its canvas */
.hero > *:not(canvas) { position: relative; z-index: 1; }

/* =====================
   PHOTO SECTIONS
   ===================== */
.photo-strip {
  display: grid !important; grid-template-columns: repeat(3,1fr) !important; gap: 0;
  height: 260px; overflow: hidden; width: 100%;
}
.photo-strip-item {
  overflow: hidden; position: relative !important; height: 260px;
}
.photo-strip-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .6s ease; filter: brightness(.75) saturate(.9);
}
.photo-strip-item:hover img { transform: scale(1.05); filter: brightness(.85) saturate(1); }

.photo-banner {
  width: 100%; height: 320px; overflow: hidden; position: relative !important; display: block;
}
.photo-banner img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: brightness(.6) saturate(.8);
}
.photo-banner-overlay {
  position: absolute !important; inset: 0; z-index: 2;
  background: linear-gradient(to right, rgba(13,17,23,.85) 0%, rgba(13,17,23,.2) 60%, transparent 100%);
  display: flex !important; align-items: center; padding: 0 56px;
}
.photo-banner-overlay h3 { color: #fff; font-size: 28px; font-weight: 700; max-width: 420px; line-height: 1.3; margin: 0; }
.photo-banner-overlay h3 span { color: #c0392b; }

.photo-two-col {
  display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 0;
  height: 380px; overflow: hidden;
}
.photo-two-col-item { overflow: hidden; position: relative !important; height: 380px; }
.photo-two-col-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: brightness(.65) saturate(.85);
  transition: transform .6s ease, filter .4s;
}
.photo-two-col-item:hover img { transform: scale(1.04); filter: brightness(.75) saturate(1); }
.photo-two-col-label {
  position: absolute !important; bottom: 20px; left: 24px; z-index: 2;
  color: #fff; font-size: 13px; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .photo-strip { grid-template-columns: 1fr !important; height: auto; }
  .photo-strip-item { height: 180px; }
  .photo-two-col { grid-template-columns: 1fr !important; height: auto; }
  .photo-two-col-item { height: 220px; }
  .photo-banner { height: 220px; }
  .photo-banner-overlay { padding: 0 24px; }
  .photo-banner-overlay h3 { font-size: 20px; }
}

/* =====================
   GROUP PREVIEW (index)
   ===================== */
.group-preview-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 18px;
}
.gp-card {
  -webkit-backdrop-filter: blur(16px);
  background: rgba(255,255,255,0.75); backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,0.9); border-radius: 18px; box-shadow: 0 4px 24px rgba(0,0,0,0.05), inset 0 1px 0 rgba(255,255,255,1);
  padding: 22px; transition: border-color .25s, transform .25s, box-shadow .25s;
}
.gp-card:hover {
  border-color: rgba(192,57,43,.25); transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.07);
}
.gp-icon { font-size: 26px; margin-bottom: 10px; }
.gp-card h4 { font-size: 14px; font-weight: 700; color: #1a1d2e; margin-bottom: 7px; }
.gp-card p  { font-size: 12px; color: #6b7a99; line-height: 1.6; }
.gp-sub { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.gp-sub span {
  padding: 3px 10px; background: rgba(192,57,43,.07);
  color: #c0392b; border-radius: 20px; font-size: 10px;
}

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

/* =====================
   GLASS DIVISION TILES
   ===================== */
.glass-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.glass-tile {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 300px;
  cursor: default;
  transition: transform .3s ease, box-shadow .3s ease;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
}
.glass-tile::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.07) 0%, rgba(255,255,255,.01) 60%, transparent 100%);
  border-radius: 16px;
  z-index: 1;
  pointer-events: none;
}
.glass-tile:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 24px 48px rgba(0,0,0,.35), 0 0 0 1px rgba(192,57,43,.3);
}

.tile-canvas {
  position: absolute !important;
  top: 0; left: 0; width: 100% !important; height: 100% !important;
  z-index: 0;
  opacity: .55;
  pointer-events: none;
}

.glass-tile-content {
  position: relative;
  z-index: 2;
  padding: 24px 20px 22px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.glass-tile-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: rgba(255,255,255,.3);
  margin-bottom: 16px;
}

.glass-tile-icon {
  font-size: 32px;
  margin-bottom: 14px;
  line-height: 1;
}

.glass-tile-content h4 {
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.2;
}

.glass-tile-content p {
  color: rgba(255,255,255,.6);
  font-size: 12px;
  line-height: 1.65;
  flex: 1;
}

.glass-tile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.glass-tile-tags span {
  padding: 5px 12px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,.75) !important;
  -webkit-text-fill-color: rgba(255,255,255,.75) !important;
  background: rgba(255,255,255,.08);
  display: inline-block;
}

@media (max-width: 900px) {
  .glass-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 600px) {
  .glass-grid { grid-template-columns: 1fr; }
  .glass-tile { min-height: 240px; }
}

/* =====================
   DIVISION HEADERS
   ===================== */
.div-header { margin-bottom: 32px; }

.div-badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid; border-radius: 24px;
  padding: 6px 16px; font-size: 12px; font-weight: 600;
  letter-spacing: 1px; color: #fff;
  margin-bottom: 16px;
}
.div-badge span { font-size: 16px; }

.srv-cta-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; margin-top: 32px; flex-wrap: wrap;
  padding: 24px 28px;
  background: #fff; border: 1px solid #e8ecf4; border-radius: 12px;
}
.srv-cta-row p { color: #6b7a99; font-size: 13px; line-height: 1.6; max-width: 520px; flex: 1; }

/* =====================
   EXPERTISE INTRO ROW
   ===================== */
.expertise-intro {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 10px 16px; margin-bottom: 32px;
}
.expertise-item {
  display: flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,.75); font-size: 13px; letter-spacing: .3px;
}
.expertise-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
  box-shadow: 0 0 8px currentColor;
}
.expertise-sep { color: rgba(255,255,255,.2); font-size: 18px; }

/* =====================
   WHAT WE DO INFOGRAPHIC
   ===================== */
.whatwedo-canvas-wrap {
  width: 100%; margin: 24px 0 0;
}
#whatWeDoCanvas {
  width: 100%; height: 320px; display: block;
}

.infographic-wrap {
  width: 100%; margin: 24px 0 28px;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
}
#infographicCanvas {
  width: 100%; max-width: 680px; display: block;
}
.infographic-legend {
  display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center;
}
.infographic-legend-item {
  display: flex; align-items: center; gap: 7px;
  font-size: 12px; color: #6b7a99; font-weight: 500;
  cursor: default;
}
.infog-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
