/* Motion: animated versions of the service pictures, buttons and FAQ (used with motion.js) */

/* Call log (replaces screenshot on card 1) */
.cl { position: absolute; inset: 0; background: #FFFFFF; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; font-family: inherit; }
.mk-img { position: relative; }
.cl-head { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; color: #104B56; padding-bottom: 6px; border-bottom: 1px solid #E3F5F7; }
.cl-head span:last-child { color: #6A7376; font-weight: 500; }
.cl-row { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 10px; font-size: 12px; color: #3E4547; padding: 4px 0; border-bottom: 1px solid #F1F5F6; }
.cl-ic { width: 22px; height: 22px; border-radius: 50%; background: #E3F5F7; color: #104B56; display: grid; place-items: center; }
.cl-ic svg { width: 12px; height: 12px; }
.cl-num { font-weight: 600; color: #002E33; }
.cl-num small { display: block; font-weight: 400; color: #6A7376; font-size: 11px; }
.cl-ok { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; color: #104B56; background: #FBF1D6; padding: 3px 8px; border-radius: 999px; }
.cl-ok svg { width: 11px; height: 11px; }

/* Traffic chart (replaces screenshot on card 2) */
.tc { position: absolute; inset: 0; background: #FFFFFF; padding: 14px 16px 10px; display: flex; flex-direction: column; }
.tc-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; font-weight: 700; color: #104B56; }
.tc-head b { font-size: 20px; color: #002E33; }
.tc-head b small { font-size: 12px; color: #2E7D5B; font-weight: 700; margin-left: 4px; }
.tc svg { flex: 1; width: 100%; margin-top: 6px; overflow: visible; }

/* Buttons: arrow nudges on hover */
.mk-link span[aria-hidden], .dh-btn span[aria-hidden], .mk-btn span[aria-hidden], .btn span[aria-hidden] { display: inline-block; transition: transform .25s ease; }
.mk-link:hover span[aria-hidden], .dh-btn:hover span[aria-hidden], .mk-btn:hover span[aria-hidden], .btn:hover span[aria-hidden] { transform: translateX(5px); }


/* FAQ: smooth open and close */
.mk-faq details { overflow: hidden; }



/* Terracotta stream (card 3) */
.ws { position: absolute; inset: 0; background: #FFFFFF; cursor: pointer; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ws svg { width: 100%; height: 100%; transition: transform .35s ease; }
.ws-hint { position: absolute; right: 12px; bottom: 10px; font-size: 10px; font-weight: 700; color: #9C3B3F; opacity: 0; transition: opacity .4s; }
.ws.done .ws-hint { opacity: .85; }
.ws:focus-visible { outline: 2px solid #C65A5A; outline-offset: -4px; }
.tc { position: absolute; }
.tc-dot { position: absolute; width: 11px; height: 11px; border-radius: 50%; background: #CFA338; border: 2px solid #fff; transform: translate(-50%,-50%); box-shadow: 0 1px 3px rgba(0,0,0,.2); }

/* Mission on phones: the gold tube runs the full height of the section, down the right-hand edge */
@media (max-width: 860px) {
  .mk-belief.tube-tall { position: relative; overflow: hidden; }
  .mk-belief.tube-tall .mk-belief-art { position: absolute; inset: 0; height: auto; z-index: 0; pointer-events: none; }
  .mk-belief.tube-tall .mk-belief-main, .mk-belief.tube-tall .mk-belief-side { position: relative; z-index: 1; }
  .mk-belief.tube-tall .mk-belief-main { padding-top: 260px; padding-right: 64px; }
  .mk-belief.tube-tall .mk-belief-side { padding-right: 64px; }
}

/* Reviews slider: swipe right to left, moves on by itself */
.mk-quote-track { max-width: 900px; margin: 0 auto; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.mk-quote-track::-webkit-scrollbar { display: none; }
.mk-quote-track .mk-quote-fig { flex: 0 0 100%; min-width: 0; max-width: none; scroll-snap-align: start; padding-right: 4px; }
.mk-quote-dots { max-width: 900px; margin: 22px auto 0; display: flex; gap: 8px; }
.mk-quote-dots button { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 0; background: #C9D6D8; cursor: pointer; transition: width .3s ease, background .3s ease; }
.mk-quote-dots button[aria-current="true"] { width: 28px; border-radius: 5px; background: #104B56; }
.mk-quote-dots button:focus-visible { outline: 2px solid #104B56; outline-offset: 3px; }
