@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --ink: #0f172a;
  --muted: #5d6b7a;
  --line: #e2e8f0;
  --paper: #f8fafc;
  --white: #ffffff;
  --cyan: #0891b2;
  --green: #10b981;
  --gold: #f59e0b;
  --coral: #ef4444;
  --blue: #2563eb;
  --shadow: 0 18px 48px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Manrope, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 76px;
  padding: 0 clamp(18px, 4vw, 56px);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

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

.brand-logo {
  display: block;
  width: 164px;
  height: auto;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(8, 145, 178, 0.28);
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(8, 145, 178, 0.26);
  border-radius: 8px;
  padding: 0;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  gap: clamp(10px, 1vw, 16px);
  color: #334155;
  font-size: 0.84rem;
  font-weight: 700;
  min-height: 76px;
  white-space: nowrap;
}

.nav-links a {
  min-height: 76px;
  display: inline-flex;
  align-items: center;
  padding: 0;
  border-bottom: 2px solid transparent;
}

.nav-menu {
  position: relative;
  min-height: 76px;
  display: inline-flex;
  align-items: center;
}

.nav-menu > a {
  min-height: 76px;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% - 8px);
  left: 0;
  z-index: 30;
  display: grid;
  min-width: 260px;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.nav-menu:hover .nav-dropdown,
.nav-menu:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown a {
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  padding: 9px 12px;
  color: #334155;
}

.nav-dropdown a:hover {
  color: var(--ink);
  background: #ecfeff;
}

.nav-contact {
  min-height: 38px !important;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(8, 145, 178, 0.3) !important;
  border-radius: 8px;
  padding: 0 12px !important;
  color: var(--white) !important;
  background: var(--cyan);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--cyan);
  border-color: var(--cyan);
}

.hero-banner,
.page-hero {
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 74% 18%, rgba(20, 184, 166, 0.24), transparent 29%),
    radial-gradient(circle at 88% 72%, rgba(37, 99, 235, 0.24), transparent 30%),
    linear-gradient(135deg, #07111f 0%, #0f2b3d 48%, #10245c 100%);
}

.hero-banner {
  min-height: 640px;
  padding-top: 58px;
  padding-bottom: 70px;
}

.page-hero {
  min-height: 440px;
  padding-top: 62px;
  padding-bottom: 58px;
}

.hero3d {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 10, 20, 0.86), rgba(5, 10, 20, 0.36) 58%, rgba(5, 10, 20, 0.1)),
    linear-gradient(0deg, rgba(2, 8, 23, 0.48), transparent 54%);
}

.hero-content,
.page-hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
}

.hero-content {
  padding-top: 0;
}

.page-hero-content {
  padding-top: 0;
}

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

h1,
h2,
h3,
p,
dd,
label {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 15ch;
  font-size: clamp(2.65rem, 5.2vw, 5.4rem);
  line-height: 1;
  letter-spacing: 0;
}

.page-hero h1 {
  max-width: 14ch;
  font-size: clamp(2.7rem, 5.6vw, 5.8rem);
}

h2 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(1.8rem, 3.8vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin: 18px 0 12px;
  font-size: 1.22rem;
}

.hero-copy,
.page-hero-content p:not(.eyebrow) {
  width: min(650px, 100%);
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.55;
}

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

.hero-content {
  animation: slideFade 540ms ease both;
}

.hero-dots {
  position: absolute;
  z-index: 4;
  left: clamp(18px, 7vw, 96px);
  bottom: 30px;
  display: inline-flex;
  gap: 10px;
}

.hero-dots button {
  width: 34px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.34);
}

.hero-dots button.active {
  background: var(--cyan);
}

@keyframes slideFade {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 20px;
  cursor: pointer;
  font-weight: 850;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

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

.button.primary {
  background: var(--cyan);
  color: #051015;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.34);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.button.dark {
  background: var(--ink);
  color: var(--white);
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(76px, 10vw, 130px) 0;
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 34px;
}

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

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

.service-card {
  scroll-margin-top: 120px;
  min-height: 260px;
  display: block;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(16, 24, 32, 0.08);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(31, 182, 201, 0.52);
  box-shadow: 0 22px 42px rgba(16, 24, 32, 0.12);
}

.service-icon {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--green);
  font-weight: 900;
}

.service-card:nth-child(2n) .service-icon {
  background: var(--gold);
  color: #1c1302;
}

.service-card:nth-child(3n) .service-icon {
  background: var(--coral);
}

.service-card p,
.company-copy p,
.details-list dd,
.contact-panel p,
.split-section p,
.insight-card p,
.detail-content p,
.detail-panel p,
.detail-list {
  color: var(--muted);
  line-height: 1.68;
}

.card-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--cyan);
  font-size: 0.9rem;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.detail-content,
.detail-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(16, 24, 32, 0.08);
}

.detail-content {
  padding: clamp(28px, 5vw, 54px);
}

.detail-content h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.detail-content h3 {
  margin-top: 34px;
}

.detail-list {
  display: grid;
  gap: 12px;
  padding-left: 20px;
}

.detail-panel {
  position: sticky;
  top: 110px;
  padding: 28px;
}

.detail-panel span {
  display: inline-grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 8px;
  color: #051015;
  background: var(--cyan);
  font-weight: 900;
}

.value-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--ink);
  color: var(--white);
}

.value-band div {
  min-height: 170px;
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 34px clamp(18px, 4vw, 58px);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.value-band strong {
  color: var(--cyan);
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 0.9;
}

.value-band span {
  color: rgba(255, 255, 255, 0.74);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(36px, 7vw, 86px);
  align-items: center;
  border-bottom: 1px solid var(--line);
}

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

.industry-grid span {
  min-height: 74px;
  display: grid;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--white);
  color: var(--ink);
  font-weight: 850;
  box-shadow: 0 12px 30px rgba(16, 24, 32, 0.06);
}

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

.insight-card {
  min-height: 240px;
  display: grid;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(16, 24, 32, 0.08);
}

.insight-card a {
  margin-top: 16px;
  color: var(--cyan);
  font-weight: 900;
}

.company-section,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(36px, 7vw, 86px);
  align-items: start;
}

.details-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.details-list div {
  display: grid;
  grid-template-columns: minmax(130px, 0.45fr) minmax(0, 1fr);
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.details-list dt {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 900;
}

.details-list dd {
  margin: 0;
}

.process-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--ink);
  color: var(--white);
}

.process-band div {
  min-height: 170px;
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 32px clamp(18px, 4vw, 54px);
  background: rgba(255, 255, 255, 0.06);
}

.process-band span {
  color: var(--cyan);
  font-weight: 900;
}

.process-band strong {
  font-size: clamp(1.4rem, 3vw, 2.4rem);
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(48px, 7vw, 86px) clamp(18px, 8vw, 112px);
  background: var(--cyan);
}

.contact-band .eyebrow {
  color: #073137;
}

.contact-band h2 {
  max-width: 820px;
  font-size: clamp(2rem, 4.2vw, 3.8rem);
}

.contact-form,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(16, 24, 32, 0.08);
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 850;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfcfd;
}

.contact-form textarea {
  resize: vertical;
}

.contact-panel {
  padding: clamp(26px, 4vw, 44px);
}

.contact-panel a {
  display: inline-flex;
  margin: 24px 0 8px;
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 900;
}

.site-footer {
  color: rgba(255, 255, 255, 0.72);
  background: var(--ink);
  font-size: 0.86rem;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) repeat(4, minmax(150px, 1fr));
  gap: clamp(24px, 4vw, 48px);
  padding: clamp(58px, 7vw, 92px) clamp(18px, 5vw, 70px);
}

.footer-brand {
  display: grid;
  align-content: start;
  gap: 18px;
}

.footer-brand .brand,
.footer-brand .brand-mark {
  color: var(--white);
}

.footer-brand p,
.footer-contact p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.7;
}

.footer-email {
  width: fit-content;
  color: var(--cyan);
  font-weight: 900;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 11px;
}

.footer-column h3 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 0.95rem;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.35;
}

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 22px clamp(18px, 5vw, 70px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.58);
}

@media (max-width: 1120px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding-top: 14px;
    padding-bottom: 12px;
  }

  .nav-links {
    width: 100%;
    min-height: 0;
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .nav-links a {
    min-height: 40px;
  }

  .nav-menu,
  .nav-menu > a {
    min-height: 40px;
  }

  .nav-dropdown {
    top: 100%;
  }

  .nav-contact {
    min-height: 36px !important;
  }

}

@media (max-width: 900px) {
  .site-header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    min-height: auto;
    gap: 10px 16px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-header.menu-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header.menu-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.menu-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-links {
    grid-column: 1 / -1;
    display: grid;
    width: 100%;
    max-height: 0;
    min-height: 0;
    gap: 4px;
    overflow: hidden;
    padding: 0;
    border-top: 0 solid transparent;
    opacity: 0;
    transition:
      max-height 220ms ease,
      opacity 160ms ease,
      padding 160ms ease,
      border-color 160ms ease;
  }

  .site-header.menu-open .nav-links {
    max-height: calc(100vh - 88px);
    overflow-y: auto;
    padding-top: 10px;
    border-top: 1px solid var(--line);
    opacity: 1;
  }

  .nav-links a,
  .nav-menu > a {
    min-height: 44px;
    width: 100%;
    border-bottom: 0;
    border-radius: 8px;
    padding: 0 12px;
  }

  .nav-links a:hover,
  .nav-links a.active {
    border-color: transparent;
    background: #ecfeff;
  }

  .nav-menu {
    display: grid;
    min-height: 0;
  }

  .nav-dropdown {
    position: static;
    min-width: 0;
    gap: 2px;
    margin: 0 0 8px;
    padding: 0 0 0 12px;
    border: 0;
    border-left: 2px solid rgba(8, 145, 178, 0.18);
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-dropdown a {
    min-height: 38px;
    color: var(--muted);
  }

  .nav-contact {
    min-height: 44px !important;
    justify-content: center;
  }

  .hero-banner {
    min-height: 620px;
    padding-top: 52px;
  }

  .hero-content {
    align-self: start;
    margin-top: 0;
  }

  .page-hero {
    padding-top: 58px;
  }

  .service-grid,
  .service-grid.large,
  .company-section,
  .contact-layout,
  .detail-layout,
  .split-section,
  .insight-grid,
  .value-band,
  .process-band {
    grid-template-columns: 1fr;
  }

  .industry-grid {
    grid-template-columns: 1fr;
  }

  .details-list div {
    grid-template-columns: 1fr;
  }

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

  .detail-panel {
    position: static;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-top: 14px;
  }

  .brand {
    font-size: 0.84rem;
  }

  .brand-logo {
    width: 148px;
  }

  .nav-links {
    gap: 14px;
    font-size: 0.8rem;
    justify-content: flex-start;
  }

  .nav-dropdown {
    min-width: 0;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .hero-banner {
    min-height: 610px;
    padding-top: 44px;
  }

  .page-hero {
    min-height: 430px;
    padding-top: 48px;
  }

  h1,
  .page-hero h1 {
    font-size: clamp(2.15rem, 10vw, 3.35rem);
    line-height: 1;
  }

  h2 {
    font-size: clamp(1.7rem, 9vw, 2.55rem);
  }

  .hero-copy,
  .page-hero-content p:not(.eyebrow) {
    margin-top: 20px;
  }

  .button,
  .hero-actions {
    width: 100%;
  }

  .hero-dots {
    bottom: 22px;
  }

}
