:root {
  --bg-main: #f7f8fc;
  --bg-soft: #eef3ff;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: rgba(255, 255, 255, 0.97);
  --text: #14213d;
  --muted: #4d5d80;
  --line: rgba(20, 33, 61, 0.14);
  --accent: #0f6fff;
  --accent-strong: #0a4fc0;
  --accent-teal: #0b9ea0;
  --accent-warm: #f4a021;
  --shadow-lg: 0 24px 60px rgba(13, 37, 86, 0.14);
  --shadow-md: 0 12px 30px rgba(13, 37, 86, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(circle at 92% -10%, rgba(15, 111, 255, 0.18), transparent 36%),
    radial-gradient(circle at -8% 16%, rgba(11, 158, 160, 0.14), transparent 32%),
    linear-gradient(160deg, #f9fbff 0%, #f5f7fd 48%, #edf3ff 100%);
}

a {
  color: inherit;
}

.bg-shape {
  position: fixed;
  border-radius: 999px;
  pointer-events: none;
  z-index: -2;
  filter: blur(42px);
}

.bg-shape--a {
  width: 340px;
  height: 340px;
  top: 58%;
  left: -160px;
  background: rgba(15, 111, 255, 0.24);
}

.bg-shape--b {
  width: 280px;
  height: 280px;
  top: 12%;
  right: -130px;
  background: rgba(244, 160, 33, 0.2);
}

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -3;
  background-image:
    linear-gradient(to right, rgba(20, 33, 61, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20, 33, 61, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, #000 22%, transparent 80%);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  width: min(1160px, calc(100% - 2rem));
  margin: 1rem auto 0;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(249, 251, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 22px rgba(10, 34, 78, 0.09);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.brand__logo {
  display: block;
  width: auto;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(15, 111, 255, 0.2));
}

.brand__name {
  font-family: "Syne", "Trebuchet MS", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.nav a {
  padding: 0.3rem 0.55rem;
  border-radius: 8px;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
  background: rgba(15, 111, 255, 0.12);
  outline: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.btn--small {
  padding: 0.5rem 0.95rem;
  font-size: 0.84rem;
  color: #ffffff;
  background: linear-gradient(145deg, var(--accent), var(--accent-strong));
  box-shadow: 0 8px 16px rgba(10, 79, 192, 0.26);
}

.btn--primary {
  padding: 0.78rem 1.24rem;
  color: #ffffff;
  background: linear-gradient(145deg, var(--accent), var(--accent-strong));
  box-shadow: 0 12px 20px rgba(10, 79, 192, 0.25);
}

.btn--ghost {
  padding: 0.78rem 1.24rem;
  color: var(--text);
  border-color: rgba(20, 33, 61, 0.2);
  background: rgba(255, 255, 255, 0.7);
}

.section {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 4.4rem 0;
}

.section--muted {
  border: 1px solid var(--line);
  border-radius: 28px;
  padding-left: 1.6rem;
  padding-right: 1.6rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(15, 111, 255, 0.08), transparent 34%),
    rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-md);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Syne", "Trebuchet MS", sans-serif;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2rem, 4.8vw, 4rem);
  max-width: 14.5ch;
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  max-width: 21ch;
}

h3 {
  font-size: 1.12rem;
}

p {
  margin: 0;
}

.section__head {
  max-width: 760px;
}

.section__label,
.kicker {
  margin: 0 0 0.6rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.section__sub {
  margin-top: 0.75rem;
  color: var(--muted);
  max-width: 62ch;
}

.hero {
  padding-top: 3.2rem;
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: stretch;
}

.hero__copy,
.hero__panel {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.hero__copy {
  padding: 2.2rem;
}

.lead {
  margin-top: 1.2rem;
  color: var(--muted);
  max-width: 61ch;
  font-size: 1.02rem;
}

.hero__actions {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.62rem;
}

.hero__chips {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hero__chips li {
  border: 1px solid rgba(20, 33, 61, 0.18);
  border-radius: 999px;
  padding: 0.34rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #2d4a7a;
  background: rgba(255, 255, 255, 0.85);
}

.hero__panel {
  padding: 1.3rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(244, 160, 33, 0.16), transparent 40%),
    var(--surface-strong);
}

.panel__label {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #8a5d10;
}

.panel__list {
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.58rem;
}

.panel__list li {
  border: 1px solid rgba(20, 33, 61, 0.14);
  border-radius: 12px;
  padding: 0.68rem 0.74rem;
  background: rgba(255, 255, 255, 0.9);
}

.panel__name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #21385f;
}

.panel__copy {
  margin-top: 0.15rem;
  color: #4e6388;
  font-size: 0.84rem;
}

.panel__cta {
  margin-top: 0.8rem;
  border: 1px solid rgba(11, 158, 160, 0.24);
  border-radius: 14px;
  padding: 0.72rem 0.8rem;
  background: rgba(11, 158, 160, 0.08);
}

.panel__cta-label {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0f6a6b;
}

.panel__cta-copy {
  margin-top: 0.2rem;
  font-size: 0.85rem;
  color: #2c4a70;
}

.stats {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.95rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stats article {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.1rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 16px rgba(15, 37, 80, 0.06);
}

.stats__value {
  font-family: "Syne", "Trebuchet MS", sans-serif;
  font-size: clamp(1.12rem, 2.1vw, 1.36rem);
  font-weight: 700;
  line-height: 1.2;
}

.stats__label {
  margin-top: 0.2rem;
  color: var(--muted);
}

.service-grid {
  margin-top: 1.45rem;
  display: grid;
  gap: 0.95rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.15rem;
  background: rgba(255, 255, 255, 0.9);
}

.service p {
  margin-top: 0.45rem;
  color: var(--muted);
}

.case {
  margin-top: 1.4rem;
  display: grid;
  gap: 0.95rem;
  grid-template-columns: 1.15fr 0.85fr;
}

.case__main,
.case__side {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.92);
}

.case__list {
  margin: 0.75rem 0 0;
  padding-left: 1.05rem;
  display: grid;
  gap: 0.35rem;
  color: #2c4977;
}

.case__side {
  background:
    radial-gradient(circle at 100% 0%, rgba(15, 111, 255, 0.1), transparent 38%),
    rgba(255, 255, 255, 0.95);
  display: grid;
  align-content: start;
  gap: 0.7rem;
}

.case__side-label {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.case__side p {
  color: var(--muted);
}

.case__logo {
  display: block;
  width: auto;
  max-width: 150px;
  height: 36px;
  object-fit: contain;
}

.timeline {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.95rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.timeline li {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.9);
}

.timeline p {
  margin-top: 0.32rem;
  color: var(--muted);
}

.contact-grid {
  margin-top: 1.35rem;
  display: grid;
  gap: 0.95rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.9);
}

.contact-card p {
  margin-top: 0.3rem;
  color: var(--muted);
}

.contact-card a {
  color: var(--accent-strong);
  font-weight: 700;
  text-decoration: none;
}

.contact-card a:hover,
.contact-card a:focus-visible {
  text-decoration: underline;
  outline: none;
}

.footer {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 1.3rem 0 2.2rem;
  color: var(--muted);
}

.footer__name {
  font-family: "Syne", "Trebuchet MS", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.footer__meta {
  margin-top: 0.2rem;
}

.footer__links {
  margin-top: 0.45rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.footer__links a {
  border: 1px solid rgba(20, 33, 61, 0.18);
  border-radius: 999px;
  padding: 0.32rem 0.62rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.8);
}

.footer__links a:hover,
.footer__links a:focus-visible {
  border-color: rgba(15, 111, 255, 0.45);
  outline: none;
}

.footer__copy {
  margin-top: 0.6rem;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  animation: reveal-up 0.7s ease forwards;
}

.reveal--late {
  animation-delay: 0.2s;
}

.stats .reveal:nth-child(2),
.service-grid .reveal:nth-child(2),
.service-grid .reveal:nth-child(4),
.timeline .reveal:nth-child(2),
.timeline .reveal:nth-child(4),
.contact-grid .reveal:nth-child(2) {
  animation-delay: 0.12s;
}

.service-grid .reveal:nth-child(3),
.timeline .reveal:nth-child(3),
.contact-grid .reveal:nth-child(3) {
  animation-delay: 0.2s;
}

@keyframes reveal-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .topbar {
    align-items: flex-start;
    flex-wrap: wrap;
    border-radius: 20px;
  }

  .hero,
  .case {
    grid-template-columns: 1fr;
  }

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

  .service-grid,
  .timeline {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .brand__logo {
    height: 30px;
  }

  .topbar {
    margin-top: 0.75rem;
    border-radius: 16px;
  }

  .nav {
    order: 3;
    width: 100%;
    flex-wrap: wrap;
    gap: 0.45rem;
  }

  .nav a {
    font-size: 0.82rem;
    padding: 0.26rem 0.4rem;
  }

  .section {
    padding: 3.1rem 0;
  }

  .section--muted {
    border-radius: 20px;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero__copy,
  .hero__panel,
  .case__main,
  .case__side {
    border-radius: 18px;
    padding: 1rem;
  }

  .stats,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer__links {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
