:root {
  --primary: #0e3486;
  --primary-deep: #0a2460;
  --accent: #95a7d3;
  --ink: #111827;
  --muted: #667085;
  --surface: #f5f7fb;
  --line: rgba(17, 24, 39, 0.1);
  --line-strong: rgba(17, 24, 39, 0.18);
  --white: #ffffff;
  --container: 1320px;
  --shadow-soft: 0 18px 48px rgba(15, 23, 42, 0.06);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Host Grotesk", sans-serif;
  color: var(--ink);
  background: #ffffff;
}

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

img {
  display: block;
  max-width: 100%;
}

.container-xxl {
  max-width: var(--container);
}

.topbar {
  font-size: 0.83rem;
  letter-spacing: 0.02em;
  color: rgba(17, 24, 39, 0.68);
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
}

.topbar a {
  color: rgba(17, 24, 39, 0.82);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}

.navbar {
  --bs-navbar-padding-y: 1.05rem;
}

.navbar-brand img {
  height: 52px;
  width: auto;
}

.navbar-nav .nav-link {
  position: relative;
  padding: 0.85rem 1rem !important;
  font-size: 0.98rem;
  font-weight: 500;
  color: rgba(17, 24, 39, 0.88);
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.55rem;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}

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

.dropdown-menu {
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  padding: 0.7rem;
}

.dropdown-item {
  padding: 0.75rem 0.95rem;
  border-radius: 12px;
  font-weight: 500;
}

.dropdown-item:hover,
.dropdown-item:focus {
  color: var(--primary);
  background: #f5f8ff;
}

.btn-brand,
.btn-outline-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.95rem 1.45rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all 0.25s ease;
}

.btn-brand {
  color: var(--white);
  background: var(--ink);
  border: 1px solid var(--ink);
}

.btn-brand:hover {
  color: var(--white);
  background: var(--primary-deep);
  border-color: var(--primary-deep);
}

.btn-outline-brand {
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line-strong);
}

.btn-outline-brand:hover {
  color: var(--primary);
  border-color: rgba(14, 52, 134, 0.3);
  background: #f8faff;
}

.section {
  padding: 6.5rem 0;
}

.section-title {
  margin: 0 0 1rem;
  font-size: clamp(2.35rem, 4vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: 500;
  color: var(--ink);
}

.section-copy {
  max-width: 43rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.82;
}

.eyebrow,
.tag,
.breadcrumb-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(17, 24, 39, 0.54);
}

.eyebrow::before,
.tag::before {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--primary);
}

.hero {
  padding: 6.5rem 0 4rem;
}

.hero-panel {
  padding: 0;
  background: transparent;
  color: var(--ink);
}

.hero-title {
  margin: 1.25rem 0 1.5rem;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.93;
  letter-spacing: -0.07em;
  font-weight: 500;
}

.hero-copy {
  max-width: 46rem;
  font-size: 1.08rem;
  line-height: 1.9;
  color: var(--muted);
}

.hero-kpi {
  padding: 1.4rem 0 0;
  border-top: 1px solid var(--line);
}

.hero-kpi strong {
  display: block;
  font-size: 2.25rem;
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 500;
}

.hero-kpi span {
  display: block;
  margin-top: 0.55rem;
  max-width: 20rem;
  color: var(--muted);
  line-height: 1.7;
}

.minimal-statement {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}

.minimal-statement:first-child {
  padding-top: 0;
  border-top: 0;
}

.minimal-statement h2 {
  margin: 0;
  max-width: 58rem;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.045em;
  font-weight: 450;
}

.minimal-statement p {
  max-width: 42rem;
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.85;
}

.glass-card,
.info-card,
.service-card,
.post-card,
.team-card,
.faq-card,
.contact-card,
.metric-card {
  height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

.glass-card,
.info-card,
.contact-card,
.metric-card,
.service-card,
.post-card,
.team-card,
.faq-card {
  padding: 1.8rem;
}

.service-card,
.post-card,
.team-card {
  transition: transform 0.26s ease, border-color 0.26s ease, box-shadow 0.26s ease;
}

.service-card:hover,
.post-card:hover,
.team-card:hover {
  transform: translateY(-4px);
  border-color: rgba(14, 52, 134, 0.22);
  box-shadow: var(--shadow-soft);
}

.icon-chip {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 1.2rem;
  border-radius: 12px;
  color: var(--primary);
  background: #f2f6ff;
  font-size: 1.15rem;
}

.service-card h3,
.post-card h3,
.team-card h3,
.faq-card h3,
.contact-card h3 {
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
  line-height: 1.25;
  font-weight: 500;
}

.service-card p,
.post-card p,
.team-card p,
.faq-card p,
.contact-card p,
.info-card p,
.metric-card p {
  color: var(--muted);
  line-height: 1.82;
}

.service-link,
.post-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
}

.editorial-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1.15fr 0.85fr;
}

.editorial-panel {
  border-top: 1px solid var(--line-strong);
  padding-top: 1.2rem;
}

.editorial-panel h3 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.6rem, 2.6vw, 2.35rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  font-weight: 500;
}

.editorial-panel p {
  max-width: 42rem;
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.editorial-note {
  padding: 1.75rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid rgba(14, 52, 134, 0.08);
}

.editorial-note strong {
  display: block;
  margin-bottom: 0.65rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.metric-card strong {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 2.6rem;
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 500;
  color: var(--ink);
}

.split-banner {
  height: 100%;
  padding: 2.2rem;
  border-radius: var(--radius-md);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(10, 36, 96, 0.98), rgba(14, 52, 134, 0.92)),
    url("../img/icon.png") no-repeat right 2rem bottom 2rem / 88px;
}

.split-banner .section-title,
.split-banner p,
.split-banner .eyebrow {
  color: inherit;
}

.page-hero {
  padding: 4rem 0 2rem;
}

.page-hero-card {
  padding: 2.5rem 0 2rem;
  border-top: 1px solid var(--line-strong);
}

.page-hero-card p {
  max-width: 44rem;
  color: var(--muted);
  line-height: 1.85;
}

.list-check {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.list-check li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.8rem;
  color: var(--muted);
  line-height: 1.8;
}

.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--primary);
}

.timeline {
  position: relative;
  padding-left: 1.5rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0.25rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line-strong);
}

.timeline-item {
  position: relative;
  padding-bottom: 1.4rem;
  padding-left: 1.5rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -0.02rem;
  top: 0.45rem;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--primary);
}

.contact-form .form-control,
.contact-form .form-select {
  min-height: 56px;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: none;
}

.contact-form textarea.form-control {
  min-height: 150px;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: rgba(14, 52, 134, 0.35);
  box-shadow: 0 0 0 0.2rem rgba(14, 52, 134, 0.08);
}

.accordion-item {
  overflow: hidden;
  border: 1px solid var(--line) !important;
  border-radius: 16px !important;
  background: var(--white);
}

.accordion-button {
  padding: 1.2rem 1.35rem;
  font-weight: 600;
  color: var(--ink);
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  color: var(--primary);
  background: #f8faff;
}

.cta-band {
  padding: 2.3rem;
  border-radius: var(--radius-md);
  color: var(--white);
  background: linear-gradient(135deg, #111827, #0a2460);
}

.cta-band .section-title {
  color: var(--white);
}

.footer {
  padding: 5rem 0 2rem;
  color: rgba(255, 255, 255, 0.72);
  background: #111827;
}

.footer h4,
.footer h5 {
  color: var(--white);
  font-weight: 500;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.footer-links li + li {
  margin-top: 0.75rem;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 20px;
    background: var(--white);
    box-shadow: var(--shadow-soft);
  }

  .editorial-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .section {
    padding: 4.5rem 0;
  }

  .hero {
    padding: 4.5rem 0 2.5rem;
  }

  .page-hero {
    padding: 3rem 0 1.5rem;
  }

  .navbar-brand img {
    height: 46px;
  }

  .split-banner,
  .cta-band {
    padding: 1.8rem;
  }
}
