:root {
  --ink: #10202f;
  --muted: #647487;
  --line: #dbe5ef;
  --paper: #f7fafc;
  --white: #ffffff;
  --blue: #0757c8;
  --cyan: #00a9d6;
  --green: #18a66a;
  --orange: #ff9f1c;
  --dark: #0b1724;
  --radius: 8px;
  --shadow: 0 24px 60px rgba(16, 32, 47, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Manrope", Arial, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 18px;
  left: 50%;
  width: min(1180px, calc(100% - 28px));
  min-height: 86px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 44px rgba(10, 26, 43, 0.12);
  backdrop-filter: blur(18px);
  transition: top 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  top: 8px;
  box-shadow: 0 14px 32px rgba(10, 26, 43, 0.18);
}

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

.brand img {
  width: 218px;
  height: auto;
}

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

.site-nav a {
  padding: 10px 12px;
  border-radius: var(--radius);
  color: #26384b;
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--blue);
  background: #ecf6ff;
}

.header-cta,
.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
}

.header-cta,
.btn.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 14px 28px rgba(7, 87, 200, 0.22);
}

.btn.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.12);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 760px;
  padding: 168px 0 72px;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 20, 34, 0.94) 0%, rgba(8, 20, 34, 0.78) 46%, rgba(8, 20, 34, 0.28) 100%),
    linear-gradient(0deg, rgba(8, 20, 34, 0.72), rgba(8, 20, 34, 0.04) 42%);
}

.hero-content {
  position: relative;
  max-width: 760px;
  margin-left: max(20px, calc((100vw - 1160px) / 2));
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(2.45rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 42px;
}

.hero-stats {
  display: grid;
  max-width: 760px;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.hero-stats div {
  min-height: 102px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.hero-stats strong {
  display: block;
  font-size: 1.7rem;
  line-height: 1.1;
}

.hero-stats span {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.section {
  padding: 96px 0;
  scroll-margin-top: 112px;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.about {
  background: var(--paper);
}

.about-text {
  color: var(--muted);
  font-size: 1.05rem;
}

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

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

.service-card,
.detail-grid article,
.solution-box,
.problem {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.service-card {
  min-height: 332px;
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: #b9d4f3;
  box-shadow: var(--shadow);
}

.service-card p,
.detail-grid p,
.solution-box p,
.problem li {
  color: var(--muted);
}

.service-card a {
  display: inline-flex;
  margin-top: 14px;
  color: var(--blue);
  font-weight: 800;
}

.icon {
  display: inline-grid;
  min-width: 52px;
  min-height: 40px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: var(--radius);
  color: var(--blue);
  background: #eaf4ff;
  font-size: 0.72rem;
  font-weight: 900;
}

.dark {
  color: var(--white);
  background:
    radial-gradient(circle at 88% 18%, rgba(0, 169, 214, 0.34), transparent 26%),
    linear-gradient(135deg, #0a1624 0%, #122b46 100%);
}

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

.feature p {
  color: rgba(255, 255, 255, 0.78);
}

.feature-panel {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.feature-panel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  object-fit: cover;
}

.check-list,
.x-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 30px;
  padding: 0;
  list-style: none;
}

.check-list li,
.x-list li {
  position: relative;
  padding-left: 34px;
}

.check-list li::before,
.x-list li::before {
  position: absolute;
  left: 0;
  top: 2px;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 900;
}

.check-list li::before {
  content: "✓";
  background: var(--green);
}

.x-list li::before {
  content: "!";
  background: var(--orange);
}

.two-columns {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 22px;
}

.problem,
.solution-box {
  padding: 34px;
}

.solution-box {
  border-color: #b9d4f3;
  background: #f5fbff;
}

.detail-band {
  background: var(--paper);
}

.detail-grid article {
  min-height: 235px;
  padding: 26px;
}

.cases {
  padding-top: 76px;
  padding-bottom: 76px;
}

.logo-carousel {
  position: relative;
  overflow: hidden;
  padding: 10px 0;
}

.logo-carousel::before,
.logo-carousel::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  width: 120px;
  height: 100%;
  pointer-events: none;
}

.logo-carousel::before {
  left: 0;
  background: linear-gradient(90deg, var(--white), rgba(255, 255, 255, 0));
}

.logo-carousel::after {
  right: 0;
  background: linear-gradient(270deg, var(--white), rgba(255, 255, 255, 0));
}

.logo-track {
  display: flex;
  width: max-content;
  gap: 18px;
  animation: logo-marquee 26s linear infinite;
}

.logo-carousel:hover .logo-track {
  animation-play-state: paused;
}

.logo-card {
  display: grid;
  width: 248px;
  height: 138px;
  flex: 0 0 248px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 32px rgba(16, 32, 47, 0.08);
}

.logo-card img {
  width: 78%;
  max-height: 96px;
  object-fit: contain;
}


@keyframes logo-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 9px));
  }
}

.contact {
  background:
    linear-gradient(90deg, rgba(9, 22, 36, 0.93), rgba(9, 22, 36, 0.78)),
    url("assets/contact-bg.jpg") center/cover;
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 46px;
  align-items: start;
}

.contact p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.contact-list a {
  color: rgba(255, 255, 255, 0.86);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  font: inherit;
}

textarea {
  resize: vertical;
}

select option {
  color: var(--ink);
}

.site-footer {
  padding: 34px 0;
  background: #07111d;
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: 190px 1fr auto;
  gap: 24px;
  align-items: center;
}

.footer-grid img {
  width: 170px;
  filter: brightness(0) invert(1);
}

.footer-grid nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  font-weight: 700;
}

.footer-grid p {
  margin: 0;
  font-size: 0.84rem;
  text-align: right;
}

@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
    gap: 12px;
  }

  .menu-toggle {
    display: inline-flex;
    width: 46px;
    height: 46px;
    margin-left: auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
  }

  .menu-toggle span {
    width: 20px;
    height: 2px;
    background: var(--ink);
  }

  .site-nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    order: 4;
    padding-top: 8px;
    border-top: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 150px;
  }

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

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

  .footer-grid p,
  .footer-grid nav {
    text-align: left;
    justify-content: flex-start;
  }
}

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

  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    min-height: 68px;
    padding: 10px 12px;
  }

  .brand img {
    width: min(158px, 48vw);
  }

  .hero {
    padding-top: 132px;
    padding-bottom: 54px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(8, 20, 34, 0.95), rgba(8, 20, 34, 0.82)),
      linear-gradient(0deg, rgba(8, 20, 34, 0.7), rgba(8, 20, 34, 0.14));
  }

  h1 {
    font-size: clamp(2.15rem, 12vw, 3.15rem);
    line-height: 1.05;
  }

  h2 {
    font-size: clamp(1.75rem, 9vw, 2.35rem);
    line-height: 1.12;
  }

  .hero-copy,
  .about-text {
    font-size: 1rem;
  }

  .hero-content {
    margin-left: auto;
  }

  .hero-stats,
  .service-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 10px;
  }

  .hero-stats div {
    min-height: auto;
  }

  .hero-actions,
  .hero-actions .btn,
  .feature .btn,
  .contact-form .btn {
    width: 100%;
  }

  .logo-carousel {
    margin-right: -14px;
    margin-left: -14px;
  }

  .logo-carousel::before,
  .logo-carousel::after {
    width: 46px;
  }

  .logo-track {
    animation-duration: 20s;
  }

  .logo-card {
    width: 208px;
    height: 122px;
    flex-basis: 208px;
  }

  .section {
    padding: 66px 0;
    scroll-margin-top: 96px;
  }

  .service-card,
  .detail-grid article,
  .problem,
  .solution-box,
  .contact-form {
    padding: 22px;
  }

  .footer-grid img {
    width: 150px;
  }

  .footer-grid p {
    max-width: 100%;
    text-align: left;
  }
}

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

  .brand img {
    width: min(142px, 46vw);
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .logo-card {
    width: 188px;
    height: 114px;
    flex-basis: 188px;
  }
}
