/* ERP Development page — 01 Hero */

@keyframes cw-erp-development-hero-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.cw-erp-development-hero {
  background:
    radial-gradient(700px 500px at 82% 40%, rgba(212, 245, 60, 0.09), transparent 70%),
    #141210;
  color: #f3efe7;
  font-family: 'Inter', system-ui, sans-serif;
  width: 100%;
  padding: clamp(48px, 6vw, 84px) clamp(20px, 4vw, 40px);
  box-sizing: border-box;
}

.cw-erp-development-hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
}

.cw-erp-development-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}

.cw-erp-development-hero__eyebrow {
  margin: 0;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #d4f53c;
}

.cw-erp-development-hero__title {
  margin: 0;
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(46px, 6vw, 92px);
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.cw-erp-development-hero__title-em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: #d4f53c;
  letter-spacing: -0.02em;
}

.cw-erp-development-hero__lead {
  margin: 0;
  max-width: 540px;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(243, 239, 231, 0.8);
}

.cw-erp-development-hero__lead--muted {
  font-size: 15px;
  color: rgba(243, 239, 231, 0.62);
}

.cw-erp-development-hero__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cw-erp-development-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cw-erp-development-hero__btn--primary {
  background: #d4f53c;
  color: #141210;
  font-weight: 700;
}

.cw-erp-development-hero__btn--primary:hover,
.cw-erp-development-hero__btn--primary:focus-visible {
  background: #fff;
  color: #141210;
}

.cw-erp-development-hero__btn--secondary {
  border: 1px solid rgba(243, 239, 231, 0.3);
  color: #f3efe7;
}

.cw-erp-development-hero__btn--secondary:hover,
.cw-erp-development-hero__btn--secondary:focus-visible {
  border-color: #d4f53c;
}

.cw-erp-development-hero__widget {
  background: #1e1b18;
  border: 1px solid rgba(243, 239, 231, 0.08);
  border-radius: 28px;
  padding: 18px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.7);
  min-width: 0;
}

.cw-erp-development-hero__widget-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 2px 4px 14px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #a39c90;
}

.cw-erp-development-hero__order-btn {
  border: none;
  background: #d4f53c;
  color: #141210;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease;
}

.cw-erp-development-hero__order-btn:hover,
.cw-erp-development-hero__order-btn:focus-visible {
  background: #fff;
}

.cw-erp-development-hero__order-btn:disabled {
  cursor: default;
  opacity: 0.95;
}

.cw-erp-development-hero__flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.cw-erp-development-hero__flow-card {
  position: relative;
  text-align: left;
  border-radius: 16px;
  padding: 12px;
  min-height: 118px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  font: inherit;
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}

.cw-erp-development-hero__flow-card:focus-visible {
  outline: 2px solid #d4f53c;
  outline-offset: 2px;
}

.cw-erp-development-hero__flow-card--idle {
  background: #1e1b18;
  color: #f3efe7;
  border: 1.5px solid rgba(243, 239, 231, 0.1);
}

.cw-erp-development-hero__flow-card--active {
  background: #d4f53c;
  color: #141210;
  border: 1.5px solid #d4f53c;
}

.cw-erp-development-hero__flow-card--done {
  background: #2a2622;
  color: #f3efe7;
  border: 1.5px solid rgba(212, 245, 60, 0.35);
}

.cw-erp-development-hero__flow-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cw-erp-development-hero__flow-no {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  opacity: 0.75;
}

.cw-erp-development-hero__flow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3a3530;
}

.cw-erp-development-hero__flow-card--active .cw-erp-development-hero__flow-dot {
  background: #141210;
}

.cw-erp-development-hero__flow-card--done .cw-erp-development-hero__flow-dot {
  background: #d4f53c;
}

.cw-erp-development-hero__flow-name {
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(14px, 1.3vw, 17px);
  line-height: 1.1;
}

.cw-erp-development-hero__flow-sub {
  margin-top: 4px;
  font-size: 11.5px;
  line-height: 1.35;
  opacity: 0.8;
}

.cw-erp-development-hero__kpis {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.cw-erp-development-hero__kpi {
  background: #2a2622;
  border-radius: 12px;
  padding: 9px 10px;
  min-width: 0;
}

.cw-erp-development-hero__kpi-label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  color: #a39c90;
}

.cw-erp-development-hero__kpi-value {
  margin-top: 3px;
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(15px, 1.5vw, 19px);
}

.cw-erp-development-hero__ledger-wrap {
  margin-top: 10px;
  background: #141210;
  border-radius: 14px;
  padding: 12px;
  min-height: 128px;
}

.cw-erp-development-hero__ledger-label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #a39c90;
  margin-bottom: 6px;
}

.cw-erp-development-hero__ledger {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cw-erp-development-hero__ledger-row {
  display: flex;
  gap: 10px;
  font-size: 12px;
  line-height: 1.5;
  padding: 2px 0;
  animation: cw-erp-development-hero-in 0.3s ease both;
}

.cw-erp-development-hero__ledger-tag {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  flex: none;
  width: 62px;
}

.cw-erp-development-hero__ledger-text {
  color: #e4ddd0;
}

@media (max-width: 640px) {
  .cw-erp-development-hero__flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cw-erp-development-hero__kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .cw-erp-development-hero__flow-card,
  .cw-erp-development-hero__ledger-row {
    transition: none;
    animation: none;
  }
}
