@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,900;1,9..40,400&display=swap");

:root {
  --ice: #f8fbfe;
  --white: #ffffff;
  --navy: #00173f;
  --blue: #4f7ac2;
  --blue-deep: #083889;
  --sky: #0099ff;
  --muted: #8f9aae;
  --muted-2: #717f98;
  --soft: rgba(233, 237, 241, 0.4);
  --blue-soft: #98b0d9;
  --line: rgba(143, 154, 174, 0.4);
  --radius: 10px 10px 10px 40px;
  --radius-sm: 5px;
  --shadow: 0 18px 50px rgba(0, 23, 63, 0.08);
  --container: 1180px;
  --header: 88px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  background: var(--ice);
  color: var(--navy);
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font-family: inherit; }
h1, h2, h3, h4, h5, h6 { margin: 0; line-height: 1.1; letter-spacing: 0; font-weight: 700; }
p { margin: 0; }

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  background: var(--ice);
}
.site-header.is-solid {
  background: var(--navy);
}
.site-header.is-light .nav a,
.site-header.is-light .nav button.nav-link,
.site-header.is-light .logo {
  color: var(--navy);
}
.site-header.is-light .nav a:hover,
.site-header.is-light .nav button.nav-link:hover,
.site-header.is-light .nav a.is-active {
  color: var(--blue);
}
.site-header.is-light .menu-toggle span,
.site-header.is-light .menu-toggle span:before,
.site-header.is-light .menu-toggle span:after {
  background: var(--navy);
}
.site-header.is-light .logo-mark,
.site-header.is-light .logo-mark:before,
.site-header.is-light .logo-mark:after {
  border-color: currentColor;
}
.site-header.is-light .header-cta {
  box-shadow: 0 10px 24px rgba(0, 23, 63, 0.08);
}
.header-inner {
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0;
  font-size: 14px;
}
.logo img { height: 16px; width: auto; }
.logo-text { letter-spacing: 0.02em; white-space: nowrap; }
.logo-mark {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid currentColor;
  position: relative;
  flex-shrink: 0;
}
.logo-mark:before,
.logo-mark:after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a, .nav button.nav-link {
  background: none;
  border: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
}
.nav a:hover, .nav button.nav-link:hover { color: var(--blue-soft); }
.nav a.is-active { color: var(--blue-soft); }
.dropdown { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 180px;
  background: #fff;
  border-radius: 12px;
  padding: 12px 0;
  box-shadow: var(--shadow);
}
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block;
  color: var(--navy);
  padding: 8px 18px;
  font-size: 15px;
}
.dropdown-menu a:hover { background: var(--ice); color: var(--blue); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  border: 0;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: 0.2s ease;
}
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--ice); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-deep); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
}
.btn-line {
  background: transparent;
  color: var(--navy);
  padding: 0;
  min-height: 0;
  font-weight: 700;
}
.btn-line:hover { color: var(--blue); }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: #fff;
}
.menu-toggle span,
.menu-toggle span:before,
.menu-toggle span:after {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  position: relative;
  content: "";
}
.menu-toggle span:before { position: absolute; top: -7px; }
.menu-toggle span:after { position: absolute; top: 7px; }

/* Hero */
.hero {
  padding: 12px 0 40px;
}
.hero-card {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  min-height: 640px;
  border-radius: 28px 28px 28px 80px;
  background:
    radial-gradient(920px 520px at 8% 30%, rgba(255,255,255,0.78), transparent 52%),
    linear-gradient(115deg, #7aa0d8 0%, #4f7ac2 42%, #1a4c9c 100%);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 40px;
  align-items: center;
  padding: 72px 64px 64px;
  position: relative;
  overflow: hidden;
}
.hero-content { position: relative; z-index: 1; max-width: 560px; }
.explore {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 16px;
  margin-bottom: 28px;
}
.explore img { width: 18px; height: 18px; filter: invert(1); }
.hero h1 {
  font-size: clamp(42px, 5.4vw, 64px);
  font-weight: 700;
  max-width: 12ch;
  margin-bottom: 22px;
}
.hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.86);
  max-width: 38ch;
  margin-bottom: 28px;
}
.hero-photo {
  position: relative;
  z-index: 1;
  overflow: hidden;
  height: 520px;
  border-radius: 24px 24px 24px 72px;
  background: #0a2a6a;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  border-radius: 24px 24px 24px 72px;
  display: block;
}
.hero-asterisk {
  position: absolute;
  left: 46%;
  bottom: -36px;
  width: 150px;
  z-index: 2;
  pointer-events: none;
}

/* Marquee */
.marquee {
  background: #fff;
  border-bottom: 1px solid var(--soft);
  overflow: hidden;
  padding: 28px 0;
}
.marquee-track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: slide 28s linear infinite;
  align-items: center;
  opacity: 0.7;
}
.marquee img { height: 22px; width: auto; filter: grayscale(1); }
@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Sections */
.section { padding: 96px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  margin-bottom: 40px;
}
.kicker {
  color: var(--blue);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 10px;
}
.section h2 { font-size: clamp(32px, 4vw, 44px); max-width: 18ch; }
.muted { color: var(--muted); font-size: 16px; line-height: 1.6; }
.lead { font-size: 18px; color: var(--muted-2); line-height: 1.6; }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.photo {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.clients-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 28px;
}
.avatars { display: flex; }
.avatars img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  margin-left: -10px;
}
.avatars img:first-child { margin-left: 0; }
.clients-row span { color: var(--muted); font-size: 14px; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.stat { padding: 8px 0; }
.stat b {
  display: block;
  font-size: 42px;
  font-weight: 700;
  color: var(--navy);
}
.stat span { color: var(--muted); font-size: 15px; }

.capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: #fff;
  border-radius: 999px;
  color: var(--navy);
  font-weight: 600;
  box-shadow: 0 1px 0 rgba(0,23,63,0.04);
}
.chip:hover { color: var(--blue); }
.chip img { width: 14px; }

.team-grid, .card-grid, .skills, .pricing-grid, .blog-grid, .services-grid, .portfolio-grid {
  display: grid;
  gap: 22px;
}
.team-grid { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,23,63,0.04);
  transition: transform 0.25s ease;
}
.card:hover { transform: translateY(-4px); }
.card img.cover { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.card-body { padding: 22px 22px 26px; }
.card h3 { font-size: 22px; margin-bottom: 6px; }
.card .role, .meta { color: var(--muted); font-size: 14px; }

.gallery {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 16px;
  margin: 20px 0 0;
}
.gallery img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius);
}

.skills { grid-template-columns: repeat(4, 1fr); }
.skill {
  background: #fff;
  padding: 28px 24px 32px;
  border-radius: var(--radius);
}
.skill .n {
  color: var(--blue);
  font-size: 28px;
  font-weight: 700;
  display: block;
  margin-bottom: 18px;
}
.skill h3 { font-size: 20px; margin-bottom: 10px; }

.community {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}
.community h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 18px; }
.experience {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 48px 40px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.experience b { font-size: 64px; display: block; }
.experience span { color: var(--blue-soft); }

.pricing-grid { grid-template-columns: repeat(2, 1fr); }
.price-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px;
}
.price-card.featured {
  background: var(--navy);
  color: #fff;
}
.price-card .name { color: var(--blue); font-weight: 600; margin-bottom: 10px; }
.price-card.featured .name { color: var(--blue-soft); }
.price-card .amount {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  margin-bottom: 24px;
}
.price-card .amount b { font-size: 54px; line-height: 1; }
.price-card .amount span { color: var(--muted); padding-bottom: 8px; }
.price-card.featured .amount span { color: var(--blue-soft); }
.price-card ul { list-style: none; padding: 0; margin: 0 0 28px; }
.price-card li {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}
.price-card li:before {
  content: "";
  width: 16px;
  height: 16px;
  background: var(--blue);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23000' d='M6.2 12.2 2.4 8.4l1.2-1.2 2.6 2.6 6.2-6.2 1.2 1.2z'/%3E%3C/svg%3E") center / contain no-repeat;
  background-color: var(--blue);
}
.price-card.featured li:before { background-color: var(--blue-soft); }

.blog-grid { grid-template-columns: repeat(3, 1fr); }
.blog-card .cover { aspect-ratio: 16/11; object-fit: cover; width: 100%; }
.blog-card h3 { font-size: 22px; margin: 12px 0 10px; }
.arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.blog-card:hover .arrow { background: var(--blue); border-color: var(--blue); }
.blog-card:hover .arrow img { filter: invert(1); }

/* Inner banner */
.page-hero {
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  position: relative;
  padding: 160px 0 56px;
}
.page-hero img.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,23,63,0.25), rgba(0,23,63,0.72));
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(40px, 6vw, 64px); }

.services-grid { grid-template-columns: repeat(2, 1fr); }
.service-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 210px;
}
.service-card img { width: 100%; height: 100%; object-fit: cover; }
.service-card .text { padding: 28px; display: flex; flex-direction: column; justify-content: center; }
.service-card h3 { margin-bottom: 10px; }

.rich { max-width: 760px; }
.rich p, .rich li { color: var(--muted-2); font-size: 17px; line-height: 1.7; margin-bottom: 16px; }
.rich h2, .rich h3 { margin: 28px 0 12px; }
.article-meta { color: var(--muted); display: flex; gap: 16px; margin: 16px 0 28px; flex-wrap: wrap; }

.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.filter {
  border: 0;
  background: #fff;
  color: var(--navy);
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
  font-weight: 600;
}
.filter.is-on, .filter:hover { background: var(--navy); color: #fff; }

.portfolio-grid { grid-template-columns: repeat(3, 1fr); }
.project-card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.project-card .card-body { display: flex; justify-content: space-between; align-items: flex-end; }

.meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 28px 0 40px;
}
.meta-grid span { display: block; color: var(--muted); font-size: 13px; margin-bottom: 6px; }

.faq { max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item button {
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  padding: 22px 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
}
.faq-item .a { display: none; color: var(--muted-2); padding-bottom: 20px; }
.faq-item.open .a { display: block; }
.faq-item button:after {
  content: "+";
  color: var(--blue);
  font-weight: 500;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}
.office { margin-bottom: 18px; }
.office h5 { font-size: 20px; margin-bottom: 10px; }
.office p, .office a { color: var(--muted-2); display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.form {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px;
}
.form input, .form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 16px 0;
  font-size: 16px;
  outline: none;
  color: var(--navy);
}
.form textarea { min-height: 120px; resize: vertical; }
.form .btn { margin-top: 24px; }
.form-note { margin-top: 16px; color: var(--blue); font-weight: 600; display: none; }

.testimonial {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px;
  margin-top: 28px;
}
.testimonial q { display: block; font-size: 20px; line-height: 1.5; margin-bottom: 18px; }
.testimonial b { display: block; }
.testimonial span { color: var(--muted); }

/* Footer */
.site-footer {
  background: var(--navy);
  color: #fff;
  padding: 80px 0 28px;
}
.footer-cta {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-cta h2 { font-size: clamp(28px, 4vw, 42px); max-width: 16ch; }
.footer-pair { display: grid; gap: 28px; }
.footer-pair h3 { font-size: 22px; margin: 8px 0 14px; }
.footer-menus {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 36px 0;
}
.footer-menus a { display: block; color: var(--blue-soft); margin-bottom: 8px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 18px;
}
.socials { display: flex; gap: 16px; }

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 50;
  padding: 28px;
}
.mobile-nav.open { display: block; }
.mobile-nav a, .mobile-nav button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  padding: 10px 0;
}
.mobile-nav .close { font-size: 16px; color: var(--blue-soft); margin-bottom: 24px; }

@media (max-width: 991px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .split, .community, .contact-layout, .footer-cta, .service-card, .pricing-grid,
  .pricing-grid[style] { grid-template-columns: 1fr !important; }
  .stats, .skills, .team-grid, .blog-grid, .portfolio-grid, .gallery { grid-template-columns: 1fr 1fr; }
  .hero-card { grid-template-columns: 1fr; padding: 48px 28px; min-height: 0; }
  .hero-photo { height: 380px; }
}
@media (max-width: 680px) {
  .stats, .skills, .team-grid, .blog-grid, .portfolio-grid, .gallery, .services-grid, .footer-menus { grid-template-columns: 1fr; }
  .wrap { width: min(var(--container), calc(100% - 32px)); }
  .section { padding: 72px 0; }
}
