:root {
  --night: #07120f;
  --night-2: #0d1d1b;
  --ink: #111917;
  --paper: #f5f7ef;
  --surface: #ffffff;
  --muted: #78918b;
  --soft: #dce9df;
  --line: rgba(215, 232, 221, 0.18);
  --teal: #19e6bd;
  --green: #91f263;
  --coral: #ff6f59;
  --amber: #ffd166;
  --blue: #7aa7ff;
  --violet: #a48cff;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--night);
  color: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(130deg, #07120f 0%, #10231f 42%, #191712 66%, #0c121c 100%);
  background-size: 64px 64px, 64px 64px, auto;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(120deg, rgba(25, 230, 189, 0.08), transparent 28%),
    linear-gradient(260deg, rgba(255, 111, 89, 0.075), transparent 30%),
    linear-gradient(0deg, rgba(7, 18, 15, 0.18), rgba(7, 18, 15, 0.74));
  pointer-events: none;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.2rem;
  padding: 1rem clamp(1rem, 4vw, 2.5rem);
  border-bottom: 1px solid rgba(215, 232, 221, 0.14);
  background: rgba(7, 18, 15, 0.72);
  backdrop-filter: blur(22px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  width: fit-content;
}

.brand img,
.site-footer img {
  display: block;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  min-height: 2.75rem;
  padding: 0.22rem;
  border: 1px solid rgba(215, 232, 221, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  padding: 0 0.82rem;
  border-radius: 6px;
  color: rgba(245, 247, 239, 0.72);
  font-size: 0.88rem;
  font-weight: 750;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.09);
  color: var(--paper);
  outline: 0;
}

.header-cta,
.button,
.prism-tab {
  min-height: 2.8rem;
  border-radius: 8px;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  padding: 0 1.05rem;
  border: 1px solid rgba(25, 230, 189, 0.45);
  color: var(--teal);
  font-size: 0.9rem;
  font-weight: 850;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  align-items: center;
  padding: 7.4rem clamp(1rem, 4vw, 2.5rem) 8.5rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  z-index: -1;
  background: linear-gradient(0deg, var(--night) 0%, transparent 100%);
}

.prism-canvas {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  display: block;
}

.no-webgl .prism-canvas {
  background:
    linear-gradient(140deg, transparent 0 45%, rgba(25, 230, 189, 0.18) 45% 52%, transparent 52%),
    conic-gradient(from 220deg at 62% 42%, rgba(25, 230, 189, 0.34), rgba(255, 209, 102, 0.24), rgba(255, 111, 89, 0.26), rgba(122, 167, 255, 0.24), rgba(25, 230, 189, 0.34));
  clip-path: polygon(48% 18%, 76% 76%, 20% 76%);
  opacity: 0.85;
}

.hero-content {
  width: min(1220px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(18rem, 0.58fr);
  align-items: end;
  gap: 2rem;
}

.hero-copy {
  max-width: 43rem;
  padding-top: 3rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 1rem;
  font-size: clamp(4.2rem, 12vw, 10.8rem);
  line-height: 0.82;
  letter-spacing: 0;
  text-transform: uppercase;
  background: linear-gradient(125deg, var(--paper) 0%, var(--paper) 48%, var(--teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  margin-bottom: 1rem;
  color: var(--paper);
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.75rem;
  color: var(--paper);
  font-size: 1.18rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 40rem;
  margin-bottom: 1.6rem;
  color: rgba(245, 247, 239, 0.76);
  font-size: clamp(1.08rem, 1.9vw, 1.35rem);
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0 1.1rem;
  border: 1px solid transparent;
  overflow: hidden;
  font-weight: 900;
}

.button::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-115%) skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.36), transparent);
  transition: transform 680ms ease;
}

.button span,
.button.primary {
  position: relative;
  z-index: 1;
}

.button.primary {
  background: linear-gradient(135deg, var(--teal), var(--green));
  color: #06110e;
  box-shadow: 0 18px 42px rgba(25, 230, 189, 0.18);
}

.button.ghost {
  border-color: rgba(245, 247, 239, 0.18);
  background: rgba(255, 255, 255, 0.045);
  color: var(--paper);
}

.button.compact {
  width: fit-content;
  min-height: 2.55rem;
  padding: 0 0.95rem;
  font-size: 0.86rem;
}

.button:hover,
.button:focus-visible,
.header-cta:hover,
.header-cta:focus-visible,
.prism-tab:hover,
.prism-tab:focus-visible {
  transform: translateY(-2px);
  outline: 0;
}

.button:hover::after,
.button:focus-visible::after {
  transform: translateX(115%) skewX(-18deg);
}

.hero-console {
  align-self: end;
  max-width: 25rem;
  padding: 1rem;
  border: 1px solid rgba(215, 232, 221, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035)),
    rgba(7, 18, 15, 0.56);
  box-shadow: var(--shadow);
}

.console-head,
.dashboard-topbar,
.forecast-tabs {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.console-head {
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(215, 232, 221, 0.14);
}

.console-head strong {
  font-size: 0.92rem;
}

.console-head small {
  margin-left: auto;
  color: rgba(245, 247, 239, 0.55);
  font-weight: 800;
  text-transform: uppercase;
}

.live-dot {
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(145, 242, 99, 0.12);
}

.console-feed {
  display: grid;
  gap: 0.72rem;
  padding-top: 0.9rem;
}

.console-feed p {
  margin: 0;
  color: rgba(245, 247, 239, 0.72);
  font-size: 0.9rem;
  line-height: 1.45;
}

.console-feed p.is-new {
  animation: feed-in 420ms ease both;
}

.console-feed span {
  display: inline-block;
  min-width: 3rem;
  color: var(--amber);
  font-weight: 900;
}

.prism-switcher {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  width: min(100% - 2rem, 48rem);
  transform: translateX(-50%);
}

.prism-tab {
  border: 1px solid rgba(215, 232, 221, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(245, 247, 239, 0.72);
  padding: 0 1rem;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 850;
  cursor: pointer;
  backdrop-filter: blur(14px);
}

.prism-tab.is-active {
  border-color: rgba(25, 230, 189, 0.65);
  background: rgba(25, 230, 189, 0.16);
  color: var(--paper);
}

.section {
  width: min(1220px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(5rem, 8vw, 8rem) 0;
}

.section-copy,
.forecast-copy,
.pricing-copy {
  max-width: 42rem;
}

.section-copy p,
.ai-core p,
.forecast-copy p,
.pricing-copy p,
.feature-card p,
.logic-card p,
.phone-card p,
.site-footer p {
  color: rgba(245, 247, 239, 0.68);
  line-height: 1.66;
}

.control-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(22rem, 1.28fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.control-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.5rem;
}

.control-highlights span {
  min-height: 2.35rem;
  display: inline-flex;
  align-items: center;
  padding: 0 0.82rem;
  border: 1px solid rgba(215, 232, 221, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(245, 247, 239, 0.78);
  font-size: 0.82rem;
  font-weight: 850;
}

.dashboard-visual {
  position: relative;
  min-height: 33rem;
  padding: 1rem;
  border: 1px solid rgba(215, 232, 221, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04)),
    rgba(7, 18, 15, 0.8);
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
}

.dashboard-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(125deg, rgba(25, 230, 189, 0.18), transparent 34%, rgba(255, 209, 102, 0.08));
  opacity: 0;
  transition: opacity 260ms ease;
}

.dashboard-visual:hover::before {
  opacity: 1;
}

.dashboard-topbar {
  position: relative;
  z-index: 1;
  min-height: 3rem;
  padding: 0 0.85rem 0.85rem;
  border-bottom: 1px solid rgba(215, 232, 221, 0.14);
}

.dashboard-topbar span {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--coral);
  box-shadow:
    1.05rem 0 0 var(--amber),
    2.1rem 0 0 var(--teal);
}

.dashboard-topbar strong {
  margin-left: 2.25rem;
}

.dashboard-topbar small {
  margin-left: auto;
  color: var(--green);
  font-weight: 900;
}

.dashboard-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(10rem, 0.45fr);
  gap: 1rem;
  padding-top: 1rem;
}

.map-panel,
.metric-stack > div,
.orders-panel,
.history-panel,
.ai-action-panel {
  border: 1px solid rgba(215, 232, 221, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.map-panel {
  position: relative;
  min-height: 21rem;
  padding: 0.7rem;
  overflow: hidden;
}

.map-panel svg,
.forecast-visual svg {
  width: 100%;
  height: 100%;
  display: block;
}

.zone {
  fill: rgba(25, 230, 189, 0.08);
  stroke: rgba(25, 230, 189, 0.28);
  stroke-width: 2;
}

.zone-b {
  fill: rgba(255, 111, 89, 0.08);
  stroke: rgba(255, 111, 89, 0.26);
}

.route {
  fill: none;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 18 16;
  animation: route-flow 2.8s linear infinite;
}

.route-a {
  stroke: var(--teal);
}

.route-b {
  stroke: var(--amber);
  animation-duration: 3.4s;
}

.map-panel circle {
  fill: var(--paper);
  stroke: var(--night);
  stroke-width: 4;
}

.map-legend {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.map-legend span {
  min-height: 2rem;
  display: inline-flex;
  align-items: center;
  padding: 0 0.65rem;
  border: 1px solid rgba(215, 232, 221, 0.12);
  border-radius: 8px;
  background: rgba(7, 18, 15, 0.72);
  color: rgba(245, 247, 239, 0.72);
  font-size: 0.76rem;
  font-weight: 850;
}

.metric-stack {
  display: grid;
  gap: 1rem;
}

.metric-stack > div {
  min-height: 6.35rem;
  padding: 1rem;
}

.metric-stack span,
.orders-panel em,
.price-panel span,
.price-panel em {
  color: rgba(245, 247, 239, 0.58);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.metric-stack strong {
  display: block;
  margin-top: 0.4rem;
  font-size: 2.05rem;
}

.orders-panel {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
}

.orders-panel div {
  display: grid;
  gap: 0.35rem;
  min-height: 6.5rem;
  padding: 1rem;
  border-right: 1px solid rgba(215, 232, 221, 0.12);
}

.orders-panel div:last-child {
  border-right: 0;
}

.orders-panel span {
  color: var(--teal);
  font-weight: 950;
}

.orders-panel strong {
  align-self: end;
}

.history-panel,
.ai-action-panel {
  min-height: 10rem;
  padding: 1rem;
}

.history-panel {
  display: grid;
  gap: 1rem;
}

.mini-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.mini-head span {
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 900;
}

.history-bars {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: end;
  gap: 0.5rem;
  min-height: 6rem;
}

.history-bars i {
  display: block;
  height: var(--h);
  min-height: 1.2rem;
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, var(--teal), rgba(25, 230, 189, 0.16));
  box-shadow: 0 0 18px rgba(25, 230, 189, 0.16);
}

.ai-action-panel {
  display: grid;
  align-content: space-between;
  gap: 0.8rem;
  background:
    linear-gradient(145deg, rgba(255, 209, 102, 0.12), transparent 42%),
    rgba(255, 255, 255, 0.045);
}

.ai-action-panel span {
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ai-action-panel p {
  margin-bottom: 0;
  color: rgba(245, 247, 239, 0.64);
  line-height: 1.5;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.65fr minmax(0, 1.35fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card,
.logic-card,
.phone-card,
.price-panel {
  position: relative;
  border: 1px solid rgba(215, 232, 221, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.025);
  overflow: hidden;
  transition:
    transform 240ms ease,
    border-color 240ms ease,
    background 240ms ease;
}

.feature-card::before,
.logic-card::before,
.phone-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  transform: translateX(-100%);
  background: linear-gradient(90deg, var(--teal), var(--amber), var(--coral));
  transition: transform 260ms ease;
}

.feature-card:hover,
.logic-card:hover,
.phone-card:hover,
.price-panel:hover {
  transform: translateY(-6px);
  border-color: rgba(25, 230, 189, 0.36);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.03);
}

.feature-card:hover::before,
.logic-card:hover::before,
.phone-card:hover::before {
  transform: translateX(0);
}

.feature-card {
  min-height: 22rem;
  padding: 1.35rem;
}

.facet-scene {
  position: relative;
  height: 9.5rem;
  margin-bottom: 2.6rem;
  border: 1px solid rgba(215, 232, 221, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.11), transparent),
    rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.facet-scene::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(245, 247, 239, 0.12);
  border-radius: 8px;
}

.facet-scene span,
.facet-scene i,
.facet-scene b {
  position: absolute;
  display: block;
}

.rider-scene span {
  left: 1.2rem;
  top: 2rem;
  width: 3.8rem;
  height: 3.8rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--teal), #0e6c5d);
}

.rider-scene i {
  left: 5.2rem;
  width: 40%;
  height: 0.48rem;
  border-radius: 999px;
  background: rgba(245, 247, 239, 0.36);
}

.rider-scene i:nth-of-type(1) {
  top: 2.4rem;
}

.rider-scene i:nth-of-type(2) {
  top: 4.1rem;
  width: 55%;
}

.rider-scene b {
  right: 1.4rem;
  bottom: 1.2rem;
  width: 4.8rem;
  height: 2.1rem;
  border-radius: 999px;
  background: rgba(25, 230, 189, 0.18);
}

.commerce-scene span {
  left: 1.2rem;
  top: 1.4rem;
  width: 5.2rem;
  height: 6.6rem;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.38));
}

.commerce-scene i {
  left: 7.5rem;
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(255, 111, 89, 0.72);
}

.commerce-scene i:nth-of-type(1) {
  top: 2.2rem;
  width: 38%;
}

.commerce-scene i:nth-of-type(2) {
  top: 4rem;
  width: 52%;
}

.commerce-scene b {
  right: 1.2rem;
  bottom: 1.15rem;
  width: 4rem;
  height: 4rem;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background: linear-gradient(145deg, var(--amber), var(--coral));
}

.fleet-scene span {
  inset: 1.35rem auto auto 1.35rem;
  width: 6rem;
  height: 6rem;
  border: 1px solid rgba(122, 167, 255, 0.44);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(122, 167, 255, 0.35) 0 8%, transparent 9%),
    repeating-conic-gradient(from 0deg, rgba(122, 167, 255, 0.18) 0 12deg, transparent 12deg 32deg);
}

.fleet-scene i {
  right: 1.5rem;
  width: 38%;
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(122, 167, 255, 0.58);
}

.fleet-scene i:nth-of-type(1) {
  top: 2.6rem;
}

.fleet-scene i:nth-of-type(2) {
  top: 4.3rem;
  width: 48%;
}

.fleet-scene b {
  right: 2.2rem;
  bottom: 1.35rem;
  width: 3rem;
  height: 3rem;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--blue), var(--violet));
  transform: rotate(12deg);
}

.assignment-section {
  border-top: 1px solid rgba(215, 232, 221, 0.14);
}

.assignment-grid {
  display: grid;
  grid-template-columns: minmax(18rem, 0.52fr) minmax(0, 1fr);
  gap: 1rem;
}

.assignment-modes {
  display: grid;
  gap: 1rem;
}

.assignment-modes article,
.livemap-card {
  position: relative;
  border: 1px solid rgba(215, 232, 221, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.025);
  overflow: hidden;
}

.assignment-modes article {
  min-height: 10.8rem;
  padding: 1.2rem;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.assignment-modes article:hover {
  transform: translateX(0.35rem);
  border-color: rgba(25, 230, 189, 0.38);
}

.assignment-modes article.is-hot {
  border-color: rgba(25, 230, 189, 0.36);
  background:
    linear-gradient(135deg, rgba(25, 230, 189, 0.13), transparent 50%),
    rgba(255, 255, 255, 0.04);
}

.assignment-modes span,
.livemap-head span,
.rider-profile span,
.livemap-orders em {
  color: rgba(245, 247, 239, 0.58);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.assignment-modes article.is-hot span,
.livemap-head span {
  color: var(--teal);
}

.assignment-modes h3 {
  margin: 2rem 0 0.7rem;
}

.assignment-modes p {
  margin-bottom: 0;
  color: rgba(245, 247, 239, 0.66);
  line-height: 1.58;
}

.livemap-card {
  min-height: 34rem;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.livemap-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(122, 167, 255, 0.11), transparent 42%),
    linear-gradient(315deg, rgba(25, 230, 189, 0.12), transparent 38%);
  pointer-events: none;
}

.livemap-head,
.livemap-body,
.livemap-orders {
  position: relative;
  z-index: 1;
}

.livemap-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(215, 232, 221, 0.12);
}

.livemap-head strong {
  display: block;
  margin-top: 0.3rem;
  font-size: 1.2rem;
}

.rider-data-button {
  min-height: 2.65rem;
  border: 1px solid rgba(25, 230, 189, 0.36);
  border-radius: 8px;
  background: rgba(25, 230, 189, 0.1);
  color: var(--paper);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 950;
  padding: 0 0.9rem;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.rider-data-button:hover,
.rider-data-button:focus-visible {
  transform: translateY(-2px);
  background: rgba(25, 230, 189, 0.18);
  outline: 0;
}

.livemap-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(13rem, 0.38fr);
  gap: 1rem;
  align-items: stretch;
  padding-top: 1rem;
}

.livemap-body svg {
  width: 100%;
  min-height: 21rem;
  display: block;
  border: 1px solid rgba(215, 232, 221, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    rgba(7, 18, 15, 0.38);
  background-size: 34px 34px;
}

.street {
  fill: none;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 14 13;
  animation: route-flow 2.7s linear infinite;
}

.street-a {
  stroke: rgba(25, 230, 189, 0.9);
}

.street-b {
  stroke: rgba(255, 209, 102, 0.88);
  animation-duration: 3.3s;
}

.coverage {
  fill: rgba(25, 230, 189, 0.08);
  stroke: rgba(25, 230, 189, 0.28);
  stroke-width: 2;
}

.coverage-b {
  fill: rgba(122, 167, 255, 0.08);
  stroke: rgba(122, 167, 255, 0.28);
}

.order-pin circle {
  fill: var(--paper);
  stroke: var(--night);
  stroke-width: 4;
}

.order-pin text {
  fill: var(--night);
  font-size: 12px;
  font-weight: 900;
  text-anchor: middle;
}

.rider-pin path {
  fill: rgba(25, 230, 189, 0.24);
}

.rider-pin circle {
  fill: var(--teal);
  stroke: var(--paper);
  stroke-width: 4;
  filter: drop-shadow(0 0 14px rgba(25, 230, 189, 0.5));
}

.rider-profile {
  display: grid;
  align-content: space-between;
  gap: 1rem;
  min-height: 21rem;
  padding: 1rem;
  border: 1px solid rgba(215, 232, 221, 0.12);
  border-radius: 8px;
  background: rgba(7, 18, 15, 0.62);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.rider-profile.is-focused {
  transform: translateY(-4px);
  border-color: rgba(25, 230, 189, 0.52);
  box-shadow: 0 18px 50px rgba(25, 230, 189, 0.12);
}

.rider-profile strong {
  display: block;
  font-size: 1.75rem;
}

.rider-profile p {
  margin: 0;
  color: rgba(245, 247, 239, 0.66);
  line-height: 1.5;
}

.rider-profile div {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 3rem;
  padding: 0 0.8rem;
  border-radius: 8px;
  background: rgba(25, 230, 189, 0.1);
}

.rider-profile i {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(145, 242, 99, 0.12);
}

.livemap-orders {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 1rem;
}

.livemap-orders div {
  display: grid;
  gap: 0.35rem;
  min-height: 6.5rem;
  padding: 0.85rem;
  border: 1px solid rgba(215, 232, 221, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.livemap-orders span {
  color: var(--teal);
  font-weight: 950;
}

.livemap-orders strong {
  align-self: end;
  font-size: 0.95rem;
}

.ai-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  border-top: 1px solid rgba(215, 232, 221, 0.14);
}

.ai-core {
  position: sticky;
  top: 7rem;
}

.ai-core h2 {
  max-width: 45rem;
}

.ai-call-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  margin-top: 1.7rem;
  padding: 1rem;
  border: 1px solid rgba(25, 230, 189, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(25, 230, 189, 0.12), transparent 46%),
    rgba(255, 255, 255, 0.04);
}

.ai-call-card p {
  margin: 0.35rem 0 0;
}

.call-pulse {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  background: var(--teal);
  box-shadow:
    0 0 0 8px rgba(25, 230, 189, 0.1),
    0 0 34px rgba(25, 230, 189, 0.32);
  animation: call-pulse 1.8s ease-in-out infinite;
}

.ai-modules {
  display: grid;
  gap: 1rem;
}

.logic-card {
  min-height: 13.5rem;
  padding: 1.35rem;
}

.logic-card span {
  display: inline-flex;
  margin-bottom: 3.2rem;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.apps-section {
  border-top: 1px solid rgba(215, 232, 221, 0.14);
}

.app-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.phone-card {
  display: grid;
  grid-template-columns: minmax(12rem, 0.72fr) 1fr;
  gap: 1.5rem;
  align-items: center;
  min-height: 28rem;
  padding: 1.5rem;
}

.phone-card .button {
  align-self: start;
}

.phone {
  position: relative;
  width: min(100%, 15rem);
  aspect-ratio: 0.52;
  margin: 0 auto;
  padding: 0.9rem;
  border: 1px solid rgba(215, 232, 221, 0.18);
  border-radius: 28px;
  background: #050b09;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.05),
    0 24px 70px rgba(0, 0, 0, 0.35);
  transition: transform 260ms ease;
}

.phone-card:hover .phone {
  transform: rotate(-2deg) translateY(-0.35rem);
}

.phone-card:nth-child(2):hover .phone {
  transform: rotate(2deg) translateY(-0.35rem);
}

.speaker {
  position: absolute;
  top: 0.72rem;
  left: 50%;
  width: 4.8rem;
  height: 0.42rem;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.phone-screen {
  display: grid;
  align-content: start;
  gap: 1rem;
  height: 100%;
  padding: 2.2rem 0.95rem 1rem;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(25, 230, 189, 0.18), transparent 28%),
    linear-gradient(145deg, #122620, #0a1117);
}

.rider-phone .phone-screen {
  background:
    linear-gradient(180deg, rgba(122, 167, 255, 0.2), transparent 28%),
    linear-gradient(145deg, #10172a, #0a1117);
}

.phone-screen strong {
  font-size: 1.25rem;
}

.phone-screen span {
  color: rgba(245, 247, 239, 0.62);
  font-size: 0.88rem;
  font-weight: 800;
}

.phone-screen button {
  min-height: 2.7rem;
  border: 0;
  border-radius: 8px;
  background: var(--paper);
  color: #06110e;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 950;
}

.ticket-lines,
.route-list {
  display: grid;
  gap: 0.6rem;
}

.ticket-lines::before,
.ticket-lines::after,
.ticket-lines {
  min-height: 0.75rem;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(245, 247, 239, 0.84) 0 72%, transparent 72%),
    rgba(255, 255, 255, 0.08);
}

.ticket-lines::before,
.ticket-lines::after {
  content: "";
  display: block;
}

.route-list i {
  display: block;
  min-height: 2.55rem;
  border: 1px solid rgba(245, 247, 239, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.admin-panel {
  display: grid;
  grid-template-columns: minmax(12rem, 0.28fr) 1fr;
  gap: 1rem;
  margin-top: 1rem;
  min-height: 26rem;
  padding: 1rem;
  border: 1px solid rgba(215, 232, 221, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(122, 167, 255, 0.1), transparent 36%),
    rgba(255, 255, 255, 0.035);
}

.admin-sidebar,
.admin-main {
  border: 1px solid rgba(215, 232, 221, 0.12);
  border-radius: 8px;
  background: rgba(7, 18, 15, 0.54);
}

.admin-sidebar {
  display: grid;
  align-content: start;
  gap: 0.7rem;
  padding: 1rem;
}

.admin-sidebar span {
  color: rgba(245, 247, 239, 0.58);
  font-size: 0.85rem;
  font-weight: 800;
}

.admin-sidebar nav {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.admin-sidebar i {
  display: block;
  min-height: 2.7rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.admin-sidebar i:first-child {
  background: rgba(25, 230, 189, 0.18);
}

.admin-main {
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

.admin-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(215, 232, 221, 0.12);
}

.admin-head span,
.admin-kpis span,
.admin-table span {
  color: rgba(245, 247, 239, 0.58);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-head strong {
  display: block;
  margin-top: 0.3rem;
  font-size: 1.35rem;
}

.admin-head em,
.admin-table em {
  color: var(--green);
  font-style: normal;
  font-weight: 900;
}

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

.admin-kpis div {
  min-height: 7rem;
  padding: 1rem;
  border: 1px solid rgba(215, 232, 221, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.admin-kpis strong {
  display: block;
  margin-top: 0.7rem;
  font-size: 2.3rem;
}

.admin-table {
  display: grid;
  border: 1px solid rgba(215, 232, 221, 0.12);
  border-radius: 8px;
  overflow: hidden;
}

.admin-table div {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 1rem;
  align-items: center;
  min-height: 4.2rem;
  padding: 0 1rem;
  border-bottom: 1px solid rgba(215, 232, 221, 0.12);
}

.admin-table div:last-child {
  border-bottom: 0;
}

.forecast-section {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(22rem, 1.25fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  border-top: 1px solid rgba(215, 232, 221, 0.14);
}

.forecast-visual {
  min-height: 25rem;
  padding: 1rem;
  border: 1px solid rgba(215, 232, 221, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.025);
}

.forecast-tabs {
  margin-bottom: 1rem;
  gap: 0.5rem;
}

.forecast-tabs span {
  min-height: 2.3rem;
  display: inline-flex;
  align-items: center;
  padding: 0 0.85rem;
  border: 1px solid rgba(215, 232, 221, 0.13);
  border-radius: 8px;
  color: rgba(245, 247, 239, 0.7);
  font-size: 0.82rem;
  font-weight: 850;
}

.forecast-area {
  fill: rgba(25, 230, 189, 0.16);
}

.forecast-line {
  fill: none;
  stroke: var(--teal);
  stroke-width: 7;
  stroke-linecap: round;
  filter: drop-shadow(0 0 10px rgba(25, 230, 189, 0.35));
}

.forecast-bars rect {
  fill: rgba(255, 209, 102, 0.24);
  rx: 4;
}

.pricing-section {
  width: min(1220px, calc(100% - 2rem));
  margin: 0 auto clamp(5rem, 8vw, 8rem);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(20rem, 0.55fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(3rem, 6vw, 5rem);
  border: 1px solid rgba(215, 232, 221, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(25, 230, 189, 0.11), transparent 38%),
    linear-gradient(315deg, rgba(255, 111, 89, 0.09), transparent 36%),
    rgba(255, 255, 255, 0.045);
}

.price-panel {
  padding: 1.4rem;
  background: rgba(7, 18, 15, 0.72);
}

.price-panel strong {
  display: block;
  margin: 0.35rem 0 0;
  font-size: clamp(3.2rem, 7vw, 6.5rem);
  line-height: 0.9;
}

.price-panel ul {
  display: grid;
  gap: 0.8rem;
  margin: 2rem 0;
  padding: 0;
  list-style: none;
}

.price-panel li {
  position: relative;
  padding-left: 1.45rem;
  color: rgba(245, 247, 239, 0.78);
  line-height: 1.45;
}

.price-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background: var(--teal);
}

.price-panel .button {
  width: 100%;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem clamp(1rem, 4vw, 2.5rem);
  border-top: 1px solid rgba(215, 232, 221, 0.14);
  background: rgba(255, 255, 255, 0.035);
}

.site-footer p {
  margin: 0.8rem 0 0;
  max-width: 34rem;
}

.footer-mail {
  color: var(--teal);
  font-weight: 900;
}

body.modal-open {
  overflow: hidden;
}

.modal-shell {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.modal-shell[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 9, 8, 0.76);
  backdrop-filter: blur(14px);
}

.lead-modal {
  position: relative;
  z-index: 1;
  width: min(100%, 44rem);
  max-height: min(92vh, 58rem);
  overflow: auto;
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid rgba(215, 232, 221, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(25, 230, 189, 0.12), transparent 42%),
    linear-gradient(315deg, rgba(255, 111, 89, 0.08), transparent 42%),
    #07120f;
  box-shadow: 0 32px 110px rgba(0, 0, 0, 0.56);
}

.lead-modal h2 {
  margin-bottom: 1.4rem;
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(215, 232, 221, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--paper);
  font-size: 1.4rem;
  cursor: pointer;
}

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

.lead-form label,
.lead-form fieldset {
  display: grid;
  gap: 0.42rem;
  margin: 0;
}

.lead-form span,
.lead-form legend {
  color: rgba(245, 247, 239, 0.68);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead-form input,
.lead-form textarea,
.lead-form select {
  width: 100%;
  min-height: 3rem;
  border: 1px solid rgba(215, 232, 221, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--paper);
  font: inherit;
  padding: 0.75rem 0.85rem;
  outline: 0;
}

.lead-form textarea {
  resize: vertical;
}

.lead-form select option {
  background: #07120f;
  color: var(--paper);
}

.lead-form input:focus,
.lead-form textarea:focus,
.lead-form select:focus {
  border-color: rgba(25, 230, 189, 0.68);
  box-shadow: 0 0 0 3px rgba(25, 230, 189, 0.12);
}

.lead-form fieldset {
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  padding: 0;
  border: 0;
}

.lead-form fieldset legend {
  grid-column: 1 / -1;
}

.lead-form fieldset label {
  min-height: 2.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0.7rem;
  border: 1px solid rgba(215, 232, 221, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(245, 247, 239, 0.78);
  font-size: 0.88rem;
  font-weight: 800;
}

.lead-form input[type="checkbox"] {
  width: 1rem;
  min-height: 1rem;
  accent-color: var(--teal);
}

.full-field,
.consent-button {
  grid-column: 1 / -1;
}

.consent-button {
  min-height: 3.2rem;
  border: 1px solid rgba(255, 209, 102, 0.28);
  border-radius: 8px;
  background: rgba(255, 209, 102, 0.08);
  color: rgba(245, 247, 239, 0.82);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 900;
  cursor: pointer;
  text-align: left;
  padding: 0.75rem 0.9rem;
}

.consent-button.is-active {
  border-color: rgba(25, 230, 189, 0.6);
  background: rgba(25, 230, 189, 0.14);
  color: var(--paper);
}

.reveal {
  transform: translateY(24px);
  opacity: 0;
  transition:
    transform 700ms cubic-bezier(0.19, 1, 0.22, 1),
    opacity 700ms ease;
}

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

@keyframes route-flow {
  to {
    stroke-dashoffset: -68;
  }
}

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

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

@keyframes call-pulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }
}

/* ═══════════════════════════════════════════════════
   REDESIGN — nuevos componentes
═══════════════════════════════════════════════════ */

/* Menú hamburguesa */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid rgba(215, 232, 221, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 1.35rem;
  height: 2px;
  background: var(--paper);
  border-radius: 999px;
  transition:
    transform 240ms ease,
    opacity 240ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Overlay menú móvil */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 25;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 6rem 2rem 3rem;
  background: rgba(7, 18, 15, 0.97);
  backdrop-filter: blur(24px);
  transform: translateX(105%);
  transition: transform 400ms cubic-bezier(0.19, 1, 0.22, 1);
  pointer-events: none;
}

.mobile-nav.is-open {
  transform: translateX(0);
  pointer-events: auto;
}

.mobile-nav nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  max-width: 22rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.6rem;
  padding: 0 1.5rem;
  border: 1px solid rgba(215, 232, 221, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(245, 247, 239, 0.88);
  font-size: 1.05rem;
  font-weight: 800;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.mobile-nav-link:hover {
  background: rgba(25, 230, 189, 0.1);
  border-color: rgba(25, 230, 189, 0.38);
  color: var(--paper);
}

.mobile-nav .button {
  width: 100%;
  max-width: 22rem;
  min-height: 3.2rem;
}

/* Barra de stats */
.stats-bar {
  border-top: 1px solid rgba(215, 232, 221, 0.1);
  border-bottom: 1px solid rgba(215, 232, 221, 0.1);
  background: rgba(255, 255, 255, 0.022);
}

.stats-inner {
  display: flex;
  align-items: stretch;
  width: min(1220px, calc(100% - 2rem));
  margin: 0 auto;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  flex: 1 1 12rem;
  padding: 2.2rem 1.5rem;
  text-align: center;
}

.stat-item strong {
  display: block;
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 1;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--teal) 0%, var(--green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-item span {
  color: rgba(245, 247, 239, 0.55);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stat-divider {
  width: 1px;
  background: rgba(215, 232, 221, 0.12);
  align-self: stretch;
  margin: 1.2rem 0;
  flex-shrink: 0;
}

/* Barra de logos de confianza */
.trust-bar {
  padding: 2.2rem 1rem;
  border-bottom: 1px solid rgba(215, 232, 221, 0.1);
  background: rgba(255, 255, 255, 0.015);
}

.trust-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  width: min(1220px, 100%);
  margin: 0 auto;
}

.trust-label {
  margin: 0;
  color: rgba(245, 247, 239, 0.38);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.6rem 1.6rem;
}

.trust-logo {
  padding: 0.45rem 1.2rem;
  border: 1px solid rgba(215, 232, 221, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(245, 247, 239, 0.35);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  transition:
    color 200ms ease,
    border-color 200ms ease,
    background 200ms ease;
}

.trust-logo:hover {
  color: rgba(245, 247, 239, 0.7);
  border-color: rgba(215, 232, 221, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

/* Sección testimonios */
.testimonials-section {
  border-top: 1px solid rgba(215, 232, 221, 0.14);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.testimonial-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 1.6rem;
  border: 1px solid rgba(215, 232, 221, 0.14);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.025);
  overflow: hidden;
  transition:
    transform 240ms ease,
    border-color 240ms ease;
}

.testimonial-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--green));
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(25, 230, 189, 0.36);
}

.testimonial-stars {
  color: var(--amber);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

.testimonial-card blockquote {
  margin: 0;
  flex: 1;
}

.testimonial-card blockquote p {
  margin: 0;
  color: rgba(245, 247, 239, 0.82);
  font-size: 0.98rem;
  line-height: 1.68;
  font-style: italic;
}

.testimonial-card > footer {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(215, 232, 221, 0.12);
}

.testimonial-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--green));
  color: #06110e;
  font-size: 0.76rem;
  font-weight: 900;
}

.testimonial-card > footer strong {
  display: block;
  font-size: 0.92rem;
}

.testimonial-card > footer span {
  display: block;
  color: rgba(245, 247, 239, 0.52);
  font-size: 0.76rem;
  font-weight: 800;
  margin-top: 0.22rem;
}

/* Brillo de sección IA */
.ai-section {
  position: relative;
}

/* Footer rediseñado */
.site-footer {
  display: block;
  padding: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.3fr;
  gap: clamp(2rem, 4vw, 4rem);
  width: min(1220px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.footer-brand p {
  margin: 1rem 0;
  max-width: 26rem;
  color: rgba(245, 247, 239, 0.58);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.72rem;
}

.footer-nav strong {
  display: block;
  margin-bottom: 0.3rem;
  color: rgba(245, 247, 239, 0.42);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-nav a {
  color: rgba(245, 247, 239, 0.65);
  font-size: 0.9rem;
  font-weight: 700;
  transition: color 180ms ease;
}

.footer-nav a:hover {
  color: var(--paper);
}

.footer-cta-block {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-cta-block > strong {
  display: block;
  font-size: 1.08rem;
}

.footer-cta-block > p {
  margin: 0;
  color: rgba(245, 247, 239, 0.58);
  font-size: 0.88rem;
  line-height: 1.5;
}

.footer-cta-block .button {
  width: fit-content;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  width: min(1220px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(215, 232, 221, 0.1);
}

.footer-bottom > p {
  margin: 0;
  color: rgba(245, 247, 239, 0.38);
  font-size: 0.8rem;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: rgba(245, 247, 239, 0.38);
  font-size: 0.8rem;
  font-weight: 700;
  transition: color 180ms ease;
}

.footer-legal a:hover {
  color: rgba(245, 247, 239, 0.7);
}

/* Responsive — nuevos bloques */
@media (max-width: 1080px) {
  .nav-toggle {
    display: flex;
  }

  .site-header {
    grid-template-columns: 1fr auto auto;
    gap: 0.8rem;
  }
}

@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 620px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .stat-divider {
    display: none;
  }

  .stat-item {
    flex: 1 1 calc(50% - 1rem);
    padding: 1.6rem 1rem;
    border-bottom: 1px solid rgba(215, 232, 221, 0.08);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.5rem 0;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

/* ═══════════════════════════════════════════════════ */

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

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .hero-content,
  .control-section,
  .assignment-grid,
  .ai-section,
  .forecast-section,
  .pricing-section {
    grid-template-columns: 1fr;
  }

  .hero-content {
    align-items: start;
  }

  .hero-console {
    justify-self: start;
  }

  .ai-core {
    position: static;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

@media (max-width: 820px) {
  .feature-grid,
  .app-showcase {
    grid-template-columns: 1fr 1fr;
  }

  .dashboard-grid,
  .orders-panel,
  .livemap-body,
  .livemap-orders,
  .phone-card,
  .admin-panel {
    grid-template-columns: 1fr;
  }

  .orders-panel div {
    border-right: 0;
    border-bottom: 1px solid rgba(215, 232, 221, 0.12);
  }

  .orders-panel div:last-child {
    border-bottom: 0;
  }

  .feature-card {
    min-height: 18rem;
  }

  .admin-kpis,
  .admin-table div {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 0.8rem 1rem;
    background: rgba(7, 18, 15, 0.86);
  }

  .brand img,
  .site-footer img {
    width: 126px;
  }

  .header-cta {
    min-height: 2.5rem;
    padding: 0 0.8rem;
    font-size: 0.8rem;
  }

  .hero {
    min-height: 100svh;
    align-items: start;
    padding: 6.2rem 1rem 2.2rem;
  }

  .prism-canvas {
    opacity: 0.62;
    transform: scale(1.12) translateY(3rem);
  }

  .hero-content {
    gap: 1rem;
  }

  .hero-copy {
    padding-top: 0;
  }

  h1 {
    font-size: clamp(3.4rem, 19vw, 5rem);
    line-height: 0.9;
  }

  h2 {
    font-size: clamp(1.95rem, 11vw, 2.65rem);
    line-height: 1.02;
  }

  .hero-lede {
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-console {
    display: block;
    max-width: 100%;
    padding: 0.85rem;
  }

  .console-feed {
    gap: 0.55rem;
  }

  .console-feed p {
    font-size: 0.82rem;
  }

  .prism-switcher {
    position: static;
    transform: none;
    width: 100%;
    margin: 1rem auto 0;
  }

  .prism-tab {
    flex: 1 1 calc(33.333% - 0.55rem);
    min-height: 2.7rem;
    padding: 0 0.45rem;
    font-size: 0.78rem;
  }

  .section {
    width: calc(100% - 1.5rem);
    padding: 4.2rem 0;
  }

  .feature-grid,
  .app-showcase {
    grid-template-columns: 1fr;
  }

  .dashboard-visual,
  .forecast-visual,
  .livemap-card,
  .admin-panel {
    min-height: 22rem;
    padding: 0.8rem;
  }

  .dashboard-topbar,
  .livemap-head,
  .admin-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .metric-stack,
  .admin-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric-stack > div,
  .admin-kpis div {
    min-height: 5.6rem;
    padding: 0.85rem;
  }

  .metric-stack strong,
  .admin-kpis strong {
    font-size: 1.75rem;
  }

  .orders-panel div,
  .livemap-orders div {
    min-height: 5.3rem;
  }

  .livemap-body svg,
  .rider-profile {
    min-height: 17rem;
  }

  .assignment-modes article,
  .feature-card,
  .logic-card {
    min-height: auto;
  }

  .facet-scene {
    height: 7.8rem;
    margin-bottom: 1.4rem;
  }

  .phone-card {
    min-height: auto;
    padding: 1rem;
  }

  .phone {
    width: min(100%, 13.5rem);
  }

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

  .lead-modal {
    max-height: 94vh;
  }

  .pricing-section {
    width: calc(100% - 2rem);
    padding: 2rem 1rem;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
