:root {
  --bg: #05070a;
  --surface: rgba(9, 13, 18, 0.84);
  --surface-strong: rgba(12, 17, 22, 0.94);
  --navy: #07192d;
  --navy-soft: #0b2744;
  --line: rgba(170, 197, 230, 0.16);
  --line-strong: rgba(185, 255, 61, 0.28);
  --text: #edf3f8;
  --muted: #9dadbf;
  --lime: #b8ff45;
  --cyan: #64d8ff;
  --gold: #d9bd72;
  --danger: #df6b7c;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.32);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at 20% 8%, rgba(17, 64, 112, 0.34), transparent 28%),
    linear-gradient(145deg, #030508 0%, #071320 44%, #030508 100%);
}

body.is-menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
p, h1, h2, h3, h4 { margin: 0; }

.noise-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(255,255,255,0.68), transparent 82%);
}

.mobile-topbar {
  display: none;
  position: sticky;
  top: 0;
  z-index: 60;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 7, 10, 0.92);
  backdrop-filter: blur(18px);
}

.mobile-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.mobile-brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 9px;
}

.icon-button {
  min-width: 58px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
}

.portfolio-shell {
  display: grid;
  grid-template-columns: 286px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-right: 1px solid var(--line);
  background: rgba(4, 9, 16, 0.96);
  backdrop-filter: blur(20px);
}

.brand {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #030303;
}

.brand-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 8px;
  background: #030303;
}

.brand strong,
.brand small {
  display: block;
}

.brand small,
.sidebar-status small,
.section-heading p,
.hero-copy p,
.release-section p,
.contact-copy p,
.solution-card p,
.project-card p,
.order-card p,
.fiscal-card p,
.chart-footer,
.flow-step p {
  color: var(--muted);
  line-height: 1.64;
}

.side-nav {
  display: grid;
  gap: 6px;
}

.nav-link {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  min-height: 43px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #a7b4c2;
  font-size: 0.94rem;
  transition: 180ms ease;
}

.nav-link span,
.eyebrow,
.metric-card span,
.card-top span,
.dashboard-top span,
.console-header strong,
.console-line,
.dpa-row span {
  font-family: Consolas, "Courier New", monospace;
}

.nav-link span {
  color: var(--cyan);
  font-size: 0.75rem;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--text);
  border-color: rgba(185, 255, 61, 0.18);
  background: rgba(18, 50, 82, 0.56);
}

.sidebar-status {
  margin-top: auto;
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  gap: 12px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.pulse-dot {
  width: 10px;
  height: 10px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(185, 255, 61, 0.54);
  animation: pulse 1.9s infinite;
}

.main-content {
  width: min(100%, 1420px);
  padding: 26px;
  display: grid;
  gap: 24px;
}

.section-panel,
.metric-card,
.solution-card,
.dashboard-card,
.fiscal-card,
.project-card,
.dre-simulator,
.automation-stage {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  gap: 26px;
  align-items: stretch;
  min-height: 560px;
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(11, 39, 68, 0.95), rgba(5, 10, 17, 0.92));
}

.hero-copy {
  display: grid;
  align-content: center;
  gap: 18px;
}

.eyebrow {
  color: var(--lime);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.68rem;
  font-weight: 800;
}

.hero-copy h1,
.section-heading h2,
.release-section h2,
.contact-copy h2 {
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero-copy h1 {
  max-width: 780px;
  font-size: clamp(1.95rem, 2.7vw, 3.45rem);
  font-weight: 760;
}

.hero-copy p {
  max-width: 680px;
  font-size: 1rem;
}

.button-row,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.primary-button,
.secondary-button,
.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 760;
  transition: 180ms ease;
}

.primary-button {
  color: #07101a;
  background: var(--lime);
}

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

.primary-button:hover,
.secondary-button:hover,
.contact-button:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
}

.hero-dashboard {
  padding: 20px;
  display: grid;
  gap: 16px;
  align-content: stretch;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(3, 9, 16, 0.56);
}

.dashboard-top,
.card-top,
.console-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dashboard-top span,
.card-top span,
.metric-card span {
  color: var(--cyan);
  font-size: 0.78rem;
}

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

.hero-kpi,
.allocation-card {
  padding: 14px;
  border: 1px solid rgba(170, 197, 230, 0.13);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.hero-kpi strong {
  display: block;
  margin: 8px 0 4px;
  color: var(--lime);
  font-size: 1.25rem;
}

.hero-kpi small,
.allocation-card small {
  color: var(--muted);
}

.allocation-visual {
  min-height: 116px;
  display: grid;
  grid-template-columns: 1fr 70px 1fr;
  align-items: center;
  gap: 12px;
}

.allocation-card strong {
  display: block;
  margin-top: 7px;
}

.allocation-card.accent {
  border-color: rgba(185, 255, 61, 0.24);
  background: rgba(185, 255, 61, 0.06);
}

.allocation-line {
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--lime));
}

.hero-chart,
.bar-chart {
  display: grid;
  grid-template-columns: repeat(var(--count, 6), minmax(0, 1fr));
  gap: 10px;
  align-items: end;
}

.hero-chart {
  min-height: 180px;
}

.bar-chart {
  min-height: 132px;
}

.hero-chart span,
.bar-chart span {
  height: var(--h);
  min-height: 26px;
  border-radius: 10px 10px 4px 4px;
  background: linear-gradient(180deg, var(--lime), var(--cyan));
  transform-origin: bottom;
  animation: rise 700ms ease both;
}

.release-section {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 28px;
}

.release-section h2 {
  margin-top: 8px;
  font-size: clamp(1.5rem, 2.1vw, 2.25rem);
}

.release-section p {
  max-width: 920px;
  font-size: 1rem;
}

.release-copy {
  display: grid;
  gap: 14px;
}

.release-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 4px 0;
}

.release-columns > div {
  padding: 16px;
  border: 1px solid rgba(170, 197, 230, 0.13);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.032);
}

.release-columns h3 {
  margin: 0 0 10px;
  color: var(--cyan);
  font-size: 0.92rem;
}

.release-columns ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.58;
  font-size: 0.9rem;
}

.release-columns li + li {
  margin-top: 3px;
}

.metric-strip,
.solution-grid,
.dashboard-grid,
.production-grid,
.orders-grid,
.fiscal-grid,
.project-grid,
.dpa-board {
  display: grid;
  gap: 14px;
}

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

.metric-card,
.solution-card,
.dashboard-card,
.production-card,
.fiscal-card,
.project-card,
.order-card {
  padding: 20px;
  transition: 180ms ease;
}

.metric-card:hover,
.solution-card:hover,
.dashboard-card:hover,
.production-card:hover,
.fiscal-card:hover,
.project-card:hover,
.order-card:hover {
  transform: translateY(-3px);
  border-color: rgba(185, 255, 61, 0.22);
  background: var(--surface-strong);
}

.metric-card strong {
  display: block;
  margin: 10px 0 5px;
  font-size: 1.55rem;
}

.content-section {
  display: grid;
  gap: 18px;
  scroll-margin-top: 30px;
}

.section-heading {
  display: grid;
  gap: 10px;
  max-width: 900px;
}

.section-heading h2,
.contact-copy h2 {
  font-size: clamp(1.38rem, 1.9vw, 2.15rem);
}

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

.solution-card {
  min-height: 205px;
  display: grid;
  align-content: start;
  gap: 12px;
}

.solution-card h3,
.dashboard-card h3,
.production-card h3,
.order-card h3,
.project-card h3,
.fiscal-card h3 {
  font-size: 1.05rem;
}

.solution-tag,
.project-tag {
  width: fit-content;
  padding: 6px 9px;
  border: 1px solid rgba(185, 255, 61, 0.24);
  border-radius: 999px;
  color: var(--lime);
  background: rgba(185, 255, 61, 0.06);
  font-size: 0.72rem;
  font-weight: 760;
}

.solution-impact {
  margin-top: auto;
  color: var(--cyan);
  font-size: 0.85rem;
}

.dpa-section {
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(520px, 1.24fr);
  gap: 22px;
  align-items: center;
  background: linear-gradient(135deg, rgba(11, 39, 68, 0.7), rgba(5, 10, 17, 0.82));
}

.dpa-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.75fr 0.85fr 1fr;
  gap: 10px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(170, 197, 230, 0.13);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.dpa-row span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.72rem;
}

.dpa-row strong {
  font-size: 0.92rem;
}

.dpa-suggestion strong {
  color: var(--lime);
}

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

.dashboard-card {
  min-height: 270px;
  display: grid;
  gap: 14px;
  grid-column: span 4;
}

.dashboard-card:nth-child(1),
.dashboard-card:nth-child(2),
.dashboard-card:nth-child(4) {
  grid-column: span 6;
}

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

.production-card {
  min-height: 250px;
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.dashboard-value {
  color: var(--gold);
  font-size: 1rem;
}

.line-chart {
  position: relative;
  min-height: 142px;
  border-radius: 14px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 100% 32px, 52px 100%;
}

.line-chart::before {
  content: "";
  position: absolute;
  inset: 18px;
  background: linear-gradient(90deg, rgba(100,216,255,0.08), rgba(185,255,69,0.2));
  clip-path: polygon(0 74%, 18% 58%, 34% 64%, 52% 42%, 72% 48%, 100% 24%, 100% 100%, 0 100%);
}

.line-point {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--lime);
}

.matrix-table,
.ranking-list {
  display: grid;
  gap: 8px;
}

.matrix-row,
.ranking-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
  border: 1px solid rgba(170, 197, 230, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.032);
  font-size: 0.88rem;
}

.ranking-row strong {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #07101a;
  background: var(--lime);
}

.donut-chart {
  width: 154px;
  height: 154px;
  margin: auto;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #071426 0 38%, transparent 39%),
    conic-gradient(var(--lime) 0 42%, var(--cyan) 42% 72%, var(--gold) 72% 88%, var(--danger) 88% 100%);
}

.split-section {
  grid-template-columns: minmax(0, 0.76fr) minmax(460px, 1.24fr);
  align-items: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(7, 20, 37, 0.62), rgba(5, 13, 24, 0.72));
}

.dre-simulator {
  display: grid;
  gap: 18px;
  padding: 20px;
  background: rgba(3, 9, 16, 0.62);
}

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

.dre-results div {
  padding: 14px;
  border: 1px solid rgba(170, 197, 230, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.dre-results span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.78rem;
}

.dre-results strong {
  font-size: 1.2rem;
}

.dre-controls {
  display: grid;
  gap: 14px;
}

.dre-controls label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.dre-controls label strong {
  color: var(--lime);
  font-size: 0.9rem;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--lime);
}

.dre-table-wrap,
.price-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(170, 197, 230, 0.12);
  border-radius: 12px;
}

.dre-table,
.price-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.dre-table th,
.dre-table td,
.price-table th,
.price-table td {
  padding: 11px 12px;
  border-bottom: 1px solid rgba(170, 197, 230, 0.1);
  text-align: right;
  font-size: 0.88rem;
}

.dre-table th:first-child,
.dre-table td:first-child,
.price-table th:first-child,
.price-table td:first-child {
  text-align: left;
}

.dre-table th,
.price-table th {
  color: var(--cyan);
  background: rgba(255, 255, 255, 0.035);
}

.dre-table tr:last-child td,
.price-table tr:last-child td {
  border-bottom: 0;
}

.dre-table tr:last-child td {
  color: var(--lime);
  font-weight: 800;
}

.dre-table .is-negative td:nth-child(3) {
  color: #f2b3bd;
}

.whatsapp-section {
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(520px, 1.25fr);
  gap: 22px;
  align-items: center;
  background: linear-gradient(135deg, rgba(7, 20, 37, 0.72), rgba(5, 10, 17, 0.9));
}

.whatsapp-showcase {
  display: grid;
  grid-template-columns: minmax(220px, 0.82fr) minmax(280px, 1fr);
  gap: 18px;
  align-items: stretch;
}

.robot-gif {
  position: relative;
  min-height: 300px;
  border: 1px solid rgba(170, 197, 230, 0.14);
  border-radius: 18px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px),
    #05080d;
  background-size: 36px 36px;
}

.robot-core {
  position: absolute;
  left: 38px;
  top: 72px;
  width: 112px;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 28px;
  background: linear-gradient(145deg, #f5f7fb, #aab2c3);
  box-shadow: 0 18px 42px rgba(0,0,0,0.38);
  animation: robotFloat 2.4s ease-in-out infinite;
}

.robot-core::before {
  content: "";
  position: absolute;
  top: -26px;
  width: 2px;
  height: 24px;
  background: #cbd4df;
}

.robot-core::after {
  content: "";
  position: absolute;
  top: -34px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 18px rgba(185, 255, 61, 0.72);
}

.robot-eye {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #07101a;
  box-shadow: inset 0 0 0 5px var(--cyan);
}

.robot-status {
  position: absolute;
  left: 50%;
  bottom: 14px;
  width: 38px;
  height: 5px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: var(--lime);
}

.robot-body {
  position: absolute;
  left: 62px;
  top: 166px;
  width: 64px;
  height: 78px;
  border-radius: 22px;
  background: linear-gradient(145deg, #cfd6e2, #717d8f);
  animation: robotFloat 2.4s ease-in-out infinite;
}

.send-orbit {
  position: absolute;
  left: 164px;
  width: 96px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(185, 255, 61, 0.28);
  background: rgba(21, 180, 92, 0.18);
  animation: sendCard 2.4s linear infinite;
}

.send-orbit::before,
.send-orbit::after {
  content: "";
  position: absolute;
  left: 14px;
  height: 4px;
  border-radius: 999px;
  background: rgba(237, 243, 248, 0.7);
}

.send-orbit::before { top: 13px; width: 52px; }
.send-orbit::after { top: 24px; width: 34px; }
.orbit-a { top: 72px; animation-delay: 0s; }
.orbit-b { top: 132px; animation-delay: 0.55s; }
.orbit-c { top: 192px; animation-delay: 1.1s; }

.contact-dot {
  position: absolute;
  right: 34px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--lime), var(--cyan));
  animation: receivePulse 2.4s ease infinite;
}

.dot-a { top: 78px; }
.dot-b { top: 138px; animation-delay: 0.55s; }
.dot-c { top: 198px; animation-delay: 1.1s; }

.whatsapp-card {
  display: grid;
  align-content: start;
  border: 1px solid rgba(185, 255, 61, 0.2);
  border-radius: 18px;
  overflow: hidden;
  background: #07101a;
}

.wa-card-head,
.wa-card-foot {
  padding: 14px 16px;
  background: rgba(18, 50, 82, 0.56);
}

.wa-card-head span,
.wa-card-foot {
  color: var(--muted);
  font-size: 0.82rem;
}

.wa-card-head strong {
  display: block;
  margin-top: 4px;
}

.wa-card-body {
  display: grid;
  gap: 12px;
  padding: 16px;
  color: #dfeaf3;
  line-height: 1.55;
}

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

.wa-kpis span {
  padding: 10px;
  border: 1px solid rgba(170, 197, 230, 0.12);
  border-radius: 10px;
  background: rgba(255,255,255,0.035);
  font-size: 0.82rem;
}

.price-workbench {
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(3, 9, 16, 0.62);
}

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

.price-controls label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.84rem;
}

.price-controls input {
  min-height: 38px;
  width: 100%;
  border: 1px solid rgba(170, 197, 230, 0.16);
  border-radius: 10px;
  padding: 0 10px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
}

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

.order-card {
  min-height: 218px;
  display: grid;
  gap: 13px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.order-card strong {
  width: fit-content;
  margin-top: auto;
  padding: 6px 9px;
  border: 1px solid rgba(185, 255, 61, 0.24);
  border-radius: 999px;
  color: var(--lime);
  font-size: 0.72rem;
}

.order-index {
  color: var(--cyan);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.78rem;
}

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

.fiscal-card {
  min-height: 184px;
  display: grid;
  gap: 10px;
}

.fiscal-stat {
  margin-top: auto;
  color: var(--lime);
  font-size: 1.25rem;
}

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

.project-card {
  min-height: 218px;
  display: grid;
  gap: 13px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
}

.contact-section {
  padding: 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  background: linear-gradient(135deg, rgba(11, 39, 68, 0.72), rgba(5, 10, 17, 0.88));
}

.contact-copy {
  display: grid;
  gap: 12px;
}

.contact-actions {
  justify-content: flex-end;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 10px rgba(185, 255, 61, 0); }
  100% { box-shadow: 0 0 0 0 rgba(185, 255, 61, 0); }
}

@keyframes rise {
  from { transform: scaleY(0.2); opacity: 0; }
  to { transform: scaleY(1); opacity: 1; }
}

@keyframes robotFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes sendCard {
  0% { transform: translateX(0) scale(0.92); opacity: 0; }
  15% { opacity: 1; }
  82% { opacity: 1; }
  100% { transform: translateX(210px) scale(1); opacity: 0; }
}

@keyframes receivePulse {
  0%, 58%, 100% { box-shadow: 0 0 0 0 rgba(185,255,61,0); }
  72% { box-shadow: 0 0 0 12px rgba(185,255,61,0.16); }
}

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

@media (max-width: 1280px) {
  .solution-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .production-grid,
  .orders-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-card,
  .dashboard-card:nth-child(1),
  .dashboard-card:nth-child(2),
  .dashboard-card:nth-child(4) { grid-column: span 6; }
  .dpa-section,
  .split-section,
  .whatsapp-section { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .mobile-topbar { display: flex; }

  .portfolio-shell { grid-template-columns: 1fr; }

  .sidebar {
    position: fixed;
    inset: 70px 16px auto;
    z-index: 70;
    height: auto;
    max-height: calc(100vh - 92px);
    overflow: auto;
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    border: 1px solid var(--line);
    border-radius: 18px;
    transition: 180ms ease;
  }

  body.is-menu-open .sidebar {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .main-content { padding: 18px; }

  .hero-section,
  .release-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

  .hero-section {
    min-height: auto;
    padding: 24px;
  }

  .fiscal-grid,
  .production-grid,
  .orders-grid,
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .hero-copy h1 { font-size: 1.86rem; }
  .section-heading h2,
  .contact-copy h2 { font-size: 1.52rem; }

  .hero-kpis,
  .solution-grid,
  .metric-strip,
  .fiscal-grid,
  .production-grid,
  .orders-grid,
  .project-grid,
  .dre-results {
    grid-template-columns: 1fr;
  }

  .whatsapp-showcase,
  .wa-kpis,
  .price-controls {
    grid-template-columns: 1fr;
  }

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

  .dashboard-card,
  .dashboard-card:nth-child(1),
  .dashboard-card:nth-child(2),
  .dashboard-card:nth-child(4) {
    grid-column: auto;
  }

  .dpa-row {
    grid-template-columns: 1fr;
  }

  .allocation-visual {
    grid-template-columns: 1fr;
  }

  .allocation-line {
    width: 2px;
    height: 28px;
    justify-self: center;
  }

  .button-row,
  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .matrix-row,
  .ranking-row {
    grid-template-columns: 1fr;
  }
}
