/* Services and Our work pages: dark page hero, raised proof strip, alternating feature rows and case studies.
   Scenes reuse the homepage device system and scale with their container (1em = 1/64 of its width). */

/* Visible focus on dark bands */
.header a:focus-visible,.header button:focus-visible,.home-hero a:focus-visible,.page-hero a:focus-visible,.home-process a:focus-visible,.start-card a:focus-visible,.next-project:focus-visible{outline:3px solid var(--teal);outline-offset:3px}

/* Page hero */
.page-hero{position:relative;overflow:hidden;color:#fff;padding-bottom:96px;background:radial-gradient(55% 90% at 85% 30%,#0e3a45 0%,#0a2c38 40%,transparent 75%),var(--navy)}
.page-hero .container{position:relative}
.ph-crumbs{display:flex;flex-wrap:wrap;gap:10px;padding-top:28px;font-size:13px;color:#9db6bc}
.ph-crumbs a{color:#dce7ea}
.ph-crumbs a:hover{color:var(--teal)}
.ph-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:64px;align-items:center;padding-top:44px}
.ph-single{grid-template-columns:minmax(0,1fr)}
.ph-copy .eyebrow{color:#cddbdf;font-size:11px;letter-spacing:.24em;margin-bottom:22px}
.page-hero h1{font-size:clamp(44px,5vw,72px);line-height:1.02;letter-spacing:-.05em;font-weight:700;color:#fff;margin-bottom:22px}
.page-hero h1 em{font-style:normal;color:var(--teal)}
.ph-lead{font-size:19px;line-height:1.6;color:#dbe6e9;max-width:33em;margin-bottom:34px}
.ph-actions{display:flex;align-items:center;flex-wrap:wrap;gap:16px 30px}
.ph-actions .button{min-height:56px}
.ph-actions .text-link{font-size:15px;border-color:#9ab6bd}

/* Hero index: jump links to each service or project */
.ph-index{list-style:none;margin:0;padding:0;border-top:1px solid #ffffff24}
.ph-index a{display:flex;align-items:center;gap:18px;padding:17px 6px;border-bottom:1px solid #ffffff24;color:#fff;transition:background .2s,padding .2s}
.ph-index a:hover{background:#ffffff09;padding-left:14px}
.ph-index-n{width:22px;flex-shrink:0;font-size:12px;font-weight:600;color:var(--teal)}
.ph-index-icon .icon{display:block;width:30px;height:30px;color:var(--teal);stroke-width:1.4}
.ph-index-text{flex:1;min-width:0}
.ph-index-text b{display:block;font-size:19px;font-weight:600;letter-spacing:-.02em;line-height:1.3}
.ph-index-text small{display:block;font-size:14px;line-height:1.45;color:#a9bfc5;margin-top:3px}
.ph-index a>.icon{width:20px;height:20px;flex-shrink:0;color:#9db6bc;transition:transform .2s,color .2s}
.ph-index a:hover>.icon{transform:translateX(4px);color:var(--teal)}
.ph-visual{position:relative;aspect-ratio:64/44;container-type:inline-size;border-radius:12px;overflow:hidden;border:1px solid #ffffff1f;box-shadow:0 30px 60px #00000059}
.ph-facts{margin:0;border-top:1px solid #ffffff24}
.ph-facts>div{display:flex;justify-content:space-between;align-items:baseline;gap:24px;padding:19px 0;border-bottom:1px solid #ffffff24}
.ph-facts dt{font-size:11px;font-weight:600;letter-spacing:.22em;text-transform:uppercase;color:#9db6bc}
.ph-facts dd{margin:0;font-size:18px;font-weight:500;text-align:right}
.ph-facts a{color:var(--teal);border-bottom:1px solid #26cbbc66}

/* Raised credibility strip */
.proof-strip{position:relative;z-index:2;margin-top:-52px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#fff;border:1px solid #d9e1dc;border-radius:10px;box-shadow:0 24px 50px #06233317}
.proof-strip>div{display:grid;align-content:start;gap:6px;padding:26px 28px}
.proof-strip>div+div{border-left:1px solid #e3e9e5}
.proof-strip strong{font-size:30px;font-weight:650;letter-spacing:-.04em;line-height:1.1;color:var(--ink)}
.proof-strip span{font-size:14px;line-height:1.5;color:#4c6168}

/* Alternating feature rows (services) and case studies (work) */
.svc-rows,.case-rows{padding-block:80px 48px}
.case-rows{padding-top:72px}
.feature-row{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:64px;align-items:center;padding-block:60px;border-bottom:1px solid var(--line);scroll-margin-top:96px}
.feature-row:first-child{padding-top:0}
.feature-row:last-of-type{border-bottom:0}
.feature-row.flip .feature-copy{order:2}
.feature-kicker{display:flex;align-items:center;gap:14px;margin-bottom:18px;font-size:11px;font-weight:600;letter-spacing:.22em;color:var(--ink)}
.feature-kicker span{display:grid;place-items:center;width:36px;height:36px;flex-shrink:0;border:1.5px solid var(--teal);border-radius:50%;font-size:12px;letter-spacing:0}
.feature-copy h2{font-size:clamp(32px,3vw,46px);margin-bottom:14px}
.feature-lead{max-width:30em;margin-bottom:22px;font-size:19px;line-height:1.55;color:#2c4450}
.feature-list{list-style:none;margin:0 0 22px;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 22px}
.feature-list li{display:flex;align-items:flex-start;gap:10px;font-size:15px;line-height:1.45}
.feature-list .icon{width:18px;height:18px;flex-shrink:0;margin-top:1px;color:var(--deep-teal)}
.feature-outcome{margin-bottom:28px;padding:16px 18px;border-left:3px solid var(--teal);border-radius:0 6px 6px 0;background:#e9f0eb;font-size:15px;line-height:1.6;color:#3e5560}
.feature-outcome b{display:block;margin-bottom:4px;font-size:11px;letter-spacing:.2em;text-transform:uppercase;color:var(--ink)}
.feature-actions{display:flex;align-items:center;flex-wrap:wrap;gap:16px 28px}
.feature-visual{position:relative;display:block;aspect-ratio:64/42;container-type:inline-size;overflow:hidden;border:1px solid #d3dbd6;border-radius:12px;box-shadow:0 24px 50px #0623331a;transition:transform .3s,box-shadow .3s}
.feature-row:hover .feature-visual{transform:translateY(-4px);box-shadow:0 30px 60px #06233326}
.case-detail{max-width:34em;margin-bottom:18px;font-size:16px;line-height:1.7;color:#4c6168}
.case-row .feature-list{grid-template-columns:minmax(0,1fr)}
.chips{list-style:none;margin:0 0 20px;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.chips li{padding:6px 12px;border-radius:999px;background:#dcefe9;font-size:12px;font-weight:600;letter-spacing:.04em;color:#0b5f59}
.scene-note-text{margin:10px 0 0;font-size:13px;color:var(--muted)}
.home-process .eyebrow{color:var(--teal);margin-bottom:14px}

/* Scene backgrounds and extra screens */
.scene-mint{background:linear-gradient(150deg,#e4f5f0 0%,#c6e8de 100%)}
.scene-sand{background:radial-gradient(70% 90% at 70% 25%,#f8efdf 0%,#eadfc8 60%,#dccdb0 100%)}
.scene-sage{background:radial-gradient(70% 90% at 30% 25%,#e9f2e5 0%,#d2e4cb 60%,#bfd5b6 100%)}
.scene-hw{background:linear-gradient(180deg,#eef3ef 0%,#e2eae4 66%,#d3ddd6 66.2%,#c7d3ca 100%)}
.scene-hw>span{position:absolute;display:block}
.scene-hw svg{display:block;width:100%;max-width:none;height:auto}
.hw-laptop{left:2%;top:10%;width:62%}
.hw-router{right:2%;top:40%;width:40%}
.hw-camera{right:10%;top:-2%;width:30%}
.scene-note{position:absolute;left:8%;top:54%;z-index:3;padding:1.1em 1.4em;border-radius:.9em;background:#fff;color:#13232b;box-shadow:0 1.6em 3em #3a2e1f30}
.scene-note.right{left:auto;right:8%;top:20%}
.scene-note small{display:block;font-size:.72em;color:#61757b}
.scene-note b{font-size:1.15em;font-weight:650}
.px.px-scene{left:50%;top:3em;margin-left:-9.3em;font-size:.9em}
.px.px-web{left:auto;right:6%;top:4.5em;margin-left:0;font-size:.82em}
.px-top b em{font-style:normal;color:var(--deep-teal)}
.web{position:absolute;left:4em;top:4.5em;z-index:1;width:44em;height:31em;overflow:hidden;border-radius:.9em;background:#fff;color:#13232b;box-shadow:0 2em 4em #0b3b3633}
.web-bar{display:flex;align-items:center;gap:1.2em;height:2.6em;padding:0 1.1em;border-bottom:.1em solid #dde3e0;background:#eef1f0}
.web-url{flex:1;display:flex;align-items:center;justify-content:center;gap:.5em;max-width:22em;margin:0 auto;padding:.4em 1em;border-radius:2em;background:#fff;font-size:.62em;color:#61757b}
.web-url .icon{width:1.2em;height:1.2em}
.web-body{padding:1.6em 2.2em}
.web-nav{display:flex;align-items:center;gap:1.4em;margin-bottom:2.6em}
.web-nav b{margin-right:auto;font-size:.95em}
.web-nav b em{font-style:normal;color:var(--deep-teal)}
.web-nav span{width:3em;height:.45em;border-radius:1em;background:#d7dfdc}
.web-nav i{padding:.5em 1em;border-radius:.5em;background:#0b2533;font-size:.6em;font-style:normal;color:#fff}
.web-title{margin:0 0 .5em;font-size:2.1em;font-weight:700;letter-spacing:-.045em;line-height:1.05}
.web-text{max-width:24em;margin:0 0 1.4em;font-size:.72em;line-height:1.5;color:#61757b}
.web-btn{display:inline-block;padding:.8em 1.4em;border-radius:.5em;background:var(--teal);font-size:.66em;font-weight:600;color:#062333}
.web-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8em;margin-top:2em}
.web-cards span{height:5em;border-radius:.6em;background:linear-gradient(135deg,#e4efec,#cfe3dd)}
.web-cards span:nth-child(2){background:linear-gradient(135deg,#0b2533,#14605c)}
.scene-ops::after{display:none}
.scene-ops .dx-ops{position:absolute;left:6em;right:6em;top:50%;z-index:1;transform:translateY(-50%)}
.dx-ops .dx-main{padding:1.4em 1.6em 1.6em}
.ops-status{display:grid;gap:.6em;margin-bottom:1em}
.ops-status p{display:flex;align-items:center;gap:.8em;margin:0;padding:.65em .9em;border:.1em solid #ffffff17;border-radius:.6em;background:#ffffff05}
.ops-status p>span:nth-child(2){flex:1;font-size:.78em;line-height:1.3}
.ops-status small{display:block;font-size:.85em;color:#8ea9b0}
.ops-status em{padding:.35em .8em;border-radius:2em;background:#0f4a4d;font-size:.62em;font-style:normal;font-weight:600;color:#5ff0de}
.ops-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:.8em}
.ops-grid>div{padding:1em;border:.1em solid #ffffff17;border-radius:.6em;background:#ffffff04}
.ops-grid b{display:block;margin-bottom:.7em;font-size:.8em;font-weight:600}
.ops-check{display:flex;align-items:center;gap:.6em;margin-bottom:.5em;font-size:.66em;color:#d6e3e6}
.ops-check .icon{width:1.4em;height:1.4em;color:#4fe6d4}
.ops-check.warn .icon{color:#f2b84b}
.ops-spark{display:flex;align-items:flex-end;gap:.3em;height:4.6em;margin-bottom:.7em}
.ops-spark i{flex:1;border-radius:.15em .15em 0 0;background:linear-gradient(#45e6d4,#14a497)}
.ops-metric{font-size:1.2em;font-weight:600}
.ops-metric small{display:block;font-size:.5em;font-weight:400;color:#8ea9b0}
.sch-hello{margin:0 0 .9em;font-size:.8em;line-height:1.3;color:#61757b}
.sch-hello b{display:block;font-size:1.6em;letter-spacing:-.02em;color:#13232b}
.sch-days{display:flex;justify-content:space-between;gap:.3em;margin-bottom:.9em}
.sch-days span{flex:1;padding:.6em 0;border-radius:.8em;text-align:center;font-size:.6em;color:#7b8a8f}
.sch-days b{display:block;font-size:1.7em;color:#13232b}
.sch-days .on,.sch-days .on b{background:var(--teal);color:#062333}
.sch-lesson{display:flex;align-items:center;gap:.8em;padding:.8em 0;border-bottom:.1em solid #e6eae8}
.sch-lesson>small{width:3.2em;flex-shrink:0;font-size:.66em;color:#61757b}
.sch-lesson>span{flex:1;padding-left:.7em;border-left:.25em solid var(--teal)}
.sch-lesson b{display:block;font-size:.8em}
.sch-lesson span small{display:block;font-size:.64em;color:#7b8a8f}
.sch-lesson.break>span{border-color:#e0b25b}
.px-tabs{display:flex;justify-content:space-around;margin-top:auto;padding-top:.8em;border-top:.1em solid #e6eae8;color:#7b8a8f}
.px-tabs .icon{width:1.4em;height:1.4em}
.px-tabs .icon:first-child{color:var(--deep-teal)}
.fin-label{margin:0 0 .7em;font-size:.72em;color:#61757b}
.fin-card{margin-bottom:.8em;padding:1.1em 1.2em;border-radius:1em;background:#0b2533;color:#fff}
.fin-card small{display:block;font-size:.58em;color:#9fb6bd}
.fin-card strong{display:block;margin:.15em 0 .5em;font-size:1.7em;letter-spacing:-.03em}
.fin-bar{display:flex;gap:.25em;height:.5em;margin-bottom:.6em}
.fin-bar i{width:50%;border-radius:1em;background:var(--teal)}
.fin-bar i:nth-child(2){width:30%;background:#8ac1b6}
.fin-bar i:nth-child(3){width:20%;background:#3f7a80}
.fin-row{display:flex;align-items:center;gap:.6em;padding:.55em 0;border-bottom:.1em solid #e6eae8}
.fin-row>i{width:.7em;height:.7em;flex-shrink:0;border-radius:50%;background:var(--teal)}
.fin-card+.fin-row+.fin-row>i{background:#8ac1b6}
.fin-card+.fin-row+.fin-row+.fin-row>i{background:#3f7a80}
.fin-row b{flex:1;font-size:.72em}
.fin-row span{font-size:.7em;font-weight:600}
.fin-row small{width:2.8em;text-align:right;font-size:.56em;color:#7b8a8f}
.fin-sub{margin:.9em 0 .2em;font-size:.66em;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:#7b8a8f}
.fin-tx{display:flex;align-items:center;justify-content:space-between;gap:.6em;padding:.5em 0;border-bottom:.1em solid #e6eae8}
.fin-tx b{display:block;font-size:.7em}
.fin-tx small{display:block;font-size:.6em;color:#7b8a8f}
.fin-tx em{font-size:.7em;font-style:normal;font-weight:600;color:#13232b;white-space:nowrap}
.fin-tx.in em{color:var(--deep-teal)}
.fin-goal{margin-top:auto;padding:.9em 1em;border:.1em solid #e1e6e3;border-radius:.9em;background:#fff}
.fin-goal b{display:block;font-size:.72em}
.fin-goal small{display:block;margin-bottom:.6em;font-size:.56em;color:#7b8a8f}
.fin-progress{height:.5em;overflow:hidden;border-radius:1em;background:#e3ebe7}
.fin-progress i{display:block;width:62%;height:100%;border-radius:1em;background:var(--deep-teal)}

/* Service detail */
.home-section .section-head>p{max-width:30em;font-size:16px;line-height:1.65;color:#4c6168}
.cap-grid{display:grid;grid-template-columns:repeat(var(--cols,3),minmax(0,1fr));gap:18px}
.cap-card{padding:26px 24px 28px;border:1px solid #dbe3de;border-top:3px solid var(--teal);border-radius:8px;background:#fff}
.cap-n{display:inline-grid;place-items:center;width:36px;height:36px;margin-bottom:20px;border-radius:50%;background:#dcefe9;font-size:12px;font-weight:700;color:#0b5f59}
.cap-card h3{margin-bottom:10px;font-size:21px}
.cap-card p{margin:0;font-size:15px;line-height:1.65;color:#4c6168}
.scope-band{margin-top:48px;padding-block:76px;background:#e9efe9}
.scope-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:64px;align-items:center}
.scope-grid h2{font-size:clamp(32px,3vw,44px)}
.scope-lead{font-size:18px;color:#2c4450}
.scope-band .feature-list{grid-template-columns:minmax(0,1fr);gap:14px;margin:0}
.scope-band .feature-list li{font-size:17px}
.start-card{padding:34px;border-radius:12px;background:var(--navy);color:#fff;box-shadow:0 24px 50px #0623332b}
.start-icon .icon{width:40px;height:40px;color:var(--teal);stroke-width:1.4}
.start-card h3{margin:18px 0 10px;font-size:24px;color:#fff}
.start-card>p{margin-bottom:24px;font-size:16px;line-height:1.65;color:#c9d8dc}
.start-card>p.start-contact{display:flex;flex-wrap:wrap;gap:10px 24px;margin:24px 0 0;padding-top:18px;border-top:1px solid #ffffff1f;font-size:14px}
.start-contact a{display:inline-flex;align-items:center;gap:8px;color:#e3ecee}
.start-contact a:hover{color:var(--teal)}
.start-contact .icon{width:16px;height:16px;color:var(--teal)}
.more-services{padding-bottom:64px}
.svc-list.three{grid-template-columns:repeat(3,minmax(0,1fr))}

/* Project detail */
.case-showcase{position:relative;z-index:2;margin-top:-56px}
.showcase-visual{position:relative;aspect-ratio:64/32;container-type:inline-size;overflow:hidden;border:1px solid #d3dbd6;border-radius:14px;box-shadow:0 30px 70px #0623332e}
.showcase-visual .scene{font-size:calc(100cqw / 84)}
.showcase-visual .tb{left:50%;margin-left:-26em}
.overview-grid{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:64px}
.overview-lead{margin-bottom:28px;font-size:21px;line-height:1.6;color:#2c4450}
.point-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.point-card{position:relative;display:grid;gap:14px;padding:20px 18px 22px;border:1px solid #dbe3de;border-radius:8px;background:#fff}
.point-card>span{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#dcefe9;color:#0b5f59}
.point-card .icon{width:18px;height:18px}
.point-card b{font-size:16px;line-height:1.35}
.point-card small{position:absolute;right:16px;top:18px;font-size:12px;color:var(--muted)}
.next-wrap{padding-top:16px;padding-bottom:72px}
.next-project{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);overflow:hidden;border-radius:14px;background:var(--navy);color:#fff;transition:transform .3s,box-shadow .3s}
.next-project:hover{transform:translateY(-3px);box-shadow:0 26px 54px #06233333}
.next-copy{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:44px}
.next-copy .eyebrow{margin-bottom:6px;color:var(--teal)}
.next-copy h2{margin:0;font-size:clamp(32px,3.2vw,46px);color:#fff}
.next-copy p{margin:0 0 24px;font-size:17px;color:#c9d8dc}
.next-copy .circle-arrow{margin-top:auto;width:52px;height:52px;color:#fff}
.next-project:hover .circle-arrow{border-color:var(--teal);background:var(--teal);color:var(--navy)}
.next-visual{position:relative;min-height:320px;container-type:inline-size}

@media(max-width:1100px){
 .ph-grid,.feature-row,.scope-grid,.overview-grid{gap:40px}
 .proof-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
 .proof-strip>div:nth-child(3){border-left:0}
 .proof-strip>div:nth-child(n+3){border-top:1px solid #e3e9e5}
 .cap-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .feature-list{grid-template-columns:minmax(0,1fr)}
 .point-grid{grid-template-columns:minmax(0,1fr)}
 .point-card{grid-template-columns:auto minmax(0,1fr);align-items:center;padding:16px 44px 16px 16px}
 .point-card small{top:50%;transform:translateY(-50%)}
}
@media(max-width:900px){
 .ph-grid,.feature-row,.scope-grid,.overview-grid,.next-project{grid-template-columns:minmax(0,1fr)}
 .ph-aside{max-width:640px}
 .feature-row .feature-visual{order:-1}
 .feature-row.flip .feature-copy{order:0}
 .svc-list.three{grid-template-columns:minmax(0,1fr)}
 .svc-list.three .svc::before{display:none}
 .next-visual{min-height:260px}
 .showcase-visual{aspect-ratio:64/40}
 .showcase-visual .scene{font-size:calc(100cqw / 64)}
 .showcase-visual .tb{left:5em;margin-left:0}
}
@media(max-width:700px){
 .page-hero{padding-bottom:76px}
 .ph-crumbs{padding-top:20px;font-size:12px}
 .ph-grid{gap:32px;padding-top:30px}
 .ph-copy .eyebrow{letter-spacing:.26em}
 .page-hero h1{font-size:clamp(38px,11vw,48px);margin-bottom:16px}
 .ph-lead{margin-bottom:26px;font-size:17px;line-height:1.55}
 .ph-actions{flex-direction:column;align-items:stretch;gap:18px}
 .ph-actions .button{width:100%;font-size:16px}
 .ph-actions .text-link{align-self:center;font-size:16px}
 .ph-index a{gap:14px;padding:15px 2px}
 .ph-index a:hover{padding-left:2px}
 .ph-index-text b{font-size:17px}
 .ph-index-text small{font-size:13px}
 .ph-facts dd{font-size:16px}
 .proof-strip{margin-top:-44px}
 .proof-strip>div{padding:18px}
 .proof-strip strong{font-size:23px}
 .proof-strip span{font-size:13px}
 .svc-rows,.case-rows{padding-block:48px 24px}
 .feature-row{gap:24px;padding-block:40px}
 .feature-row:first-child{padding-top:0}
 .feature-copy h2{font-size:clamp(30px,8.6vw,38px)}
 .feature-lead{font-size:17px}
 .feature-actions{flex-direction:column;align-items:flex-start}
 .cap-grid{grid-template-columns:minmax(0,1fr);gap:14px}
 .cap-card{padding:22px 20px}
 .scope-band{margin-top:32px;padding-block:52px}
 .scope-band .feature-list li{font-size:16px}
 .start-card{padding:26px 22px}
 .case-showcase{margin-top:-44px}
 .overview-lead{font-size:18px}
 .next-wrap{padding-bottom:48px}
 .next-copy{padding:28px 24px}
 .next-visual{min-height:220px}
}

/* Social profile links: footer and contact page */
.social-links{list-style:none;margin:0;padding:0;display:flex;gap:10px}
.social-links a{display:grid;place-items:center;width:40px;height:40px;border:1px solid #c5cfcb;border-radius:50%;color:var(--ink);transition:background .2s,border-color .2s,color .2s}
.social-links a:hover{border-color:var(--teal);background:var(--teal);color:var(--navy)}
.social-links .icon{width:18px;height:18px}
.footer-social{padding-left:28px;border-left:1px solid #c5cfcb}
.contact-social{display:flex;align-items:center;gap:20px;max-width:390px;padding:22px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:22px;font-size:16px;line-height:1.55}
.contact-social>.icon{flex-shrink:0;color:var(--deep-teal)}
.contact-social>span{flex:1}
.contact-social small{display:block;margin-bottom:7px;font-size:10px;letter-spacing:.15em;color:var(--muted)}
@media(max-width:900px){.footer-social{padding-left:0;border-left:0}}
@media(max-width:700px){
 .footer-main{flex-wrap:wrap}
 .footer-social{order:3;flex-basis:100%;margin-top:18px}
 .footer-social a{width:44px;height:44px;border-color:#ffffff38;color:#e6eef0}
 .contact-social{max-width:none;gap:16px}
 .social-links a{width:44px;height:44px}
}

/* Product features (Nexlev Retail) */
.product-features{padding-bottom:40px}
.feature-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.feature-group{padding:28px 26px 10px;border:1px solid #dbe3de;border-top:3px solid var(--teal);border-radius:8px;background:#fff}
.feature-group .feature-kicker{margin-bottom:12px}
.feature-group h3{margin-bottom:14px;font-size:22px}
.feature-group ul{list-style:none;margin:0;padding:0}
.feature-group li{display:flex;gap:14px;padding:16px 0;border-top:1px solid #e6ece8;font-size:15px;line-height:1.55;color:#4c6168}
.feature-group li b{display:block;margin-bottom:2px;font-size:16px;color:var(--ink)}
.fg-icon{display:grid;place-items:center;width:38px;height:38px;flex-shrink:0;border-radius:8px;background:#dcefe9;color:#0b5f59}
.fg-icon .icon{width:19px;height:19px}
.industries{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:40px;align-items:center;margin-top:40px;padding:30px 32px;border-radius:10px;background:var(--navy);color:#fff}
.industries .eyebrow{margin-bottom:10px;color:var(--teal)}
.industries h3{margin:0;font-size:26px;color:#fff}
.industries .chips{margin:0}
.industries .chips li{background:#ffffff14;color:#e3ecee;font-weight:500}
.product-links{display:flex;align-items:center;flex-wrap:wrap;gap:16px 30px;margin-top:30px}
@media(max-width:1100px){.feature-groups{grid-template-columns:minmax(0,1fr)}.feature-group ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:28px}}
@media(max-width:900px){.industries{grid-template-columns:minmax(0,1fr);gap:20px}}
@media(max-width:700px){
 .feature-group{padding:22px 20px 6px}
 .feature-group ul{grid-template-columns:minmax(0,1fr)}
 .industries{padding:24px 20px}
 .industries h3{font-size:22px}
 .product-links{flex-direction:column;align-items:stretch}
 .product-links .button{width:100%}
 .product-links .text-link{align-self:flex-start}
}

/* Shop product photos */
.product-photo{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;background:#e9eee9}
.product-image:has(.product-photo){padding:0}
.product-image .product-photo{transition:transform .4s}
.product-card:hover .product-photo{transform:scale(1.04)}
.product-image .sample-tag,.product-gallery .sample-tag{background:#ffffffe6;color:#3f5a5a}
.product-gallery:has(.product-photo){padding:0;overflow:hidden}
.product-gallery .product-photo{border-radius:8px}
.product-gallery:has(.product-photo) .gallery-caption{padding:3px 9px;border-radius:4px;background:#ffffffe0;color:var(--ink)}
.cart-line-art,.summary-art{overflow:hidden}
.cart-line-art .product-photo,.summary-art .product-photo{aspect-ratio:1;border-radius:4px}
/* Uploaded photos are shown whole on white, never cropped, in the same 4:3 frame. */
.product-photo.uploaded{object-fit:contain;background:#fff}
.product-media{display:grid;gap:12px;min-width:0}
.gallery-thumbs{display:flex;flex-wrap:wrap;gap:10px}
.gallery-thumb{width:72px;padding:0;border:2px solid var(--line);border-radius:8px;background:#fff;overflow:hidden;cursor:pointer;transition:border-color .15s}
.gallery-thumb:hover{border-color:#9fbab4}
.gallery-thumb[aria-pressed="true"]{border-color:var(--deep-teal,#0f766e)}
.gallery-thumb .product-photo{aspect-ratio:1}
@media(max-width:700px){.gallery-thumb{width:60px}}
.shop-hero-art.photos{height:340px}
.shop-photo{position:absolute;display:block;object-fit:cover;border-radius:10px;box-shadow:0 24px 50px #0623332e}
.shop-photo.main{right:0;top:0;width:78%;height:82%}
.shop-photo.sub{left:0;bottom:6%;width:46%;height:46%;border:5px solid #fff}
.shop-hero-art.photos .floating-label{bottom:-6px}
@media(max-width:900px){.shop-hero-art.photos{height:280px}}
@media(max-width:700px){.shop-hero-art.photos{height:230px;max-width:none}.shop-photo.sub{border-width:4px}}

/* Product page: compact columns that fit a laptop screen, specifications beside the photo, and the photo kept in view on wide screens. */
.product-detail{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:44px;padding-block:24px 48px;align-items:start}
.product-media{position:sticky;top:100px}
.product-gallery{padding:28px 16px 24px}
.product-purchase h1{font-size:clamp(28px,2.6vw,36px);line-height:1.1;margin-block:8px 12px}
.purchase-price{font-size:26px;gap:14px;margin-bottom:12px}
.product-purchase>p.purchase-description{margin:0 0 16px;font-size:15px;line-height:1.6;color:var(--muted)}
#add-product>label{margin-bottom:6px;font-size:13px}
.purchase-actions{margin-top:0}
.purchase-notes{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 0;padding:0;border:0;list-style:none;font-size:13px}
.purchase-notes li{display:inline-flex;align-items:center;gap:6px;padding:6px 11px;border-radius:999px;background:#eef3ef;color:var(--ink)}
.purchase-notes .icon{width:15px;height:15px}
.purchase-specs{margin-top:20px;padding-top:16px;border-top:1px solid var(--line)}
.purchase-specs h2{margin:0 0 8px;font-size:16px;letter-spacing:-.01em}
.purchase-specs dl{display:grid;grid-template-columns:1fr 1fr;gap:0 24px;margin:0}
.purchase-specs dl>div{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:10px;padding:8px 0;border-bottom:1px solid var(--line);font-size:13px;line-height:1.45}
.purchase-specs dt{color:var(--muted)}
.purchase-specs dd{margin:0;font-weight:550;overflow-wrap:anywhere}
.product-purchase>p.purchase-links{display:flex;flex-wrap:wrap;gap:8px 22px;margin:18px 0 0;font-size:13px}
.purchase-links .text-link{margin:0;font-size:13px}
@media(max-width:1100px){.purchase-specs dl{grid-template-columns:1fr}}
@media(max-width:820px){.product-detail{grid-template-columns:1fr;gap:20px;padding-block:14px 36px}.product-media{position:static}.purchase-specs dl{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.product-purchase h1{font-size:27px}.purchase-price{font-size:24px}.product-gallery{padding:16px 10px}.purchase-specs dl{grid-template-columns:1fr}.purchase-notes{font-size:12px}.purchase-actions .button{flex:1}}

/* Out of stock: a red badge with white text (6.5:1 contrast) and a dimmed photo, so it reads at a glance. */
.stock-tag{display:inline-flex;align-items:center;bottom:10px;left:10px;padding:4px 10px;border-radius:999px;background:#b42318;color:#fff;font-size:11px;font-weight:650;letter-spacing:.02em;box-shadow:0 2px 8px #0623332e;z-index:1}
.product-image:has(.stock-tag) :is(.product-photo,.product-art){filter:grayscale(.6);opacity:.7}
.stock-pill.out{background:#fde7e4;color:#9b2216;font-weight:650}

/* Checkout: tappable delivery areas with their prices, the order note behind a link, and tighter sections. */
.checkout-fields>section{padding-top:22px;margin-bottom:22px}
.checkout-fields h2{margin-bottom:18px}
.remember-label{margin:2px 0 0;font-size:13px}
.zone-choices{display:grid;grid-template-columns:1fr 1fr;gap:10px;min-width:0;margin:0 0 14px;padding:0;border:0}
.zone-choice{display:flex;align-items:center;gap:10px;min-height:56px;margin:0;padding:12px 14px;border:1px solid var(--line);border-radius:8px;background:#fff;font-size:14px;font-weight:500;cursor:pointer;transition:border-color .15s,background-color .15s}
.zone-choice span{flex:1;line-height:1.35}
.zone-choice strong{font-weight:650;white-space:nowrap}
.zone-choice input{flex-shrink:0;width:18px;height:18px;margin:0;accent-color:var(--deep-teal)}
.zone-choice:hover{border-color:#9fbab4}
.zone-choice:has(input:checked){border-color:var(--deep-teal);background:#f1f8f5;box-shadow:inset 0 0 0 1px var(--deep-teal)}
.zone-choice:has(input:focus-visible){outline:3px solid #108a83;outline-offset:2px}
.note-toggle summary{display:inline-flex;align-items:center;gap:6px;min-height:44px;list-style:none;font-size:14px;font-weight:600;color:var(--deep-teal);cursor:pointer}
.note-toggle summary::-webkit-details-marker{display:none}
.note-toggle summary .icon{width:16px;height:16px;transition:transform .2s}
.note-toggle[open] summary .icon{transform:rotate(45deg)}
.note-toggle label{margin:0}
@media(max-width:520px){.zone-choices{grid-template-columns:1fr}}

/* Pay with M-Pesa (Till/Paybill): numbered steps as the M-PESA menu shows them, with the numbers to enter and copy. */
.lipa{display:grid;gap:10px;padding:14px;border:1px solid #cfe5d3;border-radius:10px;background:#f6fbf6;text-align:left}
.lipa-head{display:flex;align-items:center;gap:12px}
.lipa-head strong{display:block;font-size:15px;color:var(--ink)}
.lipa-head small{display:block;font-size:12px;color:var(--muted)}
.lipa-head svg.pay-mark{width:52px;height:32px}
.lipa-ways{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;border-radius:9px;background:#e4efe6}
.lipa-ways label{position:relative;display:flex;align-items:center;justify-content:center;min-height:40px;margin:0;border-radius:7px;font-size:13px;font-weight:600;color:var(--ink);cursor:pointer}
.lipa-ways input{position:absolute;inset:0;opacity:0;margin:0;cursor:pointer}
.lipa-ways label:has(input:checked){background:#fff;color:var(--mpesa-ink);box-shadow:0 1px 3px #06233322}
.lipa-ways label:has(input:focus-visible){outline:3px solid #108a83;outline-offset:1px}
.lipa:has(.lipa-ways) .lipa-paybill,.lipa:has(input[value="paybill"]:checked) .lipa-till{display:none}
.lipa:has(input[value="paybill"]:checked) .lipa-paybill{display:grid}
.lipa-steps{display:grid;margin:0;padding:0;list-style:none;counter-reset:lipa}
.lipa-steps>li{counter-increment:lipa;display:flex;align-items:center;gap:10px;min-height:44px;padding:5px 0;border-bottom:1px dashed #cfe0d2;font-size:14px;line-height:1.4;color:var(--ink)}
.lipa-steps>li:last-child{border-bottom:0}
.lipa-steps>li::before{content:counter(lipa);flex-shrink:0;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--mpesa-ink);color:#fff;font-size:12px;font-weight:700}
.lipa-num>span{flex:1;color:var(--muted)}
.lipa-value{font-size:18px;font-weight:700;letter-spacing:.03em;font-variant-numeric:tabular-nums;color:var(--ink)}
.lipa-value.lipa-later{font-size:13px;font-weight:600;letter-spacing:0;color:var(--muted)}
.lipa-copy{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:44px;min-height:36px;padding:0 10px;border:1px solid #b9d6be;border-radius:999px;background:#fff;color:var(--mpesa-ink);font-size:12px;font-weight:600;cursor:pointer}
.lipa-copy:hover{background:#eef7ef}
.lipa-copy .icon{width:14px;height:14px}
.payment-next:has(.lipa){padding:0;border:0;background:none}
.payment-next .payment-next-note{margin-top:10px}
.lipa-panel{max-width:480px}
.lipa-panel>.lipa{margin-bottom:4px}
.lipa-code{margin-top:14px;padding-top:14px;border-top:1px solid var(--line);text-align:left}
.lipa-code label{margin:0 0 6px;font-size:13px}
.lipa-code-row{display:flex;gap:8px}
.lipa-code-row input{flex:1;min-width:0;margin:0;font-size:16px;font-weight:600;letter-spacing:.1em;text-transform:uppercase}
.lipa-code-row input::placeholder{font-weight:400}
.lipa-code-row .button{flex-shrink:0;min-height:47px;padding:10px 18px}
.lipa-code .field-hint{display:block;margin-top:6px;font-size:12px;color:var(--muted)}
.lipa-code .form-feedback{margin:6px 0 0}
@media(max-width:420px){.lipa-value{font-size:16px}.lipa-copy>span:not(.sr-only){display:none}.lipa-steps>li{font-size:13px}}/* On the order page the card already frames the section, so it drops its own box. */
.lipa-panel .lipa{padding:0;border:0;background:none}
/* On phones the floating chat button would sit over the pay and copy buttons while paying, so checkout and order pages hide it. */
@media(max-width:700px){body:is(.route-checkout,.route-order) .floating-chat{display:none}}
