/* 速运通首页「成为司机」招募区。单独文件，不改 style.css。 */
.drv-cta{
  position:relative;
  background:var(--d);
  color:#fff;
  overflow:hidden;
}
.drv-cta::before{
  content:"";
  position:absolute;
  inset:auto auto -80px -120px;
  width:520px;height:520px;
  background:radial-gradient(circle,rgba(226,74,18,.38),transparent 68%);
  pointer-events:none;
}
.drv-cta::after{
  content:"";
  position:absolute;
  inset:-80px -80px auto auto;
  width:480px;height:480px;
  background:radial-gradient(circle,rgba(22,80,130,.55),transparent 70%);
  pointer-events:none;
}
.drv-cta > .wrap{position:relative;z-index:1}

.drv-cta-top{
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);
  gap:40px 48px;
  align-items:center;
  margin-bottom:36px;
}
.drv-cta-kicker{
  display:inline-block;
  margin:0 0 12px;
  padding-inline-start:12px;
  border-inline-start:3px solid var(--o);
  color:#FF8A5B;
  font-weight:700;
  font-size:13.5px;
  letter-spacing:.04em;
  line-height:1.4;
}
.drv-cta h2{
  font-size:clamp(28px,3.4vw,42px);
  font-weight:800;
  line-height:1.28;
  color:#fff;
  margin:0 0 16px;
  text-align:start;
  text-wrap:balance;
}
.drv-cta-lead,
.drv-cta p.drv-cta-lead{
  font-size:17px;
  line-height:1.75;
  color:rgba(255,255,255,.84);
  margin:0 0 28px;
  max-width:38em;
}
.drv-cta-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
}
.drv-cta-actions .btn{
  white-space:normal;
  text-align:center;
  min-height:48px;
  padding:12px 22px;
  margin:0;
}
.drv-cta-actions .btn.w{
  background:var(--o);
  color:#fff;
  box-shadow:0 8px 18px rgba(226,74,18,.28);
}
.drv-cta-actions .btn.w:hover{background:var(--o-dark)}
.drv-cta-actions .btn.drv-cta-sec{
  background:transparent;
  color:#fff;
  border:1.5px solid rgba(255,255,255,.42);
  box-shadow:none;
}
.drv-cta-actions .btn.drv-cta-sec:hover{
  background:rgba(255,255,255,.1);
  border-color:#fff;
  color:#fff;
}
.drv-cta-actions .btn.drv-cta-sec:focus-visible{
  outline:3px solid #ffb089;
  outline-offset:3px;
}

.drv-cta-art{min-width:0}
.drv-cta-art img{
  width:100%;
  height:auto;
  display:block;
  filter:drop-shadow(0 22px 40px rgba(0,0,0,.38));
  background:transparent;
  border-radius:0;
  box-shadow:none;
}

/* 亮点卡片 */
.drv-cta-points{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
  margin:0 0 32px;
}
.drv-cta-card{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  border-radius:16px;
  padding:20px 18px 22px;
  min-width:0;
  transition:background .15s,border-color .15s,transform .15s;
}
.drv-cta-card:hover{
  background:rgba(255,255,255,.09);
  border-color:rgba(255,255,255,.2);
}
.drv-cta-ico{
  display:flex;
  align-items:center;
  justify-content:center;
  width:44px;height:44px;
  border-radius:12px;
  background:rgba(226,74,18,.2);
  margin-bottom:14px;
}
.drv-cta-ico svg{width:24px;height:24px;display:block}
.drv-cta-card h3{
  margin:0 0 6px;
  font-size:16px;
  font-weight:800;
  color:#fff;
  line-height:1.35;
}
.drv-cta-card p,
.drv-cta .drv-cta-card p{
  margin:0;
  font-size:13.5px;
  line-height:1.7;
  color:rgba(255,255,255,.72);
  max-width:none;
  opacity:1;
}

/* 三步加入 */
.drv-cta-how{
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.1);
  border-radius:20px;
  padding:28px 28px 24px;
}
.drv-cta-how > h3{
  margin:0 0 22px;
  font-size:18px;
  font-weight:800;
  color:#fff;
  text-align:start;
}
.drv-cta-steps{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px 28px;
  counter-reset:drvstep;
}
.drv-cta-steps li{
  display:flex;
  flex-direction:column;
  gap:12px;
  position:relative;
  min-width:0;
  counter-increment:drvstep;
}
/* 步骤之间的连线（逻辑方向，RTL 自动反向） */
.drv-cta-steps li:not(:last-child)::after{
  content:"";
  position:absolute;
  top:19px;
  inset-inline-start:48px;
  width:calc(100% - 28px);
  height:2px;
  background:linear-gradient(to right,rgba(226,74,18,.7),rgba(226,74,18,.18));
  pointer-events:none;
}
html[dir=rtl] .drv-cta-steps li:not(:last-child)::after{
  background:linear-gradient(to left,rgba(226,74,18,.7),rgba(226,74,18,.18));
}
.drv-cta-num{
  display:flex;
  align-items:center;
  justify-content:center;
  width:38px;height:38px;
  border-radius:50%;
  background:var(--o);
  color:#fff;
  font-weight:800;
  font-size:16px;
  flex:0 0 auto;
  box-shadow:0 6px 14px rgba(226,74,18,.35);
  position:relative;
  z-index:1;
}
.drv-cta-step-body h4{
  margin:0 0 4px;
  font-size:16px;
  font-weight:800;
  color:#fff;
  line-height:1.35;
}
.drv-cta-step-body p,
.drv-cta .drv-cta-step-body p{
  margin:0;
  font-size:13.5px;
  line-height:1.7;
  color:rgba(255,255,255,.72);
  max-width:none;
  opacity:1;
}

@media(max-width:900px){
  .drv-cta-top{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px 24px;margin-bottom:28px}
  .drv-cta-points{grid-template-columns:repeat(2,minmax(0,1fr))}
  .drv-cta h2{font-size:clamp(26px,4vw,34px)}
  .drv-cta-lead{font-size:16px;margin-bottom:22px}
  .drv-cta-how{padding:22px 20px 18px}
}
@media(max-width:760px){
  .drv-cta-top{grid-template-columns:1fr;gap:20px;margin-bottom:24px}
  .drv-cta-art{max-width:420px}
  .drv-cta-points{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:24px}
  .drv-cta-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
  .drv-cta-steps li:not(:last-child)::after{inset-inline-start:40px;width:calc(100% - 20px)}
  section.hero.band.drv-cta, .hero.band.drv-cta{padding:48px 0}
}
@media(max-width:620px){
  .drv-cta-top{grid-template-columns:1fr}
  .drv-cta-art{max-width:100%}
  .drv-cta-points{grid-template-columns:1fr;gap:12px}
  .drv-cta-steps{
    grid-template-columns:1fr;
    gap:0;
    padding-inline-start:6px;
  }
  .drv-cta-steps li{
    flex-direction:row;
    align-items:flex-start;
    gap:14px;
    padding:0 0 22px;
  }
  .drv-cta-steps li:last-child{padding-bottom:0}
  /* 竖向连线 */
  .drv-cta-steps li:not(:last-child)::after{
    top:38px;
    inset-inline-start:18px;
    width:2px;
    height:calc(100% - 44px);
    background:linear-gradient(to bottom,rgba(226,74,18,.7),rgba(226,74,18,.18));
  }
  html[dir=rtl] .drv-cta-steps li:not(:last-child)::after{
    background:linear-gradient(to bottom,rgba(226,74,18,.7),rgba(226,74,18,.18));
  }
  .drv-cta-actions{flex-direction:column;align-items:stretch}
  .drv-cta-actions .btn{width:100%}
  .drv-cta-how{padding:20px 16px 16px;border-radius:16px}
  .drv-cta-card{padding:16px 16px 18px}
  .drv-cta-lead{font-size:15.5px}
  .drv-cta h2{font-size:26px}
}
