:root {
  --red: #e31e24;
  --red-dark: #b91218;
  --blue: #0d47a1;
  --ink: #171a1f;
  --muted: #626a75;
  --line: #e3e6ea;
  --surface: #f8f9fb;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(17, 24, 39, .12);
  --radius: 24px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 14px; background: var(--ink); color: white; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.88);
  border-bottom: 1px solid rgba(227,230,234,.8);
  backdrop-filter: blur(16px);
}
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand img { width: 210px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { text-decoration: none; font-weight: 650; font-size: .95rem; }
.main-nav a:not(.nav-cta):hover { color: var(--red); }
.nav-cta { padding: 11px 17px; border-radius: 999px; background: var(--ink); color: var(--white); }
.menu-button { display: none; border: 0; background: transparent; padding: 10px; }
.menu-button > span:not(.sr-only) { display: block; width: 26px; height: 2px; margin: 5px 0; background: var(--ink); }

.hero { position: relative; overflow: hidden; background: var(--surface); border-bottom: 1px solid var(--line); }
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(248,249,251,.96) 0%, rgba(248,249,251,.88) 48%, rgba(248,249,251,.55) 100%), url('../img/institutional-background.png');
  background-size: cover;
  background-position: center;
  opacity: .9;
}
.hero-grid { position: relative; min-height: 720px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); align-items: center; gap: 70px; padding-block: 92px; }
.eyebrow { margin: 0 0 18px; color: var(--red); font-size: .78rem; line-height: 1.2; letter-spacing: .18em; font-weight: 850; }
.hero h1 { margin: 0; max-width: 850px; font-size: clamp(3.25rem, 6vw, 6.4rem); line-height: .96; letter-spacing: -.065em; }
.hero h1 span { color: var(--red); }
.lead { max-width: 730px; margin: 30px 0 0; color: var(--muted); font-size: clamp(1.15rem, 2vw, 1.42rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 0 23px; border: 1px solid transparent; border-radius: 999px; text-decoration: none; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--red); color: var(--white); box-shadow: 0 14px 30px rgba(227,30,36,.22); }
.button-primary:hover { background: var(--red-dark); box-shadow: 0 18px 36px rgba(227,30,36,.28); }
.button-secondary { border-color: #cfd4db; background: rgba(255,255,255,.68); }
.hero-proof { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 32px; color: #454c55; font-size: .92rem; font-weight: 700; }
.hero-proof span::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%; background: var(--blue); }

.hero-card { position: relative; overflow: hidden; min-height: 410px; padding: 42px; border: 1px solid rgba(255,255,255,.62); border-radius: 34px; background: linear-gradient(145deg, rgba(255,255,255,.95), rgba(255,255,255,.72)); box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: flex-end; }
.hero-card::before { content: ""; position: absolute; top: 0; left: 0; width: 48%; height: 12px; background: var(--red); transform: skewX(-35deg) translateX(-12%); }
.hero-card::after { content: ""; position: absolute; right: -10%; bottom: -18px; width: 75%; height: 22px; background: var(--blue); transform: skewX(-35deg); }
.hero-card > * { position: relative; z-index: 2; }
.hero-card p { margin: 0 0 12px; color: var(--red); font-size: .76rem; letter-spacing: .16em; font-weight: 850; }
.hero-card strong { font-size: clamp(2rem, 3.4vw, 3.35rem); line-height: 1.03; letter-spacing: -.04em; }
.hero-card small { margin-top: 18px; color: var(--muted); font-size: 1rem; }
.network-pattern { position: absolute; inset: 0; z-index: 0; opacity: .09; background-image: linear-gradient(#0d47a1 1px, transparent 1px), linear-gradient(90deg, #0d47a1 1px, transparent 1px); background-size: 32px 32px; mask-image: linear-gradient(to bottom left, #000, transparent 68%); }

.section { padding-block: 110px; }
.two-column { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.section h2 { margin: 0; font-size: clamp(2.25rem, 4.3vw, 4.6rem); line-height: 1.02; letter-spacing: -.05em; }
.section-copy { color: var(--muted); font-size: 1.16rem; }
.section-copy p:first-child { margin-top: 0; }

.offer { background: var(--surface); border-block: 1px solid var(--line); }
.section-heading { max-width: 760px; margin-bottom: 52px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { min-height: 330px; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 45px rgba(17,24,39,.08); }
.card-number { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--surface); color: var(--blue); font-weight: 850; }
.card h3 { margin: 80px 0 10px; font-size: 1.55rem; }
.card p { margin: 0; color: var(--muted); }

.audience-panel { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: center; padding: 58px; border-radius: 34px; background: var(--ink); color: var(--white); }
.audience-panel .eyebrow { color: #ff5a5f; }
.audience-list { display: flex; flex-wrap: wrap; gap: 12px; }
.audience-list span { padding: 12px 16px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(255,255,255,.06); font-weight: 700; }

.purpose { text-align: center; background: linear-gradient(180deg, #fff 0%, var(--surface) 100%); }
.purpose-inner { max-width: 950px; }
.purpose h2 { color: var(--red); }
.purpose p:last-child { max-width: 720px; margin: 28px auto 0; color: var(--muted); font-size: 1.18rem; }

.final-cta { padding-top: 0; background: var(--surface); }
.final-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; padding: 58px; border-radius: 34px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 20px 60px rgba(17,24,39,.07); }
.final-cta h2 { max-width: 760px; font-size: clamp(2.2rem, 4vw, 4.2rem); }
.final-cta p:not(.eyebrow) { max-width: 690px; color: var(--muted); }
.final-cta .button { flex: 0 0 auto; }

.site-footer { padding-block: 54px; border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 28px; color: var(--muted); }
.footer-inner img { width: 175px; }
.footer-inner p { margin: 0; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { text-decoration: none; font-weight: 700; }
.footer-links a:hover { color: var(--red); }

.transition { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(10,14,20,.75); backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transition: .2s ease; }
.transition.is-visible { opacity: 1; visibility: visible; }
.transition-card { width: min(100%, 420px); padding: 34px; border-radius: 24px; background: var(--white); text-align: center; box-shadow: var(--shadow); }
.transition-card strong, .transition-card small { display: block; }
.transition-card small { margin-top: 6px; color: var(--muted); }
.spinner { display: block; width: 34px; height: 34px; margin: 0 auto 18px; border: 3px solid #e5e7eb; border-top-color: var(--red); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .menu-button { display: block; }
  .main-nav { position: absolute; top: 78px; left: 20px; right: 20px; display: none; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: var(--shadow); }
  .main-nav.is-open { display: grid; }
  .main-nav a { padding: 10px 8px; }
  .nav-cta { text-align: center; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; gap: 42px; padding-block: 70px; }
  .hero-card { min-height: 340px; }
  .two-column, .audience-panel { grid-template-columns: 1fr; gap: 36px; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: auto; }
  .card h3 { margin-top: 48px; }
  .final-cta-inner { align-items: flex-start; flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .header-inner { min-height: 70px; }
  .brand img { width: 170px; }
  .main-nav { top: 70px; left: 14px; right: 14px; }
  .hero-grid { padding-block: 54px; }
  .hero h1 { font-size: clamp(2.8rem, 14vw, 4.4rem); }
  .lead { font-size: 1.08rem; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .hero-proof { display: grid; gap: 10px; }
  .hero-card { min-height: 300px; padding: 28px; border-radius: 24px; }
  .section { padding-block: 78px; }
  .audience-panel, .final-cta-inner { padding: 34px 24px; border-radius: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
