/* v27: one coherent spacing, contrast and interaction system. */
:root{--surface:#0e1724ed;--edge:#b8d3ff38;--soft-shadow:0 5px 18px #0004;--reading:#f1f5fc}
body{text-shadow:none;padding-bottom:104px}
.scene-art{opacity:1;filter:none}
.scene-light{inset:0;background:linear-gradient(90deg,#050609a6,#07090cc4 40%,#07090cbb 75%,#050609ab);animation:none}
.scene-grid{opacity:.35}
.card:before{opacity:.35}
.topbar{padding:18px 28px;background:linear-gradient(180deg,#0a101ae6,#0a101a80);box-shadow:0 4px 16px #0002}
.topbar:after{width:44px;height:2px;opacity:.7}
.brand-name{font-family:Inter,sans-serif;font-weight:850;font-size:24px;letter-spacing:-.6px}
.brand-role{font-size:12px;color:#d5dfed;letter-spacing:0}
.language-switch button,.dialog-language button{font-family:Inter,sans-serif;font-size:12px;font-weight:700;min-width:44px;min-height:44px}
.language-switch button[lang=fa],.dialog-language button[lang=fa]{font-family:'B Nazanin',serif;font-size:19px}
.hero{gap:26px;padding-block:26px;align-items:center;grid-template-columns:minmax(0,1.4fr) minmax(260px,1fr)}
.hero:after{inset:12px 13px;opacity:.28}
.hero .eyebrow{font-family:Inter,sans-serif;font-size:12px;font-weight:750;letter-spacing:.015em;text-transform:none;line-height:1.5;gap:8px;padding-inline-end:9px}
.region-mark{margin-inline-start:auto;opacity:.65}
html:not([lang=fa]) .hero h1{font-size:clamp(32px,15.3cqw,86px);line-height:.91;letter-spacing:-.068em;margin:18px 0;padding:6px 0 8px 14px;text-shadow:0 3px 8px #0008}
html:not([lang=fa]) .hero h1>span:first-child{white-space:nowrap;line-height:.95}
html:not([lang=fa]) .hero h1 strong{font-size:1.5em;line-height:.86;letter-spacing:-.075em;text-shadow:0 4px 9px #0006}
html:not([lang=fa]) .hero h1 .headline-end{font-size:.76em;line-height:.96;white-space:nowrap;margin-top:.045em;color:#e2e6ef;text-shadow:0 2px 5px #0008}
html[lang=es] .hero h1{font-size:clamp(32px,16cqw,86px)}
html[lang=es] .hero h1 strong{font-size:1.39em}
html[lang=es] .hero h1 .headline-end{font-size:.65em}
.hero-body{font-size:16px;line-height:1.65;max-width:540px;color:var(--reading);text-shadow:0 1px 2px #000}
html[lang=fa] .hero-body{font-size:22px;line-height:1.65}
html[lang=fa] .hero .hero-copy h1{margin-block:16px 18px!important}
.hero-routes{padding-top:0;align-self:center;width:100%;max-width:385px;justify-self:end}
.route-label{font:750 12px/1.5 Inter,sans-serif;letter-spacing:.02em;color:#e3ecfa;margin-bottom:10px}
.route-mark{font-size:11px;color:#93bcff}
.route-card{min-height:72px;padding:14px 16px;margin:8px 0;border-radius:12px;background:linear-gradient(120deg,#183357e8,#0a1322ed);box-shadow:var(--soft-shadow);font:750 15px/1.45 Inter,sans-serif}
.route-index{font-size:12px;color:#a9c8f6;position:static;margin-inline-start:auto;align-self:center;flex:none}
.route-symbol{width:25px;height:25px;display:flex;color:#7cb2ff}
[data-icon]{display:inline-flex;align-items:center;justify-content:center;flex:none}
[data-icon] svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.route-symbol svg{width:25px;height:25px}
.button{box-shadow:var(--soft-shadow);border-radius:14px}
.hero-actions{display:flex;justify-content:flex-start;gap:10px}
.hero-actions .button{flex:0 1 auto;min-height:52px;padding:12px 22px;white-space:nowrap;font-size:14px}
.hero-actions .whatsapp{background:#194ba0;border-color:#78aaff70}
.hero-actions .whatsapp>span:last-child[aria-hidden]{display:none}
.hero-actions .wa-logo{width:28px;height:28px}
.guide-link{font:600 13px/1.5 Inter,sans-serif;min-height:44px;margin-top:5px;color:#dbeaff;text-decoration-color:#729cda}
html[lang=fa] .guide-link{font:700 20px/1.5 'B Nazanin',serif}
.mobile-bar,.dialog-contact{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr) 72px;gap:8px;align-items:stretch;padding:8px;background:#0c1421f2;border:1px solid var(--edge);box-shadow:0 7px 24px #0005;backdrop-filter:blur(12px)}
.mobile-bar a,.dialog-contact a,.mobile-bar .dock-qr,.dialog-contact .dock-qr{height:52px;min-height:52px;max-height:52px;border-radius:13px;padding:8px;box-sizing:border-box;box-shadow:0 3px 9px #0003;font-size:14px;gap:7px}
.mobile-bar .dock-whatsapp,.dialog-contact .dock-whatsapp{background:linear-gradient(120deg,#1b59b4,#13316a);border:1px solid #83b4ff75}
.mobile-bar .dock-email,.dialog-contact .dock-email{background:#1a293d;border:1px solid var(--edge)}
.mobile-bar .dock-qr,.dialog-contact .dock-qr{width:72px;min-width:72px;background:#1a293d;border-color:var(--edge);gap:5px}
.dock-qr svg{width:25px;height:25px;stroke-width:1.8}
.qr-caption{font:750 12px/1 Inter,sans-serif}
.mobile-bar .wa-logo,.dialog-contact .wa-logo{width:31px;height:31px}
.dock-whatsapp>span:last-child[aria-hidden]{display:none}
.dialog-contact[hidden]{display:none!important}
.ai-band{margin-block:12px 24px;box-shadow:none}
.intelligence{min-height:0;height:auto;padding:20px 0;transform:none!important}
.intelligence:before{box-shadow:0 0 6px #3988ff40}
.ai-band-copy{max-width:100%;width:100%}
.ai-band .mini-label,.section-heading .mini-label{font:750 12px/1.5 Inter,sans-serif;letter-spacing:.025em;color:#aecfff}
.ai-support{font-size:17px;line-height:1.55;color:var(--reading);text-shadow:0 1px 2px #000}
.ai-more{display:inline-flex;align-items:center;min-height:44px;font-size:14px;font-weight:650;color:#a9cdff;text-decoration:underline;text-underline-offset:5px}
html:not([lang=fa]) .statement{text-shadow:0 3px 8px #0007}
html:not([lang=fa]) .statement strong{text-shadow:0 3px 8px #0006}
html[lang=es] .ai-band .statement{font-size:44px}
.statement-ai>em{-webkit-text-stroke:1.25px #f0f5ff}
.journey{padding:12px 8px;border-radius:12px;background:#0c1829ed;box-shadow:var(--soft-shadow)}
.journey-step{gap:5px;padding:4px 12px;align-items:flex-start;text-align:start;min-width:0}
.journey-num{font:700 12px/1.3 Inter,sans-serif;color:#a6caff}
.journey-step strong{font-size:14px;line-height:1.4;white-space:normal;max-width:100%}
.journey-step>span:last-child{display:block;font-size:12px;line-height:1.5;color:#d2deef}
.section-heading{position:relative;align-items:start;padding-block:12px 0}
.section-heading>div{min-width:0;flex:1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.85fr);column-gap:24px;align-items:center}
.section-heading .mini-label{grid-column:1/-1;margin-bottom:14px}
.section-aside{max-width:370px;justify-self:end;padding-inline-end:10px}
.section-question{margin:0 0 8px;font-size:24px;color:#fff;line-height:1.3}
.section-summary{font-size:15px;line-height:1.7;color:#e2eaf6;text-shadow:0 1px 2px #000}
.service-count{position:absolute;inset-inline-end:0;top:13px;padding:0;font:650 12px/1.5 Inter,sans-serif;color:#e1edff}
html[lang=fa] .section-heading .service-count{top:13px;bottom:auto;left:0}
.service-filters{margin-top:18px;border-color:var(--edge);border-radius:12px;background:#0b1420ed;gap:5px}
.service-filters button{position:relative;border-radius:8px;gap:7px;font-size:13px;line-height:1.4;padding:8px 7px}
.service-filters button>span{display:inline-block;font:650 11px/1 Inter,sans-serif;opacity:1;color:#c3dafa}
.service-filters button[aria-pressed=true]{background:#214a7e;box-shadow:inset 0 -3px #78b2ff}
.tap-hint{font-size:13px;line-height:1.6;margin-block:10px 13px;color:#e0eafa}
.service-card,.service-card:nth-child(n){border-radius:12px;background:linear-gradient(115deg,#18304deF,#0c1524f5);border-color:var(--edge);box-shadow:var(--soft-shadow);min-height:96px;padding:12px;gap:12px}
.service-art{width:64px;height:64px;border-radius:8px;background:#152943;border:1px solid #d6e5ff40}
.service-art img{object-fit:contain;filter:saturate(.5) brightness(.95);padding:3px;transform:none}
.service-art:after{opacity:.08}
.service-name{font:800 16px/1.3 Inter,sans-serif;letter-spacing:-.02em}
.service-caption{font-size:13px;line-height:1.5;color:#d7e5f6;text-shadow:none}
.service-arrow{align-self:center;font-size:22px;color:#a2c8ff;margin:0}
.expertise-foot{font-size:13px;color:#e1eafa;padding:15px 0 4px;text-shadow:0 1px 2px #000}
.utility-nav{gap:8px;border:0;padding-block:12px;margin-top:7px}
.utility-nav button,.utility-nav button:nth-child(n){min-height:48px;border:1px solid var(--edge);background:#102034eb;border-radius:10px;color:#e5effc;gap:8px;font-size:13px;line-height:1.4;padding:9px}
.utility-nav button:first-child{background:#1a3559;border-color:#82b3fb60}
.utility-nav:before{width:44px;opacity:.65}
footer{margin-top:0;border-radius:12px;background:#0e1929ed;border-color:var(--edge);box-shadow:var(--soft-shadow)}
footer:before{display:none}
.footer-profile img{object-fit:contain;object-position:center bottom;padding:2px;width:52px;height:52px;flex-basis:52px}
.footer-profile strong{font:800 21px/1.2 Inter,sans-serif}
.footer-profile span{font-size:12px;color:#dae6f6;line-height:1.4;text-shadow:none}
.contact-details a{font-size:12px;gap:6px;border-color:var(--edge);background:#122239;line-height:1.2}
.contact-details [data-icon] svg{width:15px;height:15px;color:#b6d3ff}
html[lang=fa] .footer-profile strong{font-family:'B Nazanin',serif;font-size:28px}
html[lang=fa] .footer-profile span{font-size:18px}
/* Dialog reading surfaces: compact toolbar, clear hierarchy, quiet scrolling. */
dialog{background:#0e1724;border:1px solid #a9cbff4d;border-radius:18px;box-shadow:0 20px 80px #0008;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px)}
.dialog-shell{background:#0e1724;max-height:calc(100vh - 26px);max-height:calc(100dvh - 26px)}
.dialog-toolbar{padding:7px 14px;min-height:58px;background:#101e31;gap:8px}
.dialog-close{display:flex;align-items:center;justify-content:center;gap:6px;width:auto;min-width:82px;height:44px;padding:0 12px;background:#264770;border:1px solid #aacdff90;border-radius:11px;color:#fff;font:750 13px/1.2 Inter,sans-serif;flex:none}
.dialog-close>span:first-child{font:28px/1 Arial,sans-serif}
.dialog-close:hover{background:#376698}
.dialog-language button{padding:6px 9px}
.dialog-scroll{min-height:0;padding:22px 24px;scrollbar-width:thin;scrollbar-color:#5279a4 #0e1724;scroll-padding-block:16px}
.dialog-title{font-size:28px;line-height:1.3;letter-spacing:-.5px;margin:0 0 16px;color:#fff;text-shadow:none}
.dialog-eyebrow{font-size:11px;line-height:1.5;padding:0;margin:0 0 8px;color:#aac9f1;letter-spacing:.03em}
.dialog-description{font-size:16px;line-height:1.7;margin:0 0 13px;color:#e1eaf7;text-shadow:none}
.service-intro{display:grid;grid-template-columns:minmax(0,1fr) 68px;gap:4px 15px;align-items:center;margin-bottom:17px}
.service-intro .dialog-art{grid-column:2;grid-row:1/3;float:none;width:68px;height:68px;margin:0!important;border-radius:10px;filter:saturate(.55);object-fit:contain}
.service-intro .dialog-eyebrow{grid-column:1;grid-row:1;margin:0}
.service-intro .dialog-title{grid-column:1;grid-row:2;clear:none;font-size:25px;margin:0;padding-inline-start:12px}
.dialog-subtitle{font-size:17px;color:#aed1ff;margin:21px 0 9px}
.dialog-example{background:#162b45;border-inline-start:3px solid #70aaff;color:#f1f5fb;padding:14px 16px;line-height:1.7}
.deliverables{color:#e1eaf7;font-size:15px;line-height:1.7}
.deliverables li::marker{color:#8ebaff}
.term-list button{background:#172a42;color:#e3eeff;border-color:#7195c765;font-size:14px}
.back-service{font-size:15px;color:#b8d8ff;background:#182c47;border-radius:9px;padding:8px 12px;width:fit-content;margin-bottom:16px}
.dialog-contact{border-radius:0;border-width:1px 0 0;flex:none}
.need-option{min-height:66px;padding:12px 14px;background:#14263f;border-color:var(--edge);line-height:1.5;font-size:15px}
.need-options{grid-auto-rows:1fr}
.need-option>span:first-child{font-size:12px;color:#a7ceff}
.need-option>span:nth-child(2){flex:1}
.need-option>span:last-child{font:22px/1 Arial,sans-serif;color:#c4dcff}
.need-option[aria-pressed=true]{background:#204c7c;border-color:#99c4ff}
.guide-result{text-align:start;background:#163353;border:1px solid #639bd080;line-height:1.6}
#guide-selected{display:block;font-size:14px;margin-top:10px;color:#b7d7ff}
.guide-result .eyebrow{color:#f0f6ff}
.guide-result p{font-size:16px;color:#e4edfa}
.process,.ai-steps{gap:9px;margin:16px 0}
.process-item,.ai-step{padding:13px 15px;background:#14263e;border-color:var(--edge)}
.process-item h3 span,.ai-step>span{color:#b5d2fc;font-size:12px}
.process-item p,.ai-step p{font-size:15px;line-height:1.65;color:#dce8f8}
.faqs summary{display:flex;align-items:center;gap:12px;list-style:none;font-size:17px;line-height:1.5;padding:6px 0}
.faqs summary::-webkit-details-marker{display:none}
.faqs summary:after{content:'+';font:22px/1 Arial,sans-serif;color:#a8ceff;margin-inline-start:auto;flex:none}
.faqs details[open] summary:after{content:'−'}
.faqs p{font-size:16px;line-height:1.75;color:#deebfb}
.save-instructions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:20px}
.save-instructions section{padding:14px;background:#142840;border:1px solid var(--edge);border-radius:12px}
.save-instructions h3{font:750 16px/1.4 Inter,sans-serif;text-align:start;margin:0 0 8px;color:#c5deff}
.save-instructions ol{padding-inline-start:20px;margin:0;font-size:15px;line-height:1.7;color:#e0eafa}
.save-instructions li{padding-inline-start:3px;margin:7px 0}
.save-instructions li::marker{color:#95c2ff;font:700 12px/1 Inter,sans-serif}
.save-note{font-size:14px;line-height:1.7;color:#bdcfe6}
html[lang=fa] bdi{display:inline;unicode-bidi:isolate;white-space:nowrap;word-break:normal;margin-inline:.16em}
html[lang=fa] .dialog-title{font-size:32px;line-height:1.35}
html[lang=fa] .service-intro .dialog-title{font-size:27px}
html[lang=fa] .dialog-description,html[lang=fa] .dialog-example,html[lang=fa] .deliverables,html[lang=fa] .faqs p{font-size:21px;line-height:1.75}
html[lang=fa] .dialog-close{font-family:'B Nazanin',serif;font-size:20px}
html[lang=fa] .need-option{font-size:22px;line-height:1.5;min-height:70px}
html[lang=fa] #guide-selected{font-size:20px}
html[lang=fa] .process-item p,html[lang=fa] .ai-step p{font-size:21px;line-height:1.65}
html[lang=fa] .save-instructions ol{font-size:21px;line-height:1.8}
html[lang=fa] .save-note{font-size:19px;line-height:1.7}
html[lang=fa] .section-summary{font-size:21px;line-height:1.7}
html[lang=fa] .section-heading .statement{font-size:clamp(54px,18cqw,108px)!important;margin:12px 0 20px!important}
html[lang=fa] .section-heading .statement>em{margin-block-start:.36em!important;inset-inline-start:.08em}
html[lang=fa] .ai-band .statement{margin:14px 0 20px!important}
@media(min-width:901px){
 .topbar{justify-content:flex-start;gap:32px}.language-switch{margin-inline-start:auto}
 .mobile-bar{left:auto;right:18px;transform:none!important;width:410px;bottom:14px}
 footer{grid-template-columns:minmax(0,.9fr) minmax(0,1.2fr);gap:18px}
 .ai-band-copy{grid-template-columns:1.1fr 1fr}.ai-band .statement{font-size:52px}
 .section-heading .statement{font-size:51px}.section-question{font-size:25px}
}
@media(max-width:900px){
 .section-heading>div{grid-template-columns:1fr}.section-aside{justify-self:start;max-width:100%;padding:0}
 .section-summary{display:none}.section-question{font-size:19px;margin:14px 0 0}
 .service-count{top:13px}.hero-routes{max-width:none}
}
@media(max-width:600px){
 .topbar{padding:16px 20px;gap:8px;flex-wrap:nowrap}.brand{flex:1;min-width:0}.brand-name{font-size:20px}.brand-role{font-size:11px;line-height:1.4}
 .language-switch{margin-inline-start:auto;padding:2px}.language-switch button{font-size:11px;padding:4px}
 .hero{padding:23px 22px 18px}.hero .eyebrow{font-size:11px}.hero:after{inset:10px 12px;opacity:.22}
 .hero-body{font-size:15px;line-height:1.65}.hero-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}
 .hero-actions .button{font-size:13px;padding:10px 8px;height:52px;min-height:52px}.hero-actions .wa-logo{width:26px;height:26px}
 .guide-link{font-size:12px;margin-bottom:10px}.route-card{min-height:66px;font-size:14px;padding:13px}.route-label{font-size:12px}
 .ai-band{margin:4px 22px 20px}.ai-band .mini-label,.section-heading .mini-label{font-size:11px;letter-spacing:.01em}
 .intelligence{padding:15px 0}.ai-band-copy{padding-inline-start:14px}
 html:not([lang=fa]) .ai-band .statement{font-size:43px}.ai-support{font-size:15px;margin-top:16px}.ai-more{font-size:13px;margin-top:2px}
 .journey{padding:10px 4px}.journey-step{padding:3px 8px;gap:5px}.journey-step strong{font-size:12px}.journey-step>span:last-child{font-size:11px;display:block}
 .service-filters{gap:3px;padding:4px}.service-filters button{font-size:11px;padding:7px 4px;flex-direction:column;gap:4px}
 .service-filters button>span{font-size:11px}.service-card,.service-card:nth-child(n){min-height:92px;padding:11px;gap:11px}
 .service-name{font-size:15px}.service-caption{font-size:13px;line-height:1.5;min-height:39px;display:flex;align-items:center}.service-art{width:60px;height:60px}
 .expertise-foot{font-size:12px;line-height:1.6}.utility-nav{margin-inline:20px;gap:7px}.utility-nav button{font-size:12px;gap:6px;padding:8px 6px}
 .utility-nav [data-icon] svg{width:17px;height:17px}footer{padding:17px 12px;gap:14px}.footer-profile strong{font-size:20px}.footer-profile span{font-size:12px}
 .contact-details a{font-size:11px;gap:4px;padding:8px 4px}.contact-details [data-icon] svg{width:13px;height:13px}
 .mobile-bar{padding:8px 10px calc(8px + env(safe-area-inset-bottom));grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) 68px;gap:7px}
 .mobile-bar .dock-qr,.dialog-contact .dock-qr{width:68px;min-width:68px}.dialog-contact{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) 68px;gap:7px}
 .mobile-bar a,.dialog-contact a{font-size:13px;padding-inline:6px;gap:6px}
 dialog{width:calc(100% - 16px);max-height:calc(100dvh - 16px);margin:auto;border-radius:16px;border-bottom:1px solid var(--edge)}
 .dialog-shell{max-height:calc(100dvh - 18px)}.dialog-scroll{padding:18px 16px}.dialog-toolbar{padding:6px 10px;min-height:56px}
 .dialog-close{min-width:78px;padding-inline:9px}.dialog-title{font-size:25px}.service-intro .dialog-title{font-size:22px}
 .dialog-contact{padding:8px}.dialog-language button{padding:5px 7px;font-size:11px}
 .service-intro{grid-template-columns:minmax(0,1fr) 54px;gap:4px 10px}.service-intro .dialog-art{width:54px;height:54px}
 .dialog-description{font-size:15px;line-height:1.7}.need-option{min-height:74px}.save-instructions{grid-template-columns:1fr}
 html[lang=fa] .brand-name{font-size:27px}html[lang=fa] .brand-role{font-size:17px}
 html[lang=fa] .hero .eyebrow{font-size:18px;line-height:1.5}html[lang=fa] .hero-body{font-size:21px;line-height:1.65}
 html[lang=fa] .hero-actions .button{font-size:20px}html[lang=fa] .route-card{font-size:22px}
 html[lang=fa] .journey-step strong{font-size:20px;line-height:1.3}html[lang=fa] .journey-step>span:last-child{font-size:16px;line-height:1.5}
 html[lang=fa] .section-heading .mini-label{font:700 17px/1.5 'B Nazanin',serif;padding-inline-end:70px}
 html[lang=fa] .ai-band .mini-label{font:700 18px/1.5 'B Nazanin',serif}
 html[lang=fa] .section-heading .statement{font-size:clamp(54px,23cqw,92px)!important}
 html[lang=fa] .service-filters button{font-size:18px;line-height:1.35}html[lang=fa] .service-name{font-size:24px}
 html[lang=fa] .service-caption{font-size:18px;min-height:27px}html[lang=fa] .tap-hint{font-size:18px}
 html[lang=fa] .utility-nav button{font-size:18px}html[lang=fa] .expertise-foot{font-size:17px}
}
@media(max-width:360px){
 .topbar{gap:10px;flex-wrap:wrap}.brand{flex-basis:100%;width:100%}.language-switch{margin-inline-start:0}.brand-name{font-size:21px}
 .mobile-bar,.dialog-contact{gap:5px;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) 62px}
 .mobile-bar .dock-qr,.dialog-contact .dock-qr{width:62px;min-width:62px}.mobile-bar a,.dialog-contact a{font-size:12px;gap:4px}
 .mobile-bar .wa-logo,.dialog-contact .wa-logo{width:27px;height:27px}.dock-qr svg{width:22px;height:22px}
 .contact-details a{font-size:10px}.contact-details [data-icon]{display:none}.footer-profile strong{font-size:18px}
 .dialog-close{min-width:72px}.dialog-language button{min-width:40px;padding:4px}.service-art{width:52px;height:52px}
 .service-card{gap:9px}.service-name{font-size:14px}.service-caption{font-size:12px}
}
/* QR is a dedicated, non-scrolling viewport composition. All tracks may shrink. */
dialog[data-panel=qr]{width:min(480px,calc(100vw - 24px));height:min(660px,calc(100vh - 24px));height:min(660px,calc(100dvh - 24px));max-width:none;max-height:none;margin:auto;overflow:hidden;border-radius:18px}
dialog[data-panel=qr] .dialog-shell{height:100%;max-height:none;display:grid;grid-template-rows:58px minmax(0,1fr);overflow:hidden}
dialog[data-panel=qr] .dialog-toolbar{padding:6px 12px;min-height:0}
dialog[data-panel=qr] .dialog-scroll{height:100%;min-height:0;overflow:hidden;padding:18px}
dialog[data-panel=qr] #dialog-body{height:100%;min-height:0;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr) auto 46px;gap:12px;align-items:center;text-align:center}
dialog[data-panel=qr] #dialog-body>*{animation:none!important;min-width:0}
dialog[data-panel=qr] .dialog-title{font:850 27px/1.2 Inter,sans-serif;margin:0;padding:0;border:0;letter-spacing:-.5px}
dialog[data-panel=qr] .dialog-description{font:400 14px/1.4 Inter,sans-serif;margin:0;color:#d3e4f8}
dialog[data-panel=qr] .qr-image{display:block;width:100%;height:100%;min-height:0;max-height:100%;max-width:100%;object-fit:contain;align-self:stretch;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;image-rendering:pixelated}
dialog[data-panel=qr] .qr-link{font:650 15px/1.3 Inter,sans-serif;color:#e7f1ff;margin:0}
dialog[data-panel=qr] .dialog-button-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;flex-wrap:nowrap;height:46px}
dialog[data-panel=qr] .dialog-button-row .button{height:46px;min-height:46px;padding:6px 8px;font:750 13px/1.3 Inter,sans-serif;border-radius:11px;white-space:nowrap}
html[lang=fa] dialog[data-panel=qr] .dialog-title{font:700 30px/1.3 'B Nazanin',serif;letter-spacing:0}
html[lang=fa] dialog[data-panel=qr] .dialog-description{font:400 20px/1.4 'B Nazanin',serif}
html[lang=fa] dialog[data-panel=qr] .dialog-button-row .button{font:700 20px/1.3 'B Nazanin',serif}
@media(max-height:540px) and (min-width:480px){
 dialog[data-panel=qr]{width:min(720px,calc(100vw - 24px));height:calc(100vh - 24px);height:calc(100dvh - 24px)}
 dialog[data-panel=qr] .dialog-scroll{padding:12px}
 dialog[data-panel=qr] #dialog-body{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:1fr auto auto 46px;gap:10px 18px;align-items:center}
 dialog[data-panel=qr] .qr-image{grid-column:1;grid-row:1/5}
 dialog[data-panel=qr] .dialog-title{grid-column:2;grid-row:1;align-self:end;font-size:24px}
 dialog[data-panel=qr] .dialog-description{grid-column:2;grid-row:2;font-size:13px}
 dialog[data-panel=qr] .qr-link{grid-column:2;grid-row:3;font-size:14px}
 dialog[data-panel=qr] .dialog-button-row{grid-column:2;grid-row:4;gap:6px}
 html[lang=fa] dialog[data-panel=qr] .dialog-title{font-size:27px}
 html[lang=fa] dialog[data-panel=qr] .dialog-description{font-size:18px}
}
@media(max-height:540px) and (max-width:479px){
 dialog[data-panel=qr] .dialog-scroll{padding:10px}
 dialog[data-panel=qr] #dialog-body{gap:7px;grid-template-rows:auto minmax(0,1fr) auto 44px}
 dialog[data-panel=qr] .dialog-description{display:none}
 dialog[data-panel=qr] .dialog-title{font-size:22px}
 html[lang=fa] dialog[data-panel=qr] .dialog-title{font-size:25px}
 dialog[data-panel=qr] .dialog-button-row,dialog[data-panel=qr] .dialog-button-row .button{height:44px;min-height:44px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-height:360px) and (max-width:479px){
 dialog[data-panel=qr] .dialog-scroll{padding:8px}
 dialog[data-panel=qr] #dialog-body{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);grid-template-rows:1fr auto 44px;gap:7px 9px}
 dialog[data-panel=qr] .qr-image{grid-column:1;grid-row:1/4}
 dialog[data-panel=qr] .dialog-title{grid-column:2;grid-row:1;font-size:18px;align-self:center}
 dialog[data-panel=qr] .qr-link{grid-column:2;grid-row:2;font-size:10px}
 dialog[data-panel=qr] .dialog-button-row{grid-column:2;grid-row:3;gap:4px}
 dialog[data-panel=qr] .dialog-button-row .button{font-size:10px;padding-inline:2px}
 html[lang=fa] dialog[data-panel=qr] .dialog-title{font-size:21px}
 html[lang=fa] dialog[data-panel=qr] .dialog-button-row .button{font-size:15px}
}

/* v28: keep the wallpaper independent of mobile browser toolbar resizing.
   Only this static scene gets a compositing layer; text stays untransformed. */
@media (max-width:900px), (hover:none) and (pointer:coarse){
 .scene{
  bottom:auto;
  height:100vh;
  height:100lvh;
  contain:paint;
  transform:translateZ(0);
  backface-visibility:hidden;
  -webkit-backface-visibility:hidden;
 }
}

/* v29: compact service rows with crisp, semantic symbols. */
.service-grid{gap:7px}
.service-card,.service-card:nth-child(n){min-height:74px;padding:10px 12px;gap:11px;border-radius:11px}
.service-art{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;overflow:visible;border-radius:10px;border:1px solid #8dbbff38;background:linear-gradient(145deg,#27588b65,#10243c);box-shadow:inset 0 1px #dbeaff14,0 3px 8px #0003;color:#e7f1ff}
.service-art:after{display:none}
.service-symbol{display:block;width:30px;height:30px;overflow:visible}
.service-symbol .icon-accent{stroke:#78b8ff}
.service-copy{min-width:0;gap:3px}
.service-name{font-size:15px;line-height:1.3;color:#fff}
.service-caption{display:block;min-height:0;font-size:12px;line-height:1.45;color:#d7e5f6}
.service-arrow{font-size:19px;flex:0 0 16px}
html[lang=fa] .service-name{font-size:23px;line-height:1.2}
html[lang=fa] .service-caption{font-size:18px;min-height:0;line-height:1.35}
@media(max-width:360px){
 .service-card,.service-card:nth-child(n){padding:9px;gap:9px}
 .service-art{width:40px;height:40px;flex-basis:40px}
 .service-symbol{width:28px;height:28px}
 .service-name{font-size:14px}
}
