/* ==========================================================================
   iSoft International — public site
   Clean light corporate. Palette measured from the logo (contrast checked, WCAG AA):
   brand #0D6EB3 (5.39:1 on white) · sky #2F9FCF (graphics; 5.17:1 on navy) · navy #07263C
   spark #EC1D25 (the red "o": tiny accents only) · ink #0E1B25 · text #414E58 · muted #5E6D78
   ========================================================================== */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/inter-latin-wght.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("/fonts/jakarta-latin-wght.woff2") format("woff2"); }

:root {
    --brand: #0D6EB3;
    --brand-dark: #0A5A93;
    --brand-rgb: 13, 110, 179;
    --sky: #2F9FCF;
    --navy: #07263C;
    --navy-2: #0B3350;
    --spark: #EC1D25;
    --spark-text: #C8161E;
    --ink: #0E1B25;
    --text: #414E58;
    --muted: #5E6D78;
    --bg: #FFFFFF;
    --bg-soft: #F3F8FC;
    --tint: #E1EFFA;
    --line: #D7E2EA;
    --error: #B42318;
    --success: #12805C;

    --grad: linear-gradient(135deg, #2F9FCF 0%, #0D6EB3 100%);
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --font-head: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --radius: 14px;
    --radius-sm: 10px;
    --radius-lg: 22px;
    --shadow-sm: 0 1px 2px rgba(7, 38, 60, .06), 0 1px 1px rgba(7, 38, 60, .04);
    --shadow: 0 10px 30px -12px rgba(7, 38, 60, .18), 0 2px 6px rgba(7, 38, 60, .05);
    --shadow-lg: 0 30px 60px -20px rgba(7, 38, 60, .28);
    --ease-out: cubic-bezier(.22, .61, .36, 1);
    --header-h: 76px;

    /* Bootstrap mapped onto the brand (§9.813-2) */
    --bs-primary: #0D6EB3;
    --bs-primary-rgb: 13, 110, 179;
    --bs-link-color: #0D6EB3;
    --bs-link-color-rgb: 13, 110, 179;
    --bs-link-hover-color: #0A5A93;
    --bs-link-hover-color-rgb: 10, 90, 147;
    --bs-body-font-family: var(--font-body);
    --bs-body-color: #414E58;
    --bs-border-color: #D7E2EA;
    --bs-focus-ring-color: rgba(47, 159, 207, .35);
}

/* ---------- Base ---------- */
html { scroll-padding-top: calc(var(--header-h) + 12px); }
body { font-family: var(--font-body); color: var(--text); background: var(--bg); font-size: 1rem; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { font-family: var(--font-head); color: var(--ink); font-weight: 700; letter-spacing: -.015em; line-height: 1.2; overflow-wrap: break-word; }
h1, .h1 { font-weight: 800; letter-spacing: -.025em; }
a { color: var(--brand); text-underline-offset: .18em; }
a:hover { color: var(--brand-dark); }
img { max-width: 100%; height: auto; }
::selection { background: rgba(47, 159, 207, .25); }
:focus-visible { outline: 3px solid rgba(47, 159, 207, .55); outline-offset: 2px; border-radius: 4px; }
.container { max-width: 1200px; --bs-gutter-x: 2rem; } /* 16px side gutter */
/* Phone overflow guards (PP §9.66): a .row.g-5 has -24px side margins, wider than the container padding, so it pushed
   every page sideways below ~1250px. The clip catches anything else that pokes out and, unlike hidden, keeps sticky working. */
@media (max-width: 1259.98px) { .row.g-5, .row.gx-5 { --bs-gutter-x: 2rem; } }
@media (max-width: 767.98px) { .row.g-5, .row.gy-5 { --bs-gutter-y: 2rem; } }
main, .site-footer { overflow-x: clip; }
iframe, video { max-width: 100%; }
.min-w-0 { min-width: 0; }
.text-brand { color: var(--brand) !important; }
.text-sky { color: var(--sky) !important; }
.text-muted { color: var(--muted) !important; }
.text-ink { color: var(--ink) !important; }
.bg-soft { background: var(--bg-soft) !important; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 2000; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; transition: top .2s; }
.skip-link:focus { top: 12px; color: #fff; }
main { min-height: 60vh; }
main:focus { outline: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Buttons ---------- */
.btn { font-weight: 600; border-radius: var(--radius-sm); padding: .66rem 1.2rem; letter-spacing: .005em; transition: background-color .18s, border-color .18s, color .18s, box-shadow .18s, transform .18s; }
.btn-lg { padding: .85rem 1.5rem; font-size: 1.02rem; }
.btn-sm { padding: .42rem .8rem; font-size: .875rem; }
.btn-primary, .btn-brand { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 6px 16px -8px rgba(13, 110, 179, .7); }
.btn-primary:hover, .btn-primary:focus, .btn-brand:hover, .btn-brand:focus { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; transform: translateY(-1px); }
.btn-primary:active, .btn-brand:active { background: var(--brand-dark) !important; border-color: var(--brand-dark) !important; transform: none; }
.btn-outline-primary, .btn-outline-brand { color: var(--brand); border: 1.5px solid rgba(13, 110, 179, .45); background: #fff; }
.btn-outline-primary:hover, .btn-outline-brand:hover, .btn-outline-brand:focus { background: var(--tint); color: var(--brand-dark); border-color: var(--brand); }
.btn-white { background: #fff; color: var(--navy); border: 1.5px solid #fff; }
.btn-white:hover, .btn-white:focus { background: var(--tint); color: var(--navy); border-color: var(--tint); transform: translateY(-1px); }
.btn-ghost-light { color: #fff; border: 1.5px solid rgba(255, 255, 255, .5); background: transparent; }
.btn-ghost-light:hover, .btn-ghost-light:focus { color: #fff; background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn-link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; }
.btn-link-arrow i { transition: transform .2s; }
.btn-link-arrow:hover i { transform: translateX(3px); }

/* ---------- Dev preview ribbon ---------- */
.sample-ribbon { background: #FFF6E5; color: #6B4600; border-bottom: 1px solid #F1D9A7; font-size: .84rem; text-align: center; padding: .45rem 1rem; }
.sample-ribbon strong { color: #4A3000; }

/* ---------- Header ---------- */
/* No backdrop-filter below 1200px: it makes the header the containing block of the fixed phone menu (.offcanvas-xl),
   which then sat inside the 76px header, clipped the open menu and pushed every page sideways (PP §9.414). */
.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(255, 255, 255, .98); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
@media (min-width: 1200px) { .site-header { background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); } }
.site-header.shrink { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(7, 38, 60, .35); }
.site-header .navbar { min-height: var(--header-h); padding: 0; }
.brand-lockup { display: inline-flex; align-items: center; padding: 0; margin-right: 1.25rem; }
.brand-lockup img { height: 62px; width: auto; display: block; }
/* The owner's horizontal logo (brand/flogo.png, 270x77) in the top bar. */
.brand-lockup img.brand-wide { height: 50px; }
@media (max-width: 575.98px) { .brand-lockup img.brand-wide { height: 40px; } }
.site-header .nav-link { color: var(--ink); font-weight: 600; font-size: .95rem; padding: .5rem .72rem !important; border-radius: 8px; position: relative; }
.site-header .nav-link:hover, .site-header .nav-link:focus { color: var(--brand); background: var(--bg-soft); }
.site-header .nav-link.active { color: var(--brand); }
.site-header .nav-link.active::after { content: ""; position: absolute; left: .72rem; right: .72rem; bottom: .2rem; height: 2px; border-radius: 2px; background: var(--spark); }
.site-header .dropdown-menu { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: .5rem; min-width: 260px; margin-top: .4rem !important; }
.site-header .dropdown-item { border-radius: 8px; padding: .5rem .75rem; font-weight: 500; color: var(--ink); font-size: .93rem; }
.site-header .dropdown-item:hover, .site-header .dropdown-item:focus { background: var(--bg-soft); color: var(--brand); }
.site-header .dropdown-item.active, .site-header .dropdown-item:active { background: var(--tint); color: var(--brand-dark); }
.site-header .dropdown-item:first-child { font-weight: 700; }
.nav-actions .btn { white-space: nowrap; }
.navbar-toggler { border: 1px solid var(--line); border-radius: 10px; padding: .45rem .6rem; }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(47, 159, 207, .35); }
@media (max-width: 1199.98px) {
    .site-header .offcanvas-xl { width: min(360px, 88vw); }
    .site-header .offcanvas-body { padding-top: 0; }
    .site-header .navbar-nav { gap: 2px; }
    .site-header .nav-link { padding: .7rem .8rem !important; font-size: 1rem; }
    .site-header .nav-link.active::after { display: none; }
    .site-header .dropdown-menu { border: 0; box-shadow: none; padding: 0 0 .5rem .75rem; margin: 0 !important; min-width: 0; }
    .site-header .dropdown-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; text-align: left; }
    .nav-actions { margin-top: 1rem; }
    .nav-actions .btn { width: 100%; }
}
@media (max-width: 575.98px) { :root { --header-h: 64px; } .brand-lockup img { height: 50px; } }
@media (min-width: 1200px) { .site-header .navbar-nav { gap: 2px; } }

/* ---------- Sections ---------- */
.section { padding: 96px 0; position: relative; }
.section-sm { padding: 64px 0; }
.section-alt { background: var(--bg-soft); }
.section-dark { background: var(--navy); color: rgba(255, 255, 255, .82); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4, .section-dark .h5 { color: #fff; }
.section-dark a:not(.btn) { color: #9BD3EC; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.6rem); margin-bottom: .75rem; }
.section-head p { font-size: 1.1rem; color: var(--muted); margin: 0; }
.section-dark .section-head p { color: rgba(255, 255, 255, .72); }
.eyebrow { display: flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: .9rem; }
.section-head.center .eyebrow { justify-content: center; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--spark); flex: 0 0 auto; }
.section-dark .eyebrow { color: var(--sky); }
.section-foot { margin-top: 40px; display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.section-head.center + * .section-foot, .section-foot.center { justify-content: center; }
.hl { background-image: linear-gradient(transparent 0 82%, rgba(236, 29, 37, .9) 82% 92%, transparent 92%); background-repeat: no-repeat; padding: 0 .04em; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 88px; background: radial-gradient(1200px 600px at 85% -10%, rgba(47, 159, 207, .14), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(13, 110, 179, .08), transparent 60%), #fff; }
.hero h1 { font-size: clamp(2.2rem, 1.3rem + 3.3vw, 3.85rem); margin-bottom: 1.25rem; max-width: 15em; }
.hero .lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.22rem); color: var(--text); max-width: 34em; margin-bottom: 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.75rem; }
.hero-proof { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; color: var(--muted); font-size: .93rem; padding: 0; margin: 0; list-style: none; }
.hero-proof li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-proof i { color: var(--brand); }
.hero-stats { display: flex; flex-wrap: wrap; gap: 2rem; margin-top: 2rem; }
.hero-stats .num { font-family: var(--font-head); font-weight: 800; font-size: 1.9rem; color: var(--ink); line-height: 1; }
.hero-stats .lbl { color: var(--muted); font-size: .88rem; }

.hero-visual { position: relative; min-height: 460px; }
.hero-visual .plane { position: absolute; background: var(--grad); opacity: .14; }
.hero-visual .p1 { width: 62%; height: 52%; right: -4%; top: -2%; clip-path: polygon(0 0, 100% 46%, 100% 100%, 0 54%); }
.hero-visual .p2 { width: 52%; height: 44%; right: 18%; top: 40%; clip-path: polygon(100% 0, 0 46%, 0 100%, 100% 54%); opacity: .1; background: var(--brand); }
.hero-visual .p3 { width: 30%; height: 34%; right: -2%; bottom: 0; clip-path: polygon(0 0, 100% 40%, 100% 100%, 0 60%); opacity: .12; }
.mock-window { position: absolute; left: 4%; right: 4%; top: 12%; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; }
.mw-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.mw-bar span { width: 10px; height: 10px; border-radius: 50%; background: #CBD8E3; }
.mw-bar span:first-child { background: #F3A0A3; }
.mw-bar em { font-style: normal; font-size: .75rem; color: var(--muted); margin-left: 10px; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 2px 10px; }
.mw-body { display: grid; grid-template-columns: 30% 1fr; min-height: 270px; }
.mw-side { background: #F8FBFD; border-right: 1px solid var(--line); padding: 16px 12px; display: flex; flex-direction: column; gap: 10px; }
.mw-side i { display: block; height: 9px; border-radius: 5px; background: #DCE8F1; }
.mw-side i.on { background: var(--brand); width: 80%; }
.mw-main { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.mw-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mw-kpis div { border: 1px solid var(--line); border-radius: 10px; padding: 10px; }
.mw-kpis b { display: block; font-family: var(--font-head); color: var(--ink); font-size: 1rem; }
.mw-kpis small { color: var(--muted); font-size: .68rem; }
.mw-chart { display: flex; align-items: flex-end; gap: 7px; height: 96px; border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.mw-chart span { flex: 1; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, var(--sky), var(--brand)); opacity: .85; }
.mw-rows i { display: block; height: 8px; border-radius: 4px; background: #E7EFF5; margin-bottom: 8px; }
.float-card { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 12px 16px; display: flex; align-items: center; gap: 10px; font-size: .88rem; color: var(--ink); font-weight: 600; }
.float-card i { font-size: 1.25rem; color: var(--success); }
.float-card small { display: block; font-weight: 500; color: var(--muted); font-size: .76rem; }
.fc-1 { left: -2%; bottom: 8%; }
.fc-2 { right: 0; top: 2%; }
.fc-2 i { color: var(--brand); }
.fc-3 { right: 6%; bottom: -2%; }
.fc-3 .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--spark); box-shadow: 0 0 0 4px rgba(236, 29, 37, .15); }
/* Stacked: the row gutter already spaces the visual from the text, and it stays a sensible size on tablets. */
@media (max-width: 991.98px) { .hero { padding: 48px 0 64px; } .hero-visual { min-height: 380px; max-width: 560px; margin: 0 auto; } }
@media (max-width: 575.98px) {
    .hero { padding: 36px 0 52px; }
    .hero h1 { font-size: clamp(2rem, 1.5rem + 2.6vw, 2.4rem); }
    .hero-ctas .btn { flex: 1 1 100%; }
    .hero-stats { gap: 1.25rem 1.75rem; }
    .hero-visual { min-height: 320px; }
    .mw-body { grid-template-columns: 1fr; min-height: 0; }
    .mw-chart { height: 70px; }
    .mw-side { display: none; }
    .fc-1 { left: 0; }
    .fc-3 { display: none; }
    .float-card { font-size: .8rem; padding: 10px 12px; }
}

/* ---------- Trust bar ---------- */
.trust-bar { padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust-bar .label { font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
/* Client logos: most are square badges, so each sits in an equal white tile, in colour, with the client's name under it. */
.logo-wall { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .75rem; }
.logo-tile { display: flex; flex-direction: column; align-items: center; gap: .55rem; padding: 1rem .6rem .8rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.logo-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: rgba(var(--brand-rgb), .3); }
.logo-tile img { height: 64px; width: auto; max-width: 100%; object-fit: contain; }
.logo-tile span { font-size: .74rem; line-height: 1.3; color: var(--text); text-align: center; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 991.98px) { .logo-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .logo-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; } .logo-tile { padding: .75rem .4rem .6rem; } .logo-tile img { height: 48px; } }
@media (prefers-reduced-motion: reduce) { .logo-tile, .logo-tile:hover { transition: none; transform: none; } }
.profile-chips { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.profile-chip { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .95rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; font-size: .9rem; text-decoration: none; transition: border-color .2s, box-shadow .2s, color .2s; }
.profile-chip:hover { border-color: var(--brand); color: var(--brand); box-shadow: var(--shadow-sm); }
.profile-chip i { font-size: 1.05rem; color: var(--brand); }

/* ---------- Cards ---------- */
.x-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; height: 100%; display: flex; flex-direction: column; transition: transform .25s var(--ease-out), box-shadow .25s, border-color .25s; position: relative; }
.x-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(13, 110, 179, .35); }
.x-card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.x-card p { color: var(--text); margin-bottom: 1rem; }
.x-card .btn-link-arrow { margin-top: auto; }
.x-card.link-card { cursor: pointer; }
.x-card .stretched-link::after { border-radius: var(--radius); }
.icon-tile { width: 52px; height: 52px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: var(--tint); color: var(--brand); font-size: 1.45rem; margin-bottom: 1.15rem; flex: 0 0 auto; }
.icon-tile.grad { background: var(--grad); color: #fff; box-shadow: 0 10px 22px -12px rgba(13, 110, 179, .8); }
.icon-tile.sm { width: 42px; height: 42px; font-size: 1.15rem; border-radius: 12px; margin-bottom: 0; }
.offer-card { padding: 32px; }
.offer-card .tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.25rem; padding: 0; list-style: none; }
.tag { display: inline-block; font-size: .78rem; font-weight: 600; color: var(--brand-dark); background: var(--tint); border-radius: 999px; padding: .22rem .65rem; }
.tag.light { background: var(--bg-soft); color: var(--text); border: 1px solid var(--line); }
.section-dark .tag { background: rgba(255, 255, 255, .1); color: #CFE9F6; }
.check-list { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.check-list li { position: relative; padding-left: 1.75rem; margin-bottom: .55rem; }
.check-list li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: .05rem; color: var(--brand); font-weight: 700; }
.section-dark .check-list li::before { color: var(--sky); }
.dash-list { list-style: none; padding: 0; margin: 0; }
.dash-list li { position: relative; padding: .7rem 0 .7rem 1.6rem; border-bottom: 1px dashed var(--line); }
.dash-list li:last-child { border-bottom: 0; }
.dash-list li::before { content: ""; position: absolute; left: 0; top: 1.25rem; width: 10px; height: 2px; background: var(--spark); }

/* industries strip */
.industry-strip { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2.25rem; align-items: center; }
.industry-strip .label { font-weight: 700; color: var(--ink); margin-right: .5rem; }
.industry-pill { display: inline-flex; align-items: center; gap: .45rem; padding: .48rem .9rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9rem; transition: all .2s; }
.industry-pill i { color: var(--brand); }
.industry-pill:hover { border-color: var(--brand); color: var(--brand); background: var(--tint); }
.agency-note { margin-top: 1.25rem; font-size: .95rem; color: var(--muted); }

/* why grid */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 20px; }
.why-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.why-item h3 { font-size: 1.08rem; margin: .9rem 0 .4rem; }
.why-item p { margin: 0; font-size: .96rem; }

/* speed proof */
.speed-list { display: flex; flex-direction: column; gap: 14px; }
.speed-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; text-decoration: none; color: inherit; transition: border-color .2s, box-shadow .2s; }
.speed-row:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); color: inherit; }
.speed-row .t { font-weight: 700; color: var(--ink); line-height: 1.35; }
.speed-row .m { font-size: .84rem; color: var(--muted); }
.speed-bar { height: 10px; background: var(--bg-soft); border-radius: 6px; overflow: hidden; border: 1px solid var(--line); }
.speed-bar span { display: block; height: 100%; background: var(--grad); border-radius: 6px; }
.speed-days { font-family: var(--font-head); font-weight: 800; color: var(--brand); white-space: nowrap; text-align: right; }
.speed-days small { display: block; font-family: var(--font-body); font-weight: 500; color: var(--muted); font-size: .74rem; }
@media (max-width: 575.98px) { .speed-row { grid-template-columns: 1fr auto; } .speed-bar { grid-column: 1 / -1; order: 3; } }

/* case study cards */
.case-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: transform .25s var(--ease-out), box-shadow .25s; position: relative; }
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.case-cover { aspect-ratio: 16 / 9; position: relative; overflow: hidden; background: var(--grad); display: flex; align-items: center; justify-content: center; }
.case-cover img { width: 100%; height: 100%; object-fit: cover; }
.case-cover .ph { color: rgba(255, 255, 255, .9); font-size: 3rem; position: relative; z-index: 1; }
.case-cover::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 0 40%, rgba(255, 255, 255, .12) 40% 60%, transparent 60%), linear-gradient(65deg, transparent 0 55%, rgba(7, 38, 60, .18) 55% 75%, transparent 75%); }
.case-cover.cv-1 { background: linear-gradient(135deg, #2F9FCF, #0D6EB3); }
.case-cover.cv-2 { background: linear-gradient(135deg, #0D6EB3, #07263C); }
.case-cover.cv-3 { background: linear-gradient(135deg, #1F86BF, #0B3350); }
.case-cover.cv-4 { background: linear-gradient(135deg, #3FB0D9, #0A5A93); }
.case-cover.cv-5 { background: linear-gradient(135deg, #0B3350, #2F9FCF); }
.case-cover.cv-6 { background: linear-gradient(135deg, #0A5A93, #1C2F40); }
.case-cover .days { position: absolute; z-index: 2; left: 14px; bottom: 14px; background: rgba(255, 255, 255, .95); color: var(--ink); font-weight: 700; font-size: .8rem; border-radius: 999px; padding: .28rem .7rem; display: inline-flex; gap: .35rem; align-items: center; }
.case-cover .days i { color: var(--brand); }
.case-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.case-meta { font-size: .82rem; color: var(--muted); margin-bottom: .5rem; display: flex; flex-wrap: wrap; gap: .3rem .9rem; }
.case-body h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.case-body h3 a { color: inherit; text-decoration: none; }
.case-body h3 a::after { content: ""; position: absolute; inset: 0; }
.case-body p { font-size: .95rem; margin-bottom: 1rem; }
.case-results { display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); }
.case-results div { min-width: 0; }
.case-results b { display: block; font-family: var(--font-head); font-size: 1.25rem; color: var(--brand); line-height: 1.1; }
.case-results small { color: var(--muted); font-size: .8rem; line-height: 1.3; display: block; }

/* demos */
.demo-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 100%; display: flex; flex-direction: column; }
.demo-shot { aspect-ratio: 16 / 10; background: var(--bg-soft); position: relative; border-bottom: 1px solid var(--line); overflow: hidden; }
.demo-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.demo-shot .frame { position: absolute; inset: 14px 14px 0; background: #fff; border: 1px solid var(--line); border-bottom: 0; border-radius: 10px 10px 0 0; box-shadow: var(--shadow-sm); overflow: hidden; }
.demo-shot .frame::before { content: ""; display: block; height: 18px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.demo-shot .frame i { display: block; height: 7px; margin: 10px 12px 0; border-radius: 4px; background: #E3EDF4; }
.demo-shot .frame i:nth-child(1) { width: 40%; background: var(--brand); opacity: .75; height: 9px; }
.demo-shot .frame i:nth-child(3) { width: 70%; }
.demo-shot .frame i:nth-child(4) { width: 55%; }
.demo-shot .ico { position: absolute; right: 18px; bottom: 14px; width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--grad); color: #fff; font-size: 1.3rem; box-shadow: var(--shadow); }
.demo-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.demo-body h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.demo-body p { font-size: .92rem; margin-bottom: .9rem; }
.demo-facts { display: flex; flex-wrap: wrap; gap: .4rem .9rem; font-size: .82rem; color: var(--muted); margin-bottom: 1rem; }
.demo-facts i { color: var(--brand); }
.demo-body .actions { margin-top: auto; display: flex; gap: .5rem; flex-wrap: wrap; }
.filter-pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter-pills a, .filter-pills button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: .42rem .95rem; font-weight: 600; font-size: .88rem; color: var(--ink); text-decoration: none; }
.filter-pills a.active, .filter-pills button.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.filter-pills a:hover:not(.active) { border-color: var(--brand); color: var(--brand); }

/* products */
.product-card { display: flex; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; height: 100%; position: relative; transition: box-shadow .25s, border-color .25s; }
.product-card:hover { box-shadow: var(--shadow); border-color: rgba(13, 110, 179, .35); }
.product-logo { width: 56px; height: 56px; border-radius: 14px; background: var(--grad); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; overflow: hidden; }
.product-logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; padding: 6px; }
.product-card h3 { font-size: 1.1rem; margin-bottom: .2rem; }
.product-card h3 a { color: inherit; text-decoration: none; }
.product-card h3 a::after { content: ""; position: absolute; inset: 0; }
.product-card .tagline { font-size: .9rem; color: var(--muted); margin-bottom: .6rem; }
.status-dot { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 600; color: var(--success); }
.status-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(18, 128, 92, .15); }

/* modernization band */
.modern-band { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 60%, #0D4F80 100%); border-radius: var(--radius-lg); padding: 48px; color: rgba(255, 255, 255, .85); position: relative; overflow: hidden; }
.modern-band::after { content: ""; position: absolute; right: -60px; top: -40px; width: 340px; height: 340px; background: var(--grad); opacity: .22; clip-path: polygon(0 0, 100% 40%, 100% 100%, 0 60%); }
.modern-band h2 { color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); }
.modern-band .from-to { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; margin: 1.25rem 0 1.5rem; position: relative; z-index: 1; }
.modern-band .from-to span { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); color: #fff; padding: .45rem .9rem; border-radius: 10px; font-weight: 600; font-size: .92rem; }
.modern-band .from-to i { color: var(--sky); font-size: 1.3rem; }
.modern-band > * { position: relative; z-index: 1; }

/* process steps */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; counter-reset: step; position: relative; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--grad); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: .95rem; margin-bottom: .9rem; }
.step h3 { font-size: 1.02rem; margin-bottom: .35rem; }
.step p { font-size: .9rem; margin: 0; }
@media (max-width: 1199.98px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767.98px) { .steps { grid-template-columns: 1fr; } }
.tech-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 16px; margin-top: 40px; }
.tech-group { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.tech-group h3 { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: .8rem; font-family: var(--font-body); font-weight: 700; }
.tech-group ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }

/* pricing */
.plan-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 28px; height: 100%; display: flex; flex-direction: column; position: relative; }
.plan-card.hi { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.plan-card .badge-pop { position: absolute; top: -13px; left: 28px; background: var(--brand); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border-radius: 999px; padding: .3rem .8rem; }
.plan-card h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.plan-card .summary { color: var(--muted); font-size: .93rem; min-height: 2.8em; }
.plan-price { margin: 1.1rem 0 1.25rem; display: flex; align-items: baseline; gap: .35rem; flex-wrap: wrap; }
.plan-price .from { font-size: .85rem; color: var(--muted); font-weight: 600; }
.plan-price .amt { font-family: var(--font-head); font-weight: 800; font-size: 2.2rem; color: var(--ink); letter-spacing: -.02em; line-height: 1; white-space: nowrap; }
.plan-price .unit { color: var(--muted); font-size: .9rem; white-space: nowrap; }
.plan-card .btn { margin-top: auto; }
.price-note { text-align: center; color: var(--muted); font-size: .92rem; margin-top: 28px; }

/* risk-free */
.risk-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 18px; }
.risk-item { display: flex; gap: 14px; align-items: flex-start; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 20px; }
.risk-item .icon-tile { background: rgba(47, 159, 207, .16); color: var(--sky); margin: 0; }
.risk-item h3 { font-size: 1.02rem; margin-bottom: .3rem; }
.risk-item p { margin: 0; font-size: .92rem; color: rgba(255, 255, 255, .75); }

/* testimonials */
.quote-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; height: 100%; display: flex; flex-direction: column; }
.quote-card .stars { color: #F2A900; margin-bottom: .6rem; letter-spacing: .1em; }
.quote-card blockquote { font-size: 1.02rem; color: var(--ink); margin: 0 0 1.25rem; line-height: 1.6; }
.quote-card .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote-card .who img, .avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.avatar { display: inline-flex; align-items: center; justify-content: center; background: var(--grad); color: #fff; font-weight: 700; font-size: .95rem; }
.quote-card .who b { display: block; color: var(--ink); font-size: .95rem; }
.quote-card .who small { color: var(--muted); font-size: .82rem; }
.src-link { font-size: .8rem; font-weight: 600; text-decoration: none; display: inline-flex; gap: .3rem; align-items: center; margin-top: .35rem; }

/* team */
.team-card { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 20px; height: 100%; }
.team-photo { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; margin: 0 auto 1rem; display: block; border: 4px solid var(--tint); }
.team-card .avatar { width: 104px; height: 104px; font-size: 1.8rem; margin: 0 auto 1rem; display: flex; border: 4px solid var(--tint); }
.team-card h3 { font-size: 1.05rem; margin-bottom: .15rem; }
.team-card .role { color: var(--brand); font-weight: 600; font-size: .9rem; margin-bottom: .6rem; }
.team-card .skills { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem; margin-bottom: .8rem; }
.team-card .links a { color: var(--muted); font-size: 1.1rem; margin: 0 .3rem; }
.team-card .links a:hover { color: var(--brand); }

/* stats */
.stats-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(140px, 100%), 1fr)); gap: 16px; }
.stat-cell { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-align: center; }
.stat-cell .num { font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: var(--ink); line-height: 1.1; }
.stat-cell .num small { font-size: 1.2rem; color: var(--brand); }
.stat-cell .lbl { color: var(--muted); font-size: .88rem; }

/* FAQ */
.faq .accordion-item { border: 1px solid var(--line); border-radius: 12px !important; margin-bottom: 10px; overflow: hidden; background: #fff; }
.faq .accordion-button { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.02rem; padding: 1.05rem 1.25rem; background: #fff; box-shadow: none; }
.faq .accordion-button:not(.collapsed) { color: var(--brand); background: var(--bg-soft); }
.faq .accordion-button:focus { box-shadow: 0 0 0 3px rgba(47, 159, 207, .3); }
.faq .accordion-body { padding: .25rem 1.25rem 1.15rem; color: var(--text); }
.faq .accordion-body p:last-child { margin-bottom: 0; }

/* CTA band */
.cta-band { background: var(--navy); border-radius: var(--radius-lg); padding: 56px; color: rgba(255, 255, 255, .8); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 90% 0%, rgba(47, 159, 207, .35), transparent 60%), radial-gradient(500px 260px at 0% 120%, rgba(13, 110, 179, .45), transparent 60%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem); margin-bottom: .75rem; }
.cta-band p { font-size: 1.08rem; max-width: 40em; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.cta-band .meta { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 1.5rem; font-size: .9rem; color: rgba(255, 255, 255, .7); }
.cta-band .meta i { color: var(--sky); margin-right: .35rem; }

/* ---------- Inner page hero ---------- */
.page-hero { padding: 56px 0 48px; background: radial-gradient(900px 400px at 90% -20%, rgba(47, 159, 207, .16), transparent 60%), var(--bg-soft); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -80px; top: 10px; width: 360px; height: 260px; background: var(--grad); opacity: .08; clip-path: polygon(0 0, 100% 42%, 100% 100%, 0 58%); }
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(1.75rem, 1.3rem + 2.4vw, 3rem); margin-bottom: .75rem; max-width: 20em; }
.page-hero .hero-lead { font-size: 1.12rem; max-width: 42em; color: var(--text); margin-bottom: 0; }
.page-hero .hero-eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: .75rem; }
.page-hero .hero-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--spark); }
.page-hero .hero-facts { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: 1.5rem 0 0; }
.page-hero .hero-facts li { display: inline-flex; align-items: center; gap: .45rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .38rem .85rem; font-size: .88rem; font-weight: 600; color: var(--ink); }
.page-hero .hero-facts i { color: var(--brand); }
.page-hero .hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.breadcrumb { --bs-breadcrumb-divider-color: var(--muted); --bs-breadcrumb-item-active-color: var(--muted); margin-bottom: 1.1rem; font-size: .88rem; }
.breadcrumb a { text-decoration: none; color: var(--brand); }

/* ---------- Content blocks ---------- */
.prose { color: var(--text); font-size: 1.04rem; line-height: 1.75; }
.prose h2 { font-size: 1.5rem; margin: 2rem 0 .75rem; }
.prose h3 { font-size: 1.2rem; margin: 1.6rem 0 .6rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .4rem; }
.prose a { font-weight: 500; }
.prose blockquote { border-left: 3px solid var(--sky); padding: .25rem 0 .25rem 1rem; color: var(--ink); font-style: italic; }
.prose img { border-radius: var(--radius); }
/* Admin-written HTML: wide tables and code scroll inside the column instead of widening the page. */
.prose { overflow-wrap: break-word; }
.prose table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin: 1.5rem 0; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: .55rem .75rem; vertical-align: top; }
.prose th { background: var(--bg-soft); color: var(--ink); }
.prose pre { max-width: 100%; overflow-x: auto; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem; font-size: .9rem; }
.prose iframe { width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.side-card + .side-card { margin-top: 18px; }
.side-card h2, .side-card h3 { font-size: 1.05rem; margin-bottom: .9rem; }
.sticky-side { position: sticky; top: calc(var(--header-h) + 20px); }
.kv { list-style: none; padding: 0; margin: 0; }
.kv li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--line); font-size: .94rem; }
.kv li:last-child { border-bottom: 0; }
.kv li span { color: var(--muted); }
.kv li b { color: var(--ink); text-align: right; min-width: 0; overflow-wrap: anywhere; }
.result-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 14px; }
.result-tile { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.result-tile b { display: block; font-family: var(--font-head); font-size: 1.6rem; color: var(--brand); line-height: 1.1; margin-bottom: .2rem; }
.result-tile span { font-size: .9rem; color: var(--text); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 14px; }
.gallery-grid a { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-soft); }
.gallery-grid img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform .3s; }
.gallery-grid a:hover img { transform: scale(1.03); }
.pull-quote { background: var(--bg-soft); border-left: 4px solid var(--brand); border-radius: 0 var(--radius) var(--radius) 0; padding: 24px 28px; }
.pull-quote p { font-size: 1.15rem; color: var(--ink); font-style: italic; margin-bottom: .6rem; }
.pull-quote cite { font-style: normal; color: var(--muted); font-size: .92rem; }
.split-list { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 767.98px) { .split-list { grid-template-columns: 1fr; } }
.numbered { counter-reset: n; list-style: none; padding: 0; margin: 0; }
.numbered li { counter-increment: n; position: relative; padding: 0 0 1.25rem 3.2rem; }
.numbered li::before { content: counter(n); position: absolute; left: 0; top: 0; width: 2.2rem; height: 2.2rem; border-radius: 10px; background: var(--tint); color: var(--brand); font-family: var(--font-head); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.numbered li b { display: block; color: var(--ink); margin-bottom: .15rem; }
.callout { display: flex; gap: 14px; align-items: flex-start; background: var(--tint); border-radius: var(--radius); padding: 18px 20px; color: var(--ink); }
.callout i { color: var(--brand); font-size: 1.3rem; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); }
.form-label { font-weight: 600; color: var(--ink); font-size: .92rem; margin-bottom: .35rem; }
.form-control, .form-select { border-color: var(--line); border-radius: var(--radius-sm); padding: .68rem .9rem; color: var(--ink); }
.form-control:focus, .form-select:focus { border-color: var(--sky); box-shadow: 0 0 0 3px rgba(47, 159, 207, .22); }
.form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }
.form-check-input:focus { box-shadow: 0 0 0 3px rgba(47, 159, 207, .25); }
.form-text { color: var(--muted); }
.field-validation-error, .text-danger { color: var(--error) !important; font-size: .86rem; }
.field-validation-error::before { content: "\F333"; font-family: "bootstrap-icons"; margin-right: .3rem; }
.input-validation-error { border-color: var(--error) !important; }
.validation-summary-errors ul { padding-left: 1.1rem; margin-bottom: 0; color: var(--error); }
.req { color: var(--spark-text); }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(190px, 100%), 1fr)); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label { display: flex; gap: 10px; align-items: flex-start; height: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; background: #fff; transition: border-color .15s, background-color .15s, box-shadow .15s; }
.choice label i { color: var(--brand); font-size: 1.2rem; line-height: 1.2; }
.choice label b { display: block; color: var(--ink); font-size: .93rem; }
.choice label small { color: var(--muted); font-size: .8rem; line-height: 1.35; display: block; }
.choice input:checked + label { border-color: var(--brand); background: var(--tint); box-shadow: 0 0 0 1px var(--brand) inset; }
.choice input:focus-visible + label { box-shadow: 0 0 0 3px rgba(47, 159, 207, .45); }
.contact-aside { display: flex; flex-direction: column; gap: 14px; }
.contact-line { display: flex; gap: 14px; align-items: flex-start; }
.contact-line .icon-tile { margin: 0; }
.contact-line b { display: block; color: var(--ink); }
.contact-line a { text-decoration: none; word-break: break-word; }

/* estimator */
.est-step { margin-bottom: 2rem; }
.est-step h2 { font-size: 1.15rem; display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.est-step h2 span { width: 30px; height: 30px; border-radius: 9px; background: var(--grad); color: #fff; font-size: .85rem; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.est-result { background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: 28px; }
.est-result .range { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem); line-height: 1.1; color: #fff; margin: .4rem 0 .6rem; text-wrap: balance; overflow-wrap: anywhere; }
.est-result .note { font-size: .86rem; color: rgba(255, 255, 255, .7); }
.est-result ul { list-style: none; padding: 0; margin: 1rem 0 0; font-size: .88rem; color: rgba(255, 255, 255, .82); }
.est-result ul li { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }

/* ---------- Proposal page ---------- */
.proposal-hero { background: var(--navy); color: rgba(255, 255, 255, .85); padding: 64px 0 56px; position: relative; overflow: hidden; }
.proposal-hero::after { content: ""; position: absolute; right: -100px; top: -40px; width: 480px; height: 380px; background: var(--grad); opacity: .2; clip-path: polygon(0 0, 100% 42%, 100% 100%, 0 58%); }
.proposal-hero > .container { position: relative; z-index: 1; }
.proposal-hero h1 { color: #fff; font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3rem); }
.proposal-hero .for { display: flex; align-items: center; gap: 14px; margin-bottom: 1.5rem; }
.proposal-hero .for img { height: 48px; width: auto; max-width: 140px; background: #fff; border-radius: 10px; padding: 6px; }
.proposal-hero .for span { font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sky); font-weight: 700; }
.proposal-section { padding: 56px 0; border-bottom: 1px solid var(--line); }
.proposal-section:last-of-type { border-bottom: 0; }
.proposal-section h2 { font-size: 1.5rem; margin-bottom: 1rem; }
.timeline-list { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--tint); }
.timeline-list li { position: relative; padding: 0 0 1.25rem 1.5rem; }
.timeline-list li::before { content: ""; position: absolute; left: -7px; top: .45rem; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--tint); }
.timeline-list b { display: block; color: var(--brand); font-size: .9rem; }
.estimate-box { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.estimate-box .amt { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--ink); }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Blog ---------- */
.blog-search { position: relative; display: flex; gap: .5rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 6px; box-shadow: var(--shadow-sm); }
.blog-search:focus-within { border-color: var(--sky); box-shadow: 0 0 0 3px rgba(47, 159, 207, .22); }
.blog-search > i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.blog-search .form-control { flex: 1 1 auto; min-width: 0; border: 0; box-shadow: none; padding-left: 2.35rem; }
.blog-search .btn { flex: 0 0 auto; }
.blog-tabs { display: flex; flex-wrap: wrap; gap: .5rem; }
.blog-tabs a { display: inline-flex; align-items: center; gap: .45rem; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: .42rem .95rem; font-weight: 600; font-size: .88rem; color: var(--ink); text-decoration: none; }
.blog-tabs a:hover:not(.active) { border-color: var(--brand); color: var(--brand); }
.blog-tabs a.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.blog-tabs .count { font-size: .74rem; font-weight: 700; line-height: 1.5; border-radius: 999px; padding: 0 .45rem; background: var(--bg-soft); color: var(--muted); }
.blog-tabs a.active .count { background: rgba(255, 255, 255, .2); color: #fff; }
.blog-cat { position: relative; z-index: 1; display: inline-block; align-self: flex-start; font-size: .76rem; font-weight: 700; letter-spacing: .02em; color: var(--brand-dark); background: var(--tint); border-radius: 999px; padding: .22rem .7rem; text-decoration: none; }
.blog-cat:hover { background: var(--brand); color: #fff; }
.blog-flag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--spark-text); border-radius: 999px; padding: .24rem .7rem; }
.blog-meta { display: flex; flex-wrap: wrap; gap: .35rem 1rem; font-size: .84rem; color: var(--muted); }
.blog-meta span { display: inline-flex; align-items: center; gap: .35rem; }
.blog-meta i { color: var(--brand); }
/* Branded cover for a post without a photo: one tone per category, from the case-cover palette. */
.blog-cover { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; overflow: hidden; background: linear-gradient(135deg, #0D6EB3, #07263C); color: rgba(255, 255, 255, .92); font-size: 2.6rem; }
.blog-cover::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 0 40%, rgba(255, 255, 255, .12) 40% 60%, transparent 60%); }
.blog-cover i { position: relative; }
.blog-cover.tone-sky { background: linear-gradient(135deg, #2F9FCF, #0D6EB3); }
.blog-cover.tone-red { background: linear-gradient(135deg, #3FB0D9, #0A5A93); }
.blog-cover.tone-deep { background: linear-gradient(135deg, #1F86BF, #0B3350); }
.blog-cover.tone-maroon { background: linear-gradient(135deg, #0A5A93, #1C2F40); }
.blog-cover.tone-ink { background: linear-gradient(135deg, #0B3350, #2F9FCF); }
.blog-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s var(--ease-out), box-shadow .25s, border-color .25s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(13, 110, 179, .35); }
.blog-card .ds-thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.blog-card .ds-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-card .ds-card-body { padding: 20px 22px 22px; }
.blog-card-title { font-size: 1.08rem; line-height: 1.35; margin-bottom: .45rem; }
.blog-card-title a { color: inherit; text-decoration: none; }
.blog-card-title a::after { content: ""; position: absolute; inset: 0; }
.blog-card:hover .blog-card-title a { color: var(--brand); }
.blog-card-text { font-size: .93rem; margin-bottom: 1rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-lead { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.blog-lead-media { position: relative; display: block; min-height: 300px; background: var(--bg-soft); }
.blog-lead-media img, .blog-lead-media .blog-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.blog-lead-media .blog-cover { font-size: 3.4rem; }
.blog-lead-body { padding: 36px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; min-width: 0; }
.blog-lead-title { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); margin-bottom: .75rem; }
.blog-lead-title a { color: inherit; text-decoration: none; }
.blog-lead-title a:hover { color: var(--brand); }
.blog-lead-text { margin-bottom: 1rem; }
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1031; pointer-events: none; }
.read-progress span { display: block; height: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; }
.blog-title { max-width: 24em; }
.blog-dek { font-size: 1.12rem; max-width: 44em; color: var(--text); margin-bottom: 1.25rem; }
.byline { display: flex; align-items: center; gap: .75rem; font-size: .9rem; color: var(--muted); }
.byline strong { color: var(--ink); margin-right: .4rem; }
.byline .dot::before { content: "·"; margin: 0 .45rem; }
.byline .avatar { width: 42px; height: 42px; font-size: .85rem; overflow: hidden; }
.byline .avatar:has(img), .author-box .avatar:has(img) { background: #fff; border: 1px solid var(--line); }
.byline .avatar img, .author-box .avatar img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.article-cover { aspect-ratio: 2 / 1; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-soft); margin-bottom: 2rem; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-cover .blog-cover { font-size: 3.6rem; }
.toc-mobile { border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft); padding: 0 1rem; margin-bottom: 1.75rem; }
.toc-mobile summary { display: flex; justify-content: space-between; align-items: center; padding: .75rem 0; font-weight: 700; color: var(--ink); cursor: pointer; list-style: none; }
.toc-mobile summary::-webkit-details-marker { display: none; }
.toc-mobile summary::after { content: "\F282"; font-family: "bootstrap-icons"; transition: transform .2s; }
.toc-mobile[open] summary::after { transform: rotate(180deg); }
.toc-mobile .toc-list { margin-bottom: .9rem; }
.toc-list { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.toc-list a { display: block; margin-left: -2px; padding: .35rem 0 .35rem .9rem; border-left: 2px solid transparent; color: var(--text); text-decoration: none; font-size: .92rem; line-height: 1.4; }
.toc-list a:hover { color: var(--brand); }
.toc-list a.active { color: var(--brand); border-left-color: var(--brand); font-weight: 600; }
.toc-card { position: sticky; top: calc(var(--header-h) + 24px); }
.share-label { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-right: .25rem; }
.author-box { display: flex; gap: 1rem; align-items: flex-start; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin-top: 2.5rem; }
.author-box .avatar { width: 52px; height: 52px; overflow: hidden; }
.post-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 1.5rem; }
.post-nav a { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; color: var(--ink); font-weight: 700; line-height: 1.35; text-decoration: none; transition: border-color .2s, box-shadow .2s, color .2s; }
.post-nav a:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); color: var(--brand); }
.post-nav small { display: block; font-weight: 600; font-size: .78rem; color: var(--muted); margin-bottom: .3rem; }
.post-nav .next { grid-column: 2; text-align: right; }
@media (max-width: 767.98px) {
    .blog-lead { grid-template-columns: 1fr; }
    .blog-lead-media { min-height: 0; aspect-ratio: 16 / 9; }
    .blog-lead-body { padding: 24px 22px; }
    .article-cover { aspect-ratio: 16 / 9; margin-bottom: 1.5rem; }
}
@media (max-width: 575.98px) { .post-nav { grid-template-columns: 1fr; } .post-nav .next { grid-column: auto; text-align: left; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .72); font-size: .94rem; margin-top: 0; }
.site-footer .foot-top { padding: 64px 0 40px; }
/* The owner's logo has dark lettering: on the navy footer it sits on a white plate, never recoloured or re-drawn. */
.site-footer .foot-logo { background: #fff; border-radius: 14px; padding: 10px 14px; line-height: 0; }
.site-footer .foot-logo img { height: 90px; width: auto; }
.site-footer h2 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; font-family: var(--font-body); font-weight: 700; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .2rem; }
.site-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; display: inline-block; padding: .28rem 0; }
.site-footer a:hover { color: #fff; }
.site-footer .contact-row { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .45rem; }
.site-footer .contact-row i { color: var(--sky); margin-top: .3rem; }
.site-footer .company-id { font-size: .84rem; color: rgba(255, 255, 255, .58); margin-top: 1rem; }
.social-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.social-links a { width: 40px; height: 40px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .08); color: #fff; padding: 0; font-size: 1.05rem; }
.social-links a:hover { background: var(--brand); }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0 24px; font-size: .86rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; align-items: center; }
.foot-bottom .links { display: flex; flex-wrap: wrap; gap: .25rem 1.1rem; align-items: center; }
.foot-bottom .btn-link { color: rgba(255, 255, 255, .78); text-decoration: none; font-size: .86rem; }
.foot-sister { margin-top: 1rem; font-size: .88rem; }

/* ---------- Floating actions ---------- */
.float-actions { position: fixed; right: 20px; bottom: 24px; z-index: 1020; display: flex; flex-direction: column; gap: 10px; }
.float-actions a { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.45rem; box-shadow: var(--shadow); }
.float-actions .fa-wa { background: #1FA855; }
.float-actions .fa-wa:hover { background: #178A45; color: #fff; }
.fa-top { position: fixed; right: 20px; bottom: 90px; z-index: 1019; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s; }
.fa-top.show { opacity: 1; visibility: visible; transform: none; }
.mobile-dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1025; display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -18px rgba(7, 38, 60, .4); }
.mobile-dock a { flex: 1; display: flex; align-items: center; justify-content: center; gap: .45rem; border-radius: 10px; padding: .7rem .5rem; font-weight: 700; font-size: .92rem; text-decoration: none; border: 1.5px solid var(--line); color: var(--ink); background: #fff; }
.mobile-dock a.dock-cta { background: var(--brand); border-color: var(--brand); color: #fff; }
.mobile-dock a.dock-wa i { color: #1FA855; }
body:has(#mainNav.show, #mainNav.showing) .mobile-dock { display: none !important; }
@media (max-width: 767.98px) {
    body.has-dock { padding-bottom: 74px; }
    .fa-top { bottom: 92px; right: 14px; }
    .section { padding: 64px 0; }
    .section-sm { padding: 48px 0; }
    .section-head { margin-bottom: 32px; }
    .section-head p { font-size: 1.02rem; }
    .section-foot { margin-top: 28px; }
    .x-card, .offer-card { padding: 24px; }
    .form-card { padding: 22px; }
    .page-hero { padding: 40px 0 36px; }
    .page-hero .hero-lead { font-size: 1.04rem; }
    .proposal-hero { padding: 44px 0 40px; }
    .proposal-section { padding: 40px 0; }
    .cta-band { padding: 40px 28px; }
    .modern-band { padding: 36px 28px; }
    .plan-card { padding: 26px 22px; }
    .site-footer .foot-top { padding: 48px 0 28px; }
    .site-footer .foot-bottom { padding-right: 56px; }
    .notfound { padding: 64px 0; }
    .has-dock #isi-consent { bottom: 74px !important; } /* above the quick-action dock */
}
@media (max-width: 575.98px) {
    .section { padding: 52px 0; }
    .page-hero { padding: 32px 0 30px; }
    .page-hero .hero-actions .btn, .cta-band .actions .btn { flex: 1 1 100%; }
    .cta-band { padding: 32px 20px; }
    .modern-band { padding: 30px 20px; }
    .form-card { padding: 20px 16px; }
    .breadcrumb-item.active { min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    #isi-consent { right: 0; }
}

/* ---------- Misc ---------- */
.empty-state { text-align: center; padding: 48px 20px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); background: #fff; }
.empty-state i { font-size: 2.2rem; color: var(--brand); display: block; margin-bottom: .6rem; }
.local-time { font-variant-numeric: tabular-nums; }
.share-row { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.share-row a, .share-row button { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; }
.share-row a:hover, .share-row button:hover { border-color: var(--brand); color: var(--brand); }
.notfound { padding: 96px 0; text-align: center; }
.notfound .code { font-family: var(--font-head); font-weight: 800; font-size: 5rem; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.badge-soft { display: inline-block; background: var(--tint); color: var(--brand-dark); font-weight: 700; font-size: .76rem; border-radius: 999px; padding: .25rem .65rem; letter-spacing: .02em; }
@media print {
    .site-header, .site-footer, .float-actions, .mobile-dock, .fa-top, .sample-ribbon, #isi-consent { display: none !important; }
    .section, .proposal-section { padding: 24px 0; }
    a { color: inherit; text-decoration: none; }
}
