@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600&family=Inter:wght@400;500;600;700&display=swap');

:root{
  --navy: #0A4379;
  --red: #7E0202;
  --paper: #FFFFFF;
  --mist: #F3F6FA;
  --slate: #5B6B7C;
  --line: #E2E8F0;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--navy);
  background: var(--paper);
  line-height: 1.55;
}
img, svg{ max-width: 100%; }
a{ color: inherit; }

.wrap{
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Header ---------- */
header.site{
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
header.site .bar{
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 32px;
  max-width: 1120px; margin: 0 auto;
}
header.site .logo-link{ display: block; width: 168px; }
header.site .logo-link svg{ display: block; width: 100%; height: auto; }
nav.primary{ display: flex; align-items: center; }
nav.primary a{
  text-decoration: none; color: var(--navy); font-weight: 500; font-size: 14.5px;
  margin-left: 28px; padding: 6px 2px; border-bottom: 2px solid transparent;
}
nav.primary a:hover, nav.primary a.active{ border-bottom-color: var(--red); }
nav.primary a.btn{ color: #fff; border-bottom: none; }
nav.primary a.btn-outline{ color: var(--navy); }
.btn{
  display: inline-block; text-decoration: none; font-weight: 600; font-size: 14.5px;
  padding: 11px 22px; border-radius: 7px; border: 1.5px solid transparent;
  cursor: pointer;
}
.btn-primary{ background: var(--red); color: #fff; }
.btn-primary:hover{ background: #660101; }
.btn-outline{ border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover{ background: var(--navy); color: #fff; }
.btn-ghost-light{ border-color: rgba(255,255,255,0.5); color: #fff; }
.btn-ghost-light:hover{ background: rgba(255,255,255,0.12); }
header.site .cta{ margin-left: 28px; }

/* ---------- Sections ---------- */
section{ padding: 84px 0; }
section.tight{ padding: 56px 0; }
.bg-mist{ background: var(--mist); }
.bg-navy{ background: var(--navy); color: #fff; }
.bg-navy .slate-on-navy{ color: #B9CCE0; }

.kicker{
  display: inline-block; font-family: 'Inter', sans-serif; font-weight: 600;
  font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red);
  margin-bottom: 14px;
}
.bg-navy .kicker{ color: #E8A0A0; }

h1,h2,h3{ font-family: 'Poppins', sans-serif; font-weight: 600; margin: 0 0 16px 0; line-height: 1.22; }
h1{ font-size: 44px; }
h2{ font-size: 32px; }
h3{ font-size: 19px; }
p{ margin: 0 0 16px 0; }
.lede{ font-size: 18px; color: var(--slate); max-width: 640px; }
.bg-navy .lede{ color: #C6D6E8; }
.measure{ max-width: 620px; }

/* ---------- Row layouts (flexbox, not CSS Grid — kept deliberately simple for renderer compatibility) ---------- */
.grid{ display: flex; flex-wrap: wrap; }
.grid > *{ margin-right: 24px; margin-bottom: 24px; }
.grid-2 > *{ flex: 1 1 calc(50% - 24px); min-width: 260px; }
.grid-3 > *{ flex: 1 1 calc(33.333% - 24px); min-width: 220px; }
.grid-4 > *{ flex: 1 1 calc(25% - 24px); min-width: 200px; }
.grid > *:last-child{ margin-right: 0; }

/* ---------- Feature cards (accent-bar style) ---------- */
.feature{
  background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--red);
  padding: 24px 24px;
}
.bg-mist .feature{ background: var(--paper); }
.bg-navy .feature{ background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.14); border-left: 3px solid var(--red); }
.feature .icon{ width: 26px; height: 26px; color: var(--red); margin-bottom: 14px; display: block; }
.feature .icon svg{ width: 100%; height: 100%; display: block; }
.feature h3{ margin-bottom: 8px; }
.feature p{ color: var(--slate); font-size: 15px; margin-bottom: 0; }
.bg-navy .feature p{ color: #C6D6E8; }

/* ---------- Service cards ---------- */
.service-card{
  border: 1px solid var(--line); border-radius: 10px; padding: 26px 22px; background: var(--paper);
}
.service-card .icon-badge{
  width: 42px; height: 42px; border-radius: 9px; background: var(--mist);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.service-card .icon-badge svg{ width: 21px; height: 21px; display: block; color: var(--red); }
.service-card h3{ margin-bottom: 8px; }
.service-card p{ color: var(--slate); font-size: 15px; margin-bottom: 0; }

/* ---------- Steps (real sequence — numbering earned) ---------- */
.step{
  display: flex; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line);
}
.step:last-child{ border-bottom: none; }
.step .num{
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 22px; color: #C7D5E2;
  width: 34px; flex-shrink: 0;
}
.step h3{ margin-bottom: 6px; }
.step p{ color: var(--slate); margin-bottom: 0; }

/* ---------- FAQ (collapsible) ---------- */
.faq-item{ border-bottom: 1px solid var(--line); }
.faq-item:last-child{ border-bottom: none; }
.faq-item summary{
  cursor: pointer; list-style: none; position: relative;
  padding: 22px 40px 22px 0;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 17px; color: var(--navy);
}
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary .icon{ position: absolute; top: 22px; right: 0; font-size: 22px; font-weight: 400; color: var(--red); }
.faq-item[open] summary .icon{ transform: rotate(45deg); }
.faq-item .a{ color: var(--slate); margin: 0 0 22px 0; padding-right: 34px; }

/* ---------- Brand marquee ---------- */
.marquee-wrap{ overflow: hidden; width: 100%; margin-top: 28px; -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent); }
.marquee-track{ display: flex; width: max-content; animation: scroll-left 85s linear infinite; }
.marquee-track:hover{ animation-play-state: paused; }
@keyframes scroll-left{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }
.brand-tile{
  flex: 0 0 auto; width: 108px; height: 118px; margin-right: 18px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 10px;
}
.brand-tile img{ max-width: 48px; max-height: 48px; margin-bottom: 10px; }
.brand-tile .label{ font-family: 'Inter', sans-serif; font-weight: 500; font-size: 11.5px; color: var(--slate); text-align: center; line-height: 1.2; }
.brand-tile.text-tile{
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 13px;
  color: var(--navy); text-align: center; padding: 8px; line-height: 1.3;
}

/* ---------- Tags (service area) ---------- */
.tag-row{ display: flex; flex-wrap: wrap; gap: 10px; }
.tag{
  font-size: 14px; font-weight: 500; padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--navy); background: var(--paper);
}

/* ---------- Contact cards ---------- */
.contact-card{
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.16); border-radius: 10px;
  padding: 26px; text-decoration: none; color: #fff; display: block;
}
.contact-card .icon{ width: 22px; height: 22px; color: #E8A0A0; margin-bottom: 12px; display: block; }
.contact-card .icon svg{ width: 100%; height: 100%; display: block; }
.contact-card .label{ font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: #B9CCE0; margin-bottom: 4px; }
.contact-card .value{ font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 17px; white-space: nowrap; }

/* ---------- Placeholder / coming-soon states ---------- */
.placeholder-card{
  border: 1.5px dashed #C7D5E2; border-radius: 10px; padding: 36px 30px; text-align: left;
  background: var(--mist);
}
.placeholder-card .status{
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--red); background: #F7E8E8; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.placeholder-card h3{ margin-bottom: 8px; }
.placeholder-card p{ color: var(--slate); margin-bottom: 0; }

/* ---------- Footer ---------- */
footer.site{ background: #062544; color: #B9CCE0; padding: 48px 0 28px 0; }
footer.site .top{ display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 32px; }
footer.site .brand-mark{ width: 30px; display: block; }
footer.site .brand-mark svg path{ fill: #fff !important; }
footer.site .brand-group{ display: flex; align-items: center; }
footer.site .brand-group span.name{ margin-left: 12px; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 16px; color: #fff; }
footer.site nav a{ text-decoration: none; color: #B9CCE0; font-size: 14px; margin-right: 22px; }
footer.site nav a:hover{ color: #fff; }
footer.site .bottom{
  margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 13px; color: #7C93AC; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
footer.site .bottom .footer-tagline{
  font-weight: 600; font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: #E8A0A0;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px){
  h1{ font-size: 32px; }
  h2{ font-size: 26px; }
  .grid-2 > *, .grid-3 > *, .grid-4 > *{ flex-basis: 100%; margin-right: 0; }
  header.site .bar{ flex-direction: column; align-items: flex-start; gap: 12px; padding: 14px 20px; }
  nav.primary{ display: flex; flex-wrap: wrap; align-items: center; width: 100%; }
  nav.primary a{ margin-left: 0; margin-right: 18px; font-size: 14px; }
  header.site .cta{ margin-left: 0; margin-top: 4px; }
  .wrap{ padding: 0 20px; }
  section{ padding: 56px 0; }
  footer.site .top{ flex-direction: column; }
}

.avatar-icon svg{ width:100%; height:100%; display:block; }
