/* Propuesta «El trazo» — blanco casi total para que la ruta mint sea lo único con color. */

.landing-el-trazo {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f3f5fb;
  --line: #e7ebf4;
}

.landing-el-trazo .section:nth-of-type(even) {
  background: transparent;
}

.hero-trazo {
  position: relative;
  overflow: hidden;
  max-width: var(--shell);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) var(--gutter) clamp(3rem, 6vw, 5rem);
}

.hero-route {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--mint);
  pointer-events: none;
}

.route-line {
  stroke-dasharray: 2600;
  stroke-dashoffset: 2600;
  animation: draw-route 2.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  opacity: 0.55;
}

.route-pin {
  fill: var(--mint);
  opacity: 0;
  animation: pop-pin 400ms ease-out 1.5s forwards;
}

.route-pin-end {
  fill: var(--peri);
  animation-delay: 2.1s;
}

@keyframes draw-route {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes pop-pin {
  to {
    opacity: 0.9;
  }
}

@media (prefers-reduced-motion: reduce) {
  .route-line {
    stroke-dashoffset: 0;
    opacity: 0.4;
  }
  .route-pin {
    opacity: 0.9;
  }
}

.hero-trazo .hero-copy {
  position: relative;
  max-width: 40rem;
  display: grid;
  gap: 1.3rem;
  justify-items: start;
}

.hero-trazo h1 {
  font-size: var(--step-hero);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.96;
}

.hero-trazo h1 em {
  display: block;
  font-style: normal;
  font-weight: 400;
  color: var(--ink-3);
  letter-spacing: -0.025em;
}

.hero-trazo .hero-lede {
  font-size: var(--step-lede);
  color: var(--ink-3);
  max-width: 36ch;
}

.stops {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.6rem;
}

.stops li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-1);
}

.stops i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(0, 216, 170, 0.2);
}

.stops li:last-child i {
  background: var(--peri);
  box-shadow: 0 0 0 4px rgba(121, 159, 255, 0.24);
}

.hero-car {
  position: absolute;
  right: clamp(-3rem, -2vw, 1rem);
  bottom: 1rem;
  width: clamp(9rem, 26vw, 22rem);
  pointer-events: none;
}

@media (max-width: 62rem) {
  .hero-car {
    position: static;
    display: block;
    width: clamp(9rem, 42vw, 16rem);
    margin: 2rem auto 0;
  }
}

/* El trazo continúa marcando cada sección con su parada. */
.landing-el-trazo .section-head .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.landing-el-trazo .section-head .eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(0, 216, 170, 0.18);
}

.landing-el-trazo .service-card,
.landing-el-trazo .safety-grid li,
.landing-el-trazo .driver-steps li {
  border-radius: 18px;
}

.landing-el-trazo .safety-grid li {
  border-top-width: 1px;
  border-left: 3px solid var(--mint);
}
