:root {
  --bg: #f4f8fc;
  --bg-2: #edf4fb;
  --surface: rgba(255,255,255,0.90);
  --surface-strong: #ffffff;
  --line: rgba(10,23,48,0.08);
  --line-strong: rgba(16,47,107,0.14);
  --text: #0b1730;
  --muted: #5a687f;
  --primary: #102f6b;
  --secondary: #169eb8;
  --accent: #41d6ea;
  --shadow: 0 24px 60px rgba(16,47,107,0.08);
  --shadow-soft: 0 14px 32px rgba(16,47,107,0.06);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 12%, rgba(65,214,234,0.12), transparent 22%),
    radial-gradient(circle at 88% 10%, rgba(16,47,107,0.07), transparent 22%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  background: var(--primary);
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

.background-grid,
.background-glow,
.background-orbit {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.background-grid {
  background-image:
    linear-gradient(rgba(10,23,48,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,23,48,0.035) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 85%);
}
.background-glow {
  background:
    radial-gradient(circle at 18% 18%, rgba(65,214,234,0.12), transparent 25%),
    radial-gradient(circle at 78% 14%, rgba(16,47,107,0.08), transparent 24%),
    radial-gradient(circle at 62% 72%, rgba(22,158,184,0.09), transparent 20%);
  filter: blur(10px);
  animation: floatGlow 18s ease-in-out infinite alternate;
}
.background-orbit::before,
.background-orbit::after {
  content: "";
  position: absolute;
  width: 40vw;
  height: 40vw;
  border: 1px solid rgba(16,47,107,0.07);
  border-radius: 42% 58% 59% 41% / 44% 39% 61% 56%;
}
.background-orbit::before {
  top: -12vw;
  right: -10vw;
  animation: orbit 24s linear infinite;
}
.background-orbit::after {
  left: -12vw;
  bottom: -14vw;
  animation: orbit 30s linear infinite reverse;
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}
.section {
  position: relative;
  z-index: 1;
  padding: 28px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(244,248,252,0.76);
  border-bottom: 1px solid rgba(10,23,48,0.07);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18), 0 12px 24px rgba(16,47,107,0.12);
}
.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  background: rgba(255,255,255,0.95);
}
.brand-mark::before {
  width: 18px;
  height: 3px;
  border-radius: 999px;
  top: 21px;
  left: 9px;
  box-shadow: -8px 0 0 rgba(255,255,255,0.25);
}
.brand-mark::after {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  top: 18px;
  right: 8px;
  box-shadow: -13px -10px 0 rgba(255,255,255,0.88), -13px 10px 0 rgba(255,255,255,0.82);
}
.brand-copy strong {
  display: block;
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}
.brand-copy small {
  color: var(--muted);
  font-size: 0.78rem;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.desktop-nav a,
.menu-toggle,
.mobile-nav a {
  text-decoration: none;
  padding: 11px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.72);
  transition: .22s ease;
}
.desktop-nav a:hover,
.menu-toggle:hover,
.mobile-nav a:hover {
  transform: translateY(-1px);
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.desktop-nav .nav-cta {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-color: transparent;
  font-weight: 700;
}
.menu-toggle {
  display: none;
  cursor: pointer;
  font: inherit;
}
.mobile-nav {
  display: none;
  gap: 10px;
  padding-bottom: 14px;
}
.mobile-nav.open {
  display: grid;
}

.hero {
  padding-top: 40px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
  min-height: calc(100vh - 94px);
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.badge {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.84);
  color: var(--muted);
  box-shadow: var(--shadow-soft);
  font-size: 0.94rem;
}
.badge-accent {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}
h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(2.35rem, 4.3vw, 4.4rem);
  line-height: .98;
  letter-spacing: -0.06em;
}
h1 span {
  color: transparent;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
}
.hero-lead {
  margin: 18px 0 0;
  max-width: 58ch;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.78;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.button {
  text-decoration: none;
  padding: 14px 18px;
  border-radius: 16px;
  font-weight: 700;
  transition: .22s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 16px 30px rgba(16,47,107,0.16);
}
.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.84);
}
.hero-note {
  margin: 22px 0 0;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.82);
  border: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.7;
  box-shadow: var(--shadow-soft);
}

.visual-shell {
  padding: 20px;
  min-height: 560px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.88));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.visual-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 14%, rgba(65,214,234,0.14), transparent 22%),
    radial-gradient(circle at 82% 16%, rgba(16,47,107,0.08), transparent 20%),
    radial-gradient(circle at 56% 78%, rgba(22,158,184,0.09), transparent 18%);
}
.visual-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.window-dots {
  display: flex;
  gap: 8px;
}
.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(16,47,107,0.18);
}
.window-url {
  flex: 1;
  text-align: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.84);
  color: var(--muted);
  font-size: .9rem;
}
.visual-hero {
  position: relative;
  z-index: 1;
  padding: 24px;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(16,47,107,0.96), rgba(22,158,184,0.88));
  color: #fff;
  overflow: hidden;
}
.visual-hero::before,
.visual-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
}
.visual-hero::before {
  width: 180px;
  height: 180px;
  right: -50px;
  top: -60px;
}
.visual-hero::after {
  width: 150px;
  height: 150px;
  left: -30px;
  bottom: -70px;
}
.visual-hero-copy {
  position: relative;
  z-index: 1;
}
.visual-hero-copy strong {
  display: block;
  font-size: 1.15rem;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}
.visual-hero-copy p {
  margin: 0;
  color: rgba(255,255,255,0.88);
  line-height: 1.65;
}
.visual-pills {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.visual-pills span {
  padding: 8px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.12);
  font-size: 0.78rem;
}
.visual-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 16px;
}
.mini-panel {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,0.86);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.wide-panel {
  grid-column: span 2;
}
.panel-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(22,158,184,0.10);
  color: var(--secondary);
  font-size: 0.8rem;
  font-weight: 700;
}
.mini-panel strong {
  display: block;
  margin-bottom: 8px;
  letter-spacing: -0.04em;
}
.mini-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}
.floating-card {
  animation: floatCard 5.6s ease-in-out infinite;
}
.delay-1 { animation-delay: .2s; }
.delay-2 { animation-delay: .9s; }
.delay-3 { animation-delay: 1.4s; }

.section-head {
  max-width: 800px;
  margin-bottom: 18px;
}
.section-head.compact {
  max-width: none;
  margin-bottom: 24px;
}
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: .94rem;
}
.section-kicker::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
}
.section-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.3vw, 3rem);
  letter-spacing: -0.05em;
}
.section-head p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.cards-grid {
  display: grid;
  gap: 16px;
}
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.service-card,
.case-card,
.step-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.88);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.service-card:hover,
.case-card:hover,
.step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(22,158,184,0.22);
  box-shadow: 0 18px 34px rgba(16,47,107,0.10);
}
.service-card::after,
.case-card::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -80px;
  width: 170px;
  height: 170px;
  background: radial-gradient(circle, rgba(65,214,234,0.14), transparent 70%);
}
.card-icon {
  display: inline-block;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.16);
  margin-bottom: 14px;
}
.service-card h3,
.case-card h3,
.step-card h3 {
  margin: 0 0 10px;
  letter-spacing: -0.04em;
}
.service-card p,
.case-card p,
.step-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.section-panel {
  padding: 30px;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.90);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  margin-bottom: 12px;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 10px 20px rgba(16,47,107,0.14);
}

.contact-panel {
  padding: 30px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(16,47,107,0.97), rgba(22,158,184,0.90));
  color: #fff;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 20px;
  overflow: hidden;
  position: relative;
}
.contact-panel::before,
.contact-panel::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
}
.contact-panel::before {
  width: 220px;
  height: 220px;
  top: -90px;
  right: -70px;
}
.contact-panel::after {
  width: 180px;
  height: 180px;
  bottom: -80px;
  left: -60px;
}
.contact-copy,
.contact-actions {
  position: relative;
  z-index: 1;
}
.contact-copy h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 3rem);
  letter-spacing: -0.05em;
}
.contact-copy p,
.contact-help {
  color: rgba(255,255,255,0.86);
  line-height: 1.72;
}
.contact-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.contact-points span {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.10);
}
.contact-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.contact-actions .button-primary {
  text-align: center;
  background: #fff;
  color: var(--primary);
}
.contact-actions .button-secondary {
  text-align: center;
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.18);
  color: #fff;
}
.contact-help {
  margin: 6px 0 0;
  font-size: .94rem;
}

.site-footer {
  position: relative;
  z-index: 1;
  padding: 18px 0 44px;
}
.footer-inner {
  padding: 22px 24px;
  border-radius: 24px;
  background: rgba(255,255,255,0.86);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.footer-inner strong { display: block; }
.footer-inner p {
  margin: 4px 0 0;
  color: var(--muted);
}
.footer-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-nav a {
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .75s ease, transform .75s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatGlow {
  from { transform: translate3d(0,0,0) scale(1); }
  to { transform: translate3d(1.5%,-1.5%,0) scale(1.04); }
}
@keyframes orbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes floatCard {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@media (max-width: 1080px) {
  .hero-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }
  .cards-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .cards-3,
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero {
    padding-top: 26px;
  }
  .hero-grid {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .visual-grid,
  .cards-4,
  .cards-3,
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .wide-panel {
    grid-column: auto;
  }
  .footer-inner {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 22px 0;
  }
  h1 {
    max-width: none;
    font-size: clamp(2.05rem, 9vw, 3rem);
  }
  .visual-shell,
  .section-panel,
  .contact-panel {
    padding: 20px;
  }
  .hero-badges,
  .hero-actions,
  .contact-points,
  .footer-nav {
    gap: 8px;
  }
  .brand-copy small {
    display: none;
  }
}
