/* Scoped product illustrations for the Services automation offers. */
.automation-offers { gap: 24px; }
.automation-offers .detail-card {
  min-width: 0;
  padding: 26px 24px 24px;
  background: linear-gradient(155deg, #152030, #0d1420 65%);
  border-radius: 14px;
}
.automation-offers h3 { min-height: 62px; font-size: 23px; line-height: 1.35; }
.automation-offers .service-benefit { font-size: 17px; line-height: 1.5; margin-top: 22px; min-height: 51px; }
.automation-offers .offer-description { margin-top: 12px; font-size: 13px; line-height: 1.8; }
.automation-offers ul { margin-top: 12px; }
.automation-offers li { margin-top: 8px; line-height: 1.65; }
.automation-offers .tool-label { margin: 20px 0 0; }
.automation-offers .offer-actions {
  display: grid;
  gap: 10px;
  width: 100%;
  padding-top: 24px;
  margin-top: auto;
}
.automation-offers .offer-booking {
  justify-content: center;
  padding: 13px 12px;
  min-height: 48px;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
  background: #f6ba61;
  color: #171c25;
  border: 1px solid #f6ba61;
  border-radius: 7px;
}
.automation-offers .offer-example {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 12px;
  min-height: 46px;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
  border: 1px solid #8dabc36b;
  background: #142333;
  color: #c4edf7;
  border-radius: 7px;
  transition: background .2s, border-color .2s;
}
.offer-example svg { width: 18px; height: 18px; flex: none; }
.offer-example svg:last-child { width: 15px; height: 15px; margin-left: auto; }
.offer-example span { flex: 1; }
.automation-offers .offer-example:hover { border-color: #96d8e8; background: #1b3043; }
.automation-offers .offer-booking:hover { background: #ffcd84; border-color: #ffcd84; }

.offer-visual { width: 100%; margin: 10px 0 0; }
.offer-scene {
  --channel: #9cddb8;
  min-width: 0;
  max-width: 440px;
  margin-inline: auto;
  height: 282px;
  padding: 17px 16px 13px;
  display: flex;
  flex-direction: column;
  border: 1px solid #7f9bb230;
  border-radius: 11px;
  background: radial-gradient(ellipse at 10% 0, #21463740, transparent 60%), #0a111b;
  box-shadow: inset 0 1px 0 #d4e8fc05, 0 12px 25px #0002;
}
.offer-scene svg { width: 16px; height: 16px; flex: none; }
.scene-topline { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.scene-channel { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 500; color: var(--channel); }
.scene-eyebrow { font-size: 8px; letter-spacing: .7px; line-height: 1.5; text-align: right; color: #a0afc0; }
.scene-speaker { display: block; font-size: 8px; letter-spacing: .65px; line-height: 1.5; color: #9fadc1; }
.offer-scene p { font-size: 12px; line-height: 1.6; margin: 5px 0 0; color: #e6edf6; }
.offer-visual figcaption { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 37px; max-width: 440px; margin-inline: auto; color: #99adbf; font-size: 10px; line-height: 1.5; }
.scene-replay {
  display: inline-flex; gap: 5px; align-items: center; justify-content: center;
  min-height: 36px; padding: 6px 1px 6px 8px; border: 0; background: transparent;
  font: inherit; color: #c5d8e8; cursor: pointer;
}
.scene-replay[hidden] { display: none; }
.scene-replay svg { width: 13px; height: 13px; }
.scene-replay:hover { color: #fff; }
.scene-replay[aria-disabled="true"] { color: #78899c; cursor: default; }
.chat-window { display: flex; flex-direction: column; gap: 10px; margin-top: 17px; }
.scene-message { padding: 9px 12px; border: 1px solid #c4d7ee14; border-radius: 10px; }
.message-customer { align-self: flex-end; max-width: 89%; border-bottom-right-radius: 3px; background: #1c2939; }
.message-agent { align-self: flex-start; max-width: 93%; border-bottom-left-radius: 3px; background: #14352b; border-color: #78cda326; }
.message-agent .scene-speaker { color: #8dccae; }
.scene-outcome { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #e4b96335; border-radius: 8px; background: #e4b9630b; }
.scene-outcome > svg { color: #f6c77f; }
.scene-outcome strong { display: block; font-size: 11px; font-weight: 500; line-height: 1.5; color: #efd8b0; }
.scene-outcome span { display: block; font-size: 9px; line-height: 1.6; color: #aebdd0; }
.scene-footnote { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: auto; padding-top: 10px; font-size: 9px; color: #a8bccc; }
.scene-footnote svg { width: 12px; height: 12px; color: #a1b9c8; }

.scene-phone { --channel: #f6c77f; background: radial-gradient(ellipse at 50% 25%, #79634925, transparent 68%), #0a111b; }
.phone-identity { display: flex; align-items: center; justify-content: center; gap: 15px; margin-top: 18px; }
.phone-portrait { width: 84px; height: 84px; flex: none; border-radius: 50%; padding: 3px; border: 1px solid #c6a97875; box-shadow: 0 0 0 5px #c6a97808; }
.phone-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; border-radius: 50%; }
.phone-identity strong { display: block; font-size: 21px; font-weight: 500; letter-spacing: -.5px; color: #f2f5fa; }
.phone-identity span { display: block; font-size: 10px; line-height: 1.5; color: #a8b7ca; margin-top: 4px; max-width: 125px; }
.scene-waveform { display: flex; align-items: center; justify-content: center; gap: 4px; height: 44px; margin-top: 11px; overflow: hidden; }
.scene-waveform i { display: block; width: 3px; height: var(--bar); border-radius: 3px; background: #e9c080; transform: scaleY(.58); opacity: .8; }
.phone-transcript { text-align: center; margin-top: 3px; }
.phone-transcript p { font-size: 12px; max-width: 27ch; margin: 0 auto; color: #e0d9cf; }
.phone-route { display: flex; justify-content: center; align-items: center; gap: 7px; margin-top: auto; padding-top: 13px; color: #c0cbd9; font-size: 10px; }
.phone-route svg { width: 13px; height: 13px; color: #ddbb82; }
.phone-route > span[aria-hidden] { color: #738397; padding: 0 2px; }

.scene-instagram { --channel: #e9a0ca; background: radial-gradient(ellipse at 100% 0, #6f29592a, transparent 68%), #0a111b; }
.instagram-story { display: flex; flex-direction: column; flex: 1; margin-top: 18px; }
.instagram-post { display: flex; align-items: center; gap: 11px; padding: 8px; border: 1px solid #c4d7ee20; border-radius: 9px; background: #161d2b; }
.post-image { width: 67px; height: 67px; flex: none; overflow: hidden; border-radius: 5px; background: #070d17; }
.post-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.post-comment { min-width: 0; }
.post-comment > div { display: flex; align-items: center; gap: 6px; margin-top: 3px; }
.post-comment svg { width: 13px; height: 13px; color: #c193b0; }
.comment-keyword { font-size: 13px; font-weight: 500; letter-spacing: .2px; color: #f1c6df; }
.post-comment > span:last-child { display: block; font-size: 9px; line-height: 1.5; color: #b0bdce; margin-top: 4px; }
.instagram-connector { height: 20px; display: flex; align-items: center; margin-left: 31px; color: #a37792; font-size: 14px; }
.instagram-dm { border: 1px solid #ac71a340; background: #30203c; border-radius: 10px 10px 10px 3px; padding: 10px 12px; margin-left: 19px; }
.instagram-dm .scene-speaker { color: #d5a6d0; }
.instagram-dm p { font-size: 11px; }
.instagram-booking { display: flex; align-items: center; gap: 7px; margin: auto 0 0 19px; padding-top: 12px; font-size: 10px; line-height: 1.5; color: #f0d3a6; }
.instagram-booking svg { width: 14px; height: 14px; color: #dfb977; }
.instagram-booking svg:last-child { margin-left: auto; }

/* Finite, deliberate motion. The complete story is always readable. */
[data-scene-step="1"] { --step-delay: 0ms; }
[data-scene-step="2"] { --step-delay: 550ms; }
[data-scene-step="3"] { --step-delay: 1100ms; }
.offer-visual.is-playing [data-scene-step] { animation: offer-emphasis 1.5s ease both; animation-delay: var(--step-delay); }
.offer-visual.is-playing .scene-waveform i { animation: offer-voice 450ms ease-in-out 6 alternate; animation-delay: var(--delay); }
@keyframes offer-emphasis { 0% { opacity: .6; transform: translateY(3px); } 45%, 100% { opacity: 1; transform: none; } }
@keyframes offer-voice { from { transform: scaleY(.3); opacity: .6; } to { transform: scaleY(1); opacity: 1; } }
.motion-paused .offer-visual *, .motion-paused .offer-example { animation: none !important; transition: none !important; }

@media (min-width: 1101px) and (max-width: 1270px) {
  .automation-offers { gap: 18px; }
  .automation-offers .detail-card { padding: 23px 19px; }
  .automation-offers h3 { font-size: 20px; min-height: 56px; }
  .offer-scene { padding: 15px 12px 12px; height: 310px; }
  .scene-eyebrow { font-size: 7px; letter-spacing: .2px; }
  .phone-identity { gap: 10px; }
}
@media (max-width: 1100px) and (min-width: 761px) {
  .automation-offers { grid-template-columns: 1fr; }
  .automation-offers .detail-card { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); column-gap: 30px; align-items: start; }
  .automation-offers h3 { grid-column: 1 / -1; min-height: 0; margin-bottom: 17px; }
  .automation-offers .offer-visual { grid-column: 1; grid-row: 2 / 7; margin-top: 0; }
  .automation-offers .service-benefit { margin-top: 0; min-height: 0; }
  .automation-offers :is(.service-benefit, .offer-description, ul, .tool-label, .offer-actions) { grid-column: 2; }
  .automation-offers .offer-actions { padding-top: 16px; }
  .offer-scene { height: 304px; }
}
@media (max-width: 760px) {
  .automation-offers .detail-card { padding: 23px 20px; }
  .automation-offers h3 { min-height: 0; font-size: 23px; }
  .offer-visual { margin-top: 22px; }
  .offer-scene { height: 295px; padding: 17px 15px 14px; }
  .offer-visual figcaption { min-height: 44px; }
  .scene-replay { min-height: 44px; }
  .automation-offers .service-benefit { margin-top: 15px; min-height: 0; }
  .automation-offers .offer-description { font-size: 14px; }
  .automation-offers li { font-size: 13px; }
  .automation-offers .offer-example, .automation-offers .offer-booking { min-height: 50px; font-size: 13px; }
}
@media (max-width: 380px) {
  .automation-offers .detail-card { padding: 22px 15px; }
  .offer-scene { padding: 14px 11px; height: 307px; }
  .scene-eyebrow { font-size: 7px; letter-spacing: 0; max-width: 82px; }
  .phone-portrait { width: 74px; height: 74px; }
  .phone-identity { gap: 11px; }
  .phone-identity strong { font-size: 19px; }
  .post-image { width: 51px; height: 64px; }
  .instagram-dm, .instagram-booking { margin-left: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .offer-visual *, .offer-example { animation: none !important; transition: none !important; }
}
