:root {
  --bg: #ffffff;
  --surface: #f8fafc;
  --surface-strong: #eff4ff;
  --border: #dbe3f1;
  --text: #11192d;
  --muted: #5b667f;
  --primary: #1552d6;
  --primary-deep: #0f234d;
  --accent: #f4b227;
  --max: 1180px;
  --shadow-soft: 0 24px 60px rgba(15, 35, 77, 0.1);
  --shadow-card: 0 18px 40px rgba(15, 35, 77, 0.08);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input,
textarea {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(219, 227, 241, 0.8);
  backdrop-filter: blur(12px);
}

.nav-shell {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 28px;
  min-height: 88px;
}

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

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(145deg, #1d5be0, #0f3db0);
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.brand-mark-core {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
}

.brand-copy {
  display: grid;
  gap: 2px;
  line-height: 1;
}

.brand-copy strong,
.brand-copy span {
  letter-spacing: 0;
}

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

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

.site-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.site-nav a {
  font-size: 0.98rem;
  font-weight: 600;
  color: #1d2740;
  padding: 8px 0;
}

.site-nav a.active,
.site-nav a:hover {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0;
  width: 40px;
  height: 40px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  margin: 7px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

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

.button-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 16px 30px rgba(21, 82, 214, 0.24);
}

.button-secondary {
  border: 1px solid #b8c7e7;
  color: var(--text);
  background: #fff;
}

.button-accent {
  background: var(--accent);
  color: #1d1d1d;
}

.small-button {
  min-height: 48px;
}

.hero {
  padding: 34px 0 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 48px;
  align-items: center;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.65rem, 4vw, 4.55rem);
  line-height: 1.04;
  max-width: 650px;
}

.hero-copy h1 span {
  color: var(--primary);
}

.hero-copy p {
  max-width: 570px;
  margin: 28px 0 0;
  font-size: 1.1rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 18px;
  margin-top: 34px;
}

.hero-proof {
  margin-top: 26px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #36415d;
  font-size: 0.96rem;
}

.shield {
  width: 18px;
  height: 18px;
  border: 2px solid var(--primary);
  border-radius: 6px 6px 10px 10px;
  display: inline-block;
}

.hero-media {
  position: relative;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 10% auto 8% -10%;
  width: 46%;
  background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.15) 100%);
  z-index: 2;
}

.hero-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(180deg, #eef3ff 0%, #f8fbff 100%);
  box-shadow: var(--shadow-soft);
  min-height: 540px;
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-band {
  border-top: 1px solid #edf1f8;
  border-bottom: 1px solid #edf1f8;
  margin-top: 4px;
  background: #fff;
}

.logo-band .container {
  padding: 12px 0 28px;
}

.logo-band p {
  margin: 0 0 18px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #7685a5;
}

.logo-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  align-items: center;
  text-align: center;
  color: #1b2740;
  font-size: 1.35rem;
  font-weight: 700;
}

.section {
  padding: 88px 0;
}

.section-intro,
.section-head {
  margin-bottom: 36px;
}

.split-intro {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: end;
}

.section-label {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--primary);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.12;
  max-width: 640px;
}

.split-intro p,
.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 560px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid #e7eef9;
  border-bottom: 1px solid #e7eef9;
}

.service-card {
  padding: 34px 26px 30px;
  border-right: 1px solid #e7eef9;
}

.service-card:last-child {
  border-right: 0;
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid #d9e5ff;
  background: #f8fbff;
  margin-bottom: 20px;
  position: relative;
}

.service-icon::before,
.service-icon::after {
  content: "";
  position: absolute;
}

.service-icon.globe::before {
  inset: 9px;
  border: 2px solid var(--primary);
  border-radius: 50%;
}

.service-icon.globe::after {
  top: 22px;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--primary);
}

.service-icon.store::before {
  left: 12px;
  right: 12px;
  top: 15px;
  height: 16px;
  border: 2px solid var(--primary);
  border-top: 0;
}

.service-icon.store::after {
  left: 10px;
  right: 10px;
  top: 10px;
  height: 8px;
  border: 2px solid var(--primary);
  border-radius: 6px 6px 0 0;
}

.service-icon.cloud::before {
  left: 11px;
  right: 11px;
  top: 21px;
  height: 13px;
  border: 2px solid var(--primary);
  border-radius: 20px;
}

.service-icon.cloud::after {
  left: 17px;
  top: 13px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--primary);
  border-right: 0;
  border-bottom: 0;
  border-radius: 50%;
  transform: rotate(45deg);
}

.service-icon.shield::before {
  inset: 10px 12px 9px;
  border: 2px solid var(--primary);
  border-radius: 8px 8px 14px 14px;
}

.service-card h3,
.process-step h3,
.work-card h3,
.blog-card h3,
.site-footer h3 {
  margin: 0 0 10px;
  font-size: 1.32rem;
  line-height: 1.2;
}

.service-card p,
.process-step p,
.work-card p,
.testimonial-card p,
.blog-card p,
.site-footer p,
.faq-list p,
.contact-list li {
  margin: 0;
  color: var(--muted);
}

.service-card a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--primary);
  font-weight: 700;
}

.work-grid,
.blog-grid,
.testimonial-grid {
  display: grid;
  gap: 26px;
}

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

.work-visual {
  min-height: 250px;
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  border: 1px solid #dfe8f7;
  margin-bottom: 18px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.work-one {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.2)),
    url("./assets/hero-desk.png") center/cover;
}

.work-two {
  background:
    linear-gradient(180deg, rgba(255, 249, 240, 0.5), rgba(255, 249, 240, 0.22)),
    linear-gradient(135deg, #d7c0a0, #f7efe4 60%, #9b7f63);
}

.work-three {
  background:
    linear-gradient(180deg, rgba(8, 25, 62, 0.2), rgba(8, 25, 62, 0.56)),
    linear-gradient(135deg, #18315f, #244986 52%, #0d1831);
}

.work-card p {
  margin-top: 6px;
}

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

.process-step {
  padding: 30px 24px;
  border: 1px solid #e5ecf8;
  border-radius: 18px;
  background: #fff;
}

.step-icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 50%;
  border: 1px solid #d6e2fb;
  color: var(--primary);
  font-weight: 800;
  background: #f8fbff;
}

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

.testimonial-card,
.blog-card {
  border: 1px solid #e4ebf7;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-card);
}

.testimonial-card {
  padding: 30px;
}

.quote-mark {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 2.8rem;
  line-height: 0.8;
  color: var(--primary);
}

.person {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}

.person span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #d6e5ff, #99b8ff);
  color: var(--primary-deep);
  font-weight: 800;
}

.avatar-alt {
  background: linear-gradient(135deg, #d8f2eb, #92d1be);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 38px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  border: 1px solid #e5ecf8;
  border-radius: 16px;
  background: #fff;
  padding: 0 22px;
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  font-size: 1.02rem;
  font-weight: 700;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list p {
  padding: 0 0 22px;
}

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

.blog-card {
  padding: 28px;
}

.blog-card h3 a,
.blog-list-card h2 a {
  color: inherit;
}

.blog-tag {
  display: inline-block;
  margin-bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #f2f6ff;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
}

.blog-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--primary);
  font-weight: 700;
}

.article-page {
  background: #fbfcff;
}

.article-nav {
  justify-content: flex-start;
}

.article-hero {
  padding: 72px 0 40px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
  border-bottom: 1px solid #e7eef9;
}

.article-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2.5rem, 4vw, 4.2rem);
  line-height: 1.05;
}

.article-hero p {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.article-body {
  max-width: 860px;
  padding: 54px 0 88px;
}

.article-body h2 {
  margin: 34px 0 12px;
  font-size: 1.9rem;
}

.article-body p {
  margin: 0 0 18px;
  color: #3e4a66;
  font-size: 1.04rem;
}

.article-cta {
  margin-top: 42px;
  padding: 30px;
  border: 1px solid #dee8fa;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-card);
}

.article-cta h3 {
  margin: 0 0 12px;
  font-size: 1.42rem;
}

.blog-stack {
  display: grid;
  gap: 22px;
}

.blog-list-card {
  padding: 30px;
  border: 1px solid #e4ebf7;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-card);
}

.cta-band {
  padding: 0 0 92px;
}

.cta-shell {
  border-radius: 22px;
  padding: 42px 38px;
  background:
    linear-gradient(90deg, rgba(11, 28, 65, 0.96), rgba(11, 28, 65, 0.88)),
    url("./assets/hero-desk.png") center/cover;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-shell h2 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
}

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

.site-footer {
  background: #081a3a;
  color: #fff;
  padding: 54px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr;
  gap: 34px;
  padding-bottom: 36px;
}

.footer-brand .brand-copy span,
.site-footer p,
.site-footer li,
.site-footer a {
  color: rgba(255, 255, 255, 0.76);
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links {
  display: flex;
  gap: 22px;
}

@media (max-width: 1080px) {
  .hero-grid,
  .split-intro,
  .faq-grid,
  .footer-grid,
  .cta-shell {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 24px;
  }

  .hero-image-wrap {
    min-height: 440px;
  }

  .service-grid,
  .work-grid,
  .process-grid,
  .blog-grid,
  .testimonial-grid,
  .logo-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card:nth-child(2) {
    border-right: 0;
  }

  .service-card:nth-child(1),
  .service-card:nth-child(2) {
    border-bottom: 1px solid #e7eef9;
  }
}

@media (max-width: 820px) {
  .nav-shell {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav,
  .nav-cta {
    display: none;
  }

  .site-nav.is-open {
    display: grid;
    grid-column: 1 / -1;
    justify-items: start;
    gap: 14px;
    padding-bottom: 18px;
  }

  .hero-copy h1 {
    max-width: 100%;
  }

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

  .section,
  .cta-band {
    padding: 74px 0;
  }

  .logo-band .container {
    padding-bottom: 22px;
  }
}

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

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

  .hero-copy h1 {
    font-size: 2.45rem;
  }

  .hero-copy p,
  .split-intro p {
    font-size: 1rem;
  }

  .hero-image-wrap {
    min-height: 320px;
    border-radius: 20px;
  }

  .hero-media::before {
    display: none;
  }

  .logo-row,
  .service-grid,
  .work-grid,
  .process-grid,
  .blog-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    border-right: 0;
    border-bottom: 1px solid #e7eef9;
  }

  .service-card:last-child {
    border-bottom: 0;
  }

  .section-head,
  .footer-bottom {
    flex-direction: column;
    align-items: start;
  }

  .cta-shell {
    padding: 32px 22px;
  }
}
