:root {
  --navy:   #0E3A5D;
  --blue:   #154C8A;
  --teal:   #00A896;
  --teal2:  #00C9B1;
  --mint:   #E6F7F4;
  --mist:   #F1F4F6;
  --slate:  #334155;
  --white:  #FFFFFF;
  --text:   #16324A;
  --sub:    #5A7285;
  --glow:   0 0 40px rgba(0,168,150,0.22);
  --shadow: 0 24px 64px rgba(14,58,93,0.10);
  --float:  0 32px 80px rgba(14,58,93,0.16);
  --nav-h:  80px;
  --r-xl:   28px;
  --r-lg:   20px;
  --ease-spring: cubic-bezier(0.34,1.56,0.64,1);
  --ease-out:    cubic-bezier(0.22,1,0.36,1);
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: hidden; width: 100%; }
body { font-family: 'DM Sans', sans-serif; color: var(--text); background: #f8fbfd; overflow-x: hidden; width: 100%; position: relative; }
h1,h2,h3,h4,h5 { font-family: 'DM Sans', sans-serif; font-weight: 700;  line-height: 1.22; overflow: visible; }
p { line-height: 1.72; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }
.container { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }

/* NOISE */
body::before {
  content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.4;
}

/* ═══ TOPBAR ═══ */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h); backdrop-filter: blur(20px) saturate(180%);
  background: rgba(248,251,253,0.88);
  border-bottom: 1px solid rgba(14,58,93,0.07);
  transition: background .3s, box-shadow .3s;
}
.topbar.scrolled { background: rgba(255,255,255,0.96); box-shadow: 0 8px 32px rgba(14,58,93,0.08); }
.nav { display: flex; align-items: center; height: var(--nav-h); gap: 0; position: relative; }

/* LOGO */
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; margin-right: 36px; }
.brand:hover { opacity: .96; }
.brand-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.5rem; color: white;
  position: relative; overflow: hidden;
}
.brand-icon::after {
  content: ''; position: absolute; top: -50%; right: -30%; width: 60%; height: 200%;
  background: rgba(255,255,255,0.15); transform: rotate(25deg);
}
.brand-name { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.12rem; color: var(--navy); line-height: 1.1; }
.brand-name span { color: var(--teal); }
.brand-tag { font-size: 0.63rem; color: var(--sub);  text-transform: uppercase; margin-top: 2px; }

/* NAV MENU */
.nav-menu { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav-item { position: relative; }
.nav-trigger {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 15px; border-radius: 10px;
  font-size: 0.92rem; font-weight: 500; color: var(--sub);
  border: none; background: transparent;
  transition: color .2s, background .2s; white-space: nowrap;
}
.nav-trigger:hover, .nav-item.open .nav-trigger { color: var(--navy); background: rgba(14,58,93,0.06); }
.nav-trigger svg { width: 13px; height: 13px; transition: transform .3s var(--ease-spring); }
.nav-item.open .nav-trigger svg { transform: rotate(180deg); }

/* MEGA MENU */
.mega-menu {
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: white; border: 1px solid rgba(14,58,93,0.08);
  border-radius: 24px; box-shadow: var(--float); padding: 26px;
  opacity: 0; pointer-events: none;
  transition: opacity .25s var(--ease-out), transform .25s var(--ease-out);
  min-width: 560px;
}
.nav-item.open .mega-menu { opacity: 1; pointer-events: all; transform: translateX(-50%) translateY(0); }
.mega-wide { min-width: 740px; }
.mega-hdr { font-size: 0.7rem; font-weight: 700; color: var(--teal); text-transform: uppercase;  margin-bottom: 16px; }
.mega-grid { display: grid; gap: 10px; }
.mega-cols-3 { grid-template-columns: repeat(3,1fr); }
.mega-cols-2 { grid-template-columns: 1.3fr 1fr; gap: 22px; }
.mega-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px; border-radius: 14px; cursor: pointer;
  border: 1px solid transparent; transition: background .2s, transform .2s, border-color .2s;
}
.mega-item:hover { background: var(--mint); border-color: rgba(0,168,150,0.18);  }
.mega-ico {
  width: 38px; height: 38px; flex-shrink: 0; border-radius: 11px;
  background: linear-gradient(145deg, rgba(0,168,150,0.12), rgba(21,76,138,0.08));
  display: flex; align-items: center; justify-content: center; font-size: 1.05rem;
}
.mega-item strong { display: block; font-family: 'Syne', sans-serif; font-size: 0.88rem; color: var(--navy); }
.mega-item span { font-size: 0.8rem; color: var(--sub); margin-top: 2px; display: block; }
.mega-feat {
  background: linear-gradient(145deg, #0e3a5d 0%, #0e5270 60%, #0aa99a 130%);
  border-radius: 16px; padding: 20px; color: white;
}
.mega-feat .mf-tag { font-size: 0.68rem; font-weight: 700; text-transform: uppercase;  color: var(--teal2); margin-bottom: 8px; }
.mega-feat h4 { font-family: 'Syne', sans-serif; font-size: 1.05rem; }
.mega-feat p { font-size: 0.82rem; color: rgba(255,255,255,0.75); margin-top: 8px; }
.mega-feat a { display: inline-flex; align-items: center; gap: 5px; margin-top: 14px; font-size: 0.82rem; font-weight: 600; color: var(--teal2); }
.mega-div { height: 1px; background: rgba(14,58,93,0.07); margin: 14px 0; }
.mega-pills { display: flex; gap: 7px; flex-wrap: wrap; }
.mega-pill {
  padding: 6px 13px; border-radius: 999px; background: var(--mist);
  font-size: 0.8rem; font-weight: 500; color: var(--slate); cursor: pointer;
  transition: background .2s, color .2s;
}
.mega-pill:hover { background: var(--mint); color: #067d70; }
.nav-link { padding: 10px 15px; border-radius: 10px; font-size: 0.92rem; font-weight: 500; color: var(--sub); transition: color .2s, background .2s; }
.nav-link:hover { color: var(--navy); background: rgba(14,58,93,0.06); }

/* NAV RIGHT */
.nav-right { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.btn-outline-nav {
  padding: 9px 18px; border-radius: 999px;
  border: 1.5px solid rgba(14,58,93,0.15); background: transparent;
  font-size: 0.88rem; font-weight: 600; color: var(--navy); transition: all .2s;
}
.btn-outline-nav:hover { border-color: var(--teal); color: var(--teal); }

/* LANGUAGE SWITCH */
.lang-switch {
  display: flex; align-items: center; gap: 2px;
  background: rgba(14,58,93,0.06); border-radius: 999px; padding: 3px;
}
.lang-btn {
  border: none; background: transparent; cursor: pointer;
  padding: 6px 12px; border-radius: 999px; font-family: inherit;
  font-size: 0.78rem; font-weight: 700; letter-spacing: .04em;
  color: var(--sub); transition: all .2s;
}
.lang-btn:hover { color: var(--navy); }
.lang-btn.active { background: var(--navy); color: #fff; }
@media (max-width:900px) {
  .lang-switch { order: -1; }
}
@media (max-width: 768px) {
  .lang-switch { padding: 2px; gap: 0; }
  .lang-btn { padding: 5px 9px; font-size: 0.72rem; }
  .nav-right { gap: 6px; }
}

.btn-nav-cta {
  padding: 10px 22px; border-radius: 999px;
  background: linear-gradient(135deg, var(--navy) 0%, #1a5fa8 100%);
  color: white; font-size: 0.88rem; font-weight: 600; border: none;
  box-shadow: 0 8px 24px rgba(14,58,93,0.24); transition: transform .2s var(--ease-spring), box-shadow .2s;
  position: relative; overflow: hidden;
}
.btn-nav-cta::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg,transparent 40%,rgba(255,255,255,0.1) 100%); }
.btn-nav-cta:hover {  box-shadow: 0 12px 32px rgba(14,58,93,0.32); }

/* ═══ HERO ═══ */
.hero { padding-top: calc(var(--nav-h) + 80px); padding-bottom: 88px; position: relative; overflow: visible; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; animation: orbFloat 8s ease-in-out infinite; }
.orb-1 { width: 520px; height: 520px; background: radial-gradient(circle, rgba(0,168,150,0.14),transparent 65%); top: -120px; right: -100px; }
.orb-2 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(21,76,138,0.12),transparent 65%); bottom: -80px; left: -80px; animation-delay: -4s; }
.orb-3 { width: 280px; height: 280px; background: radial-gradient(circle, rgba(0,168,150,0.08),transparent 65%); top: 40%; left: 45%; animation-delay: -2s; }
@keyframes orbFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(20px,-30px) scale(1.05); }
  66% { transform: translate(-15px,20px) scale(0.97); }
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(14,58,93,0.04) 1px,transparent 1px), linear-gradient(90deg,rgba(14,58,93,0.04) 1px,transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 20%, transparent 80%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(0,168,150,0.08); border: 1px solid rgba(0,168,150,0.2);
  font-size: 0.74rem; font-weight: 700;  text-transform: uppercase; color: #0b7f72;
}
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); animation: pdot 2s ease-in-out infinite; }
@keyframes pdot { 0%,100% { transform:scale(1);opacity:1; } 50% { transform:scale(1.5);opacity:.6; } }

.hero h1 { margin-top: 22px; font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: clamp(2.8rem,5vw,4.8rem); line-height: 1.14; color: var(--navy);  }
.hero h1 .accent { position: relative; display: inline-block; color: var(--teal); }
.hero h1 .accent::after {
  content: ''; position: absolute; bottom: 4px; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg,var(--teal),transparent); border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  animation: ulReveal 1s var(--ease-out) .9s forwards;
}
@keyframes ulReveal { to { transform: scaleX(1); } }

.hero-sub { margin-top: 20px; font-size: 1.04rem; color: var(--sub); max-width: 510px; }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px;
  background: linear-gradient(135deg,var(--navy) 0%,#1a5fa8 100%);
  color: white; font-size: 0.95rem; font-weight: 600; border: none;
  box-shadow: 0 12px 32px rgba(14,58,93,0.28);
  transition: transform .25s var(--ease-spring), box-shadow .25s;
  position: relative; overflow: hidden;
}
.btn-primary::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg,transparent,rgba(255,255,255,0.12),transparent);
  transition: left .5s;
}
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover {  box-shadow: 0 18px 44px rgba(14,58,93,0.34); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px;
  border: 1.5px solid rgba(14,58,93,0.18); color: var(--navy);
  font-size: 0.95rem; font-weight: 600; background: rgba(255,255,255,0.8);
  transition: all .2s;
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); background: var(--mint); }

.hero-stats { display: flex; gap: 36px; margin-top: 50px; padding-top: 34px; border-top: 1px solid rgba(14,58,93,0.08); }
.h-stat strong { display: block; font-family: 'Syne',sans-serif; font-size: 2.1rem; color: var(--navy); }
.h-stat span { font-size: 0.83rem; color: var(--sub); margin-top: 4px; display: block; max-width: 110px; }

/* Hero visual */
.hero-card {
  background: white; border: 1px solid rgba(14,58,93,0.08);
  border-radius: 32px; padding: 26px; box-shadow: var(--float);
  position: relative; overflow: visible;
  animation: cardIn 1s var(--ease-out) .3s both;
}
@keyframes cardIn { from { opacity:0; transform:translateY(28px) scale(.97); } to { opacity:1; transform:none; } }
.hc-banner {
  background: linear-gradient(135deg, #0e3a5d 0%, #0d5275 50%, #0aa99a 130%);
  border-radius: 22px; padding: 24px; color: white; position: relative; overflow: hidden;
}
.hc-banner::after { content: ''; position: absolute; top:-40px; right:-40px; width:160px; height:160px; border-radius:50%; background:rgba(255,255,255,0.06); }
.hc-banner small { font-size: 0.7rem; font-weight: 700; text-transform: uppercase;  color: rgba(255,255,255,0.6); }
.hc-banner h3 { font-family: 'Syne',sans-serif; font-size: 1.3rem; margin-top: 8px; }
.hc-rows { margin-top: 18px; display: flex; flex-direction: column; gap: 9px; }
.hc-row {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 15px; border-radius: 15px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.06);
  transition: background .2s;
}
.hc-row:hover { background: rgba(255,255,255,0.14); }
.hc-ri { font-size: 1.1rem; }
.hc-rt strong { display: block; font-size: 0.88rem; }
.hc-rt span { font-size: 0.78rem; color: rgba(255,255,255,0.65); }

.float-badge {
  position: absolute; bottom: -14px; right: 22px;
  background: white; border: 1px solid rgba(14,58,93,0.1);
  border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 11px;
  animation: bob 4s ease-in-out infinite;
}
@keyframes bob { 0%,100% {  } 50% {  } }
.fb-ico {
  width: 34px; height: 34px; border-radius: 11px;
  background: linear-gradient(135deg,var(--teal),var(--blue));
  display: flex; align-items: center; justify-content: center; font-size: 0.95rem;
}
.float-badge span { font-size: 0.76rem; color: var(--sub); }
.float-badge strong { display: block; font-size: 0.88rem; color: var(--navy); }

/* ═══ SECTIONS ═══ */
.section { padding: 88px 0; position: relative; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 0.74rem; font-weight: 700; text-transform: uppercase;  color: var(--teal); }
.kicker::before { content: ''; width: 18px; height: 2px; background: var(--teal); border-radius: 1px; }
.section-title { margin-top: 12px; font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: clamp(1.9rem,4vw,2.9rem); color: var(--navy); line-height: 1.18; padding-bottom: 0.12em; overflow: visible;  }
.section-sub { margin-top: 14px; font-size: 1rem; color: var(--sub); max-width: 580px; }

/* SECTORS */
.sectors-bg { background: linear-gradient(180deg,#eef7f7 0%,#f4f9f9 100%); border-top: 1px solid rgba(14,58,93,0.05); border-bottom: 1px solid rgba(14,58,93,0.05); }
.sectors-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; margin-top: 48px; }

.sector-card {
  background: white; border: 1px solid rgba(14,58,93,0.08);
  border-radius: var(--r-xl); padding: 32px; box-shadow: var(--shadow);
  position: relative; overflow: visible;
  transition: transform .3s var(--ease-spring), box-shadow .3s, border-color .3s;
}
.sector-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  background: linear-gradient(90deg,var(--teal),var(--blue));
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease-out);
  will-change: transform;
  backface-visibility: hidden;
}
.sector-card:hover {  box-shadow: 0 32px 72px rgba(14,58,93,0.12); border-color: rgba(0,168,150,0.22); }
.sector-card:hover::before { transform: scaleX(1); }
.sector-icon {
  width: 56px; height: 56px; border-radius: 18px;
  background: linear-gradient(145deg,var(--mint),rgba(21,76,138,0.06));
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
  transition: transform .3s var(--ease-spring);
}
.sector-card:hover .sector-icon { transform: scale(1.1) rotate(-4deg); }
.sector-card h3 { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 1.22rem; color: var(--navy); margin-top: 18px; line-height: 1.18;  }
.sector-card p { margin-top: 11px; font-size: 0.93rem; color: var(--sub); }
.sector-sub-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.sector-tag {
  padding: 6px 12px; border-radius: 999px;
  background: var(--mint); color: #067d70;
  font-size: 0.78rem; font-weight: 600;
}

/* EXPERTISE CARDS */
.exp-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 48px; }
.exp-card {
  background: white; border: 1px solid rgba(14,58,93,0.08);
  border-radius: var(--r-xl); padding: 30px; box-shadow: var(--shadow);
  position: relative; overflow: visible;
  transition: transform .3s var(--ease-spring), box-shadow .3s, border-color .3s;
}
.exp-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  background: linear-gradient(90deg,var(--teal),var(--blue));
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease-out);
  will-change: transform;
  backface-visibility: hidden;
}
.exp-card:hover {  box-shadow: 0 32px 72px rgba(14,58,93,0.12); border-color: rgba(0,168,150,0.2); }
.exp-card:hover::before { transform: scaleX(1); }
.exp-ico {
  width: 52px; height: 52px; border-radius: 17px;
  background: linear-gradient(145deg,var(--mint),rgba(21,76,138,0.06));
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
  transition: transform .3s var(--ease-spring);
}
.exp-card:hover .exp-ico { transform: scale(1.1) rotate(-4deg); }
.exp-card h3 { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 1.18rem; color: var(--navy); margin-top: 18px; line-height: 1.18;  }
.exp-card p { margin-top: 11px; font-size: 0.92rem; color: var(--sub); }
.exp-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; font-size: 0.86rem; font-weight: 600; color: var(--teal); transition: gap .2s; }
.exp-card:hover .exp-link { gap: 10px; }

/* PRODUCTS */
.products-layout { display: grid; grid-template-columns: 290px 1fr; gap: 26px; align-items: start; margin-top: 48px; }
.sidebar {
  background: white; border: 1px solid rgba(14,58,93,0.08);
  border-radius: 26px; padding: 22px; box-shadow: var(--shadow);
  position: sticky; top: calc(var(--nav-h) + 20px);
}
.sidebar-title { font-family: 'Syne',sans-serif; font-size: 1.12rem; color: var(--navy); }
.seg-tabs { display: flex; flex-direction: column; gap: 5px; margin-top: 16px; }
.seg-tab {
  display: flex; align-items: center; gap: 11px;
  padding: 12px 15px; border-radius: 13px; border: none; background: transparent;
  font-size: 0.9rem; font-weight: 500; color: var(--sub); transition: all .2s; text-align: left;
}
.seg-tab-ico { font-size: 0.98rem; width: 26px; text-align: center; }
.seg-tab:hover { background: var(--mist); color: var(--navy); }
.seg-tab.active { background: var(--mint); color: #067d70; font-weight: 600; }
.search-box {
  display: flex; align-items: center; gap: 9px; margin-top: 16px;
  padding: 12px 15px; border: 1.5px solid rgba(14,58,93,0.1);
  border-radius: 13px; background: var(--mist); transition: border-color .2s, background .2s;
}
.search-box:focus-within { border-color: var(--teal); background: white; }
.search-box input { flex: 1; border: none; outline: none; background: transparent; font-family: inherit; font-size: 0.9rem; color: var(--text); }
.panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.panel-head h3 { font-family: 'Syne',sans-serif; font-size: 1.45rem; color: var(--navy); }
.count-badge { padding: 7px 14px; border-radius: 999px; background: rgba(0,168,150,0.1); color: #067d70; font-size: 0.8rem; font-weight: 700; }
.products-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 15px; }
.prod-card {
  background: white; border: 1px solid rgba(14,58,93,0.08);
  border-radius: 20px; padding: 20px; box-shadow: 0 8px 24px rgba(14,58,93,0.06);
  position: relative; overflow: visible; transition: all .3s var(--ease-spring);
}
.prod-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg,var(--teal),var(--blue));
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out);
}
.prod-card:hover {  box-shadow: 0 24px 50px rgba(14,58,93,0.12); border-color: rgba(0,168,150,0.22); }
.prod-card:hover::after { transform: scaleX(1); }
.prod-seg {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px;
  background: rgba(0,168,150,0.08); color: #0a877a; font-size: 0.74rem; font-weight: 700;  text-transform: uppercase;
}
.prod-card h4 { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 1.05rem; color: var(--navy); margin-top: 12px; line-height: 1.18;  }
.prod-brand { font-size: 0.86rem; color: var(--sub); margin-top: 5px; }
.prod-desc { font-size: 0.86rem; color: var(--sub); margin-top: 9px; }
.prod-actions { display: flex; gap: 7px; margin-top: 16px; flex-wrap: wrap; }
.pact-p { padding: 9px 15px; border-radius: 999px; background: var(--navy); color: white; font-size: 0.82rem; font-weight: 600; border: none; transition: background .2s, transform .2s; }
.pact-p:hover { background: var(--blue);  }
.pact-g { padding: 8px 13px; border-radius: 999px; border: 1.5px solid rgba(14,58,93,0.12); background: transparent; color: var(--navy); font-size: 0.82rem; font-weight: 500; transition: all .2s; }
.pact-g:hover { border-color: var(--teal); color: var(--teal); }

/* PARTNERS */
.partner-layout { display: grid; grid-template-columns: 1fr 360px; gap: 26px; margin-top: 48px; }
.partner-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.partner-tile {
  background: white; border: 1.5px solid rgba(14,58,93,0.08);
  border-radius: 20px; padding: 22px; cursor: pointer;
  transition: all .3s var(--ease-spring); position: relative; overflow: hidden;
}
.partner-tile::before { content: ''; position: absolute; top: 0; right: 0; width: 50px; height: 50px; background: radial-gradient(circle at top right, rgba(0,168,150,0.08),transparent 70%); }
.partner-tile:hover,.partner-tile.active { border-color: rgba(0,168,150,0.3); box-shadow: 0 16px 40px rgba(0,168,150,0.1);  }
.partner-tile.active { background: var(--mint); }
.pt-logo { height: 48px; display: flex; align-items: center; margin-bottom: 12px; }
.pt-logo img { max-height: 44px; max-width: 140px; object-fit: contain; }
.pt-logo-fallback { font-family: 'Syne',sans-serif; font-weight: 800; font-size: 1.2rem; color: var(--navy); }
.partner-tile strong { display: block; font-family: 'Syne',sans-serif; font-size: 0.97rem; color: var(--navy); }
.partner-tile span { display: block; font-size: 0.83rem; color: var(--sub); margin-top: 4px; }
.partner-detail {
  background: linear-gradient(160deg,#0e3a5d 0%,#0f4f72 55%,#0aa99a 140%);
  border-radius: 26px; padding: 28px; color: white; box-shadow: var(--float);
  position: sticky; top: calc(var(--nav-h) + 20px);
}
.pd-tag { font-size: 0.68rem; font-weight: 700; text-transform: uppercase;  color: var(--teal2); }
.partner-detail h3 { font-family: 'Syne',sans-serif; font-size: 1.7rem; margin-top: 10px; }
.partner-detail > p { margin-top: 13px; color: rgba(255,255,255,0.78); font-size: 0.93rem; }
.pd-logo-wrap { margin-top: 18px; background: rgba(255,255,255,0.1); border-radius: 14px; padding: 14px 18px; display: flex; align-items: center; justify-content: center; }
.pd-logo-wrap img { max-height: 44px; max-width: 180px; object-fit: contain; filter: brightness(0) invert(1); }
.pd-bullets { margin-top: 20px; display: flex; flex-direction: column; gap: 9px; }
.pd-bullet { padding: 13px 15px; border-radius: 14px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.07); font-size: 0.88rem; display: flex; align-items: center; gap: 9px; }
.pd-bullet::before { content: '✓'; color: var(--teal2); font-weight: 700; font-size: 0.78rem; flex-shrink: 0; }

/* TRUST BAND */
.trust-band {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 16px;
  margin-top: 30px; padding: 26px; border-radius: 26px;
  background: linear-gradient(135deg,rgba(0,168,150,0.06),rgba(21,76,138,0.06));
  border: 1px solid rgba(14,58,93,0.07);
}
.tb-item h4 { font-family: 'Syne',sans-serif; font-size: 1.03rem; color: var(--navy); }
.tb-item p { font-size: 0.88rem; color: var(--sub); margin-top: 7px; }

/* CTA */
.cta-section { padding: 0 0 88px; }
.cta-card {
  background: linear-gradient(135deg,#0f3859 0%,#0e5275 45%,#0aa99a 120%);
  border-radius: 36px; padding: 56px; position: relative; overflow: hidden;
  box-shadow: var(--float);
}
.cta-card::before { content: ''; position: absolute; top:-100px; right:-100px; width:400px; height:400px; border-radius:50%; background:rgba(255,255,255,0.04); }
.cta-card::after { content: ''; position: absolute; bottom:-80px; left:20%; width:300px; height:300px; border-radius:50%; background:rgba(0,168,150,0.12); filter:blur(60px); }
.cta-inner { position: relative; z-index: 1; }
.cta-card h2 { font-family: 'Syne',sans-serif; font-size: clamp(2rem,4vw,2.9rem); color: white; max-width: 660px; }
.cta-card p { margin-top: 15px; color: rgba(255,255,255,0.78); max-width: 580px; }
.cta-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.btn-white {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 16px 28px; border-radius: 999px; background: white; color: var(--navy);
  font-size: 0.94rem; font-weight: 700; border: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15); transition: transform .25s var(--ease-spring), box-shadow .25s;
}
.btn-white:hover {  box-shadow: 0 14px 36px rgba(0,0,0,0.2); }
.btn-glass {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 15px 26px; border-radius: 999px; background: rgba(255,255,255,0.12);
  color: white; border: 1.5px solid rgba(255,255,255,0.2);
  font-size: 0.94rem; font-weight: 600; transition: background .2s;
}
.btn-glass:hover { background: rgba(255,255,255,0.2); }

/* FOOTER */
footer { border-top: 1px solid rgba(14,58,93,0.08); padding: 36px 0 52px; background: white; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand { }
.footer-brand .brand-name { font-family: 'Syne',sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--navy); }
.footer-brand .brand-name span { color: var(--teal); }
.footer-brand p { font-size: 0.87rem; color: var(--sub); margin-top: 10px; max-width: 280px; }
.footer-col h5 { font-family: 'Syne',sans-serif; font-size: 0.88rem; color: var(--navy); margin-bottom: 14px;  }
.footer-col a { display: block; font-size: 0.85rem; color: var(--sub); margin-bottom: 9px; transition: color .2s; }
.footer-col a:hover { color: var(--teal); }
.footer-bottom { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(14,58,93,0.07); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { font-size: 0.82rem; color: var(--sub); }

/* SPOTLIGHT */
.spotlight { position: fixed; width: 350px; height: 350px; background: radial-gradient(circle,rgba(0,168,150,0.055) 0%,transparent 65%); border-radius: 50%; pointer-events: none; z-index: 0; transform: translate(-50%,-50%); transition: left .12s, top .12s; }

/* REVEAL */
.reveal { opacity: 0;  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.visible { opacity: 1; transform: none; }
.rd1 { transition-delay: .1s; }
.rd2 { transition-delay: .2s; }
.rd3 { transition-delay: .3s; }
.rd4 { transition-delay: .4s; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1060px) {
  .hero-inner,.products-layout,.partner-layout,.footer-grid { grid-template-columns: 1fr; }
  .hero-visual,.sidebar { position: static; }
  .exp-grid { grid-template-columns: repeat(2,1fr); }
  .sectors-grid { grid-template-columns: 1fr; }
  .mega-wide { min-width: 460px; }
  .mega-cols-3 { grid-template-columns: repeat(2,1fr); }
  .mega-cols-2 { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-menu,.btn-outline-nav { display: none; }
  .exp-grid,.products-grid,.partner-grid,.trust-band { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 18px; }
  .cta-card { padding: 34px 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}


/* ═══ PATCH LOGO FICHIER & PAGES INTERNES ═══ */
.brand-logo-img {
  width: auto;
  height: 64px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.inner-hero {
  padding-top: calc(var(--nav-h) + 64px);
  padding-bottom: 44px;
  position: relative;
  overflow: visible;
}
.inner-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(14,58,93,0.04) 1px,transparent 1px), linear-gradient(90deg,rgba(14,58,93,0.04) 1px,transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 20%, transparent 80%);
}
.inner-hero .container { position: relative; z-index: 1; }
.inner-hero h1 { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: clamp(2.4rem,5vw,4rem); line-height: 1.16; color: var(--navy);  }
.inner-hero p { margin-top: 16px; max-width: 760px; color: var(--sub); font-size: 1rem; }
.inner-panels { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:32px; }
.inner-panel {
  background:white; border:1px solid rgba(14,58,93,0.08); border-radius:20px; padding:18px 20px;
  box-shadow: 0 12px 32px rgba(14,58,93,0.08);
}
.inner-panel strong { display:block; color:var(--navy); font-family:'Syne',sans-serif; margin-bottom:6px; }
.inner-panel span { color:var(--sub); font-size:.9rem; }
.nav-link.active, .nav-trigger.active { color: var(--navy); background: rgba(14,58,93,0.06); }
@media(max-width: 900px){ .inner-panels { grid-template-columns:1fr; } }


/* ═══ HERO VISUEL ILLUSTRÉ ═══ */
.hero-media-card {
  position: relative;
  min-height: 590px;
  border-radius: 34px;
  overflow: visible;
  background: white;
  border: 1px solid rgba(14,58,93,0.08);
  box-shadow: var(--float);
  animation: cardIn 1s var(--ease-out) .3s both;
}
.hero-media-image-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-media-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: none;
}
.hero-media-image-wrap::after {
  content: none;
}
.hero-media-panel {
  position: absolute;
  left: 24px;
  bottom: 24px;
  width: min(360px, calc(100% - 48px));
  padding: 24px;
  border-radius: 24px;
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(14,58,93,0.08);
  box-shadow: 0 18px 42px rgba(14,58,93,0.18);
  backdrop-filter: blur(8px);
}
.hero-media-kicker {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(0,168,150,0.12);
  color: #0a877a;
  font-size: 0.74rem;
  font-weight: 700;
  
  text-transform: uppercase;
}
.hero-media-panel h3 {
  margin-top: 14px;
  font-size: 1.45rem;
  color: var(--navy);
  }
.hero-media-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}
.hero-media-pills span {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--mist);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 600;
}
.home-hub-grid .sector-card p {
  max-width: 34ch;
}
@media (max-width: 1060px) {
  .hero-media-card { min-height: 470px; }
}
@media (max-width: 768px) {
  .hero-media-card { min-height: 380px; }
  .hero-media-image {
    clip-path: none;
  }
  .hero-media-panel {
    left: 16px;
    right: 16px;
    bottom: 16px;
    width: auto;
    padding: 18px;
  }
  .hero-media-panel h3 {
    font-size: 1.15rem;
  }
}


/* Fix menu Solutions coupé */
.nav-item[data-menu="solutions"] .mega-menu {
  left: 0;
  
  max-width: min(740px, calc(100vw - 32px));
}
.nav-item[data-menu="solutions"].open .mega-menu {
  
}

/* Partenaires sur l'accueil */
.partner-layout { display:grid; grid-template-columns: 1.1fr .9fr; gap:28px; align-items:stretch; }
.partner-grid { display:grid; grid-template-columns: repeat(2, 1fr); gap:16px; }
.partner-tile { background:#fff; border:1px solid rgba(14,58,93,0.08); border-radius:22px; padding:22px; box-shadow:0 14px 34px rgba(14,58,93,0.08); transition:transform .25s var(--ease-spring), box-shadow .25s, border-color .25s; cursor:pointer; }
.partner-tile:hover, .partner-tile.active {  box-shadow:0 22px 44px rgba(14,58,93,0.14); border-color:rgba(0,168,150,0.25); }
.pt-logo { height:58px; display:flex; align-items:center; justify-content:flex-start; margin-bottom:16px; }
.pt-logo-fallback { width:48px; height:48px; border-radius:14px; display:inline-flex; align-items:center; justify-content:center; background:linear-gradient(135deg,var(--navy),var(--teal)); color:#fff; font-weight:700; }
.partner-tile strong { display:block; font-size:1.05rem; color:var(--navy); }
.partner-tile span { display:block; margin-top:6px; color:var(--sub); font-size:.9rem; }
.partner-detail { background:linear-gradient(145deg,#0e3a5d,#0d5070 60%,#0aa99a 130%); border-radius:28px; padding:30px; color:#fff; box-shadow:var(--float); }
.partner-detail h3 { font-size:1.5rem; margin:10px 0 14px; }
.partner-detail p { color:rgba(255,255,255,.82); }
.pd-tag { display:inline-flex; padding:8px 14px; border-radius:999px; background:rgba(255,255,255,.12); color:var(--teal2); font-size:.74rem; font-weight:700;  text-transform:uppercase; }
.pd-logo-wrap { margin:18px 0; padding:14px; border-radius:18px; background:rgba(255,255,255,.08); display:inline-flex; }
.pd-bullets { display:grid; gap:10px; margin-top:18px; }
.pd-bullet { padding:12px 14px; border-radius:14px; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.08); font-size:.92rem; }
@media(max-width: 980px){ .partner-layout{grid-template-columns:1fr;} }
@media(max-width: 720px){ .partner-grid{grid-template-columns:1fr;} .nav-item[data-menu="solutions"] .mega-menu{left:0; right:auto; min-width:min(560px, calc(100vw - 32px));} }


/* Custom cleanup */
.partner-layout.logos-only { display:block; }
.logos-only .partner-grid { grid-template-columns: repeat(2, minmax(220px, 1fr)); max-width: 760px; }
.logos-only-tile { text-align:center; min-height:auto; }
.logos-only-tile strong { display:block; margin-top: 10px; }
.partner-tile .pt-logo, .logos-only-tile .pt-logo { background: white; }
.partner-tile .pt-logo img, .logos-only-tile .pt-logo img { background: transparent !important; mix-blend-mode: normal; filter: none !important; box-shadow: none; }
@media (max-width: 720px) { .logos-only .partner-grid { grid-template-columns: 1fr; } }


/* Global descender fix */
.hero-copy h1,
.inner-hero h1,
.cta-card h2,
.section-title,
.panel-head h3,
.partner-tile strong {
  overflow: visible;
  padding-bottom: .14em;
}
.hero-copy h1 { line- }
.inner-hero h1 { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: clamp(2.4rem,5vw,4rem); line-height: 1.16; color: var(--navy);  }
.cta-card h2 { line- }

/* Premium partners section */
.partner-layout.logos-only { display:block; }
.logos-only .partner-grid {
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  max-width: 1140px;
  gap: 24px;
}
.logos-only-tile {
  min-height: 228px;
  padding: 28px;
  text-align: left;
  border-radius: 30px;
  border: 1px solid rgba(14,58,93,0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.94) 0%, rgba(247,251,253,0.98) 100%);
  box-shadow: 0 18px 48px rgba(14,58,93,0.10);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.logos-only-tile::before {
  content:'';
  position:absolute; inset:-1px; border-radius:inherit;
  padding:1px;
  background: linear-gradient(135deg, rgba(0,168,150,0.28), rgba(21,76,138,0.14), rgba(255,255,255,0.65));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events:none; z-index:-1;
}
.logos-only-tile::after {
  content:''; position:absolute; width:220px; height:220px; border-radius:50%;
  right:-80px; top:-90px;
  background: radial-gradient(circle, rgba(0,168,150,0.16) 0%, rgba(0,168,150,0.02) 55%, transparent 72%);
  transition: transform .45s var(--ease-spring), opacity .45s var(--ease-out);
  opacity:.9;
}
.logos-only-tile:hover, .logos-only-tile.active {
  
  box-shadow: 0 28px 68px rgba(14,58,93,0.16);
  border-color: rgba(0,168,150,0.22);
}
.logos-only-tile:hover::after, .logos-only-tile.active::after { transform: scale(1.08); }
.logos-only-tile .pt-badge {
  display:inline-flex; align-items:center; gap:8px;
  padding: 8px 14px; border-radius:999px;
  background: rgba(0,168,150,0.10); color:#067d70;
  font-size:.74rem; font-weight:700;  text-transform:uppercase;
}
.logos-only-tile .pt-badge::before {
  content:''; width:8px; height:8px; border-radius:50%; background: currentColor; box-shadow:0 0 0 6px rgba(0,168,150,0.10);
}
.logos-only-tile .pt-logo {
  height: 108px;
  display:flex; align-items:center; justify-content:center;
  margin: 26px 0 18px;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(244,249,251,0.96));
  border: 1px solid rgba(14,58,93,0.05);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 10px 24px rgba(14,58,93,0.06);
}
.logos-only-tile .pt-logo img {
  width: auto;
  max-width: 88%;
  max-height: 64px;
  object-fit: contain;
  transition: transform .35s var(--ease-spring), filter .35s var(--ease-out);
}
.logos-only-tile:hover .pt-logo img, .logos-only-tile.active .pt-logo img { transform: scale(1.04); }
.logos-only-tile strong {
  display:block; margin-top:0; font-size:1.55rem; line-height:1.12; color:var(--navy);
}
.logos-only-tile span { display:block; margin-top:8px; font-size:.98rem; color:var(--sub); }
@media (max-width: 820px) {
  .logos-only .partner-grid { grid-template-columns: 1fr; }
  .logos-only-tile { min-height: 210px; }
}


/* Final descender fix */
.section-title,
.hero-copy h1,
.inner-hero h1,
.cta-card h2,
.partner-tile strong,
.logos-only-tile strong {
  line-height: 1.18 !important;
  padding-bottom: 0.18em !important;
  overflow: visible !important;
}
.reveal,
.container,
section,
.hero-copy,
.cta-inner {
  overflow: visible;
}

/* Cleaner premium hero media */
.hero-media-card {
  background: #ffffff;
}
.hero-media-image-wrap {
  background: transparent;
}

/* Stronger premium partner emphasis */
.logos-only .partner-grid {
  align-items: stretch;
}
.logos-only-tile {
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.logos-only-tile:hover,
.logos-only-tile.active {
  
  box-shadow: 0 30px 72px rgba(14,58,93,0.18);
}
.logos-only-tile .pt-logo {
  min-height: 118px;
}


/* Bigger partner logos */
.logos-only-tile .pt-logo img,
.partner-card img {
  max-height: 80px !important;
  transform: scale(1.05);
}

.logos-only-tile:hover .pt-logo img {
  transform: scale(1.12);
}


/* EVEN BIGGER partner logos + tagline visibility */
.logos-only-tile .pt-logo img,
.partner-card img {
  max-height: 95px !important;
  transform: scale(1.12);
}

/* improve tagline under logo */
.logos-only-tile strong,
.partner-card strong {
  font-size: 1.15rem;
  
}

/* stronger hover */
.logos-only-tile:hover .pt-logo img {
  transform: scale(1.2);
}


/* Final project fixes */
.footer-logo-wrap{display:flex;align-items:center;margin-bottom:14px;}

.hero-media-pills{display:none !important;}
.hero-media-panel h3{margin-bottom:0 !important;}
.section-title,.hero h1,.inner-hero h1,.cta-card h2,.partner-tile strong,.logos-only-tile strong{line-height:1.18 !important;padding-bottom:.16em !important;overflow:visible !important;}
.reveal,.container,section,.hero-copy,.cta-inner{overflow:visible !important;}
.logos-only-tile .pt-logo img,.partner-card img{max-height:95px !important;max-width:260px !important;transform:scale(1.12);}
.logos-only-tile:hover .pt-logo img{transform:scale(1.2);}
.logos-only-tile strong,.partner-card strong{font-size:1.15rem;}
.hero-media-card::before,.hero-media-image-wrap::before,.hero-media-image-wrap::after{content:none !important;display:none !important;}
.hero-media-image{clip-path:none !important;}
.hero-media-image-wrap{background:transparent !important;overflow:hidden;}
.partner-tile .pt-badge:empty{display:none !important;}


/* Menu simplifié : pas de fenêtres au survol */
.mega-menu {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

.nav-item.open .mega-menu,
.nav-item:hover .mega-menu {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

/* Même comportement visuel que Contact */
.nav-trigger svg {
  display: none !important;
}









/* Stable title rendering fix */
.hero,
.inner-hero,
.section,
.container,
.reveal,
.hero-inner,
.hero-copy,
.hero-card,
.hero-media-card,
.hero-media-panel,
.exp-card,
.sector-card,
.prod-card {
  overflow: visible !important;
}





/* CLEAN TYPO OPTIMISÉE */
h1,h2,h3,h4,h5 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0.01em;
  font-kerning: normal;
}

.hero h1,
.inner-hero h1,
.section-title {
  letter-spacing: 0.025em;
  font-kerning: normal;
  line-height: 1.14;
}

.section-title {
  padding-bottom: 0.10em;
}

.hero-sub,
.section-sub,
p {
  line-height: 1.72;
}

.sector-card h3,
.exp-card h3,
.prod-card h4 {
  letter-spacing: 0.008em;
  line-height: 1.16;
}

/* PARTNERS spacing fix */
.partner-grid {
  gap: 20px !important;
}

.logos-only .partner-grid {
  gap: 20px !important;
}

.section {
  padding-top: 60px !important;
  padding-bottom: 60px !important;
}



/* Footer logo restored to original-looking size */



/* ===== LOGOS CLEAN BALANCED ===== */

/* Header logo (navigation) */
.nav-logo img,
.header-logo img {
  height: 44px;
  width: auto;
}

/* Footer logo (bigger but proportional) */
.footer-logo-img {
  height: 64px;
  width: auto;
  max-width: 100%;
}

/* Partner logos */
.partner-tile img,
.logos-only-tile img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

/* Prevent stretching */
img {
  max-width: 100%;
  height: auto;
}



/* ===== MENU SIMPLE + MOBILE / IPAD ===== */
.mega-menu {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

.nav-trigger svg {
  display: none !important;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(14,58,93,0.12);
  background: rgba(255,255,255,0.88);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(14,58,93,0.08);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform .25s ease, opacity .25s ease;
}

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

@media (max-width: 1100px) {
  .topbar {
    height: auto;
    min-height: var(--nav-h);
  }

  .nav {
    min-height: var(--nav-h);
    padding: 14px 0;
    flex-wrap: wrap;
    align-items: center;
  }

  .brand {
    margin-right: 0;
  }

  .nav-toggle {
    display: inline-flex;
    order: 3;
    margin-left: 8px;
  }

  .nav-right {
    display: flex !important;
    order: 2;
    margin-left: 0;
  }

  .nav-right .btn-outline-nav {
    display: none !important;
  }

  .nav-menu {
    display: none;
    width: 100%;
    flex: 0 0 100%;
    margin-top: 14px;
    padding: 14px;
    border-radius: 22px;
    background: rgba(255,255,255,0.97);
    border: 1px solid rgba(14,58,93,0.08);
    box-shadow: 0 20px 48px rgba(14,58,93,0.10);
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-item,
  .nav-link {
    width: 100%;
  }

  .nav-trigger,
  .nav-link {
    width: 100%;
    justify-content: flex-start;
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 1rem;
    background: transparent;
  }

  .nav-trigger:hover,
  .nav-link:hover {
    background: rgba(14,58,93,0.06);
  }

  .hero,
  .inner-hero,
  .contact-hero {
    padding-top: calc(var(--nav-h) + 96px);
  }
}

@media (max-width: 768px) {
  .container {
    width: min(100%, calc(100% - 28px));
  }

  .brand-logo-img {
    max-height: 42px;
    width: auto;
  }

  .hero,
  .inner-hero,
  .contact-hero {
    padding-top: calc(var(--nav-h) + 110px);
  }
}




/* Slightly larger for tablets */
@media (max-width: 1024px) {
  .nav-logo img,
  .header-logo img,
  .brand-logo-img {
    height: 52px !important;
  }
}



/* ===== REAL MOBILE LOGO FIX ===== */

/* Hide tiny tagline inside image */
@media (max-width: 768px) {
  .brand-logo-img {
    height: 64px !important;
  }
}

/* Add readable tagline under logo */
@media (max-width: 768px) {
  
}


@media (max-width: 768px) {
  .nav {
    align-items: flex-start;
  }

  .brand {
    display: flex;
    flex-direction: column;
  }

  .brand-logo-img,
  .nav-logo img,
  .header-logo img {
    height: 95px !important;
    width: auto;
  }

  /* allow header to grow */
  .topbar {
    height: auto !important;
    padding: 12px 0;
  }
}




  .nav {
    align-items: flex-start;
  }

  .brand {
    display: flex;
    align-items: flex-start;
  }

  .brand-logo-img,
  .nav-logo img,
  .header-logo img {
    height: 110px !important;
    width: auto !important;
    max-width: none !important;
  }
}

@media (max-width: 480px) {
  .brand-logo-img,
  .nav-logo img,
  .header-logo img {
    height: 110px !important;
  }
}



/* Slight adjustment for very small phones */
@media (max-width: 480px) {
  .brand-logo-img,
  .nav-logo img,
  .header-logo img {
    width: 220px !important;
  }
}



/* Desktop / web */
.brand {
  flex-shrink: 0;
  margin-right: 28px;
}
.brand-logo-img {
  width: 300px;
  max-width: 100%;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.nav-menu {
  flex: 1;
  justify-content: center;
}
.nav-right {
  flex-shrink: 0;
}

/* Tablet */
@media (max-width: 1024px) {
  .brand-logo-img {
    width: 260px;
    height: auto;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .topbar {
    height: auto !important;
    padding: 12px 0;
  }

  .nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .brand {
    flex: 1;
    min-width: 0;
    margin-right: 0;
  }

  .brand-logo-img {
    width: 240px !important;
    max-width: 100% !important;
    height: auto !important;
  }

  .nav-toggle {
    flex-shrink: 0;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .brand-logo-img {
    width: 210px !important;
  }
}


/* ===== CLEAN FINAL HEADER ===== */
.topbar {
  height: auto !important;
  min-height: var(--nav-h);
  padding: 10px 0;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 96px;
}

.brand {
  flex-shrink: 0;
  margin-right: 24px;
  display: flex;
  align-items: center;
}

.brand-logo-img {
  display: block;
  width: 300px;
  max-width: 100%;
  height: auto;
  max-height: 100px;
}

.nav-menu {
  flex: 1;
  justify-content: center;
}

.nav-right {
  flex-shrink: 0;
}

/* Tablet */
@media (max-width: 1024px) {
  .nav {
    min-height: 90px;
  }

  .brand-logo-img {
    width: 260px;
    max-height: 88px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .topbar {
    padding: 12px 0;
  }

  .nav {
    min-height: 82px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .brand {
    flex: 1;
    min-width: 0;
    margin-right: 0;
  }

  .brand-logo-img {
    width: 220px !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
  }

  .nav-toggle {
    flex-shrink: 0;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .brand-logo-img {
    width: 200px !important;
  }
}


/* ===== MOBILE LOGO LEFT ALIGN FIX ===== */
@media (max-width: 768px) {
  .nav {
    align-items: flex-start !important;
  }

  .brand {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    margin-right: 0 !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    text-align: left !important;
  }

  .brand-logo-img {
    display: block !important;
    margin: 0 !important;
  }

  .nav-toggle {
    margin-left: 8px !important;
    align-self: flex-start !important;
  }

  .nav-menu {
    margin-top: 10px !important;
  }

  .nav-menu.is-open {
    display: flex;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .brand {
    justify-content: flex-start !important;
    align-items: flex-start !important;
  }

  .brand-logo-img {
    margin-left: 0 !important;
  }
}

/* ── PARTNER LOGOS: FINAL SIZE OVERRIDE (bigger, uncropped) ── */
.logos-only-tile .pt-logo,
.partner-tile .pt-logo {
  height: 140px !important;
  padding: 14px !important;
  margin: 20px 0 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.logos-only-tile .pt-logo img,
.partner-tile .pt-logo img,
.partner-card img {
  max-height: 128px !important;
  max-width: 94% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  transform: none !important;
}
.logos-only-tile:hover .pt-logo img,
.logos-only-tile.active .pt-logo img,
.partner-tile:hover .pt-logo img,
.partner-tile.active .pt-logo img {
  transform: scale(1.05) !important;
}
@media (max-width: 480px) {
  .logos-only-tile .pt-logo,
  .partner-tile .pt-logo { height: 110px !important; }
  .logos-only-tile .pt-logo img,
  .partner-tile .pt-logo img { max-height: 96px !important; }
}

/* ── MOBILE HEADER FIT FIX ──
   Ensure logo + language switch + hamburger all fit on one line without wrapping.
   Note: .nav must keep flex-wrap:wrap so the open mobile menu drawer (flex:0 0 100%)
   can still drop to its own full-width row below the header row. */
@media (max-width: 768px) {
  .brand-logo-img {
    height: 56px !important;
    width: auto !important;
    max-width: 46vw !important;
  }
  .nav-right,
  .nav-toggle {
    flex-shrink: 0 !important;
  }
}
@media (max-width: 380px) {
  .brand-logo-img { height: 46px !important; max-width: 42vw !important; }
  .lang-btn { padding: 4px 7px; font-size: 0.68rem; }
}

/* ── MOBILE MENU DRAWER FIX (final override) ──
   A later unconditional ".nav-menu { flex:1 }" rule was overriding the
   mobile-specific "flex:0 0 100%" needed for the dropdown to take its own
   full-width row below the header. Force it here with highest priority. */
@media (max-width: 768px) {
  .nav-menu {
    display: none !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 14px !important;
    justify-content: flex-start !important;
  }
  .nav-menu.is-open {
    display: flex !important;
  }
}

/* ── MOBILE SCROLL PERFORMANCE ──
   backdrop-filter (blur) on a position:fixed header is expensive to
   repaint continuously while scrolling on mobile GPUs. Disable it on
   small screens where the visual benefit is minor but the cost is high. */
@media (max-width: 768px) {
  .topbar {
    backdrop-filter: none !important;
    background: rgba(248,251,253,0.98) !important;
  }
  .topbar.scrolled {
    background: rgba(255,255,255,0.99) !important;
  }
}

/* ── MOBILE SCROLL PERFORMANCE (part 2) ──
   The decorative ".orb" shapes animate forever (infinite) and use a very
   heavy blur(80px) filter. Continuously repainting a large, heavily
   blurred layer is expensive on mobile GPUs and compounds with scroll
   compositing, causing visible jank. On mobile we stop the animation and
   shrink the blur radius substantially — the shapes stay as a subtle
   static glow instead of a constantly-recomputed animated blur. */
@media (max-width: 900px) {
  .orb {
    animation: none !important;
    filter: blur(36px) !important;
  }
}

/* ── MOBILE SCROLL PERFORMANCE (part 3, aggressive) ──
   Two more likely sources of jank, addressed more decisively this time:
   1) The scroll-triggered ".reveal" fade/slide-in animation runs on
      every card/section as it enters the viewport — i.e. precisely
      while the user is scrolling. With many such elements per page,
      concurrent transitions can visibly stutter on mid/low-end phones.
      On mobile we show content immediately with no animation at all.
   2) The decorative ".orb" blurred shapes are now fully hidden on
      mobile instead of just lighter — a blur() filter has an ongoing
      compositing cost even when static, and removing it entirely is
      the only way to fully eliminate that cost. */
@media (max-width: 768px) {
  .reveal,
  .reveal.visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .orb {
    display: none !important;
  }
}
