/* ==========================================================================
   Smart Softech Services — premium design system
   Plain CSS, no framework. Interactions live in js/site.js (optional).
   ========================================================================== */

:root {
  --ink-950: #030B14;
  --ink-900: #061423;
  --ink-800: #0B1F33;
  --brand: #009FE3;
  --brand-strong: #0077C2;
  --brand-deep: #005E99;
  --link: #0069AB;
  --cyan: #22C7C9;
  --sky-50: #EEF8FD;
  --sky-100: #DCF0FA;
  --bg: #FFFFFF;
  --bg-soft: #F4F7FA;
  --line: #E3E9F0;
  --line-strong: #CAD5E1;
  --text: #0B1B2B;
  --text-2: #3E4C5E;
  --text-3: #5B6B80;
  --on-dark: #E7EEF5;
  --on-dark-2: #A9B8C8;
  --success: #12924A;
  --danger: #C23B3B;

  --grad: linear-gradient(135deg, #009FE3 0%, #22C7C9 100%);
  --grad-strong: linear-gradient(135deg, #0077C2 0%, #0A97AB 100%);
  --grad-text: linear-gradient(100deg, #005F9E 0%, #0088CC 55%, #0B97AA 100%);
  --grad-text-dark: linear-gradient(100deg, #6ED3FF 0%, #5CE1D6 100%);

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 24px;
  --radius-xl: 34px;
  --shadow-sm: 0 1px 2px rgba(6, 20, 35, .06), 0 1px 1px rgba(6, 20, 35, .03);
  --shadow: 0 18px 40px -22px rgba(6, 20, 35, .28);
  --shadow-lg: 0 40px 80px -36px rgba(6, 20, 35, .42);
  --ease: cubic-bezier(.2, .7, .2, 1);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --container: 1240px;
  --header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.75; color: var(--text-2); background: var(--bg); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: hidden; overflow-x: clip; -webkit-tap-highlight-color: rgba(0, 119, 194, .12); }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--link); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand-strong); }
h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--text); font-weight: 700; line-height: 1.15; letter-spacing: -.025em; text-wrap: balance; }
p { margin: 0 0 1.15em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
strong, b { font-weight: 700; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: rgba(0, 159, 227, .2); color: var(--text); }
:focus-visible { outline: 2px solid var(--brand-strong); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; border: 0 !important; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
@media (min-width: 768px) { .container { width: min(100% - 64px, var(--container)); } }
@media (min-width: 1600px) { :root { --container: 1320px; } }

.skip-link { position: fixed; top: -90px; left: 16px; z-index: 1000; padding: 12px 18px; border-radius: 12px; background: var(--ink-900); color: #fff; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 16px; color: #fff; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Typography helpers ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 6px 14px 6px 10px; border: 1px solid #D3E5F1; border-radius: 999px; background: rgba(255, 255, 255, .75); color: var(--link); font-size: .72rem; font-weight: 700; line-height: 1.3; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(0, 159, 227, .16); }
.eyebrow--dark { border-color: rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); color: #8FDAF8; }
.eyebrow--dark::before { background: var(--cyan); box-shadow: 0 0 0 4px rgba(34, 199, 201, .2); }
.accent { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; font-size: 1.08em; line-height: 1; padding-right: .06em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.on-dark .accent, .accent--light { background: var(--grad-text-dark); -webkit-background-clip: text; background-clip: text; }
.section-title { font-size: clamp(2rem, 3.9vw, 3.15rem); line-height: 1.08; letter-spacing: -.035em; margin-bottom: 20px; }
.section-title--md { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.lead { font-size: clamp(1.08rem, 1.45vw, 1.24rem); line-height: 1.7; color: var(--text); font-weight: 500; }
.statement { font-size: clamp(1.25rem, 2.1vw, 1.6rem); line-height: 1.55; font-weight: 500; letter-spacing: -.015em; color: var(--text); }
.muted { color: var(--text-3); }

/* ---------- Buttons ---------- */
.btn { --btn-bg: var(--brand-strong); --btn-fg: #fff; --btn-border: transparent; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 52px; padding: .8rem 1.55rem; border: 1px solid var(--btn-border); border-radius: 999px; background: var(--btn-bg); color: var(--btn-fg); font-size: .95rem; font-weight: 650; line-height: 1.1; letter-spacing: -.005em; white-space: nowrap; cursor: pointer; isolation: isolate; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease), background-color .25s, color .25s, border-color .25s; }
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .4s var(--ease); }
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); }
.btn:hover .icon-arrow { transform: translateX(4px); }
.btn:active { transform: translateY(0); }
.btn-primary { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 12px 24px -12px rgba(0, 119, 194, .7); }
.btn-primary::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, .28) 50%, transparent 80%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn-primary:hover { --btn-bg: var(--brand-deep); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 18px 32px -14px rgba(0, 119, 194, .75); }
.btn-primary:hover::before { transform: translateX(120%); }
.btn-ghost, .btn-outline { --btn-bg: rgba(255, 255, 255, .7); --btn-fg: var(--text); --btn-border: var(--line-strong); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn-ghost:hover, .btn-outline:hover { --btn-bg: var(--ink-900); --btn-fg: #fff; --btn-border: var(--ink-900); }
.btn-light { --btn-bg: #fff; --btn-fg: var(--ink-900); box-shadow: 0 14px 30px -16px rgba(0, 0, 0, .55); }
.btn-light:hover { --btn-bg: #fff; --btn-fg: var(--brand-deep); }
.btn-dark { --btn-bg: var(--ink-900); --btn-fg: #fff; }
.btn-dark:hover { --btn-bg: var(--brand-strong); }
.btn-lg { min-height: 60px; padding-inline: 1.9rem; font-size: 1.02rem; }
.btn[disabled] { cursor: progress; opacity: .7; transform: none; }

.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 650; }
.text-link .icon { width: 36px; height: 36px; padding: 9px; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--brand-strong); transition: transform .4s var(--ease), background-color .3s, color .3s, border-color .3s; }
.text-link:hover { color: var(--brand-strong); }
.text-link:hover .icon { transform: translateX(4px); background: var(--brand-strong); border-color: var(--brand-strong); color: #fff; }

.round-btn { display: grid; place-items: center; width: 50px; height: 50px; padding: 0; border: 1px solid var(--line-strong); border-radius: 50%; background: rgba(255, 255, 255, .8); color: var(--text); cursor: pointer; transition: background-color .3s, border-color .3s, color .3s, transform .4s var(--ease), opacity .3s; }
.round-btn .icon { width: 20px; height: 20px; }
.round-btn:hover { background: var(--ink-900); border-color: var(--ink-900); color: #fff; transform: translateY(-2px); }
.round-btn:disabled { opacity: .35; cursor: default; transform: none; background: rgba(255, 255, 255, .8); border-color: var(--line-strong); color: var(--text); }

/* ---------- Top bar & header ---------- */
.topbar { position: relative; z-index: 101; background: var(--ink-900); color: var(--on-dark-2); font-size: .8rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 40px; }
.topbar-tag { display: flex; align-items: center; gap: 10px; margin: 0; font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.topbar-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(34, 199, 201, .18); }
.topbar-links { display: flex; gap: 28px; }
.topbar a { display: inline-flex; align-items: center; gap: 8px; color: #D5DEE8; }
.topbar a:hover { color: #fff; }
.topbar .icon { width: 15px; height: 15px; color: #4FC3F7; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .84); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, background-color .3s; }
.site-header.is-scrolled { background: rgba(255, 255, 255, .92); border-color: var(--line); box-shadow: 0 14px 34px -24px rgba(6, 20, 35, .35); }
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); transition: height .35s var(--ease); }
.site-header.is-scrolled .header-inner { height: 70px; }
.brand { display: flex; flex: none; align-items: center; border-radius: 10px; }
.brand img { width: 232px; transition: width .35s var(--ease); }
.site-header.is-scrolled .brand img { width: 212px; }
.primary-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav-link { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border: 0; border-radius: 999px; background: none; color: var(--text); font-size: .94rem; font-weight: 600; line-height: 1.2; cursor: pointer; transition: color .2s, background-color .2s; }
.nav-link:hover { color: var(--link); background: var(--sky-50); }
.nav-link[aria-current="page"], .nav-link.is-current { color: var(--link); }
.nav-link[aria-current="page"]::after, .nav-link.is-current::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); transform: translateX(-50%); }
.menu-trigger .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.menu-trigger[aria-expanded="true"] .icon { transform: rotate(180deg); }
.has-menu { position: relative; }
.submenu { position: absolute; top: calc(100% + 14px); left: 50%; width: 360px; padding: 10px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translate(-50%, 10px); transition: opacity .25s, transform .35s var(--ease), visibility .25s; }
.submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.submenu a { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 14px; color: var(--text); transition: background-color .2s; }
.submenu a:hover, .submenu a[aria-current="page"] { background: var(--bg-soft); color: var(--text); }
.submenu-icon { display: grid; flex: none; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--sky-50); color: var(--brand-strong); transition: background-color .3s, color .3s, transform .4s var(--ease); }
.submenu a:hover .submenu-icon, .submenu a[aria-current="page"] .submenu-icon { background: var(--brand-strong); color: #fff; transform: rotate(-6deg); }
.submenu strong { display: block; font-size: .95rem; font-weight: 650; line-height: 1.3; }
.submenu small { display: block; margin-top: 2px; color: var(--text-3); font-size: .8rem; line-height: 1.4; }
.menu-trigger[aria-expanded="true"] + .submenu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (hover: hover) and (min-width: 992px) {
  .has-menu:hover .submenu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
}
.site-header:not(.has-js) .has-menu:focus-within .submenu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-cta { min-height: 46px; padding-inline: 1.3rem; }
.menu-toggle { display: none; position: relative; width: 48px; height: 48px; margin-left: auto; padding: 0; border: 1px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; }
.menu-toggle span { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-toggle span:first-child { top: 19px; }
.menu-toggle span:last-child { top: 27px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 23px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 23px; transform: rotate(-45deg); }

@media (max-width: 1199.98px) {
  .brand img, .site-header.is-scrolled .brand img { width: 200px; }
  .nav-link { padding-inline: 12px; }
  .primary-nav { gap: 14px; }
}
@media (max-width: 991.98px) {
  .topbar { display: none; }
  .site-header { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .site-header.is-scrolled { background: #fff; }
  .header-inner, .site-header.is-scrolled .header-inner { height: 72px; }
  .brand img, .site-header.is-scrolled .brand img { width: 190px; }
  .menu-toggle { display: block; }
  .primary-nav { position: fixed; top: 72px; left: 0; right: 0; bottom: 0; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 12px 20px 32px; overflow-y: auto; overscroll-behavior: contain; background: #fff; border-top: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .3s, transform .4s var(--ease), visibility .3s; }
  .primary-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-link { width: 100%; justify-content: space-between; padding: 18px 6px; border-radius: 0; font-size: 1.15rem; }
  .nav-link:hover { background: none; }
  .nav-link[aria-current="page"]::after, .nav-link.is-current::after { left: auto; right: 6px; top: 50%; bottom: auto; transform: translateY(-50%); }
  .menu-trigger.is-current::after { right: 34px; }
  .submenu { position: static; display: none; width: auto; padding: 0 0 12px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; transition: none; }
  .submenu::before { display: none; }
  .menu-trigger[aria-expanded="true"] + .submenu { display: block; transform: none; }
  .site-header:not(.has-js) .has-menu:focus-within .submenu { transform: none; }
  .nav-cta { width: 100%; min-height: 56px; margin-top: 26px; }
  body.menu-open { overflow: hidden; }
}

/* ---------- Sections ---------- */
.section { position: relative; padding-block: clamp(76px, 10vw, 128px); }
.section--soft { background: var(--bg-soft); }
.section--tight { padding-block: clamp(56px, 7vw, 92px); }
.section--flush-top, .section:not(.section--soft) + .section:not(.section--soft) { padding-top: 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head > div:first-child { max-width: 740px; }
.section-head > .btn, .section-head > .track-controls { flex: none; }
.section-head p:not(.eyebrow) { margin: 0; font-size: 1.05rem; }
.section-head--center { flex-direction: column; align-items: center; max-width: 820px; margin-inline: auto; text-align: center; }
.section-head--center > div:first-child { max-width: none; }
@media (max-width: 767.98px) {
  .section-head { flex-direction: column; align-items: flex-start; gap: 24px; }
  .section-head--center { align-items: center; }
}

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 100px); align-items: center; }
.split--wide-text { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
@media (max-width: 991.98px) { .split, .split--wide-text { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 992px) {
  .split--sticky { align-items: start; }
  .split--sticky > :first-child { position: sticky; top: 118px; }
}

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(180deg, #F8FAFC 0%, #EEF2F6 100%); }
.hero-slides { display: grid; touch-action: pan-y; }
.hero-slide { position: relative; grid-area: 1 / 1; display: flex; align-items: center; min-height: clamp(640px, calc(100vh - 124px), 820px); min-height: clamp(640px, calc(100svh - 124px), 820px); opacity: 0; visibility: hidden; transition: opacity 1.1s var(--ease), visibility 1.1s; }
.hero-slide.is-active { z-index: 1; opacity: 1; visibility: visible; }
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 72% center; transform: scale(1.08); transition: transform 9s cubic-bezier(.25, .6, .3, 1); }
.hero-slide.is-active .hero-media img { transform: scale(1); }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(6, 20, 35, .045) 1px, transparent 1px) 0 0 / 64px 64px, linear-gradient(90deg, rgba(6, 20, 35, .045) 1px, transparent 1px) 0 0 / 64px 64px, linear-gradient(90deg, rgba(248, 250, 252, .97) 0%, rgba(248, 250, 252, .9) 32%, rgba(248, 250, 252, .35) 54%, rgba(248, 250, 252, 0) 68%), linear-gradient(0deg, rgba(248, 250, 252, .75) 0%, rgba(248, 250, 252, 0) 32%); }
.hero-inner { position: relative; width: min(100% - 64px, var(--container)); padding-block: 96px 200px; }
.hero-copy { max-width: 660px; }
.hero-title { margin-bottom: 26px; font-size: clamp(2.6rem, 5.3vw, 4.5rem); font-weight: 750; line-height: 1.03; letter-spacing: -.045em; }
.hero-title--long { font-size: clamp(2.35rem, 4.4vw, 3.6rem); line-height: 1.06; }
.hero-lead { max-width: 470px; margin-bottom: 38px; font-size: clamp(1.06rem, 1.45vw, 1.22rem); line-height: 1.7; color: var(--text-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-slide.is-active .hero-copy > * { animation: rise .95s var(--ease) both; }
.hero-slide.is-active .hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-slide.is-active .hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-slide.is-active .hero-copy > :nth-child(4) { animation-delay: .24s; }
.hero-badge { position: absolute; right: 0; bottom: 210px; display: flex; align-items: center; gap: 14px; margin: 0; padding: 16px 22px 16px 16px; border: 1px solid rgba(255, 255, 255, .9); border-radius: 20px; background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: var(--shadow); line-height: 1.35; }
.hero-slide.is-active .hero-badge { animation: rise 1s .35s var(--ease) both, float 7s 1.4s ease-in-out infinite; }
.hero-badge-icon { display: grid; flex: none; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--grad-strong); color: #fff; }
.hero-badge strong { display: block; color: var(--text); font-size: .95rem; }
.hero-badge span span { display: block; color: var(--text-3); font-size: .82rem; }
.hero-controls { position: absolute; left: 0; right: 0; bottom: 88px; z-index: 5; }
.hero-controls-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.hero-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 210px)); gap: 22px; }
.hero-tab { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; padding: 0; border: 0; background: none; color: var(--text-3); text-align: left; cursor: pointer; }
.hero-tab-num { font-size: .78rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.hero-tab-label { font-size: .86rem; font-weight: 600; line-height: 1.4; transition: color .3s; }
.hero-tab-bar { grid-column: 1 / -1; height: 3px; margin-top: 12px; overflow: hidden; border-radius: 3px; background: rgba(6, 20, 35, .1); }
.hero-tab-bar span { display: block; width: 100%; height: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; }
.hero-tab:hover .hero-tab-label, .hero-tab.is-active .hero-tab-label { color: var(--text); }
.hero-tab.is-active .hero-tab-num { color: var(--link); }
.hero-tab.is-active .hero-tab-bar span { animation: progress var(--hero-interval, 7s) linear forwards; }
@media (hover: hover) { .hero:hover .hero-tab.is-active .hero-tab-bar span { animation-play-state: paused; } }
.hero:has(:focus-visible) .hero-tab.is-active .hero-tab-bar span { animation-play-state: paused; }
.hero.is-paused .hero-tab.is-active .hero-tab-bar span, .hero.is-offscreen .hero-tab.is-active .hero-tab-bar span { animation-play-state: paused; }
.hero.is-static .hero-tab.is-active .hero-tab-bar span { animation: none; transform: scaleX(1); }
.hero-nav { display: flex; gap: 10px; }
.hero-nav .i-play, .hero.is-paused .hero-nav .i-pause, .hero.is-static .hero-nav .i-pause { display: none; }
.hero.is-paused .hero-nav .i-play, .hero.is-static .hero-nav .i-play { display: block; }

.quick-links { position: relative; z-index: 6; margin-top: -48px; }
.quick-panel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-lg); }
.quick-panel a { display: flex; align-items: center; gap: 16px; padding: 26px 28px; color: var(--text); transition: background-color .3s; }
.quick-panel a + a { border-left: 1px solid var(--line); }
.quick-panel a:hover { background: var(--bg-soft); color: var(--text); }
.quick-icon { display: grid; flex: none; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--sky-50); color: var(--brand-strong); transition: background-color .3s, color .3s, transform .45s var(--ease); }
.quick-icon .icon { width: 26px; height: 26px; }
.quick-panel a:hover .quick-icon { background: var(--grad-strong); color: #fff; transform: rotate(-6deg) scale(1.04); }
.quick-panel small { display: block; color: var(--text-3); font-size: .7rem; font-weight: 700; letter-spacing: .16em; }
.quick-panel strong { display: block; font-size: 1.04rem; font-weight: 650; letter-spacing: -.01em; line-height: 1.35; }
.quick-arrow { display: grid; flex: none; place-items: center; width: 38px; height: 38px; margin-left: auto; border: 1px solid var(--line); border-radius: 50%; transition: background-color .3s, color .3s, border-color .3s, transform .45s var(--ease); }
.quick-arrow .icon { width: 17px; height: 17px; }
.quick-panel a:hover .quick-arrow { background: var(--ink-900); border-color: var(--ink-900); color: #fff; transform: rotate(45deg); }

@media (max-width: 1199.98px) {
  .hero-badge { display: none; }
}
@media (max-width: 991.98px) {
  .hero-slide { flex-direction: column; align-items: stretch; min-height: 0; }
  .hero-media { position: relative; inset: auto; order: 2; z-index: 0; height: clamp(220px, 58vw, 460px); height: clamp(220px, min(58vw, 72vh), 460px); }
  .hero-media img { object-position: 80% center; }
  .hero-media::after { background: linear-gradient(180deg, #F8FAFC 0%, rgba(248, 250, 252, 0) 38%); }
  .hero-inner { width: min(100% - 40px, var(--container)); margin-inline: auto; padding-block: 56px 18px; }
  .hero-controls { position: relative; bottom: auto; padding-block: 22px 76px; background: #EEF2F6; }
  .hero-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; flex: 1; }
  .hero-tab-label { display: none; }
  .quick-links { margin-top: -52px; }
}
@media (max-width: 767.98px) {
  .quick-panel { grid-template-columns: minmax(0, 1fr); }
  .quick-panel a + a { border-top: 1px solid var(--line); border-left: 0; }
  .quick-panel a { padding: 20px; }
  .hero-nav .round-btn { width: 44px; height: 44px; }
}

/* ---------- Media ---------- */
.media-frame { position: relative; isolation: isolate; }
.media-frame::before { content: ""; position: absolute; inset: 32px -24px -24px 32px; z-index: -1; border-radius: var(--radius-xl); background: radial-gradient(circle at 1px 1px, rgba(0, 119, 194, .28) 1.2px, transparent 1.3px) 0 0 / 18px 18px; mask-image: linear-gradient(135deg, transparent 20%, #000 70%); -webkit-mask-image: linear-gradient(135deg, transparent 20%, #000 70%); }
.media-frame img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }
.media-frame .float-badge { right: -18px; bottom: 36px; }
.about-visual { position: relative; isolation: isolate; }
.about-visual::before { content: ""; position: absolute; inset: 12%; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(0, 159, 227, .2) 0%, rgba(34, 199, 201, .08) 45%, transparent 70%); filter: blur(24px); }
.about-visual img { width: 100%; max-width: 560px; margin-inline: auto; mix-blend-mode: multiply; }
.section--soft .about-visual img { mix-blend-mode: multiply; }
.float-badge { position: absolute; right: 2%; bottom: 8%; display: flex; align-items: center; gap: 14px; margin: 0; padding: 18px 22px; border-radius: 20px; background: var(--ink-900); color: #fff; box-shadow: var(--shadow-lg); animation: float 7s ease-in-out infinite; }
.float-badge b { font-size: 2.5rem; font-weight: 750; line-height: 1; letter-spacing: -.05em; background: var(--grad-text-dark); -webkit-background-clip: text; background-clip: text; color: transparent; }
.float-badge span { max-width: 140px; color: #B8C6D4; font-size: .84rem; line-height: 1.35; }
@media (max-width: 767.98px) { .media-frame::before { inset: 24px -14px -16px 24px; } }
@media (max-width: 575.98px) {
  .media-frame::before { inset: 20px -10px -14px 20px; }
  .media-frame .float-badge { right: 10px; bottom: 16px; }
  .float-badge { padding: 14px 16px; }
  .float-badge b { font-size: 2rem; }
}

/* ---------- Content blocks ---------- */
.prose > p { color: var(--text-2); }
.prose .lead { margin-bottom: 1.2em; }
.prose h3 { margin: 1.6em 0 .6em; font-size: 1.3rem; letter-spacing: -.02em; }
.prose .btn { margin-top: 18px; }
.callout { position: relative; margin: 28px 0; padding: 26px 28px 26px 30px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(135deg, #F5FBFE 0%, #F4F7FA 100%); color: var(--text); overflow: hidden; }
.callout::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--grad); }
.callout p { color: var(--text-2); }
.callout strong { color: var(--text); }
.callout-title { margin: 0 0 8px; font-size: 1.15rem; letter-spacing: -.015em; }
.stat-callout { display: flex; align-items: center; gap: 22px; }
.stat-callout b { flex: none; font-size: clamp(2.6rem, 5vw, 3.4rem); font-weight: 750; line-height: 1; letter-spacing: -.05em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 575.98px) { .stat-callout { flex-direction: column; align-items: flex-start; gap: 10px; } }

.checklist { display: grid; gap: 12px; margin: 26px 0 0; padding: 0; list-style: none; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; color: var(--text); font-weight: 500; line-height: 1.55; }
.check { display: grid; flex: none; place-items: center; width: 26px; height: 26px; margin-top: 1px; border-radius: 50%; background: var(--grad-strong); color: #fff; }
.check .icon { width: 14px; height: 14px; stroke-width: 2.8; }

.numbered-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: item; }
.numbered-list li { position: relative; display: flex; gap: 16px; align-items: flex-start; padding: 22px 22px 22px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--text); font-weight: 550; line-height: 1.55; counter-increment: item; transition: border-color .3s, box-shadow .45s var(--ease), transform .45s var(--ease); }
.numbered-list li::before { content: counter(item, decimal-leading-zero); flex: none; min-width: 30px; padding-top: 1px; color: var(--link); font-size: .8rem; font-weight: 750; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.numbered-list li:hover { border-color: #BFDCEF; box-shadow: var(--shadow); transform: translateY(-3px); }
@media (max-width: 1199.98px) { .numbered-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767.98px) { .numbered-list { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid[data-highlights] { margin-top: clamp(48px, 7vw, 88px); }
.card-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1199.98px) { .card-grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .card-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 991.98px) { .card-grid, .card-grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639.98px) { .card-grid, .card-grid--2, .card-grid--4, .card-grid--5 { grid-template-columns: minmax(0, 1fr); } }

.card { position: relative; display: flex; flex-direction: column; padding: 34px 30px 30px; overflow: hidden; isolation: isolate; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(520px circle at var(--mx, 50%) var(--my, -20%), rgba(0, 159, 227, .11), transparent 42%); opacity: 0; transition: opacity .4s; }
.card:hover { transform: translateY(-6px); border-color: #CBE2F1; box-shadow: var(--shadow-lg); }
.card:hover::before { opacity: 1; }
.card h3 { margin-bottom: 12px; font-size: 1.4rem; letter-spacing: -.025em; }
.card p { color: var(--text-2); }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 34px; }
.card-icon { display: grid; flex: none; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: linear-gradient(135deg, #E6F5FD 0%, #DDF5F4 100%); color: var(--brand-strong); transition: background .4s, color .3s, transform .5s var(--ease); }
.card-icon .icon { width: 28px; height: 28px; }
.card:hover .card-icon { background: var(--grad-strong); color: #fff; transform: translateY(-3px) rotate(-5deg); }
.card-index { color: var(--text-3); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.card-body { flex: 1; }
.card-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--text); font-weight: 650; }
.card-link .icon { color: var(--brand-strong); transition: transform .4s var(--ease); }
.card:hover .card-link .icon { transform: translateX(5px); }
.card-link::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.card--compact { padding: 28px 26px; }
.card--compact .card-top { margin-bottom: 22px; }
.card--compact .card-icon { width: 52px; height: 52px; border-radius: 16px; }
.card--compact .card-icon .icon { width: 24px; height: 24px; }
.card--compact h3 { font-size: 1.16rem; }
.card--compact p { font-size: .95rem; line-height: 1.7; }
.card-watermark { position: absolute; top: 14px; right: 22px; z-index: -1; color: rgba(6, 20, 35, .045); font-size: 4.6rem; font-weight: 800; line-height: 1; letter-spacing: -.06em; }
.card-tag { padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--text-3); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }

/* ---------- SmartHIS spotlight ---------- */
.spotlight { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: clamp(36px, 5vw, 72px); align-items: center; padding: clamp(32px, 5.5vw, 76px); overflow: hidden; isolation: isolate; border-radius: var(--radius-xl); background: var(--ink-900); color: var(--on-dark-2); }
.spotlight::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(760px 420px at 88% -12%, rgba(0, 159, 227, .38), transparent 62%), radial-gradient(620px 380px at -8% 112%, rgba(34, 199, 201, .24), transparent 62%); }
.spotlight::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 52px 52px, linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 52px 52px; mask-image: radial-gradient(ellipse at 72% 38%, #000 18%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 72% 38%, #000 18%, transparent 70%); }
.spotlight h2 { color: #fff; }
.spotlight p { color: var(--on-dark-2); font-size: 1.05rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 34px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--text); font-size: .84rem; font-weight: 600; line-height: 1.2; box-shadow: var(--shadow-sm); }
.chip .icon { width: 16px; height: 16px; color: var(--brand-strong); }
.chip--dark { border-color: rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .06); color: var(--on-dark); box-shadow: none; }
.chip--dark .icon { color: #5CD0F5; }
@media (max-width: 991.98px) { .spotlight { grid-template-columns: minmax(0, 1fr); } }

.browser { overflow: hidden; border: 1px solid rgba(255, 255, 255, .14); border-radius: 18px; background: #fff; box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .65), 0 0 0 8px rgba(255, 255, 255, .04); }
.browser--light { border-color: var(--line); box-shadow: var(--shadow-lg), 0 0 0 8px rgba(6, 20, 35, .03); }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 11px 16px; border-bottom: 1px solid var(--line); background: #F3F6F9; color: var(--text-3); font-size: .74rem; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #FF5F57; }
.browser-bar i:nth-child(2) { background: #FEBC2E; }
.browser-bar i:nth-child(3) { background: #28C840; }
.browser-url { flex: 1; min-width: 0; max-width: 330px; margin-inline: auto; padding: 4px 12px; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; text-align: center; white-space: nowrap; text-overflow: ellipsis; }
.browser-shot { position: relative; display: block; }
.browser-shot picture { display: block; }
.browser-shot img { width: 100%; }
.browser-shot::after { content: ""; position: absolute; inset: 0; background: rgba(6, 20, 35, 0); transition: background-color .3s; }
.browser-shot:hover::after { background: rgba(6, 20, 35, .04); }
.zoom-hint { position: absolute; right: 14px; bottom: 14px; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: rgba(6, 20, 35, .82); color: #fff; font-size: .78rem; font-weight: 600; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .4s var(--ease); }
.zoom-hint .icon { width: 15px; height: 15px; }
.browser-shot:hover .zoom-hint, .browser-shot:focus-visible .zoom-hint { opacity: 1; transform: none; }
.product-render { position: relative; display: block; overflow: hidden; isolation: isolate; border-radius: var(--radius-xl); background: #DCEEFC; box-shadow: 0 50px 90px -45px rgba(0, 86, 150, .55), 0 0 0 1px rgba(255, 255, 255, .75), 0 0 0 8px rgba(255, 255, 255, .45); animation: float 9s ease-in-out infinite; }
.product-render picture { display: block; }
.product-render img { width: 100%; transition: transform 1.4s var(--ease); }
.product-render:hover img { transform: scale(1.035); }
.product-render:hover .zoom-hint, .product-render:focus-visible .zoom-hint { opacity: 1; transform: none; }
.spotlight .product-render { box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .16), 0 0 0 8px rgba(255, 255, 255, .05), 0 0 90px -20px rgba(0, 159, 227, .55); }
@media (hover: none) {
  .product-render:hover img { transform: none; }
  .product-render .zoom-hint { opacity: 1; transform: none; }
}
.tilt { transform: perspective(1800px) rotateY(-10deg) rotateX(4deg); transition: transform 1s var(--ease); }
.tilt:hover { transform: perspective(1800px) rotateY(0) rotateX(0); }
@media (max-width: 991.98px) { .tilt, .tilt:hover { transform: none; } }

/* ---------- Expertise track ---------- */
.x-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--radius-lg); }
.x-track::-webkit-scrollbar { display: none; }
.x-card { position: relative; display: block; aspect-ratio: 4 / 4.7; overflow: hidden; isolation: isolate; scroll-snap-align: start; border-radius: var(--radius-lg); background: var(--ink-900); color: #fff; }
.x-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.x-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(3, 11, 20, 0) 34%, rgba(3, 11, 20, .88) 100%); transition: background .5s; }
.x-card:hover { color: #fff; }
.x-card:hover img { transform: scale(1.07); }
.x-card:hover::after { background: linear-gradient(180deg, rgba(3, 11, 20, .1) 20%, rgba(0, 60, 100, .9) 100%); }
.x-card-tag { position: absolute; top: 18px; left: 18px; padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; background: rgba(6, 20, 35, .35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: .72rem; font-weight: 700; letter-spacing: .12em; }
.x-card-body { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 26px; }
.x-card h3 { margin: 0; color: #fff; font-size: 1.28rem; line-height: 1.25; letter-spacing: -.02em; }
.x-arrow { display: grid; flex: none; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; background: rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background-color .3s, color .3s, transform .5s var(--ease); }
.x-arrow .icon { width: 20px; height: 20px; }
.x-card:hover .x-arrow { background: #fff; color: var(--ink-900); transform: rotate(45deg); }
.x-card[aria-current="page"] .x-card-tag { border-color: transparent; background: var(--brand-strong); }
.track-controls { display: flex; gap: 10px; }
@media (max-width: 991.98px) { .x-track { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 639.98px) { .x-track { grid-auto-columns: 84%; gap: 16px; } }

/* ---------- Stats ---------- */
.stats-band { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(60px, 8vw, 100px); background: var(--ink-900); color: var(--on-dark-2); }
.stats-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 300px at 15% 0%, rgba(0, 159, 227, .26), transparent 70%), radial-gradient(600px 300px at 90% 100%, rgba(34, 199, 201, .18), transparent 70%); }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { padding: 6px 32px; border-left: 1px solid rgba(255, 255, 255, .1); }
.stat:first-child { padding-left: 0; border-left: 0; }
.stat-num { display: block; margin-bottom: 10px; font-size: clamp(3rem, 6vw, 4.8rem); font-weight: 750; line-height: 1; letter-spacing: -.055em; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, #FFFFFF 30%, #8FDAF8 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { font-size: .98rem; font-weight: 500; }
@media (max-width: 767.98px) {
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 0; }
  .stat, .stat:first-child { padding: 0 16px; border-left: 0; }
  .stat:nth-child(even) { border-left: 1px solid rgba(255, 255, 255, .1); }
}

/* ---------- CTA ---------- */
.cta { padding-block: clamp(64px, 8vw, 110px); }
.cta-panel { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 36px; padding: clamp(36px, 5.5vw, 72px); overflow: hidden; isolation: isolate; border-radius: var(--radius-xl); background: linear-gradient(120deg, #004F85 0%, #0077C2 48%, #0A8EA6 100%); color: #DCEFFA; }
.cta-panel::before { content: ""; position: absolute; right: -120px; top: -160px; z-index: -1; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .18), transparent 65%); }
.cta-panel::after { content: ""; position: absolute; right: 6%; bottom: -220px; z-index: -1; width: 420px; height: 420px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 50%; box-shadow: 0 0 0 60px rgba(255, 255, 255, .04), 0 0 0 120px rgba(255, 255, 255, .03); }
.cta-panel h2 { max-width: 640px; margin: 0; color: #fff; font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.1; letter-spacing: -.035em; }
.cta-panel p:not(.eyebrow) { max-width: 620px; margin: 14px 0 0; color: #D3E9F6; font-size: 1.05rem; }
.cta-actions { display: flex; flex: none; flex-direction: column; align-items: flex-end; gap: 14px; }
.cta-sub { color: #E4F3FB; font-size: .92rem; font-weight: 600; }
.cta-sub:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.cta-panel--dark { background: var(--ink-900); }
.cta-panel--dark::before { background: radial-gradient(circle, rgba(0, 159, 227, .35), transparent 65%); }
@media (max-width: 767.98px) {
  .cta-panel { flex-direction: column; align-items: flex-start; }
  .cta-actions { align-items: flex-start; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(80px, 11vw, 140px) clamp(72px, 9vw, 116px); border-bottom: 1px solid var(--line); background: radial-gradient(900px 380px at 50% 115%, rgba(0, 159, 227, .14), transparent 70%), linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%); text-align: center; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("../img/new-images/breadcrums.jpg") center / cover no-repeat; mix-blend-mode: multiply; opacity: .95; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(6, 20, 35, .05) 1px, transparent 1px) 0 0 / 56px 56px, linear-gradient(90deg, rgba(6, 20, 35, .05) 1px, transparent 1px) 0 0 / 56px 56px; mask-image: radial-gradient(ellipse 60% 70% at 50% 45%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 45%, #000 20%, transparent 75%); }
.page-hero .container { display: flex; flex-direction: column; align-items: center; }
.breadcrumb ol { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 10px; margin: 0 0 28px; padding: 7px 16px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: .85rem; list-style: none; box-shadow: var(--shadow-sm); animation: rise .8s var(--ease) both; }
.breadcrumb li { display: flex; align-items: center; gap: 10px; }
.breadcrumb li + li::before { content: ""; width: 5px; height: 5px; border-top: 1.5px solid var(--line-strong); border-right: 1.5px solid var(--line-strong); transform: rotate(45deg); }
.breadcrumb a { color: var(--text-3); }
.breadcrumb a:hover { color: var(--link); }
.breadcrumb [aria-current] { color: var(--text); font-weight: 600; }
.page-title { max-width: 980px; margin: 0; font-size: clamp(2.7rem, 6.4vw, 5.2rem); font-weight: 750; line-height: 1.02; letter-spacing: -.048em; animation: rise .9s .08s var(--ease) both; }
.page-hero-lead { max-width: 640px; margin: 22px auto 0; font-size: 1.12rem; animation: rise .9s .16s var(--ease) both; }

/* ---------- Product (SmartHIS) ---------- */
.product-hero { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(44px, 6vw, 72px) clamp(96px, 10vw, 140px); background: radial-gradient(1000px 520px at 85% -5%, rgba(0, 159, 227, .15), transparent 60%), radial-gradient(700px 400px at -5% 100%, rgba(34, 199, 201, .1), transparent 60%), linear-gradient(180deg, #F8FAFC, #FFFFFF); }
.product-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(6, 20, 35, .04) 1px, transparent 1px) 0 0 / 60px 60px, linear-gradient(90deg, rgba(6, 20, 35, .04) 1px, transparent 1px) 0 0 / 60px 60px; mask-image: linear-gradient(180deg, #000, transparent 80%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%); }
.product-hero .breadcrumb ol { justify-content: flex-start; margin-bottom: clamp(36px, 5vw, 56px); }
.product-hero .breadcrumb { display: flex; }
.product-hero-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.25fr); gap: clamp(36px, 5vw, 64px); align-items: center; }
.product-hero-copy > * { animation: rise .9s var(--ease) both; }
.product-hero-copy > :nth-child(2) { animation-delay: .08s; }
.product-hero-copy > :nth-child(3) { animation-delay: .16s; }
.product-hero-copy > :nth-child(4) { animation-delay: .24s; }
.product-hero-copy > :nth-child(5) { animation-delay: .32s; }
.product-hero h1 { margin-bottom: 24px; font-size: clamp(2.6rem, 5vw, 4.3rem); font-weight: 750; line-height: 1.03; letter-spacing: -.045em; }
.product-hero .lead { max-width: 480px; margin-bottom: 34px; color: var(--text-2); font-weight: 400; }
.product-label { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 24px; color: var(--text); font-size: 1.05rem; font-weight: 750; letter-spacing: -.01em; }
.product-label img { width: 40px; border-radius: 8px; box-shadow: var(--shadow-sm); }
.product-label span { padding-left: 12px; border-left: 1px solid var(--line-strong); color: var(--text-3); font-size: .68rem; font-weight: 700; letter-spacing: .16em; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 30px; color: var(--text); font-size: .92rem; font-weight: 600; }
.checks span { display: inline-flex; align-items: center; gap: 8px; }
.checks .icon { color: var(--success); }
.product-figure { margin: 0; animation: rise 1.1s .15s var(--ease) both; }
.product-figure .chip-row { justify-content: center; margin: 22px 0 0; }
.product-figure figcaption, .gallery-figure figcaption { margin-top: 16px; color: var(--text-3); font-size: .84rem; text-align: center; }
.benefits { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: -64px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-lg); }
.benefit { display: flex; align-items: flex-start; gap: 16px; padding: 28px 30px; }
.benefit + .benefit { border-left: 1px solid var(--line); }
.benefit .card-icon { width: 50px; height: 50px; border-radius: 15px; }
.benefit .card-icon .icon { width: 24px; height: 24px; }
.benefit h2 { margin: 2px 0 4px; font-size: 1.04rem; letter-spacing: -.015em; }
.benefit p { margin: 0; color: var(--text-3); font-size: .92rem; line-height: 1.55; }
.tabs { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin: 0 auto 40px; padding: 6px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-soft); }
.tabs-wrap { display: flex; justify-content: center; }
.tabs button { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border: 0; border-radius: 999px; background: none; color: var(--text-2); font-size: .92rem; font-weight: 600; cursor: pointer; transition: background-color .25s, color .25s, box-shadow .25s; }
.tabs button .icon { width: 18px; height: 18px; color: var(--text-3); transition: color .25s; }
.tabs button:hover { color: var(--text); }
.tabs button[aria-pressed="true"], .tabs button[aria-selected="true"] { background: #fff; color: var(--text); box-shadow: var(--shadow-sm), 0 0 0 1px var(--line); }
.tabs button[aria-selected="true"] .icon { color: var(--brand-strong); }
.tour { max-width: 1180px; margin-inline: auto; }
.tour-panel { animation: rise .6s var(--ease) both; }
.tour-panel + .tour-panel { margin-top: 56px; }
.tour-caption { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 20px 48px; align-items: center; margin-top: 24px; padding: 28px 32px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.tour-step { margin: 0 0 6px; color: var(--link); font-size: .74rem; font-weight: 700; letter-spacing: .16em; }
.tour-caption h3 { margin-bottom: 8px; font-size: 1.5rem; letter-spacing: -.025em; }
.tour-caption p:not(.tour-step) { margin: 0; }
.tour-points { margin: 0; }
.tour-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 26px 0 0; color: var(--text-3); font-size: .85rem; text-align: center; }
.tour-note .icon { width: 16px; height: 16px; color: var(--success); }
@media (max-width: 767.98px) {
  .tour-caption { grid-template-columns: minmax(0, 1fr); padding: 22px; }
  .tour-tabs button { padding: 9px 14px; font-size: .86rem; }
}
@media (max-width: 575.98px) {
  .tour-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; border-radius: 18px; }
  .tour-tabs button { flex-direction: column; justify-content: center; gap: 4px; padding: 10px 6px; border-radius: 13px; font-size: .78rem; line-height: 1.25; text-align: center; }
}
.module-card.is-entering { animation: rise .55s var(--d, 0ms) var(--ease) both; }
.module-count { margin-top: 28px; color: var(--text-3); font-size: .88rem; text-align: center; }
.steps { position: relative; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; padding: 0 0 38px 78px; counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; top: -6px; left: 0; display: grid; place-items: center; width: 54px; height: 54px; border: 1px solid var(--line); border-radius: 17px; background: #fff; color: var(--link); font-weight: 750; font-variant-numeric: tabular-nums; box-shadow: var(--shadow-sm); }
.steps li::after { content: ""; position: absolute; top: 58px; bottom: 4px; left: 26px; width: 2px; border-radius: 2px; background: linear-gradient(180deg, var(--brand), rgba(0, 159, 227, 0)); }
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::after { display: none; }
.steps h3 { margin-bottom: 6px; font-size: 1.22rem; }
.steps p { margin: 0; }
.gallery-figure { max-width: 1080px; margin: 0 auto; }
@media (max-width: 991.98px) {
  .product-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .benefits { grid-template-columns: minmax(0, 1fr); margin-top: -56px; }
  .benefit + .benefit { border-top: 1px solid var(--line); border-left: 0; }
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 28px; align-items: start; }
@media (max-width: 991.98px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.form-card { padding: clamp(28px, 4.5vw, 52px); border: 1px solid var(--line); border-radius: var(--radius-xl); background: #fff; box-shadow: var(--shadow); }
.form-card .section-title { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.form-intro { margin-bottom: 30px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 575.98px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea { display: block; width: 100%; padding: 28px 18px 10px; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--bg-soft); color: var(--text); font-size: 1rem; line-height: 1.5; appearance: none; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.field textarea { min-height: 170px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: transparent; }
.field label { position: absolute; top: 19px; left: 19px; color: var(--text-3); pointer-events: none; transform-origin: left top; transition: transform .2s var(--ease), color .2s; }
.field input:hover, .field textarea:hover { border-color: #AFC0D1; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--brand-strong); background: #fff; box-shadow: 0 0 0 4px rgba(0, 119, 194, .14); }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { color: var(--link); font-weight: 600; transform: translateY(-10px) scale(.78); }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(194, 59, 59, .1); }
.field input:user-invalid + label, .field textarea:user-invalid + label { color: var(--danger); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; }
.form-note { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: var(--text-3); font-size: .85rem; }
.form-note .icon { width: 16px; height: 16px; color: var(--success); }
.contact-trap { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip-path: inset(50%); }
.contact-status { margin: 22px 0 0; padding: 14px 18px; border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 12px; background: var(--bg-soft); color: var(--text); font-size: .95rem; line-height: 1.6; }
.contact-status[data-state="success"] { border-left-color: var(--success); background: #F0FAF4; }
.contact-status[data-state="error"] { border-left-color: var(--danger); background: #FDF4F4; }
form[aria-busy="true"] .btn .icon { animation: nudge 1s var(--ease) infinite; }
.info-stack { display: grid; gap: 14px; }
.info-card { display: flex; align-items: flex-start; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .3s, box-shadow .4s var(--ease); }
.info-card:hover { border-color: #CBE2F1; box-shadow: var(--shadow); }
.info-card .card-icon { width: 50px; height: 50px; border-radius: 15px; }
.info-card .card-icon .icon { width: 23px; height: 23px; }
.info-card h2 { margin: 2px 0 4px; color: var(--text-3); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.info-card p, .info-card a { margin: 0; color: var(--text); font-weight: 600; line-height: 1.55; overflow-wrap: anywhere; }
.info-card a:hover { color: var(--link); }
.map-frame { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-soft); box-shadow: var(--shadow-sm); }
.map-frame iframe { width: 100%; height: 360px; border: 0; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; isolation: isolate; padding-top: clamp(64px, 8vw, 100px); background: var(--ink-950); color: #93A4B7; font-size: .95rem; }
.site-footer::before { content: ""; position: absolute; left: 50%; top: -260px; z-index: -1; width: 900px; height: 520px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 159, 227, .2), transparent); transform: translateX(-50%); }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1.2fr .95fr .8fr; gap: 48px; padding-bottom: 56px; }
.footer-logo { display: inline-block; margin-bottom: 22px; border-radius: 8px; }
.footer-logo img { width: 220px; }
.footer-title { margin: 0 0 22px; color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.footer-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.footer-list a { display: inline-flex; align-items: center; gap: 8px; color: #B2C0CE; transition: color .2s, transform .35s var(--ease); }
.footer-list a:hover, .footer-list a[aria-current="page"] { color: #fff; transform: translateX(4px); }
.footer-contact li { display: flex; align-items: flex-start; gap: 12px; line-height: 1.6; }
.footer-contact .icon { width: 18px; height: 18px; margin-top: 3px; color: #4FC3F7; }
.footer-contact a { color: #D2DCE6; }
.footer-contact a:hover { color: #fff; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 50%; color: #fff; transition: background-color .3s, color .3s, transform .4s var(--ease), border-color .3s; }
.social a:hover { border-color: #fff; background: #fff; color: var(--ink-900); transform: translateY(-3px); }
.social .icon { width: 19px; height: 19px; }
.footer-watermark { margin: 0 0 -.14em; overflow: hidden; color: transparent; font-size: clamp(3.5rem, 13.5vw, 12.5rem); font-weight: 800; line-height: .9; letter-spacing: -.06em; text-align: center; white-space: nowrap; -webkit-text-stroke: 1px rgba(255, 255, 255, .08); user-select: none; pointer-events: none; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 26px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .88rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 1199.98px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) { .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; } }

.back-to-top { position: fixed; right: 24px; bottom: 24px; z-index: 90; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--ink-900); color: #fff; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .35s, visibility .35s, transform .45s var(--ease), background-color .3s; }
.back-to-top::before { content: ""; position: absolute; inset: -4px; border-radius: 50%; background: conic-gradient(var(--cyan) calc(var(--progress, 0) * 360deg), rgba(255, 255, 255, 0) 0); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px)); mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px)); }
.back-to-top .icon { width: 20px; height: 20px; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--brand-strong); color: #fff; }
@media (max-width: 575.98px) { .back-to-top { right: 16px; bottom: 16px; width: 48px; height: 48px; } }

/* ---------- 404 & message pages ---------- */
.error-page { display: grid; place-items: center; min-height: 70vh; text-align: center; }
.error-code { margin: 0 0 8px; font-size: clamp(6rem, 18vw, 11rem); font-weight: 800; line-height: .9; letter-spacing: -.07em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.message-page { display: grid; place-items: center; min-height: 100vh; padding: 24px; background: radial-gradient(800px 400px at 50% 0%, rgba(0, 159, 227, .14), transparent 70%), var(--bg-soft); }
.message-card { width: min(100%, 600px); padding: clamp(32px, 6vw, 56px); border: 1px solid var(--line); border-radius: var(--radius-xl); background: #fff; box-shadow: var(--shadow-lg); }
.message-card img { width: min(100%, 260px); margin-bottom: 30px; }
.message-card h1 { font-size: clamp(1.8rem, 4vw, 2.3rem); letter-spacing: -.03em; }
.message-card a { display: inline-flex; align-items: center; min-height: 50px; margin-top: 12px; padding: 0 24px; border-radius: 999px; background: var(--brand-strong); color: #fff; font-weight: 650; }
.message-card a:hover { background: var(--brand-deep); color: #fff; }

/* ---------- Every device: touch screens, very small phones ---------- */
.cta-sub, .footer-contact a, .info-card a { overflow-wrap: anywhere; }

/* Phones and tablets: finger-sized tap areas (visual spacing unchanged). */
@media (pointer: coarse) {
  .footer-list { gap: 16px; }
  .footer-list a { padding-block: 9px; margin-block: -9px; }
  .breadcrumb a { display: inline-block; padding: 10px 6px; margin: -10px -6px; }
  .cta-sub { display: inline-block; padding-block: 12px; margin-block: -12px; }
  .text-link { min-height: 44px; }
  .hero-tab { min-height: 44px; align-content: center; }
  .topbar a { padding-block: 10px; margin-block: -10px; }
}

/* Touch screens have no hover: do not leave cards lifted or buttons shifted after a tap. */
@media (hover: none) {
  .card:hover, .numbered-list li:hover, .btn:hover, .round-btn:hover, .social a:hover, .footer-list a:hover { transform: none; }
  .card:hover { box-shadow: none; border-color: var(--line); }
  .card:hover::before { opacity: 0; }
  .btn-primary:hover::before { transform: translateX(-120%); }
}

/* Very small phones (e.g. Galaxy Fold folded, 280 px). */
@media (max-width: 359.98px) {
  .container, .hero-inner { width: min(100% - 28px, var(--container)); }
  .header-inner { gap: 12px; }
  .brand img, .site-header.is-scrolled .brand img { width: 158px; }
  .btn { white-space: normal; text-align: center; padding-inline: 1.15rem; }
  .btn-lg { padding-inline: 1.3rem; font-size: .96rem; }
  .quick-panel a { gap: 12px; padding: 16px; }
  .quick-icon { width: 44px; height: 44px; border-radius: 13px; }
  .spotlight { padding: 26px 18px; }
  .cta-panel { padding: 30px 20px; }
  .form-card { padding: 24px 16px; }
  .card { padding: 26px 20px 22px; }
  .info-card { padding: 18px 16px; }
  .float-badge { gap: 10px; padding: 12px 14px; }
}

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes progress { to { transform: scaleX(1); } }
@keyframes nudge { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(3px, -3px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .hero-tab.is-active .hero-tab-bar span { animation-duration: var(--hero-interval, 7s) !important; }
  .reveal { opacity: 1; transform: none; }
  .tilt { transform: none; }
}

@media print {
  .topbar, .site-header, .hero-controls, .back-to-top, .map-frame, .footer-watermark { display: none !important; }
  .hero-slide { opacity: 1; visibility: visible; min-height: 0; }
  body { color: #000; }
}
