:root {
  --navy: #071527;
  --navy-2: #0d2746;
  --blue: #1263ff;
  --cyan: #17c6d8;
  --teal: #10b981;
  --ink: #111827;
  --muted: #64748b;
  --line: #e2e8f0;
  --soft: #f5f8fc;
  --white: #ffffff;
  --shadow: 0 20px 55px rgba(8, 21, 39, 0.1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

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

.nav-wrap {
  width: min(1180px, calc(100% - 40px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 190px;
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.nav-area {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-menu a,
.dropdown-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #263445;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 750;
  cursor: pointer;
}

.nav-menu a:hover,
.nav-menu a.active,
.dropdown-button:hover,
.dropdown-button.active {
  color: var(--blue);
  background: #eef5ff;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 230px;
  display: none;
  padding: 8px;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.dropdown:hover .dropdown-menu,
.dropdown.is-open .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  width: 100%;
  justify-content: flex-start;
}

.header-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 8px;
  color: var(--white);
  background: var(--blue);
  font-weight: 850;
  box-shadow: 0 14px 28px rgba(18, 99, 255, 0.22);
}

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

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 80% 20%, rgba(23, 198, 216, 0.26), transparent 30%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 62%, #12395f 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -80px -160px auto;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
}

.hero-grid {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(330px, 0.8fr);
  align-items: center;
  gap: 50px;
  padding: 46px 0;
}

.hero-panel {
  max-width: 520px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.18);
}

.hero-panel img {
  margin-bottom: 22px;
  padding: 18px;
  border-radius: 12px;
  background: var(--white);
}

.hero-panel h2 {
  font-size: clamp(1.7rem, 3vw, 2.85rem);
  line-height: 1.12;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
}

h1, h2, h3 {
  margin: 0;
  color: var(--navy);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h2,
.page-hero h2 {
  color: var(--white);
}

.hero-title {
  max-width: 680px;
  color: var(--white);
  font-size: clamp(1.45rem, 2.35vw, 2.25rem);
  line-height: 1.18;
}

h1 {
  max-width: 850px;
  font-size: clamp(2.7rem, 5.9vw, 5.7rem);
  font-weight: 920;
}

h2 {
  font-size: clamp(2rem, 3.6vw, 3.35rem);
  font-weight: 900;
}

h3 {
  font-size: 1.22rem;
  font-weight: 860;
}

.lead {
  max-width: 790px;
  margin: 22px 0 0;
  color: #dbeafe;
  font-size: clamp(1.04rem, 1.8vw, 1.24rem);
}

.section .lead,
.page-copy .lead {
  color: var(--muted);
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 850;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 18px 34px rgba(18, 99, 255, 0.28);
}

.btn-primary:hover {
  background: #0b55df;
}

.btn-secondary {
  color: var(--navy);
  background: var(--white);
  border-color: #cbd5e1;
}

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

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
}

.metric {
  padding: 18px;
  background: rgba(4, 12, 25, 0.42);
}

.metric strong {
  display: block;
  color: var(--white);
  font-size: 1.45rem;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 8px;
  color: #c9d7e8;
  font-size: 0.85rem;
}

.page-hero {
  padding: 96px 0 78px;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 18%, rgba(23, 198, 216, 0.22), transparent 32%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
}

.page-hero .lead {
  color: #dbeafe;
}

.section {
  padding: 84px 0;
}

.section.alt {
  background: var(--soft);
}

.section-head {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-head p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 22px;
}

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

.card,
.service-card,
.feature-card,
.contact-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 12px 38px rgba(15, 23, 42, 0.055);
}

.card p,
.service-card p,
.feature-card p,
.contact-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.card-link {
  display: inline-flex;
  margin-top: 20px;
  color: var(--blue);
  font-weight: 850;
}

.icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 12px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  font-weight: 900;
}

.feature-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: start;
  gap: 18px;
}

.feature-card .icon {
  margin: 0;
}

.service-card {
  min-height: 100%;
}

.service-list {
  display: grid;
  gap: 18px;
}

.wide-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
}

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

.check-list li {
  position: relative;
  margin: 11px 0;
  padding-left: 28px;
  color: #334155;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.74em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--teal);
  transform: translateY(-50%);
}

.cta-band {
  padding: 70px 0;
  color: var(--white);
  background:
    radial-gradient(circle at 85% 20%, rgba(23, 198, 216, 0.22), transparent 30%),
    linear-gradient(135deg, var(--navy), #0b2f58);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.cta-inner h2 {
  max-width: 760px;
  color: var(--white);
}

.cta-inner p {
  max-width: 720px;
  margin: 16px 0 0;
  color: #dbeafe;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(310px, 0.9fr);
  gap: 26px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field.full {
  grid-column: 1 / -1;
}

label {
  color: var(--navy);
  font-size: 0.91rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea {
  min-height: 138px;
  resize: vertical;
}

.site-footer {
  padding: 58px 0 30px;
  color: #cbd5e1;
  background: #06111f;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 0.95fr 0.95fr;
  gap: 34px;
}

.footer-logo {
  width: 210px;
  margin-bottom: 20px;
  padding: 12px;
  border-radius: 10px;
  background: var(--white);
}

.site-footer h3 {
  color: var(--white);
  font-size: 1rem;
}

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

.site-footer li {
  margin: 8px 0;
  color: #b6c3d4;
}

.site-footer a:hover {
  color: var(--cyan);
}

.footer-bottom {
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #93a4b8;
  font-size: 0.9rem;
}

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

  .nav-area {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .nav-menu {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-menu a,
  .dropdown-button {
    width: 100%;
    justify-content: space-between;
  }

  .dropdown-menu {
    position: static;
    display: none;
    margin: 4px 0 8px;
    box-shadow: none;
  }

  .dropdown.is-open .dropdown-menu {
    display: block;
  }

  .header-cta {
    width: 100%;
  }

  .hero-grid,
  .grid-2,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .grid-4,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wide-card,
  .cta-inner {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 660px) {
  .container,
  .nav-wrap {
    width: min(100% - 28px, 1180px);
  }

  .brand img {
    width: 156px;
  }

  .hero-grid {
    min-height: auto;
    padding: 58px 0;
  }

  .page-hero,
  .section {
    padding: 58px 0;
  }

  .grid-3,
  .grid-4,
  .footer-grid,
  .metric-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .card,
  .service-card,
  .feature-card,
  .contact-card,
  .hero-panel {
    padding: 22px;
  }

  .feature-card {
    grid-template-columns: 1fr;
  }
}
