:root {
  --bg: #fffefe;
  --surface: rgba(255, 255, 255, 0.94);
  --surface-strong: #ffffff;
  --surface-soft: #fff7f2;
  --surface-deep: #121317;
  --text: #111111;
  --muted: #5d616b;
  --line: rgba(17, 17, 17, 0.1);
  --line-strong: rgba(17, 17, 17, 0.2);
  --brand-terracotta: #c53a06;
  --brand-red: #ff1717;
  --brand-green: #16c61a;
  --brand-blue: #1778bf;
  --brand-yellow: #f5b51d;
  --accent: #ff5d36;
  --shadow-soft: 0 24px 60px rgba(12, 16, 24, 0.08);
  --shadow-strong: 0 28px 80px rgba(12, 16, 24, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Archivo", sans-serif;
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(17, 17, 17, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, #ffffff 0%, #fffdfb 100%);
  background-size: 72px 72px, 72px 72px, 100% 100%;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.32;
  background-image:
    radial-gradient(rgba(17, 17, 17, 0.08) 0.65px, transparent 0.65px);
  background-size: 11px 11px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 65%);
}

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

button,
input {
  font: inherit;
}

button {
  appearance: none;
  background: none;
  cursor: pointer;
}

body.modal-open {
  overflow: hidden;
}

.page-atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.atmosphere {
  position: absolute;
  filter: blur(12px);
  opacity: 0.11;
}

.atmosphere-terracotta {
  top: -120px;
  right: -40px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, var(--brand-terracotta), transparent 70%);
}

.atmosphere-green {
  top: 22%;
  left: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--brand-green), transparent 70%);
}

.atmosphere-blue {
  bottom: 8%;
  right: 12%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, var(--brand-blue), transparent 72%);
}

.site-shell {
  position: relative;
  z-index: 1;
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 72px;
}

.hero {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 242, 0.94));
  box-shadow: var(--shadow-strong);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(125deg, transparent 0 54%, rgba(197, 58, 6, 0.08) 54% 55%, transparent 55%),
    linear-gradient(180deg, transparent 0 88%, rgba(17, 17, 17, 0.05) 88% 100%);
}

.topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px 18px;
  border-bottom: 1px solid var(--line);
}

.brand-lockup {
  display: grid;
  gap: 4px;
}

.brand-logo {
  display: block;
  width: min(100%, 220px);
  height: auto;
  object-fit: contain;
}

.brand,
.hero h1,
.section-heading h2,
.visual-placeholder h2,
.visual-placeholder h3,
.service-card h3,
.sector-card h3,
.process-list h3,
.differentiator-card h3,
.contact-panel h2,
.value-list h3 {
  font-family: "Syne", sans-serif;
}

.brand {
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.83rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.topbar-links {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}

.topbar-links a {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
  color: var(--muted);
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease;
}

.topbar-links a:hover,
.hero-tags span:hover {
  transform: translateY(-2px);
  border-color: rgba(197, 58, 6, 0.32);
  color: var(--text);
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 28px;
  padding: 34px 28px 30px;
  align-items: start;
}

.hero-copy,
.hero-visual,
.metrics article,
.value-list article,
.visual-placeholder-mosaic,
.service-card,
.sector-card,
.process-list article,
.differentiator-card,
.contact-panel {
  animation: rise-in 700ms ease both;
}

.hero-copy {
  animation-delay: 80ms;
}

.hero-visual {
  animation-delay: 180ms;
}

.eyebrow,
.placeholder-kicker {
  margin: 0 0 14px;
  color: var(--brand-terracotta);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.hero h1 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
}

.lead,
.section-intro,
.service-card p,
.sector-card p,
.process-list p,
.differentiator-card p,
.contact-panel p,
.visual-placeholder p,
.value-list p,
.hero-mini-panels span,
.hero-ledger span,
.metrics span {
  color: var(--muted);
  line-height: 1.72;
}

.lead {
  max-width: 62ch;
  margin: 22px 0 0;
  font-size: 1.05rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-red), var(--accent));
  box-shadow: 0 18px 30px rgba(255, 93, 54, 0.24);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--line);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-tags span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
  color: var(--muted);
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease;
}

.hero-ledger {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.hero-ledger article {
  padding: 18px 18px 16px;
  border-top: 3px solid var(--text);
  background: rgba(255, 255, 255, 0.9);
}

.hero-ledger strong,
.hero-mini-panels strong,
.metrics strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.hero-visual {
  display: grid;
  gap: 14px;
  padding-top: 18px;
}

.visual-placeholder {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
}

.media-frame {
  position: relative;
  overflow: hidden;
}

.visual-media,
.card-image,
.sector-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent),
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.07) 0,
      rgba(255, 255, 255, 0.07) 1px,
      transparent 1px,
      transparent 18px
    );
}

.visual-placeholder-hero,
.visual-placeholder-diagram {
  min-height: 420px;
  color: rgba(255, 255, 255, 0.9);
  background:
    radial-gradient(circle at top left, rgba(22, 198, 26, 0.2), transparent 28%),
    radial-gradient(circle at 85% 18%, rgba(23, 120, 191, 0.22), transparent 25%),
    linear-gradient(145deg, #0f1014 0%, #171920 48%, #1d2732 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.visual-placeholder-hero {
  padding: 0;
  min-height: 440px;
  background: #fff;
  border-color: var(--line);
}

.visual-placeholder-hero::before {
  display: none;
}

.visual-placeholder-hero h2,
.visual-placeholder-diagram h3 {
  margin: 0 0 12px;
  max-width: 12ch;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.visual-placeholder-hero p,
.visual-placeholder-diagram p {
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.72);
}

.visual-overlay {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 18px 18px 16px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(15, 16, 20, 0.2), rgba(15, 16, 20, 0.78));
  backdrop-filter: blur(6px);
}

.visual-overlay h2,
.visual-overlay h3,
.visual-overlay .placeholder-kicker {
  margin-top: 0;
}

.visual-overlay h2,
.visual-overlay h3 {
  margin-bottom: 0;
  color: #fff;
}

.visual-overlay-light {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.92));
}

.visual-overlay-light h3,
.visual-overlay-light .placeholder-kicker {
  color: var(--text);
}

.hero-mini-panels {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.hero-mini-panels article,
.metrics article,
.service-card,
.sector-card,
.process-list article,
.differentiator-card,
.contact-panel,
.value-list article,
.visual-placeholder-mosaic {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.hero-mini-panels article {
  padding: 18px;
  border-radius: 22px;
}

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

.metrics article {
  position: relative;
  padding: 24px;
  border-radius: 24px;
  overflow: hidden;
}

.metrics article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 72px;
  height: 6px;
  background: linear-gradient(90deg, var(--brand-terracotta), var(--brand-red));
}

.metrics article:nth-child(2)::before {
  background: linear-gradient(90deg, var(--brand-green), var(--brand-blue));
}

.metrics article:nth-child(3)::before {
  background: linear-gradient(90deg, var(--brand-yellow), var(--brand-terracotta));
}

.metrics strong {
  font-size: 1.44rem;
  text-transform: uppercase;
}

.section {
  padding-top: 88px;
}

.section-heading {
  max-width: 840px;
  margin-bottom: 30px;
}

.section-heading h2,
.contact-panel h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.9rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.section-intro {
  max-width: 62ch;
  margin: 18px 0 0;
}

.value-grid,
.method-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.88fr);
  gap: 22px;
  align-items: stretch;
}

.value-list {
  display: grid;
  gap: 16px;
}

.value-list article {
  padding: 24px;
  border-radius: 24px;
}

.value-list article:nth-child(1) {
  border-left: 5px solid var(--brand-terracotta);
}

.value-list article:nth-child(2) {
  border-left: 5px solid var(--brand-blue);
}

.value-list article:nth-child(3) {
  border-left: 5px solid var(--brand-green);
}

.value-list h3 {
  margin: 0 0 10px;
  font-size: 1.26rem;
}

.visual-placeholder-mosaic {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  padding: 0;
  border-radius: 28px;
  background:
    radial-gradient(circle at 14% 22%, rgba(255, 23, 23, 0.08), transparent 18%),
    radial-gradient(circle at 88% 78%, rgba(23, 120, 191, 0.12), transparent 22%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(255, 247, 242, 0.95));
}

.visual-placeholder-mosaic::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px dashed rgba(17, 17, 17, 0.12);
  border-radius: 22px;
}

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

.service-card,
.differentiator-card,
.sector-card {
  position: relative;
  padding: 22px;
  border-radius: 26px;
  overflow: hidden;
}

.service-card::after,
.differentiator-card::after,
.sector-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(17, 17, 17, 0), rgba(17, 17, 17, 0.08), rgba(17, 17, 17, 0));
}

.card-visual,
.sector-visual {
  display: grid;
  place-items: center;
  min-height: 172px;
  margin-bottom: 18px;
  border: 1px dashed rgba(17, 17, 17, 0.16);
  border-radius: 20px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 1), rgba(255, 247, 242, 0.95));
}

.card-visual {
  padding: 0;
  border-style: solid;
}

.sector-visual {
  min-height: 152px;
  padding: 0;
  border-style: solid;
}

.sector-visual-empty {
  display: grid;
  place-items: center;
  padding: 20px;
  color: var(--brand-terracotta);
  background:
    linear-gradient(145deg, rgba(255, 250, 245, 1), rgba(255, 244, 236, 0.95));
}

.service-card:nth-child(1) .card-visual,
.sector-card:nth-child(1) .sector-visual {
  color: var(--brand-terracotta);
}

.service-card:nth-child(2) .card-visual,
.sector-card:nth-child(2) .sector-visual {
  color: #109b14;
  background:
    linear-gradient(145deg, rgba(241, 255, 241, 1), rgba(228, 251, 229, 0.92));
}

.service-card:nth-child(3) .card-visual,
.sector-card:nth-child(3) .sector-visual {
  color: #16669f;
  background:
    linear-gradient(145deg, rgba(242, 249, 255, 1), rgba(226, 238, 252, 0.92));
}

.service-card:nth-child(4) .card-visual,
.sector-card:nth-child(4) .sector-visual,
.sector-card:nth-child(5) .sector-visual {
  color: #b67600;
  background:
    linear-gradient(145deg, rgba(255, 252, 240, 1), rgba(255, 243, 208, 0.94));
}

.service-card h3,
.sector-card h3,
.process-list h3,
.differentiator-card h3 {
  margin: 0 0 12px;
  font-size: 1.38rem;
  line-height: 1;
}

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

.sector-card {
  display: flex;
  flex-direction: column;
}

.sector-visual {
  min-height: 138px;
}

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

.process-list article {
  padding: 22px;
  border-radius: 24px;
}

.process-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-yellow), #ffe6a3);
  color: var(--brand-terracotta);
  font-weight: 800;
}

.differentiators-grid {
  margin-top: 10px;
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px;
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 246, 241, 0.95));
}

.contact-actions {
  align-items: flex-start;
  margin-top: 0;
}

.contact-link {
  font-weight: 700;
  color: var(--brand-terracotta);
  transition: transform 180ms ease;
}

.modal-shell {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.modal-shell.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 13, 18, 0.64);
  backdrop-filter: blur(10px);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(90vh, 980px);
  overflow: auto;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 241, 0.96));
  box-shadow: var(--shadow-strong);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1;
}

.modal-copy {
  max-width: 60ch;
  margin-bottom: 24px;
}

.modal-copy h2,
.modal-success h2 {
  margin: 0;
  font-family: "Syne", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.modal-description,
.modal-success p,
.form-helper,
.form-status,
.modal-note {
  color: var(--muted);
  line-height: 1.68;
}

.modal-description {
  margin: 14px 0 0;
}

.modal-note {
  margin: 12px 0 0;
  font-size: 0.92rem;
}

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

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

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

.field span {
  font-size: 0.92rem;
  font-weight: 700;
}

.field input {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.field select {
  width: 100%;
  min-height: 52px;
  padding: 0 44px 0 14px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 16px;
  background:
    linear-gradient(45deg, transparent 50%, var(--brand-terracotta) 50%),
    linear-gradient(135deg, var(--brand-terracotta) 50%, transparent 50%),
    linear-gradient(to right, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92));
  background-position:
    calc(100% - 22px) calc(50% - 3px),
    calc(100% - 16px) calc(50% - 3px),
    0 0;
  background-size: 6px 6px, 6px 6px, 100% 100%;
  background-repeat: no-repeat;
  color: var(--text);
  appearance: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: rgba(197, 58, 6, 0.5);
  box-shadow: 0 0 0 4px rgba(197, 58, 6, 0.08);
}

.form-helper,
.form-status {
  margin: 0;
  font-size: 0.94rem;
}

.form-status {
  min-height: 1.4em;
  color: var(--brand-terracotta);
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.modal-success {
  display: grid;
  gap: 14px;
}

.modal-success[hidden],
.lead-form[hidden] {
  display: none !important;
}

.modal-success .button {
  justify-self: start;
}

.webhook-frame {
  position: absolute;
  width: 0;
  height: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

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

@media (max-width: 1120px) {
  .sectors-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .hero-content,
  .value-grid,
  .method-layout,
  .solutions-grid,
  .differentiators-grid,
  .metrics,
  .process-list,
  .hero-ledger {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero h1,
  .visual-placeholder-hero h2,
  .visual-placeholder-diagram h3,
  .section-heading h2,
  .contact-panel h2 {
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  body {
    background-size: 48px 48px, 48px 48px, 100% 100%;
  }

  .site-shell {
    width: min(100% - 20px, 1320px);
    padding-top: 12px;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 20px 16px;
  }

  .brand-logo {
    width: min(100%, 280px);
  }

  .topbar-links {
    flex-wrap: wrap;
  }

  .topbar-links {
    justify-content: flex-start;
  }

  .hero-content {
    padding: 24px 20px 24px;
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.15rem, 10.5vw, 3.35rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
  }

  .section-heading h2,
  .contact-panel h2 {
    font-size: clamp(1.8rem, 8vw, 2.6rem);
    line-height: 1.02;
  }

  .visual-placeholder-hero h2,
  .visual-placeholder-diagram h3 {
    font-size: clamp(1.55rem, 7vw, 2.2rem);
    line-height: 1.04;
  }

  .section {
    padding-top: 60px;
  }

  .visual-placeholder-hero,
  .visual-placeholder-diagram {
    min-height: 300px;
  }

  .hero-mini-panels,
  .sectors-grid {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    padding: 24px;
  }

  .modal-card {
    padding: 22px 18px;
    border-radius: 24px;
  }

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