/* WPML page only. Loaded via `extra: crm, p-wordpress-wpml`. Every class is scoped with .pwml- */

/* ---------- hero: one page splitting into language versions ---------- */
.pwml-hero .pwml-hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.pwml-hero .crm-sub { max-width: 46ch; }
.pwml-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; max-width: 620px; }
.pwml-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px 6px 7px; border-radius: 999px; background: #fff; border: 1px solid #DCE4EE; font: 600 13.5px/1.25 var(--f-body); color: #0B2540; box-shadow: 0 10px 20px -16px rgba(8,34,56,.5); }
.pwml-chips img { flex: none; width: 22px; height: 22px; }
.pwml-chips__code { flex: none; padding: 4px 7px; border-radius: 999px; background: #E4EEFA; color: #1D5FA8; font: 700 11.5px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.pwml-chips__code--b { background: #EFE8FD; color: #6D28D9; }

.pwml-split { position: relative; margin: 0; padding: 0 0 16px; border-radius: 22px; background: linear-gradient(160deg, #F7FAFD, #EAF3F8); border: 1px solid #DCE6EF; box-shadow: 0 44px 80px -50px rgba(8,34,56,.6); overflow: hidden; }
.pwml-split__bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid #E2EAF2; background: #fff; }
.pwml-split__tabs { display: inline-flex; gap: 4px; padding: 3px; border-radius: 10px; background: #F1F5F9; }
.pwml-split__tabs b { min-width: 40px; padding: 6px 10px; border-radius: 8px; text-align: center; font: 700 12px/1 var(--f-body); letter-spacing: .06em; color: #64748B; transition: background-color 300ms, color 300ms, box-shadow 300ms; }
.pwml-split__tabs b.is-on { background: #082238; color: #fff; box-shadow: 0 6px 12px -8px rgba(8,34,56,.7); }
.pwml-split__bar em { margin-left: auto; font-style: normal; font: 700 10.5px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: #1D5FA8; }
.pwml-split__stage { position: relative; height: 318px; margin: 22px 24px 4px; }
.pwml-sheet { position: absolute; left: 0; top: 62px; width: 78%; padding: 16px 18px 18px; border-radius: 16px; background: #fff; border: 1px solid #DCE4EE; box-shadow: 0 22px 40px -28px rgba(8,34,56,.65); transition: transform 700ms cubic-bezier(.2,.9,.25,1), opacity 500ms, box-shadow 400ms, border-color 400ms; transform-origin: 20% 100%; }
.pwml-sheet[data-pos="0"] { z-index: 3; border-color: #9CC2E6; }
.pwml-sheet[data-pos="1"] { z-index: 2; transform: translate(14%, -26px) rotate(2.5deg) scale(.96); }
.pwml-sheet[data-pos="2"] { z-index: 1; transform: translate(27%, -52px) rotate(5deg) scale(.92); }
.pwml-sheet > * { transition: opacity 400ms; }
.pwml-sheet:not([data-pos="0"]) > .pwml-sheet__k, .pwml-sheet:not([data-pos="0"]) > .pwml-sheet__h, .pwml-sheet:not([data-pos="0"]) > .pwml-sheet__btn, .pwml-sheet:not([data-pos="0"]) > .pwml-sheet__tag { opacity: 0; }
.pwml-sheet:not([data-pos="0"]) > .pwml-sheet__url { opacity: .7; }
.pwml-split.is-arm .pwml-sheet:not([data-pos="0"]) { transform: none; opacity: 0; }
.pwml-split.is-arm.is-open .pwml-sheet { opacity: 1; }
.pwml-split.is-arm.is-open .pwml-sheet[data-pos="1"] { transform: translate(14%, -26px) rotate(2.5deg) scale(.96); }
.pwml-split.is-arm.is-open .pwml-sheet[data-pos="2"] { transform: translate(27%, -52px) rotate(5deg) scale(.92); }
.pwml-sheet__url { display: flex; align-items: center; gap: 6px; margin: 0 0 14px; padding: 7px 10px; border-radius: 8px; background: #F3F7F9; font: 500 12px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; color: #64748B; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pwml-sheet__url i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #3FB97A; }
.pwml-sheet__url b { font-weight: 700; color: #1D5FA8; }
.pwml-sheet__k { margin: 0; font: 700 10.5px/1.3 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: #0E7C86; }
.pwml-sheet__h { margin: 6px 0 12px; font: 700 21px/1.22 var(--f-display); letter-spacing: -.02em; color: #082238; }
.pwml-sheet__ln { display: block; height: 8px; margin-top: 7px; border-radius: 4px; background: #E8EEF4; }
.pwml-sheet__ln--s { width: 64%; }
.pwml-sheet__btn { display: inline-block; margin-top: 16px; padding: 9px 14px; border-radius: 10px; background: #FFB81C; color: #082238; font: 700 13px/1 var(--f-body); }
.pwml-sheet__tag { position: absolute; right: 14px; bottom: 16px; padding: 4px 8px; border-radius: 6px; background: #EFE8FD; color: #6D28D9; font: 600 11px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; }
.pwml-split__cap { display: flex; align-items: center; gap: 8px; margin: 0 24px; padding: 10px 14px; border-radius: 12px; background: #082238; color: #CFE3EE; font: 600 13px/1.35 var(--f-body); }
.pwml-split__dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #3FB97A; box-shadow: 0 0 0 4px rgba(63,185,122,.25); }

/* ---------- fit: verdict list ---------- */
.pwml-fit__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 36px 0 0; padding: 0; list-style: none; }
.pwml-fit__list li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; padding: 18px 20px; border-radius: 16px; background: #fff; border: 1px solid #E2E8F0; font-size: 15px; line-height: 1.55; color: #475569; }
.pwml-fit__list li.is-no { background: #F8FAFC; border-style: dashed; border-color: #CBD5E1; }
.pwml-fit__list b { display: block; margin-bottom: 3px; font: 700 16.5px/1.35 var(--f-display); color: #082238; }
.pwml-fit__pill { margin-top: 2px; padding: 5px 10px; border-radius: 999px; font: 700 11px/1.1 var(--f-body); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.is-yes .pwml-fit__pill { background: #E8F5EC; color: #2F7D4A; }
.is-no .pwml-fit__pill { background: #fff; color: #9A5B00; border: 1px solid #F3D48A; }

/* ---------- services ---------- */
.pwml-svc__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.pwml-card { grid-column: span 2; position: relative; padding: 22px 22px 20px; border-radius: 18px; background: #fff; border: 1px solid #E2E8F0; border-top: 4px solid var(--c); box-shadow: 0 16px 34px -30px rgba(8,34,56,.6); }
.pwml-card:nth-child(4), .pwml-card:nth-child(5) { grid-column: span 3; }
.pwml-card__code { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--bg); color: var(--c); font: 800 14px/1 var(--f-display); }
.pwml-card h3 { margin: 14px 0 8px; font: 700 19px/1.3 var(--f-display); color: #082238; }
.pwml-card p { margin: 0; font-size: 15px; line-height: 1.6; color: #475569; }

/* ---------- story: workflow swimlanes ---------- */
.pwml-lanes { position: relative; display: grid; grid-template-columns: 150px repeat(4, minmax(0, 1fr)); grid-template-rows: auto repeat(4, minmax(118px, auto)); gap: 10px; margin-top: 40px; padding: 14px; border-radius: 20px; background: #fff; border: 1px solid #E2E8F0; }
.pwml-lanes__head { display: contents; }
.pwml-lanes__head span { grid-row: 1; padding: 6px 10px; font: 700 11.5px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: #64748B; }
.pwml-lanes__head span:nth-child(2) { grid-column: 2; } .pwml-lanes__head span:nth-child(3) { grid-column: 3; }
.pwml-lanes__head span:nth-child(4) { grid-column: 4; } .pwml-lanes__head span:nth-child(5) { grid-column: 5; }
.pwml-lanes__name { grid-column: 1; grid-row: var(--r); display: flex; flex-direction: column; justify-content: center; padding: 12px 14px; border-radius: 12px; background: #F3F7F9; }
.pwml-lanes__name b { font: 700 15px/1.25 var(--f-display); color: #082238; }
.pwml-lanes__name small { font: 500 12.5px/1.3 var(--f-body); color: #64748B; }
.pwml-lanes::before { content: ""; grid-column: 2 / -1; grid-row: 2 / -1; border-radius: 12px; background: repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), #E8EEF4 calc(25% - 1px) 25%), repeating-linear-gradient(180deg, #FAFCFD 0 25%, #F4F7FA 25% 50%); }
.pwml-lanes__steps { display: contents; }
.pwml-step { grid-column: var(--c); grid-row: var(--r); align-self: center; margin: 4px; padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid #E2E8F0; border-left: 4px solid var(--k); box-shadow: 0 12px 22px -18px rgba(8,34,56,.55); font-size: 13.5px; line-height: 1.5; color: #475569; transition: opacity 500ms, transform 500ms cubic-bezier(.2,.9,.25,1); }
.pwml-step b { display: block; margin-bottom: 3px; font: 700 15px/1.3 var(--f-display); color: #082238; }
.pwml-step code { padding: 1px 5px; border-radius: 5px; background: #EEF3FA; color: #1D5FA8; font: 600 12px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; }
.pwml-step__lane { display: none; }
.pwml-step--go { background: #F2FBF5; }
.pwml-lanes.is-arm .pwml-step { opacity: 0; transform: translateY(14px) scale(.97); }
.pwml-lanes.is-arm .pwml-step.is-on { opacity: 1; transform: none; }
.pwml-story__note { margin: 18px 0 0; font-size: 14px; color: #64748B; }

/* ---------- interactive: URL chooser (dark band) ---------- */
.pwml-url__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 22px; margin-top: 34px; align-items: start; }
.pwml-url__pick { display: grid; gap: 14px; }
.pwml-url__pick fieldset { margin: 0; padding: 16px 18px; border: 1px solid rgba(159,192,216,.22); border-radius: 16px; background: rgba(255,255,255,.05); }
.pwml-url__pick legend { display: flex; align-items: center; gap: 10px; padding: 0 6px; font: 700 15px/1.2 var(--f-display); color: #fff; }
.pwml-url__pick legend span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #FFB81C; color: #082238; font: 800 12px/1 var(--f-body); }
.pwml-opts { display: grid; gap: 8px; margin-top: 10px; }
.pwml-opts--langs { display: flex; flex-wrap: wrap; }
.pwml-opts label { position: relative; cursor: pointer; }
.pwml-opts input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pwml-opts span { display: block; padding: 10px 13px; border-radius: 10px; border: 1px solid rgba(159,192,216,.35); color: #D7E6F0; font: 600 13.5px/1.35 var(--f-body); transition: background-color 200ms, border-color 200ms, color 200ms; }
.pwml-opts span b { display: block; font: 700 14.5px/1.3 var(--f-display); color: inherit; }
.pwml-opts--langs span { display: inline-block; }
.pwml-opts label:hover span { border-color: #9FC0D8; }
.pwml-opts input:checked + span { background: #fff; border-color: #fff; color: #082238; }
.pwml-opts input:focus-visible + span { outline: 3px solid #FFB81C; outline-offset: 2px; }
.pwml-url__out { min-width: 0; padding: 20px; border-radius: 18px; background: #F7FAFC; color: #334155; box-shadow: 0 40px 70px -40px rgba(0,0,0,.6); }
.pwml-url__say { margin: 0 2px 14px; font: 600 15.5px/1.5 var(--f-body); color: #082238; }
.pwml-url__lab { margin: 0 0 8px; font: 700 10.5px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: #64748B; }
.pwml-url__table { padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid #E2E8F0; }
.pwml-url__table ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pwml-url__table li { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; align-items: baseline; font-size: 13.5px; }
.pwml-url__table li span { font-weight: 700; color: #082238; }
.pwml-url__table li code { overflow-wrap: anywhere; font: 600 12.5px/1.45 ui-monospace, SFMono-Regular, Menlo, monospace; color: #1D5FA8; }
.pwml-url__table li.is-new { animation: pwml-pop 420ms cubic-bezier(.2,1.3,.4,1); }
@keyframes pwml-pop { from { transform: translateX(-8px); opacity: .3; } to { transform: none; opacity: 1; } }
.pwml-url__code { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: #082238; }
.pwml-url__code .pwml-url__lab { color: #8FB3CA; }
.pwml-url__code pre { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font: 500 12px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; color: #D7E6F0; }
.pwml-url__code pre i { font-style: normal; color: #5FD3F3; }
.pwml-url__code pre em { font-style: normal; color: #FFD27A; }
.pwml-url__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 12px 0 0; }
.pwml-url__facts div { padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid #E2E8F0; }
.pwml-url__facts dt { font: 700 10.5px/1.2 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: #64748B; }
.pwml-url__facts dd { margin: 4px 0 0; font-size: 13.5px; line-height: 1.5; color: #334155; }
.pwml-url__facts div.is-take { grid-column: 1 / -1; background: #FFFBF0; border-color: #F3D48A; }
.pwml-url__warn { margin: 12px 0 0; padding: 11px 14px; border-radius: 12px; background: #FFF6DD; border: 1px solid #F3D48A; font-size: 14px; line-height: 1.5; color: #6B4A00; }
.pwml-url__foot { margin: 22px 0 0; font-size: 14px; line-height: 1.55; color: #9FC0D8; }

/* ---------- Zoho ---------- */
.pwml-zo__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.pwml-zo__card { display: flex; flex-direction: column; padding: 22px; border-radius: 18px; background: #fff; border: 1px solid #E2E8F0; box-shadow: 0 16px 34px -30px rgba(8,34,56,.6); }
.pwml-zo__card header { display: flex; align-items: center; gap: 12px; }
.pwml-zo__card header img { flex: none; width: 44px; height: 44px; padding: 6px; border-radius: 12px; background: #F3F7F9; border: 1px solid #E2E8F0; }
.pwml-zo__card h3 { margin: 0; font: 700 17.5px/1.3 var(--f-display); color: #082238; }
.pwml-zo__card p { margin: 14px 0 16px; font-size: 15px; line-height: 1.6; color: #475569; }
.pwml-zo__rec { display: grid; gap: 0; margin: auto 0 0; border-radius: 12px; border: 1px solid #E2E8F0; overflow: hidden; font-size: 13px; }
.pwml-zo__rec div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 8px; padding: 8px 12px; border-top: 1px solid #EEF2F6; }
.pwml-zo__rec div:first-child { border-top: 0; }
.pwml-zo__rec dt { font-weight: 600; color: #64748B; }
.pwml-zo__rec dd { margin: 0; font-weight: 600; color: #082238; overflow-wrap: anywhere; }
.pwml-zo__more { max-width: 880px; margin: 22px 0 0; font-size: 15.5px; line-height: 1.65; color: #475569; }

/* ---------- pricing ---------- */
.pwml-price__plans { margin-top: 32px; border-radius: 18px; border: 1px solid #E2E8F0; background: #fff; overflow: hidden; }
.pwml-price__row { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); align-items: center; border-top: 1px solid #EEF2F6; }
.pwml-price__row:first-child { border-top: 0; }
.pwml-price__row > span { padding: 13px 16px; font-size: 14.5px; color: #334155; }
.pwml-price__row > span[role="rowheader"] { font-weight: 600; color: #082238; }
.pwml-price__row--head { background: #F3F7F9; }
.pwml-price__row--head small { font: inherit; }
.pwml-price__row--head > span { font: 700 12px/1.3 var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: #64748B; }
.pwml-price__row--head > span:nth-child(3) { color: #1D5FA8; }
.pwml-price__row > span:nth-child(3) { background: rgba(29,95,168,.04); }
.pwml-price__row > span.y { font-weight: 700; color: #2F7D4A; }
.pwml-price__row > span.n { color: #94A3B8; }
.pwml-price__row > span[data-span] { grid-column: span 3; color: #475569; background: none; }
.pwml-price__notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.pwml-price__notes p { margin: 0; padding: 14px 16px; border-radius: 14px; background: #F3F7F9; font-size: 14.5px; line-height: 1.55; color: #475569; }
.pwml-price__notes b { display: block; color: #082238; }
.pwml-price__ours { max-width: 880px; margin: 22px 0 0; padding: 16px 20px; border-left: 4px solid #FFB81C; border-radius: 0 12px 12px 0; background: #FFFBF0; font-size: 15.5px; line-height: 1.6; color: #334155; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .pwml-hero .pwml-hero__grid, .pwml-url__grid { grid-template-columns: 1fr; }
  .pwml-split { max-width: 580px; }
  .pwml-zo__grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .pwml-lanes { display: block; padding: 0; border: 0; background: none; }
  .pwml-lanes::before, .pwml-lanes__head, .pwml-lanes__name { display: none; }
  .pwml-lanes__steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
  .pwml-step { grid-column: auto; grid-row: auto; margin: 0; font-size: 14.5px; }
  .pwml-step__lane { display: block; margin-bottom: 4px; font: 700 11px/1.2 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--k); }
}
@media (max-width: 820px) {
  .pwml-fit__list { grid-template-columns: 1fr; }
  .pwml-svc__grid { grid-template-columns: 1fr 1fr; }
  .pwml-card, .pwml-card:nth-child(4), .pwml-card:nth-child(5) { grid-column: span 1; }
  .pwml-card:nth-child(5) { grid-column: span 2; }
  .pwml-price__notes { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pwml-svc__grid { grid-template-columns: 1fr; }
  .pwml-card:nth-child(5) { grid-column: span 1; }
  .pwml-fit__list li { grid-template-columns: 1fr; gap: 8px; }
  .pwml-fit__pill { justify-self: start; }
  .pwml-split__stage { height: 300px; margin: 14px 14px 4px; }
  .pwml-sheet { top: 50px; }
  .pwml-sheet { width: 84%; padding: 14px; }
  .pwml-sheet[data-pos="1"], .pwml-split.is-arm.is-open .pwml-sheet[data-pos="1"] { transform: translate(9%, -22px) rotate(2deg) scale(.96); }
  .pwml-sheet[data-pos="2"], .pwml-split.is-arm.is-open .pwml-sheet[data-pos="2"] { transform: translate(17%, -44px) rotate(4deg) scale(.92); }
  .pwml-sheet__h { font-size: 18px; }
  .pwml-sheet__tag { position: static; display: inline-block; margin: 12px 0 0 8px; }
  .pwml-split__cap { margin: 0 14px; }
  .pwml-url__out { padding: 14px; }
  .pwml-url__table li { grid-template-columns: 1fr; gap: 0; }
  .pwml-url__facts { grid-template-columns: 1fr; }
  .pwml-price__row { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); }
  .pwml-price__row > span { padding: 11px 6px; font-size: 12.5px; text-align: center; overflow-wrap: anywhere; }
  .pwml-price__row > span[role="rowheader"], .pwml-price__row--head > span:first-child { padding-left: 12px; text-align: left; }
  .pwml-price__row--head > span { font-size: 10.5px; letter-spacing: .02em; overflow-wrap: normal; }
  .pwml-price__row--head small { display: none; }
  .pwml-zo__rec div { grid-template-columns: 82px minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .pwml-sheet, .pwml-step, .pwml-split__tabs b, .pwml-opts span { transition: none !important; }
  .pwml-url__table li.is-new { animation: none; }
}
