/* x-m3.css - one motif per place (Gal, 2026-10-15: "multiple motifs repeat themselves ... make each different so the
   customer doesn't read the same thing"). Code-built example cards (no photos, no people) in the hero, the journey
   and the services tabs. Loaded after a11y.css. */

/* ── hero · the example website (the phone the film flies into): three wireframe sites of different trades ──
   The .website-card / .website-photo boxes keep Gal's sizes (365 x 610, the 381 px screen), so the film still lands
   on the same four corners; every child of .website-photo stays hidden until the film has landed (x-m2.css). */
.w2g-wire .website-photo { background: #0b2a5c; }
.w2g-wire .wire-bg { position: absolute; inset: 0; }
.wire-elec { background: radial-gradient(120% 70% at 80% 0%, #2f74e6 0, transparent 60%), linear-gradient(165deg, #0a2a66 0%, #0d47b8 58%, #0a3a90 100%); }
.wire-plumb { background: radial-gradient(120% 70% at 80% 0%, #1aa3b8 0, transparent 60%), linear-gradient(165deg, #053a4a 0%, #0a6577 58%, #06485a 100%); }
.wire-ac { background: radial-gradient(120% 70% at 80% 0%, #7a63e8 0, transparent 60%), linear-gradient(165deg, #2a1b66 0%, #4b33b0 58%, #33227d 100%); }
.w2g-wire .wire-nav { position: absolute; top: 18px; left: 18px; right: 18px; display: flex; align-items: center; gap: 7px; direction: ltr; }
.w2g-wire .wire-nav i { width: 26px; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .28); }
.w2g-wire .wire-nav b { margin-left: auto; width: 74px; height: 12px; border-radius: 6px; background: rgba(255, 255, 255, .55); }
.w2g-wire .wire-icon { position: absolute; top: 44px; left: 50%; transform: translateX(-50%); width: 76px; height: 76px; border-radius: 22px; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .32); box-shadow: 0 10px 24px rgba(2, 10, 30, .25); }
.w2g-wire .website-photo-copy h3 { font-size: 31px; }
.w2g-wire .website-photo-copy p { font-size: 18px; margin-top: 10px; color: #eef4ff; }
.w2g-wire .example-cta { background: #fff; color: #07132b; font-weight: 700; min-height: 58px; margin-top: 18px; }
.w2g-wire .example-cta svg { color: #0a4fd0; }
.w2g-wire .website-features.wire-foot { display: block; direction: rtl; padding: 11px 12px 10px; }
.w2g-wire .website-features > .wire-tiles, .w2g-wire .website-features > .wire-sticky { display: flex; flex-direction: row; align-items: stretch; text-align: center; gap: 8px; }
.w2g-wire .wire-tiles > span { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 7px 4px 6px; border-radius: 12px; background: #f2f7fd; border: 1px solid #e3ecf7; color: #0a5ad8; }
.w2g-wire .wire-tiles b { font-size: 12.5px; font-weight: 600; color: #34496a; white-space: nowrap; }
.w2g-wire .website-features > .wire-sticky { margin-top: 9px; }
.w2g-wire .wire-sticky > span { flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px; height: 42px; border-radius: 14px; font-size: 15px; font-weight: 700; }
.w2g-wire .wire-wa { background: #dff7ea; color: #0a6b3b; }
.w2g-wire .wire-call { background: #0a5ad8; color: #fff; }

/* ── hero · the search card: a generic trade search, an icon tile instead of a photo ── */
.search-tile { width: 70px; height: 86px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; color: #0a5ad8; background: linear-gradient(160deg, #e9f2ff, #d7e8ff); border: 1px solid #cfe1fb; }
/* the card's right edge tucks under the phone (more toward its foot: the two cards lean apart), so its lower rows keep
   their words and buttons clear of that strip; the card itself stays where Gal placed it (Gal, 2026-10-16: "assets and
   phones hide the text of other assets, so we need to move them a little") */
.search-card .search-business { padding-right: 58px; gap: 9px; }
.search-card .search-tile { width: 62px; height: 78px; }
.search-card .search-actions { padding-right: 70px; }
/* the growth arrow sits 14px higher, off the chat card's «פנייה חדשה» (site.js heroActors has the same y for the moving scene) */
.arrow-position { transform: translate3d(713px, 88px, 60px) rotate(-7deg); }
/* phones: the glass ribbon passes behind the cards, as on desktop, not in front of them: in front it lay over the phone's
   tiles and buttons and the chat card's foot (x-m1.css had the phones' world at z 2) */
#top.m1-front .m1-hero-gl { z-index: 0; }

/* ── hero · the enquiry card: a WhatsApp-style chat, one incoming request (no name) ── */
.w2g-chat { display: flex; flex-direction: column; text-align: start; padding: 0 0 9px; }
.w2g-chat .chat-head { display: flex; align-items: center; gap: 9px; padding: 34px 11px 10px; background: #0b5f4a; color: #fff; }
.w2g-chat .chat-ic { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .16); }
.w2g-chat .chat-head b { display: block; font-size: 17px; font-weight: 800; line-height: 1.2; }
.w2g-chat .chat-head small { display: block; font-size: 12px; color: #d8f3ea; }
.w2g-chat .chat-body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 9px; padding: 10px 10px 8px; background: #efeae2; }
.w2g-chat .chat-day { align-self: center; font-size: 11px; color: #4a5a6e; background: #fff; border-radius: 7px; padding: 2px 9px; }
.w2g-chat .chat-bubble { max-width: 92%; background: #fff; border-radius: 4px 12px 12px 12px; padding: 8px 10px 5px; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); }
.w2g-chat .chat-bubble p { font-size: 15px; line-height: 1.45; color: #102036; }
.w2g-chat .chat-time { display: block; text-align: end; font-size: 11px; color: #5d6b7c; margin-top: 2px; }
.w2g-chat .chat-reply { display: flex; align-items: center; gap: 7px; margin: 8px 9px 0; }
.w2g-chat .chat-reply span { flex: 1; font-size: 13px; color: #5d6b7c; background: #f3f5f8; border-radius: 16px; padding: 7px 11px; }
.w2g-chat .chat-reply i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #0b8a63; color: #fff; }
.w2g-chat .example-label { text-align: center; margin-top: 6px; }
/* while the hero's side cards step aside (x-hero.js fades them by opacity), their text waits, as in the journey and the demo
   slides (a11y.css), so no text is drawn at low contrast */
#top .w2g-faint :is(h3,h4,p,span,small,b,strong,li){visibility:hidden}

/* ── journey: four chapters (01 site · 02 enquiries · 03 content · 04 Google and Maps); chapter 00 is gone, so the
   pinned track is about one chapter shorter (site.js CHAPTERS / SWITCHES) ── */
@media (min-width: 1001px) and (min-height: 681px) and (prefers-reduced-motion: no-preference) and (scripting: enabled) {
  .cinematic-journey.cinema-moving { height: 480svh; }
}
/* 02: the phone shows incoming enquiries as notifications (no person; labelled as an example) */
.cinema-notify { display: flex; flex-direction: column; gap: 8px; padding: 30px 8px 40px; background: radial-gradient(120% 60% at 50% 0%, #1d4f9e 0, transparent 70%), linear-gradient(180deg, #0b2550, #071a3a); direction: rtl; }
.cinema-notify .notify-clock { align-self: center; font-size: 26px; font-weight: 300; color: #eaf3ff; letter-spacing: .5px; margin-bottom: 6px; }
.cinema-notify .notify-card { display: flex; align-items: center; gap: 7px; padding: 8px 8px; border-radius: 12px; background: rgba(240, 246, 255, .94); color: #07132b; box-shadow: 0 4px 12px rgba(0, 10, 30, .3); }
.cinema-notify .notify-card b { display: block; font-size: 11px; font-weight: 800; line-height: 1.25; white-space: nowrap; }
.cinema-notify .notify-card small { display: block; font-size: 10px; color: #3d5274; line-height: 1.3; white-space: nowrap; }
.cinema-notify .notify-ic { width: 26px; height: 26px; flex-shrink: 0; border-radius: 8px; display: grid; place-items: center; color: #fff; }
.cinema-notify .n-g { background: #1a6cf0; }
.cinema-notify .n-w { background: #0b8a63; }
.cinema-notify .n-m { background: #d1453b; }
/* 04: the local card's thumbnail is an icon tile (no photo) */
.cinema-local-tile { width: 70px; height: 78px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; color: #0a5ad8; background: linear-gradient(160deg, #e9f2ff, #d5e7ff); border: 1px solid #cfe1fb; }

/* ── services (desktop; a11y.css hides the art on phones): one example per tab, code-built, labelled ── */
.svc-example { display: block; text-align: center; font-size: 12px; color: #58709a; margin-top: 8px; }
/* tab 0 · the way through a page to the enquiry */
.svc-flow { display: flex; align-items: stretch; justify-content: space-between; gap: 6px; min-height: 225px; padding: 18px 10px; border-radius: 12px; background: linear-gradient(160deg, #f3f8ff, #e8f1fd); direction: rtl; }
.svc-flow > div { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 14px 6px; border-radius: 14px; background: #fff; border: 1px solid #dfeaf7; box-shadow: 0 6px 16px rgba(55, 101, 130, .08); }
.svc-flow b { font-size: 15px; line-height: 1.25; color: #07132b; }
.svc-flow small { font-size: 12px; color: #58709a; line-height: 1.35; }
.svc-flow-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #e7f0ff; color: #0a5ad8; }
.svc-flow-ic.s-wa { background: #dff7ea; color: #0a6b3b; }
.svc-flow-arrow { align-self: center; flex-shrink: 0; color: #8fb0d8; }
/* tab 0 · the phone: a mobile page in blocks with a sticky bar */
.svc-wire { height: 100%; display: flex; flex-direction: column; gap: 7px; padding: 8px 7px 7px; background: #f4f8fd; direction: rtl; }
.svc-wire-bar { display: flex; justify-content: space-between; align-items: center; }
.svc-wire-bar b { width: 42%; height: 8px; border-radius: 4px; background: #9fb7d6; }
.svc-wire-bar i { width: 14px; height: 8px; border-radius: 3px; background: #c4d4e8; }
.svc-wire-hero { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; padding: 12px 8px; border-radius: 9px; background: linear-gradient(160deg, #1d5fd0, #0b3c94); }
.svc-wire-hero i { width: 80%; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .8); }
.svc-wire-hero i + i { width: 58%; background: rgba(255, 255, 255, .5); }
.svc-wire-hero span { width: 54%; height: 14px; margin-top: 4px; border-radius: 6px; background: #fff; }
.svc-wire-row { display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 8px; background: #fff; border: 1px solid #e1eaf5; }
.svc-wire-row span { width: 18px; height: 18px; border-radius: 6px; display: grid; place-items: center; background: #e7f0ff; color: #0a5ad8; flex-shrink: 0; }
.svc-wire-row i { flex: 1; height: 6px; border-radius: 3px; background: #c9d8ea; }
.svc-wire-sticky { margin-top: auto; display: flex; gap: 5px; }
.svc-wire-sticky span { flex: 1; display: flex; align-items: center; justify-content: center; gap: 4px; height: 26px; border-radius: 9px; font-size: 10.5px; font-weight: 700; }
.svc-wire-sticky .s-wa { background: #dff7ea; color: #0a6b3b; }
.svc-wire-sticky .s-call { background: #0a5ad8; color: #fff; }
/* tab 1 · what goes into the Business Profile */
.svc-gbp { padding: 8px 6px 2px; direction: rtl; }
.svc-gbp-head { display: flex; align-items: center; gap: 12px; padding: 2px 4px 10px; border-bottom: 1px solid #e7eff9; }
.svc-gbp-head .tone-icon { width: 46px; height: 46px; border-radius: 15px; }
.svc-gbp-head b { display: block; font-size: 19px; font-weight: 800; color: #07132b; }
.svc-gbp-head small { display: block; font-size: 13px; color: #58709a; margin-top: 2px; }
.svc-gbp ul { list-style: none; margin: 0; padding: 6px 0 0; }
.svc-gbp li { display: flex; align-items: center; gap: 11px; padding: 7px 6px; border-bottom: 1px solid #eef3f9; font-size: 15px; color: #1f3352; }
.svc-gbp li > svg { color: #0b8f80; flex-shrink: 0; }
.svc-gbp li > span { flex: 1; }
.svc-gbp li > i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #dff7f1; color: #007a69; }
/* tab 2 · a sponsored search result */
.svc-ad { padding: 6px 4px 0; direction: rtl; }
.svc-ad-card { margin-top: 4px; padding: 13px 14px 12px; border-radius: 14px; background: #fbfdff; border: 1px solid #e3ecf7; text-align: start; }
.svc-ad-top { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #3d5274; }
.svc-ad-top b { font-size: 12px; font-weight: 800; color: #07132b; background: #eef2f7; border-radius: 6px; padding: 2px 7px; }
.svc-ad-card h4 { margin: 8px 0 0; font-size: 17px; line-height: 1.35; font-weight: 700; color: #1736a8; }
.svc-ad-card p { margin-top: 6px; font-size: 13.5px; line-height: 1.5; color: #3d5274; }
.svc-ad-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.svc-ad-links span { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: #0a4fc4; background: #edf4ff; border-radius: 14px; padding: 4px 10px; }
/* tab 3 · a weekly content calendar */
.svc-cal { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; padding: 0 4px; direction: rtl; }
.svc-cal > div { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 10px 4px 11px; border-radius: 13px; background: #f6f3ff; border: 1px solid #e7e0ff; text-align: center; }
.svc-cal b { font-size: 14px; font-weight: 800; color: #4b2fc9; }
.svc-cal span { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: #6742e5; box-shadow: 0 3px 8px rgba(80, 50, 200, .1); }
.svc-cal small { font-size: 12px; line-height: 1.3; color: #3d3a66; }
/* tabs 1-3: the phone (a website example) steps out, and the board starts under «הכול עובד ביחד» like tab 0's */
.service-art-1 .service-phone-art, .service-art-2 .service-phone-art, .service-art-3 .service-phone-art { visibility: hidden; }
.service-art-1 .service-main-art, .service-art-2 .service-main-art, .service-art-3 .service-main-art { top: 104px; }
/* services: the board's top line rose under «הכול עובד ביחד» as the board travels up with the scroll, and the phone's
   edge sat on the first step's words: the note sits a little higher, the steps keep a little more room at the phone's
   side (Gal, 2026-10-16: "assets and phones hide the text of other assets, so we need to move them a little") */
@media (min-width: 1001px) { .service-note { top: 8px; } }
.svc-flow { padding-right: 28px; }
/* the services phone's page fits its screen: on the smaller desktop layouts (the phone ~125px wide, 1001-1250px) the
   sticky bar's «וואטסאפ / חיוג» ran out of the screen, sideways and below it. The screen is a size container: when it
   is narrow, the page drops its third row and tightens its gaps, the bar keeps its words without the icons; its words
   are 11px everywhere (they were 10.5px) */
.service-phone-screen { container-type: inline-size; }
.svc-wire-sticky span { font-size: 11px; }
@container (max-width: 160px) {
  .svc-wire { gap: 5px; padding: 6px 6px 6px; }
  .svc-wire-hero { padding: 9px 7px; }
  .svc-wire-row { padding: 5px; }
  .svc-wire-row ~ .svc-wire-row ~ .svc-wire-row { display: none; }
  .svc-wire-sticky span { gap: 0; }
  .svc-wire-sticky svg { display: none; }
}
/* the megaphone passes behind the board (as the play button does), not over its corner: tabs 1-3 have words there (the
   ad's title, the calendar's days), and the board travels up under it as the page scrolls on */
.service-art-stage .megaphone-art { z-index: 1; }
