/* Shared public UI refinement. Brand: Sanad blue, violet and navy. */
:root { --primary:#1559c4; --muted:#4e5f76; --focus:#1260ce; --radius:16px; }
body { font-weight:500; }
[dir="ltr"] body { font-family:Inter,Cairo,sans-serif; }
button,input,select,textarea { font:inherit; }
::selection { background:#d8e8ff; color:#0d1b36; }
input,textarea { caret-color:var(--primary); }
a { text-underline-offset:4px; }
:where(a,button,input,select,textarea):focus-visible { outline:3px solid var(--focus); outline-offset:4px; }
#main-content:focus { outline:none; }
.skip-link { position:fixed; top:10px; inset-inline-start:18px; z-index:100; padding:12px 20px; background:#fff; color:var(--ink); border:2px solid var(--primary); border-radius:10px; transform:translateY(-180%); }
.skip-link:focus { transform:none; }
.container { width:min(1180px,calc(100% - 48px)); }
:where(.hero-grid,.page-hero-grid,.systems-hero-grid,.detail-grid,.feature-grid,.module-grid,.system-catalog)>* { min-width:0; }
h1,h2,h3 { text-wrap:balance; }
[dir="rtl"] :where(h1,h2,h3) { letter-spacing:0; line-height:1.5; }
p,li { overflow-wrap:anywhere; }
.site-header { background:#fff; backdrop-filter:none; }
.nav-wrap { min-height:88px; gap:20px; position:relative; }
.brand-logo { flex-shrink:0; }
.nav-links { gap:16px; }
.nav-links a { white-space:nowrap; min-height:44px; display:inline-flex; align-items:center; }
.nav-links a[aria-current="page"] { text-decoration:underline; text-decoration-thickness:2px; text-underline-offset:9px; }
.nav-actions { flex-shrink:0; }
.nav-actions .btn { font-size:13px; padding:10px 13px; }
.mobile-nav-action { display:none!important; }
.lang-btn,.menu-toggle { min-width:44px; min-height:44px; display:inline-flex; align-items:center; justify-content:center; }
.menu-toggle { display:none; }
.btn { min-height:48px; transition:background-color .18s ease,box-shadow .18s ease; }
.btn-primary { background:linear-gradient(120deg,#1559c4,#6230db); box-shadow:0 6px 16px rgba(21,89,196,.13); }
.btn-primary:hover { background:#164ca6; box-shadow:0 8px 20px rgba(21,89,196,.2); }
.btn-ghost:hover,.btn-outline:hover { background:#edf4ff; border-color:#adc7ed; }
.public-flashes:empty { display:none; }
.hero { padding:64px 0; background:linear-gradient(115deg,#f8faff,#fff 70%); }
.hero-grid { grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr); gap:56px; }
.hero h1 { font-size:clamp(36px,3.8vw,54px); margin:16px 0 20px; }
.hero-copy>p { max-width:58ch; line-height:1.95; font-size:17px; }
.hero-visual { min-height:350px; }
.logo-stage { inset:12px 0; border-radius:24px; box-shadow:none; background:#f0f5ff; border:0; }
.logo-stage:before { display:none; }
.logo-stage img { width:76%; height:76%; }
.hero-proof { margin-top:26px; gap:16px; }
.hero-proof span { font-size:13px; margin-top:5px; line-height:1.7; }
.section { padding:72px 0; }
.section-head { margin-bottom:30px; }
.section-head h2 { font-size:clamp(28px,3vw,40px); }
.section-head p { line-height:1.9; font-size:16px; }
.service-card,.product-card,.module-card,.feature-card,.detail-card { border-radius:var(--radius); box-shadow:none; }
.module-card { padding:26px; }
.module-card h3 { font-size:23px; }
.module-card p { line-height:1.9; font-size:15px; }
.module-head>div { align-items:center; }
.module-version { font-size:11px; line-height:1.5; }
.status { font-size:12px; line-height:1.5; }
.catalog-card-link:hover .module-card { transform:none; border-color:#92b4e8; box-shadow:0 8px 24px rgba(15,45,90,.07); }
.catalog-card-link:focus-visible { border-radius:var(--radius); }
.catalog-note { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:16px; border-style:solid; border-radius:12px; padding:18px 22px; }
.catalog-note span { font-size:14px; }
.text-link { display:inline-flex; align-items:center; min-height:44px; font-size:15px; }
.system-catalog { grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr)); }
.system-catalog .product-card:only-child { max-width:760px; }
.page-hero { padding:56px 0; background:#f5f8fd; }
.page-hero-grid { grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr); }
.page-hero h1 { font-size:clamp(32px,3.6vw,50px); }
.page-panel,.systems-method-card,.system-value-card { box-shadow:none; border-radius:20px; background:#fff; backdrop-filter:none; }
.page-panel-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.global-cta-section { padding:24px 0 56px; }
.global-cta { gap:30px; padding:36px; border-radius:20px; background:#102e59; }
.global-cta:after { display:none; }
.cta-copy { flex:1; min-width:0; }
.global-cta h2 { font-size:clamp(26px,2.6vw,34px); }
.global-cta p { line-height:1.9; }
.cta-actions { flex-direction:column; align-items:stretch; }
.cta-actions .btn { white-space:nowrap; }
.contact-form { box-shadow:none; border-radius:20px; padding:32px; }
.contact-form label { font-size:14px; }
.contact-form input,.contact-form select,.contact-form textarea { min-height:48px; font-size:16px; background:#fff; }
.contact-form textarea { min-height:160px; }
.contact-form input[type="email"],.contact-form input[type="tel"] { direction:ltr; text-align:start; }
.hp-field { position:absolute!important; left:auto!important; inset-inline-start:0!important; width:1px!important; height:1px!important; min-height:0!important; padding:0!important; border:0!important; clip-path:inset(50%); overflow:hidden; }
.form-note { font-size:13px; }
.contact-success:focus { outline:3px solid var(--focus); }
.footer-links a { min-height:44px; display:inline-flex; align-items:center; }
footer { padding:32px 0; }
@media(min-width:1181px) and (max-width:1350px) { .nav-wrap { flex-wrap:wrap; gap:0 20px; padding:12px 0; } .nav-links { order:3; width:100%; justify-content:center; } .nav-actions { margin-inline-start:auto; } }
@media(max-width:1180px) {
 .nav-wrap { min-height:78px; gap:12px; }
 .brand { margin-inline-end:auto; }
 .menu-toggle { display:inline-flex; order:3; }
 .nav-actions { order:2; }
 .nav-actions .admin-login-btn,.nav-actions .nursery-login-btn { display:none; }
 .nav-links { display:none; position:absolute; top:100%; inset-inline:0; width:100%; margin:0; padding:14px; background:#fff; border:1px solid var(--line); border-radius:0 0 16px 16px; box-shadow:0 14px 28px rgba(15,45,90,.1); max-height:calc(100dvh - 88px); overflow-y:auto; }
 .nav-links.open { display:flex; flex-direction:column; align-items:stretch; gap:4px; }
 .nav-links a { padding:9px 14px; border-radius:8px; white-space:normal; font-size:15px; }
 .nav-links a:hover,.nav-links a.active { background:#edf4ff; }
 .mobile-nav-action { display:inline-flex!important; }
 .mobile-nav-action:first-of-type { border-top:1px solid var(--line); }
}
@media(max-width:900px) {
 .hero-grid,.page-hero-grid,.systems-hero-grid { grid-template-columns:minmax(0,1fr); gap:30px; }
 .hero { padding:44px 0; }
 .hero-visual { min-height:280px; }
 .logo-stage { position:relative; inset:auto; min-height:260px; }
 .logo-stage img { width:200px; height:200px; }
 .hero h1 { max-width:22ch; }
 .page-hero { padding:40px 0; }
 .global-cta { flex-direction:column; }
 .cta-actions { flex-direction:row; flex-wrap:wrap; }
 .form-two { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .module-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:600px) {
 .container { width:calc(100% - 36px); }
 .nav-wrap { min-height:72px; gap:8px; }
 .brand { min-width:0; gap:7px; }
 .brand-logo { width:42px; height:42px; }
 .brand-copy strong { font-size:12px; }
 .brand-copy small { font-size:9px; letter-spacing:0; }
 .nav-actions { gap:0; }
 .lang-btn,.menu-toggle { border-radius:10px; padding:8px; }
 .hero { padding:32px 0 40px; }
 .hero h1 { font-size:34px; line-height:1.5; }
 .hero-copy>p { font-size:16px; margin:0; }
 .hero-actions { margin-top:24px; gap:10px; }
 .hero-proof { grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; padding-top:18px; margin-top:22px; }
 .hero-proof strong { font-size:14px; }
 .hero-proof span { font-size:11px; }
 .hero-visual { min-height:210px; }
 .logo-stage { min-height:210px; }
 .logo-stage img { width:170px; height:170px; }
 .section { padding:48px 0; }
 .section-head h2 { font-size:28px; }
 .section-head p { font-size:15px; }
 .module-grid,.form-two,.feature-grid,.detail-grid,.page-panel-grid,.how-we-work-grid { grid-template-columns:minmax(0,1fr); }
 .module-card { padding:22px; }
 .module-card h3 { font-size:22px; }
 .catalog-note { grid-template-columns:minmax(0,1fr); gap:8px; padding:18px; }
 .catalog-note .text-link { justify-self:start; }
 .page-hero h1 { font-size:32px; }
 .page-hero p { font-size:16px; }
 .page-panel { padding:22px; }
 .global-cta { padding:26px 22px; }
 .global-cta-section { padding-bottom:40px; }
 .cta-actions { flex-direction:column; width:100%; }
 .contact-form { padding:22px 18px; }
 .submit-row { align-items:stretch; flex-direction:column; }
 .footer-grid { gap:20px; }
 .footer-links { gap:14px; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } .btn,.catalog-card-link .module-card,.service-card { transition:none; } .service-card:hover { transform:none; } }

/* Content guidance and progressive disclosure */
.service-guide h2,.faq-content>h2 { font-size:clamp(28px,3vw,40px); margin:0 0 28px; }
.service-guide-row { display:flex; align-items:center; justify-content:space-between; gap:32px; padding:24px 0; border-top:1px solid var(--line); }
.service-guide-row h3 { margin:0 0 8px; font-size:22px; }
.service-guide-row p { margin:0; max-width:70ch; color:var(--muted); }
.service-guide-row .text-link { flex-shrink:0; margin-top:0; }
.faq-content { max-width:900px; }
.faq-item { border-top:1px solid #ccd8e8; padding:8px 0; }
.faq-item:last-child { border-bottom:1px solid #ccd8e8; }
.faq-item summary { cursor:pointer; padding:16px 4px; font-size:18px; font-weight:700; }
.faq-item summary:focus-visible { outline:3px solid var(--focus); outline-offset:3px; border-radius:6px; }
.faq-item[open] summary { color:var(--primary); }
.faq-item p { margin:0 4px 20px; color:var(--muted); line-height:1.9; }
.project-checklist { max-width:75ch; padding-inline-start:24px; }
.project-checklist li { padding:6px 0; }
@media(max-width:600px) { .service-guide-row { flex-direction:column; align-items:stretch; gap:12px; } .service-guide-row .text-link { align-self:flex-start; } .faq-item summary { font-size:16px; } }
