:root {
  --brand-blue: #003a8c;
  --brand-blue-2: #005ac2;
  --brand-red: #d71920;
  --ink: #111827;
  --muted: #5f6b7a;
  --light: #f5f8fc;
  --white: #ffffff;
  --line: #d9e2ef;
  --shadow: 0 20px 40px rgba(0, 31, 78, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --max-width: 1200px;
  --header-height: 82px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Trebuchet MS", "Helvetica Neue", Helvetica, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 30px rgba(0, 31, 78, 0.08);
}

.nav-wrap {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand img {
  width: 44px;
  height: 44px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.desktop-nav a,
.mobile-nav a {
  font-weight: 600;
  color: #1e324f;
  padding: 0.35rem 0.2rem;
  position: relative;
}

.desktop-nav a::after,
.mobile-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.15rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-red));
  transition: width 0.22s ease;
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after,
.mobile-nav a:hover::after,
.mobile-nav a.active::after {
  width: 100%;
}

.cta-btn {
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-blue-2));
  color: var(--white);
  border: 0;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(0, 58, 140, 0.24);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 44px;
  height: 44px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--brand-blue);
  margin: 6px auto;
  transition: 0.2s ease;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  padding: 0.7rem 0;
  background: var(--white);
}

.mobile-nav.open {
  display: grid;
  gap: 0.4rem;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - var(--header-height));
  color: var(--white);
  display: grid;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.25), transparent 35%),
    linear-gradient(120deg, rgba(0, 35, 89, 0.94), rgba(0, 90, 194, 0.78)),
    url("../images/hero-photo.png") center/cover no-repeat;
  transform: scale(1.04);
  animation: heroZoom 14s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -28% -10%;
  height: 240px;
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.45), transparent 60%);
}

@keyframes heroZoom {
  from {
    transform: scale(1.03);
  }
  to {
    transform: scale(1.12);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 3rem 0;
  max-width: 820px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  margin-bottom: 1.2rem;
}

.hero h1,
.page-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.3vw, 4rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.hero p {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 700px;
}

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

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: var(--white);
  border-radius: 999px;
  padding: 0.68rem 1rem;
  font-weight: 700;
  transition: background 0.2s ease;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn-outline-dark {
  border-color: #b9cde9;
  color: #1b3556;
}

.btn-outline-dark:hover {
  background: #eef5ff;
}

.page-hero {
  padding: 5rem 0 3.4rem;
  background: linear-gradient(115deg, #e5eefb, #f5f8fc);
  border-bottom: 1px solid var(--line);
}

.page-hero p {
  color: #334155;
  max-width: 780px;
}

section {
  padding: 4.2rem 0;
}

.section-head {
  margin-bottom: 1.8rem;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.8vw, 2.4rem);
  line-height: 1.2;
}

.section-head p {
  margin: 0.65rem 0 0;
  color: var(--muted);
  max-width: 740px;
}

.grid {
  display: grid;
  gap: 1rem;
}

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

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

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

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 1.2rem;
  box-shadow: 0 12px 26px rgba(0, 36, 84, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-card svg {
  width: 48px;
  height: 48px;
}

.service-card h3 {
  margin: 0.8rem 0 0.5rem;
  font-size: 1.1rem;
}

.service-card p,
.card p,
.timeline p,
.feature p,
.news-card p {
  margin: 0;
  color: #4e5f74;
}

.stats {
  background: linear-gradient(90deg, #01306f, #005ac2);
  color: var(--white);
}

.stats .card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--white);
  text-align: center;
}

.stat-number {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.6rem;
  align-items: center;
}

.feature-list {
  display: grid;
  gap: 0.8rem;
}

.feature {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.9rem;
  background: #fbfdff;
}

.feature h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.plain-list {
  margin: 0.7rem 0 0;
  padding-left: 1.1rem;
  color: #3f5673;
}

.plain-list li {
  margin-bottom: 0.45rem;
}

.compact-list li {
  margin-bottom: 0.3rem;
}

.workflow {
  background: linear-gradient(180deg, #f8fbff, #eef5ff);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.workflow-grid {
  gap: 1rem;
}

.workflow-card {
  position: relative;
  overflow: hidden;
}

.workflow-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(120deg, #003a8c, #005ac2);
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.workflow-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.02rem;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.policy-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid #bdd2ee;
  background: #f5faff;
  color: #214366;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.5rem 0.9rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.mini-tag {
  border: 1px solid #c9daf1;
  background: #f5f9ff;
  color: #35577e;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.22rem 0.62rem;
}

.faq-list {
  display: grid;
  gap: 0.8rem;
}

.faq-item {
  border: 1px solid var(--line);
  background: #fbfdff;
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: #17385e;
}

.faq-item p {
  margin: 0.55rem 0 0;
  color: #425d7b;
}

.cta-panel {
  border: 1px solid #c7d9f0;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #f7fbff, #edf5ff);
  padding: 1.35rem;
  box-shadow: 0 16px 30px rgba(0, 40, 93, 0.08);
}

.cta-panel h2 {
  margin: 0 0 0.45rem;
  line-height: 1.2;
}

.cta-panel p {
  margin: 0;
  color: #446180;
}

.timeline {
  position: relative;
  padding-left: 1.2rem;
  border-left: 2px solid #aac8f3;
  display: grid;
  gap: 1rem;
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.58rem;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand-red);
}

.news-card time {
  display: inline-block;
  font-size: 0.88rem;
  color: #516279;
  margin-bottom: 0.5rem;
}

.contact-list {
  display: grid;
  gap: 0.8rem;
}

.contact-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem;
  background: #fbfdff;
}

.contact-item h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.contact-item p {
  margin: 0;
}

.policy {
  padding: 2.2rem 0 4.4rem;
}

.policy h2 {
  margin-top: 2rem;
  font-size: 1.6rem;
}

.policy h3 {
  margin-top: 1.3rem;
  font-size: 1.05rem;
}

.policy p,
.policy li {
  color: #32465f;
}

.policy ul {
  padding-left: 1.2rem;
}

.site-footer {
  background: #0a1f3f;
  color: #dae6f5;
  padding: 2.2rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1.2rem;
}

.footer-col h3 {
  margin: 0 0 0.6rem;
  color: #ffffff;
}

.footer-col p,
.footer-col li,
.footer-col a {
  margin: 0.35rem 0;
  color: #dae6f5;
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.8rem;
}

.footer-links a {
  border-bottom: 1px solid rgba(218, 230, 245, 0.6);
}

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

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .grid-4,
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

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

  .menu-toggle {
    display: inline-block;
  }

  .hero-content {
    padding: 2.8rem 0;
  }

  .grid-2,
  .grid-4,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-panel {
    padding: 1rem;
  }
}
