/* Large editorial scenes using client artwork managed in the existing CMS.
 * Unslop by Damir Sokolovsky, https://heydamir.design/unslop, CC BY 4.0. */
.p1-home .p1-shell{width:min(1520px,calc(100% - 96px))}
.p1-home .p1-section{padding-block:clamp(80px,8vw,136px)}
.p1-home h2{font-size:clamp(36px,3.7vw,60px);line-height:1.3}
.p1-home [id]{scroll-margin-top:128px}

/* One generous scene for the selected service. */
.p1-home .p1-solution-journey{min-height:100svh}
.p1-home .p1-journey-heading{margin-bottom:40px}
.p1-home .p1-solution-panel,.p1-home .p1-solution-panel[hidden]{display:grid!important;grid-template-columns:minmax(0,1.4fr) minmax(0,.8fr);align-items:center;gap:clamp(40px,6vw,104px);padding-top:40px}
.p1-home .p1-solution-media{height:clamp(420px,56svh,720px);width:100%;max-width:none;margin:0;padding:0;background:#f2f4f6;border-radius:0;overflow:hidden}
.p1-home .p1-solution-kind-card .p1-solution-media>img{object-fit:cover;object-position:center}
.p1-home .p1-solution-kind-pos .p1-solution-media>img{object-fit:cover;object-position:25% center}
.p1-home .p1-solution-kind-gateway .p1-solution-media{padding:40px;background:#edf5f5}
.p1-home .p1-solution-caption{display:block;border:0;padding:0;max-width:480px}
.p1-home .p1-solution-caption-position{display:block;margin-bottom:20px;padding:0}
.p1-home .p1-solution-caption h3{font-size:clamp(32px,3.4vw,52px);line-height:1.4;margin-bottom:20px}
.p1-home .p1-solution-caption p{font-size:19px;line-height:1.9;margin-bottom:28px}
.p1-home .p1-solution-caption>.p1-text-link{white-space:normal;margin:0}
/* Real company photography anchors the product illustrations. */
.p1-home .p1-about-story{min-height:90svh;display:grid;align-items:center;background:#eef4f5}
.p1-home .p1-about-story-grid{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(40px,6vw,96px)}
.p1-home .p1-about-story-copy h2{font-size:clamp(36px,3.7vw,60px);margin-bottom:24px}
.p1-home .p1-about-story-copy>p{font-size:19px;line-height:1.9;margin-bottom:28px}
.p1-home .p1-about-story-photo{height:clamp(420px,64svh,760px);border-radius:0;overflow:hidden}
/* The complete product panorama gets the width it was designed for. */
.p1-home .p1-app.p1-app-download{padding-block:96px 0;background:#f1f2f7;color:#004b87;min-height:100svh}
.p1-home .p1-app-download>.p1-shell{width:min(1774px,100%);display:block}
.p1-home .p1-download-copy{display:grid;grid-template-columns:1fr 1fr;gap:24px 72px;text-align:start;max-width:1520px;margin-inline:auto;padding-inline:48px}
.p1-home .p1-download-copy h2{color:#004b87;margin:0}
.p1-home .p1-download-copy>p{font-size:19px;color:#526a78;margin:0;max-width:620px}
.p1-home .p1-download-actions{grid-column:1/-1;flex-direction:row;align-items:center;gap:28px;margin:0}
.p1-home .p1-app-download .p1-download-actions .amwal-store-badges{justify-content:flex-start;flex-wrap:wrap}
.p1-home .p1-app-download .p1-download-actions .amwal-store-badge img{height:48px}
.p1-home .p1-download-actions>.p1-text-link{color:#004b87}
.p1-home .p1-download-actions>.p1-text-link:hover{color:#007f3e}
.p1-home .p1-app-download :is(a,button):focus-visible{outline-color:#004b87}
.p1-home .p1-download-scene{height:auto;aspect-ratio:2/1;margin:24px 0 0;max-width:none;overflow:hidden;border-radius:0}
.p1-home .p1-download-scene>img{object-fit:contain;object-position:center}
/* Useful actions and steps retain compact, aligned art stages. */
.p1-home .p1-support-card,.p1-home .p1-support-card:has(>.p1-guide-icon){grid-template-columns:160px minmax(0,1fr);gap:24px;padding-block:24px}
.p1-home .p1-support-card .p1-support-art{aspect-ratio:1;border-radius:0;overflow:hidden}
.p1-home .p1-support-art>img{object-fit:contain}
.p1-home .p1-support-card>.p1-guide-icon{width:160px;height:160px;margin:0;align-self:center;background:#f0f6f8;color:#004b87}
.p1-home .p1-support-card>.p1-guide-icon>.b-icon{width:56px;height:56px;stroke-width:1.4}
.p1-home .p1-process .p1-step-art,.p1-home .p1-process .p1-step>.p1-guide-icon{position:relative;flex:none;width:100%;max-width:260px;height:180px;aspect-ratio:auto;margin:0 auto 16px}
.p1-home .p1-step>.p1-guide-icon{display:grid;place-items:center;background:#f0f6f8;color:#004b87}
.p1-home .p1-step>.p1-guide-icon>.b-icon{width:56px;height:56px;stroke-width:1.4}
.p1-home .p1-process .p1-step-art>img{position:absolute;inset:0;width:100%;height:100%;min-width:0;min-height:0;object-fit:contain}
.p1-home .p1-process-grid{gap:32px}
@media(min-width:721px) and (max-width:1180px){
 .p1-home .p1-support-card,.p1-home .p1-support-card:has(>.p1-guide-icon){grid-template-columns:120px minmax(0,1fr);gap:20px}
 .p1-home .p1-support-card>.p1-guide-icon{width:120px;height:120px}
}
@media(min-width:721px) and (max-width:940px){
 .p1-home .p1-solution-panel,.p1-home .p1-solution-panel[hidden]{gap:32px;grid-template-columns:1.1fr .9fr}
 .p1-home .p1-download-copy{gap:24px 32px}
}

@media(max-width:720px){
 .p1-home .p1-shell{width:calc(100% - 40px)}
 .p1-home .p1-section{padding-block:64px}
 .p1-home h2{font-size:34px}
 .p1-home [id]{scroll-margin-top:104px}
 .p1-home .p1-solution-journey{min-height:0}
 .p1-home .p1-journey-heading{margin-bottom:24px}
 .p1-home .p1-solution-panel,.p1-home .p1-solution-panel[hidden]{grid-template-columns:minmax(0,1fr);gap:28px;padding-top:28px}
 .p1-home .p1-solution-media{height:clamp(300px,46svh,480px);border-radius:0;width:calc(100% + 40px);margin-inline:-20px}
 .p1-home .p1-solution-kind-gateway .p1-solution-media{padding:28px}
 .p1-home .p1-solution-caption{display:block;max-width:none}
 .p1-home .p1-solution-caption-position{margin-bottom:12px}
 .p1-home .p1-solution-caption h3{font-size:32px;margin-bottom:14px}
 .p1-home .p1-solution-caption p{font-size:17px;line-height:1.8;margin-bottom:16px}
 .p1-home .p1-about-story{min-height:0}
 .p1-home .p1-about-story-grid{grid-template-columns:minmax(0,1fr);gap:32px}
 .p1-home .p1-about-story-copy h2{font-size:34px}
 .p1-home .p1-about-story-copy>p{font-size:17px;line-height:1.9}
 .p1-home .p1-about-story-photo{height:clamp(340px,52svh,520px);width:calc(100% + 40px);margin-inline:-20px}
 .p1-home .p1-app.p1-app-download{padding-block:64px 0;min-height:0}
 .p1-home .p1-download-copy{display:block;padding-inline:20px}
 .p1-home .p1-download-copy h2{font-size:34px;margin-bottom:20px}
 .p1-home .p1-download-copy>p{font-size:17px;line-height:1.8}
 .p1-home .p1-download-actions{flex-direction:column;align-items:flex-start;gap:20px;margin-top:24px}
 .p1-home .p1-app-download .p1-download-actions .amwal-store-badges{gap:12px}
 .p1-home .p1-app-download .p1-download-actions .amwal-store-badge img{height:42px}
 .p1-home .p1-download-scene{height:auto;aspect-ratio:1.45;margin-top:24px}
 .p1-home .p1-support-card,.p1-home .p1-support-card:has(>.p1-guide-icon){grid-template-columns:112px minmax(0,1fr);gap:20px}
 .p1-home .p1-support-card>.p1-guide-icon{width:112px;height:112px}
 .p1-home .p1-support-card>.p1-guide-icon>.b-icon{width:44px;height:44px}
 .p1-home .p1-process .p1-step-art,.p1-home .p1-process .p1-step>.p1-guide-icon{max-width:220px;height:148px}
}
@media(max-width:380px){
 .p1-home .p1-shell{width:calc(100% - 32px)}
 .p1-home .p1-solution-media,.p1-home .p1-about-story-photo{width:calc(100% + 32px);margin-inline:-16px}
 .p1-home .p1-support-card,.p1-home .p1-support-card:has(>.p1-guide-icon){grid-template-columns:96px minmax(0,1fr);gap:16px}
 .p1-home .p1-support-card>.p1-guide-icon{width:96px;height:96px}
 .p1-home .p1-support-copy h3{font-size:21px}
 .p1-home .p1-support-copy p{font-size:16px}
}
/* One continuous full-screen photograph, with readable copy over the image. */
.p1-home{overflow:clip}
.p1-home .p1-hero-scroll{position:relative;background:#004b87}
.p1-home .p1-hero{height:100svh;min-height:700px;isolation:isolate;background:#004b87}
.p1-home .p1-hero:after{display:none}
.p1-home .p1-hero-grid,.p1-home .p1-hero.p1-has-slides .p1-hero-grid{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);position:relative;isolation:isolate;width:100%;height:100%;min-height:0;padding:0;gap:0;align-items:stretch}
.p1-home .p1-hero-grid:after{content:'';position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,rgba(0,30,55,.84),rgba(0,30,55,.5)38%,rgba(0,30,55,0)76%),linear-gradient(180deg,rgba(0,25,47,.66),transparent 28%,transparent 66%,rgba(0,25,47,.45))}
[dir=rtl] .p1-home .p1-hero-grid:after{background:linear-gradient(270deg,rgba(0,30,55,.84),rgba(0,30,55,.5)38%,rgba(0,30,55,0)76%),linear-gradient(180deg,rgba(0,25,47,.66),transparent 28%,transparent 66%,rgba(0,25,47,.45))}
.p1-home .p1-hero-copy{grid-area:1/1;position:relative;z-index:3;align-self:center;justify-self:start;width:min(700px,52%);max-width:none;padding:136px 48px 144px;margin-inline-start:max(0px,calc((100vw - 1616px)/2))}
.p1-home .p1-hero-copy .p1-overline{margin-bottom:20px!important}
.p1-home .p1-hero-copy .p1-hero-title{color:#fff;font-size:clamp(48px,4.4vw,76px);line-height:1.17;margin-bottom:24px}
[dir=rtl] .p1-home .p1-hero-copy .p1-hero-title{line-height:1.3}
.p1-home .p1-hero-description{color:#fff!important;font-size:18px!important;line-height:1.8!important;margin-bottom:28px!important;max-width:600px}
.p1-home .p1-hero .p1-actions{display:flex;flex-wrap:wrap;gap:12px}
.p1-home .p1-hero .p1-button{font-size:16px;min-height:54px;padding:15px 20px;gap:14px}
.p1-home .p1-hero-partners{margin-top:24px;gap:24px}
.p1-home .p1-hero-visual,.p1-home .p1-hero-visual-card.p1-hero-presentation-photo,.p1-home .p1-hero-visual-pos.p1-hero-presentation-photo,.p1-home .p1-hero-visual-app.p1-hero-presentation-image{grid-area:1/1;position:absolute;inset:0;z-index:0;width:100%;height:100%;max-width:none;min-height:0;aspect-ratio:auto;border:0;border-radius:0;margin:0;overflow:hidden;background:#edf0f4;perspective:none}
.p1-home .p1-hero-visual>picture{position:absolute;inset:0;display:block;width:100%;height:100%}
.p1-home .p1-hero-visual :is(.p1-hero-upload,.p1-hero-slide-image),.p1-home .p1-hero-visual .p1-handoff-layer img{display:block;position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:cover;object-position:center 60%;border:0;border-radius:0;box-shadow:none;transform:none}
.p1-home .p1-hero-visual-pos :is(.p1-hero-slide-image,.p1-handoff-layer img){object-position:28% center}
.p1-home .p1-hero-visual-app :is(.p1-hero-slide-image,.p1-handoff-layer img){object-position:center center}
.p1-home .p1-hero-controls{position:absolute;grid-area:auto;width:calc(100% - 192px);inset-inline:96px;top:auto;bottom:36px;margin:0;gap:24px;justify-content:space-between;flex-wrap:nowrap;color:#fff}
.p1-home .p1-hero-control-group{gap:16px}
.p1-home .p1-hero-controls .p1-carousel-arrow{width:44px;height:44px;background:#002b4960;border-color:#ffffffa0}
.p1-home .p1-hero-progress{width:auto}
.p1-home .p1-hero-controls .p1-carousel-dots{padding:0 8px}
.p1-home .p1-section{position:relative;z-index:2}
.p1-home .p1-solution-journey{background:#fff}
@media(max-width:1180px){
 .p1-home .p1-hero-copy{width:min(650px,66%);padding-inline:40px}
 .p1-home .p1-hero-copy .p1-hero-title{font-size:56px}
 .p1-home .p1-hero-controls{inset-inline:80px;width:calc(100% - 160px)}
}
@media(max-width:720px){
 .p1-home .p1-hero{min-height:700px;height:100svh}
 .p1-home .p1-hero-copy{width:100%;padding:112px 24px 116px;align-self:end;margin:0}
 .p1-home .p1-hero-copy .p1-hero-title{font-size:clamp(32px,9vw,44px);line-height:1.2;margin-bottom:14px}
 [dir=rtl] .p1-home .p1-hero-copy .p1-hero-title{line-height:1.3}
 .p1-home .p1-hero-copy .p1-overline{display:none}
 .p1-home .p1-hero-description{font-size:16px!important;line-height:1.65!important;margin-bottom:20px!important}
 .p1-home .p1-hero .p1-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .p1-home .p1-hero .p1-button{font-size:14px;min-height:48px;padding:12px 10px;line-height:1.4}
 .p1-home .p1-hero-grid:after,[dir=rtl] .p1-home .p1-hero-grid:after{background:linear-gradient(0deg,rgba(0,28,52,.96)0%,rgba(0,28,52,.78)32%,rgba(0,28,52,.12)75%),linear-gradient(180deg,rgba(0,28,52,.7),transparent 25%)}
 .p1-home .p1-hero-visual-card :is(.p1-hero-upload,.p1-handoff-layer img){object-position:58% center}
 .p1-home .p1-hero-visual-pos :is(.p1-hero-slide-image,.p1-handoff-layer img){object-position:22% center}
 .p1-home .p1-hero-visual-app :is(.p1-hero-slide-image,.p1-handoff-layer img){object-position:68% center}
 .p1-home .p1-hero-controls{inset-inline:24px;width:calc(100% - 48px);bottom:28px;gap:16px}
 .p1-home .p1-hero-control-group{gap:12px}
 .p1-home .p1-hero-controls .p1-carousel-arrow{width:40px;height:40px}
 .p1-home .p1-hero-controls .p1-carousel-dots{gap:4px;padding:0}
 .p1-home .p1-hero-partners{margin-top:20px}
}
@media(max-width:380px){
 .p1-home .p1-hero-copy{padding-inline:16px;padding-bottom:104px}
 .p1-home .p1-hero-controls{inset-inline:16px;width:calc(100% - 32px);bottom:20px;gap:8px}
 .p1-home .p1-hero-control-group{gap:8px}
 .p1-home .p1-hero-progress{display:none}
 .p1-home .p1-hero-copy .p1-hero-title{font-size:32px}
}
@media(prefers-reduced-motion:reduce){
 .p1-home .p1-hero-scroll[data-home-hero-motion]{height:auto}
 .p1-home .p1-hero-scroll[data-home-hero-motion]>.p1-hero{position:relative}
}

/* Client-selected POS photograph: one full-screen scene, copy in its calm right side. */
.p1-home .p1-hero-grid:has(.p1-hero-visual-primary) .p1-hero-copy{align-self:end;padding-block:160px 104px}
[dir=ltr] .p1-home .p1-hero-grid:has(.p1-hero-visual-primary) .p1-hero-copy{justify-self:end;margin-inline-start:0;margin-inline-end:max(0px,calc((100vw - 1616px)/2))}
.p1-home .p1-hero-grid:has(.p1-hero-visual-primary):after{background:linear-gradient(270deg,rgba(0,30,55,.77),rgba(0,30,55,.36)37%,transparent 73%),linear-gradient(180deg,rgba(0,25,47,.64),transparent 27%,transparent 75%,rgba(0,25,47,.35))}
.p1-home .p1-hero-visual-primary :is(.p1-hero-upload,.p1-handoff-layer img){object-position:left center}
.p1-home .p1-solution-overview,.p1-home .p1-solution-overview[hidden]{grid-template-columns:minmax(0,1fr);gap:24px}
.p1-home .p1-solution-overview .p1-solution-media{height:clamp(420px,62svh,720px);background:#f1f2f7}
.p1-home .p1-solution-overview>.p1-text-link{justify-self:end}
.p1-home .p1-solution-kind-app .p1-solution-media>img,.p1-home .p1-solution-kind-gateway .p1-solution-media>img{object-fit:cover;object-position:center}
.p1-home .p1-solution-kind-app .p1-solution-media>img{object-position:68% center}
.p1-home .p1-solution-kind-gateway .p1-solution-media{padding:0}
.p1-home .p1-download-photo>img{object-fit:cover;object-position:68% center}
@media(max-width:720px){
 .p1-home .p1-hero-grid:has(.p1-hero-visual-primary) .p1-hero-copy{padding:112px 24px 48px;align-self:end}
 .p1-home .p1-hero-grid:has(.p1-hero-visual-primary):after{background:linear-gradient(0deg,rgba(0,28,52,.94),rgba(0,28,52,.7)30%,transparent 76%),linear-gradient(180deg,rgba(0,28,52,.64),transparent 25%)}
 .p1-home .p1-hero-visual-primary :is(.p1-hero-upload,.p1-handoff-layer img){object-position:27% center}
 .p1-home .p1-solution-overview .p1-solution-media{height:clamp(300px,46svh,480px)}
}
@media(max-width:380px){
 .p1-home .p1-hero-grid:has(.p1-hero-visual-primary) .p1-hero-copy{padding-inline:16px;padding-bottom:36px}
 .b-home-preview .b-contact-dock--header .b-whatsapp-note{position:fixed;top:92px;left:16px;right:16px;inset-inline:16px;width:auto}
 .b-home-preview .b-contact-dock--header .b-whatsapp-note:after{display:none}
}
/* Qi-style overlap: the next full scene rises over the pinned photograph. */
.p1-home .p1-hero-scroll[data-home-hero-motion]{height:100svh;min-height:700px;position:sticky;top:0;z-index:0}
.p1-home .p1-hero-scroll[data-home-hero-motion]>.p1-hero{position:relative;top:auto}
.p1-home .p1-hero-scroll[data-hero-covered]{visibility:hidden}
@media(min-width:941px){
 .p1-home .p1-solution-tab:not(.is-current) .p1-solution-tab-arrow{display:none}
 .p1-home :is(.p1-support,.p1-process,.p1-about-story,.p1-news-immersive){min-height:100svh}
 .p1-home :is(.p1-support,.p1-process){display:grid;align-items:center}
 /* Keep the first-visit help notice clear of the hero's lower action buttons. */
 .b-home-preview .b-contact-dock--floating .b-whatsapp-note{position:fixed;top:128px;bottom:auto;inset-inline-start:24px}
 .b-home-preview .b-contact-dock--floating .b-whatsapp-note:after{display:none}
}
@media(min-width:941px) and (max-width:1400px){.p1-home .p1-solution-index{gap:24px}.p1-home .p1-solution-tab{font-size:18px;gap:10px}}
@media(prefers-reduced-motion:reduce){.p1-home .p1-hero-scroll[data-home-hero-motion]{position:relative;height:auto;min-height:0}}

/* Respect each CMS image's proportions instead of enlarging banners into portrait crops. */
.p1-home .p1-solution-media{height:auto;aspect-ratio:var(--p1-source-ratio,3/2);padding:0}
.p1-home .p1-solution-media>img{object-fit:contain;object-position:center}
.p1-home .p1-solution-kind-card .p1-solution-media{width:min(100%,520px);margin-inline:auto}
.p1-home .p1-solution-overview .p1-solution-media{height:auto;aspect-ratio:2/1}
.p1-home .p1-solution-kind-app,.p1-home .p1-solution-kind-app[hidden]{grid-template-columns:minmax(0,1fr);gap:24px}
.p1-home .p1-solution-kind-app .p1-solution-caption{max-width:760px}
.p1-home .p1-download-scene.p1-download-photo{height:auto;aspect-ratio:var(--p1-source-ratio,4.4/1)}
.p1-home .p1-download-scene.p1-download-photo>img{object-fit:contain;object-position:center}
.p1-home .p1-about-story-photo{height:auto;aspect-ratio:var(--p1-source-ratio,2/1)}
.p1-home .p1-about-story-photo>img{object-fit:contain}
.p1-home .p1-solution-media>[data-home-scroll-media],.p1-home .p1-download-scene>[data-home-scroll-media],.p1-home .p1-about-story-photo>[data-home-scroll-media]{scale:min(1,var(--amwal-scroll-scale,1));translate:0 max(0px,var(--amwal-scroll-y,0px))}
@media(max-width:720px){
 .p1-home .p1-solution-kind-card .p1-solution-media{width:100%;margin-inline:0}
 /* Reframe only the wide photograph's background, keeping the phone inside the view. */
 .p1-home .p1-solution-kind-app .p1-solution-media,.p1-home .p1-download-scene.p1-download-photo{aspect-ratio:2/1}
 .p1-home .p1-solution-kind-app .p1-solution-media>img,.p1-home .p1-download-scene.p1-download-photo>img{object-fit:cover;object-position:70% center}
}
/* Matching badge canvases stay side by side on the narrowest supported phones. */
@media(max-width:380px){
 .p1-home .p1-app-download .p1-download-actions .amwal-store-badge img{height:38px}
}
