:root {
  color-scheme: dark;
  --bg: #08090b;
  --panel: #101217;
  --panel-2: #151820;
  --text: #f5f7fb;
  --muted: #aeb6c6;
  --soft: #d8dde8;
  --line: rgba(255,255,255,.11);
  --red: #e03131;
  --red-2: #ff5a4f;
  --green: #2fbf71;
  --yellow: #e5b93b;
  --blue: #45a3ff;
  --shadow: 0 20px 70px rgba(0,0,0,.28);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(8,9,11,.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav {
  max-width: 1180px;
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: .02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--red);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset;
}

.brand-mark svg {
  width: 20px;
  height: 20px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a:hover {
  color: var(--text);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.language-switcher span {
  color: rgba(255,255,255,.32);
}

.language-switcher a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 2px;
}

.language-switcher a.is-current {
  color: var(--text);
  border-bottom: 2px solid var(--red-2);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  border-radius: 6px;
}

.nav-cta, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 750;
  font-size: 14px;
  cursor: pointer;
}

.nav-cta, .button.primary {
  background: var(--red);
  color: white;
  box-shadow: 0 10px 28px rgba(224,49,49,.26);
}

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

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

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,9,11,.94), rgba(8,9,11,.78) 48%, rgba(8,9,11,.92)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1400' height='900' viewBox='0 0 1400 900'%3E%3Crect width='1400' height='900' fill='%23111418'/%3E%3Cg opacity='.36'%3E%3Cpath d='M0 680h1400' stroke='%23ffffff' stroke-opacity='.16'/%3E%3Cpath d='M150 90v670M360 120v640M620 60v700M910 90v670M1190 130v630' stroke='%23ffffff' stroke-opacity='.08'/%3E%3Crect x='118' y='166' width='270' height='128' rx='10' fill='%23212631'/%3E%3Crect x='472' y='126' width='214' height='176' rx='10' fill='%231b2029'/%3E%3Crect x='778' y='178' width='286' height='118' rx='10' fill='%23252b36'/%3E%3Crect x='1034' y='86' width='246' height='220' rx='10' fill='%231a1f28'/%3E%3Crect x='90' y='392' width='320' height='156' rx='10' fill='%23171c24'/%3E%3Crect x='510' y='390' width='340' height='158' rx='10' fill='%23272c36'/%3E%3Crect x='954' y='384' width='300' height='166' rx='10' fill='%23181d26'/%3E%3Cpath d='M150 680c110-95 215-142 315-142 150 0 223 96 358 96 156 0 235-130 393-130 74 0 135 24 184 72v104H150Z' fill='%23e03131' fill-opacity='.34'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}

.hero-inner {
  position: relative;
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: 68px 0 58px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, .62fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--soft);
  background: rgba(255,255,255,.07);
  border: 1px solid var(--line);
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

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

h1 {
  font-size: clamp(44px, 7vw, 84px);
  line-height: .94;
  letter-spacing: 0;
  max-width: 820px;
  margin: 24px 0 22px;
}

h2 {
  font-size: clamp(32px, 4.2vw, 58px);
  line-height: 1;
  letter-spacing: 0;
  margin-bottom: 16px;
}

h3 {
  font-size: 19px;
  line-height: 1.2;
  margin-bottom: 9px;
}

.lead {
  color: var(--soft);
  font-size: clamp(18px, 2.1vw, 22px);
  max-width: 720px;
}

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

.hero-proof {
  color: var(--muted);
  font-size: 14px;
  margin-top: 18px;
}

.hero-panel {
  background: rgba(16,18,23,.88);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 800;
  margin-bottom: 18px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(47,191,113,.14);
}

.lead-alert {
  display: grid;
  gap: 10px;
  color: var(--soft);
  font-size: 14px;
}

.lead-alert div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.lead-alert strong {
  color: var(--text);
}

.section {
  padding: 82px 22px;
  border-bottom: 1px solid var(--line);
}

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

.section-kicker {
  color: var(--red-2);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-copy {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.grid {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  min-height: 150px;
}

.card p, .step p, .map-item p {
  color: var(--muted);
  margin-bottom: 0;
}

.icon {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: rgba(224,49,49,.14);
  color: var(--red-2);
  margin-bottom: 16px;
}

.icon svg {
  width: 19px;
  height: 19px;
}

.band {
  background: #0d0f14;
}

.flow {
  display: grid;
  grid-template-columns: repeat(9, minmax(92px, 1fr));
  gap: 8px;
  margin-top: 34px;
}

.flow span {
  min-height: 58px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 8px;
  border-radius: 6px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--soft);
  font-size: 13px;
  font-weight: 750;
}

.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.step {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  font-weight: 850;
  margin-bottom: 18px;
}

.assessment {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(340px, .7fr);
  gap: 36px;
  align-items: start;
}

.form-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

form {
  display: grid;
  gap: 12px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 700;
}

input, select, textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255,255,255,.045);
  color: var(--text);
  padding: 10px 12px;
  font: inherit;
}

select option {
  color: #111;
}

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

.form-note {
  color: var(--muted);
  font-size: 13px;
  margin: 2px 0 0;
}

.map {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.map-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--panel);
}

.map-item strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.signal {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.signal.green { background: var(--green); }
.signal.yellow { background: var(--yellow); }
.signal.red { background: var(--red); }

.split {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

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

.list li {
  padding-left: 26px;
  position: relative;
  color: var(--soft);
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red-2);
}

.faq {
  margin-top: 28px;
  display: grid;
  gap: 10px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 16px 18px;
}

summary {
  cursor: pointer;
  font-weight: 800;
}

details p {
  color: var(--muted);
  margin: 12px 0 0;
}

.site-footer {
  padding: 34px 22px;
  color: var(--muted);
}

.footer-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.mini {
  font-size: 13px;
  color: var(--muted);
}

.page-hero {
  padding: 72px 22px 48px;
  border-bottom: 1px solid var(--line);
  background: #0d0f14;
}

.page-hero-inner {
  width: min(1040px, 100%);
  margin: 0 auto;
}

.page-hero h1 {
  max-width: 980px;
}

.industries-hero {
  padding: 92px 22px 66px;
  background:
    linear-gradient(135deg, rgba(8,9,11,.96), rgba(13,15,20,.9)),
    radial-gradient(circle at 80% 20%, rgba(224,49,49,.18), transparent 34%);
}

.industries-hero-inner {
  position: relative;
}

.industries-hero-inner::after {
  display: none;
}

.industries-hero h1,
.industries-hero .lead,
.industry-positioning {
  position: relative;
  z-index: 1;
}

.industry-positioning {
  max-width: 760px;
  margin-top: 24px;
  padding: 16px 18px;
  border-left: 3px solid var(--red);
  background: rgba(255,255,255,.045);
  color: var(--soft);
  font-weight: 750;
}

.industries-section {
  background: #090a0d;
}

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

.industry-card {
  min-height: 470px;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018)),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
}

.industry-card-top {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}

.industry-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(224,49,49,.13);
  border: 1px solid rgba(255,90,79,.22);
  color: var(--red-2);
}

.industry-icon svg {
  width: 25px;
  height: 25px;
  max-width: 25px;
  max-height: 25px;
  flex: 0 0 25px;
}

.industry-card h2 {
  font-size: 26px;
  line-height: 1.08;
  margin: 0;
}

.industry-description {
  color: var(--soft);
  font-size: 16px;
  margin-bottom: 20px;
}

.industry-meta,
.industry-usecases {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 4px;
}

.industry-meta span,
.industry-usecases span {
  display: block;
  color: var(--red-2);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 8px;
}

.industry-meta p {
  color: var(--muted);
  margin-bottom: 0;
}

.industry-usecases ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.industry-usecases li {
  position: relative;
  min-height: 42px;
  padding: 10px 10px 10px 28px;
  border-radius: 6px;
  background: rgba(255,255,255,.04);
  color: var(--soft);
  font-size: 14px;
}

.industry-usecases li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 18px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red-2);
}

.industry-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  margin-top: auto;
  padding-top: 22px;
  color: var(--text);
  font-weight: 850;
}

.industry-cta::after {
  content: "→";
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: white;
}

.why-rubro-section {
  background:
    linear-gradient(180deg, #0d0f14, #090a0d);
}

.why-rubro-inner {
  display: grid;
  grid-template-columns: minmax(0, .98fr) minmax(340px, .72fr);
  gap: 44px;
  align-items: center;
}

.why-rubro-inner .section-copy {
  display: grid;
  gap: 14px;
}

.why-rubro-inner .section-copy p {
  margin: 0;
}

.industry-closing-line {
  margin: 26px 0 0;
  color: var(--text);
  font-size: 22px;
  font-weight: 850;
  line-height: 1.2;
}

.rubroroute {
  display: grid;
  gap: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.052), rgba(255,255,255,.022)),
    var(--panel);
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
}

.rubroroute-step {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 68px;
  padding: 14px;
  text-align: center;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  background: rgba(255,255,255,.04);
  color: var(--text);
  font-size: 15px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.rubroroute-step + .rubroroute-step {
  margin-top: 34px;
}

.rubroroute-step + .rubroroute-step::before {
  content: "↓";
  position: absolute;
  top: -31px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--red-2);
  font-size: 22px;
  line-height: 1;
}

.capabilities-section {
  background: #08090b;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
}

.capability-grid li {
  min-height: 74px;
  display: flex;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.04);
  color: var(--soft);
  font-weight: 800;
}

.capability-grid li::before {
  content: "";
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin-right: 12px;
  border-radius: 50%;
  background: var(--red-2);
  box-shadow: 0 0 0 5px rgba(224,49,49,.12);
}

.industries-final-cta {
  background:
    linear-gradient(135deg, rgba(224,49,49,.16), transparent 42%),
    #0d0f14;
}

.industries-final-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
}

.industries-final-cta h2 {
  max-width: 780px;
  margin-bottom: 14px;
}

.industries-final-cta p {
  max-width: 820px;
  margin: 0;
  color: var(--soft);
  font-size: 18px;
}

.industries-final-cta .section-actions {
  justify-content: flex-end;
  margin-top: 0;
}

@media (max-width: 1020px) {
  .hero-inner, .assessment, .split, .why-rubro-inner, .industries-final-cta-inner {
    grid-template-columns: 1fr;
  }

  .grid.cols-3, .grid.cols-4, .steps, .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .industries-hero-inner::after {
    display: none;
  }

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

  .industries-final-cta .section-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 780px) {
  .nav {
    min-height: 64px;
  }

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

  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 64px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 22px 20px;
    background: rgba(8,9,11,.98);
    border-bottom: 1px solid var(--line);
  }

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

  .nav-links a {
    padding: 12px 0;
  }

  .language-switcher {
    width: 100%;
    padding-top: 6px;
  }

  .language-switcher a {
    padding: 8px 0;
  }

  .nav-cta {
    margin-top: 8px;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    width: min(100% - 32px, 1180px);
    padding: 48px 0 42px;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 34px;
  }

  .section {
    padding: 58px 16px;
  }

  .grid.cols-2, .grid.cols-3, .grid.cols-4, .steps, .capability-grid {
    grid-template-columns: 1fr;
  }

  .industries-hero {
    padding: 58px 16px 44px;
  }

  .industry-card {
    min-height: auto;
    padding: 22px;
  }

  .industry-card-top {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 13px;
  }

  .industry-icon {
    width: 42px;
    height: 42px;
  }

  .industry-card h2 {
    font-size: 23px;
  }

  .industry-usecases ul {
    grid-template-columns: 1fr;
  }

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

  .rubroroute {
    padding: 18px;
  }

  .rubroroute-step {
    font-size: 13px;
  }

  .industries-final-cta .section-actions {
    align-items: stretch;
  }

  .industries-final-cta .button {
    width: 100%;
  }
}
