/* css/site.css — CampusNXT public website design system.
   Sections: tokens · base · layout · buttons · top bar · header & menus ·
   drawer · heroes · mockups · cards · sections · pricing · FAQ · forms ·
   footer · floating actions · motion · utilities · responsive. */

/* ===== Tokens ===== */
:root {
    --navy: #0b2d57;
    --navy-2: #0f3d74;
    --navy-3: #13213a;
    --blue: #0052cc;
    --blue-600: #0045ad;
    --sky: #1a8fd8;
    --blue-50: #f3f7ff;
    --blue-100: #e6efff;
    --blue-200: #cfe0ff;
    --ink: #0f1d33;
    --body: #3d4b63;
    --muted: #64748b;
    --line: #e2e8f2;
    --surface: #ffffff;
    --surface-2: #f6f9fe;
    --green: #0f9d58;
    --green-600: #0b8148;
    --wa: #25d366;
    --wa-dark: #128c4a;
    --amber: #f59e0b;
    --amber-100: #fff4dc;
    --violet: #6d4fd8;
    --violet-100: #efebff;
    --teal: #0d9488;
    --teal-100: #ddf6f2;
    --rose: #e5484d;
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow-sm: 0 1px 2px rgba(15, 29, 51, .06), 0 2px 8px rgba(15, 29, 51, .05);
    --shadow: 0 10px 30px -12px rgba(15, 45, 87, .22), 0 4px 10px -6px rgba(15, 45, 87, .10);
    --shadow-lg: 0 30px 60px -24px rgba(11, 45, 87, .35), 0 12px 24px -12px rgba(11, 45, 87, .18);
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --font-head: 'Sora', 'Plus Jakarta Sans', system-ui, sans-serif;
    --container: 1200px;
    --header-h: 72px;

    /* Aliases kept for older utility pages that still use inline var() styles */
    --primary: var(--blue);
    --primary-dark: var(--blue-600);
    --secondary: var(--green);
    --accent: var(--amber);
    --dark: var(--navy-3);
    --light: var(--blue-50);
    --text: var(--ink);
    --text-dark: var(--ink);
    --text-light: var(--muted);
    --border: var(--line);
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--body);
    background: var(--surface);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-600); }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; letter-spacing: -.01em; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3 { font-size: 1.15rem; }
p { margin: 0; }
strong { color: var(--ink); font-weight: 700; }
:focus-visible { outline: 3px solid rgba(0, 82, 204, .45); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--blue-200); color: var(--ink); }

.ic {
    width: 1.15em;
    height: 1.15em;
    flex: none;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -60px;
    z-index: 2000;
    background: var(--navy);
    color: #fff;
    padding: .6rem 1rem;
    border-radius: var(--radius-sm);
    transition: top .2s;
}
.skip-link:focus { top: 1rem; color: #fff; }
.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap; border: 0;
}

/* ===== Layout ===== */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.container-narrow { max-width: 860px; }
.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section-sm { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section-alt { background: var(--surface-2); }
.section-tint { background: linear-gradient(180deg, var(--blue-50), #fff); }
.section-dark {
    background: radial-gradient(1200px 500px at 85% -10%, rgba(26, 143, 216, .35), transparent 60%),
                linear-gradient(135deg, var(--navy) 0%, #072046 100%);
    color: rgba(255, 255, 255, .82);
}
.section-dark h2, .section-dark h3, .section-dark strong { color: #fff; }

.section-head { max-width: 720px; margin: 0 auto clamp(2rem, 4vw, 3.25rem); text-align: center; }
.section-head p:not(.eyebrow) { margin-top: .85rem; font-size: 1.075rem; color: var(--muted); }
.section-dark .section-head p:not(.eyebrow) { color: rgba(255, 255, 255, .75); }
.section-head-left { margin-inline: 0; text-align: left; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--blue);
    background: var(--blue-100);
    padding: .38rem .8rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}
.eyebrow .ic { width: 1em; height: 1em; }
.eyebrow-light { background: rgba(255, 255, 255, .7); }
.section-dark .eyebrow { background: rgba(255, 255, 255, .12); color: #9fd2ff; }

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split + .split { margin-top: clamp(3.5rem, 7vw, 6rem); }
.split-reverse .split-media { order: 2; }
.split-text h2 { margin-bottom: 1rem; }
.split-text > p:not(.eyebrow) { font-size: 1.05rem; color: var(--muted); }
.section-dark .split-text > p:not(.eyebrow) { color: rgba(255, 255, 255, .8); }

.lead { font-size: 1.125rem; color: var(--muted); }
.text-center { text-align: center; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2.25rem; }

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: .85rem 1.4rem;
    border-radius: 10px;
    border: 2px solid transparent;
    font-weight: 700;
    font-size: .98rem;
    line-height: 1.2;
    text-align: center;
    transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: .6rem 1rem; font-size: .9rem; }
.btn-lg { padding: 1rem 1.7rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 18px -8px rgba(0, 82, 204, .6); }
.btn-primary:hover, .btn-primary.is-active { background: var(--blue-600); color: #fff; }
.btn-success { background: var(--green); color: #fff; }
.btn-success:hover { background: var(--green-600); color: #fff; }
.btn-outline { background: #fff; color: var(--blue); border-color: var(--blue-200); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-50); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--blue-50); color: var(--navy); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-outline-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.btn-whatsapp { background: var(--wa); color: #06341b; }
.btn-whatsapp:hover { background: #1fbe5a; color: #06341b; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn-row-center { justify-content: center; }

.link-arrow { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; color: var(--blue); }
.link-arrow .ic { transition: transform .2s; }
.link-arrow:hover .ic { transform: translateX(3px); }

/* Legacy utility-page buttons and forms (sms.php, razorpay.php, …) */
.btn-primary:not(.btn) { display: inline-block; background: var(--blue); color: #fff; padding: .9rem 2rem; border-radius: 10px; border: 0; font-weight: 700; }
.btn-secondary:not(.btn) { display: inline-block; background: #fff; color: var(--blue); padding: .85rem 2rem; border-radius: 10px; border: 2px solid var(--blue); font-weight: 700; }

/* ===== Top bar ===== */
.topbar { background: var(--navy); color: rgba(255, 255, 255, .85); font-size: .84rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; }
.topbar ul { display: flex; align-items: center; gap: 1.25rem; }
.topbar li, .topbar a { display: inline-flex; align-items: center; gap: .4rem; color: inherit; }
.topbar a:hover { color: #fff; }
.topbar .ic { width: 1em; height: 1em; opacity: .8; }
.topbar-actions { gap: .5rem !important; }
.topbar-actions a { padding: .3rem .7rem; border-radius: 999px; font-weight: 600; }
.topbar-actions a:hover { background: rgba(255, 255, 255, .1); }
.topbar-actions .topbar-register { background: var(--green); color: #fff; }
.topbar-actions .topbar-register:hover { background: var(--green-600); }

/* ===== Header & navigation ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: saturate(160%) blur(10px);
    -webkit-backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 8px 24px -16px rgba(15, 45, 87, .35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; flex: none; }
.brand-logo { height: 46px; width: auto; }

.main-nav { flex: 1; display: flex; justify-content: center; }
.nav-list { display: flex; align-items: center; gap: .25rem; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-link {
    display: block;
    padding: .55rem .8rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: .96rem;
    color: var(--ink);
    position: relative;
}
.nav-link:hover { color: var(--blue); background: var(--blue-50); }
.nav-link.is-active { color: var(--blue); }
.nav-link.is-active::after {
    content: '';
    position: absolute;
    left: .8rem; right: .8rem; bottom: -2px;
    height: 3px;
    border-radius: 3px;
    background: var(--blue);
}
.has-menu .nav-link { padding-right: .35rem; }
.menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px; height: 26px;
    border: 0; background: none;
    border-radius: 6px;
    color: var(--muted);
}
.menu-toggle:hover { color: var(--blue); background: var(--blue-50); }
.menu-toggle .ic { width: 16px; height: 16px; transition: transform .2s; }
.has-menu.is-open .menu-toggle .ic { transform: rotate(180deg); }

.mega, .dropdown {
    position: absolute;
    top: calc(100% + 10px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .18s, transform .18s, visibility .18s;
    z-index: 950;
}
.mega::before, .dropdown::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-menu:hover > .mega, .has-menu:hover > .dropdown,
.has-menu:focus-within > .mega, .has-menu:focus-within > .dropdown,
.has-menu.is-open > .mega, .has-menu.is-open > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.has-menu.is-closed > .mega, .has-menu.is-closed > .dropdown { opacity: 0; visibility: hidden; }

/* The mega menu is positioned against the whole header row, not its <li>,
   so it can be centred and never runs off-screen. */
.header-inner { position: relative; }
.nav-list > li.has-mega { position: static; }
.mega { top: 100%; left: 50%; width: min(980px, 94vw); padding: 1.5rem; transform: translate(-50%, 8px); }
.mega::before { top: -22px; height: 22px; }
.has-menu:hover > .mega, .has-menu:focus-within > .mega, .has-menu.is-open > .mega { transform: translate(-50%, 0); }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem 1.75rem; }
.mega-title { display: flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-bottom: .45rem; }
.mega-title .ic { color: var(--blue); }
.mega-col a { display: block; padding: .3rem .5rem; margin-inline: -.5rem; border-radius: 6px; color: var(--ink); font-size: .92rem; font-weight: 500; }
.mega-col a:hover { background: var(--blue-50); color: var(--blue); }
.mega-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.mega-foot span { display: inline-flex; align-items: center; gap: .4rem; }
.mega-foot .ic { color: var(--amber); }

.dropdown { left: -1rem; width: 320px; padding: .5rem; }
.dropdown-item { display: flex; gap: .8rem; align-items: flex-start; padding: .7rem; border-radius: 10px; color: var(--ink); }
.dropdown-item:hover { background: var(--blue-50); color: var(--ink); }
.dropdown-item strong { display: block; font-size: .95rem; }
.dropdown-item small { display: block; color: var(--muted); font-size: .82rem; }
.dropdown-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--blue-100); color: var(--blue); flex: none; }

.header-cta { display: flex; align-items: center; gap: .75rem; }
.hamburger {
    display: none;
    width: 44px; height: 44px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    padding: 0 11px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}
.hamburger span { display: block; height: 2px; border-radius: 2px; background: var(--ink); }

/* ===== Mobile drawer ===== */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(8, 20, 40, .5); z-index: 1100; }
.drawer {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(380px, 88vw);
    background: #fff;
    z-index: 1101;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overscroll-behavior: contain;
    box-shadow: -20px 0 40px rgba(8, 20, 40, .25);
    animation: drawerIn .25s ease-out;
}
@keyframes drawerIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
.drawer[hidden], .drawer-backdrop[hidden] { display: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); }
.drawer-logo { height: 38px; width: auto; }
.drawer-close { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.drawer-nav { padding: .75rem; }
.drawer-link {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .8rem .75rem;
    border-radius: 10px;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
    list-style: none;
}
.drawer-link::-webkit-details-marker { display: none; }
.drawer-link .ic { color: var(--blue); }
.drawer-link:hover, .drawer-link.is-active { background: var(--blue-50); color: var(--blue); }
.drawer-caret { margin-left: auto; color: var(--muted) !important; transition: transform .2s; }
details[open] > .drawer-link .drawer-caret { transform: rotate(180deg); }
.drawer-sub { padding: .25rem 0 .5rem 2.6rem; display: grid; }
.drawer-sub a { padding: .45rem .5rem; border-radius: 8px; color: var(--body); font-size: .93rem; }
.drawer-sub a:hover { background: var(--blue-50); color: var(--blue); }
.drawer-sub-title { margin-top: .6rem; padding-left: .5rem; font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.drawer-actions { margin-top: auto; padding: 1rem 1.25rem 1.5rem; border-top: 1px solid var(--line); display: grid; gap: .6rem; }
.drawer-logins { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.drawer-logins .btn { padding-inline: .5rem; font-size: .88rem; }
.drawer-phone { display: flex; align-items: center; justify-content: center; gap: .5rem; padding-top: .4rem; font-weight: 700; color: var(--navy); }
body.drawer-open { overflow: hidden; }

/* ===== Home hero ===== */
.hero {
    position: relative;
    overflow: hidden;
    padding-block: clamp(3rem, 6vw, 5.5rem) clamp(3.5rem, 7vw, 6rem);
    background:
        radial-gradient(700px 380px at 90% 10%, rgba(26, 143, 216, .16), transparent 70%),
        radial-gradient(600px 400px at 0% 100%, rgba(0, 82, 204, .08), transparent 70%),
        linear-gradient(180deg, #f5f9ff 0%, #ffffff 100%);
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(11, 45, 87, .09) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
    mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
    pointer-events: none;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { margin-bottom: 1.1rem; }
.hero h1 .hl { color: var(--blue); position: relative; white-space: nowrap; }
.hero h1 .hl::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: .02em;
    height: .28em;
    background: rgba(26, 143, 216, .22);
    border-radius: 4px;
    z-index: -1;
}
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 560px; }
.hero .btn-row { margin-top: 1.75rem; }
.hero-logins { margin-top: 1.1rem; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .92rem; color: var(--muted); }
.hero-logins a { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; }
.hero-points { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.hero-points li {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .4rem .75rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: .86rem;
    font-weight: 600;
    color: var(--ink);
    box-shadow: var(--shadow-sm);
}
.hero-points .ic { color: var(--green); }
.hero-visual { position: relative; min-height: 420px; }

/* ===== Page hero (inner pages) ===== */
.page-hero {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding-block: clamp(2.75rem, 6vw, 4.5rem);
    background:
        radial-gradient(500px 260px at 12% 0%, rgba(26, 143, 216, .18), transparent 70%),
        radial-gradient(520px 260px at 92% 100%, rgba(245, 158, 11, .14), transparent 70%),
        linear-gradient(180deg, #f2f7ff, #fbfdff);
    border-bottom: 1px solid var(--line);
}
.page-hero-inner { position: relative; z-index: 1; max-width: 860px; }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.page-hero-intro { margin: 1rem auto 0; max-width: 680px; font-size: 1.1rem; color: var(--muted); }
.page-hero .btn-row { margin-top: 1.75rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem; font-size: .86rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumb li + li::before { content: '/'; margin-right: .35rem; color: #a7b2c3; }
.breadcrumb a { color: var(--muted); font-weight: 600; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 600; }
.page-hero-deco .deco { position: absolute; pointer-events: none; }
.deco-ring { width: 120px; height: 120px; border-radius: 50%; border: 14px solid rgba(0, 82, 204, .07); top: -30px; left: 6%; }
.deco-dots {
    width: 140px; height: 90px;
    right: 7%; top: 18%;
    background-image: radial-gradient(rgba(0, 82, 204, .22) 2px, transparent 2px);
    background-size: 14px 14px;
}
.deco-pencil {
    width: 120px; height: 14px;
    left: 9%; bottom: 22%;
    border-radius: 3px;
    background: linear-gradient(90deg, #f6c453 0 78%, #f3d9b1 78% 92%, #3b3b3b 92%);
    transform: rotate(-28deg);
    opacity: .7;
}

/* ===== Mockups (illustrative product screens) ===== */
.browser {
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    border: 1px solid #dbe4f2;
    overflow: hidden;
}
.browser-bar { display: flex; align-items: center; gap: .4rem; padding: .6rem .8rem; background: #f1f5fb; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #f87171; }
.browser-bar i:nth-child(2) { background: #fbbf24; }
.browser-bar i:nth-child(3) { background: #34d399; }
.browser-url { margin-left: .6rem; flex: 1; max-width: 260px; font-size: .72rem; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: .15rem .6rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.dash { display: grid; grid-template-columns: 52px 1fr; min-height: 300px; }
.dash-side { background: var(--navy); padding: .9rem 0; display: flex; flex-direction: column; align-items: center; gap: .85rem; }
.dash-side span { width: 26px; height: 26px; border-radius: 8px; background: rgba(255, 255, 255, .14); display: grid; place-items: center; color: rgba(255, 255, 255, .8); }
.dash-side span.on { background: var(--sky); color: #fff; }
.dash-side .ic { width: 14px; height: 14px; }
.dash-main { padding: 1rem; background: #f7f9fd; }
.dash-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: .8rem; font-size: .8rem; font-weight: 700; color: var(--ink); }
.dash-title small { font-weight: 600; color: var(--muted); font-size: .7rem; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: .55rem; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: .55rem .6rem; }
.kpi small { display: block; font-size: .6rem; font-weight: 600; color: var(--muted); line-height: 1.3; }
.kpi b { display: block; font-family: var(--font-head); font-size: .95rem; color: var(--ink); margin-top: .15rem; }
.kpi i { display: block; height: 3px; border-radius: 3px; margin-top: .4rem; background: var(--blue); width: 70%; }
.kpi:nth-child(2) i { background: var(--amber); width: 45%; }
.kpi:nth-child(3) i { background: var(--green); width: 88%; }
.kpi:nth-child(4) i { background: var(--rose); width: 20%; }
.dash-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: .55rem; margin-top: .55rem; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: .65rem; }
.panel-title { font-size: .64rem; font-weight: 700; color: var(--ink); margin-bottom: .5rem; }
.bars { display: flex; align-items: flex-end; gap: 6%; height: 92px; padding-top: .25rem; }
.bars span { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--sky), var(--blue)); }
.bars span:nth-child(even) { background: linear-gradient(180deg, #bcd6ff, #8fb6f5); }
.list-rows { display: grid; gap: .45rem; }
.list-row { display: grid; grid-template-columns: 18px 1fr auto; gap: .45rem; align-items: center; }
.list-row .av { width: 18px; height: 18px; border-radius: 50%; background: var(--blue-200); }
.list-row:nth-child(2) .av { background: #ffd8a8; }
.list-row:nth-child(3) .av { background: #bbf0d1; }
.list-row:nth-child(4) .av { background: #e3d7ff; }
.sk { display: block; height: 6px; border-radius: 4px; background: #e5ebf5; }
.sk.w40 { width: 40%; } .sk.w60 { width: 60%; } .sk.w80 { width: 80%; }
.pill { font-size: .55rem; font-weight: 700; padding: .12rem .4rem; border-radius: 999px; background: #dcfce7; color: #166534; }
.pill.due { background: #fee2e2; color: #b91c1c; }
.pill.wait { background: #fef3c7; color: #92400e; }

.phone {
    width: 210px;
    border-radius: 34px;
    background: #0f1d33;
    padding: 9px;
    box-shadow: var(--shadow-lg);
}
.phone-screen { border-radius: 26px; overflow: hidden; background: #f4f7fc; min-height: 400px; position: relative; }
.phone-notch { position: absolute; top: 7px; left: 50%; width: 70px; height: 16px; margin-left: -35px; border-radius: 10px; background: #0f1d33; z-index: 2; }
.phone-head { background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; padding: 2rem .9rem .9rem; }
.phone-head small { display: block; font-size: .62rem; opacity: .8; }
.phone-head b { font-family: var(--font-head); font-size: .85rem; color: #fff; }
.phone-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; padding: .6rem; }
.phone-tile { min-width: 0; overflow: hidden; background: #fff; border-radius: 12px; padding: .5rem .1rem; text-align: center; font-size: .47rem; line-height: 1.25; letter-spacing: -.01em; font-weight: 700; color: var(--ink); box-shadow: 0 1px 2px rgba(15, 29, 51, .06); }
.phone-tile span { display: grid; place-items: center; width: 28px; height: 28px; margin: 0 auto .3rem; border-radius: 9px; background: var(--blue-100); color: var(--blue); }
.phone-tile span .ic { width: 15px; height: 15px; }
.phone-tile:nth-child(3n+2) span { background: #dcfce7; color: var(--green); }
.phone-tile:nth-child(3n) span { background: var(--amber-100); color: #b45309; }
.phone-note { margin: 0 .7rem; background: #fff; border-radius: 12px; padding: .55rem .6rem; display: flex; gap: .5rem; align-items: center; box-shadow: 0 1px 2px rgba(15, 29, 51, .06); }
.phone-note span { width: 26px; height: 26px; border-radius: 8px; background: var(--wa); color: #fff; display: grid; place-items: center; flex: none; }
.phone-note .ic { width: 14px; height: 14px; }
.phone-note b { display: block; font-size: .6rem; color: var(--ink); }
.phone-note small { display: block; font-size: .55rem; color: var(--muted); line-height: 1.3; }

.notif {
    position: absolute;
    display: flex;
    align-items: center;
    gap: .65rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: .6rem .8rem;
    box-shadow: var(--shadow);
    font-size: .78rem;
    max-width: 240px;
    animation: floaty 6s ease-in-out infinite;
}
.notif b { display: block; color: var(--ink); font-size: .8rem; line-height: 1.25; }
.notif small { display: block; color: var(--muted); font-size: .72rem; line-height: 1.3; }
.notif-icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; color: #fff; background: var(--blue); }
.notif-icon.wa { background: var(--wa); }
.notif-icon.ok { background: var(--green); }
.notif-icon.amber { background: var(--amber); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.hero-visual .browser { position: relative; z-index: 1; margin-right: 60px; }
.hero-visual .phone { position: absolute; right: 0; bottom: -40px; z-index: 2; width: 200px; }
.hero-visual .phone-screen { min-height: 340px; }
.hero-visual .notif-1 { left: -24px; bottom: 26px; z-index: 3; }
.hero-visual .notif-2 { right: 150px; top: -22px; z-index: 3; animation-delay: -3s; }

/* Laptop frame used on module pages */
.laptop { position: relative; max-width: 560px; margin-inline: auto; }
.laptop-screen { border: 10px solid #1d2638; border-bottom-width: 14px; border-radius: 16px 16px 0 0; background: #fff; overflow: hidden; box-shadow: var(--shadow-lg); }
.laptop-base { height: 14px; margin-inline: -7%; background: linear-gradient(180deg, #cfd6e2, #a9b3c4); border-radius: 0 0 14px 14px; position: relative; }
.laptop-base::before { content: ''; position: absolute; left: 50%; top: 0; width: 90px; height: 5px; margin-left: -45px; background: #8e99ac; border-radius: 0 0 6px 6px; }
.laptop .dash { min-height: 260px; }

.module-visual { position: relative; padding: 2.5rem 1rem; }
.module-visual::before {
    content: '';
    position: absolute;
    inset: 0 6%;
    border-radius: 30px;
    background: linear-gradient(135deg, var(--blue-100), #fff 70%);
    z-index: -1;
}
.callout {
    position: absolute;
    display: flex;
    align-items: center;
    gap: .6rem;
    background: #fff;
    border-radius: 12px;
    padding: .55rem .8rem .55rem .55rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    font-size: .82rem;
    font-weight: 700;
    color: var(--ink);
    max-width: 190px;
    line-height: 1.3;
    z-index: 2;
}
.callout b { flex: none; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--blue); color: #fff; font-family: var(--font-head); font-size: .9rem; }
.callout-1 { top: 4%; left: 0; }
.callout-2 { top: 16%; right: 0; }
.callout-3 { bottom: 22%; left: -2%; }
.callout-4 { bottom: 6%; right: 2%; }
.callout:nth-of-type(2) b { background: var(--green); }
.callout:nth-of-type(3) b { background: var(--amber); }
.callout:nth-of-type(4) b { background: var(--violet); }

/* Screen variants (inc/mockups.php) */
.scr { padding: .9rem; background: #f7f9fd; min-height: 260px; }
.scr-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .7rem; }
.scr-head b { font-size: .78rem; color: var(--ink); }
.scr-head span { font-size: .6rem; font-weight: 700; color: #fff; background: var(--blue); border-radius: 6px; padding: .2rem .5rem; }
.scr-table { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.scr-tr { display: grid; grid-template-columns: 20px 1.3fr 1fr .8fr; gap: .6rem; align-items: center; padding: .5rem .65rem; border-top: 1px solid #eef2f8; }
.scr-tr:first-child { border-top: 0; background: #f1f5fb; }
.scr-tr:first-child .sk { background: #d6dfec; height: 5px; }
.scr-tr .av { width: 20px; height: 20px; border-radius: 50%; background: var(--blue-200); }
.scr-tr:nth-child(3) .av { background: #ffd8a8; } .scr-tr:nth-child(4) .av { background: #bbf0d1; } .scr-tr:nth-child(5) .av { background: #e3d7ff; }
.scr-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: .6rem; }
.scr-cal i { aspect-ratio: 1; border-radius: 5px; background: #dcfce7; }
.scr-cal i.a { background: #fee2e2; } .scr-cal i.l { background: #fef3c7; } .scr-cal i.h { background: #e2e8f0; } .scr-cal i.t { background: var(--blue); }
.scr-legend { display: flex; gap: .8rem; margin-top: .6rem; font-size: .6rem; font-weight: 600; color: var(--muted); }
.scr-legend span::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: .3rem; background: #dcfce7; vertical-align: middle; }
.scr-legend span:nth-child(2)::before { background: #fee2e2; } .scr-legend span:nth-child(3)::before { background: #fef3c7; }
.scr-fees { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.receipt { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: .7rem; position: relative; }
.receipt::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: -6px; height: 12px; background: radial-gradient(circle at 6px -2px, transparent 6px, #fff 6px) repeat-x; background-size: 12px 12px; }
.receipt-total { display: flex; justify-content: space-between; align-items: center; margin-top: .6rem; padding-top: .5rem; border-top: 1px dashed var(--line); font-size: .65rem; font-weight: 700; color: var(--ink); }
.receipt-total b { color: var(--green); font-size: .8rem; }
.chat { background: #e9f6ef; border-radius: 10px; padding: .7rem; display: grid; gap: .5rem; min-height: 220px; align-content: start; }
.bubble { max-width: 82%; background: #fff; border-radius: 10px 10px 10px 2px; padding: .5rem .6rem; font-size: .64rem; line-height: 1.4; color: var(--ink); box-shadow: 0 1px 1px rgba(0, 0, 0, .06); }
.bubble.me { justify-self: end; background: #d9fdd3; border-radius: 10px 10px 2px 10px; }
.bubble small { display: block; text-align: right; font-size: .5rem; color: #6b8a7a; margin-top: .15rem; }
.idcards { display: flex; gap: .8rem; justify-content: center; padding: .6rem 0; }
.idcard { width: 120px; border-radius: 12px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; text-align: center; padding-bottom: .6rem; }
.idcard-top { height: 34px; background: linear-gradient(135deg, var(--navy), var(--sky)); }
.idcard-photo { width: 46px; height: 46px; margin: -22px auto .45rem; border-radius: 50%; border: 3px solid #fff; background: var(--blue-200); }
.idcard .sk { margin: .3rem auto 0; }
.idcard-bar { margin: .5rem auto 0; width: 70%; height: 14px; background: repeating-linear-gradient(90deg, #1d2638 0 2px, transparent 2px 4px, #1d2638 4px 5px, transparent 5px 8px); }
.idcard:nth-child(2) .idcard-top { background: linear-gradient(135deg, var(--green), #34d399); }
.report { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: .75rem; }
.report-head { display: flex; gap: .6rem; align-items: center; padding-bottom: .6rem; border-bottom: 1px solid var(--line); margin-bottom: .55rem; }
.report-logo { width: 28px; height: 28px; border-radius: 8px; background: var(--blue-100); }
.report-row { display: grid; grid-template-columns: 1.4fr .6fr .6fr; gap: .6rem; padding: .3rem 0; align-items: center; }
.grade { font-size: .6rem; font-weight: 800; color: var(--green); text-align: right; }
.map { position: relative; height: 230px; border-radius: 10px; overflow: hidden; background:
    linear-gradient(90deg, rgba(255, 255, 255, .7) 2px, transparent 2px) 0 0 / 46px 46px,
    linear-gradient(0deg, rgba(255, 255, 255, .7) 2px, transparent 2px) 0 0 / 46px 46px,
    #dff0e6; }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-pin { position: absolute; width: 30px; height: 30px; border-radius: 50%; background: var(--amber); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 6px rgba(245, 158, 11, .25); }
.map-pin .ic { width: 15px; height: 15px; }
.map-school { position: absolute; right: 12%; top: 16%; width: 26px; height: 26px; border-radius: 8px; background: var(--blue); color: #fff; display: grid; place-items: center; }
.map-school .ic { width: 14px; height: 14px; }

/* ===== Cards ===== */
.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.6rem;
    box-shadow: var(--shadow-sm);
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
a.card, .card-hover { color: inherit; }
a.card:hover, .card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-200); color: inherit; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .96rem; }

.icon-tile {
    display: grid;
    place-items: center;
    width: 52px; height: 52px;
    border-radius: 14px;
    background: var(--blue-100);
    color: var(--blue);
    margin-bottom: 1.1rem;
}
.icon-tile .ic { width: 26px; height: 26px; }
.icon-tile.t-attendance { background: #dcfce7; color: var(--green); }
.icon-tile.t-finance { background: var(--amber-100); color: #b45309; }
.icon-tile.t-communication { background: var(--teal-100); color: var(--teal); }
.icon-tile.t-operations { background: var(--violet-100); color: var(--violet); }
.icon-tile.t-platform { background: #e0f2fe; color: #0369a1; }
.icon-tile.sm { width: 42px; height: 42px; border-radius: 11px; margin-bottom: 0; }
.icon-tile.sm .ic { width: 21px; height: 21px; }

.module-card { display: flex; flex-direction: column; height: 100%; }
.module-card p { flex: 1; }
.module-card .link-arrow { margin-top: 1rem; font-size: .92rem; }
.module-card .tag { align-self: flex-start; margin-bottom: .8rem; }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; padding: .2rem .55rem; border-radius: 999px; background: var(--blue-50); color: var(--blue); }

.benefit { display: flex; gap: 1rem; align-items: flex-start; }
.benefit h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.benefit p { font-size: .95rem; color: var(--muted); }

.checklist { display: grid; gap: .7rem; margin-top: 1.25rem; }
.checklist li { display: flex; gap: .65rem; align-items: flex-start; color: var(--body); }
.checklist li .ic { color: var(--green); margin-top: .2rem; }
.checklist.two-col { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; }
.checklist li.na { color: #9aa6b8; }
.checklist li.na .ic { color: #cbd3df; }
.section-dark .checklist li { color: rgba(255, 255, 255, .88); }
.section-dark .checklist li .ic { color: #6ee7a8; }

.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .55rem .9rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    font-weight: 600;
    font-size: .9rem;
    color: var(--ink);
}
.chip .ic { color: var(--blue); }
.section-dark .chip { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #fff; }
.section-dark .chip .ic { color: #9fd2ff; }
button.chip { cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
button.chip:hover { border-color: var(--blue); }
button.chip[aria-pressed="true"] { background: var(--blue); color: #fff; border-color: var(--blue); }
button.chip[aria-pressed="true"] .ic { color: #fff; }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; text-align: center; padding: 2rem 1.4rem 1.6rem; }
.step-num {
    width: 54px; height: 54px;
    margin: 0 auto 1rem;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-family: var(--font-head);
    font-size: 1.25rem;
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--sky));
    box-shadow: 0 10px 20px -10px rgba(0, 82, 204, .7);
}
.step h3 { margin-bottom: .4rem; }
.step p { color: var(--muted); font-size: .95rem; }

/* Photo + licence credit */
.photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--blue-50); }
.photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.photo.wide img { aspect-ratio: 16 / 10; }
.photo-credit {
    position: absolute;
    right: .5rem; bottom: .5rem;
    font-size: .66rem;
    line-height: 1.3;
    color: #fff;
    background: rgba(8, 20, 40, .55);
    padding: .2rem .45rem;
    border-radius: 6px;
    max-width: calc(100% - 1rem);
}
.photo-credit a { color: #fff; text-decoration: underline; }
.photo-stack { position: relative; padding: 0 0 2.5rem 2.5rem; }
.photo-stack .photo + .photo { position: absolute; left: 0; bottom: 0; width: 52%; border: 6px solid #fff; }
.media-badge {
    position: absolute;
    right: -10px; top: 22px;
    display: flex; align-items: center; gap: .6rem;
    background: #fff;
    padding: .7rem .9rem;
    border-radius: 14px;
    box-shadow: var(--shadow);
    font-size: .85rem;
    z-index: 2;
}
.media-badge b { display: block; color: var(--ink); line-height: 1.2; }
.media-badge small { color: var(--muted); }

/* School website showcase (cx_website_card) */
.site-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem; }
.site-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.site-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.site-shot { position: relative; display: block; background: #f1f5fb; border-bottom: 1px solid var(--line); overflow: hidden; }
.site-shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform .6s ease; }
.site-card:hover .site-shot img { transform: scale(1.03); }
.site-shot-overlay {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    display: flex; align-items: center; justify-content: center; gap: .4rem;
    padding: 1.4rem .7rem .8rem;
    background: linear-gradient(0deg, rgba(8, 20, 40, .78), transparent);
    color: #fff; font-weight: 700; font-size: .88rem;
    opacity: 0; transition: opacity .25s;
}
.site-shot:hover .site-shot-overlay, .site-shot:focus-visible .site-shot-overlay { opacity: 1; }
.site-card-body { flex: 1; display: flex; flex-direction: column; gap: .45rem; padding: 1.25rem 1.35rem 1.4rem; }
.site-card-body .tag { align-self: flex-start; }
.site-card-body h3 { font-size: 1.2rem; }
.site-place { display: flex; align-items: center; gap: .35rem; color: var(--muted); font-size: .9rem; }
.site-place .ic { width: 1em; height: 1em; color: var(--blue); }
.site-features { display: flex; flex-wrap: wrap; gap: .4rem; margin: .35rem 0 .7rem; }
.site-features li { display: inline-flex; align-items: center; gap: .3rem; padding: .22rem .6rem; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-size: .8rem; font-weight: 600; color: var(--ink); }
.site-features .ic { width: .95em; height: .95em; color: var(--green); }
.site-card-body .btn-row { margin-top: auto; }
.site-card-compact .site-card-body { padding: 1rem 1.15rem 1.15rem; }
.site-cta { margin-top: 2.25rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.4rem 1.6rem; border-radius: var(--radius-lg); background: #fff; border: 1px dashed var(--blue-200); }
.site-cta p { color: var(--muted); max-width: 640px; }
.site-cta strong { display: block; font-size: 1.05rem; margin-bottom: .2rem; }

/* 404 page */
.notfound-path { display: inline-block; max-width: 100%; margin-top: .9rem; padding: .3rem .7rem; border-radius: 8px; background: #fff; border: 1px solid var(--line); font-family: ui-monospace, Consolas, monospace; font-size: .9rem; color: var(--rose); overflow-wrap: anywhere; }
.suggest { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .75rem; margin: 0 auto 2.5rem; padding: 1.1rem 1.4rem; max-width: 720px; border-radius: var(--radius); background: var(--blue-50); border: 1px solid var(--blue-200); font-weight: 600; color: var(--ink); }

/* Stats / facts band */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.fact { text-align: center; padding: 1.5rem 1rem; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.fact b { display: block; font-family: var(--font-head); font-size: clamp(1.6rem, 3vw, 2.2rem); color: #fff; line-height: 1.1; }
.fact span { display: block; margin-top: .4rem; font-size: .92rem; color: rgba(255, 255, 255, .75); }

/* Testimonials */
.quote-card { display: flex; flex-direction: column; gap: 1rem; }
.quote-card .ic { color: var(--blue-200); width: 34px; height: 34px; }
.quote-card blockquote { color: var(--ink); font-size: 1.02rem; }
.quote-card figcaption { margin-top: auto; font-size: .9rem; color: var(--muted); }
.quote-card figcaption strong { display: block; }

/* App section */
.app-band .split { align-items: center; }
.app-visual { display: flex; justify-content: center; gap: 1.25rem; align-items: flex-end; }
.app-visual .phone:nth-child(2) { transform: translateY(-30px); }
.platforms { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.platform { display: inline-flex; align-items: center; gap: .55rem; padding: .6rem 1rem; border-radius: 12px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); color: #fff; font-weight: 600; font-size: .92rem; }

/* WhatsApp alerts list */
.alert-list { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: 1.5rem; }
.alert-item { display: flex; align-items: center; gap: .65rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .75rem .9rem; font-weight: 600; color: var(--ink); font-size: .94rem; }
.alert-item .ic { color: var(--wa-dark); }

/* CTA band */
.cta-band {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 5vw, 3.5rem);
    background: radial-gradient(500px 240px at 100% 0%, rgba(26, 143, 216, .45), transparent 70%), linear-gradient(135deg, var(--navy), var(--blue));
    color: rgba(255, 255, 255, .85);
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2rem;
    align-items: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { margin-top: .6rem; }
.cta-band .btn-row { justify-content: flex-end; }

/* Feature filter (features page) */
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 2.25rem; }
.group-block + .group-block { margin-top: 3rem; }
.group-title { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.25rem; }
.group-title h2 { font-size: 1.45rem; }
.group-title .count { font-size: .82rem; font-weight: 700; color: var(--muted); background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: .15rem .6rem; }
.module-grid-empty { display: none; text-align: center; color: var(--muted); }

/* Module detail page */
.module-hero { padding-block: clamp(2.5rem, 5vw, 4rem); background: linear-gradient(180deg, #f2f7ff, #fff); border-bottom: 1px solid var(--line); }
.module-hero .breadcrumb ol { justify-content: flex-start; }
.module-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); margin: .35rem 0 1rem; }
.module-hero .lead { max-width: 560px; }
.module-hero .btn-row { margin-top: 1.75rem; }
.callout-list { display: none; }
.related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ===== Pricing ===== */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }
.plan {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem;
    box-shadow: var(--shadow-sm);
}
.plan.featured { border: 2px solid var(--blue); box-shadow: var(--shadow-lg); }
.plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--blue); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: .3rem .8rem; border-radius: 999px; white-space: nowrap; }
.plan h3 { font-size: 1.15rem; }
.plan-price { margin-top: .8rem; font-family: var(--font-head); font-size: 2.1rem; font-weight: 700; color: var(--ink); line-height: 1; }
.plan-price span { font-family: var(--font-body); font-size: .95rem; font-weight: 600; color: var(--muted); }
.plan-setup { margin-top: .5rem; font-size: .88rem; color: var(--muted); }
.plan-meta { margin-top: 1rem; padding: .6rem .75rem; border-radius: 10px; background: var(--surface-2); font-size: .84rem; font-weight: 600; color: var(--ink); }
.plan .checklist { flex: 1; align-content: start; margin-bottom: 1.5rem; font-size: .92rem; gap: .55rem; }
.plan-compact .checklist { flex: none; margin-bottom: 1rem; }
.plan-compact .link-arrow { margin-top: auto; }
.addons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.addon { display: flex; gap: .9rem; align-items: flex-start; padding: 1.15rem; }
.addon h3 { font-size: .98rem; margin-bottom: .25rem; }
.addon p { font-size: .88rem; }
.addon-price { margin-left: auto; flex: none; font-weight: 800; color: var(--blue); font-size: .92rem; white-space: nowrap; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.compare { width: 100%; border-collapse: collapse; min-width: 720px; font-size: .94rem; }
.compare th, .compare td { padding: .9rem 1rem; text-align: center; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .9rem; }
.compare thead th:first-child { text-align: left; }
.compare tbody th { text-align: left; font-weight: 600; color: var(--ink); }
.compare tbody tr:nth-child(even) { background: var(--surface-2); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare .yes { color: var(--green); }
.compare .no { color: #b8c1cf; }
.compare .ic { margin-inline: auto; width: 20px; height: 20px; }

/* ===== FAQ ===== */
.faq { display: grid; gap: .75rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--blue-200); box-shadow: var(--shadow-sm); }
.faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    font-weight: 700;
    color: var(--ink);
    cursor: pointer;
    list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--blue); transition: transform .2s; }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq .answer { padding: 0 1.25rem 1.2rem; color: var(--muted); }
.faq .answer p + p, .faq .answer p + ul, .faq .answer ul + p { margin-top: .6rem; }
.faq .answer ul { list-style: disc; padding-left: 1.2rem; }

/* ===== Forms ===== */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.25rem); box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.5rem; margin-bottom: .35rem; }
.form-card > p { color: var(--muted); margin-bottom: 1.5rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; }
.form-grid .full { grid-column: 1 / -1; }
.field label, .form-group label { display: block; font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: .4rem; }
.field label .req { color: var(--rose); }
.field input, .field select, .field textarea,
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: .78rem .9rem;
    border: 1.5px solid #d5deea;
    border-radius: 10px;
    background: #fff;
    font-size: 1rem;
    color: var(--ink);
    transition: border-color .2s, box-shadow .2s;
}
.field textarea, .form-group textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus,
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 82, 204, .12); }
.field-hint { font-size: .8rem; color: var(--muted); margin-top: .3rem; }
.form-group { margin-bottom: 1.25rem; }
.check-field { display: flex; gap: .65rem; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.check-field input { width: 18px; height: 18px; margin-top: .2rem; accent-color: var(--blue); flex: none; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin-top: 1rem; font-size: .84rem; color: var(--muted); display: flex; gap: .45rem; align-items: center; }
.form-note .ic { color: var(--green); }

.alert, .success-message, .error-message { display: flex; gap: .7rem; align-items: flex-start; padding: .95rem 1.1rem; border-radius: 12px; margin-bottom: 1.25rem; font-weight: 600; font-size: .95rem; }
.alert-success, .success-message { background: #e8f8ef; color: #12603a; border: 1px solid #b6e8cb; }
.alert-error, .error-message { background: #fdecec; color: #a12a2a; border: 1px solid #f6c3c3; }
.alert .ic { margin-top: .15rem; }

.contact-cards { display: grid; gap: 1rem; }
.contact-card { display: flex; gap: 1rem; align-items: flex-start; }
.contact-card h3 { font-size: 1rem; margin-bottom: .2rem; }
.contact-card p, .contact-card a { font-size: .95rem; }
.hours-table { width: 100%; font-size: .92rem; }
.hours-table td { padding: .2rem 0; }
.hours-table td:last-child { text-align: right; font-weight: 600; color: var(--ink); }

.login-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.login-card { text-align: center; padding: 2.25rem 1.5rem; }
.login-card .icon-tile { margin-inline: auto; }
.login-card .btn { margin-top: 1.25rem; }

/* Prose (privacy / terms) */
.prose { color: var(--body); }
.prose h2 { font-size: 1.35rem; margin: 2.25rem 0 .75rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.08rem; margin: 1.5rem 0 .5rem; }
.prose p + p, .prose ul + p { margin-top: .9rem; }
.prose ul { list-style: disc; padding-left: 1.3rem; margin: .6rem 0; display: grid; gap: .35rem; }
.prose a { text-decoration: underline; }
.prose-meta { font-size: .9rem; color: var(--muted); margin-bottom: 2rem; }

/* Team */
.team-card { text-align: center; }
.team-avatar { width: 72px; height: 72px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-size: 1.4rem; color: #fff; background: linear-gradient(135deg, var(--navy), var(--sky)); }
.team-card .role { font-weight: 700; color: var(--blue); font-size: .9rem; margin-bottom: .5rem; }

/* ===== Footer ===== */
.site-footer { background: #071a36; color: rgba(255, 255, 255, .7); margin-top: 0; }
.footer-cta { background: linear-gradient(135deg, var(--blue), var(--sky)); color: rgba(255, 255, 255, .9); }
.footer-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 2rem; }
.footer-cta h2 { color: #fff; font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
.footer-cta p { margin-top: .3rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.25fr 1fr 1fr; gap: 2rem; padding-block: 3.25rem 2.5rem; }
.footer-logo { display: inline-block; background: #fff; border-radius: 12px; padding: .5rem .8rem; margin-bottom: 1.1rem; }
.footer-logo img { height: 40px; width: auto; }
.footer-brand p { font-size: .92rem; max-width: 320px; }
.footer-contact { margin-top: 1.25rem; display: grid; gap: .55rem; font-size: .92rem; }
.footer-contact li { display: flex; gap: .55rem; align-items: center; }
.footer-contact .ic { color: #7cc2ff; }
.site-footer a { color: rgba(255, 255, 255, .75); }
.site-footer a:hover { color: #fff; }
.footer-col h3 { font-family: var(--font-body); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.footer-col ul { display: grid; gap: .55rem; font-size: .93rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.25rem; font-size: .86rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 1.25rem; }

/* ===== Floating actions ===== */
.fab-stack { position: fixed; right: 20px; bottom: 22px; display: grid; gap: .7rem; z-index: 800; }
.fab { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; border: 0; box-shadow: var(--shadow); transition: transform .2s; }
.fab:hover { transform: scale(1.07); }
.fab .ic { width: 26px; height: 26px; }
.fab-whatsapp { background: var(--wa); color: #fff; }
.fab-whatsapp:hover { color: #fff; }
.fab-top { background: var(--navy); color: #fff; }
.fab[hidden] { display: none; }
.mobile-bar { display: none; }

/* Older utility pages pushed content down to clear the previous fixed header. */
main > section[style*="margin-top: 130px"] { margin-top: 0 !important; }

/* ===== Motion ===== */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .js .reveal { opacity: 1; transform: none; }
}

/* ===== Responsive ===== */
@media (max-width: 1180px) {
    .nav-link { padding-inline: .6rem; }
    .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
    .main-nav, .header-cta .btn { display: none; }
    .hamburger { display: flex; }
    .hero-inner, .split { grid-template-columns: 1fr; }
    .split-reverse .split-media { order: 0; }
    .hero-visual { max-width: 620px; width: 100%; margin-inline: auto; }
    .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .site-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .addons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .facts { grid-template-columns: repeat(2, 1fr); }
    .cta-band { grid-template-columns: 1fr; }
    .cta-band .btn-row { justify-content: flex-start; }
}
@media (max-width: 860px) {
    .topbar .hide-md { display: none; }
    .grid-3, .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-cta-inner { flex-direction: column; align-items: flex-start; }
    .module-visual .callout { display: none; }
    .callout-list { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: 1rem; }
    .callout-list li { display: flex; gap: .55rem; align-items: center; font-weight: 700; color: var(--ink); font-size: .9rem; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: .55rem .65rem; }
    .callout-list b { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--blue); color: #fff; flex: none; }
}
@media (max-width: 720px) {
    body { padding-bottom: 64px; }
    .topbar-contact .hide-sm { display: none; }
    .topbar-contact li:first-child span { display: none; }
    .topbar-actions a { padding: .3rem .45rem; font-size: .78rem; }
    .brand-logo { height: 38px; }
    :root { --header-h: 62px; }
    .grid-2, .grid-3, .grid-4, .related-grid, .addons, .plans, .login-choice, .site-grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .checklist.two-col, .alert-list { grid-template-columns: 1fr; }
    .hero-visual { min-height: 0; padding-bottom: 1rem; }
    .hero-visual .browser { margin-right: 0; }
    .hero-visual .phone { display: none; }
    .hero-visual .notif-1 { left: 8px; bottom: -18px; }
    .hero-visual .notif-2 { right: 8px; top: -18px; }
    /* Compact, icon-left module cards keep long module lists short on phones */
    .module-card { display: grid; grid-template-columns: 44px 1fr; column-gap: .9rem; align-items: start; padding: 1.1rem; }
    .module-card .icon-tile { width: 44px; height: 44px; border-radius: 12px; margin: 0; grid-row: span 3; }
    .module-card .icon-tile .ic { width: 22px; height: 22px; }
    .module-card h3, .module-card h2 { margin-bottom: .25rem; font-size: 1.02rem !important; }
    .module-card p { font-size: .9rem; }
    .module-card .link-arrow { display: none; }
    .module-card .checklist { grid-column: 2; margin-top: .6rem !important; font-size: .9rem; }
    .kpis { grid-template-columns: repeat(2, 1fr); }
    .dash { grid-template-columns: 40px 1fr; }
    .dash-row { grid-template-columns: 1fr; }
    .dash-row .panel:last-child { display: none; }
    .app-visual .phone:nth-child(2) { display: none; }
    .photo-stack { padding: 0; }
    .photo-stack .photo + .photo { display: none; }
    .media-badge { right: 8px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.75rem 1.25rem; }
    .fab-stack { bottom: 78px; right: 14px; }
    .fab-whatsapp { display: none; }
    .fab { width: 46px; height: 46px; }
    .mobile-bar {
        display: grid;
        grid-template-columns: 1fr 1.2fr 1fr;
        position: fixed;
        left: 0; right: 0; bottom: 0;
        z-index: 850;
        background: #fff;
        border-top: 1px solid var(--line);
        box-shadow: 0 -8px 24px -12px rgba(15, 45, 87, .3);
        padding-bottom: env(safe-area-inset-bottom);
    }
    .mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem; min-height: 60px; font-size: .74rem; font-weight: 700; color: var(--ink); }
    .mobile-bar a .ic { width: 22px; height: 22px; color: var(--blue); }
    .mobile-bar a:last-child .ic { color: var(--wa-dark); }
    .mobile-bar .mobile-bar-main { background: var(--blue); color: #fff; }
    .mobile-bar .mobile-bar-main .ic { color: #fff; }
    .cta-band .btn, .page-hero .btn, .hero .btn-row .btn { flex: 1 1 100%; }
    .section-head { text-align: left; }
    .section-head.text-center, .page-hero .section-head { text-align: center; }
}
@media (max-width: 420px) {
    .container { padding-inline: 16px; }
    .footer-grid { grid-template-columns: 1fr; }
    .topbar-actions span { font-size: .74rem; }
    .topbar-actions .ic { display: none; }
    .drawer-logins { grid-template-columns: 1fr; }
    .callout-list { grid-template-columns: 1fr; }
    .phone { width: 190px; }
}
@media print {
    .topbar, .site-header, .drawer, .fab-stack, .mobile-bar, .footer-cta { display: none !important; }
}
