:root {
  --bg: #06162d;
  --bg-strong: #03101f;
  --bg-soft: #0b2647;
  --surface: #f5f8fc;
  --surface-soft: #ebf2fa;
  --surface-card: #ffffff;
  --text: #11233b;
  --text-soft: #56708d;
  --text-inverse: #f4f8ff;
  --line: rgba(7, 32, 74, 0.12);
  --brand: #1390ef;
  --brand-strong: #0c67c1;
  --green: #2eb454;
  --accent: #ff9f1a;
  --radius: 8px;
  --shadow: 0 22px 50px rgba(5, 20, 45, 0.1);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Inter, Arial, sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(6, 22, 45, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand {
  flex: 0 0 auto;
  width: 106px;
  padding: 0;
  background: transparent;
  box-shadow: none;
  transform: translateY(-8px);
}

.brand img {
  width: 100%;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  color: rgba(244, 248, 255, 0.92);
  font-size: 0.98rem;
  font-weight: 600;
}

.site-nav a,
.header-cta,
.button {
  transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.header-cta:hover,
.button:hover {
  opacity: 0.92;
}

.header-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, var(--brand), #3aaef5);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(19, 144, 239, 0.22);
}

.hero {
  position: relative;
  min-height: 66vh;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(3, 16, 31, 0.98) 0%, rgba(6, 22, 45, 0.97) 52%, rgba(10, 34, 63, 0.9) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(6, 22, 45, 0), rgba(6, 22, 45, 0.46));
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 22, 45, 0.12), rgba(3, 16, 31, 0.62)),
    linear-gradient(90deg, rgba(6, 22, 45, 0.08), rgba(6, 22, 45, 0) 45%, rgba(19, 144, 239, 0.08));
}

.hero-mark {
  position: absolute;
  right: max(32px, calc((100vw - var(--container)) / 2));
  bottom: 148px;
  width: min(620px, 47vw);
  opacity: 0.18;
  filter: saturate(1.05);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 66vh;
  padding: 118px 0 56px;
  color: var(--text-inverse);
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.service-card h3,
.method-card h3 {
  margin: 0;
  line-height: 1.06;
}

.hero h1 {
  max-width: 700px;
  font-size: clamp(2.3rem, 4.6vw, 4.3rem);
  text-wrap: balance;
}

.hero-copy {
  max-width: 640px;
  margin: 20px 0 0;
  color: rgba(244, 248, 255, 0.9);
  font-size: 1.06rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: var(--radius);
  font-weight: 700;
}

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

.button.primary {
  background: var(--accent);
  color: #0b1830;
}

.button.secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  max-width: 920px;
}

.hero-points li {
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(244, 248, 255, 0.94);
  backdrop-filter: blur(8px);
}

.section {
  padding: 72px 0;
}

.section-intro {
  padding-top: 56px;
}

.intro-grid,
.portal-grid,
.contact-panel,
.footer-shell {
  display: grid;
  gap: 24px;
}

.intro-grid,
.portal-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: start;
}

.section-head {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}

.section h2 {
  font-size: clamp(1.65rem, 3vw, 2.7rem);
}

.section-text {
  margin: 0;
  color: var(--text-soft);
  font-size: 1rem;
}

.service-grid,
.method-grid {
  display: grid;
  gap: 16px;
}

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

.service-card,
.method-card,
.portal-note {
  padding: 22px;
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service-card {
  background: linear-gradient(180deg, #ffffff, #f6faff);
}

.service-card p,
.method-card p {
  margin: 10px 0 0;
  color: var(--text-soft);
}

.section-accent {
  background: linear-gradient(180deg, #f8fbff, var(--surface-soft));
}

.method-card span {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--brand-strong);
  font-weight: 800;
  font-size: 0.92rem;
}

.portal-note {
  background: linear-gradient(180deg, var(--bg-soft), var(--bg));
  border-color: rgba(19, 144, 239, 0.18);
  color: var(--text-inverse);
}

.portal-note strong {
  display: block;
  margin-bottom: 12px;
}

.portal-note ul {
  margin: 0;
  padding-left: 18px;
}

.portal-note li + li {
  margin-top: 8px;
}

.section-contact {
  background: var(--bg-strong);
}

.contact-panel {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding: 30px;
  background: linear-gradient(135deg, rgba(19, 144, 239, 0.15), rgba(46, 180, 84, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
}

.section-contact h2,
.section-contact .section-text {
  color: var(--text-inverse);
}

.site-footer {
  background: #061127;
  color: rgba(244, 248, 255, 0.82);
  padding: 24px 0 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-shell {
  grid-template-columns: 120px minmax(0, 1fr) auto;
  align-items: center;
}

.footer-shell img {
  width: 100%;
  padding: 8px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(245, 248, 252, 0.96), rgba(232, 239, 248, 0.94));
}

.footer-shell p {
  margin: 4px 0 0;
}

@media (max-width: 980px) {
  .site-nav,
  .header-cta {
    display: none;
  }

  .hero-points,
  .service-grid,
  .method-grid,
  .intro-grid,
  .portal-grid,
  .contact-panel,
  .footer-shell {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 62vh;
  }

  .hero-content {
    min-height: 62vh;
    padding-top: 104px;
  }

  .hero-mark {
    right: -24px;
    bottom: 120px;
    width: min(520px, 76vw);
    opacity: 0.14;
  }
}

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

  .section {
    padding: 60px 0;
  }

  .brand {
    width: 94px;
    transform: translateY(-6px);
  }

  .hero {
    min-height: 58vh;
  }

  .hero-content {
    min-height: 58vh;
    padding: 96px 0 44px;
  }

  .hero-mark {
    width: min(440px, 92vw);
    right: -72px;
    bottom: 132px;
    opacity: 0.12;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-copy,
  .section-text {
    font-size: 0.97rem;
  }

  .button,
  .contact-actions a {
    width: 100%;
  }
}
