/* Shared site styles (Cogneesol-style layout in our brand colours)
   Colours, type and motion live in :root, so the whole site can be re-themed in one place.
   Layout: top contact bar, white header with menus, navy hero + stats card, picture tiles,
   grey "why us" band, navy contact band, white footer. */

:root {
  --navy: #0c1b5e;        /* logo navy */
  --navy-2: #1d3a8f;      /* logo blue ring */
  --navy-3: #112c7d;
  --navy-deep: #08134a;
  --blue: #04808f;
  --teal: #04808f;        /* logo teal: buttons and links */
  --teal-dark: #036b78;
  --teal-bright: #19b3c6; /* logo arrow: accents on navy */
  --teal-soft: #e0f1f3;
  --grad: linear-gradient(90deg, #0c1b5e 0%, #1d3a8f 45%, #04808f 100%);
  --ink: #1d2433;
  --muted: #5b6478;
  --line: #e2e7ef;
  --line-strong: #c3ccd9;
  --bg: #ffffff;
  --bg-soft: #f4f6f9;
  --surface: #f4f6f9;
  --card: #ffffff;
  --warn: #9a6412;
  --ok: #12804c;
  --bad: #b3261e;
  --radius-s: 8px;
  --radius: 14px;
  --radius-l: 20px;
  --shadow: 0 10px 30px -10px rgba(12, 27, 94, .18);
  --shadow-lg: 0 24px 60px -18px rgba(12, 27, 94, .30);
  --max: 1200px;
  --gutter: 24px;
  --font: "Montserrat", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; accent-color: var(--teal); }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: clip; caret-color: var(--teal);
}
::selection { background: var(--navy); color: #fff; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
img, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .2em; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; color: var(--navy); letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
p { margin: 0 0 1em; }
b, strong { font-weight: 700; }
.num, .price, .res-amt, .kpi b, .stat b, table.data td.num { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 88px 0; }
.section.soft { background: var(--bg-soft); }
.section.white { background: #fff; }
.section.dark { background: var(--navy); color: #c9d4ec; }
.section.dark h2, .section.dark h3 { color: #fff; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 640px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }
.section-head { margin-bottom: 48px; }
.section-head.center, .section-head { text-align: center; }
.section-head .lead { margin-left: auto; margin-right: auto; }
/* the short gradient rule under a section title */
.section-head h2::after, .rule::after { content: ""; display: block; width: 72px; height: 3px; border-radius: 3px; background: var(--grad); margin: 14px auto 0; }
.section-head.left { text-align: left; }
.section-head.left h2::after { margin-left: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px;
  padding: 11px 24px; border-radius: 999px; font-weight: 600; font-size: .95rem; line-height: 1.2;
  border: 1.5px solid transparent; cursor: pointer; font-family: inherit; text-decoration: none !important; white-space: nowrap;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease, transform .12s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--teal); color: #fff; }
.btn-grad { background: var(--grad); color: #fff; background-size: 140% 100%; background-position: 0 0; transition: background-position .4s var(--ease-out), transform .12s var(--ease-out), box-shadow .2s ease; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line-strong); }
.btn-light { background: #fff; color: var(--navy); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--teal-dark); }
  .btn-grad:hover { background-position: 100% 0; box-shadow: 0 10px 24px -10px rgba(4,128,143,.6); }
  .btn-dark:hover { background: var(--navy-2); }
  .btn-ghost:hover { border-color: var(--navy); }
  .btn-light:hover { background: var(--teal-soft); }
  .btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
}
.btn-sm { min-height: 38px; padding: 7px 16px; font-size: .88rem; }
.btn-block { width: 100%; }
.arr { display: inline-block; transition: transform .25s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .btn:hover .arr, a:hover > .arr { transform: translateX(3px); } }

/* ===== Top contact bar ===== */
.topbar { background: var(--grad); color: #fff; font-size: .8rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar a { color: #fff; display: inline-flex; align-items: center; gap: 7px; font-weight: 500; }
.topbar .tb-left { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar svg { width: 15px; height: 15px; }

/* ===== Header ===== */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 var(--line), 0 6px 18px -12px rgba(12,27,94,.25); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 800; text-decoration: none !important; }
.logo-mark { width: 44px; height: 44px; flex: none; display: grid; place-items: center; }
.logo-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.auth-logo { display: block; width: 190px; max-width: 70%; margin: 22px 0 0; }
.logo-text { line-height: 1.05; font-size: 1.1rem; white-space: nowrap; }
.logo-text small { display: block; font-size: .64rem; letter-spacing: .14em; color: var(--teal); font-weight: 600; text-transform: uppercase; margin-top: 3px; }
.nav-links { display: flex; gap: 2px; list-style: none; margin: 0 auto; padding: 0; align-items: center; }
.nav-links > li { position: relative; }
.nav-links a, .nav-links .dd-btn {
  display: flex; align-items: center; gap: 5px; padding: 10px 13px; border-radius: 8px; color: var(--ink); font-weight: 600;
  font-size: .92rem; text-decoration: none; white-space: nowrap; background: none; border: 0; font-family: inherit; cursor: pointer;
}
.nav-links a.active, .nav-links .dd-btn.active { color: var(--teal); }
.dd-btn svg { width: 14px; height: 14px; transition: transform .2s var(--ease-out); }
.dd { position: absolute; top: 100%; left: 0; min-width: 250px; background: #fff; border-radius: 12px; padding: 8px; list-style: none; margin: 0;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s var(--ease-out), transform .18s var(--ease-out), visibility .18s; z-index: 60; }
.dd a { padding: 9px 12px; font-weight: 500; font-size: .9rem; border-radius: 8px; }
.nav-links li.open > .dd { opacity: 1; visibility: visible; transform: none; }
.nav-links li.open > .dd-btn svg { transform: rotate(180deg); }
@media (hover: hover) and (pointer: fine) {
  .nav-links > li:hover > .dd { opacity: 1; visibility: visible; transform: none; }
  .nav-links > li:hover > .dd-btn svg { transform: rotate(180deg); }
  .nav-links a:hover, .nav-links .dd-btn:hover { color: var(--teal); text-decoration: none; }
  .dd a:hover { background: var(--bg-soft); }
}
.nav-cta { display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 9px; cursor: pointer; color: var(--navy); border-radius: 8px; }

/* ===== Hero (navy, own image) + overlapping stats card ===== */
.hero-cg { position: relative; background: var(--navy-deep); color: #d5ddf0; overflow: hidden; }
.hero-cg .hero-bg { position: absolute; inset: 0; margin: 0; }
.hero-cg .hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero-cg .container { position: relative; padding-top: 96px; padding-bottom: 150px; }
.hero-cg h1 { color: #fff; max-width: 15em; margin-bottom: 18px; }
.hero-cg h1 em { font-style: normal; color: var(--teal-bright); }
.hero-cg .lead { color: #c9d4ec; max-width: 34em; font-size: 1.1rem; margin-bottom: 30px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
[data-enter] .hero-text > * { animation: rise .7s var(--ease-out) both; }
[data-enter] .hero-text > *:nth-child(2) { animation-delay: .06s; }
[data-enter] .hero-text > *:nth-child(3) { animation-delay: .12s; }
[data-enter] .hero-text > *:nth-child(4) { animation-delay: .18s; }

.stats-card { position: relative; z-index: 2; margin-top: -78px; background: #fff; border-radius: var(--radius-l); box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 26px 10px; }
.stats-card > div { display: flex; align-items: center; gap: 14px; padding: 6px 22px; position: relative; }
.stats-card > div + div::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: linear-gradient(180deg, var(--navy-2), var(--teal)); }
.stats-card .si { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal); }
.stats-card .si svg { width: 22px; height: 22px; }
.stats-card b { display: block; font-size: 1.35rem; color: var(--navy); line-height: 1.15; }
.stats-card span { font-size: .86rem; color: var(--muted); line-height: 1.35; display: block; }

/* ===== Banner: picture left, navy text right ===== */
.banner { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow); background: var(--navy); }
.banner figure { margin: 0; min-height: 360px; background: #e6eef3; }
.banner figure img { width: 100%; height: 100%; object-fit: cover; }
.banner .bn-text { padding: 48px; color: #c9d4ec; display: flex; flex-direction: column; justify-content: center; }
.banner h2 { color: #fff; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.banner ul { list-style: none; padding: 0; margin: 6px 0 26px; }
.banner li { padding: 6px 0 6px 28px; position: relative; }
.banner li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 12px; height: 7px; border-left: 2px solid var(--teal-bright); border-bottom: 2px solid var(--teal-bright); transform: rotate(-45deg); }

/* ===== Solutions: picture tiles with a label ===== */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.tile { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 5 / 6; background: var(--navy);
  color: #fff; text-decoration: none !important; box-shadow: var(--shadow); transition: transform .3s var(--ease-out), box-shadow .3s ease; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.tile .tl-label { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 18px 18px; background: linear-gradient(180deg, rgba(8,19,74,0), rgba(8,19,74,.92) 45%); }
.tile b { display: block; font-size: 1.05rem; line-height: 1.3; }
.tile small { display: block; color: #b9c6e4; font-size: .82rem; margin-top: 4px; line-height: 1.4; }
.tile .go { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--teal-bright); font-weight: 600; font-size: .84rem; }
@media (hover: hover) and (pointer: fine) {
  .tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
  .tile:hover img { transform: scale(1.04); }
  .tile:hover .go .arr { transform: translateX(3px); }
}

/* ===== Why choose us ===== */
.why-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.why-card { position: relative; background: #fff; border-radius: var(--radius); padding: 30px 28px 28px; border: 1px solid var(--line); overflow: hidden; }
.why-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--grad); }
.why-card .wi { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: var(--grad); margin-bottom: 18px; }
.why-card .wi svg { width: 26px; height: 26px; }
.why-card p { color: var(--muted); margin: 0; font-size: .96rem; }

/* ===== Tool cards (like a news row) ===== */
.tool-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tcard { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--navy); color: #c9d4ec;
  text-decoration: none !important; box-shadow: var(--shadow); transition: transform .3s var(--ease-out), box-shadow .3s ease; }
.tcard figure { margin: 0; aspect-ratio: 16 / 9.5; overflow: hidden; background: #e6eef3; position: relative; }
.tcard figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.tcard .tag { position: absolute; left: 0; bottom: 14px; background: var(--teal); color: #fff; font-size: .76rem; font-weight: 700; padding: 5px 14px; border-radius: 0 6px 6px 0; }
.tcard .tc-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.tcard h3 { color: #fff; margin-bottom: 6px; }
.tcard p { font-size: .92rem; margin: 0 0 14px; flex: 1; }
.tcard .go { color: #fff; font-weight: 600; font-size: .9rem; display: flex; justify-content: flex-end; }
@media (hover: hover) and (pointer: fine) { .tcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); } .tcard:hover figure img { transform: scale(1.04); } .tcard:hover .arr { transform: translateX(4px); } }

/* ===== Steps ===== */
.steps { counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px 24px; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--grad); color: #fff; font-weight: 700; margin-bottom: 16px; }
.step p { color: var(--muted); font-size: .94rem; margin: 0; }

/* Stats on dark bands (inner pages) */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { padding: 22px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); min-width: 0; }
.stat b { display: block; font-size: 1.6rem; color: #fff; font-weight: 700; }
.stat > span { font-size: .9rem; }
.stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

/* Old split hero (still used by some inner pages) */
.hero { padding: 72px 0 80px; background: linear-gradient(180deg, var(--bg-soft), #fff); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 span { color: var(--teal); }
.hero .lead { margin: 18px 0 28px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; padding: 0; list-style: none; color: var(--muted); font-size: .92rem; }
.checks li::before { content: "✓"; color: var(--teal); font-weight: 800; margin-right: 7px; }

/* Mock dashboard (software page) */
.mock { background: var(--card); border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 20px; position: relative; }
.mock-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.mock-top b { color: var(--navy); }
.pill { font-size: .74rem; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: var(--teal-soft); color: var(--teal-dark); }
.pill.warn { background: #fbf0dc; color: var(--warn); }
.pill.ok { background: #e3f4eb; color: var(--ok); }
.pill.grey { background: var(--bg-soft); color: var(--muted); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.kpi { background: var(--bg-soft); border-radius: 10px; padding: 12px; }
.kpi small { color: var(--muted); font-size: .74rem; display: block; }
.kpi b { font-size: 1.15rem; color: var(--navy); }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; padding: 10px 4px 0; border-bottom: 1px solid var(--line); }
.bars span { flex: 1; border-radius: 6px 6px 0 0; background: var(--teal); }
.bars span.alt { background: var(--navy-2); }
.mock-list { list-style: none; padding: 0; margin: 14px 0 0; font-size: .86rem; }
.mock-list li { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.float-card { position: absolute; background: #fff; border-radius: 12px; box-shadow: var(--shadow); border: 1px solid var(--line); padding: 10px 14px; font-size: .82rem; display: flex; align-items: center; gap: 10px; }
.float-card .dot { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal); font-weight: 800; }
.float-a { left: -34px; bottom: 40px; }
.float-b { right: -22px; top: -18px; }

/* Generic cards and grids */
.grid { display: grid; gap: 24px; }
.grid > * { min-width: 0; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
a.card { display: block; color: inherit; text-decoration: none; transition: transform .25s var(--ease-out), box-shadow .25s ease; }
@media (hover: hover) and (pointer: fine) { a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); } }
.card p { color: var(--muted); font-size: .95rem; margin-bottom: 0; }
.icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; background: var(--teal-soft); color: var(--teal); }
.icon svg { width: 24px; height: 24px; }
.card .more { display: inline-block; margin-top: 12px; font-weight: 700; font-size: .9rem; color: var(--teal); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }

/* Compare table */
.compare { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.compare th, .compare td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: .95rem; }
.compare thead th { background: var(--navy); color: #fff; font-size: .88rem; }
.compare td:nth-child(3) { color: var(--ok); font-weight: 600; }
.compare td:nth-child(2) { color: var(--muted); }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip { padding: 10px 18px; border-radius: 99px; background: #fff; border: 1px solid var(--line); font-weight: 600; color: var(--navy); font-size: .92rem; }

/* Pricing */
.price-card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); }
.price-card.featured { border: 2px solid var(--teal); box-shadow: var(--shadow-lg); }
.price-card .badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; padding: 5px 14px; border-radius: 99px; text-transform: uppercase; }
.price { font-size: 2.3rem; font-weight: 800; color: var(--navy); margin: 8px 0 2px; }
.price small { font-size: .9rem; color: var(--muted); font-weight: 500; }
.ticks { list-style: none; padding: 0; margin: 18px 0 24px; flex: 1; }
.ticks li { padding: 6px 0 6px 26px; position: relative; font-size: .94rem; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 11px; height: 6px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }

/* Team */
.person { display: flex; gap: 18px; align-items: flex-start; }
.avatar { width: 64px; height: 64px; flex: none; border-radius: 16px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1.3rem; background: var(--grad); }
.person .role { color: var(--teal); font-weight: 700; font-size: .88rem; margin-bottom: 8px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tag { font-size: .76rem; padding: 4px 10px; border-radius: 99px; background: var(--bg-soft); color: var(--navy); font-weight: 600; }

/* Offer band */
.offer { display: flex; gap: 30px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 34px 40px; border-radius: var(--radius-l); background: var(--teal-soft); border: 1px solid #b6dfe4; }
.offer h2, .offer h3 { margin-bottom: 6px; }
.offer p { margin: 0; color: var(--ink); max-width: 62ch; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--teal); line-height: 1; font-weight: 500; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* ===== Contact band (navy, full width) ===== */
.contact-band { background: var(--navy-3); color: #c9d4ec; padding: 80px 0; }
.contact-band h2 { color: #fff; text-align: center; margin-bottom: 8px; }
.contact-band .cb-sub { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.contact-band .cb-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: start; }
.contact-band .form input, .contact-band .form select, .contact-band .form textarea { border-color: transparent; }
.contact-band .field label { color: #dfe6f3; }
.cta-band { border-radius: 22px; padding: 48px; color: #c9d4ec; background: var(--navy);
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.cta-band h2 { color: #fff; }
.cta-band.cta-inline { grid-template-columns: 1fr auto; align-items: center; }
.form { display: grid; gap: 14px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-size: .84rem; font-weight: 600; margin-bottom: 6px; color: inherit; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 11px 14px; border-radius: var(--radius-s); border: 1.5px solid var(--line); font: inherit; font-size: .95rem;
  background: #fff; color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(25,179,198,.3); }
.form-note { font-size: .8rem; opacity: .85; }
.contact-lines { list-style: none; padding: 0; margin: 0; }
.contact-lines li { display: flex; align-items: center; gap: 12px; padding: 9px 0; }
.contact-lines svg { width: 20px; height: 20px; color: var(--teal-bright); flex: none; }
.contact-lines a { color: #fff; font-weight: 600; }

/* ===== Footer (white) ===== */
.site-footer { background: #fff; color: var(--muted); padding: 64px 0 0; font-size: .92rem; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.1fr; gap: 30px; }
.site-footer h4 { color: var(--navy); font-size: .95rem; margin-bottom: 14px; }
.site-footer h4::before { content: ""; display: block; width: 34px; height: 3px; border-radius: 3px; background: var(--grad); margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 4px 0; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--teal); }
.site-footer .logo { margin-bottom: 14px; }
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 12px; margin-top: 44px; }
.trust > div { display: flex; align-items: center; gap: 12px; padding: 16px 18px; font-size: .84rem; line-height: 1.35; color: var(--ink); }
.trust > div + div { border-left: 1px solid var(--line); }
.trust svg { width: 30px; height: 30px; flex: none; color: var(--teal); }
.footer-bottom { border-top: 3px solid transparent; border-image: var(--grad) 1; margin-top: 34px; padding: 18px 0 22px; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px; font-size: .84rem; }

/* WhatsApp floating button */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 24px -8px rgba(18,120,60,.55); transition: transform .2s var(--ease-out); }
.wa-float:active { transform: scale(.94); }
.wa-float svg { width: 28px; height: 28px; }

/* ===== Inner page hero: navy band ===== */
.page-hero, .hero.inner { position: relative; padding: 64px 0 56px; background: var(--navy-deep) url("img/own/hero-plain-960.webp") 50% 50% / cover no-repeat; color: #c9d4ec; border-bottom: 0; }
.page-hero h1, .hero.inner h1 { color: #fff; }
.page-hero .lead, .hero.inner .lead { color: #c9d4ec; }
.page-hero .eyebrow, .hero.inner .eyebrow { color: var(--teal-bright); }
.page-hero a:not(.btn) { color: #fff; }
.page-hero .tool-tabs a { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); color: #fff; }
.page-hero .tool-tabs a.on { background: #fff; color: var(--navy); border-color: #fff; }

/* Services page: one block per service */
.svc-block { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 48px; align-items: start; padding: 56px 0; border-top: 1px solid var(--line); }
.svc-block:first-child { border-top: 0; padding-top: 0; }
.svc-block figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 5 / 6; background: var(--navy); }
.svc-block figure img { width: 100%; height: 100%; object-fit: cover; }
.svc-block h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.svc-block ul { list-style: none; padding: 0; margin: 8px 0 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 26px; }
.svc-block li { padding: 7px 0 7px 26px; position: relative; font-size: .95rem; }
.svc-block li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 11px; height: 6px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }
.svc-nav { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 24px; }
.svc-nav a { padding: 8px 16px; border-radius: 99px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25); color: #fff !important; font-weight: 600; font-size: .86rem; }
@media (hover: hover) and (pointer: fine) { .svc-nav a:hover { background: #fff; color: var(--navy) !important; text-decoration: none; } }


/* Demo tool (software page) */
.tool { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.tool-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 16px 22px; background: var(--navy); color: #fff; }
.tool-head b { font-size: 1rem; }
.tool-body { padding: 22px; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); gap: 22px; }
@media (max-width: 1180px) { .tool-body { grid-template-columns: minmax(0, 1fr); } .tool textarea { min-height: 180px; } }
.tool textarea { width: 100%; min-height: 300px; font-family: Consolas, "Courier New", monospace; font-size: .8rem; padding: 12px; border-radius: 10px; border: 1px solid var(--line); resize: vertical; }
.tool-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.table-wrap { overflow: auto; max-height: 360px; border: 1px solid var(--line); border-radius: 10px; }
table.data { width: 100%; border-collapse: collapse; font-size: .82rem; }
table.data th { position: sticky; top: 0; background: var(--bg-soft); text-align: left; padding: 9px 10px; color: var(--navy); border-bottom: 1px solid var(--line); }
table.data td { padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.data td.num { text-align: right; font-variant-numeric: tabular-nums; }
.summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.summary div { background: var(--bg-soft); border-radius: 10px; padding: 10px 12px; }
.summary small { display: block; color: var(--muted); font-size: .74rem; }
.summary b { color: var(--navy); }
.empty { color: var(--muted); font-size: .92rem; padding: 40px 10px; text-align: center; }

/* Tax calculator: click-based steps + live result */
table.data td:first-child { white-space: normal; }
.calc-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 26px; align-items: start; }
.calc-result { position: sticky; top: 90px; max-height: calc(100vh - 110px); overflow-y: auto; border-radius: 18px; }
.step-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; margin-bottom: 18px; }
.step-title { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.step-title h3 { margin: 3px 0 2px; }
.step-no { width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 800; }
.help { font-size: .84rem; color: var(--muted); margin: 6px 0 0; line-height: 1.5; }
.help b { color: var(--teal); }
.muted { color: var(--muted); }
.choices { display: grid; gap: 10px; }
.choices.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choices.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choice { position: relative; cursor: pointer; display: block; }
.choice input, .pchip input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: block; height: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; transition: .15s; background: #fff; }
.choice:hover span { border-color: #b8c4d6; }
.choice b { display: block; color: var(--navy); font-size: .94rem; }
.choice small { display: block; color: var(--muted); font-size: .79rem; margin-top: 2px; line-height: 1.4; }
.choice input:checked + span { border-color: var(--teal); background: var(--teal-soft); box-shadow: 0 0 0 3px rgba(4,128,143,.12); }
.choice input:focus-visible + span, .pchip input:focus-visible + span { outline: 3px solid rgba(4,128,143,.4); outline-offset: 2px; }
.multi .choice input:checked + span b::after { content: "  ✓"; color: var(--teal); }
.q { margin-top: 18px; }
.q-label { display: block; font-weight: 700; font-size: .92rem; color: var(--ink); margin-bottom: 8px; }
.pills-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pchip { position: relative; cursor: pointer; }
.pchip span { display: inline-block; padding: 8px 16px; border-radius: 99px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: .9rem; transition: .15s; }
.pchip:hover span { border-color: #b8c4d6; }
.pchip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.money { display: flex; align-items: stretch; max-width: 320px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; overflow: hidden; }
.money:focus-within { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(4,128,143,.15); }
.money span { display: grid; place-items: center; padding: 0 12px; background: var(--bg-soft); color: var(--muted); font-weight: 700; }
.money input { border: 0; outline: 0; padding: 11px 12px; width: 100%; font: inherit; font-size: 1.05rem; font-weight: 600; color: var(--ink); }
.quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.quick button { border: 1px solid var(--line); background: var(--bg-soft); border-radius: 8px; padding: 6px 10px; font: inherit; font-size: .82rem; font-weight: 600; color: var(--navy); cursor: pointer; }
.quick button:hover, .quick button.on { border-color: var(--teal); background: var(--teal-soft); color: var(--teal); }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.live-line { margin-top: 16px; padding: 10px 14px; background: var(--bg-soft); border-radius: 10px; font-size: .88rem; }
.reveal-box { border-left: 3px solid var(--teal); padding-left: 14px; margin-top: 8px; }
.reveal-box[hidden] { display: none; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.eb-ribbon { margin-top: 18px; padding: 12px 16px; border-radius: 12px; background: #fff7e0; border: 1.5px solid #f2c94c; color: #5c4400; font-size: .92rem; }
.tl { list-style: none; padding: 0; margin: 0 auto; max-width: 860px; position: relative; }
.tl::before { content: ""; position: absolute; left: 118px; top: 8px; bottom: 8px; width: 3px; background: linear-gradient(var(--teal), var(--navy-2)); border-radius: 3px; }
.tl li { display: grid; grid-template-columns: 104px 1fr; gap: 34px; padding: 12px 0; position: relative; }
.tl li::before { content: ""; position: absolute; left: 111px; top: 20px; width: 17px; height: 17px; border-radius: 50%; background: #fff; border: 3px solid var(--teal); }
.tl li.tl-star::before { background: var(--teal); }
.tl-when { font-weight: 800; color: var(--teal); font-size: .9rem; text-align: right; padding-top: 2px; line-height: 1.25; }
.tl-when small { display: block; font-weight: 700; font-size: .8rem; color: var(--navy); }
.tl-when em { display: inline-block; margin-top: 4px; font-style: normal; font-size: .72rem; font-weight: 700; color: #fff; background: var(--navy-2); border-radius: 8px; padding: 1px 7px; }
.tl-miles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 860px; margin: 0 auto 26px; }
.tl-miles div { background: #fff; border: 1px solid #dfe6f0; border-radius: 12px; padding: 10px 8px; text-align: center; font-size: .88rem; color: var(--muted); }
.tl-miles div b { display: block; color: var(--teal); font-size: 1rem; }
.tl-miles div.hit { background: #e1f3f5; border-color: #9fd6dc; }
@media (max-width: 640px) { .tl-miles { grid-template-columns: repeat(2, 1fr); } }
.tl b { color: var(--navy); }
.tl p { margin: 2px 0 0; color: var(--muted); font-size: .93rem; }
@media (max-width: 640px) {
  .tl::before { left: 8px; } .tl li { grid-template-columns: 1fr; gap: 2px; padding-left: 30px; } .tl li::before { left: 1px; }
  .tl-when { text-align: left; }
}
.est-box { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: var(--teal-soft); border: 1.5px solid var(--teal); }
.est-box small { display: block; font-weight: 700; color: var(--navy); }
.est-amt { font-size: 1.6rem; font-weight: 800; color: var(--navy); line-height: 1.25; margin-top: 4px; }
.est-amt span { font-size: .9rem; font-weight: 600; color: var(--muted); }
.opt { font-size: .72rem; font-weight: 600; color: var(--muted); background: var(--bg-soft); border-radius: 99px; padding: 2px 8px; margin-left: 4px; vertical-align: middle; text-transform: none; letter-spacing: 0; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 14px 30px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.filter-bar .q-label { margin-bottom: 6px; }
.res-meta { font-size: .82rem; color: var(--muted); margin: 10px 0 12px; min-height: 1em; }
.stats.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .stats.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .stats.three { grid-template-columns: minmax(0, 1fr); } }
.stat { min-width: 0; }
.course { display: flex; flex-direction: column; }
.course p { flex: 1; }
.paper-code { display: inline-block; align-self: flex-start; background: var(--navy); color: #fff; font-weight: 800; font-size: .85rem; letter-spacing: .04em; padding: 4px 10px; border-radius: 8px; margin-bottom: 10px; }
.course-fee { margin: 14px 0 12px; color: var(--muted); font-size: .9rem; }
.course-fee b { color: var(--navy); font-size: 1.25rem; }
.card .icon { font-size: 1.4rem; }
.month-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 10px; }
.m-cell { display: block; }
.m-cell > span { display: block; font-size: .78rem; font-weight: 700; color: var(--muted); margin-bottom: 3px; }
.m-cell .money { max-width: none; border-radius: 8px; }
.m-cell .money span { padding: 0 7px; font-size: .8rem; }
.m-cell .money input { padding: 7px 8px; font-size: .9rem; }
@media (max-width: 640px) { .month-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.res-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 22px; }
.res-head small { display: block; color: var(--muted); font-weight: 700; font-size: .84rem; }
.res-amt { font-size: 2.6rem; font-weight: 800; color: var(--navy); line-height: 1.15; }
.res-head span { font-size: .84rem; color: var(--muted); }
.res-status { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; margin: 14px 0; font-weight: 700; }
.res-status b { font-size: 1.2rem; }
.res-status.pay { background: #fff4e5; color: #7a5212; }
.res-status.refund { background: #e6f6ee; color: var(--ok); }
.res-status.zero { background: var(--bg-soft); color: var(--navy); }
.res-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.res-stats div { background: var(--bg-soft); border-radius: 10px; padding: 9px 11px; }
.res-stats small { display: block; color: var(--muted); font-size: .74rem; }
.res-stats b { color: var(--navy); font-size: .95rem; }
.res-card h4 { margin: 20px 0 8px; font-size: .98rem; }
.why { margin: 0; padding-left: 18px; font-size: .88rem; }
.why li { margin-bottom: 5px; }
.tips { display: grid; gap: 8px; }
.tip { display: flex; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fcfdfe; }
.tip-i { font-size: 1.15rem; line-height: 1.35; }
.tip b { color: var(--navy); font-size: .9rem; }
.tip p { margin: 2px 0 0; font-size: .83rem; color: var(--muted); line-height: 1.5; }
.calc-detail { margin: 16px 0; }
.calc-detail summary { cursor: pointer; font-weight: 700; color: var(--teal); margin-bottom: 8px; }
.res-note { font-size: .76rem; color: var(--muted); margin: 10px 0 0; }
.calc-bar { display: none; }
.tool-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tool-tabs a { padding: 8px 16px; border-radius: 99px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: .9rem; color: var(--navy); text-decoration: none; }
.tool-tabs a:hover { border-color: var(--teal); color: var(--teal); }
.tool-tabs a.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.mode-pick { max-width: 640px; }
.compare-pk div.on { background: var(--teal-soft); outline: 2px solid var(--teal); }
.compare-pk div.on small { color: var(--teal); font-weight: 700; }
.pills-row.months { gap: 6px; }
.pills-row.months .pchip span { padding: 6px 12px; font-size: .85rem; }
.team-input { width: 100%; min-height: 200px; font-family: Consolas, "Courier New", monospace; font-size: .82rem; padding: 12px; border-radius: 10px; border: 1.5px solid var(--line); resize: vertical; }
.team-input:focus { outline: 3px solid rgba(4,128,143,.25); border-color: var(--teal); }
table.data tfoot th { background: var(--bg-soft); border-top: 2px solid var(--line); padding: 9px 10px; text-align: left; }
table.data tfoot th.num { text-align: right; }
@media (max-width: 1000px) {
  .calc-grid { grid-template-columns: minmax(0, 1fr); }
  .calc-result { position: static; }
  .calc-bar {
    display: flex; position: fixed; left: 12px; right: 86px; bottom: 18px; z-index: 55; justify-content: space-between; gap: 10px;
    align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--navy); color: #fff; font-size: .86rem;
    box-shadow: var(--shadow-lg); text-decoration: none !important; transition: opacity .2s;
  }
  .calc-bar b { color: #7fdbe6; white-space: nowrap; }
  .calc-bar .go { white-space: nowrap; font-weight: 700; }
  .calc-bar.hide { opacity: 0; pointer-events: none; }
}
@media (max-width: 640px) {
  .choices.c3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two { grid-template-columns: minmax(0, 1fr); }
  .money { max-width: none; }
  .step-card { padding: 18px; }
  .res-amt { font-size: 2.2rem; }
  .calc-bar { font-size: .8rem; padding: 10px 12px; left: 10px; right: 80px; }
}

/* Login */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-side {
  background: linear-gradient(140deg, var(--navy) 0%, var(--navy-2) 60%, #04808f 100%); color: #dbe6f5;
  padding: 48px; display: flex; flex-direction: column; justify-content: space-between;
}
.auth-side h2 { color: #fff; }
.auth-side .logo { color: #fff; }
.auth-side .logo-text small { color: #9fc3ec; }
.auth-main { display: grid; place-items: center; padding: 40px 20px; }
.auth-box { width: 100%; max-width: 400px; }
.notice { background: #fdf3e1; color: #7a5212; border: 1px solid #f3dcae; border-radius: 10px; padding: 10px 14px; font-size: .86rem; margin-bottom: 18px; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .82rem; margin: 18px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* Portal */
.portal { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; background: var(--bg-soft); }
.sidebar { background: var(--navy); color: #b9c8dc; padding: 22px 16px; position: sticky; top: 0; height: 100vh; }
.sidebar .logo { color: #fff; margin-bottom: 30px; }
.sidebar .logo-text small { color: #7f93ad; }
.side-nav { list-style: none; padding: 0; margin: 0; }
.side-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: #b9c8dc; font-weight: 600; font-size: .92rem; text-decoration: none; }
.side-nav a:hover, .side-nav a.active { background: rgba(255,255,255,.08); color: #fff; }
.portal-main { padding: 26px 30px 60px; min-width: 0; }
.portal-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.demo-banner { background: #fdf3e1; border: 1px solid #f3dcae; color: #7a5212; border-radius: 10px; padding: 10px 14px; font-size: .88rem; margin-bottom: 20px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.panel h3 { font-size: 1.02rem; }
.metric small { color: var(--muted); font-size: .8rem; display: block; }
.metric b { font-size: 1.5rem; color: var(--navy); }
.metric .delta { font-size: .8rem; font-weight: 700; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.progress { height: 10px; background: #e9eef5; border-radius: 99px; overflow: hidden; margin: 8px 0 4px; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), #4cc3be); border-radius: 99px; }
.dropzone { display: block; border: 2px dashed #c7d2e1; border-radius: 12px; padding: 26px; text-align: center; color: var(--muted); cursor: pointer; transition: .2s; }
.dropzone:hover, .dropzone.drag { border-color: var(--teal); background: var(--teal-soft); color: var(--teal); }
.file-list { list-style: none; padding: 0; margin: 12px 0 0; font-size: .86rem; }
.file-list li { padding: 6px 0; border-bottom: 1px dashed var(--line); display: flex; justify-content: space-between; }

/* Content never fades in on scroll; .reveal is kept as a harmless class */
.reveal { opacity: 1; }

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .menu-btn { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0; position: fixed; top: 76px; left: 0; right: 0; bottom: 0;
    background: #fff; padding: 8px var(--gutter) 32px; overflow-y: auto; margin: 0; animation: fadeIn .18s var(--ease-out);
  }
  .nav-links.open a, .nav-links.open .dd-btn { padding: 15px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.05rem; width: 100%; justify-content: space-between; }
  .nav-links.open .dd { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 6px 14px; display: none; min-width: 0; }
  .nav-links.open li.open > .dd { display: block; }
  .nav-links.open .dd a { font-size: .98rem; padding: 12px 4px; }
  body.menu-open { overflow: hidden; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 1000px) {
  .hero-grid, .cta-band, .tool-body, .split, .banner, .contact-band .cb-grid { grid-template-columns: 1fr; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3, .why-cards, .tool-cards { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats-card { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  .stats-card > div:nth-child(3)::before { display: none; }
  .float-a { left: 10px; } .float-b { right: 10px; }
  .banner figure { min-height: 280px; }
  .svc-block { grid-template-columns: 1fr; gap: 26px; }
  .svc-block figure { aspect-ratio: 16 / 10; }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust > div:nth-child(3) { border-left: 0; }
  .trust > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 860px) {
  .nav-cta .btn-ghost { display: none; }
  .auth { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .portal { grid-template-columns: minmax(0, 1fr); }
  .portal > * { min-width: 0; }
  .sidebar { position: static; height: auto; padding: 14px 16px; }
  .sidebar .logo { margin-bottom: 10px; }
  .side-nav { display: flex; overflow-x: auto; gap: 4px; }
  .side-nav a { white-space: nowrap; }
  .portal-main { padding: 20px 16px 50px; }
  .topbar .tb-right { display: none; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .section { padding: 60px 0; }
  .g2, .g3, .g4, .stats, .footer-grid, .form .row, .kpis, .summary, .why-cards, .tool-cards { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .tile b { font-size: .92rem; } .tile small { display: none; } .tile .tl-label { padding: 14px 12px; }
  .stats-card { grid-template-columns: 1fr 1fr; padding: 18px 4px; margin-top: -60px; }
  .stats-card > div { flex-direction: column; align-items: flex-start; gap: 8px; padding: 6px 14px; }
  .stats-card > div::before { display: none; }
  .stats-card b { font-size: 1.15rem; }
  .hero-cg .container { padding-top: 56px; padding-bottom: 110px; }
  .nav-cta .btn-grad { display: none; }
  .hero-ctas .btn { width: 100%; }
  .banner .bn-text { padding: 30px 22px; }
  .cta-band, .offer { padding: 28px 20px; }
  .cta-band.cta-inline { grid-template-columns: 1fr; }
  .btn { white-space: normal; text-align: center; }
  .nav { gap: 8px; height: 68px; }
  .nav-links.open { top: 68px; }
  .nav-cta { gap: 4px; }
  .nav-cta .btn-grad, .nav-cta .btn-primary { min-height: 40px; padding: 8px 14px; font-size: .84rem; white-space: nowrap; }
  .logo { gap: 8px; }
  .logo-mark { width: 38px; height: 38px; }
  .logo-text { font-size: .95rem; }
  .logo-text small { display: none; }
  .float-card { display: none; }
  .compare th, .compare td { padding: 11px 10px; font-size: .85rem; }
  .svc-block ul { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr; }
  .trust > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .contact-band { padding: 56px 0; }
  .topbar .tb-left a.tb-mail { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  [data-enter] .hero-text > * { animation: fadeIn .4s ease both; }
  .btn:active, .wa-float:active { transform: none; }
}
#feeTable td { white-space: normal; }
#feeTable td.num { min-width: 7.5rem; }

/* =====================================================================
   v3 additions: hero carousel, tile slideshows, futuristic touches,
   WhatsApp + Messenger buttons
   ===================================================================== */
/* ----- hero carousel ----- */
.carousel { min-height: 620px; display: flex; flex-direction: column; }
.carousel .slides { position: relative; flex: 1; min-height: 620px; }
.carousel .slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s var(--ease-out), visibility .9s; }
.carousel .slide.is-on { opacity: 1; visibility: visible; z-index: 1; }
.carousel .slide .hero-bg img { transform: scale(1.06); transition: transform 7s linear; }
.carousel .slide.is-on .hero-bg img { transform: scale(1); }
.carousel .slide .container { position: relative; padding-top: 92px; padding-bottom: 170px; }
.carousel .slide .hero-text > * { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.carousel .slide.is-on .hero-text > * { opacity: 1; transform: none; }
.carousel .slide.is-on .hero-text > *:nth-child(2) { transition-delay: .08s; }
.carousel .slide.is-on .hero-text > *:nth-child(3) { transition-delay: .16s; }
.carousel .slide.is-on .hero-text > *:nth-child(4) { transition-delay: .24s; }
.carousel[data-enter] .hero-text > * { animation: none; }
.hero-cg .h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); font-weight: 700; line-height: 1.2; color: #fff; max-width: 15em; margin: 0 0 18px; letter-spacing: -.01em; text-wrap: balance; }
.hero-cg .h1 em { font-style: normal; color: var(--teal-bright); }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-bright);
  padding: 6px 12px; border-radius: 99px; background: rgba(25,179,198,.1); border: 1px solid rgba(25,179,198,.35); margin-bottom: 18px; }
.kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal-bright); box-shadow: 0 0 10px var(--teal-bright); animation: blip 2s ease-in-out infinite; }
@keyframes blip { 50% { opacity: .35; } }
.car-ui { position: absolute; left: 0; right: 0; bottom: 104px; z-index: 3; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.car-dots { display: flex; gap: 8px; }
.car-dots button { width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.car-dots i { display: block; width: 34px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.28); overflow: hidden; position: relative; }
.car-dots button[aria-selected="true"] i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--teal-bright), #8ff0ff); transform-origin: left; animation: dotfill var(--car-ms, 6000ms) linear forwards; }
.carousel.paused .car-dots button[aria-selected="true"] i::after { animation-play-state: paused; }
@keyframes dotfill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.car-btns { display: flex; gap: 8px; }
.car-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(8,19,74,.45); color: #fff; cursor: pointer;
  display: grid; place-items: center; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background-color .2s ease, border-color .2s ease, transform .12s var(--ease-out); }
.car-btn svg { width: 18px; height: 18px; }
.car-btn:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .car-btn:hover { background: var(--teal); border-color: var(--teal-bright); } }

/* ----- service tile slideshow ----- */
.tile .show { position: absolute; inset: 0; display: block; }
.tile .show .fr { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .8s var(--ease-out), transform 3.6s ease-out; }
.tile .show .fr.is-on { opacity: 1; transform: scale(1); }
.tile .show-bar { position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--teal-bright), #8ff0ff); transform-origin: left; transform: scaleX(0); z-index: 2; box-shadow: 0 0 12px var(--teal-bright); }
.tile .show.run .show-bar { animation: dotfill var(--show-ms, 3200ms) linear infinite; }
.tile .tl-label { z-index: 3; }

/* ----- futuristic touches ----- */
.section.tech { position: relative; background: var(--navy-deep); color: #c9d4ec; overflow: hidden; isolation: isolate; }
.section.tech::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 380px at 85% 0%, rgba(4,128,143,.35), transparent 70%),
    radial-gradient(520px 360px at 5% 100%, rgba(29,58,143,.55), transparent 70%),
    linear-gradient(rgba(25,179,198,.07) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(25,179,198,.07) 1px, transparent 1px) 0 0 / 48px 48px; }
.section.tech h2 { color: #fff; }
.section.tech .lead { color: #b9c6e4; }
.section.tech .tile { box-shadow: 0 0 0 1px rgba(25,179,198,.22), 0 20px 40px -20px rgba(0,0,0,.6); }
.why-card { transition: border-color .25s ease, box-shadow .25s ease, transform .25s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .section.tech .tile:hover { box-shadow: 0 0 0 1px var(--teal-bright), 0 0 32px -4px rgba(25,179,198,.55), 0 24px 48px -18px rgba(0,0,0,.7); }
  .why-card:hover { border-color: rgba(4,128,143,.45); box-shadow: 0 18px 40px -22px rgba(4,128,143,.6); transform: translateY(-3px); }
}
.hero-cg::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; z-index: 2; background: linear-gradient(90deg, transparent, var(--teal-bright), transparent); opacity: .7; }
.stats-card { border: 1px solid rgba(25,179,198,.25); }
.stats-card .si { box-shadow: inset 0 0 0 1px rgba(4,128,143,.25); }
.section-head h2::after { box-shadow: 0 0 12px rgba(25,179,198,.55); }

/* ----- WhatsApp + Messenger ----- */
.tb-right { display: flex; align-items: center; gap: 10px; }
.topbar a.chat-btn { gap: 6px; padding: 3px 12px 3px 8px; border-radius: 99px; font-weight: 700; font-size: .78rem; color: #fff; line-height: 1.5; text-decoration: none; transition: filter .2s ease, transform .12s var(--ease-out); }
.chat-btn.wa { background: #25d366; }
.chat-btn.fb { background: linear-gradient(135deg, #00b2ff, #006aff); }
.chat-btn:active { transform: scale(.96); }
@media (hover: hover) and (pointer: fine) { .chat-btn:hover { filter: brightness(1.08); } }
.float-chat { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; gap: 10px; }
.float-chat .wa-float { position: static; }
.fb-float { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #00b2ff, #006aff);
  box-shadow: 0 12px 24px -8px rgba(0,106,255,.55); transition: transform .2s var(--ease-out); }
.fb-float svg { width: 28px; height: 28px; }
.fb-float:active { transform: scale(.94); }

@media (max-width: 1000px) {
  .carousel, .carousel .slides { min-height: 600px; }
}
@media (max-width: 860px) {
  .topbar .tb-right { display: flex; }
  .topbar .tb-right .tb-note { display: none; }
}
@media (max-width: 640px) {
  .carousel, .carousel .slides { min-height: 660px; }
  .carousel .slide .container { padding-top: 44px; padding-bottom: 150px; }
  .car-ui { bottom: 84px; }
  .car-dots { gap: 2px; }
  .car-dots i { width: 22px; }
  .car-dots button { width: 32px; }
  .car-prev, .car-next { display: none; }
  .topbar .tb-left a:not(:first-child) { display: none; }
  .fb-float, .float-chat .wa-float { width: 50px; height: 50px; }
}
@media (prefers-reduced-motion: reduce) {
  .carousel .slide, .carousel .slide .hero-text > *, .tile .show .fr { transition: opacity .3s ease !important; transform: none !important; }
  .carousel .slide .hero-bg img { transform: none !important; }
  .kicker::before { animation: none; }
  .tile .show-bar { display: none; }
}

/* carousel controls sit over the slide, not in the page flow */
.carousel .car-ui.container { position: absolute; padding-top: 0; padding-bottom: 0; }
@media (max-width: 640px) {
  .topbar .tb-left a:first-child { font-size: 0; gap: 0; }
  .topbar .tb-left a:first-child svg { width: 18px; height: 18px; }
}
@media (max-width: 640px) { .kicker { font-size: .68rem; letter-spacing: .08em; padding: 5px 10px; } }

/* =====================================================================
   v4: live animated hero + reference-style service cards
   ===================================================================== */
.hero-live { background: radial-gradient(120% 90% at 80% 0%, #123a8a 0%, #0c1b5e 45%, #050b2c 100%); }
.hero-live .net { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hl-glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.hl-glow.g1 { width: 620px; height: 620px; right: -140px; top: -260px; background: rgba(4,128,143,.55); animation: drift1 14s ease-in-out infinite alternate; }
.hl-glow.g2 { width: 520px; height: 520px; left: 30%; bottom: -380px; background: rgba(29,58,143,.7); animation: drift2 18s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(-120px, 80px) scale(1.12); } }
@keyframes drift2 { to { transform: translate(140px, -60px) scale(.9); } }
.hero-live.carousel, .hero-live .slides { min-height: 640px; }
.hero-live .slide .container { padding-top: 84px; padding-bottom: 150px; }
.hl-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; }
.hero-live h1, .hero-live .h1 { font-size: clamp(2.1rem, 3.9vw, 3.3rem); max-width: none; }
.hero-live .lead { max-width: 33em; }
.hero-live em[data-type] { white-space: nowrap; }
.hero-live em .caret { display: inline-block; width: 3px; height: .9em; margin-left: 4px; vertical-align: -.08em; background: var(--teal-bright); box-shadow: 0 0 10px var(--teal-bright); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* floating cards on the right */
.hl-cards { position: relative; height: 400px; }
.ui-card { position: absolute; background: #fff; color: var(--navy); border-radius: 14px; font-size: 13px;
  box-shadow: 0 30px 60px -20px rgba(2,8,40,.7), 0 0 0 1px rgba(255,255,255,.6) inset; }
.ui-card small { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #6b7a9e; }
.ui-card .uc-note { text-transform: none; letter-spacing: 0; font-weight: 500; margin-top: 6px; font-size: 11.5px; }
.ui-card .uc-big { display: block; font-size: 30px; line-height: 1.15; margin: 4px 0 10px; font-variant-numeric: tabular-nums; }
.ui-card .uc-mid { display: block; font-size: 17px; margin-top: 4px; }
.ui-card .teal { color: var(--teal); }
.uc-hd { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid #e3e8ef; }
.uc-hd b { font-size: 14px; }
.uc-pill { font-size: 10.5px; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: #e0f1f3; color: #03656f; white-space: nowrap; }
.uc-pill.ok { background: #e3f4eb; color: #12804c; }
.ui-card table { width: 100%; border-collapse: collapse; }
.ui-card td { padding: 9px 18px; border-top: 1px solid #eef1f5; color: #1b2550; white-space: nowrap; }
.ui-card tr:first-child td { border-top: 0; }
.ui-card td.n { text-align: right; font-variant-numeric: tabular-nums; }
.ui-card td.tk { color: #12804c; font-weight: 800; }
.uc-bar { display: block; height: 8px; border-radius: 99px; background: #e9eef5; overflow: hidden; }
.uc-bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, #04808f, #19b3c6); transition: width 1.4s var(--ease-out) .5s; }
.slide.is-on .uc-bar i { width: var(--w); }
.uc-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 14px 18px 4px; }
.uc-kpis b { font-size: 17px; }
.uc-bars { display: flex; align-items: flex-end; gap: 6px; height: 110px; padding: 10px 18px 16px; }
.uc-bars i { flex: 1; height: 0; border-radius: 4px 4px 0 0; background: #04808f; transition: height 1s var(--ease-out); }
.uc-bars i.b { background: #1d3a8f; }
.slide.is-on .uc-bars i { height: var(--h); }
.slide.is-on .uc-bars i:nth-child(n+3) { transition-delay: .1s; } .slide.is-on .uc-bars i:nth-child(n+5) { transition-delay: .2s; }
.slide.is-on .uc-bars i:nth-child(n+7) { transition-delay: .3s; } .slide.is-on .uc-bars i:nth-child(n+9) { transition-delay: .4s; }

.ui-card.c1 { top: 0; right: 0; width: 400px; }
.ui-card.c2 { top: 230px; left: 0; width: 260px; padding: 16px 18px; }
.ui-card.c3 { top: 270px; right: 10px; width: 230px; padding: 16px 18px; }
/* enter, then float */
.hl-cards .ui-card { opacity: 0; transform: translateY(26px) scale(.97); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.slide.is-on .hl-cards .ui-card { opacity: 1; transform: none; }
.slide.is-on .hl-cards .c2 { transition-delay: .15s; }
.slide.is-on .hl-cards .c3 { transition-delay: .3s; }
.slide.is-on .hl-cards .ui-card > * { animation: none; }
.slide.is-on .hl-cards .c1 { animation: float1 6s ease-in-out 1s infinite; }
.slide.is-on .hl-cards .c2 { animation: float2 7s ease-in-out 1.2s infinite; }
.slide.is-on .hl-cards .c3 { animation: float1 8s ease-in-out 1.4s infinite reverse; }
@keyframes float1 { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes float2 { 0%, 100% { translate: 0 0; } 50% { translate: 0 9px; } }
/* a soft scan line across the main card */
.ui-card.c1::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 40%; border-radius: 14px;
  background: linear-gradient(180deg, rgba(25,179,198,0), rgba(25,179,198,.10), rgba(25,179,198,0)); opacity: 0; pointer-events: none; }
.slide.is-on .ui-card.c1::after { animation: scan 4.5s ease-in-out 1.6s infinite; }
@keyframes scan { 0% { opacity: 0; transform: translateY(-20%); } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; transform: translateY(160%); } }

.hero-live .car-ui { bottom: 92px; }

/* ===== Our Services: reference style ===== */
.ptiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.ptile { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; background: var(--navy);
  box-shadow: 0 14px 30px -16px rgba(12,27,94,.45); text-decoration: none !important; transition: transform .35s var(--ease-out), box-shadow .35s ease; }
.ptile .show { position: absolute; inset: 0; display: block; }
.ptile .fr { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06);
  transition: opacity 1.1s ease, transform 6s ease-out; }
.ptile .fr.is-on { opacity: 1; transform: scale(1); }
.ptile::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: linear-gradient(180deg, rgba(5,11,44,0), rgba(5,11,44,.85)); pointer-events: none; }
.ptile b { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 2; color: #fff; font-size: 1.02rem; line-height: 1.3; font-weight: 700; text-shadow: 0 2px 8px rgba(0,0,0,.4); }
.ptile b::after { content: ""; display: block; width: 0; height: 2px; margin-top: 8px; background: var(--teal-bright); transition: width .35s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .ptile:hover { transform: translateY(-6px); box-shadow: 0 26px 44px -18px rgba(12,27,94,.55); }
  .ptile:hover b::after { width: 44px; }
}

@media (max-width: 1080px) {
  .ptiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .hl-grid { grid-template-columns: 1fr; }
  .hl-cards { display: none; }
  .hero-live.carousel, .hero-live .slides { min-height: 560px; }
}
@media (max-width: 640px) {
  .hero-live.carousel, .hero-live .slides { min-height: 640px; }
  .hero-live .slide .container { padding-top: 44px; padding-bottom: 150px; }
  .hero-live em[data-type] { white-space: normal; }
  .ptiles { gap: 12px; }
  .ptile b { left: 12px; right: 12px; bottom: 12px; font-size: .9rem; }
  .hl-glow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hl-glow, .slide.is-on .hl-cards .ui-card, .slide.is-on .ui-card.c1::after { animation: none !important; }
  .hl-cards .ui-card, .uc-bar i, .uc-bars i { transition: none !important; }
  .ptile .fr { transition: opacity .3s ease; transform: none !important; }
  .hero-live em .caret { display: none; }
}
.hero-live em .caret { margin-right: -7px; }

/* ===== v5: hero image slider (slides glide sideways) ===== */
.hero-slider { background: #050b2c; overflow: hidden; }
.hero-slider .slides { display: flex; min-height: 0; transition: transform .45s cubic-bezier(0.77, 0, 0.175, 1); will-change: transform; }
.hero-slider .slide { position: relative; inset: auto; flex: 0 0 100%; min-height: 640px; opacity: 1; visibility: visible; transition: none; overflow: hidden; }
.hero-slider .sl-img { position: absolute; inset: 0; margin: 0; }
.hero-slider .sl-img img { width: 100%; height: 100%; object-fit: cover; object-position: 75% 50%; transform: scale(1.08); transition: transform 3.4s ease-out; }
.hero-slider .slide.is-on .sl-img img { transform: scale(1); }
.hero-slider .sl-text { position: relative; padding-top: 96px; padding-bottom: 170px; }
.hero-slider .sl-text h1, .hero-slider .sl-text .h1 { font-size: clamp(2.1rem, 3.8vw, 3.3rem); max-width: 13em; }
.hero-slider .sl-text .lead { max-width: 31em; }
.hero-slider .slide .hero-text > * { transition-delay: 0s; }
.hero-slider .slide.is-on .hero-text > * { transition-delay: .15s; }
.hero-slider .slide.is-on .hero-text > *:nth-child(2) { transition-delay: .45s; }
.hero-slider .slide.is-on .hero-text > *:nth-child(3) { transition-delay: .55s; }
.hero-slider .slide.is-on .hero-text > *:nth-child(4) { transition-delay: .65s; }
.hero-slider .car-ui { bottom: 100px; }

@media (max-width: 760px) {
  /* phone: picture on top, words underneath on navy */
  .hero-slider .slide { min-height: 0; display: flex; flex-direction: column; }
  .hero-slider .sl-img { position: relative; inset: auto; aspect-ratio: 900 / 640; }
  .hero-slider .sl-img img { object-position: 50% 50%; }
  .hero-slider .sl-text { padding-top: 24px; padding-bottom: 150px; }
  .hero-slider .car-ui { bottom: 84px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slider .slides { transition: transform .9s cubic-bezier(0.65, 0.05, 0.36, 1) !important; transition-duration: .9s !important; }
  .hero-slider .sl-img img { transform: none !important; transition: none; }
}

/* ===== v6: early-bird offer (50% off all services for the first 6 months) ===== */
.eb-strip { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; padding: 9px 16px; text-align: center;
  background: linear-gradient(90deg, #f6b73c, #ffd76a 50%, #f6b73c); background-size: 200% 100%; animation: ebShine 6s linear infinite;
  color: #3b2a00 !important; font-size: .9rem; line-height: 1.4; text-decoration: none !important; }
.eb-strip b { color: #1d1300; }
.eb-tag { display: inline-block; padding: 2px 10px; border-radius: 99px; background: #0c1b5e; color: #ffd76a; font-weight: 700; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.eb-go { font-weight: 700; color: #0c1b5e; white-space: nowrap; }
@keyframes ebShine { to { background-position: -200% 0; } }
@media (hover: hover) and (pointer: fine) { .eb-strip:hover .eb-go .arr { transform: translateX(3px); } }
.eb-price { margin: 2px 0 4px; padding: 7px 12px; border-radius: 8px; background: #fff6dd; border: 1px solid #f3d48a; color: #5c4400; font-size: .88rem; line-height: 1.35; }
.eb-price b { color: #0c1b5e; font-size: 1.05rem; }
.offer.eb-offer { background: linear-gradient(120deg, #fff6dd, #ffe9b0); border-color: #f1cf7c; }
.offer.eb-offer h3 { color: #0c1b5e; }
@media (max-width: 640px) {
  .eb-strip { font-size: .8rem; gap: 6px; padding: 8px 12px; }
  .eb-go { display: none; }
}
@media (prefers-reduced-motion: reduce) { .eb-strip { animation: none; } }

/* ===== v7: Our Services cards: bigger names + a soft light that invites a click ===== */
.ptile b { font-size: clamp(1.3rem, 1.9vw, 1.55rem); line-height: 1.25; letter-spacing: -.01em; right: 64px;
  text-shadow: 0 0 18px rgba(25,179,198,.55), 0 2px 10px rgba(0,0,0,.55); }
/* round arrow button at the bottom-right, gently pulsing */
.ptile::before { content: "\2192"; position: absolute; right: 16px; bottom: 18px; z-index: 3; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.1rem; font-weight: 700; color: #fff; background: rgba(25,179,198,.25);
  border: 1px solid rgba(143,240,255,.7); box-shadow: 0 0 0 0 rgba(25,179,198,.6); animation: ctaPulse 2.4s ease-out infinite;
  transition: background-color .25s ease, transform .25s var(--ease-out); }
@keyframes ctaPulse { 0% { box-shadow: 0 0 0 0 rgba(25,179,198,.55); } 70% { box-shadow: 0 0 0 14px rgba(25,179,198,0); } 100% { box-shadow: 0 0 0 0 rgba(25,179,198,0); } }
/* a soft glowing edge that breathes, so the cards read as buttons */
.ptile { box-shadow: 0 0 0 1px rgba(25,179,198,.35), 0 0 22px -6px rgba(25,179,198,.55), 0 14px 30px -16px rgba(12,27,94,.45); animation: tileGlow 3.2s ease-in-out infinite; }
.ptiles .ptile:nth-child(2n) { animation-delay: .8s; } .ptiles .ptile:nth-child(3n) { animation-delay: 1.6s; }
@keyframes tileGlow { 50% { box-shadow: 0 0 0 1px rgba(25,179,198,.7), 0 0 34px -4px rgba(25,179,198,.75), 0 14px 30px -16px rgba(12,27,94,.45); } }
@media (hover: hover) and (pointer: fine) {
  .ptile:hover { animation: none; box-shadow: 0 0 0 2px #19b3c6, 0 0 40px -2px rgba(25,179,198,.9), 0 26px 44px -18px rgba(12,27,94,.55); }
  .ptile:hover::before { background: #19b3c6; transform: translateX(3px); animation: none; }
}
@media (max-width: 640px) {
  .ptile b { font-size: 1rem; right: 52px; }
  .ptile::before { width: 32px; height: 32px; right: 10px; bottom: 12px; font-size: .95rem; }
}
@media (prefers-reduced-motion: reduce) { .ptile, .ptile::before { animation: none; } }
.chat-btn.quote { background: #fff; color: #0c1b5e !important; }
.topbar a.chat-btn.quote svg { color: #04808f; }
.topbar a.chat-btn { white-space: nowrap; }
@media (max-width: 640px) {
  .topbar .chat-btn.wa span, .topbar .chat-btn.fb span { display: none; }
  .topbar a.chat-btn.wa, .topbar a.chat-btn.fb { padding: 5px 7px; }
  .topbar .chat-btn.wa svg, .topbar .chat-btn.fb svg { width: 18px; height: 18px; }
}
.btn-offer { background: linear-gradient(135deg, #ffd76a, #f6a821); color: #2b1d00; box-shadow: 0 6px 16px -6px rgba(246,168,33,.7); animation: offerPop 2.6s ease-in-out infinite; }
.btn-offer svg { width: 16px; height: 16px; }
@keyframes offerPop { 0%, 100% { transform: none; } 8% { transform: scale(1.06); } 16% { transform: none; } }
@media (hover: hover) and (pointer: fine) { .btn-offer:hover { filter: brightness(1.05); animation: none; } }
@media (max-width: 640px) { .nav-cta .btn-offer { display: inline-flex; min-height: 38px; padding: 6px 12px; font-size: .82rem; } }
@media (prefers-reduced-motion: reduce) { .btn-offer { animation: none; } }

/* offer slide */
.kicker-gold { color: #ffd76a; background: rgba(255,215,106,.12); border-color: rgba(255,215,106,.45); }
.kicker-gold::before { background: #ffd76a; box-shadow: 0 0 10px #ffd76a; }
.hero-cg em.gold { color: #ffd76a; text-shadow: 0 0 24px rgba(255,190,60,.45); }
.offer-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: -12px 0 26px; padding: 0; }
.offer-facts li { padding: 6px 12px; border-radius: 99px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #e6ecfa; font-size: .88rem; }
.offer-facts li b { color: #ffd76a; }
.offer-facts li:empty { display: none; }
.offer-facts .offer-days { background: rgba(255,215,106,.16); border-color: rgba(255,215,106,.5); color: #ffd76a; font-weight: 700; }
@media (max-width: 640px) { .offer-facts { margin-top: -6px; } .offer-facts li { font-size: .8rem; } }
.hero-slider .offer-facts { max-width: 560px; }
.btn-offer { white-space: nowrap; }
@media (max-width: 640px) { .nav-cta .btn-offer svg { display: none; } .nav-cta .btn-offer { padding: 6px 10px; } .logo-text { font-size: .9rem; } }

/* team photo + link to the founder's portfolio */
.avatar.photo { width: 96px; height: 120px; object-fit: cover; object-position: 50% 15%; padding: 0; background: #eef3f8; border: 3px solid #fff; box-shadow: 0 6px 18px rgba(12,27,94,.15); }
.person-link { display: inline-flex; gap: 6px; align-items: center; margin-top: 12px; font-weight: 700; font-size: .92rem; }
.site-footer .ft-addr { line-height: 1.5; max-width: 26ch; }
.contact-lines li { align-items: flex-start; } .contact-lines svg { margin-top: 3px; }

/* ===== v10: big side arrows on the home slider + a 150% logo ===== */
.car-side { position: absolute; top: 0; bottom: 70px; z-index: 4; width: 96px; border: 0; background: none; padding: 0; cursor: pointer;
  display: grid; place-items: center; color: #fff; opacity: .4; transition: opacity .2s ease, transform .15s var(--ease-out); -webkit-tap-highlight-color: transparent; }
.car-side svg { width: 64px; height: 64px; filter: drop-shadow(0 4px 12px rgba(0,0,0,.5)); }
.car-side.car-prev { left: 0; }
.car-side.car-next { right: 0; }
.car-side:focus-visible { opacity: 1; outline: 2px solid #19b3c6; outline-offset: -6px; }
.car-side:active svg { transform: scale(.92); }
@media (hover: hover) and (pointer: fine) {
  .car-side:hover { opacity: .9; background: linear-gradient(90deg, rgba(5,11,44,.35), transparent); }
  .car-side.car-next:hover { background: linear-gradient(270deg, rgba(5,11,44,.35), transparent); }
}
@media (max-width: 760px) {
  /* phones: arrows sit over the picture at the top, still at 40% */
  .car-side { bottom: auto; height: calc((100vw) * 640 / 900); width: 56px; }
  .car-side svg { width: 40px; height: 40px; }
}
/* logo 150% (was 44px mark / 1.1rem text) */
.site-header .logo-mark { width: 66px; height: 66px; }
.site-header .logo-text { font-size: 1.65rem; }
.site-header .logo-text small { font-size: .62rem; letter-spacing: .16em; }
.nav { height: 96px; }
.nav-links.open { top: 96px; }
@media (max-width: 1240px) { .site-header .logo-mark { width: 56px; height: 56px; } .site-header .logo-text { font-size: 1.35rem; } }
@media (max-width: 640px) {
  .nav { height: 76px; }
  .nav-links.open { top: 76px; }
  .site-header .logo-mark { width: 50px; height: 50px; }
  .site-header .logo-text { font-size: 1.12rem; }
}
.car-side.car-prev, .car-side.car-next { display: grid; }

/* ===== v11: header fits with the big logo; arrows readable on any picture; smoother slide ===== */
.nav { gap: 14px; }
.nav-links a, .nav-links .dd-btn { padding: 8px 9px; font-size: .9rem; }
.nav-cta { gap: 8px; }
@media (max-width: 1500px) {
  .nav-cta .btn-ghost[href="login.html"] { display: none; }   /* Client login stays in the footer and the menu */
}
@media (max-width: 1320px) {
  .site-header .logo-mark { width: 56px; height: 56px; }
  .site-header .logo-text { font-size: 1.35rem; }
}
/* arrows: a dark round backing so they show on light cards too (the whole button stays at 40%) */
.car-side span.cs-ring, .car-side svg { position: relative; }
.car-side::before { content: ""; position: absolute; width: 84px; height: 84px; border-radius: 50%; background: rgba(5,11,44,.75); border: 2px solid rgba(255,255,255,.9); }
@media (max-width: 760px) { .car-side::before { width: 52px; height: 52px; } }
/* smoother, slightly slower glide */
.hero-slider .slides { transition: transform .9s cubic-bezier(0.65, 0.05, 0.36, 1); }
.hero-slider .sl-img img { transition: transform 4.5s cubic-bezier(0.25, 0.1, 0.25, 1); }
.hero-slider .slide .hero-text > * { transition: opacity .7s ease, transform .7s cubic-bezier(0.22, 1, 0.36, 1); }
.hero-slider .slide.is-on .hero-text > * { transition-delay: .35s; }
.hero-slider .slide.is-on .hero-text > *:nth-child(2) { transition-delay: .45s; }
.hero-slider .slide.is-on .hero-text > *:nth-child(3) { transition-delay: .55s; }
.hero-slider .slide.is-on .hero-text > *:nth-child(4) { transition-delay: .65s; }
@media (max-width: 640px) {
  .site-header .logo { gap: 7px; }
  .site-header .logo-mark { width: 44px; height: 44px; }
  .site-header .logo-text { font-size: 1rem; }
  .nav-cta .btn-offer { padding: 6px 9px; font-size: .78rem; min-height: 36px; }
  .nav-cta { gap: 2px; }
}
@media (max-width: 370px) { .nav-cta .btn-offer { display: none; } }
