:root {
  color-scheme: light;
  --navy-950: #06172f;
  --navy-900: #08234a;
  --navy-800: #0b2f63;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --sky-400: #38bdf8;
  --ink: #0b1628;
  --text: #26364d;
  --muted: #64748b;
  --line: rgba(29, 78, 216, 0.16);
  --surface: #ffffff;
  --soft: #f4f8ff;
  --soft-2: #eaf2ff;
  --shadow: 0 24px 80px rgba(8, 35, 74, 0.16);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f7faff;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

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

.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 50;
  display: grid;
  width: min(1180px, calc(100% - 28px));
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  min-height: 70px;
  padding: 10px 12px 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 999px;
  background: rgba(248, 251, 255, 0.72);
  box-shadow: 0 18px 64px rgba(6, 23, 47, 0.11);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, box-shadow 180ms ease, border-color 180ms ease, min-height 180ms ease;
}

.site-header.is-scrolled {
  min-height: 62px;
  border-color: rgba(29, 78, 216, 0.18);
  background: rgba(248, 251, 255, 0.94);
  box-shadow: 0 16px 50px rgba(6, 23, 47, 0.15);
}

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

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #0ea5e9, #2563eb 48%, #071e3d);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 1;
}

.brand-text {
  display: grid;
  gap: 0;
  line-height: 1.1;
}

.brand-text strong {
  color: var(--navy-950);
  font-size: 1rem;
  font-weight: 850;
}

.brand-text span {
  color: var(--blue-700);
  font-size: 0.75rem;
  font-weight: 720;
}

.main-nav {
  justify-self: center;
  display: flex;
  gap: 3px;
  align-items: center;
}

.main-nav a,
.nav-dropdown > button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #22334c;
  padding: 8px 12px;
  font-size: 0.93rem;
  font-weight: 760;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.main-nav a:hover,
.nav-dropdown > button:hover {
  background: rgba(37, 99, 235, 0.09);
  color: var(--blue-700);
}

.nav-dropdown {
  position: relative;
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  display: grid;
  min-width: 320px;
  gap: 6px;
  padding: 12px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-dropdown:hover .dropdown-panel,
.nav-dropdown:focus-within .dropdown-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.dropdown-panel a {
  justify-content: flex-start;
  border-radius: 12px;
  white-space: normal;
}

.header-actions {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 999px;
  background: #fff;
  color: var(--navy-950);
  font-weight: 900;
  cursor: pointer;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 850;
  line-height: 1.1;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

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

.button.primary {
  background: linear-gradient(135deg, var(--blue-600), var(--navy-900));
  box-shadow: 0 16px 38px rgba(37, 99, 235, 0.28);
  color: #fff;
}

.button.secondary {
  border-color: rgba(37, 99, 235, 0.18);
  background: rgba(255, 255, 255, 0.84);
  color: var(--navy-900);
}

.button.light {
  background: #fff;
  color: var(--navy-950);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-700);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dark .eyebrow,
.hero .eyebrow {
  color: #7dd3fc;
}

.section {
  padding: clamp(72px, 10vw, 132px) clamp(18px, 5vw, 72px);
}

.section-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.narrow {
  width: min(820px, 100%);
}

.section h1,
.section h2,
.section h3,
.hero h1,
.page-hero h1 {
  margin: 0;
  color: var(--navy-950);
  letter-spacing: 0;
  line-height: 0.98;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(3rem, 8vw, 7.8rem);
  max-width: 980px;
}

.section h2 {
  font-size: clamp(2.1rem, 5vw, 5.2rem);
  max-width: 980px;
}

.section h3 {
  font-size: clamp(1.35rem, 2.6vw, 2.2rem);
  line-height: 1.12;
}

.lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--text);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.dark {
  background: var(--navy-950);
  color: #dbeafe;
}

.dark h1,
.dark h2,
.dark h3,
.hero h1 {
  color: #fff;
}

.dark .lead,
.hero .lead {
  color: #dbeafe;
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: 126px clamp(18px, 5vw, 72px) 72px;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(6, 23, 47, 1) 0%, rgba(6, 23, 47, 0.96) 43%, rgba(6, 23, 47, 0.34) 78%),
    url("assets/generated/hero-digital-transformation.png") center / cover;
  content: "";
  transform: scale(1.03);
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, transparent 74%, #f7faff 100%),
    radial-gradient(circle at 20% 22%, rgba(59, 130, 246, 0.22), transparent 28rem);
  content: "";
}

.hero-inner {
  display: grid;
  width: min(1160px, 100%);
  min-height: calc(100svh - 198px);
  align-items: end;
  margin: 0 auto;
}

.hero-copy {
  padding-bottom: clamp(24px, 6vw, 72px);
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.42);
}

.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.signal-row span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid rgba(125, 211, 252, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #e0f2fe;
  padding: 7px 12px;
  font-size: 0.88rem;
  font-weight: 760;
}

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  gap: clamp(30px, 6vw, 84px);
  align-items: center;
}

.problem-section .grid-2 {
  width: min(1500px, 100%);
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1fr);
  gap: clamp(34px, 7vw, 96px);
}

.problem-section .reveal {
  opacity: 1;
  transform: none;
}

.problem-section h2 {
  max-width: 700px;
  font-size: clamp(2.35rem, 3.4vw, 4.35rem);
  line-height: 1.06;
}

.problem-section .lead {
  max-width: 680px;
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
}

.problem-section .media-frame {
  align-self: center;
}

.problem-section .media-frame img {
  min-height: 460px;
  object-position: center;
}

.media-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 28px;
  background: #dbeafe;
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.media-frame.portrait img {
  aspect-ratio: 4 / 5;
  min-height: auto;
  object-position: center top;
}

.bullet-list {
  display: grid;
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.bullet-list li {
  position: relative;
  padding-left: 32px;
  color: var(--text);
  font-weight: 680;
}

.bullet-list li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: var(--blue-600);
  content: "";
}

.dark .bullet-list li {
  color: #dbeafe;
}

.transformation {
  position: relative;
  overflow: hidden;
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 44px;
}

.compare-card {
  overflow: hidden;
  border: 1px solid rgba(125, 211, 252, 0.16);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.06);
}

.compare-card img {
  width: 100%;
  height: clamp(260px, 34vw, 430px);
  object-fit: cover;
}

.compare-card div {
  padding: 22px;
}

.compare-card h3 {
  color: #fff;
  font-size: 1.35rem;
}

.compare-card p {
  margin: 8px 0 0;
  color: #bfd7ff;
}

.services-showcase {
  display: grid;
  gap: 18px;
  margin-top: 44px;
}

.service-panel {
  position: relative;
  display: grid;
  min-height: 430px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(8, 35, 74, 0.08);
}

.service-panel:nth-child(even) {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.service-panel:nth-child(even) .panel-media {
  order: -1;
}

.panel-copy {
  display: grid;
  align-content: center;
  gap: 20px;
  padding: clamp(28px, 5vw, 56px);
}

.panel-copy p {
  margin: 0;
  color: var(--text);
}

.panel-copy h3 {
  max-width: 520px;
}

.panel-media img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.timeline {
  position: relative;
  display: grid;
  gap: 18px;
  margin-top: 44px;
  counter-reset: step;
}

.timeline::before {
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 26px;
  width: 2px;
  background: linear-gradient(var(--blue-500), rgba(37, 99, 235, 0.05));
  content: "";
}

.timeline-step {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 22px 22px 22px 74px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
}

.timeline-step::before {
  position: absolute;
  top: 20px;
  left: 9px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-500), var(--navy-900));
  color: #fff;
  content: counter(step, decimal-leading-zero);
  counter-increment: step;
  font-size: 0.72rem;
  font-weight: 900;
}

.timeline-step h3 {
  font-size: 1.25rem;
}

.timeline-step p {
  margin: 0;
  color: var(--text);
}

.about-card {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 32px;
  background: #fff;
  box-shadow: var(--shadow);
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 38px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 20px 22px;
  color: var(--navy-950);
  font-weight: 850;
}

.faq-item p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--text);
}

.final-cta {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  background:
    linear-gradient(120deg, rgba(6, 23, 47, 0.96), rgba(8, 47, 99, 0.88)),
    url("assets/generated/transformation-optimized-workflow.png") center / cover;
  color: #fff;
  padding: clamp(40px, 7vw, 82px);
}

.final-cta h2 {
  color: #fff;
}

.final-cta p {
  max-width: 720px;
  color: #dbeafe;
}

.site-footer {
  padding: 46px clamp(18px, 5vw, 72px);
  background: var(--navy-950);
  color: #cbd5e1;
}

.footer-inner {
  display: grid;
  width: min(1160px, 100%);
  grid-template-columns: 1fr auto;
  gap: 28px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: #dbeafe;
  text-decoration: none;
}

.page-hero {
  padding: 150px clamp(18px, 5vw, 72px) 72px;
  background:
    linear-gradient(120deg, rgba(6, 23, 47, 0.96), rgba(8, 35, 74, 0.84)),
    url("assets/generated/hero-digital-transformation.png") center / cover;
  color: #fff;
}

.page-hero .section-inner {
  display: grid;
  gap: 22px;
}

.page-hero h1,
.page-hero .lead {
  max-width: 900px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #bfdbfe;
  font-size: 0.92rem;
}

.breadcrumbs a {
  text-decoration: none;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(30px, 6vw, 72px);
  align-items: start;
}

.content-main {
  display: grid;
  gap: 38px;
}

.text-block {
  padding-bottom: 8px;
}

.text-block p {
  margin: 14px 0 0;
  color: var(--text);
}

.text-block ul {
  margin: 18px 0 0;
  padding-left: 1.2rem;
  color: var(--text);
}

.side-card {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(8, 35, 74, 0.08);
}

.side-card img {
  border-radius: 16px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

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

.service-card {
  display: grid;
  gap: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(8, 35, 74, 0.07);
  text-decoration: none;
}

.service-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.service-card div {
  display: grid;
  gap: 10px;
  padding: 0 22px 24px;
}

.service-card h2,
.service-card h3 {
  font-size: 1.45rem;
}

.service-card p {
  margin: 0;
  color: var(--text);
}

.contact-form {
  display: grid;
  gap: 14px;
}

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

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

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

.field label {
  color: var(--navy-950);
  font-weight: 820;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 14px;
  background: #fff;
  padding: 13px 14px;
  color: var(--ink);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero .reveal,
.page-hero .reveal {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    position: fixed;
    inset: 86px 14px auto;
    display: none;
    justify-self: stretch;
    max-height: calc(100svh - 112px);
    overflow: auto;
    padding: 16px;
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
  }

  body.menu-open .main-nav {
    display: grid;
  }

  .main-nav a,
  .nav-dropdown > button {
    width: 100%;
    justify-content: flex-start;
  }

  .dropdown-panel {
    position: static;
    display: grid;
    min-width: 0;
    padding: 4px 0 4px 14px;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .header-actions .button {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .grid-2,
  .about-card,
  .content-grid {
    grid-template-columns: 1fr;
  }

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

  .service-panel,
  .service-panel:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .service-panel:nth-child(even) .panel-media {
    order: 0;
  }

  .side-card {
    position: static;
  }
}

@media (max-width: 620px) {
  .brand-text span {
    display: none;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.65rem, 15vw, 4.4rem);
  }

  .section h2 {
    font-size: clamp(2rem, 11vw, 3.4rem);
  }

  .hero {
    padding-top: 112px;
  }

  .hero-inner {
    align-items: center;
  }

  .button {
    width: 100%;
  }

  .media-frame img,
  .panel-media img {
    min-height: 290px;
  }

  .form-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

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

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