
:root{
  --dark:#0B1220;
  --dark2:#101B30;
  --text:#0E1726;
  --muted:#556276;
  --accent:#2563EB;
  --border:rgba(15,23,42,0.10);
  --shadow:0 18px 46px rgba(2,6,23,0.08);
  --radius:16px;
}

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

html{scroll-behavior:smooth}

body{
  font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
  color:var(--text);
  background:#FFFFFF;
  line-height:1.6;
}

.container{max-width:1120px;margin:auto;padding:0 22px}

header{
  position:fixed;
  top:0; left:0; width:100%;
  background:rgba(11,18,32,0.78);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(255,255,255,0.08);
  padding:14px 0;
  transition:transform .28s ease;
  z-index:1000;
}
header.hide{transform:translateY(-100%)}

.nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:220px;
}
.brand img{
  height:52px;
  width:auto;
  display:block;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.15));
}
.navlinks{
  display:flex;
  align-items:center;
  gap:18px;
}
.navlinks a{
  color:rgba(255,255,255,0.78);
  text-decoration:none;
  font-size:14px;
  padding:8px 10px;
  border-radius:10px;
  transition:.18s;
}
.navlinks a:hover{color:#fff;background:rgba(255,255,255,0.08)}
.navlinks a.cta{
  color:#fff;
  border:1px solid rgba(255,255,255,0.18);
  background:rgba(255,255,255,0.06);
}
.navlinks a.cta:hover{background:rgba(255,255,255,0.10)}

.hero{
  background:radial-gradient(900px 420px at 20% 10%, rgba(37,99,235,0.22), transparent 60%),
             radial-gradient(700px 380px at 80% 22%, rgba(29,78,216,0.18), transparent 55%),
             linear-gradient(180deg,var(--dark),var(--dark2));
  color:#fff;
  padding:140px 0 170px;
  position:relative;
  overflow:hidden;
}

.hero-grid{
  display:grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap:26px;
  align-items:start;
}
@media (max-width: 900px){
  .hero-grid{grid-template-columns:1fr}
}

.kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.14);
  background:rgba(255,255,255,0.06);
  color:rgba(255,255,255,0.82);
  font-size:13px;
  margin-bottom:16px;
}
.hero h1{font-size:50px;line-height:1.06;letter-spacing:-0.6px;margin-bottom:14px}
.hero h2{font-size:18px;font-weight:450;opacity:.88;margin-bottom:18px;max-width:44rem}
.hero p{max-width:44rem;opacity:.82;margin-bottom:14px}
.hero .motto{font-weight:650;opacity:1;margin-top:6px;margin-bottom:18px}
.hero .legal{font-size:13px;opacity:.70;margin-top:10px}

.cta-row{display:flex;gap:12px;flex-wrap:wrap;margin-top:16px}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 16px;
  border-radius:12px;
  font-size:14px;
  font-weight:650;
  text-decoration:none;
  transition:.18s;
  border:1px solid transparent;
}
.btn.primary{background:var(--accent);color:#fff;box-shadow:0 10px 24px rgba(37,99,235,0.30)}
.btn.primary:hover{transform:translateY(-2px)}
.btn.ghost{
  color:rgba(255,255,255,0.92);
  background:rgba(255,255,255,0.06);
  border-color:rgba(255,255,255,0.18);
}
.btn.ghost:hover{background:rgba(255,255,255,0.10)}

.hero-side{
  display:grid;
  gap:12px;
}
.sidecard{
  border:1px solid rgba(255,255,255,0.12);
  background:rgba(255,255,255,0.06);
  border-radius:var(--radius);
  padding:16px 16px;
}
.sidecard strong{display:block;font-size:13px;letter-spacing:0.2px}
.sidecard span{display:block;font-size:13px;opacity:.78;margin-top:2px}

.cut{
  position:absolute;
  bottom:-1px; left:0;
  width:100%;
  height:170px;
}

section{
  padding:72px 0;
}
.section-alt{
  background: #FFFFFF;
}
.section-soft{
  background: #F6F8FB;
}

.block h3{
  font-size:30px;
  margin-bottom:14px;
  letter-spacing:-0.2px;
}
.block p{
  max-width:820px;
  color:var(--muted);
  margin-bottom:12px;
}

.grid-2{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:18px;
  margin-top:22px;
}
@media (max-width: 900px){
  .grid-2{grid-template-columns:1fr}
}

.card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:22px;
}

.unit-card{
  display:grid;
  grid-template-columns: 1fr;
  gap:12px;
}
.unit-header{
  display:flex;
  align-items:center;
  gap:14px;
  min-height:44px;
}
.unit-header img{
  height:52px;
  width:auto;
  display:block;
}
.unit-title{
  font-weight:800;
  font-size:16px;
  letter-spacing:0.2px;
}
.unit-desc{color:var(--muted)}
.unit-actions{margin-top:6px}

.pillrow{display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}
.pill{
  font-size:12px;
  color:var(--muted);
  background:#fff;
  border:1px solid var(--border);
  padding:6px 10px;
  border-radius:999px;
}

.stack{
  display:grid;
  gap:12px;
  margin-top:18px;
}
.stack .item{
  background:#fff;
  border:1px solid var(--border);
  border-radius:14px;
  padding:14px 16px;
}
.stack .item strong{display:block;font-size:13px}
.stack .item span{display:block;font-size:13px;color:var(--muted);margin-top:2px}

.contact-card{
  display:grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap:18px;
  align-items:start;
}
@media (max-width: 900px){
  .contact-card{grid-template-columns:1fr}
}

footer{
  background:linear-gradient(180deg,var(--dark2),var(--dark));
  color:#fff;
  padding:46px 0;
  font-size:13px;
  border-top:1px solid rgba(255,255,255,0.08);
}
footer .row{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;align-items:center}
footer a{color:rgba(255,255,255,0.78);text-decoration:none}
footer a:hover{color:#fff}
footer .muted{opacity:.72}

.fade{
  opacity:0;
  transform:translateY(26px);
  transition:all .65s ease;
}
.fade.show{opacity:1;transform:translateY(0)}


/* logo optical sizing */
.brand img, .unit-header img{ max-width: 220px; }
.unit-header img{ transform: translateY(1px); }
@media (max-width: 900px){ .brand img{ height:36px; } .unit-header img{ height:34px; } }


/* Optical scaling for SVGs with large internal whitespace */
.logo-optical{ transform: scale(1.25) translateY(1px); transform-origin: left center; }
.brand img.logo-optical{ transform-origin: left center; }
@media (max-width: 900px){ .brand img{ height:46px; } .unit-header img{ height:46px; } }


/* Footer signature */
.sig{ margin-top:8px; font-size:13px; opacity:0.78; }
.sig-link{ color: rgba(96,165,250,0.95); text-decoration:none; font-weight:650; }
.sig-link:hover{ color:#fff; text-decoration:underline; }


/* ===== v7 tweak: logos x2 (requested) ===== */
/* Navbar / top brand logo */
.brand img,
.navbar .brand img,
.header .brand img{
  height: 96px !important; /* ~2x */
  width: auto !important;
}

/* Hero logo (if present) */
.hero-logo img,
.hero .hero-logo img{
  height: 180px !important; /* ~2x */
  width: auto !important;
}

/* Unit logos inside cards */
.unit-header img,
.unit-card .unit-header img{
  height: 128px !important; /* ~2x */
  width: auto !important;
}

/* Spacing so bigger logos don't feel cramped */
.unit-card{
  padding-top: 34px !important;
}
.unit-header{
  gap: 14px !important;
  margin-bottom: 10px !important;
}

/* Responsive: avoid overflow on mobile */
@media (max-width: 900px){
  .brand img,
  .navbar .brand img,
  .header .brand img{
    height: 64px !important;
  }
  .hero-logo img,
  .hero .hero-logo img{
    height: 120px !important;
  }
  .unit-header img,
  .unit-card .unit-header img{
    height: 84px !important;
  }
}


/* ===== v7.1: Unit cards – logo full width, title under logo ===== */
.unit-header{
  display:flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 10px !important;
}

.unit-logo{
  width: 100%;
  display:flex;
  justify-content:flex-start;
}

.unit-logo img{
  width: 100% !important;
  height: auto !important;
  max-height: 92px !important;
  object-fit: contain !important;
  opacity: 1;
}

/* Title below logo, not beside */
.unit-card h3,
.unit-card .unit-title{
  margin: 2px 0 0 !important;
  font-weight: 700 !important;
}

/* Give breathing room for the now-larger logo */
.unit-card{
  padding-top: 28px !important;
}

/* Mobile: keep logo readable but avoid huge heights */
@media (max-width: 900px){
  .unit-logo img{
    max-height: 76px !important;
  }
}


/* ===== v7 Brute Force: make unit logos BIG no matter what ===== */
.unit-card{
  padding-top: 28px !important;
}

.unit-header{
  text-align: left !important; /* keep it institutional */
}

.unit-logo{
  width: 100% !important;
  margin: 0 0 14px 0 !important;
  justify-content: flex-start !important;
}

.unit-logo img{
  width: 100% !important;
  height: 240px !important;       /* FORCE presence */
  min-height: 240px !important;
  max-height: 240px !important;
  object-fit: contain !important;
  display: block !important;
}

/* Move title directly above description, not beside logo */
.unit-card h3{
  margin: 0 0 10px 0 !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em !important;
}

/* chips: tighter and lighter */
.unit-tags{
  margin: 0 0 10px 0 !important;
}
.unit-tags .tag{
  font-size: 11px !important;
  padding: 6px 10px !important;
}

/* description: give more room */
.unit-desc{
  margin: 0 0 14px 0 !important;
}

/* Buttons: keep aligned */
.unit-actions{
  margin-top: 6px !important;
}

/* Responsive: still big but avoid huge scroll */
@media (max-width: 900px){
  .unit-logo img{
    height: 200px !important;
    min-height: 200px !important;
    max-height: 200px !important;
  }
}
@media (max-width: 520px){
  .unit-logo img{
    height: 170px !important;
    min-height: 170px !important;
    max-height: 170px !important;
  }
}
