/*  ==========================================================================
    eSchool.pk  -  UI v3 (2026)
    Mobile-first, framework-free design system. No external dependencies.
    ========================================================================== */

@font-face {
	font-family: "Jakarta";
	src: url("../fonts/plus-jakarta-sans.woff2") format("woff2");
	font-weight: 300 800;
	font-style: normal;
	font-display: swap;
}

:root {
	--navy-950: #061733;
	--navy-900: #0a2350;
	--blue-800: #0f3473;
	--blue-700: #14469a;
	--blue-600: #1a5bc4;
	--blue-500: #2f74e0;
	--blue-100: #dde9ff;
	--blue-50:  #f0f5ff;
	--amber-500: #f7a51c;
	--amber-400: #ffb938;
	--amber-100: #fff2d6;
	--orange: #f37a1f;
	--green-600: #148a55;
	--red-600: #c62f2f;

	--ink: #0f1b2d;
	--ink-2: #3a4a60;
	--muted: #5b6b80;
	--line: #e3e9f2;
	--surface: #ffffff;
	--surface-2: #f5f8fd;

	--radius: 14px;
	--radius-sm: 10px;
	--radius-lg: 22px;
	--shadow-sm: 0 1px 2px rgba(10, 35, 80, .06), 0 1px 3px rgba(10, 35, 80, .08);
	--shadow: 0 10px 30px -12px rgba(10, 35, 80, .22);
	--shadow-lg: 0 30px 60px -20px rgba(6, 23, 51, .35);

	--font: "Jakarta", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--container: 1200px;
	--gutter: 20px;
	--header-h: 72px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--ink-2); background: var(--surface); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-x: clip; }
html { overflow-x: clip; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; border: 0; vertical-align: middle; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--blue-800); text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4, h5 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 750; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
h4 { font-size: 1.05rem; }
h1 b, h2 b { color: var(--blue-600); font-weight: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
small { font-size: .85em; }
table { border-collapse: collapse; }
:focus-visible { outline: 3px solid var(--amber-500); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--blue-100); }

.skip-link { position: absolute; left: 12px; top: 12px; z-index: 1000; background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: 8px; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }
.skip-link:focus, .skip-link:focus-visible { clip-path: none; width: auto; height: auto; overflow: visible; color: #fff; }
main:focus { outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.ico { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.22em; }
.ico.fill { fill: currentColor; stroke: none; }

.container, section.text > .layer, #Body > .layer { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* legacy helpers kept for CMS content */
.br, .br5, .br10 { clear: both; height: 0; }
.br5 { height: 5px; } .br10 { height: 10px; }
.fRight { float: right; } .fLeft { float: left; }
.hidden { display: none !important; }
[style*="justify"] { text-align: left !important; }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn, .button, input.button, button.button {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 46px; padding: .7em 1.35em; border-radius: 999px; border: 2px solid transparent;
	font: 650 .98rem/1.2 var(--font); cursor: pointer; text-decoration: none !important; white-space: nowrap;
	transition: background-color .2s, color .2s, border-color .2s, transform .15s, box-shadow .2s;
	background: var(--blue-600); color: #fff;
}
.btn:hover, .button:hover { background: var(--blue-700); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active, .button:active { transform: none; }
.btn-accent { background: var(--amber-500); color: var(--navy-950); }
.btn-accent:hover { background: var(--amber-400); color: var(--navy-950); }
.btn-ghost { background: transparent; border-color: currentColor; color: var(--blue-700); }
.btn-ghost:hover { background: var(--blue-50); color: var(--blue-800); }
.btn-light { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.35); }
.btn-light:hover { background: rgba(255,255,255,.18); color: #fff; }
.btn-sm { min-height: 38px; padding: .5em 1em; font-size: .9rem; }
.btn-lg { min-height: 54px; padding: .85em 1.7em; font-size: 1.05rem; }
.button[disabled], .btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-950); color: #c8d4ea; font-size: .85rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar a { color: #e6edf9; }
.topbar a:hover { color: var(--amber-400); text-decoration: none; }
.topbar .tag { display: inline-flex; align-items: center; gap: 8px; }
.topbar .tag .ico { color: var(--amber-500); }
.topbar ul { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; align-items: center; }
.topbar ul li a { display: inline-flex; align-items: center; gap: 6px; }
.topbar .social a { width: 28px; height: 28px; justify-content: center; border-radius: 50%; }
.topbar .social a:hover { background: rgba(255,255,255,.08); }
@media (max-width: 899px) { .topbar { display: none; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: transparent; border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255,255,255,.96); -webkit-backdrop-filter: saturate(160%) blur(10px); backdrop-filter: saturate(160%) blur(10px); }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -14px rgba(10,35,80,.35); }
.site-header .container { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.site-header .brand { display: inline-flex; align-items: center; flex: none; }
.site-header .brand img { width: 160px; height: auto; }

.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.main-nav li { position: relative; }
.main-nav a, .main-nav .dd-toggle { display: flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: .95rem; text-decoration: none; background: none; border: 0; font-family: inherit; cursor: pointer; }
.main-nav a:hover, .main-nav .dd-toggle:hover, .main-nav li.open > .dd-toggle { background: var(--blue-50); color: var(--blue-700); }
.main-nav a.selected, .main-nav li.selected > a, .main-nav li.selected > .dd-toggle { color: var(--blue-600); }
.main-nav .dd-toggle .ico { width: 16px; height: 16px; transition: transform .2s; }
.main-nav .sub { position: absolute; top: calc(100% + 8px); left: -8px; min-width: 250px; list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; }
.main-nav .sub::before { content: ""; position: absolute; inset: -10px 0 auto; height: 10px; }
.main-nav .sub a { font-weight: 550; padding: 9px 12px; color: var(--ink-2); }
.main-nav .sub a:hover, .main-nav .sub a.selected { color: var(--blue-700); background: var(--blue-50); }
.main-nav li.open > .sub { opacity: 1; visibility: visible; transform: none; }
.main-nav li.open > .dd-toggle .ico { transform: rotate(180deg); }
@media (hover: hover) and (min-width: 1081px) {
	.main-nav li.has-sub:hover > .sub { opacity: 1; visibility: visible; transform: none; }
	.main-nav li.has-sub:hover > .dd-toggle .ico { transform: rotate(180deg); }
}
.header-cta { flex: none; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle .ico { width: 24px; height: 24px; }
.nav-backdrop { display: none; }

@media (max-width: 1080px) {
	.nav-toggle { display: inline-flex; }
	.header-cta { display: none; }
	.main-nav { position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); background: #fff; z-index: 120; padding: 20px 16px 32px; overflow-y: auto; transform: translateX(100%); transition: transform .3s cubic-bezier(.2,.8,.2,1); box-shadow: var(--shadow-lg); margin: 0; visibility: hidden; }
	.main-nav.open { transform: none; visibility: visible; }
	.main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
	.main-nav > ul > li { border-bottom: 1px solid var(--line); }
	.main-nav a, .main-nav .dd-toggle { width: 100%; justify-content: space-between; padding: 14px 8px; font-size: 1rem; border-radius: 8px; }
	.main-nav .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 10px 10px; display: none; min-width: 0; }
	.main-nav li.open > .sub { display: block; }
	.main-nav .sub a { padding: 10px 8px; }
	.main-nav .nav-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
	.main-nav .nav-cta { display: grid; gap: 10px; margin-top: 20px; }
	.nav-backdrop.show { display: block; position: fixed; inset: 0; background: rgba(6,23,51,.5); z-index: 99; }
	body.nav-open { overflow: hidden; }
}
@media (min-width: 1081px) { .main-nav .nav-head, .main-nav .nav-cta { display: none; } }
.nav-close { width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section.alt, section.text.gray { background: var(--surface-2); }
.section.dark { background: var(--navy-900); color: #c9d6ee; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section-head { max-width: 760px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.section-head p { font-size: 1.08rem; color: var(--muted); margin: 0; }
.dark .section-head p { color: #b6c5e0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-600); background: var(--blue-50); padding: 6px 12px; border-radius: 999px; margin-bottom: 14px; }
.dark .eyebrow, .hero .eyebrow { color: var(--amber-400); background: rgba(255,255,255,.08); }
.grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Hero (home) ---------- */
.hero { position: relative; overflow: hidden; color: #cdd9ef; background: radial-gradient(1100px 520px at 85% -10%, rgba(47,116,224,.55), transparent 60%), radial-gradient(700px 400px at -10% 110%, rgba(247,165,28,.18), transparent 60%), linear-gradient(160deg, var(--navy-950), var(--navy-900) 55%, var(--blue-800)); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 95%); mask-image: linear-gradient(to bottom, #000 30%, transparent 95%); pointer-events: none; }
.hero .container { position: relative; display: grid; gap: 48px; align-items: center; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(56px, 8vw, 110px); }
@media (min-width: 980px) { .hero .container { grid-template-columns: 1.05fr 1fr; } }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.03em; margin-bottom: 20px; }
.hero h1 .grad { background: linear-gradient(90deg, var(--amber-400), var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 600px; margin-bottom: 28px; color: #c3d1ea; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.hero .checks { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; font-size: .95rem; }
.hero .checks li { display: inline-flex; align-items: center; gap: 8px; }
.hero .checks .ico { color: var(--amber-400); }

.hero-visual { position: relative; }
.browser { position: relative; border-radius: 16px; background: #fff; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.1); overflow: hidden; }
.browser .bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: #eef2f8; border-bottom: 1px solid #dfe5ef; }
.browser .bar i { width: 10px; height: 10px; border-radius: 50%; background: #f26b6b; } .browser .bar i:nth-child(2) { background: #f5c04a; } .browser .bar i:nth-child(3) { background: #48c774; }
.browser .bar span { margin-left: 12px; flex: 1; height: 18px; border-radius: 6px; background: #fff; font-size: 11px; line-height: 18px; color: #8a97ab; padding: 0 10px; overflow: hidden; }
.browser img { display: block; width: 100%; aspect-ratio: 685 / 520; object-fit: cover; object-position: top; }
.float-card { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #fff; color: var(--ink); border-radius: 14px; box-shadow: var(--shadow-lg); font-size: .88rem; line-height: 1.3; }
.float-card b { display: block; font-size: 1.05rem; }
.float-card .badge-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); }
.float-card.a { left: -18px; bottom: 26px; }
.float-card.b { right: -14px; top: 54px; }
.float-card.b .badge-ico { background: var(--amber-100); color: #b06b00; }
@media (max-width: 640px) { .float-card { font-size: .8rem; padding: 10px 12px; } .float-card.a { left: 8px; bottom: -18px; } .float-card.b { right: 8px; top: 44px; } }
@media (prefers-reduced-motion: no-preference) { .float-card { animation: bob 6s ease-in-out infinite; } .float-card.b { animation-delay: -3s; } }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* ---------- Trust / logos marquee ---------- */
.trust { padding: 34px 0 30px; border-bottom: 1px solid var(--line); }
.trust p { text-align: center; font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee .track { display: flex; width: max-content; }
.marquee ul { display: flex; gap: 18px; list-style: none; margin: 0; padding: 4px 18px 4px 0; }
.marquee li img { width: 88px; height: 88px; object-fit: contain; border-radius: 14px; background: #fff; border: 1px solid var(--line); padding: 6px; filter: grayscale(1); opacity: .8; transition: filter .25s, opacity .25s; }
.marquee li img:hover { filter: none; opacity: 1; }
@media (prefers-reduced-motion: no-preference) { .marquee .track { animation: marquee 70s linear infinite; } .marquee:hover .track { animation-play-state: paused; } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cards ---------- */
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cddbf3; }
.card h3 { margin: 16px 0 8px; }
.card p { margin: 0; color: var(--muted); font-size: .97rem; }
.icon-tile { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue-50), var(--blue-100)); color: var(--blue-600); }
.icon-tile .ico { width: 26px; height: 26px; }
.icon-tile.amber { background: linear-gradient(135deg, #fff6e2, var(--amber-100)); color: #b36b00; }
.card .list { margin: 14px 0 0; }
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-weight: 650; }
.card .more .ico { transition: transform .2s; }
.card:hover .more .ico { transform: translateX(3px); }

.modules .card { padding: 22px; }
@media (max-width: 639px) {
	.card { padding: 20px; }
	.card.compact-m { display: grid; grid-template-columns: 44px 1fr; gap: 4px 14px; align-items: start; }
	.card.compact-m .icon-tile { width: 44px; height: 44px; grid-row: span 2; }
	.card.compact-m .icon-tile .ico { width: 22px; height: 22px; }
	.card.compact-m h3 { margin: 2px 0 0; font-size: 1.02rem; }
	.card.compact-m p { font-size: .92rem; }
	.grid { gap: 14px; }
}
.modules .card h3 { font-size: 1.05rem; }

/* check lists (also used for CMS content lists) */
.list, section.text .layer ul:not([class]) { list-style: none; padding: 0; }
.list li, section.text .layer ul:not([class]) > li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.list li::before, section.text .layer ul:not([class]) > li::before { content: ""; position: absolute; left: 0; top: .28em; width: 20px; height: 20px; border-radius: 50%; background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a5bc4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
@media (min-width: 760px) { section.text .layer ul:not([class]):has(> li:nth-child(8)) { columns: 2; column-gap: 40px; } section.text .layer ul:not([class]) > li { break-inside: avoid; } }

/* ---------- Split feature rows ---------- */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } .split.rev > :first-child { order: 2; } }
.split .media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.split .media img { display: block; width: 100%; }
.feature-list { display: grid; gap: 18px; margin: 24px 0 0; padding: 0; list-style: none; }
.feature-list li { display: flex; gap: 14px; }
.feature-list .icon-tile { width: 44px; height: 44px; border-radius: 12px; }
.feature-list .icon-tile .ico { width: 22px; height: 22px; }
.feature-list b { display: block; color: var(--ink); }
.feature-list span { color: var(--muted); font-size: .95rem; }

/* ---------- Audience ---------- */
.audience .card { padding: 30px; display: flex; flex-direction: column; }
.audience .card .list { flex: 1; }
.audience .card.featured { background: linear-gradient(160deg, var(--blue-700), var(--navy-900)); color: #cfdcf3; border-color: transparent; }
.audience .card.featured h3 { color: #fff; }
.audience .card.featured p { color: #b8c8e6; }
.audience .card.featured .icon-tile { background: rgba(255,255,255,.12); color: var(--amber-400); }
.audience .card.featured .list li::before { background-color: rgba(255,255,255,.15); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffb938' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.audience .card.featured .more { color: var(--amber-400); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { text-align: center; padding: 26px 14px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.stat b { display: block; font-size: clamp(1.9rem, 4vw, 2.7rem); line-height: 1.1; color: #fff; letter-spacing: -.02em; }
.stat span { font-size: .95rem; color: #b9c8e3; }
.stat .ico { width: 28px; height: 28px; color: var(--amber-400); margin-bottom: 8px; }

/* ---------- App promo ---------- */
.app-promo { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: linear-gradient(135deg, #fff7e8, #ffe9c2); padding: clamp(28px, 5vw, 56px); }
.app-promo h2 { margin-bottom: 14px; }
.store-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.store-badge { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 12px; background: var(--navy-950); color: #fff !important; text-decoration: none !important; line-height: 1.15; transition: transform .15s, background .2s; }
.store-badge:hover { background: #000; transform: translateY(-2px); }
.store-badge .ico { width: 26px; height: 26px; }
.store-badge small { display: block; font-size: .7rem; opacity: .8; }
.store-badge b { font-size: 1rem; font-weight: 650; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); max-width: 1100px; margin: 0 auto; }
.quotes > .quote { display: flex; flex-direction: column; text-align: left; }
.quotes > .quote { padding: 22px; }
.quotes > .quote > .ico { width: 30px; height: 30px; }
.quotes > .quote blockquote { flex: 1; font-size: .95rem; margin: 10px 0 16px; }
.quotes > .quote blockquote p { margin-bottom: .5em; }
.quotes .read-more { font-size: .9rem; font-weight: 650; }
.quotes .read-more:hover { text-decoration: underline; }
.quotes > .quote figcaption { padding-top: 14px; }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow); text-align: center; }
.quote > .ico { width: 42px; height: 42px; color: var(--amber-500); }
.quote blockquote { margin: 14px 0 22px; font-size: clamp(1.02rem, 1.8vw, 1.18rem); color: var(--ink); }
.quote blockquote p { margin-bottom: .7em; }
.quote figcaption { display: inline-flex; align-items: center; gap: 14px; text-align: left; max-width: 100%; min-width: 0; }
.quote figcaption > span { min-width: 0; overflow-wrap: anywhere; }
.quote figcaption img { flex: none; }
.quote figcaption img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.quote figcaption b { display: block; color: var(--ink); }
.quote figcaption span { font-size: .9rem; color: var(--muted); }
.stars { color: var(--amber-500); display: inline-flex; gap: 2px; margin-top: 14px; }
.stars .ico { width: 18px; height: 18px; fill: currentColor; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(32px, 6vw, 64px); color: #cdd9ef; text-align: center; background: radial-gradient(600px 300px at 100% 0, rgba(247,165,28,.25), transparent 60%), linear-gradient(135deg, var(--blue-700), var(--navy-950)); }
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 640px; margin: 0 auto 26px; font-size: 1.08rem; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cta-wrap { padding: 0 0 clamp(56px, 8vw, 96px); }

/* ---------- Page hero (inner pages: CMS banner) ---------- */
.page-hero { position: relative; overflow: hidden; color: #c9d6ee; background: radial-gradient(800px 380px at 90% -20%, rgba(47,116,224,.5), transparent 60%), linear-gradient(160deg, var(--navy-950), var(--navy-900) 60%, var(--blue-800)); }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: linear-gradient(to bottom, #000, transparent); mask-image: linear-gradient(to bottom, #000, transparent); }
.page-hero .container { position: relative; padding-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(40px, 6vw, 72px); }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 14px; }
.page-hero p { font-size: 1.05rem; max-width: 720px; margin-bottom: .6em; }
.page-hero p.big, .page-hero p:last-child { color: #e2e9f7; }
.page-hero table, .page-hero tbody, .page-hero tr { display: block; width: 100%; }
.page-hero tr { display: grid; gap: 28px; align-items: center; }
.page-hero td { display: block; width: auto !important; padding: 0; }
.page-hero td img { display: block; max-width: 300px; width: 100%; margin-inline: auto; filter: drop-shadow(0 24px 40px rgba(0,0,0,.35)); }
@media (min-width: 900px) { .page-hero tr { grid-template-columns: 1fr 340px; } }
@media (max-width: 899px) { .page-hero td img { max-width: 200px; } .page-hero td:last-child:not(:first-child) { display: none; } }
.page-hero .title { color: #fff; font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 750; letter-spacing: -.02em; }
.page-hero #Slider img { border-radius: var(--radius); }
.page-hero.map { padding: 0; background: var(--surface-2); }
.page-hero.map::before { display: none; }
.page-hero.map iframe { display: block; width: 100%; height: clamp(260px, 40vw, 420px); border: 0; filter: saturate(.9); }

.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 18px; font-size: .88rem; color: #a9bad8; }
.crumbs a { color: #dbe5f6; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }

/* ---------- CMS content sections ---------- */
section.text { padding: clamp(44px, 6vw, 76px) 0; }
section.text + section.text:not(.gray) { padding-top: clamp(20px, 3vw, 36px); }
section.text .layer > :last-child { margin-bottom: 0; }
section.text .layer h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
section.text .layer h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
section.text .layer p, section.text .layer li { font-size: 1.03rem; }
section.text .layer > p, section.text .layer > h1, section.text .layer > h2 { max-width: 860px; }
section.text .layer [align="center"], section.text .layer h1[style*="center"] { margin-inline: auto; text-align: center; }
section.text .layer img { border-radius: var(--radius-sm); }
section.text.home .layer { max-width: 920px; text-align: center; }
section.text.home .layer p { text-align: center !important; color: var(--muted); }
section.text .layer table { width: 100%; }
@media (max-width: 760px) {
	section.text .layer table:not(.data), section.text .layer table:not(.data) > tbody, section.text .layer table:not(.data) > tbody > tr, section.text .layer table:not(.data) > tbody > tr > td, section.text .layer table:not(.data) > tr, section.text .layer table:not(.data) > tr > td { display: block; width: 100% !important; }
	section.text .layer table:not(.data) td + td { margin-top: 20px; }
}
.aboutUs td { padding: 0 14px; }

/* ---------- Messages ---------- */
#PageMsg { max-width: var(--container); margin: 20px auto 0; }
.alert, .info, .success, .error { position: relative; display: block; padding: 14px 18px 14px 48px; border-radius: var(--radius-sm); border: 1px solid; margin: 0 var(--gutter) 16px; font-size: .97rem; cursor: pointer; background-repeat: no-repeat; background-position: 16px 50%; background-size: 20px; }
form .alert, form .info, form .success, form .error, .layer .alert, .layer .info, .layer .error, .layer .success { margin-inline: 0; }
.noHide { cursor: default; }
.info { background-color: #eef4ff; border-color: #c9dafb; color: #1d3f86; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a5bc4' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4M12 8h.01'/%3E%3C/svg%3E"); }
.alert { background-color: #fff6e3; border-color: #f5d79a; color: #7a4d00; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b06b00' stroke-width='2'%3E%3Cpath d='M12 9v4M12 17h.01M10.3 3.9 1.8 18a2 2 0 0 0 1.7 3h17a2 2 0 0 0 1.7-3L13.7 3.9a2 2 0 0 0-3.4 0z'/%3E%3C/svg%3E"); }
.success { background-color: #e9f8f0; border-color: #a9e2c4; color: #0d6a40; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23148a55' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
.error { background-color: #fdecec; border-color: #f3b9b9; color: #8f1f1f; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c62f2f' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m15 9-6 6M9 9l6 6'/%3E%3C/svg%3E"); }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid.cols-2 { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label, form label { display: block; font-weight: 650; font-size: .92rem; color: var(--ink); margin-bottom: 6px; }
form label span, .field .opt { font-weight: 500; color: var(--muted); }
.textbox, input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="search"], input[type="password"], select, textarea {
	width: 100%; min-height: 48px; padding: 11px 14px; font: 500 1rem/1.4 var(--font); color: var(--ink);
	background: #fff; border: 1.5px solid #cfd9e7; border-radius: 12px; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
textarea { min-height: 140px; resize: vertical; }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6b80' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.textbox:focus, input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(47,116,224,.15); }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 6px; }
.form-legend { font-size: .78rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-600); margin: 8px 0 -4px; grid-column: 1 / -1; }
.mandatory { color: var(--red-600); margin-left: 2px; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 12px; }
#ReCaptcha { min-height: 78px; }

.contact-layout { display: grid; gap: 32px; }
@media (max-width: 959px) { .contact-layout > aside { order: 2; } }
@media (min-width: 960px) { .contact-layout { grid-template-columns: 360px 1fr; gap: 48px; align-items: start; } .contact-layout aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.contact-list .icon-tile { width: 44px; height: 44px; border-radius: 12px; }
.contact-list b { display: block; color: var(--ink); }
.contact-list small { color: var(--muted); }

/* ---------- FAQs ---------- */
.faq { max-width: 860px; margin-inline: auto; }
.faq h2 { margin-top: 40px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 12px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: #cddbf3; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 20px; font-weight: 650; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center; font-size: 1.2rem; font-weight: 600; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 20px 18px; color: var(--ink-2); }

/* ---------- Customers / testimonials pages ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; list-style: none; padding: 0; margin: 0 0 28px; }
.filters button { font: 600 .92rem var(--font); padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink-2); cursor: pointer; }
.filters button:hover { border-color: var(--blue-500); color: var(--blue-700); }
.filters button[aria-pressed="true"] { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }
.customer-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.customer { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.customer:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.customer img { display: block; width: 100%; aspect-ratio: 320 / 220; object-fit: cover; background: var(--surface-2); }
.customer .details { padding: 14px 16px 16px; font-size: .9rem; }
.customer .details b { display: block; color: var(--ink); font-size: 1rem; line-height: 1.3; margin-bottom: 4px; }
.customer .details small { display: block; color: var(--muted); text-transform: capitalize; margin-bottom: 6px; }
.customer[hidden] { display: none; }
.testimonial-wall { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 560px), 880px)); justify-content: center; align-items: start; }
.testimonial-wall .quote { text-align: left; }
.testimonial-wall .quote blockquote { font-size: 1rem; }

/* ---------- Team ---------- */
.team { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.member { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 16px; }
.member img { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; margin-bottom: 12px; border: 4px solid var(--blue-50); }
.member h3 { font-size: 1.02rem; margin: 0 0 4px; }
.member p { margin: 0; font-size: .88rem; color: var(--muted); }
.member a { font-size: .85rem; word-break: break-all; }

/* ---------- Blog / news ---------- */
.blog-layout { display: grid; gap: 32px; }
@media (min-width: 960px) { .blog-layout { grid-template-columns: 270px 1fr; gap: 44px; } .blog-layout > aside { order: 0; } }
.linksBlock { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: sticky; top: calc(var(--header-h) + 20px); }
.linksBlock > b { display: block; color: var(--ink); font-size: 1.05rem; margin-bottom: 10px; }
.linksBlock ul { list-style: none; padding: 0; margin: 0; }
.linksBlock ul ul { padding-left: 12px; }
.linksBlock a { display: block; padding: 7px 10px; border-radius: 8px; color: var(--ink-2); }
.linksBlock a:hover, .linksBlock a.selected { background: var(--blue-50); color: var(--blue-700); text-decoration: none; }
.posts { display: grid; gap: 22px; }
.post { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3vw, 28px); overflow: hidden; }
.post .title { display: block; font-size: 1.3rem; font-weight: 700; color: var(--ink); line-height: 1.3; margin-bottom: 6px; }
.post .title:hover { color: var(--blue-600); }
.post h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.post .more { font-size: .88rem; color: var(--muted); margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.post .summary img { border-radius: var(--radius-sm); max-width: 160px; }
.post .details img { border-radius: var(--radius-sm); height: auto !important; }
.post .details iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius-sm); }
.post table img { width: 100%; height: auto; border-radius: var(--radius-sm); }
.post .detail { display: inline-flex; margin-top: 8px; }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; list-style: none; padding: 0; }
.photos img { width: 100%; height: auto; border-radius: 10px; }
.share { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.share a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.share a:hover { border-color: var(--blue-500); color: var(--blue-700); text-decoration: none; }
#Comments { margin-top: 28px; }
#Comments .comments { padding: 16px 0; border-top: 1px solid var(--line); }
#Comments .comments img { border-radius: 50%; }
.divider { height: 1px; background: var(--line); margin: 24px 0; }
.paging { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 24px; }
.paging a, .paging span, .paging b { min-width: 40px; height: 40px; display: inline-grid; place-items: center; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.news-list { display: grid; gap: 16px; list-style: none; padding: 0; }
.news-list li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.news-list img { border-radius: 10px; width: 120px; height: 80px; object-fit: cover; }
.news-list time { display: block; font-size: .85rem; color: var(--muted); font-weight: 600; }
.news-list a.news { font-weight: 650; color: var(--ink); }

/* videos */
.videoDiv { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.video { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; padding-bottom: 14px; font-size: .9rem; }
.video .videoThumbs { position: relative; display: block; }
.video .videoThumbs img:not(.playbutton) { width: 100%; height: auto; aspect-ratio: 200 / 140; object-fit: cover; display: block; }
.video .playbutton { position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; z-index: 1; }
.video .videoTitle, .video .rating, .video .postedBy { margin: 10px 14px 0; display: inline-block; }
.video .postedBy { color: var(--muted); font-size: .82rem; }

/* sitemap */
.sm-intro { max-width: 760px; margin: 0 0 32px; color: var(--muted); }
.sitemap { columns: 4 250px; column-gap: 20px; }
.sitemap > .sm-card { break-inside: avoid; margin-bottom: 20px; }
.sm-card { padding: 24px; }
.sm-card:hover { transform: none; }
.sm-head { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.sm-head .icon-tile { width: 44px; height: 44px; border-radius: 12px; flex: none; }
.sm-head .icon-tile .ico { width: 22px; height: 22px; }
.sm-head h2 { margin: 0; font-size: 1.12rem; }
.sm-head h2 a { color: var(--ink); text-decoration: none; }
.sm-head h2 a:hover { color: var(--blue-600); }
.sm-links, .sm-sub { list-style: none; margin: 0; padding: 0; }
.sm-links > li { border-bottom: 1px dashed var(--line); }
.sm-links > li:last-child { border-bottom: 0; }
.sm-links a { display: flex; align-items: center; gap: 8px; padding: 9px 4px; color: var(--ink-2, var(--ink)); text-decoration: none; font-weight: 550; border-radius: 8px; transition: color .15s, background .15s, padding .15s; }
.sm-links a::before { content: ""; width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--blue-100); transition: background .15s; }
.sm-links a:hover, .sm-links a:focus-visible { color: var(--blue-600); background: var(--blue-50); padding-left: 10px; }
.sm-links a:hover::before { background: var(--amber-400); }
.sm-links small { margin-left: auto; font-size: .74rem; font-weight: 600; color: var(--muted); background: var(--surface-2); border-radius: 999px; padding: 2px 8px; }
.sm-sub { margin: -2px 0 8px 14px; padding-left: 12px; border-left: 2px solid var(--blue-50); }
.sm-sub a { padding: 5px 4px; font-weight: 500; font-size: .92rem; color: var(--muted); }
.sm-sub a::before { width: 4px; height: 4px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #aebcd6; font-size: .95rem; }
.site-footer a { color: #dfe7f5; }
.site-footer a:hover { color: var(--amber-400); }
.footer-main { display: grid; gap: 36px; padding-top: clamp(48px, 7vw, 80px); padding-bottom: 40px; }
@media (min-width: 760px) { .footer-main { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1040px) { .footer-main { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }
.footer-main h2 { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer-main ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-brand img { width: 170px; margin-bottom: 16px; }
.footer-brand p { max-width: 380px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.07); }
.footer-social a:hover { background: var(--amber-500); color: var(--navy-950); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .ico { color: var(--amber-400); margin-top: 3px; }
.footer-contact small { display: block; color: #8597b8; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; font-size: .87rem; }
.footer-bottom .container { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; justify-content: space-between; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }

#BackToTop { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 46px; height: 46px; border-radius: 14px; border: 0; background: var(--blue-600); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .25s, visibility .25s, background .2s; }
#BackToTop.show { opacity: 1; visibility: visible; transform: none; }
#BackToTop:hover { background: var(--blue-800); }

/* cookie consent */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200; max-width: 560px; background: #fff; color: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 18px 20px; font-size: .92rem; display: none; }
.consent.show { display: block; }
.consent p { margin: 0 0 12px; }
.consent .actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 700px) { .consent { left: 24px; right: auto; bottom: 24px; } }

/* offline */
.offline { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 40px var(--gutter); background: var(--surface-2); }

/* reveal on scroll (progressive enhancement; content visible without JS) */
@media (prefers-reduced-motion: no-preference) {
	.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
	.js .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

@media print { .topbar, .site-header, .site-footer, #BackToTop, .consent, .cta-wrap { display: none !important; } body { color: #000; } }

/* lists that must not get check bullets */
.linksBlock li, #Sitemap li, .post .details li { padding-left: 0 !important; }
.linksBlock li::before, #Sitemap li::before { display: none !important; }
.post .details ul { list-style: disc; padding-left: 1.25em; }
.post .details ul > li::before { display: none !important; }
section.text .layer > p:only-child:empty { display: none; }
main p a:not(.btn):not(.store-badge), .form-note a, .consent a, section.text .layer li a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.main-nav .nav-cta .btn { justify-content: center; border-radius: 999px; padding: .7em 1.35em; }
.main-nav .nav-cta .btn-accent { background: var(--amber-500); color: var(--navy-950); }
.main-nav .nav-cta .btn-ghost { border-color: currentColor; color: var(--blue-700); }

/* app store links */
.app-stores { display: grid; gap: 18px; margin-top: 24px; }
@media (min-width: 640px) { .app-stores { grid-template-columns: repeat(2, max-content); gap: 18px 32px; } }
.app-store-group > b { display: block; font-size: .85rem; letter-spacing: .04em; color: var(--ink); margin-bottom: 8px; }
.app-stores .store-badges { margin-top: 0; gap: 10px; }
.app-stores .store-badge { min-width: 150px; padding: 8px 14px; }
@media (max-width: 639px) { .quote { padding: 22px; } }

/* testimonial author block: always fits inside the card */
.quote figcaption { display: flex; width: 100%; max-width: 100%; align-items: center; gap: 16px; text-align: left; padding-top: 20px; border-top: 1px solid var(--line); }
.quote > figcaption { justify-content: flex-start; }
.quotes .quote figcaption { justify-content: flex-start; }
.quote figcaption .who { display: flex; flex-direction: column; flex: 0 1 auto; min-width: 0; line-height: 1.45; }
.quote figcaption .who b { font-size: 1.02rem; }
.quote figcaption .who span, .quote figcaption .who a { font-size: .92rem; overflow-wrap: anywhere; word-break: break-word; }
.quote figcaption .who a { font-weight: 600; }
@media (max-width: 719px) {
	.testimonial-wall { grid-template-columns: 1fr; }
	.quote figcaption img { width: 44px; height: 44px; }
	.quote figcaption .who a { overflow-wrap: anywhere; word-break: normal; }
}
figure.quote { margin: 0; }

/* =========================================================================
   CMS blocks: feature modules, highlights, integrations (eSchool Features page)
   Usage in CMS: <div class="module m-fee"><h2>..</h2><ul class="list">..</ul></div>
   ========================================================================= */
section.text .layer p.lead { font-size: 1.15rem; color: var(--ink); }
section.text .layer .section-head { max-width: 760px; margin: 0 auto clamp(28px, 4vw, 44px); text-align: center; }
section.text .layer .section-head h2 { max-width: none; margin-bottom: 10px; }
section.text .layer .section-head p { max-width: none; color: var(--muted); }

.intro-split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .intro-split { grid-template-columns: 1.35fr 1fr; gap: 56px; } }
.intro-split > div > p:last-child { margin-bottom: 0; }

.highlights { display: grid; gap: 14px; }
.highlights .hl { position: relative; display: block; padding: 18px 18px 18px 80px; min-height: 80px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.highlights .hl b { display: block; color: var(--ink); font-size: 1.02rem; margin-bottom: 2px; }
.highlights .hl span { display: block; color: var(--muted); font-size: .93rem; line-height: 1.5; }

.module-grid { columns: 1; column-gap: 20px; }
@media (min-width: 720px) { .module-grid { columns: 2; } }
@media (min-width: 1080px) { .module-grid { columns: 3; } }
.module { position: relative; break-inside: avoid; display: inline-block; width: 100%; margin: 0 0 20px; padding: 24px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--c, var(--blue-600)); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.module:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
section.text .layer .module h2 { display: flex; align-items: center; min-height: 48px; padding-left: 62px; font-size: 1.18rem; margin: 0 0 16px; }
section.text .layer .module ul.list { margin: 0; columns: 1; }
section.text .layer .module ul.list li { font-size: .96rem; margin-bottom: 8px; }
section.text .layer .module ul.list li::before { background-color: var(--c-soft, var(--blue-50)); }

/* icon tile (::before) + icon glyph (::after), driven by the m-* class */
.module::before, .highlights .hl::before { content: ""; position: absolute; left: 24px; top: 24px; width: 48px; height: 48px; border-radius: 14px; background: var(--c-soft, var(--blue-50)); }
.module::after, .highlights .hl::after { content: ""; position: absolute; left: 36px; top: 36px; width: 24px; height: 24px; background: var(--c, var(--blue-600)); -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.highlights .hl::before { left: 16px; top: 16px; } .highlights .hl::after { left: 28px; top: 28px; }

/* dark integrations band */
section.text.dark-band { background: radial-gradient(700px 320px at 100% 0, rgba(47,116,224,.35), transparent 60%), linear-gradient(160deg, var(--navy-950), var(--navy-900)); color: #c9d6ee; }
section.text.dark-band .layer h2, section.text.dark-band .layer .section-head h2 { color: #fff; }
section.text.dark-band .layer .section-head p { color: #b6c5e0; }
section.text.dark-band .eyebrow { color: var(--amber-400); background: rgba(255,255,255,.08); }
.dark-band .module-grid { columns: auto; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); align-items: stretch; }
.dark-band .module { margin: 0; display: block; }
.dark-band .module { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-top: 4px solid var(--amber-500); box-shadow: none; color: #c9d6ee; }
.dark-band .module::before { background: rgba(255,255,255,.1); }
.dark-band .module::after { background: var(--amber-400); }
section.text.dark-band .layer .module ul.list li { color: #c9d6ee; }
section.text.dark-band .layer .module ul.list li::before { background-color: rgba(255,255,255,.14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffb938' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }


/* module themes: colour + icon */
.m-students { --c: #1a5bc4; --c-soft: #e8f0ff; --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z' /%3E %3Cpath d='M22 10v6' /%3E %3Cpath d='M6 12.5V16a6 3 0 0 0 12 0v-3.5' /%3E%3C/svg%3E"); }
.m-fee { --c: #c27803; --c-soft: #fff4dc; --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1' /%3E %3Cpath d='M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4' /%3E%3C/svg%3E"); }
.m-exams { --c: #7c3aed; --c-soft: #f1eaff; --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='8' height='4' x='8' y='2' rx='1' ry='1' /%3E %3Cpath d='M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2' /%3E %3Cpath d='M12 11h4' /%3E %3Cpath d='M12 16h4' /%3E %3Cpath d='M8 11h.01' /%3E %3Cpath d='M8 16h.01' /%3E%3C/svg%3E"); }
.m-timetable { --c: #0e8a7d; --c-soft: #e2f6f3; --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 14v2.2l1.6 1' /%3E %3Cpath d='M16 2v3' /%3E %3Cpath d='M21 7.338V5a2 2 0 00-2-2H5a2 2 0 00-2 2v14a2 2 0 002 2h2.338' /%3E %3Cpath d='M3 9h5.859' /%3E %3Cpath d='M8 2v3' /%3E %3Ccircle cx='16' cy='16' r='6' /%3E%3C/svg%3E"); }
.m-events { --c: #db2777; --c-soft: #fde8f2; --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12.127 21H5a2 2 0 01-2-2V5a2 2 0 012-2h14a2 2 0 012 2v5.125' /%3E %3Cpath d='M14.62 17.8A2.25 2.25 0 1118 14.836a2.25 2.25 0 113.38 2.966l-2.626 2.856a.998.998 0 01-1.507 0z' /%3E %3Cpath d='M16 2v3' /%3E %3Cpath d='M3 9h18' /%3E %3Cpath d='M8 2v3' /%3E%3C/svg%3E"); }
.m-hr { --c: #1a5bc4; --c-soft: #e8f0ff; --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 21a8 8 0 0 0-16 0' /%3E %3Ccircle cx='10' cy='8' r='5' /%3E %3Cpath d='M22 20c0-3.37-2-6.5-4-8a5 5 0 0 0-.45-8.3' /%3E%3C/svg%3E"); }
.m-payroll { --c: #148a55; --c-soft: #e4f6ec; --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='12' x='2' y='6' rx='2' /%3E %3Ccircle cx='12' cy='12' r='2' /%3E %3Cpath d='M6 12h.01M18 12h.01' /%3E%3C/svg%3E"); }
.m-accounts { --c: #0f3473; --c-soft: #e6ecf7; --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 18v-7' /%3E %3Cpath d='M11.119 2.205a2 2 0 0 1 1.762 0l7.84 3.846A.5.5 0 0 1 20.5 7h-17a.5.5 0 0 1-.22-.949z' /%3E %3Cpath d='M14 18v-7' /%3E %3Cpath d='M18 18v-7' /%3E %3Cpath d='M3 22h18' /%3E %3Cpath d='M6 18v-7' /%3E%3C/svg%3E"); }
.m-pettycash { --c: #c27803; --c-soft: #fff4dc; --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13.744 17.736a6 6 0 1 1-7.48-7.48' /%3E %3Cpath d='M15 6h1v4' /%3E %3Cpath d='m6.134 14.768.866-.5 2 3.464' /%3E %3Ccircle cx='16' cy='8' r='6' /%3E%3C/svg%3E"); }
.m-biometric { --c: #ffb938; --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 10a2 2 0 0 0-2 2c0 1.02-.1 2.51-.26 4' /%3E %3Cpath d='M14 13.12c0 2.38 0 6.38-1 8.88' /%3E %3Cpath d='M17.29 21.02c.12-.6.43-2.3.5-3.02' /%3E %3Cpath d='M2 12a10 10 0 0 1 18-6' /%3E %3Cpath d='M2 16h.01' /%3E %3Cpath d='M21.8 16c.2-2 .131-5.354 0-6' /%3E %3Cpath d='M5 19.5C5.5 18 6 15 6 12a6 6 0 0 1 .34-2' /%3E %3Cpath d='M8.65 22c.21-.66.45-1.32.57-2' /%3E %3Cpath d='M9 6.8a6 6 0 0 1 9 5.2v2' /%3E%3C/svg%3E"); }
.m-sms { --c: #ffb938; --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z' /%3E %3Cpath d='M7 11h10' /%3E %3Cpath d='M7 15h6' /%3E %3Cpath d='M7 7h8' /%3E%3C/svg%3E"); }
.m-classroom { --c: #ffb938; --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 3h20' /%3E %3Cpath d='M21 3v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V3' /%3E %3Cpath d='m7 21 5-5 5 5' /%3E%3C/svg%3E"); }
.m-zoom { --c: #ffb938; --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5' /%3E %3Crect x='2' y='6' width='14' height='12' rx='2' /%3E%3C/svg%3E"); }
.m-cloud { --c: #1a5bc4; --c-soft: #e8f0ff; --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z' /%3E%3C/svg%3E"); }
.m-secure { --c: #148a55; --c-soft: #e4f6ec; --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z' /%3E %3Cpath d='m9 12 2 2 4-4' /%3E%3C/svg%3E"); }
.m-mobile { --c: #c27803; --c-soft: #fff4dc; --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='14' height='20' x='5' y='2' rx='2' ry='2' /%3E %3Cpath d='M12 18h.01' /%3E%3C/svg%3E"); }


/* videos: rating stars */
.video .stars { display: flex; gap: 2px; margin: 8px 14px 0; }
.video .stars .ico { width: 14px; height: 14px; }
.video .videoTitle { display: block; }
.video br { display: none; }
