:root {
  --bg: #eef3f9;
  --surface: #ffffff;
  --surface-alt: #f7f9fc;
  --stroke: #d8e1ed;
  --text: #132033;
  --muted: #5d6f85;
  --primary: #0f5fc7;
  --primary-strong: #0b4b9d;
  --primary-soft: #dbeafe;
  --accent: #f59e0b;
  --shadow: 0 18px 48px rgba(17, 38, 74, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Trebuchet MS", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(15, 95, 199, 0.12), transparent 28%),
    radial-gradient(circle at bottom right, rgba(15, 95, 199, 0.08), transparent 24%),
    linear-gradient(180deg, #f7fafd 0%, #eef3f9 100%);
}

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

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

.site-shell {
  min-height: 100vh;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(247, 250, 253, 0.88);
  border-bottom: 1px solid rgba(216, 225, 237, 0.82);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 94px;
  height: 46px;
  padding: 0 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), #65a6ff);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 30px rgba(15, 95, 199, 0.24);
}

.brand-copy {
  display: grid;
  gap: 0.15rem;
}

.brand-copy strong {
  font-size: 1rem;
  line-height: 1.2;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.85rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-nav a:not(.button) {
  font-size: 0.95rem;
  color: var(--muted);
  transition: color 0.2s ease;
}

.site-nav a:not(.button):hover,
.site-nav a:not(.button):focus-visible {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0.2rem;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  border-radius: 999px;
  background: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #fff;
  box-shadow: 0 14px 30px rgba(15, 95, 199, 0.22);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--primary-strong);
  border-color: var(--stroke);
}

.button-large {
  min-height: 52px;
  padding-inline: 1.5rem;
}

.hero-section {
  padding: 4.5rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 2rem;
  align-items: stretch;
}

.hero-copy,
.hero-panel {
  position: relative;
}

.hero-copy {
  padding: 1rem 0;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.3rem, 4vw, 4.3rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  max-width: 14ch;
}

.hero-text {
  max-width: 62ch;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.hero-benefits {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2rem 0 0;
  padding: 0;
}

.hero-benefits li {
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(216, 225, 237, 0.9);
  color: var(--text);
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(17, 38, 74, 0.06);
}

.hero-panel {
  display: grid;
  gap: 1rem;
}

.hero-card,
.info-card,
.news-card,
.document-card,
.contact-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(216, 225, 237, 0.92);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 1.5rem;
}

.hero-card-featured {
  background:
    linear-gradient(160deg, rgba(15, 95, 199, 0.96), rgba(10, 60, 122, 0.96));
  color: #fff;
}

.hero-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.hero-card h2,
.hero-card h3 {
  margin: 0.35rem 0 0.6rem;
}

.hero-card p {
  margin: 0;
  line-height: 1.65;
  color: inherit;
}

.card-label {
  display: inline-flex;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  color: inherit;
  font-weight: 700;
}

.section {
  padding: 2.5rem 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.48);
  border-block: 1px solid rgba(216, 225, 237, 0.8);
}

.section-heading {
  max-width: 54rem;
  margin-bottom: 1.5rem;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.12;
}

.section-heading p:last-child {
  margin: 0.85rem 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.section-heading-left {
  margin-bottom: 0;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

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

.info-card,
.news-card {
  padding: 1.4rem;
}

.info-card h3,
.news-card h3,
.document-card strong,
.contact-card strong {
  margin: 0;
  font-size: 1.02rem;
}

.info-card p,
.news-card p,
.document-card span,
.contact-card p {
  margin: 0.7rem 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.news-date {
  display: inline-block;
  margin-bottom: 0.8rem;
  color: var(--primary);
  font-size: 0.84rem;
  font-weight: 700;
}

.documents-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.document-card {
  display: grid;
  gap: 0.3rem;
  padding: 1.4rem;
}

.document-card:hover,
.document-card:focus-visible {
  border-color: rgba(15, 95, 199, 0.3);
}

.section-contact {
  padding-bottom: 4rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.25rem;
  align-items: start;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-card {
  padding: 1.4rem;
}

.contact-card span {
  display: block;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-card strong {
  display: block;
  margin-top: 0.55rem;
}

.site-footer {
  border-top: 1px solid rgba(216, 225, 237, 0.92);
  background: rgba(255, 255, 255, 0.72);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.4rem 0 2.2rem;
}

.footer-inner p {
  margin: 0.4rem 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 1100px) {
  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .documents-grid,
  .cards-grid-3,
  .contact-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .header-inner {
    min-height: 74px;
  }

  .brand-copy strong {
    font-size: 0.95rem;
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 1rem;
    border: 1px solid rgba(216, 225, 237, 0.95);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a:not(.button) {
    padding: 0.65rem 0.25rem;
  }

  .hero-section {
    padding-top: 3.25rem;
  }

  .hero-card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 1.2rem), var(--container));
  }

  .brand {
    gap: 0.7rem;
  }

  .brand-mark {
    min-width: 82px;
    height: 42px;
    padding-inline: 0.9rem;
    font-size: 0.9rem;
  }

  .brand-copy small {
    display: none;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .hero-actions,
  .footer-meta,
  .footer-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cards-grid,
  .cards-grid-3,
  .documents-grid,
  .contact-cards {
    grid-template-columns: 1fr;
  }

  .button,
  .button-large {
    width: 100%;
  }
}
