.service-automation .service-hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(360px, .82fr); gap: clamp(48px, 6vw, 92px); }
.service-automation .service-hero h1 { max-width: 840px; font-size: clamp(3.5rem, 6.55vw, 6.5rem); }
.service-automation .automation-hero-note { max-width: 570px; margin-top: 30px; color: #929d9c; font-size: .83rem; line-height: 1.6; }
.automation-preview { position: relative; overflow: hidden; padding: clamp(24px, 2.8vw, 38px); border: 1px solid rgba(240, 151, 94, .24); border-radius: 24px; background: radial-gradient(circle at 85% 12%, rgba(244, 103, 34, .2), transparent 43%), linear-gradient(150deg, #161717, #080a0a 75%); box-shadow: 0 28px 80px rgba(0,0,0,.35), inset 0 1px rgba(255,255,255,.055); }
.automation-preview::before { content: ''; position: absolute; top: 0; left: 12%; width: 48%; height: 2px; background: linear-gradient(90deg, transparent, #ff8b43, transparent); box-shadow: 0 0 28px #ff732e; }
.automation-preview-head, .automation-preview-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: #adb6b3; font-size: .72rem; letter-spacing: .06em; }
.automation-preview-head { padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.1); text-transform: uppercase; }
.automation-preview-head > span:first-child { display: flex; align-items: center; gap: 9px; color: #f1e5dc; }
.automation-preview-head i, .automation-status-dot { display: inline-block; flex: none; width: 7px; height: 7px; border-radius: 50%; background: #ff873f; box-shadow: 0 0 14px rgba(255,135,63,.75); }
.automation-message { display: flex; gap: 15px; align-items: start; margin: 31px 0; }
.automation-avatar { display: grid; flex: none; place-items: center; width: 37px; height: 37px; border-radius: 50%; color: #281207; background: #f6a06b; font-weight: 700; }
.automation-message > div { max-width: 370px; padding: 17px 20px; border: 1px solid rgba(255,255,255,.11); border-radius: 4px 17px 17px 17px; background: rgba(255,255,255,.055); }
.automation-message small, .automation-lead small { display: block; color: #f4a878; font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.automation-message p { margin: 9px 0 0; color: #eff2ef; font-size: .96rem; line-height: 1.55; }
.automation-preview-arrow { display: flex; align-items: center; gap: 14px; margin: 0 0 18px 52px; color: #ec9a67; font-size: .7rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.automation-preview-arrow span { width: 19px; height: 1px; background: rgba(244,154,103,.5); }
.automation-preview-arrow span:last-child::after { content: '›'; position: relative; top: -10px; left: 17px; font-size: 19px; }
.automation-lead { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-left: 52px; padding: 20px; border: 1px solid rgba(244,151,94,.27); border-radius: 15px; background: rgba(34,26,22,.72); }
.automation-lead strong, .automation-lead span { display: block; }
.automation-lead strong { margin: 8px 0 5px; color: #f3f3f0; font-size: 1rem; }
.automation-lead span { color: #aab5b3; font-size: .8rem; }
.automation-lead b { flex: none; padding: 7px 10px; border: 1px solid rgba(255,153,91,.32); border-radius: 99px; color: #ffac77; font-size: .7rem; font-weight: 600; }
.automation-preview-foot { justify-content: start; margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); letter-spacing: 0; }
.automation-preview-foot > span:last-child { margin-left: auto; color: #f6a36d; font-size: 1.2rem; }

.service-automation .automation-journey { padding-top: clamp(82px, 9vw, 132px); }
.automation-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.23); }
.automation-steps article { position: relative; padding: 28px 30px 10px 0; }
.automation-steps article::before { content: ''; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: #bb7770; box-shadow: 0 0 0 5px #020304; }
.automation-steps article:not(:last-child)::after { content: '→'; position: absolute; top: 23px; right: 28px; color: #d27038; font-size: 1.45rem; }
.automation-step-number { display: block; margin-bottom: 52px; color: #de874f; font: 600 .75rem/1 var(--display); }
.automation-step-kicker { color: #f2a06c; font-size: .75rem; font-weight: 600; }
.automation-steps h3 { margin: 10px 0 15px; color: #f3f3f0; font: 600 clamp(1.45rem, 2vw, 2rem)/1.12 var(--body); letter-spacing: -.045em; }
.automation-steps p { max-width: 26ch; color: #aeb8b6; font-size: .93rem; line-height: 1.65; }
.automation-steps .is-current::before { background: #ff8b43; box-shadow: 0 0 0 5px #020304, 0 0 24px 7px rgba(255,117,48,.4); }
.automation-steps .is-current h3 { color: #ffad75; }
.automation-example-note { margin-top: 30px; color: #8e9997; font-size: .78rem; line-height: 1.6; }
.service-automation .automation-closing-copy { max-width: 620px; margin-top: 20px; color: #b4bdbc; line-height: 1.7; }

@media (max-width: 920px) {
  .service-automation .service-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .automation-preview { max-width: 670px; }
  .automation-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
  .automation-steps article:nth-child(2)::after { display: none; }
}
@media (max-width: 650px) {
  .service-automation .service-hero h1 { font-size: clamp(3rem, 12.8vw, 4.25rem); }
  .automation-preview { padding: 22px; border-radius: 18px; }
  .automation-preview-head > span:last-child { display: none; }
  .automation-message { gap: 10px; }
  .automation-message > div { padding: 14px; }
  .automation-preview-arrow, .automation-lead { margin-left: 0; }
  .automation-lead { align-items: start; flex-direction: column; gap: 13px; }
  .automation-steps { grid-template-columns: minmax(0, 1fr); border-top: 0; border-left: 1px solid rgba(255,255,255,.23); margin-left: 4px; }
  .automation-steps article { padding: 0 0 42px 26px; }
  .automation-steps article::before { top: 5px; left: -4px; }
  .automation-steps article:not(:last-child)::after { display: none; }
  .automation-step-number { margin-bottom: 18px; }
  .automation-steps p { max-width: 38ch; }
}
@media (prefers-reduced-motion: reduce) { .automation-steps .is-current::before { box-shadow: 0 0 0 5px #020304; } }
@media (max-width: 390px) { .service-automation .service-hero h1 { font-size: clamp(2.6rem, 12vw, 3rem); line-height: 1.02; } }
