/* Public page of ناس الخيرية (index.php, drawn by app/site_render.php). Brand guidelines v1.2: Naas Blue #08009F,
   Naas Cyan #54C6EE (accent), pale cyan #EDF9FD, ink #172846, gray #5D6A7D. Layout follows Abdul's mock-up of 2026-10-27. */
:root {
  --navy: #08009f;
  --navy-2: #06007a;
  --sky: #54c6ee;
  --ice: #edf9fd;
  --ink: #172846;
  --muted: #5d6a7d;
  --line: #e2e8f0;
  --bg: #ffffff;
  --soft: #f8fafc;
  --lilac: #a9a6f5;
  --fs: 17px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; font-size: var(--fs); }
html.o-big { --fs: 20px; }
html.o-contrast { --muted: #2f3a4d; --line: #94a3b8; --sky: #0f7fae; }
html.o-still *, html.o-still *::before, html.o-still *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Tahoma, "Tajawal", Arial, "Segoe UI", sans-serif; font-size: 1rem; line-height: 1.75; overflow-x: hidden; border-top: 4px solid var(--navy); }
body.no-scroll { overflow: hidden; }
a { color: var(--navy); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
img { max-width: 100%; height: auto; }
button { font: inherit; }
[hidden] { display: none !important; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 820px; }
.ico { width: 22px; height: 22px; flex: none; }
.ico.lg { width: 34px; height: 34px; }
.test-bar { background: #9f2534; color: #fff; text-align: center; font-weight: 700; padding: 6px 12px; font-size: .9rem; }

/* Shared pieces */
.kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--navy); font-weight: 700; font-size: .95rem; }
.kicker i { position: relative; width: 12px; height: 12px; background: var(--sky); flex: none; }
.kicker i::after { content: ""; position: absolute; width: 5px; height: 5px; background: var(--navy); top: -6px; inset-inline-start: -6px; }
.sec-title { margin: 0; line-height: 1.45; font-size: clamp(1.9rem, 4vw, 2.9rem); }
.sec-title b { display: block; color: var(--navy); font-weight: 800; }
.sec-title span { display: block; color: var(--ink); font-weight: 400; }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-bottom: 48px; }
.sec-side { margin: 0; color: var(--muted); max-width: 34em; justify-self: end; line-height: 2; }
.two-col { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.soft { color: var(--muted); line-height: 2; margin: 0 0 20px; }
.big { font-size: 1.45rem; line-height: 1.9; margin: 0 0 22px; color: var(--ink); }
.block { position: relative; padding: 88px 0; border-top: 1px solid var(--line); }
.block.alt { background: var(--soft); }
.block::before, .contact::before { content: ""; position: absolute; top: -1px; inset-inline-start: 50%; transform: translateX(50%); width: 96px; height: 5px; background: linear-gradient(90deg, var(--sky) 0 50%, var(--navy) 50% 100%); border-radius: 0 0 4px 4px; }
.contact { border-top: 1px solid var(--line); }
.hero { border-bottom: 1px solid var(--line); }
.ibox { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 12px; background: var(--ice); color: var(--navy); flex: none; }
.ibox .ico { width: 30px; height: 30px; }
.sq-btn { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; padding: 0; }
.sq-btn:hover { border-color: var(--navy); }
.cta { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 56px; background: var(--navy); color: #fff; text-decoration: none; font-weight: 700; padding: 12px 36px; border-radius: 8px; border: 0; cursor: pointer; transition: background .15s; }
.cta:hover { background: var(--navy-2); }
.cta.wide { width: 100%; justify-content: space-between; min-height: 64px; }
.more { display: inline-flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 44px; color: var(--navy); font-weight: 700; text-decoration: none; }
.more:hover span { text-decoration: underline; text-underline-offset: 6px; }
.img-tag { position: absolute; top: 18px; inset-inline-end: 18px; background: rgba(255, 255, 255, .92); color: var(--muted); font-size: .82rem; padding: 4px 14px; border-radius: 8px; }

/* Top bar */
.site-top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-top .wrap { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 92px; }
.site-brand img { display: block; width: auto; height: 74px; }
.site-nav { display: flex; align-items: center; gap: 44px; }
.site-nav a { text-decoration: none; color: var(--muted); padding: 8px 0; font-size: 1.05rem; }
.site-nav a:hover { color: var(--navy); }
.top-actions { display: flex; align-items: center; gap: 14px; }
.nav-cta { min-height: 64px; padding: 12px 30px; }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-btn { display: none; flex-direction: column; gap: 5px; }
.nav-btn i { display: block; width: 20px; height: 2px; background: var(--navy); transition: transform .2s, opacity .2s; }
.nav-toggle:focus-visible ~ .top-actions .nav-btn { outline: 3px solid var(--sky); outline-offset: 2px; }
.opts { position: absolute; top: calc(100% + 8px); inset-inline-end: 24px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 40px rgba(8, 0, 159, .12); padding: 16px 20px; display: grid; gap: 10px; min-width: 220px; }
.opts b { color: var(--navy); }
.opts label { display: flex; align-items: center; gap: 10px; cursor: pointer; min-height: 36px; }
.opts input { width: 20px; height: 20px; accent-color: var(--navy); }

/* Hero */
.hero { position: relative; background: linear-gradient(200deg, #fff 30%, var(--ice) 120%); padding: 96px 0 100px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset-inline-start: -60px; top: 160px; width: 480px; height: 480px; border: 70px solid rgba(84, 198, 238, .07); transform: rotate(45deg); }
.hero-grid { position: relative; display: grid; grid-template-columns: .85fr 1.35fr; gap: 56px; align-items: start; }
.hero-text { padding-top: 24px; }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.9rem); line-height: 1.5; margin: 0 0 28px; color: var(--navy); font-weight: 800; }
.hero h1 span { color: var(--ink); background: linear-gradient(transparent 82%, var(--ice) 82%, var(--ice) 100%); padding: 0 4px; }
.lead { font-size: 1.15rem; color: var(--muted); margin: 0 0 36px; line-height: 2.1; max-width: 36em; }
.btns { display: flex; flex-wrap: wrap; align-items: center; gap: 44px; }
.play-link { display: inline-flex; align-items: center; gap: 14px; color: var(--navy); font-weight: 700; text-decoration: none; }
.play-dot { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; }
.play-dot .ico { width: 14px; height: 14px; }
.points { list-style: none; margin: 56px 0 0; padding: 30px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 14px 44px; color: var(--muted); }
.points li { display: flex; align-items: center; gap: 10px; }
.points .ico { color: var(--navy); }
.hero-media { position: relative; }
.slides { position: relative; border-radius: 28px; overflow: visible; aspect-ratio: 16 / 11; }
.slide { position: absolute; inset: 0; margin: 0; border-radius: 28px; overflow: hidden; opacity: 0; transition: opacity .6s; z-index: 1; }
.slide.on { opacity: 1; z-index: 2; }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slides .img-tag { z-index: 3; top: 28px; inset-inline-end: 32px; }
.corner { position: absolute; z-index: 0; width: 92px; height: 92px; background: var(--sky); inset-inline-end: -24px; bottom: -24px; border-radius: 0 0 0 4px; }
.badge { position: absolute; z-index: 4; inset-inline-start: -46px; bottom: 150px; display: flex; align-items: center; gap: 20px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 26px 30px; box-shadow: 0 18px 40px rgba(23, 40, 70, .08); }
.badge b { display: block; color: var(--navy); font-size: 1.35rem; font-weight: 800; }
.badge small { color: var(--muted); font-size: .95rem; }
.badge .ibox .ico { width: 38px; height: 38px; }
.slider-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 40px; }
.slide-cap { color: var(--muted); }
.slider-ctl { display: flex; align-items: center; gap: 14px; }
.dots { display: flex; gap: 8px; align-items: center; }
.dot { position: relative; width: 10px; height: 10px; border-radius: 6px; background: #c8d2df; border: 0; padding: 0; cursor: pointer; transition: width .25s, background .25s; }
.dot::before { content: ""; position: absolute; inset: -17px -5px; }
.dot.on { width: 38px; background: var(--navy); }
.count { color: var(--muted); min-width: 3.4em; text-align: center; }
.slider-ctl .ico { width: 20px; height: 20px; }

/* About */
.values { list-style: none; margin: 40px 0 0; padding: 44px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.values li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.values .ico { color: var(--navy); margin-bottom: 14px; }
.values b { color: var(--navy); font-size: 1.2rem; }
.values small { color: var(--muted); font-size: .95rem; }

/* Work cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.tile { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 46px 38px 40px; transition: box-shadow .2s, border-color .2s; }
.tile:hover { box-shadow: 0 18px 40px rgba(8, 0, 159, .08); border-color: #c9d5e6; }
.tile-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 52px; }
.tile-top .ibox { width: 92px; height: 92px; border-radius: 16px; }
.tile-top .ibox .ico { width: 36px; height: 36px; }
.num { color: var(--muted); font-size: .95rem; }
.tile-kicker { color: var(--muted); font-size: .9rem; }
.tile h3 { margin: 10px 0 18px; font-size: 1.55rem; line-height: 1.6; color: var(--navy); }
.tile p { color: var(--muted); margin: 0 0 40px; line-height: 2; flex: 1; }
.tile .more { width: 100%; }

/* Gallery */
.tabs { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); margin-bottom: 48px; }
.tab-list { display: flex; gap: 48px; overflow-x: auto; }
.tab { background: none; border: 0; border-bottom: 3px solid transparent; padding: 10px 6px 18px; min-width: 44px; min-height: 44px; color: var(--muted); font-weight: 700; font-size: 1.1rem; cursor: pointer; white-space: nowrap; margin-bottom: -1px; }
.tab.on { color: var(--navy); border-bottom-color: var(--navy); }
.g-count { color: var(--muted); white-space: nowrap; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 28px; }
.shot { margin: 0; }
.shot-img { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--ice); }
.shot-img > img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.shot:hover .shot-img > img { transform: scale(1.03); }
.shot-img .img-tag { top: auto; bottom: 14px; inset-inline-end: 16px; font-size: .75rem; padding: 3px 10px; }
.zoom { position: absolute; top: 16px; inset-inline-start: 16px; width: 48px; height: 48px; border-radius: 10px; border: 0; background: rgba(255, 255, 255, .94); color: var(--navy); display: grid; place-items: center; cursor: pointer; }
.zoom .ico { width: 28px; height: 28px; }
.shot-ph { display: grid; place-items: center; width: 100%; height: 100%; }
.shot-ph img { opacity: .35; }
.shot figcaption { padding: 18px 4px 0; }
.cat { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .95rem; }
.cat .ico { color: var(--navy); }
.shot-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.shot-row b { color: var(--navy); font-size: 1.2rem; font-weight: 800; line-height: 1.5; }
.shot-row .more { font-size: .92rem; white-space: nowrap; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 52px; }
.steps li { border-top: 3px solid var(--sky); padding-top: 38px; }
.step-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 52px; }
.step-n { display: inline-grid; place-items: center; width: 62px; height: 62px; background: var(--navy); color: #fff; font-size: 1.3rem; border-radius: 8px; }
.step-top .ico { width: 32px; height: 32px; color: var(--navy); }
.steps b { display: block; color: var(--navy); font-size: 1.45rem; margin-bottom: 18px; }
.steps span { color: var(--muted); line-height: 2; }
.note { display: flex; align-items: center; gap: 14px; margin: 64px 0 0; padding: 28px 30px; border: 1px solid #cfe7f3; background: #f0f8fc; border-radius: 12px; color: var(--muted); }
.note .ico { color: var(--navy); width: 28px; height: 28px; }

/* Video */
.sec-video .two-col { align-items: center; }
.sec-video .soft { margin-top: 30px; }
.meta { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .9rem; margin: 28px 0 0; }
.meta .ico { color: var(--navy); width: 20px; height: 20px; }
.video-box { border-radius: 28px; overflow: hidden; background: var(--navy); box-shadow: 0 30px 60px rgba(8, 0, 159, .14); aspect-ratio: 924 / 520; }
.video-box video { width: 100%; height: 100%; display: block; background: #000; }
.video-ph { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; color: #fff;
  background:
    linear-gradient(var(--navy), var(--navy)) padding-box,
    var(--navy);
  background-image: linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 130px 65px; }
.vp-mark { position: absolute; inset-inline-end: 64px; bottom: 0; width: 120px; height: 120px; background: linear-gradient(160deg, #6fb7e6, #3f86c9); }
.vp-mark::before { content: ""; position: absolute; width: 66px; height: 66px; background: var(--navy); bottom: 32px; inset-inline-start: 32px; }
.vp-mark::after { content: ""; position: absolute; width: 34px; height: 34px; background: #d8d6ef; top: -34px; inset-inline-end: 66px; }
.play-big { position: relative; display: grid; place-items: center; width: 104px; height: 104px; border-radius: 50%; background: #fff; color: var(--navy); box-shadow: 0 0 0 20px rgba(255, 255, 255, .1); }
.play-big .ico { width: 32px; height: 32px; }
.video-ph b { position: relative; }

/* FAQ */
.sec-faq .two-col { align-items: center; }
.sec-faq .more { margin-top: 56px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; min-height: 118px; padding: 20px 4px; font-weight: 700; font-size: 1.2rem; color: var(--navy); list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { width: 28px; height: 28px; transition: transform .2s; }
.faq details[open] summary .ico { transform: rotate(45deg); }
.faq details p { margin: -10px 4px 28px; color: var(--muted); line-height: 2; }

/* Contact */
.contact { position: relative; background: var(--navy); color: #fff; padding: 156px 0 24px; overflow: hidden; }
.contact .two-col { align-items: start; }
.contact .kicker { color: #fff; }
.contact .kicker i::after { background: #fff; }
.contact .sec-title { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.contact .sec-title b { color: #fff; }
.contact .sec-title span { color: var(--lilac); font-weight: 800; }
.contact .soft { color: #e2e4ff; margin-top: 44px; }
.ct-info { position: relative; padding-bottom: 260px; }
.ct-phone { display: flex; align-items: center; gap: 16px; margin-top: 40px; padding: 34px 0; border-top: 1px solid rgba(255, 255, 255, .16); border-bottom: 1px solid rgba(255, 255, 255, .16); color: #fff; text-decoration: none; }
.ct-phone b { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; letter-spacing: 1px; flex: 1; text-align: right; font-family: Arial, Tahoma, sans-serif; }
.ct-phone .ico { width: 30px; height: 30px; color: var(--sky); }
.ct-phone .ico:last-child { color: #fff; order: 3; }
.ct-loc { display: flex; align-items: center; gap: 10px; margin: 30px 0 0; color: #e2e4ff; font-size: .95rem; }
.ct-loc .ico { color: #fff; }
.social { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.social a { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; }
.social a:hover { background: var(--sky); color: var(--navy); }
.pixels { position: absolute; inset-inline-start: 0; bottom: 0; width: 230px; height: 230px; }
.pixels i { position: absolute; width: 77px; height: 77px; }
.pixels i:nth-child(1) { inset-inline-start: 154px; top: 0; background: rgba(255, 255, 255, .08); }
.pixels i:nth-child(2) { inset-inline-start: 77px; top: 77px; background: rgba(255, 255, 255, .14); }
.pixels i:nth-child(3) { inset-inline-start: 0; top: 154px; background: #4f86d6; }
.ct-form { position: relative; background: #fff; color: var(--ink); border-radius: 28px; padding: 60px 54px 44px; }
.ct-form h3 { margin: 0 0 4px; color: var(--navy); font-size: 2rem; }
.f-note { color: var(--muted); font-size: .85rem; margin: 0 0 40px; }
.ct-form label { display: block; margin-bottom: 28px; }
.ct-form label > span { display: block; font-weight: 700; margin-bottom: 12px; }
.ct-form em { color: #9f2534; font-style: normal; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.ct-form input:not([type=checkbox]), .ct-form select, .ct-form textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1px solid #c7cfdb; border-radius: 10px; padding: 16px 18px; min-height: 72px; }
.ct-form textarea { min-height: 180px; resize: vertical; }
.ct-form .bad { border-color: #9f2534 !important; background: #fdedf0 !important; }
.ct-form label.f-check { display: flex; align-items: center; gap: 14px; margin: 48px 0 40px; font-size: .9rem; color: var(--muted); cursor: pointer; }
.ct-form label.f-check > span { font-weight: 400; margin: 0; }
.f-check input { width: 24px; height: 24px; flex: none; accent-color: var(--navy); }
.f-check input.bad { outline: 2px solid #9f2534; }
.f-msg { margin: -16px 0 20px; padding: 12px 16px; border-radius: 8px; font-size: .95rem; }
.f-msg.ok { background: #eaf3fd; color: #174a78; }
.f-msg.err { background: #fdedf0; color: #9f2534; }
.f-foot { color: var(--muted); font-size: .8rem; margin: 26px 0 0; }
.ct-form .hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.ct-form label > span small { font-weight: 400; color: var(--muted); font-size: .8rem; }
.ct-form button[disabled] { opacity: .6; cursor: wait; }

.site-foot { background: var(--navy); color: #c3c9f2; padding: 20px 0 28px; font-size: .9rem; border-top: 1px solid rgba(255, 255, 255, .12); }
.site-foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-links a { color: #e3e6fb; text-decoration: none; }
.foot-links a:hover, .foot-links a:focus-visible { color: #fff; text-decoration: underline; }
.f-check a { color: inherit; text-decoration: underline; }

/* Legal pages (v1.40): privacy.php, terms.php … drawn by app/site_legal.php. */
.wrap.legal-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; align-items: start; padding-top: 40px; padding-bottom: 72px; }
.legal { max-width: 820px; }
.legal .crumbs { margin: 0 0 10px; color: var(--muted); font-size: .9rem; }
.legal .crumbs a { color: var(--muted); }
.legal h1 { margin: 0 0 6px; color: var(--navy); font-size: 2.1rem; line-height: 1.35; }
.legal-date { margin: 0 0 28px; color: var(--muted); font-size: .92rem; }
.legal-toc { background: var(--ice); border: 1px solid var(--line); border-radius: 14px; padding: 16px 22px; margin-bottom: 32px; }
.legal-toc b { color: var(--navy); }
.legal-toc ol { margin: 8px 0 0; padding-inline-start: 26px; columns: 2; column-gap: 32px; list-style: arabic-indic; }
.legal-toc li { break-inside: avoid; margin: 2px 0; }
.legal-toc a { text-decoration: none; }
.legal-toc a:hover { text-decoration: underline; }
.legal-body h2 { color: var(--navy); font-size: 1.35rem; margin: 36px 0 10px; padding-top: 4px; scroll-margin-top: 96px; }
.legal-body h3 { color: var(--ink); font-size: 1.08rem; margin: 22px 0 6px; }
.legal-body p { margin: 0 0 14px; }
.legal-body ul { margin: 0 0 16px; padding-inline-start: 24px; }
.legal-body li { margin: 6px 0; }
.legal-body li::marker { color: var(--sky); }
.legal-body a { overflow-wrap: anywhere; }
.legal-side { position: sticky; top: 110px; border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; background: var(--soft); }
.legal-side b { color: var(--navy); }
.legal-side ul { list-style: none; margin: 10px 0 18px; padding: 0; }
.legal-side li { padding: 7px 0; border-bottom: 1px solid var(--line); }
.legal-side li:last-child { border-bottom: 0; }
.legal-side a { text-decoration: none; }
.legal-side [aria-current] { font-weight: 700; color: var(--ink); }
@media (max-width: 1020px) {
  .wrap.legal-wrap { grid-template-columns: 1fr; gap: 28px; padding-top: 28px; }
  .legal-side { position: static; }
}
@media (max-width: 680px) {
  .legal h1 { font-size: 1.6rem; }
  .legal-toc ol { columns: 1; }
  .site-foot .wrap { flex-direction: column; align-items: flex-start; }
}
@media print {
  .site-top, .legal-side, .site-foot, .test-bar, .legal-toc { display: none !important; }
  .wrap.legal-wrap { display: block; padding: 0; }
}

.viewer { position: fixed; inset: 0; z-index: 50; background: rgba(10, 14, 40, .86); display: grid; place-items: center; padding: 24px; }
.viewer img { max-height: 86vh; border-radius: 16px; }
.viewer .sq-btn { position: absolute; top: 20px; inset-inline-end: 20px; }

@media (max-width: 1180px) {
  .site-nav { gap: 26px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .badge { inset-inline-start: -16px; }
}
@media (max-width: 1020px) {
  .site-top .wrap { min-height: 76px; }
  .site-brand img { height: 58px; }
  .nav-btn { display: inline-flex; }
  .nav-cta { display: none; }
  .site-nav { position: absolute; top: 100%; inset-inline: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 6px 24px 16px; display: none; box-shadow: 0 14px 24px rgba(8, 0, 159, .08); }
  .site-nav a { padding: 12px 4px; min-height: 52px; border-bottom: 1px solid var(--line); }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .nav-toggle:checked ~ .top-actions .nav-btn i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .top-actions .nav-btn i:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .top-actions .nav-btn i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero-grid, .two-col { grid-template-columns: 1fr; gap: 48px; }
  .hero-text { padding-top: 0; }
  .sec-head { grid-template-columns: 1fr; gap: 18px; }
  .sec-side { justify-self: start; }
  .steps, .gallery { grid-template-columns: repeat(2, 1fr); }
  .ct-info { padding-bottom: 180px; }
  .pixels { transform: scale(.7); transform-origin: bottom right; }
}
@media (max-width: 680px) {
  html { --fs: 16px; }
  html.o-big { --fs: 19px; }
  .wrap { padding: 0 16px; }
  .sq-btn { width: 48px; height: 48px; }
  .block { padding: 56px 0; }
  .hero { padding: 40px 0 64px; }
  .hero h1 { line-height: 1.5; }
  .btns { gap: 20px; }
  .btns .cta { flex: 1 1 100%; }
  .points { margin-top: 36px; gap: 12px 24px; }
  .slides, .slide { border-radius: 20px; }
  .corner { width: 56px; height: 56px; inset-inline-end: -10px; bottom: -10px; }
  .badge { position: relative; inset: auto; margin: -36px 16px 0; padding: 18px 20px; }
  .badge b { font-size: 1.15rem; }
  .slider-bar { flex-direction: column-reverse; align-items: stretch; margin-top: 24px; }
  .slider-ctl { justify-content: space-between; }
  .slide-cap { text-align: center; }
  .values { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .big { font-size: 1.2rem; }
  .cards, .gallery, .steps { grid-template-columns: 1fr; }
  .tile { padding: 32px 26px; }
  .tile-top { margin-bottom: 28px; }
  .tile-top .ibox { width: 72px; height: 72px; }
  .tile p { margin-bottom: 24px; }
  .tab-list { gap: 26px; }
  .tabs { flex-wrap: wrap; }
  .g-count { display: none; }
  .zoom { width: 48px; height: 48px; top: 16px; inset-inline-start: 16px; }
  .shot-row b { font-size: 1.35rem; }
  .step-top { margin-bottom: 26px; }
  .steps { gap: 36px; }
  .video-box { border-radius: 20px; }
  .vp-mark { transform: scale(.55); transform-origin: bottom left; inset-inline-end: 24px; }
  .play-big { width: 76px; height: 76px; }
  .faq summary { min-height: 84px; font-size: 1.05rem; }
  .sec-faq .more { margin-top: 28px; }
  .contact { padding-top: 80px; }
  .ct-form { padding: 34px 22px 28px; border-radius: 20px; }
  .ct-form h3 { font-size: 1.5rem; }
  .f-row { grid-template-columns: 1fr; gap: 0; }
  .ct-form input:not([type=checkbox]), .ct-form select { min-height: 56px; }
  .ct-info { padding-bottom: 40px; }
  .pixels { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide, .tile, .cta, .dot, .shot-img > img, .nav-btn i { transition: none; }
}
.test-bar a { color: #fff; font-weight: 700; }
/* Sections the panel can add: free text with a picture, numbers strip. */
.sec-text .soft { font-size: 1.05rem; }
.sec-text .two-col { align-items: center; }
.text-img img { width: 100%; border-radius: 22px; display: block; }
.sec-text .more { margin-top: 10px; }
.stat-row { list-style: none; margin: 0; padding: 36px 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 18px; text-align: center; background: var(--navy); border-radius: 22px; color: #fff; }
.stat-row b { display: block; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; line-height: 1.3; direction: ltr; }
.stat-row li + li { border-inline-start: 1px solid rgba(255, 255, 255, .15); }
.stat-row span { color: #d6dcff; }
.stat-note { text-align: center; color: var(--muted); font-size: .85rem; margin: 12px 0 0; }
@media (max-width: 680px) { .stat-row { grid-template-columns: repeat(2, 1fr); } .stat-row li + li { border: 0; } }

/* v1.27: icons picked for the stats bar, and uploaded icons drawn as pictures keep the icon size. */
.stat-row .stat-ico { display: block; margin: 0 auto 8px; color: var(--sky); }
.contact .social img.ico, .ct-phone img.ico, .ct-loc img.ico { border-radius: 4px; background: #fff; }
img.ico { object-fit: contain; }
