:root {
  --bd-ink: #091524;
  --bd-ink-soft: #49607a;
  --bd-ink-muted: #6b7f97;
  --bd-bg: #f4f8fc;
  --bd-surface: rgba(255, 255, 255, 0.78);
  --bd-surface-strong: #ffffff;
  --bd-primary: #0e4fa8;
  --bd-primary-strong: #0a3c83;
  --bd-accent: #19a3c6;
  --bd-accent-soft: #dff6fb;
  --bd-border: rgba(13, 52, 102, 0.12);
  --bd-shadow: 0 20px 60px rgba(10, 41, 84, 0.12);
  --bd-shadow-hover: 0 24px 70px rgba(8, 35, 73, 0.18);
  --bd-radius: 24px;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 118px;
}

body.institutional-body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--bd-ink);
  background:
    radial-gradient(circle at top left, rgba(25, 163, 198, 0.12), transparent 30%),
    radial-gradient(circle at top right, rgba(14, 79, 168, 0.16), transparent 26%),
    linear-gradient(180deg, #f8fbff 0%, #eef4fa 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(25, 163, 198, 0.34);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 14px 0;
  background: linear-gradient(180deg, rgba(9, 21, 36, 0.86), rgba(9, 21, 36, 0.6), transparent);
  backdrop-filter: blur(18px);
}

.site-nav-shell {
  background: rgba(6, 18, 33, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 12px 18px;
  box-shadow: 0 20px 60px rgba(3, 10, 18, 0.18);
}

.brand-mark img,
.footer-logo {
  width: auto;
  height: 38px;
}

.nav-links {
  gap: 10px;
}

.site-header .nav-link,
.site-header .navbar .nav-link {
  color: rgba(255, 255, 255, 0.92) !important;
  font-weight: 600;
  font-size: 0.96rem;
  position: relative;
  padding: 10px 12px !important;
}

.site-header .nav-link:hover,
.site-header .nav-link:focus {
  color: #fff !important;
}

.site-header .nav-link.active {
  color: #fff !important;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--bd-accent), rgba(255, 255, 255, 0.9));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s ease;
}

.nav-link:hover::after,
.nav-link:focus::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 18px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.language-switch form {
  margin: 0;
}

.language-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.language-btn img {
  width: 20px;
  height: 20px;
}

.language-btn.active,
.language-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.site-btn {
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease, border-color 0.22s ease;
}

.site-btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--bd-accent), var(--bd-primary));
  box-shadow: 0 12px 32px rgba(14, 79, 168, 0.28);
}

.site-btn-primary:hover {
  color: #fff;
  background: linear-gradient(135deg, #1799bb, #0c468f);
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(14, 79, 168, 0.34);
}

.nav-cta {
  min-width: 178px;
}

.site-btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.site-btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.flash-zone {
  padding-top: 10px;
}

.site-alert {
  margin-top: 8px;
  border-radius: 18px;
}

.section-shell {
  padding: 40px 0 92px;
}

.hero-section {
  padding: 44px 0 74px;
}

.hero-grid,
.content-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  margin-bottom: 18px;
  border: 1px solid rgba(25, 163, 198, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--bd-primary);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero-title,
.section-title,
.page-title {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  letter-spacing: -0.04em;
  font-weight: 800;
  line-height: 1.05;
}

.hero-title {
  font-size: clamp(3rem, 5.2vw, 5.4rem);
  max-width: 11.2ch;
}

.hero-copy,
.section-copy,
.page-copy {
  color: var(--bd-ink-soft);
  font-size: 1.08rem;
  line-height: 1.8;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 28px;
  font-size: 1.12rem;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-microcopy,
.section-microcopy {
  margin: 14px 0 0;
  color: var(--bd-ink-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.section-microcopy-light {
  color: rgba(255, 255, 255, 0.8);
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.hero-note {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--bd-border);
  color: var(--bd-ink);
  font-size: 0.95rem;
  font-weight: 600;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--bd-primary-strong);
  font-size: 0.92rem;
  font-weight: 700;
}

.trust-item i {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(25, 163, 198, 0.12);
  color: var(--bd-primary);
  font-size: 0.8rem;
}

.surface-panel {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.8));
  box-shadow: var(--bd-shadow);
  overflow: hidden;
}

.surface-panel::before {
  content: "";
  position: absolute;
  inset: -30% auto auto -20%;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(25, 163, 198, 0.18), transparent 70%);
}

.hero-panel {
  padding: 30px;
}

.hero-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.hero-panel-head strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero-panel-head p {
  margin: 6px 0 0;
  color: var(--bd-ink-muted);
  font-size: 0.92rem;
}

.panel-status {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(25, 163, 198, 0.12);
  color: var(--bd-primary);
  font-size: 0.76rem;
  font-weight: 800;
  white-space: nowrap;
}

.panel-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
}

.panel-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(9, 21, 36, 0.12);
}

.panel-topbar span:first-child {
  background: #ffb23f;
}

.panel-topbar span:nth-child(2) {
  background: #3cc37d;
}

.panel-topbar span:nth-child(3) {
  background: #17a2c3;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 16px;
}

.dashboard-main,
.dashboard-side {
  display: grid;
  gap: 16px;
}

.dashboard-card {
  padding: 20px;
  border: 1px solid var(--bd-border);
  border-radius: 24px;
  background: rgba(248, 251, 255, 0.96);
}

.metric-value {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
  max-width: 14ch;
  margin: 8px 0 10px;
}

.metric-label,
.dashboard-label {
  color: var(--bd-ink-soft);
  font-size: 0.92rem;
}

.pipeline {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.pipeline-item,
.timeline-item,
.step-card,
.audience-card,
.legal-card,
.info-card,
.problem-item,
.feature-card,
.benefit-card,
.stats-card {
  border: 1px solid var(--bd-border);
  border-radius: 22px;
  background: var(--bd-surface);
  box-shadow: 0 12px 34px rgba(10, 41, 84, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.timeline-item:hover,
.step-card:hover,
.audience-card:hover,
.legal-card:hover,
.info-card:hover,
.problem-item:hover,
.feature-card:hover,
.benefit-card:hover,
.stats-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--bd-shadow-hover);
  border-color: rgba(14, 79, 168, 0.18);
}

.pipeline-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
}

.pipeline-bar {
  position: relative;
  width: 120px;
  border-radius: 999px;
  background: rgba(14, 79, 168, 0.08);
}

.pipeline-bar::after {
  content: "";
  position: absolute;
  inset: 6px;
  width: var(--fill, 60%);
  border-radius: inherit;
  background: linear-gradient(135deg, var(--bd-accent), var(--bd-primary));
}

.mini-list {
  display: grid;
  gap: 10px;
}

.mini-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
}

.mini-list-badge {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(14, 79, 168, 0.12);
  color: var(--bd-primary);
  font-size: 0.75rem;
  font-weight: 800;
}

.section-tag {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--bd-primary);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-title,
.page-title {
  font-size: clamp(2rem, 3.6vw, 3.6rem);
}

.page-hero {
  padding: 34px 0 48px;
}

.page-intro-card {
  padding: 34px;
  max-width: 980px;
  margin: 0 auto;
}

.problem-grid,
.features-grid,
.benefits-grid,
.audience-grid,
.stats-grid,
.legal-grid,
.info-grid,
.steps-grid {
  display: grid;
  gap: 18px;
}

.problem-grid,
.benefits-grid,
.audience-grid,
.stats-grid,
.info-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.features-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.steps-grid,
.legal-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.legal-grid {
  max-width: 1080px;
  margin: 0 auto;
}

.problem-item,
.feature-card,
.benefit-card,
.audience-card,
.legal-card,
.info-card,
.step-card,
.stats-card {
  padding: 24px;
}

.feature-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 251, 255, 0.88));
}

.problem-item i,
.feature-card i,
.benefit-card i,
.audience-card i,
.info-card i {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(25, 163, 198, 0.15), rgba(14, 79, 168, 0.14));
  color: var(--bd-primary);
  font-size: 1.1rem;
}

.feature-card h3,
.benefit-card h3,
.audience-card h3,
.legal-card h3,
.step-card h3,
.info-card h3,
.problem-item h3 {
  margin-bottom: 10px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.feature-card p,
.benefit-card p,
.audience-card p,
.legal-card p,
.step-card p,
.info-card p,
.problem-item p {
  margin: 0;
  color: var(--bd-ink-soft);
  line-height: 1.75;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--bd-primary), var(--bd-accent));
  color: #fff;
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(14, 79, 168, 0.22);
}

.benefit-highlight {
  padding: 38px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--bd-ink-soft);
  line-height: 1.7;
}

.check-list i {
  color: var(--bd-primary);
  margin-top: 4px;
}

.stats-card {
  text-align: center;
}

.stats-card strong {
  display: block;
  margin-bottom: 10px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.timeline-grid {
  position: relative;
}

.timeline-grid::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 21px;
  height: 1px;
  background: linear-gradient(90deg, rgba(25, 163, 198, 0.26), rgba(14, 79, 168, 0.08));
}

.cta-banner {
  padding: 36px;
  background: linear-gradient(135deg, #0b2440, #0d4e8d 60%, #1692b5);
  color: #fff;
}

.cta-banner .section-copy,
.cta-banner p {
  color: rgba(255, 255, 255, 0.78);
}

.cta-banner .section-title {
  color: #fff;
}

.legal-card ul,
.contact-list {
  padding-left: 18px;
  margin: 14px 0 0;
  color: var(--bd-ink-soft);
  line-height: 1.85;
}

.legal-card {
  min-height: 100%;
}

.contact-panel,
.contact-form-panel {
  padding: 34px;
}

.contact-list {
  list-style: none;
  padding: 0;
}

.contact-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.contact-list i {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(14, 79, 168, 0.1);
  color: var(--bd-primary);
}

.form-label {
  font-weight: 700;
  color: var(--bd-ink);
}

.form-control,
.form-control:focus,
textarea.form-control {
  border-radius: 16px;
  border: 1px solid rgba(12, 55, 110, 0.14);
  box-shadow: none;
  padding: 14px 16px;
}

.form-control:focus {
  border-color: rgba(14, 79, 168, 0.45);
}

.form-text-muted {
  margin-top: 10px;
  color: var(--bd-ink-soft);
  font-size: 0.94rem;
}

.site-footer {
  padding: 28px 0 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 24px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 28px;
  background: rgba(8, 20, 35, 0.94);
  color: rgba(255, 255, 255, 0.78);
}

.footer-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.footer-trust span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 700;
}

.footer-grid h3 {
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
}

.footer-grid a,
.footer-copy {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 12px;
  line-height: 1.7;
}

.footer-grid a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 18px;
  color: rgba(9, 21, 36, 0.62);
  text-align: center;
}

.reveal-up {
  opacity: 0;
  transform: translateY(18px);
  animation: reveal-up 0.7s ease forwards;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-3 {
  animation-delay: 0.3s;
}

@keyframes reveal-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1199px) {
  .hero-grid,
  .content-grid,
  .contact-grid,
  .problem-grid,
  .benefits-grid,
  .audience-grid,
  .stats-grid,
  .info-grid,
  .features-grid,
  .steps-grid,
  .legal-grid,
  .footer-grid,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .site-nav-shell {
    border-radius: 26px;
  }

  .nav-actions {
    margin: 18px 0 0;
    flex-wrap: wrap;
  }

  .nav-cta {
    min-width: 0;
  }

  .timeline-grid::before {
    display: none;
  }
}

@media (max-width: 767px) {
  section[id] {
    scroll-margin-top: 96px;
  }

  .site-header {
    padding: 10px 0;
  }

  .site-nav-shell {
    padding: 12px 14px;
  }

  .nav-links {
    margin-top: 14px;
  }

  .nav-actions {
    width: 100%;
    margin-top: 14px;
  }

  .language-switch {
    width: 100%;
    justify-content: center;
  }

  .hero-section,
  .section-shell,
  .page-hero {
    padding: 20px 0 58px;
  }

  .hero-panel,
  .page-intro-card,
  .benefit-highlight,
  .cta-banner,
  .contact-panel,
  .contact-form-panel {
    padding: 22px;
  }

  .hero-title {
    font-size: 2.45rem;
  }

  .hero-copy,
  .section-copy,
  .page-copy {
    font-size: 1rem;
    line-height: 1.72;
  }

  .section-title,
  .page-title {
    font-size: 1.9rem;
  }

  .nav-actions,
  .hero-actions,
  .section-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-panel-head {
    flex-direction: column;
  }

  .panel-status {
    white-space: normal;
  }

  .trust-strip,
  .hero-notes {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-btn {
    width: 100%;
    text-align: center;
  }

  .footer-grid {
    padding: 24px;
  }

  .footer-trust {
    flex-direction: column;
    align-items: flex-start;
  }
}
