:root {
  --ink: #101417;
  --ink-soft: #303942;
  --muted: #65727c;
  --line: #d8e0e4;
  --surface: #f6f8f8;
  --surface-strong: #e9f0ef;
  --white: #ffffff;
  --teal: #0f766e;
  --teal-dark: #0b4f4a;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --gold: #c78d35;
  --night: #0b1117;
  --shadow: 0 24px 70px rgba(16, 20, 23, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

:focus-visible {
  outline: 3px solid rgba(242, 184, 75, 0.78);
  outline-offset: 4px;
}

img,
svg {
  display: block;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  padding-block: 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 40px rgba(16, 20, 23, 0.12);
  backdrop-filter: blur(16px);
}

.brand-logo {
  width: min(220px, 52vw);
  height: 56px;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.24));
}

.brand-logo-light {
  display: none;
}

.site-header:not(.is-scrolled):not(.is-open) .brand-logo-dark {
  display: none;
}

.site-header:not(.is-scrolled):not(.is-open) .brand-logo-light {
  display: block;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.32));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.94rem;
  font-weight: 700;
  transition: background 160ms ease, color 160ms ease;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.14);
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-open .site-nav a:hover {
  background: var(--surface-strong);
  color: var(--teal-dark);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

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

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  padding: 120px clamp(18px, 6vw, 76px) 56px;
  color: var(--white);
  overflow: hidden;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/hero-consulting.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 13, 18, 0.94) 0%, rgba(8, 13, 18, 0.76) 40%, rgba(8, 13, 18, 0.36) 72%, rgba(8, 13, 18, 0.48) 100%),
    linear-gradient(0deg, rgba(8, 13, 18, 0.78) 0%, rgba(8, 13, 18, 0.06) 45%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 710px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 2vw, 1.22rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button:disabled {
  cursor: not-allowed;
  opacity: 0.72;
  transform: none;
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--blue));
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.24);
}

.button-primary:hover {
  background: linear-gradient(135deg, var(--teal-dark), var(--blue-dark));
}

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

.hero-panel {
  position: relative;
  z-index: 2;
  align-self: end;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 980px;
  margin-top: 72px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  overflow: hidden;
  backdrop-filter: blur(14px);
}

.hero-panel div {
  padding: 20px;
  background: rgba(9, 15, 20, 0.48);
}

.metric {
  color: var(--gold);
  font-weight: 800;
}

.hero-panel p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.94rem;
}

.section {
  padding: clamp(64px, 9vw, 112px) clamp(18px, 6vw, 76px);
}

.section-heading,
.intro-grid,
.service-grid,
.situation-grid,
.ai-grid,
.industry-list {
  width: min(100%, 1180px);
  margin-inline: auto;
}

.intro-section {
  background: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
}

h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.12rem;
  line-height: 1.25;
}

.intro-grid p,
.process-copy p,
.contact-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.06rem;
}

.services-section,
.contact-section {
  background: var(--surface);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
  margin-inline: auto;
}

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

.service-card {
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(16, 20, 23, 0.04);
}

.icon-circle {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  border-radius: 8px;
  color: var(--teal);
  background: #e3f3f1;
}

.icon-circle svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.situations-section {
  background: var(--night);
}

.situations-section h2 {
  color: var(--white);
}

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

.situation-grid article {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.situation-grid span {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--gold);
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
}

.situation-grid h3 {
  color: var(--white);
}

.situation-grid p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.industries-section {
  background: var(--ink);
}

.ai-section {
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.09), rgba(37, 99, 235, 0.08)),
    var(--white);
}

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

.ai-grid article {
  min-height: 250px;
  padding: 28px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 45px rgba(16, 20, 23, 0.07);
}

.ai-grid span {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ai-grid p {
  margin: 12px 0 0;
  color: var(--muted);
}

.industries-section h2 {
  color: var(--white);
}

.industry-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.industry-list span {
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 700;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1fr);
  gap: clamp(32px, 7vw, 88px);
  align-items: start;
  background: var(--white);
  padding-inline: max(clamp(18px, 6vw, 76px), calc((100vw - 1180px) / 2));
}

.process-copy {
  position: sticky;
  top: 104px;
}

.process-copy p {
  margin-top: 20px;
}

.process-steps {
  display: grid;
  gap: 14px;
}

.process-steps article {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  column-gap: 22px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.process-steps span {
  color: var(--teal);
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
}

.process-steps p {
  grid-column: 2;
  margin: 8px 0 0;
  color: var(--muted);
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: var(--line);
}

.proof-band div {
  padding: clamp(28px, 5vw, 48px);
  background: var(--teal-dark);
  color: var(--white);
}

.proof-band strong,
.proof-band span {
  display: block;
}

.proof-band strong {
  font-size: 1.4rem;
}

.proof-band span {
  max-width: 430px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1fr);
  gap: clamp(32px, 7vw, 88px);
  padding-inline: max(clamp(18px, 6vw, 76px), calc((100vw - 1180px) / 2));
}

.contact-copy p {
  margin-top: 20px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--teal-dark);
  font-size: 0.92rem;
  font-weight: 800;
}

.form-status.is-error {
  color: #a53e27;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea {
  resize: vertical;
}

::placeholder {
  color: #8a969e;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(15, 118, 110, 0.18);
  border-color: var(--teal);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  justify-content: space-between;
  gap: 28px;
  padding: 38px clamp(18px, 6vw, 76px);
  color: rgba(255, 255, 255, 0.76);
  background: var(--night);
}

.site-footer p {
  margin: 0;
}

.copyright {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.site-footer a {
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--white);
  font-weight: 800;
}

.site-footer a:hover {
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 980px) {
  .service-grid,
  .ai-grid,
  .situation-grid,
  .proof-band {
    grid-template-columns: 1fr 1fr;
  }

  .intro-grid,
  .split-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .process-copy {
    position: static;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding-inline: 18px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 66px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 14px;
  }

  .hero {
    min-height: auto;
    padding-top: 118px;
  }

  .hero-media {
    background-position: 58% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(8, 13, 18, 0.96), rgba(8, 13, 18, 0.76)),
      linear-gradient(0deg, rgba(8, 13, 18, 0.76), rgba(8, 13, 18, 0.18));
  }

  .hero-panel,
  .ai-grid,
  .situation-grid,
  .service-grid,
  .proof-band {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    margin-top: 42px;
  }

  .service-card {
    min-height: auto;
  }

  .process-steps article {
    grid-template-columns: 48px minmax(0, 1fr);
  }

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

  .site-footer nav {
    justify-content: flex-start;
  }
}

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

@media (max-width: 430px) {
  .brand-logo {
    width: 176px;
    height: 45px;
  }

  .button {
    width: 100%;
  }

  .hero h1 {
    font-size: 2.42rem;
  }
}
