:root {
  --blue: #0039a6;
  --blue-2: #075ee8;
  --navy: #001a4d;
  --dark: #07142f;
  --text: #12213d;
  --muted: #5f6f8d;
  --line: #dbe5f8;
  --soft: #f5f8ff;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(0, 37, 122, 0.12);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.section-gap {
  padding: 78px 0;
}

.light {
  background: linear-gradient(180deg, #f7faff 0%, #ffffff 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 57, 166, 0.12);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--blue);
  color: var(--white);
  font-weight: 900;
  font-size: 25px;
  letter-spacing: -0.2em;
  padding-right: 6px;
  box-shadow: 0 12px 30px rgba(0, 57, 166, 0.24);
}

.brand-text {
  display: grid;
  line-height: 1.05;
  color: var(--navy);
}

.brand-text strong {
  font-size: 19px;
  letter-spacing: -0.02em;
}

.brand-text small {
  margin-top: 4px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: var(--muted);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 750;
  color: var(--navy);
}

.nav-menu a:hover {
  color: var(--blue-2);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: var(--white);
  box-shadow: 0 14px 30px rgba(0, 57, 166, 0.22);
}

.btn-outline {
  background: var(--white);
  color: var(--blue);
  border-color: rgba(0, 57, 166, 0.35);
}

.btn-white {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 40px;
  background:
    radial-gradient(circle at 15% 18%, rgba(7, 94, 232, 0.08), transparent 24%),
    linear-gradient(90deg, #ffffff 0%, #ffffff 47%, #f5f8ff 47%, #f5f8ff 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(0, 57, 166, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 57, 166, 0.12) 1px, transparent 1px);
  background-size: 68px 68px;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 44px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.18em;
  font-weight: 900;
}

.hero h1,
.section-heading h2,
.section-copy h2,
.why h2,
.cta-box h2 {
  margin: 0;
  color: var(--navy);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero h1 {
  max-width: 640px;
  font-size: clamp(42px, 5vw, 74px);
}

.hero-lead {
  max-width: 590px;
  margin: 24px 0 0;
  color: #34425f;
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}

.hero-points div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-points span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eef4ff;
  color: var(--blue);
}

.hero-visual {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 57, 166, 0.16);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 26, 77, 0.38));
}

.hero-visual img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.stats {
  margin-top: -1px;
  background: var(--white);
}

.stats-grid {
  transform: translateY(-28px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--blue), #00236e);
  color: var(--white);
  box-shadow: 0 22px 48px rgba(0, 57, 166, 0.22);
}

.stat-item {
  min-height: 112px;
  padding: 24px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item:last-child {
  border-right: 0;
}

.stat-icon {
  grid-row: span 2;
  font-size: 26px;
  opacity: 0.9;
}

.stat-item strong {
  font-size: 30px;
  line-height: 1;
}

.stat-item small {
  font-size: 13px;
  opacity: 0.88;
}

.about {
  padding-top: 34px;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 38px;
  align-items: center;
}

.section-copy h2,
.why h2 {
  font-size: clamp(32px, 4vw, 48px);
}

.section-copy p,
.section-heading p,
.why p,
.cta-box p {
  color: var(--muted);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.value-card,
.service-card,
.portfolio-card,
.blog-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(0, 57, 166, 0.07);
}

.value-card {
  padding: 30px 24px;
  text-align: center;
}

.value-icon,
.service-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  border-radius: 16px;
  background: #eef4ff;
  color: var(--blue);
  font-size: 28px;
  font-weight: 900;
}

.value-card h3,
.service-card h3,
.portfolio-card h3,
.blog-card h3,
.timeline-step h3 {
  margin: 0 0 8px;
  color: var(--navy);
  line-height: 1.22;
}

.value-card p,
.service-card p,
.portfolio-card p,
.blog-card p,
.timeline-step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(32px, 4vw, 50px);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.service-card {
  padding: 22px 18px;
  min-height: 245px;
}

.service-card .service-icon {
  margin-left: 0;
  margin-right: 0;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.portfolio-card {
  overflow: hidden;
}

.portfolio-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.portfolio-body,
.blog-body {
  padding: 20px;
}

.portfolio-body a,
.blog-body a {
  display: inline-flex;
  margin-top: 14px;
  color: var(--blue);
  font-weight: 900;
  font-size: 14px;
}

.section-action {
  margin-top: 30px;
  text-align: center;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  padding: 28px;
  border-radius: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(0, 57, 166, 0.08);
}

.timeline::before {
  content: "";
  position: absolute;
  top: 58px;
  left: 72px;
  right: 72px;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 57, 166, 0.16), rgba(0, 57, 166, 0.52), rgba(0, 57, 166, 0.16));
}

.timeline-step {
  position: relative;
  text-align: center;
  z-index: 1;
}

.timeline-step span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-weight: 900;
  border: 8px solid var(--white);
  box-shadow: 0 8px 20px rgba(0, 57, 166, 0.18);
}

.why-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 36px;
  align-items: center;
}

.check-list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.check-list div {
  position: relative;
  padding-left: 42px;
}

.check-list span {
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: var(--white);
  font-weight: 900;
}

.check-list strong {
  color: var(--navy);
  display: block;
}

.check-list p {
  margin: 2px 0 0;
  font-size: 14px;
}

.why-image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.why-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.blog-card {
  overflow: hidden;
}

.blog-card img {
  width: 100%;
  height: 195px;
  object-fit: cover;
}

.badge {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef4ff;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.blog-body small {
  display: block;
  margin-top: 12px;
  color: var(--muted);
}

.blog-body h3 {
  margin-top: 10px;
}

.cta-section {
  padding: 50px 0;
  background: var(--white);
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 42px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,255,255,0.22), transparent 26%),
    linear-gradient(135deg, var(--blue), #001f68);
  color: var(--white);
  box-shadow: 0 22px 50px rgba(0, 57, 166, 0.24);
}

.light-text {
  color: #d8e8ff;
}

.cta-box h2 {
  color: var(--white);
  font-size: clamp(28px, 4vw, 44px);
}

.cta-box p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer {
  background:
    linear-gradient(135deg, rgba(0, 26, 77, 0.95), rgba(0, 10, 34, 0.98)),
    url("assets/footer-bg.jpg") center/cover;
  color: var(--white);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 0.7fr 0.9fr;
  gap: 38px;
}

.footer-mark {
  background: var(--white);
  color: var(--blue);
  box-shadow: none;
}

.footer-logo .brand-text {
  color: var(--white);
}

.footer-logo .brand-text small {
  color: rgba(255,255,255,0.72);
}

.site-footer p,
.footer-list {
  color: rgba(255,255,255,0.72);
}

.site-footer h3 {
  margin: 0 0 14px;
  font-size: 16px;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 14px;
}

.footer-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.footer-contact-btn,
.footer-contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 11px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.footer-contact-btn {
  background: var(--white);
  color: var(--blue);
  border: 1px solid var(--white);
}

.footer-contact-link {
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.06);
}

.footer-contact-btn:hover,
.footer-contact-link:hover {
  transform: translateY(-2px);
}

.footer-contact-link:hover {
  border-color: rgba(255,255,255,0.58);
  background: rgba(255,255,255,0.12);
}

.footer-list a:hover {
  color: #ffffff;
}

.service-area {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-area span {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.82);
  font-size: 13px;
}

.footer-bottom {
  margin-top: 48px;
  padding: 20px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.64);
  font-size: 13px;
}

@media (max-width: 1040px) {
  .nav-menu {
    display: none;
  }

  .hero-grid,
  .about-grid,
  .why-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .section-gap {
    padding: 54px 0;
  }

  .nav-wrap {
    min-height: 68px;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    padding-top: 48px;
    background: #ffffff;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-visual img {
    height: 360px;
  }

  .hero-points,
  .stats-grid,
  .value-grid,
  .portfolio-grid,
  .blog-grid,
  .service-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .stat-item {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,0.18);
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
  }
}
