:root {
  --navy: #0b1c33;
  --navy-deep: #071321;
  --navy-mid: #13263f;
  --electric: #1b6bff;
  --electric-hover: #1558d4;
  --cyan: #3bd4e8;
  --bg: #ffffff;
  --bg-alt: #f4f7fa;
  --text: #152033;
  --muted: #5c6778;
  --line: #dce4ee;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(11, 28, 51, 0.12);
  --radius: 6px;
  --header: 96px;
  --container: 1180px;
  --font: "Inter", "Segoe UI", sans-serif;
  --display: "Outfit", "Inter", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  letter-spacing: -0.011em;
  overflow-x: hidden;
}

body.nav-locked { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4 {
  font-family: var(--display);
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0;
  color: var(--navy);
}
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  background: var(--electric);
  color: var(--white);
  padding: 10px 14px;
  z-index: 1000;
}
.skip-link:focus { top: 16px; }

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

.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--electric);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--cyan);
}

.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2,
.page-hero h1 { font-size: clamp(32px, 4.2vw, 52px); }
.lede, .section-head p { color: var(--muted); font-size: 17px; margin-top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: height 0.25s ease, box-shadow 0.25s ease;
}
.site-header.is-scrolled {
  --header: 80px;
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(11, 28, 51, 0.06);
}

.header-inner {
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 1 auto;
  min-width: 0;
}

.logo-mark {
  width: 49px;
  height: 49px;
  max-width: 49px;
  flex: 0 0 49px;
  display: block;
  object-fit: contain;
  border-radius: 12px;
  background: var(--navy);
  box-shadow: 0 0 0 1px rgba(27, 107, 255, 0.18), 0 8px 18px rgba(11, 28, 51, 0.16);
}

.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text strong {
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
}
.logo-text span {
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #4b5a6e;
  margin-top: 5px;
}

.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--navy-mid);
  position: relative;
}
.site-nav a:hover,
.site-nav a.is-active { color: var(--navy); }
.site-nav a:not(.btn).is-active::after,
.site-nav a:not(.btn):hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--electric);
}
[id] { scroll-margin-top: 108px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(180deg, #2b78ff 0%, var(--electric) 100%);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(27, 107, 255, 0.28);
}
.btn-primary:hover { background: var(--electric-hover); box-shadow: 0 12px 28px rgba(27, 107, 255, 0.34); }
.btn-ghost, .btn-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover, .btn-light:hover { background: rgba(255, 255, 255, 0.1); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-mid); }
.btn-outline { border-color: var(--line); color: var(--navy); background: var(--white); }
.btn-outline:hover { border-color: var(--electric); color: var(--electric); }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  margin-left: auto;
  border: 1px solid var(--navy);
  background: var(--navy);
  border-radius: var(--radius);
  padding: 0;
  cursor: pointer;
  z-index: 2;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--white);
  margin: 0 auto;
  position: relative;
  content: "";
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

.hero {
  position: relative;
  height: min(86vh, 820px);
  min-height: 560px;
  overflow: hidden;
  background: var(--navy-deep);
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  transition: transform 7s ease;
}
.hero-slide.is-active img { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 19, 33, 0.82) 0%, rgba(7, 19, 33, 0.46) 52%, rgba(7, 19, 33, 0.28) 100%),
    linear-gradient(180deg, rgba(7, 19, 33, 0.18) 0%, rgba(7, 19, 33, 0.55) 100%);
}
.hero-copy {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
  max-width: 720px;
  width: 100%;
  min-width: 0;
  padding: 40px 0 72px;
}
.hero-copy .eyebrow { color: var(--cyan); }
.hero-copy h1,
.hero-copy h2 {
  color: var(--white);
  font-size: clamp(30px, 4.4vw, 64px);
  max-width: 100%;
  width: 100%;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.hero-copy p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  max-width: min(540px, 100%);
  width: 100%;
  margin: 18px 0 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hero-arrows { display: flex; gap: 8px; }
.hero-arrow, .hero-dot { border: 0; cursor: pointer; }
.hero-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.hero-arrow:hover { background: var(--electric); border-color: var(--electric); }
.hero-dots { display: flex; gap: 8px; }
.hero-dot { width: 34px; height: 3px; background: rgba(255, 255, 255, 0.32); padding: 0; }
.hero-dot.is-active { background: var(--cyan); }

.trust-strip { background: var(--navy); color: var(--white); }
.trust-strip .container { display: grid; grid-template-columns: repeat(5, 1fr); }
.trust-item {
  padding: 22px 16px;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}
.trust-item:first-child { border-left: 0; }

.about-grid, .split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.about-copy p + p { margin-top: 16px; color: var(--muted); }
.about-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
  margin: 28px 0;
}
.about-points li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}
.about-points li::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--cyan);
  position: absolute;
  left: 0;
  top: 7px;
}
.media-frame { position: relative; }
.media-frame img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.services-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-auto-rows: 240px;
  gap: 18px;
}
.service-card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 240px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(27, 107, 255, 0.28); }
.service-card.featured {
  grid-row: span 2;
  min-height: 498px;
  color: var(--white);
  border: 0;
}
.service-card.featured h3, .service-card.featured p,
.service-card.wide h3, .service-card.wide p { color: var(--white); }
.service-card.wide { grid-column: span 2; color: var(--white); border: 0; }
.service-card .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.service-card .shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 19, 33, 0.1) 10%, rgba(7, 19, 33, 0.86) 100%);
}
.service-card .content, .service-card .icon { position: relative; z-index: 1; }
.service-card h3 { font-size: 22px; margin-bottom: 8px; }
.service-card p { color: var(--muted); font-size: 14px; }
.service-card .link { margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--electric); }
.service-card.featured .link, .service-card.wide .link { color: var(--cyan); }
.icon { width: 42px; height: 42px; margin-bottom: 18px; color: var(--electric); }

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.solution-item {
  background: var(--white);
  padding: 32px 28px 28px;
  min-height: 210px;
  transition: background 0.25s ease, transform 0.25s ease;
}
.solution-item:hover { background: var(--navy); transform: translateY(-2px); }
.solution-item:hover h3, .solution-item:hover p, .solution-item:hover span { color: var(--white); }
.solution-item span {
  display: block;
  font-family: var(--display);
  color: var(--cyan);
  font-size: 13px;
  letter-spacing: 0.16em;
  margin-bottom: 18px;
}
.solution-item h3 { font-size: 22px; margin-bottom: 10px; }
.solution-item p { color: var(--muted); font-size: 14px; }

.industries-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
}
.industry-list button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 16px 8px;
  display: flex;
  justify-content: space-between;
  color: var(--navy);
  cursor: pointer;
}
.industry-list button.is-active,
.industry-list button:hover { color: var(--electric); }
.industry-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: var(--navy);
}
.industry-visual img { width: 100%; height: 100%; object-fit: cover; }
.industry-visual figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 24px;
  color: var(--white);
  background: linear-gradient(transparent, rgba(7, 19, 33, 0.82));
}

.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-card { padding: 28px 24px; background: var(--white); border-top: 2px solid var(--navy); }
.why-card h3 { font-size: 20px; margin-bottom: 10px; }
.why-card p { color: var(--muted); font-size: 14px; }

.visual-band {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  padding: 96px 0;
}
.visual-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.visual-band .shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 19, 33, 0.88), rgba(7, 19, 33, 0.32));
}
.visual-band .container { position: relative; z-index: 1; }
.visual-band h2 { color: var(--white); max-width: 640px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 28px; }
.chips span {
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 12px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  position: relative;
}
.process::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}
.process article { position: relative; padding-top: 8px; }
.process b {
  display: block;
  font-family: var(--display);
  color: var(--electric);
  font-size: 13px;
  letter-spacing: 0.16em;
  margin-bottom: 16px;
}
.process h3 { font-size: 22px; margin-bottom: 10px; }
.process p { color: var(--muted); font-size: 14px; }

.projects-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 18px; }
.project-card, .project-mini {
  color: var(--white);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}
.project-card { background: var(--navy); min-height: 420px; }
.project-mini { background: var(--navy-mid); min-height: 201px; padding: 28px; }
.project-card img, .project-mini img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
}
.project-card h3, .project-mini h3 { color: var(--white); position: relative; }
.project-card p, .project-mini p { position: relative; color: rgba(255, 255, 255, 0.8); margin-top: 10px; }
.project-stack { display: grid; gap: 18px; }
.meta {
  position: relative;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
}

.eco-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.eco-item {
  border: 1px solid var(--line);
  padding: 28px 18px;
  text-align: center;
  font-family: var(--display);
  font-size: 15px;
  background: var(--white);
}

.cta-band { background: var(--navy-deep); color: var(--white); text-align: center; }
.cta-band h2, .cta-band p { color: var(--white); }
.cta-band p { max-width: 640px; margin: 16px auto 28px; color: rgba(255, 255, 255, 0.78); }
.cta-band a.email { display: inline-block; color: var(--cyan); margin-top: 18px; }

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.72);
  padding: 72px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.site-footer h3, .site-footer .logo-text strong, .site-footer .logo-text span { color: var(--white); }
.site-footer h3 {
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.site-footer a { display: block; margin-bottom: 10px; font-size: 14px; }
.site-footer a:hover { color: var(--cyan); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  font-size: 13px;
}
.footer-bottom nav { display: flex; gap: 18px; }

.page-hero {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--navy-deep);
}
.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero .shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 19, 33, 0.25), rgba(7, 19, 33, 0.82));
}
.page-hero .container { position: relative; z-index: 1; padding-bottom: 48px; }
.page-hero h1, .page-hero p { color: var(--white); }
.page-hero p { max-width: 620px; margin-top: 12px; color: rgba(255, 255, 255, 0.8); }

.service-detail {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.service-detail:nth-child(even) { direction: rtl; }
.service-detail:nth-child(even) > * { direction: ltr; }
.service-detail img { width: 100%; height: 340px; object-fit: cover; }
.detail-list { margin-top: 18px; }
.detail-list li {
  padding-left: 16px;
  position: relative;
  color: var(--muted);
  margin-bottom: 8px;
}
.detail-list li::before {
  content: "";
  width: 7px;
  height: 1px;
  background: var(--electric);
  position: absolute;
  left: 0;
  top: 11px;
}

.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; }
.contact-card { padding: 24px; border: 1px solid var(--line); margin-bottom: 14px; }
.contact-card h3 { font-size: 18px; margin-bottom: 6px; }
.contact-form { background: var(--bg-alt); padding: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 12px 14px;
  color: var(--text);
  border-radius: var(--radius);
}
.field textarea { min-height: 140px; resize: vertical; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #c24141; }
.field .error { display: none; color: #c24141; font-size: 12px; margin-top: 6px; }
.field.has-error .error { display: block; }
.form-status { margin-top: 12px; font-size: 14px; }
.form-status.is-error { color: #c24141; }
.form-status.is-success { color: #0f7a4a; }

.legal { max-width: 760px; }
.legal h2 { font-size: 24px; margin: 32px 0 12px; }
.legal p, .legal li { color: var(--muted); margin-bottom: 12px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--navy); }
.faq p { margin-top: 10px; color: var(--muted); }
.insight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.insight-card { border-top: 2px solid var(--navy); padding-top: 20px; }
.insight-card h3 { font-size: 22px; margin-bottom: 10px; }
.resource-note { background: var(--bg-alt); padding: 28px; margin-top: 28px; }

.will-reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.will-reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; }
  .site-header.is-open .site-nav {
    display: flex;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 24px 28px;
    gap: 16px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .site-nav a.is-active::after, .site-nav a:hover::after { display: none; }
  .trust-strip .container, .services-grid, .solutions-grid, .why-grid, .process,
  .eco-grid, .insight-grid, .footer-grid, .about-grid, .split, .industries-layout,
  .projects-grid, .contact-grid, .form-row, .service-detail, .service-detail:nth-child(even) {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .service-card.wide, .service-card.featured { grid-column: auto; grid-row: auto; min-height: 280px; }
  .trust-item { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.08); }
  .process::before { display: none; }
}

@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .hero { min-height: 620px; height: auto; }
  .hero-copy { padding: 96px 0 96px; }
  .hero-copy h1, .hero-copy h2 { font-size: 30px; }
  .hero-copy p { font-size: 16px; }
  .about-points, .project-stack { grid-template-columns: 1fr; }
  .media-frame img, .industry-visual, .service-detail img { height: 280px; }
  .footer-bottom, .hero-controls { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slide, .hero-slide img, .will-reveal, .service-card { transition: none; }
}

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
