/* Otematik — end-to-end delivery storytelling */

.ot-service-v2 {
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);
  align-items:center;
  gap:clamp(35px,6vw,110px);
  margin:55px var(--wide-gutter) 35px;
  padding:clamp(38px,5.5vw,95px);
  border-radius:27px;
  background:linear-gradient(120deg,#f7f8ff,#f8fbff 70%,#f1f5ff);
}

.ot-service-v2-visual {
  min-width:0;
  position:relative;
}

.ot-delivery-board {
  overflow:hidden;
  width:100%;
  max-width:680px;
  background:#fff;
  border:1px solid #e3e7f2;
  border-radius:23px;
  box-shadow:0 28px 75px rgba(43,46,102,.10);
}

.ot-delivery-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  padding:22px 26px;
  border-bottom:1px solid #e9ecf5;
}

.ot-delivery-brand {
  display:flex;
  align-items:center;
  gap:10px;
  font-size:20px;
  font-weight:850;
  letter-spacing:-.055em;
  color:#20243a;
}

.ot-delivery-mark {
  display:grid;
  place-items:center;
  width:37px;
  height:37px;
  background:#704be8;
  color:#fff;
  border-radius:11px;
  font-size:21px;
  letter-spacing:0;
}

.ot-delivery-caption {
  font-size:10px;
  letter-spacing:.12em;
  font-weight:800;
  color:#8a8fa8;
}

.ot-delivery-content {
  padding:30px clamp(20px,3vw,42px) 18px;
}

.ot-delivery-overline {
  color:#7751d9;
  font-size:11px;
  font-weight:800;
  letter-spacing:.12em;
  margin:0 0 28px;
}

.ot-delivery-timeline {
  position:relative;
  display:flex;
  flex-direction:column;
  gap:28px;
}

.ot-delivery-timeline::before {
  content:"";
  position:absolute;
  left:24px;
  top:36px;
  bottom:42px;
  width:2px;
  background:linear-gradient(#d8caff,#c9d6f7,#c7eddf);
}

.ot-delivery-step {
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:50px minmax(0,1fr);
  gap:20px;
}

.ot-delivery-number {
  display:grid;
  place-items:center;
  width:50px;
  height:50px;
  border-radius:15px;
  background:#eee9ff;
  color:#7150d8;
  font-size:14px;
  font-weight:800;
  box-shadow:0 0 0 5px #fff;
}

.ot-delivery-step:nth-child(2) .ot-delivery-number {
  background:#e8f0ff;
  color:#3772d4;
}

.ot-delivery-step:nth-child(3) .ot-delivery-number {
  background:#e5f6ed;
  color:#238861;
}

.ot-delivery-step small {
  display:block;
  color:#8a92a9;
  font-size:10px;
  letter-spacing:.085em;
  font-weight:800;
  margin:1px 0 7px;
}

.ot-delivery-step strong {
  display:block;
  font-size:clamp(16px,1.4vw,21px);
  line-height:1.3;
  color:#232b43;
  letter-spacing:-.035em;
}

.ot-delivery-step p {
  max-width:370px;
  font-size:13px;
  line-height:1.7;
  color:#66748c;
  margin:7px 0 0;
}

.ot-delivery-footer {
  display:flex;
  align-items:center;
  gap:13px;
  padding:20px 26px;
  background:#f6f5ff;
  border-top:1px solid #e9e6f6;
}

.ot-delivery-footer-icon {
  display:grid;
  place-items:center;
  flex:0 0 37px;
  height:37px;
  border-radius:11px;
  color:#7050da;
  background:#ebe6ff;
}

.ot-delivery-footer-icon .icon {
  width:18px;
  height:18px;
}

.ot-delivery-footer strong,
.ot-delivery-footer small {
  display:block;
}

.ot-delivery-footer strong {
  color:#332f58;
  font-size:13px;
}

.ot-delivery-footer small {
  color:#8682a3;
  font-size:11px;
  margin-top:3px;
}

.ot-service-v2-copy {
  min-width:0;
  max-width:650px;
}

.ot-service-v2-kicker {
  color:#7650dc;
  font-size:12px;
  letter-spacing:.12em;
  font-weight:800;
  margin:0 0 22px;
}

.ot-service-v2-copy h2 {
  font-size:clamp(37px,3.65vw,62px);
  font-weight:830;
  line-height:1.12;
  letter-spacing:-.055em;
  color:#171d32;
  margin:0 0 27px;
  text-wrap:balance;
}

.ot-service-v2-description {
  color:#5f6b82;
  font-size:clamp(16px,1.25vw,19px);
  line-height:1.8;
  margin:0 0 31px;
}

.ot-service-v2-cta {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:13px;
  min-height:54px;
  border-radius:12px;
  padding:15px 22px;
  background:#704be8;
  color:#fff;
  font-size:14px;
  font-weight:750;
  transition:background .2s,transform .2s;
}

.ot-service-v2-cta:hover {
  background:#5836c6;
  transform:translateY(-2px);
}

.ot-service-v2-cta .icon {
  width:18px;
  height:18px;
}

@media(max-width:1050px) {
  .ot-service-v2 {
    grid-template-columns:1fr;
    gap:45px;
  }

  .ot-service-v2-copy {
    grid-row:1;
    max-width:720px;
  }

  .ot-service-v2-visual {
    grid-row:2;
  }

  .ot-delivery-board {
    max-width:none;
  }
}

@media(max-width:600px) {
  .ot-service-v2 {
    margin:25px 12px;
    padding:41px 19px 26px;
    border-radius:22px;
    gap:33px;
  }

  .ot-service-v2-copy h2 {
    font-size:clamp(34px,8vw,45px);
  }

  .ot-service-v2-description {
    font-size:15px;
  }

  .ot-service-v2-cta {
    width:100%;
    text-align:center;
  }

  .ot-delivery-header {
    padding:17px 15px;
  }

  .ot-delivery-caption {
    font-size:9px;
  }

  .ot-delivery-content {
    padding:24px 17px 21px;
  }

  .ot-delivery-step {
    gap:12px;
  }

  .ot-delivery-step strong {
    font-size:17px;
  }

  .ot-delivery-step p {
    font-size:12px;
  }

  .ot-delivery-footer {
    padding:17px;
  }
}

@media(prefers-reduced-motion:reduce) {
  .ot-service-v2-cta {
    transition:none;
  }
}
