:root {
  color-scheme: light;
  --bg: #f5f7fa;
  --ink: #172033;
  --muted: #5d687a;
  --line: #dce4ee;
  --panel: #ffffff;
  --panel-soft: #eef4f8;
  --blue: #1768c9;
  --blue-deep: #0c3f83;
  --green: #4f8f5b;
  --gold: #c79535;
  --charcoal: #1d2736;
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1160px, calc(100vw - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.logo-img {
  width: 218px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 6px;
  color: #435066;
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a.active {
  background: #e7f0fb;
  color: var(--blue-deep);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.home-hero {
  background:
    linear-gradient(90deg, rgba(12, 63, 131, 0.94), rgba(23, 104, 201, 0.78)),
    url("images/top-overlay.png");
  background-size: cover;
  color: #fff;
}

.home-hero-grid {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.7fr);
  align-items: center;
  gap: 56px;
  padding: 68px 0;
}

.hero-copy-block h1,
.page-hero h1,
.split-section h2,
.section-row h2 {
  margin: 10px 0 16px;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-copy-block h1 {
  max-width: 760px;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
}

.hero-copy-block p {
  max-width: 680px;
  font-size: 1.15rem;
  color: #dce9f8;
}

.section-label,
.card-kicker {
  margin: 0;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-media {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.25);
}

.hero-media img {
  width: 100%;
  margin: 0 auto;
}

.hero-service-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 22px;
}

.hero-service-strip span {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: #eef4f8;
  color: var(--blue-deep);
  font-weight: 800;
  text-align: center;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
}

.btn-primary {
  background: var(--green);
  color: #fff;
}

.btn-primary:hover {
  background: #3f7949;
}

.btn-secondary {
  background: #fff;
  color: var(--blue-deep);
}

.page-hero {
  background:
    linear-gradient(90deg, rgba(29, 39, 54, 0.96), rgba(12, 63, 131, 0.86)),
    url("images/block-overlay.png");
  color: #fff;
}

.page-hero-inner {
  padding: 64px 0;
}

.page-hero h1 {
  max-width: 880px;
  font-size: clamp(2.25rem, 5vw, 4.25rem);
}

.page-hero p:not(.section-label) {
  max-width: 760px;
  margin: 0;
  color: #dae6f4;
  font-size: 1.08rem;
}

.split-section,
.section-row,
.trust-section {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 40px;
  align-items: end;
  padding: 62px 0 30px;
}

.split-section h2,
.section-row h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.split-section > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding: 30px 0 70px;
}

.feature-card,
.project-card,
.content-block,
.article-list article,
.contact-form,
.callout {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 36px rgba(23, 32, 51, 0.08);
}

.feature-card {
  overflow: hidden;
}

.feature-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  padding: 22px;
  background: #eef4f8;
}

.feature-card div,
.project-card div {
  padding: 22px;
}

.feature-card h2,
.project-card h2,
.article-list h2,
.content-block h2,
.callout h2 {
  margin: 6px 0 10px;
  font-size: 1.28rem;
  line-height: 1.18;
}

.feature-card p,
.project-card p,
.content-block p,
.article-list p,
.callout p {
  color: var(--muted);
}

.proof-band {
  background: var(--charcoal);
  color: #fff;
}

.ai-showcase {
  padding: 62px 0;
  background:
    linear-gradient(180deg, rgba(238, 244, 248, 0.88), rgba(255, 255, 255, 0.96)),
    url("images/block-overlay.png");
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ai-showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.82fr);
  gap: 32px;
  align-items: center;
}

.ai-visual-frame {
  overflow: hidden;
  border: 1px solid #cbd8e6;
  border-radius: 8px;
  background: #101927;
  box-shadow: 0 24px 70px rgba(23, 32, 51, 0.18);
}

.ai-visual-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.ai-panel-stack {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(23, 32, 51, 0.08);
}

.ai-panel-stack h2 {
  margin: 10px 0 14px;
  font-size: clamp(1.85rem, 3vw, 2.7rem);
  line-height: 1.08;
}

.ai-panel-stack p:not(.section-label) {
  color: var(--muted);
}

.integration-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.integration-grid span {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 1px solid #d8e3ee;
  border-radius: 6px;
  background: #f7fafc;
  color: var(--blue-deep);
  font-size: 0.92rem;
  font-weight: 800;
}

.ai-use-cases {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 56px 0 14px;
}

.ai-use-cases article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(23, 32, 51, 0.08);
}

.ai-use-cases h2 {
  margin: 6px 0 10px;
  font-size: 1.25rem;
}

.ai-use-cases p:not(.card-kicker) {
  margin-bottom: 0;
  color: var(--muted);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding: 34px 0;
}

.proof-grid div {
  min-height: 110px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
}

.proof-grid strong {
  font-size: 1.7rem;
}

.proof-grid span {
  color: #cbd8e8;
}

.portfolio-preview {
  padding-bottom: 58px;
}

.logo-wall {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.logo-wall img,
.badge-row img {
  width: 100%;
  min-height: 86px;
  object-fit: contain;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.trust-section {
  align-items: center;
  padding: 20px 0 74px;
}

.badge-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.callout {
  padding: 28px;
}

.content-grid,
.detail-layout,
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 24px;
  padding: 56px 0 76px;
}

.content-block,
.contact-form {
  padding: 28px;
}

.content-block.wide {
  min-height: 280px;
}

.check-list {
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--green);
}

.service-index {
  padding: 0 0 76px;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.link-grid a {
  display: grid;
  gap: 2px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 800;
}

.link-grid span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.detail-media img {
  width: 100%;
  height: 100%;
  max-height: 460px;
  object-fit: contain;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 56px 0 76px;
}

.project-card {
  overflow: hidden;
}

.project-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 16px;
  background: #eef4f8;
}

.article-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: 56px 0 76px;
}

.article-list article {
  padding: 24px;
}

.contact-layout {
  align-items: start;
}

.contact-form label {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-bottom: 16px;
  padding: 13px 14px;
  border: 1px solid #cbd6e2;
  border-radius: 6px;
  background: #f8fafc;
}

.contact-form textarea {
  min-height: 170px;
  resize: vertical;
}

.form-status {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--green);
  font-weight: 800;
}

.text-link {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.policy-block {
  margin: 56px auto 76px;
}

.site-footer {
  background: #111927;
  color: #cbd6e4;
  padding: 48px 0;
}

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

.footer-brand img {
  width: 220px;
  max-width: 100%;
  margin-bottom: 14px;
  padding: 10px;
  border-radius: 8px;
  background: #fff;
}

.site-footer h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 1rem;
}

.site-footer ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-footer li {
  margin-bottom: 8px;
}

.site-footer a:hover {
  color: #fff;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: fixed;
    top: 92px;
    right: 20px;
    left: 20px;
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(23, 32, 51, 0.18);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: 160ms ease;
  }

  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    justify-content: center;
  }

  .home-hero-grid,
  .ai-showcase-grid,
  .split-section,
  .section-row,
  .trust-section,
  .content-grid,
  .detail-layout,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .portfolio-grid,
  .proof-grid,
  .ai-use-cases,
  .article-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

  .logo-img {
    width: 180px;
  }

  .home-hero-grid,
  .page-hero-inner {
    padding: 44px 0;
  }

  .home-hero-grid,
  .card-grid,
  .portfolio-grid,
  .proof-grid,
  .ai-use-cases,
  .article-list,
  .link-grid,
  .badge-row {
    grid-template-columns: 1fr;
  }

  .hero-service-strip,
  .logo-wall {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-media {
    padding: 18px;
  }

  .split-section,
  .section-row,
  .content-grid,
  .detail-layout,
  .contact-layout {
    padding: 42px 0;
  }
}
