:root {
  --navy-950: #06162e;
  --navy-900: #0b2142;
  --navy-800: #12345f;
  --blue-600: #1769e0;
  --aqua-500: #13c7c2;
  --aqua-100: #dffaf8;
  --cloud: #f3f7fb;
  --white: #fff;
  --ink: #12233f;
  --muted: #60708a;
  --line: #dce5ef;
  --danger: #b72d3d;
  --shadow: 0 24px 70px rgba(8, 31, 65, 0.13);
  --radius: 26px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open {
  overflow: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}

.announcement {
  padding: 8px 18px;
  color: #d9f9f7;
  background: var(--navy-950);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(12, 35, 70, 0.08);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}
.nav-wrap {
  width: min(1180px, calc(100% - 40px));
  height: 78px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 1.12rem;
  font-weight: 850;
  letter-spacing: -0.03em;
}
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: white;
  background: linear-gradient(145deg, var(--blue-600), var(--aqua-500));
  box-shadow: 0 10px 28px rgba(23, 105, 224, 0.25);
  font-size: 0.86rem;
  letter-spacing: -0.05em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-links a {
  position: relative;
  font-size: 0.88rem;
  font-weight: 700;
  color: #3d4f69;
}
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  background: var(--aqua-500);
  transition: right 0.2s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after {
  right: 0;
}
.nav-cta,
.button {
  min-height: 48px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 999px;
  color: white !important;
  background: var(--blue-600);
  box-shadow: 0 13px 32px rgba(23, 105, 224, 0.22);
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}
.nav-cta {
  min-height: 43px;
  padding: 0 18px;
}
.button:hover,
.nav-cta:hover {
  transform: translateY(-2px);
  background: #0f5dcd;
  box-shadow: 0 17px 38px rgba(23, 105, 224, 0.3);
}
.button.secondary {
  color: var(--navy-900) !important;
  background: white;
  box-shadow: inset 0 0 0 1px var(--line);
}
.button.secondary:hover {
  background: var(--cloud);
}
.button.light {
  color: var(--navy-900) !important;
  background: white;
}
.button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 13px;
  background: var(--cloud);
  color: var(--navy-900);
  font-size: 1.35rem;
}

.hero {
  position: relative;
  min-height: 710px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--navy-950);
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(4, 18, 39, 0.97) 0%,
    rgba(4, 18, 39, 0.91) 37%,
    rgba(4, 18, 39, 0.35) 68%,
    rgba(4, 18, 39, 0.1) 100%
  );
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin: auto;
  padding: 100px 0;
}
.hero-copy {
  max-width: 620px;
  color: white;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--blue-600);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--aqua-500);
}
.hero .eyebrow {
  color: #83f0eb;
}
.hero h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
  font-weight: 850;
}
.hero p {
  max-width: 560px;
  margin: 26px 0 34px;
  color: #d2deed;
  font-size: 1.12rem;
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-trust {
  margin-top: 52px;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  color: #c4d2e4;
  font-size: 0.82rem;
  font-weight: 700;
}
.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-trust span::before {
  content: '✓';
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--navy-950);
  background: var(--aqua-500);
  font-size: 0.72rem;
}

.section {
  padding: 108px 0;
}
.section.soft {
  background: var(--cloud);
}
.section.dark {
  color: white;
  background: var(--navy-950);
}
.container {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
}
.section-head {
  max-width: 730px;
  margin-bottom: 46px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head.center .eyebrow {
  justify-content: center;
}
.section h2,
.split-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
}
.section-head p,
.split-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}
.dark .section-head p,
.dark .split-copy > p {
  color: #b9c8dc;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  position: relative;
  min-height: 330px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.service-number {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 58px;
  border-radius: 15px;
  color: var(--blue-600);
  background: #eaf2ff;
  font-size: 0.8rem;
  font-weight: 850;
}
.service-card h3 {
  margin: 0 0 10px;
  font-size: 1.45rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}
.service-meta {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 26px;
  display: flex;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--navy-900);
  font-weight: 800;
}
.service-meta small {
  color: var(--muted);
  font-weight: 650;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 76px;
  align-items: center;
}
.split-media {
  position: relative;
  min-height: 580px;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.split-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.split-copy .button {
  margin-top: 26px;
}
.feature-list {
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
  list-style: none;
}
.feature-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: start;
}
.feature-list i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: var(--navy-900);
  background: var(--aqua-100);
  font-style: normal;
  font-weight: 900;
}
.feature-list strong {
  display: block;
  margin-bottom: 3px;
}
.feature-list span {
  color: var(--muted);
  font-size: 0.9rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}
.process-card {
  padding: 28px;
  border-top: 1px solid #29415f;
}
.process-card::before {
  counter-increment: step;
  content: '0' counter(step);
  display: block;
  margin-bottom: 60px;
  color: var(--aqua-500);
  font-size: 0.8rem;
  font-weight: 850;
}
.process-card h3 {
  margin: 0 0 9px;
  font-size: 1.15rem;
}
.process-card p {
  margin: 0;
  color: #aebdd0;
  font-size: 0.9rem;
}

.cta-band {
  padding: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-radius: 34px;
  color: white;
  background: linear-gradient(135deg, var(--blue-600), #0a4eb0 55%, #087d8a);
  box-shadow: var(--shadow);
}
.cta-band h2 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.page-hero {
  padding: 96px 0 80px;
  color: white;
  background: radial-gradient(circle at 80% 10%, rgba(19, 199, 194, 0.3), transparent 25%), var(--navy-950);
}
.page-hero h1 {
  max-width: 850px;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
}
.page-hero p {
  max-width: 680px;
  margin: 24px 0 0;
  color: #c5d3e4;
  font-size: 1.08rem;
}
.value-grid,
.app-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.value-card,
.app-card,
.contact-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
}
.value-card b {
  display: block;
  margin-bottom: 42px;
  color: var(--aqua-500);
  font-size: 1.5rem;
}
.value-card h3,
.app-card h3,
.contact-card h3 {
  margin: 0 0 9px;
  font-size: 1.25rem;
}
.value-card p,
.app-card p,
.contact-card p {
  margin: 0;
  color: var(--muted);
}
.app-card {
  min-height: 320px;
  display: flex;
  flex-direction: column;
}
.app-card .app-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 46px;
  border-radius: 17px;
  color: white;
  background: var(--navy-900);
  font-weight: 900;
}
.app-card .button {
  align-self: flex-start;
  margin-top: auto;
}

.form-shell {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 56px;
  align-items: start;
}
.form-aside {
  position: sticky;
  top: 118px;
}
.form-aside .split-media {
  min-height: 440px;
  margin-top: 28px;
}
.form-card {
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: white;
  box-shadow: 0 18px 55px rgba(8, 31, 65, 0.08);
}
.form-section {
  margin: 0 0 34px;
  padding: 0 0 30px;
  border: 0;
  border-bottom: 1px solid var(--line);
}
.form-section:last-of-type {
  border-bottom: 0;
}
.form-section legend {
  width: 100%;
  margin-bottom: 20px;
  color: var(--navy-900);
  font-size: 1.12rem;
  font-weight: 850;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field {
  display: grid;
  gap: 7px;
  color: #344760;
  font-size: 0.84rem;
  font-weight: 750;
}
.field.full {
  grid-column: 1 / -1;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #cad7e5;
  border-radius: 13px;
  color: var(--ink);
  background: white;
  outline: none;
  transition:
    border 0.2s ease,
    box-shadow 0.2s ease;
}
.field textarea {
  min-height: 125px;
  resize: vertical;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(23, 105, 224, 0.1);
}
.check {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  color: #3e506a;
  font-size: 0.88rem;
}
.check input {
  width: 19px;
  height: 19px;
  margin-top: 3px;
  accent-color: var(--blue-600);
}
.area-options {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.area-option {
  position: relative;
}
.area-option input {
  position: absolute;
  opacity: 0;
}
.area-option span {
  display: block;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #455970;
  background: white;
  font-size: 0.78rem;
  font-weight: 750;
  cursor: pointer;
}
.area-option input:checked + span {
  color: var(--blue-600);
  border-color: var(--blue-600);
  background: #edf4ff;
}
.form-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}
.form-status {
  display: none;
  margin: 20px 0 0;
  padding: 16px 18px;
  border-radius: 14px;
  font-size: 0.9rem;
}
.form-status.show {
  display: block;
}
.form-status.success {
  color: #0b6158;
  background: #dff8f2;
}
.form-status.error {
  color: #8b2330;
  background: #ffe9ec;
}
.file-summary {
  color: var(--muted);
  font-size: 0.78rem;
}

.site-footer {
  padding: 76px 0 24px;
  color: #b8c7d9;
  background: var(--navy-950);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 52px;
}
.footer-brand p {
  max-width: 320px;
  margin: 18px 0 0;
}
.footer-column h3 {
  margin: 0 0 18px;
  color: white;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-column a,
.footer-column span {
  display: block;
  margin: 10px 0;
  color: #aebed1;
  font-size: 0.88rem;
}
.footer-bottom {
  margin-top: 58px;
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #233a57;
  font-size: 0.76rem;
}
.control-port {
  width: 8px;
  height: 8px;
  display: block;
  overflow: hidden;
  border-radius: 50%;
  color: transparent;
  background: #476078;
  opacity: 0.18;
  transition: opacity 0.2s ease;
}
.control-port:hover,
.control-port:focus {
  opacity: 0.75;
}
.empty {
  padding: 40px;
  grid-column: 1 / -1;
  border: 1px dashed var(--line);
  border-radius: 22px;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }
  .nav-links {
    position: fixed;
    inset: 111px 16px auto;
    padding: 24px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: white;
    box-shadow: var(--shadow);
  }
  .menu-open .nav-links {
    display: flex;
  }
  .service-grid,
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .split,
  .form-shell {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .form-aside {
    position: static;
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .nav-wrap,
  .container,
  .hero-inner {
    width: min(100% - 28px, 1180px);
  }
  .nav-wrap {
    height: 68px;
  }
  .announcement {
    font-size: 0.68rem;
  }
  .hero {
    min-height: 760px;
    align-items: end;
  }
  .hero-media::after {
    background: linear-gradient(0deg, rgba(4, 18, 39, 0.98) 8%, rgba(4, 18, 39, 0.78) 62%, rgba(4, 18, 39, 0.22) 100%);
  }
  .hero-media img {
    object-position: 68% center;
  }
  .hero-inner {
    padding: 180px 0 66px;
  }
  .hero h1 {
    font-size: clamp(2.75rem, 14vw, 4rem);
  }
  .hero p {
    font-size: 1rem;
  }
  .hero-actions .button {
    width: 100%;
  }
  .section {
    padding: 76px 0;
  }
  .section h2,
  .split-copy h2 {
    font-size: 2.35rem;
  }
  .service-grid,
  .value-grid,
  .app-grid,
  .contact-grid,
  .process-grid,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .split-media {
    min-height: 420px;
  }
  .cta-band {
    padding: 34px 26px;
    align-items: flex-start;
    flex-direction: column;
  }
  .form-card {
    padding: 28px 20px;
  }
  .field.full {
    grid-column: auto;
  }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

[hidden] { display:none !important; }
.cms-copy { white-space:pre-line; }
.cms-full-image img { width:100%; height:auto; }
.cms-card-image { max-width:100%; max-height:200px; object-fit:cover; }
.cms-align-center .hero-copy { text-align:center; margin:auto; }
.cms-align-right .hero-copy { text-align:right; margin-left:auto; }
.cms-faq { padding:20px; border-bottom:1px solid #ddd; }
.cms-faq summary { cursor:pointer; font-weight:600; }
