:root {
  color-scheme: light;
  --ink: #102033;
  --muted: #5c6a7c;
  --soft: #eef4f8;
  --surface: #ffffff;
  --surface-strong: #f8fbfd;
  --navy: #071624;
  --navy-2: #0e2538;
  --teal: #20c7b5;
  --blue: #2477ff;
  --gold: #d6a84f;
  --line: rgba(16, 32, 51, 0.12);
  --shadow: 0 18px 50px rgba(7, 22, 36, 0.12);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

p,
h1,
h2,
h3 {
  margin-top: 0;
}

p {
  color: var(--muted);
}

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

.nav-wrap {
  width: min(100% - 40px, var(--max));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: grid;
  gap: 0;
  font-weight: 800;
  letter-spacing: 0;
}

.brand span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a {
  color: #24364b;
}

.nav-links a[aria-current="page"],
.nav-links a:hover {
  color: var(--blue);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.1;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  box-shadow: 0 14px 30px rgba(36, 119, 255, 0.24);
}

.btn-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
}

.btn-outline {
  color: var(--blue);
  border-color: rgba(36, 119, 255, 0.25);
  background: #ffffff;
}

.section {
  padding: 84px 0;
}

.section.tight {
  padding: 64px 0;
}

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

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

.eyebrow {
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  max-width: 860px;
  color: #ffffff;
  font-size: clamp(2.65rem, 6vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

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

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

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 74px);
  display: flex;
  align-items: center;
  color: #ffffff;
  background: var(--navy);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(7, 22, 36, 0.94) 0%, rgba(7, 22, 36, 0.78) 46%, rgba(7, 22, 36, 0.28) 100%),
    url("../images/consulting-hero.jpg") center right / cover no-repeat;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  content: "";
  background: linear-gradient(180deg, rgba(7, 22, 36, 0), rgba(7, 22, 36, 0.78));
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 72px 0 118px;
}

.hero p {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
}

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

.proof-strip {
  position: relative;
  z-index: 2;
  margin-top: -54px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
}

.proof-item {
  min-height: 112px;
  padding: 22px;
  background: #ffffff;
}

.proof-item strong {
  display: block;
  color: var(--ink);
  font-size: 1.55rem;
  line-height: 1;
}

.proof-item span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.grid {
  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));
}

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

.card {
  min-height: 100%;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 32px rgba(7, 22, 36, 0.06);
}

.card h3 {
  margin-bottom: 10px;
}

.icon-mark {
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  font-weight: 900;
}

.soft-band {
  background: var(--surface-strong);
}

.dark-band {
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(36, 119, 255, 0.16), rgba(32, 199, 181, 0.08)),
    var(--navy);
}

.dark-band h2,
.dark-band h3 {
  color: #ffffff;
}

.dark-band p,
.dark-band li {
  color: rgba(255, 255, 255, 0.76);
}

.audience-card {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  font-weight: 800;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: var(--navy);
  background: var(--teal);
  content: "";
}

.check-list li::after {
  position: absolute;
  left: 7px;
  top: 8px;
  width: 5px;
  height: 9px;
  border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  content: "";
  transform: rotate(42deg);
}

.project-card {
  display: flex;
  min-height: 280px;
  flex-direction: column;
  justify-content: space-between;
}

.tag {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 16px;
  padding: 6px 10px;
  border-radius: var(--radius);
  color: var(--blue);
  background: rgba(36, 119, 255, 0.09);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.meta-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 22px;
  color: var(--muted);
  font-size: 0.94rem;
}

.meta-list strong {
  color: var(--ink);
}

.page-hero {
  padding: 86px 0 72px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(36, 119, 255, 0.18), rgba(32, 199, 181, 0.08)),
    var(--navy);
}

.page-hero h1 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 5vw, 4.65rem);
}

.page-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.12rem;
}

.service-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 10px 34px rgba(7, 22, 36, 0.05);
}

.service-row + .service-row {
  margin-top: 22px;
}

.service-row ul {
  margin: 0 0 22px;
  padding-left: 20px;
  color: var(--muted);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 42px;
  align-items: start;
}

.about-cards {
  margin-top: 30px;
}

.stat-card {
  padding: 28px;
  border-radius: var(--radius);
  color: #ffffff;
  background: linear-gradient(135deg, var(--navy-2), #153d54);
}

.stat-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--teal);
  font-size: 2.6rem;
  line-height: 1;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 34px;
  align-items: start;
}

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

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

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

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

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

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(36, 119, 255, 0.18);
  border-color: var(--blue);
}

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

.method {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
}

.method strong {
  display: block;
  margin-bottom: 3px;
}

.cta-panel {
  padding: 48px;
  border-radius: var(--radius);
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(36, 119, 255, 0.9), rgba(32, 199, 181, 0.82)),
    var(--blue);
}

.cta-panel h2 {
  color: #ffffff;
}

.cta-panel p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.84);
}

.site-footer {
  padding: 36px 0;
  color: rgba(255, 255, 255, 0.72);
  background: #06111c;
}

.footer-wrap {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-wrap a {
  color: #ffffff;
  font-weight: 700;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--blue);
  font-weight: 800;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    inset: 74px 20px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: var(--shadow);
  }

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

  .nav-links a {
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
  }

  .nav-links a:last-child {
    border-bottom: 0;
  }

  .proof-grid,
  .grid-4,
  .grid-5,
  .grid-3,
  .grid-2,
  .contact-layout,
  .about-layout,
  .service-row {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(7, 22, 36, 0.96) 0%, rgba(7, 22, 36, 0.84) 100%),
      url("../images/consulting-hero.jpg") center / cover no-repeat;
  }

  .hero-inner {
    padding: 78px 0 112px;
  }
}

@media (max-width: 640px) {
  .nav-wrap,
  .container,
  .hero-inner,
  .footer-wrap {
    width: min(100% - 28px, var(--max));
  }

  .section {
    padding: 64px 0;
  }

  .page-hero {
    padding: 64px 0 56px;
  }

  .proof-strip {
    margin-top: -34px;
  }

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

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

  .card,
  .service-row,
  .cta-panel {
    padding: 22px;
  }

  .btn {
    width: 100%;
  }
}
