:root{
  /* Core */
  --bg: #111A2B;                 /* dark frame: header/hero/footer */
  --neutral: #E6ECF3;            /* light section background */
  --text: rgba(255,255,255,.92); /* default text on dark */
  --muted: rgba(255,255,255,.72);
  --line: rgba(255,255,255,.14);

  /* Brand */
  --brand: #0F4C81;              /* primary blue */
  --accent: #3F6E4A;             /* muted green accent */

  /* Light-mode tokens */
  --text-body: #333333;
  --muted-body: #5D5D5D;
  --line-light: #E1E4E8;

  /* Surfaces on dark */
  --surface: rgba(255,255,255,.08);
  --surface2: rgba(255,255,255,.12);

  /* Effects + layout */
  --shadow: 0 20px 60px rgba(0,0,0,.35);
  --radius: 18px;
  --max: 1100px;
  --pad: 18px;
}

html, body{
  margin: 0;
  padding: 0;
  padding-top: 30px;
  background:
    radial-gradient(1200px 600px at 20% -20%, rgba(15,76,129,.24), transparent 60%),
    radial-gradient(1000px 500px at 110% 10%, rgba(63,110,74,.18), transparent 50%),
    var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  overflow-x: hidden;
}

html{ -webkit-text-size-adjust: 100%; }

a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; height: auto; display: block; }

.container{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* =========================
   Top Nav
   ========================= */
.topbar{
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 9999;
  backdrop-filter: blur(10px);
  background: rgba(17,26,43,.65); /* updated from old bg */
  border-bottom: 1px solid var(--line);
}

.topbar-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
}

.brand{
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand img{
  width: 190px;
  height: auto;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.25));
}

.nav-actions{
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Base button */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  user-select: none;
  transition: transform .10s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
  flex-direction: column; /* keeps hamburger stacking behavior */
}

.btn:hover{ background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.22); }
.btn:active{ transform: translateY(1px); }

/* Primary */
.btn-primary{
  background: var(--brand);
  border-color: rgba(15,76,129,.85); /* updated */
  color: #fff;
}
.btn-primary:hover{
  background: #0C3F6B;          /* brand-consistent hover */
  border-color: #0C3F6B;
}

/* Hamburger button */
.btn.hamburger{
  width: 42px;
  height: 42px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  line-height: 0;
}

.btn.hamburger span{
  display: block;
  width: 20px;
  height: 2.5px;
  background: currentColor;
  border-radius: 2px;
  margin: 0;

    transition: transform .25s ease,
    opacity .2s ease,
    background .2s ease;

}
.btn.hamburger span + span{ margin-top: 5px; }

.hamburger.open span:nth-child(1){
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2){
  opacity:0;
}

.hamburger.open span:nth-child(3){
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================
   Menu System
   ========================= */
.mobileMenu{
  position:absolute;
  top:100%;

  left:50%;
  transform: translateX(-50%) translateY(-10px) scale(.98);

  width: min(var(--max), calc(100% - (var(--pad) * 2)));

  opacity:0;
  pointer-events:none;

  transition:
    opacity .18s cubic-bezier(.4,0,.2,1),
    transform .26s cubic-bezier(.4,0,.2,1);

  background: rgba(17,26,43,.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border-top:1px solid rgba(255,255,255,.12);
  box-shadow:0 14px 46px rgba(0,0,0,.42);

  padding:12px 12px 16px;
border-radius: 14px;

}


.mobileMenu::before{
  content:"";
  position:absolute;
  inset:-40%;
  pointer-events:none;
  opacity:.55;
  background:
    radial-gradient(500px 320px at 18% 18%, rgba(15,76,129,.22), transparent 60%),
    radial-gradient(460px 300px at 86% 26%, rgba(63,110,74,.14), transparent 62%),
    radial-gradient(520px 360px at 60% 92%, rgba(255,255,255,.06), transparent 58%);
  filter: saturate(1.05);
  transform: translate3d(0,0,0);
}

.mobileMenu.open{
  opacity:1;
  transform: translateX(-50%) translateY(0) scale(1);
  pointer-events:auto;
}

.mobileMenu > *{
  position: relative;
  z-index: 1;
}


.mobileMenu a{
  display:block;

  padding:12px 10px;
  margin:3px 0;

  border-radius:8px;

  color:var(--text);
  font-weight:600;

  transition:
    background .16s ease,
    transform .12s ease,
    color .16s ease;

 padding-left: 10px;
}

.mobileMenu .subhead{
  margin-top:18px;
  margin-bottom:6px;

  padding:6px 8px;

  font-size:11px;
  font-weight:700;

  letter-spacing:.18em;
  text-transform:uppercase;

  color:rgba(255,255,255,.55);
}

.mobileMenu a:hover{
  background: rgba(255,255,255,.08);
  box-shadow: 0 0 0 1px rgba(15,76,129,.25);
  transform: translateX(2px);
}

.mobileMenu a.active{
  color: #fff;
  font-weight: 700;
  background: rgba(63,110,74,.18);
  border-left: 3px solid #3F6E4A;
  padding-left: 10px;
}

/* Animate only when motion is allowed */
@media (prefers-reduced-motion: no-preference){
  .mobileMenu::before{
    animation: menuGlowShift 10s ease-in-out infinite alternate;
    will-change: transform, opacity;
  }

  @keyframes menuGlowShift{
    0%   { transform: translate3d(0,0,0) scale(1);   opacity: .45; }
    100% { transform: translate3d(-26px, 18px, 0) scale(1.06); opacity: .62; }
  }
}

/* =========================
   Executive Hero
   ========================= */
.aderitas-hero{
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(36px, 5vw, 64px) 0 16px; /* tighter bottom */
}

/* Glow */
.aderitas-hero::before{
  content:"";
  position:absolute; inset:-2px;
  background:
    radial-gradient(900px 540px at 22% 22%, rgba(15,76,129,.34) 0%, rgba(15,76,129,0) 60%),
    radial-gradient(760px 520px at 78% 12%, rgba(63,110,74,.16) 0%, rgba(63,110,74,0) 62%),
    radial-gradient(820px 560px at 70% 78%, rgba(255,255,255,.07) 0%, rgba(255,255,255,0) 58%);
  pointer-events:none;
  filter: saturate(1.02);
  z-index: 0;
}

/* Grid */
.aderitas-hero::after{
  content:"";
  position:absolute; inset:0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.065) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.065) 1px, transparent 1px);
  background-size: 84px 84px;
  opacity: .10;
  mask-image: radial-gradient(720px 520px at 24% 26%, rgba(0,0,0,1), rgba(0,0,0,0));
  pointer-events:none;
  z-index: 0;
}

/* Sheen sweep layer (element in HTML) */
.hero-sheen{
  position: absolute;
  inset: -30%;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 34%,
    rgba(15,76,129,.34) 46%,
    rgba(63,110,74,.20) 52%,
    transparent 64%
  );
  opacity: .60;
  mix-blend-mode: screen;
  transform: translateX(-45%);
  will-change: transform, opacity;
}

/* Container align */
.aderitas-wrap{
  width: min(var(--max), calc(100% - (var(--pad) * 2)));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Mobile-first grid: stack by default */
.aderitas-hero-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 4vw, 44px);
  align-items: start;
}

/* Eyebrow */
.aderitas-eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px 0;
  position: relative;
  white-space: nowrap;
}

.aderitas-eyebrow .dot{
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.22);
  outline: 1px solid rgba(255,255,255,.12);
}

.aderitas-eyebrow::after{
  content:"";
  position:absolute;
  left: 0;
  bottom: -10px;
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, rgba(15,76,129,.86), rgba(63,110,74,.38), transparent);
  opacity: .90;
}

/* Headline */
.aderitas-hero h1{
  margin: 0 0 14px 0;
  font-weight: 650;
  line-height: 1.05;
  font-size: clamp(34px, 4.0vw, 58px);
  letter-spacing: -0.02em;
  max-width: 24ch;
  border-left: 4px solid rgba(15,76,129,.92);
  padding-left: 18px;
}

/* Lede */
.aderitas-hero p.lede{
  margin: 0 0 18px 0;
  max-width: 62ch;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.55;
  color: var(--muted);
}

/* CTA row */
.aderitas-cta{
  display:flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items:center;
  margin-top: 10px;
}

/* IMPORTANT: only change button layout inside hero */
.aderitas-hero .btn{
  flex-direction: row;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Hero button variants */
.aderitas-hero .btn-outline{
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.06);
}
.aderitas-hero .btn-outline:hover{
  border-color: rgba(255,255,255,.40);
  background: rgba(255,255,255,.09);
}

.aderitas-hero .btn-ghost{
  border: 1px solid rgba(255,255,255,.14);
  background: transparent;
  color: var(--muted);
}
.aderitas-hero .btn-ghost:hover{
  color: var(--text);
  border-color: rgba(255,255,255,.22);
  background: rgba(255,255,255,.04);
}

/* Hero video background */
.hero-video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(.75);
  background: rgba(0,0,0,0.35);
}

/* Dark overlay for readability */
.hero-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(17,26,43,.55),
    rgba(17,26,43,.78)
  );
  z-index: 1;
}

/* Cred card */
.cred-card{
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  border-radius: var(--radius);
  padding: 18px;
  backdrop-filter: blur(6px);
}

.cred-title{
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px 0;
}

.cred-list{
  display:grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style:none;
}

.cred-item{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  color: var(--text);
  font-size: 14px;
  line-height: 1.45;
}

.cred-item .tick{
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 6px;
  background: rgba(63,110,74,.18);
  outline: 1px solid rgba(63,110,74,.20);
  position: relative;
  margin-top: 1px;
}
.cred-item .tick::after{
  content:"";
  position:absolute;
  left: 5px; top: 4px;
  width: 7px; height: 4px;
  border-left: 2px solid rgba(255,255,255,.82);
  border-bottom: 2px solid rgba(255,255,255,.82);
  transform: rotate(-45deg);
}

.fineprint{
  margin-top: 14px;
  font-size: 12.5px;
  color: rgba(255,255,255,.62);
  line-height: 1.45;
}

.hero-bottom-line{
  margin-top: clamp(18px, 3.5vw, 28px);
  height: 2px;
  background: linear-gradient(90deg, var(--brand), rgba(15,76,129,.35), transparent);
  border: none;
  opacity: .85;
}

/* Mobile eyebrow stabilization */
@media (max-width: 560px){
  .aderitas-eyebrow{
    display: inline-block;
    white-space: normal;
    max-width: 100%;
    line-height: 1.25;
  }
  .aderitas-eyebrow::after{
    bottom: -8px;
    width: 96px;
  }
}

/* =========================
   Cards Section
   ========================= */
.section{
  padding: 16px 0 22px;
}

.sectionHead{
  display: grid;
  gap: 8px;
  margin: 10px 0 14px;
}

.sectionTitle{
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.sectionSub{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.cards{
  display: grid;
  gap: 12px;
}

.card{
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  box-shadow: 0 18px 50px rgba(0,0,0,.22);
  overflow: hidden;
  transition: transform .14s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.card:hover{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.22);
  transform: translateY(-2px);
}

.cardTop{
  display: grid;
  gap: 10px;
  padding: 14px 14px 0;
}

.cardBadge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.86);
}

.doc-card{
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.14);
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(0,0,0,.06);
  padding: 26px 28px;

  max-width: 820px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Disable hover animation for document cards */
.doc-card:hover{
  transform: none;
  box-shadow: 0 10px 26px rgba(0,0,0,.06);
}

.dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  box-shadow: 0 0 0 6px rgba(15,76,129,.10); /* updated (was random old) */
}

.cardTitle{
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.cardText{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.cardFooter{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px 14px;
  border-top: 1px solid rgba(255,255,255,.10);
  margin-top: 12px;
}

.cardLink{
  font-weight: 800;
  color: rgba(255,255,255,.92);
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.card ul{
margin-top:10px;
margin-bottom:18px;
padding-left:22px;
  font-family: inherit; 
  font-size: 14px;      
  color: #3c3c3c;       
}

.card li{
margin-bottom:6px;
}

.arrow{
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
}

/* Light section variant (makes the site less “all dark”) */
.section-light{
  background: var(--neutral);
  color: var(--text-body);
  padding: 44px 0 62px;
  border-top: 1px solid rgba(0,0,0,.06);
}

.section-light .sectionTitle{ color: #111A2B; } /* updated */
.section-light .sectionSub{ color: var(--muted-body); }

.section-light .card{
  background: #F7F9FC;                 /* lighter than section bg */
  border: 1px solid rgba(15,76,129,.14);/* brand-tinted, subtle */
  box-shadow: 0 10px 26px rgba(17,26,43,.08);
}

.section-light .card:hover{
  background: #FFFFFF;
  border-color: rgba(15,76,129,.30);
  box-shadow: 0 18px 44px rgba(15,76,129,.14);
  transform: translateY(-4px);
}

.section-light .cardFooter{
  border-top: 1px solid rgba(0,0,0,.08);
}

.section-light .cardTitle{ color:#111A2B; } /* updated */
.section-light .cardText{ color:#3c3c3c; }

.section-light .cardBadge{ color: rgba(15,76,129,.90); } /* updated */
.section-light .cardLink{ color: var(--brand); }

.section-light .dot{
  box-shadow: 0 0 0 6px rgba(15,76,129,.08); /* updated */
}

/* =========================
   Footer
   ========================= */
.footer{
  padding: 26px 0 30px;
  border-top: 1px solid var(--line);
  background: rgba(0,0,0,.18);
  margin-top: 8px;
}

.footerGrid{
  display: grid;
  gap: 16px;
}

.footerCol h4{
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.82);
}

.footerCol a{
  display: block;
  color: var(--muted);
  padding: 8px 0;
  border-bottom: 1px dashed rgba(255,255,255,.10);
}

.footerCol a:last-child{ border-bottom: 0; }

.copyright{
  margin-top: 18px;
  color: rgba(255,255,255,.55);
  font-size: 12px;
  line-height: 1.4;
}

/* =========================
   Desktop Enhancements (ONE breakpoint)
   ========================= */
@media (min-width: 900px){
  :root{ --pad: 22px; }

  .aderitas-hero-grid{ grid-template-columns: 1.1fr .9fr; }
  .cards{ grid-template-columns: repeat(3, 1fr); }
  .footerGrid{ grid-template-columns: 1fr 1fr 1fr; }

  /* allow toggle to work */
  .mobileMenu{ display: none; }
  .mobileMenu.open{ display: block; }
}

/* =========================
   Motion (visible, mobile + desktop)
   ========================= */
@media (prefers-reduced-motion: no-preference){

  /* Animate the glow by shifting gradient positions, not moving the layer */
  .aderitas-hero::before{
    animation: heroGlowShift 9s ease-in-out infinite alternate;
    will-change: background-position, opacity;
  }

  @keyframes heroGlowShift{
    0%{
      background-position: 22% 22%, 78% 12%, 70% 78%;
      opacity: 1;
    }
    100%{
      background-position: 16% 30%, 86% 18%, 62% 70%;
      opacity: .92;
    }
  }

 
  /* Grid shift (background-position only) */
  .aderitas-hero::after{
    animation: gridShift 10s ease-in-out infinite alternate;
    will-change: background-position, opacity;
  }

  @keyframes gridShift{
    0%   { background-position: 0 0, 0 0; opacity: .09; }
    100% { background-position: 26px -18px, 26px -18px; opacity: .12; }
  }

  .hero-sheen{
    animation: sheenSweep 4.8s cubic-bezier(.4,0,.2,1) infinite;
  }

  @keyframes sheenSweep{
    0%   { transform: translateX(-55%); opacity: .18; }
    45%  { opacity: .68; }
    100% { transform: translateX(55%);  opacity: .12; }
  }

  .aderitas-hero .btn:hover{
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(0,0,0,.28);
  }
}

/* utility */
.nowrap{
  white-space: nowrap;
}

/* =========================
   Hero Image System
   (re-usable across all pages)
   ========================= */
/* =========================
   Hero Image System
   ========================= */

/* =========================
   Hero Image System
   ========================= */

.aderitas-hero.has-hero-image{
  background-size: cover;
  background-position: center 45%;
  background-repeat: no-repeat;
}

/* tone down glow when using photo */
.aderitas-hero.has-hero-image::before{
  opacity:.12;
}

/* reduce grid visibility */
.aderitas-hero.has-hero-image::after{
  opacity:.03;
}

/* disable hero motion on image pages */
@media (prefers-reduced-motion:no-preference){

  .aderitas-hero.has-hero-image::before,
  .aderitas-hero.has-hero-image::after{
    animation:none !important;
  }

}

/* =========================
   Card Media (image header)
   ========================= */

.cardMedia{
  position: relative;
  aspect-ratio: 16 / 5;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.10);
}

/* image */
.cardMedia img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  filter: saturate(.85) contrast(1.05) brightness(.82);
}

/* brand tint (keeps consistent tone across different photos) */
.cardMedia::after{
  content:"";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(17,26,43,.25) 0%, rgba(17,26,43,.78) 100%),
    radial-gradient(900px 420px at 18% 18%, rgba(15,76,129,.22), transparent 60%),
    radial-gradient(760px 420px at 86% 20%, rgba(63,110,74,.10), transparent 62%);
  pointer-events: none;
}

/* Optional: label in the media area */
.cardMediaLabel{
  position: absolute;
  left: 12px;
  bottom: 10px;
  z-index: 1;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.88);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  padding: 6px 10px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

/* Hover: subtle lift + tiny zoom (modern but restrained) */
.card:hover .cardMedia img{
  transform: scale(1.06);
  transition: transform .5s ease;
}

/* If you're using .section-light, adjust borders/shadows for light */
.section-light .cardMedia{
  border-bottom: 1px solid rgba(15,76,129,.10);
}
.section-light .cardMedia::after{
  background:
    linear-gradient(180deg, rgba(17,26,43,.10) 0%, rgba(17,26,43,.58) 100%),
    radial-gradient(900px 420px at 18% 18%, rgba(15,76,129,.18), transparent 60%),
    radial-gradient(760px 420px at 86% 20%, rgba(63,110,74,.08), transparent 62%);
}