/* "{Service} for every industry" / "service by service" tabs */
.uc-head { max-width: 760px; margin: 0 auto 30px; text-align: center; display: grid; gap: 14px; }
.uc-box { padding: 26px; border-radius: 30px; background: var(--panel); }
.uc-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 26px; }
.uc-tabs button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 100px; background: var(--cream); font: 500 14px var(--font); color: var(--heading); cursor: pointer; transition: background-color .15s ease, border-color .15s ease; }
.uc-tabs button svg { width: 15px; height: 15px; color: var(--evergreen); }
.uc-tabs button:hover { border-color: var(--evergreen); }
.uc-tabs button[aria-selected="true"] { background: var(--coach); border-color: var(--coach); color: var(--cream); }
.uc-tabs button[aria-selected="true"] svg { color: var(--lettuce); }
.uc-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: center; }
.uc-panel > * { min-width: 0; }

.uc-visual { position: relative; min-height: 440px; display: grid; place-items: center; overflow: hidden; border-radius: 24px; background: var(--cream); box-shadow: 0 1px 0 var(--line); }
.uc-photo { width: 62%; aspect-ratio: 1; overflow: hidden; border-radius: 50%; box-shadow: 0 0 0 16px color-mix(in srgb, var(--lettuce) 34%, transparent), 0 0 0 34px color-mix(in srgb, var(--lettuce) 15%, transparent); }
.uc-photo img { width: 100%; height: 100%; object-fit: cover; }
.uc-photo--icon { display: grid; place-items: center; background: var(--coach); color: var(--lettuce); }
.uc-photo--icon svg { width: 34%; height: 34%; }
.uc-msg { position: absolute; top: 8%; inset-inline-start: 5%; width: 47%; padding: 10px 10px 4px; border-radius: 14px; background: #fff; font-size: 12px; line-height: 1.4; color: #1b2a25; box-shadow: 0 16px 34px rgb(5 25 20 / .18); }
.uc-brand { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.uc-brand .ph-av { width: 24px; height: 24px; font-size: 9px; }
.uc-brand b { font-size: 12px; color: var(--heading); }
.uc-msg p { margin: 0; }
.uc-msg time { display: block; text-align: end; font-size: 9px; color: #7a857f; }
.uc-btn { display: block; padding: 6px 0; border-top: 1px solid #eef0ee; text-align: center; font-size: 11.5px; font-weight: 600; color: var(--evergreen); }
.uc-reply { position: absolute; top: 54%; inset-inline-end: 5%; max-width: 42%; padding: 8px 10px 4px; border-radius: 12px 12px 3px 12px; background: #DCF3BC; font-size: 12px; font-weight: 600; color: #1b2a25; box-shadow: 0 12px 26px rgb(5 25 20 / .16); }
.uc-reply time { display: block; text-align: end; font-size: 9px; font-weight: 400; color: #6f7c76; }
.uc-tag { position: absolute; bottom: 8%; inset-inline-start: 9%; display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 12px; background: #fff; font-size: 12.5px; font-weight: 600; color: var(--heading); box-shadow: 0 12px 26px rgb(5 25 20 / .16); }
.uc-tag svg { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--lettuce); color: var(--coach); }
.uc-ill { position: absolute; bottom: 10px; inset-inline-end: 14px; font-size: 9.5px; letter-spacing: .4px; text-transform: uppercase; color: var(--muted); }
.uc-text { display: grid; gap: 14px; justify-items: start; }
.uc-eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--evergreen); }
.uc-list { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; gap: 10px; }
.uc-list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 15.5px; line-height: 1.45; color: var(--heading); }
.uc-list svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--lettuce); color: var(--coach); }
.uc-text .btn { max-width: 100%; white-space: normal; text-align: start; }
.uc-text .btn svg { width: 14px; height: 14px; flex: none; }

/* How it works (services.html) */
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: how; }
.how li { list-style: none; position: relative; padding: 26px 24px 24px; border-radius: var(--r-xl); border: 1px solid var(--line); background: var(--cream); }
.how li::before { counter-increment: how; content: counter(how); display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 16px; border-radius: 50%; background: var(--coach); color: var(--lettuce); font-weight: 700; }
.how b { display: block; font-size: 17px; font-weight: 500; color: var(--heading); }
.how p { margin-top: 6px; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.how-wrap { padding: 0; margin: 0; }

@media (max-width: 1100px) {
  .uc-panel { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .uc-visual { min-height: 400px; }
}
@media (max-width: 640px) {
  .uc-box { padding: 14px; border-radius: 22px; }
  /* One swipeable row instead of a stack of pills; the fade shows there is more */
  .uc-tabs { flex-wrap: nowrap; justify-content: flex-start; gap: 6px; margin: 0 -14px 18px; padding: 2px 14px; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); }
  .uc-tabs::-webkit-scrollbar { display: none; }
  .uc-tabs button { flex: none; padding: 7px 12px; font-size: 13px; }
  .uc-visual { min-height: 360px; }
  .uc-photo { width: 64%; }
  .uc-msg { width: 60%; font-size: 11px; inset-inline-start: 4%; }
  .uc-reply { max-width: 52%; font-size: 11px; }
  .uc-tag { font-size: 11.5px; inset-inline-start: 5%; }
  .uc-list li { font-size: 15px; }
  .how { grid-template-columns: 1fr; }
}
