/* ---------- Base ---------- */
:root{
  --bg: #ffffff;
  --text: #0b1b33;
  --muted: #4b5b75;
  --line: #e7eef8;

  --blue: #0b64f4;        /* TeamCME-ish primary */
  --blueDark: #0a56d0;
  --blueSoft: #eaf2ff;

  --shadow: 0 10px 30px rgba(11, 100, 244, 0.10);
  --radius: 18px;
  --radiusLg: 26px;

  --container: 1120px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; }
.container{
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.sr-only{
  position:absolute;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);
  border:0;
}

/* ---------- Topbar ---------- */
.topbar{
  background: #0a1d3a;
  color: rgba(255,255,255,0.9);
  font-size: 13px;
}
.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 10px 0;
}
.topbar__left, .topbar__right{
  display:flex;
  align-items:center;
  gap: 10px;
  flex-wrap: wrap;
}
.topbar__link{
  color: rgba(255,255,255,0.9);
}
.sep{ opacity: .65; }

.pill{
  display:inline-flex;
  align-items:center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
}

/* ---------- Header ---------- */
.header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
  padding: 14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: 240px;
}
.brand__mark{
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
  display:grid;
  place-items:center;
  font-weight: 800;
  letter-spacing: .5px;
  box-shadow: var(--shadow);
}
.brand__text{ display:flex; flex-direction:column; line-height:1.1; }
.brand__name{ font-weight: 800; font-size: 18px; }
.brand__tag{ font-size: 12px; color: var(--muted); margin-top: 2px; }

.nav{ display:flex; align-items:center; }
.nav__toggle{
  display:none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  height: 44px;
  width: 48px;
  cursor: pointer;
}
.hamburger{
  width: 20px; height: 2px;
  background: var(--text);
  display:block;
  margin: 0 auto;
  position: relative;
}
.hamburger::before, .hamburger::after{
  content:"";
  position:absolute;
  left:0;
  width: 20px; height: 2px;
  background: var(--text);
}
.hamburger::before{ top: -6px; }
.hamburger::after{ top: 6px; }

.nav__menu{
  list-style:none;
  display:flex;
  gap: 10px;
  padding: 0;
  margin: 0;
}
.nav__link{
  display:inline-flex;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
}
.nav__link:hover{
  background: var(--blueSoft);
  text-decoration:none;
}

.header__actions{
  display:flex;
  align-items:center;
  gap: 10px;
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn--lg{ padding: 13px 18px; font-size: 15px; }
.btn--full{ width: 100%; }

.btn--primary{
  background: var(--blue);
  color:#fff;
  box-shadow: var(--shadow);
}
.btn--primary:hover{ background: var(--blueDark); text-decoration:none; }

.btn--outline{
  background: #fff;
  border-color: rgba(11,100,244,0.35);
  color: var(--blue);
}
.btn--outline:hover{ background: var(--blueSoft); text-decoration:none; }

.btn--ghost{
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}
.btn--ghost:hover{ background: #f6f9ff; text-decoration:none; }

/* ---------- Hero ---------- */
.hero{
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero__bg{
  position:absolute;
  inset: 0;
  background:
    radial-gradient(900px 380px at 25% 35%, rgba(11,100,244,0.10), transparent 60%),
    radial-gradient(600px 320px at 80% 40%, rgba(11,100,244,0.08), transparent 55%);
  pointer-events:none;
}
.hero__grid{
  position: relative;
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  padding: 44px 0 36px;
}
.hero__title{
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.7px;
  margin: 0 0 14px;
}
.accent{ color: var(--blue); }
.hero__subtitle{
  color: var(--muted);
  font-size: 16px;
  margin: 0 0 18px;
  max-width: 56ch;
}
.hero__cta{ display:flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }

.hero__badges{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.badge{
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.7);
  border-radius: 16px;
  padding: 12px;
}
.badge__title{ font-weight: 800; font-size: 13px; }
.badge__text{ color: var(--muted); font-size: 13px; margin-top: 2px; }

.hero__visual{
  display:flex;
  justify-content:flex-end;
  align-items:center;
}
.heroCard{
  width: min(440px, 100%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radiusLg);
  padding: 16px;
  box-shadow: 0 20px 50px rgba(11,27,51,0.10);
}
.heroCard__top{
  display:flex;
  gap: 12px;
  align-items:center;
  margin-bottom: 12px;
}
.heroCard__icon{
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display:grid;
  place-items:center;
  background: var(--blueSoft);
  border: 1px solid rgba(11,100,244,0.20);
  font-size: 22px;
}
.heroCard__kicker{ font-size: 12px; color: var(--muted); font-weight: 700; }
.heroCard__title{ font-size: 16px; font-weight: 900; letter-spacing: -0.2px; }

.heroCard__list{ display:grid; gap: 10px; margin: 12px 0 14px; }
.mini{
  display:flex;
  gap: 10px;
  align-items:center;
  padding: 10px 12px;
  border-radius: 14px;
  background: #f8fbff;
  border: 1px solid var(--line);
  font-weight: 700;
  color: #20314d;
  font-size: 13px;
}
.mini__dot{
  width: 10px; height: 10px;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(11,100,244,0.15);
}
.heroCard__note{
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.heroCard__note a{ color: var(--blue); font-weight: 800; }

/* ---------- Sections ---------- */
.section{ padding: 54px 0; }
.section--alt{ background: #f7faff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.sectionHead{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap: 18px;
  margin-bottom: 18px;
}
.sectionHead__title{
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.5px;
}
.sectionHead__subtitle{
  margin: 0;
  color: var(--muted);
  max-width: 60ch;
}

.cards{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.card{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 10px 30px rgba(11,27,51,0.05);
  transition: transform .12s ease, box-shadow .12s ease;
}
.card:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(11,27,51,0.08);
}
.card__media{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  margin-bottom: 10px;
}
.card__icon{
  width: 48px; height: 48px;
  border-radius: 18px;
  display:grid;
  place-items:center;
  background: var(--blueSoft);
  border: 1px solid rgba(11,100,244,0.20);
  font-size: 22px;
}
.card__title{ margin: 10px 0 8px; font-size: 18px; font-weight: 900; letter-spacing: -0.2px; }
.card__text{ margin: 0 0 10px; color: var(--muted); }
.card__bullets{
  margin: 0 0 12px;
  padding-left: 16px;
  color: #2a3c5d;
  font-size: 14px;
}
.card__bullets li{ margin: 4px 0; }
.card__link{
  display:inline-flex;
  font-weight: 900;
  color: var(--blue);
}
.card__link:hover{ text-decoration: underline; }

/* ---------- Split / Panels ---------- */
.split{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items:start;
}
.h2{ margin: 0 0 10px; font-size: 28px; letter-spacing: -0.5px; }
.lead{ margin: 0 0 16px; color: var(--muted); font-size: 16px; }

.checklist{ display:grid; gap: 12px; margin: 18px 0; }
.check{
  display:flex;
  gap: 12px;
  align-items:flex-start;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.8);
  border-radius: 16px;
  padding: 12px;
}
.check__mark{
  width: 26px; height: 26px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  display:grid;
  place-items:center;
  font-weight: 900;
  flex: 0 0 auto;
}
.check__title{ font-weight: 900; }
.check__text{ color: var(--muted); font-size: 14px; margin-top: 2px; }

.stack{ display:flex; gap: 12px; flex-wrap: wrap; }

.panel{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radiusLg);
  padding: 18px;
  box-shadow: 0 18px 45px rgba(11,27,51,0.08);
}
.panel__title{ margin: 0 0 12px; font-weight: 900; font-size: 16px; }
.panel__links{ display:grid; gap: 10px; margin-bottom: 14px; }
.panel__link{
  padding: 10px 12px;
  border-radius: 14px;
  background: #f8fbff;
  border: 1px solid var(--line);
  font-weight: 800;
}
.panel__link:hover{ background: var(--blueSoft); text-decoration:none; }
.panel__note{
  border-radius: 16px;
  padding: 12px;
  background: rgba(11,100,244,0.08);
  border: 1px solid rgba(11,100,244,0.18);
  color: #1f3560;
  font-size: 14px;
}

/* ---------- Location ---------- */
.infoGrid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}
.info{
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  background: #fff;
}
.info__label{ color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; }
.info__value{ font-weight: 900; margin-top: 3px; display:inline-block; }

.mapMock{
  border: 1px solid var(--line);
  border-radius: var(--radiusLg);
  background: linear-gradient(180deg, #f7faff, #ffffff);
  min-height: 280px;
  position: relative;
  overflow: hidden;
}
.mapMock__inner{
  position:absolute;
  inset: 0;
  display:grid;
  place-items:center;
  padding: 18px;
  text-align:center;
}
.mapMock__pin{ font-size: 34px; }
.mapMock__text{ max-width: 34ch; color: var(--muted); font-weight: 700; }
.mapEmbed {
  width: 100%;
  min-height: 420px;   /* adjust taller/shorter */
  border-radius: 24px; /* match your card rounding */
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.mapEmbed iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  display: block;
}
/* ---------- FAQ ---------- */
.faq{ display:grid; gap: 12px; max-width: 860px; }
.faq__item{
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 12px 14px;
}
.faq__q{
  cursor:pointer;
  font-weight: 900;
  list-style: none;
}
.faq__q::-webkit-details-marker{ display:none; }
.faq__a{
  margin-top: 10px;
  color: var(--muted);
}

/* ---------- Footer ---------- */
.footer{
  background: #061a35;
  color: rgba(255,255,255,0.88);
  padding: 40px 0 18px;
}
.footer__grid{
  display:grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 18px;
}
.footer__brand{ display:flex; gap: 12px; align-items:center; }
.brand__mark--small{ width: 38px; height: 38px; border-radius: 12px; }
.footer__name{ font-weight: 900; font-size: 16px; }
.footer__tag{ font-size: 13px; color: rgba(255,255,255,0.72); margin-top: 2px; }
.footer__text{ color: rgba(255,255,255,0.72); max-width: 52ch; margin: 10px 0 0; }

.footer__title{ font-weight: 900; margin-bottom: 8px; }
.footer__col{ display:grid; align-content:start; gap: 8px; }
.footer__link{ color: rgba(255,255,255,0.78); }
.footer__link:hover{ color:#fff; text-decoration: underline; }

.footer__bottom{
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display:flex;
  justify-content:space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: rgba(255,255,255,0.68);
  font-size: 13px;
}
.footer__tiny{ color: rgba(255,255,255,0.78); font-weight: 800; }

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .hero__grid, .split{ grid-template-columns: 1fr; }
  .hero__visual{ justify-content: flex-start; }
  .cards{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid{ grid-template-columns: 1fr; }
  .brand{ min-width: unset; }
}

@media (max-width: 720px){
  .header__actions{ display:none; }
  .nav__toggle{ display:inline-flex; align-items:center; justify-content:center; }
  .nav__menu{
    position: absolute;
    right: 16px;
    top: 64px;
    width: min(320px, calc(100vw - 32px));
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 10px;
    flex-direction: column;
    gap: 2px;
    box-shadow: 0 20px 60px rgba(11,27,51,0.18);
    display: none;
  }
  .nav__menu.is-open{ display:flex; }
  .nav__link{ width:100%; justify-content:flex-start; }
  .hero__badges{ grid-template-columns: 1fr; }
  .cards{ grid-template-columns: 1fr; }
  .infoGrid{ grid-template-columns: 1fr; }
}

/* ===== Grid system  DOT physical section groups (for .grid, .grid--2, .grid--3) ===== */
.grid {
  display: grid;
  gap: 24px;
}

/* 3 cards side-by-side */
.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* 2 cards side-by-side */
.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Responsive: stack on tablets/phones */
@media (max-width: 900px) {
  .grid--3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .grid--2 {
    grid-template-columns: 1fr;
  }
}
.card--wide {
  max-width: 100%;
}

.cognito-wrap {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 12px;
  overflow: hidden;
}

.cognito-wrap iframe {
  width: 100% !important;
  border: 0 !important;
}
.hero__actions{
  display: flex;
  align-items: center;
  gap: 20px;
}

.hero__actions-main{
  display: flex;
  gap: 14px;
}

.hero__actions-secondary{
  display: flex;
  gap: 12px;
  margin-left: auto; /* 👈 pushes this group to the right */
}

/* ------------------------------
   Blog page spacing fix
--------------------------------*/
.page-blog main.container.section{ padding-top: 6px !important; }

.page-blog .pageHead{
  padding-top: 6px !important;
  padding-bottom: 10px !important;
  margin-bottom: 0 !important;
}





     