/* Whale Solution website. Mobile-first. "Deep sea" look: navy gradients, brand blue, sky-blue accent, whale mark. No inline styles anywhere (strict CSP). */
/* design system type: Inter for Latin, Sarabun for Thai (self-hosted, CSP font-src 'self') */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Sarabun"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/sarabun-thai-400.woff2") format("woff2"); unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Sarabun"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/sarabun-thai-500.woff2") format("woff2"); unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Sarabun"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/sarabun-thai-600.woff2") format("woff2"); unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/inter-latin-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Sarabun"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/sarabun-thai-700.woff2") format("woff2"); unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC; }
:root {
  --navy: #0B1F3A; --navy-2: #12345A; --deep: #061427; --ocean: #0B2A55; --accent: #1677FF; --accent-dark: #0e5fd1; --cyan: #38BDF8; --sky: #7DD3FC;
  --grad-brand: linear-gradient(135deg, #1C6FF2, #1458D6); --grad-glow: linear-gradient(135deg, #1C6FF2, #38BDF8);
  --grad-deep: linear-gradient(160deg, #061427 0%, #0B2A55 55%, #0E3C7A 100%);
  --bg: #F5F8FC; --surface: #FFFFFF; --text: #172B4D; --muted: #5b6b85; --border: #DFE7F1;
  --ok: #0b7a43; --ok-bg: #e3f6ec; --warn: #8a5300; --warn-bg: #fff2dc; --bad: #b42318; --bad-bg: #fde8e6;
  --radius: 16px; --shadow: 0 1px 2px rgba(11,31,58,.05), 0 10px 28px rgba(11,31,58,.07); --shadow-lg: 0 2px 4px rgba(11,31,58,.06), 0 22px 48px rgba(11,42,85,.16);
  --font: "Inter", "Sarabun", "Segoe UI", "Leelawadee UI", "Noto Sans Thai", Tahoma, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.7; color: var(--text); background: var(--bg); }
img, svg { max-width: 100%; height: auto; }
a { color: var(--accent-dark); text-underline-offset: 2px; }
a:hover { color: var(--navy-2); }
h1, h2, h3 { line-height: 1.25; color: var(--navy); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.8rem, 4.2vw, 2.7rem); } h2 { font-size: clamp(1.4rem, 2.8vw, 1.9rem); } h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; background: #eef3fa; padding: .1em .35em; border-radius: 6px; font-size: .9em; }
:focus-visible { outline: 3px solid rgba(22,119,255,.55); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 18px; }
.container.narrow { max-width: 760px; } .center { text-align: center; }
.muted { color: var(--muted); } .small { font-size: .875rem; } .strong { font-weight: 700; } .num { text-align: right; font-variant-numeric: tabular-nums; }
.eyebrow { color: var(--accent-dark); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .8rem; }
.lead { font-size: 1.15rem; color: var(--muted); }
.icon { flex: none; vertical-align: -0.2em; }
ul.plain, .list, .card-grid, .steps, .thread, .stat-grid, .gallery, .solution-list, .chips { list-style: none; margin: 0; padding: 0; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45em; padding: .65em 1.2em; border-radius: 12px; border: 1px solid transparent; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s; min-height: 44px; white-space: nowrap; }
.btn-sm { padding: .35em .85em; min-height: 36px; font-size: .9rem; border-radius: 10px; } .btn-lg { padding: .8em 1.6em; font-size: 1.05rem; } .btn-block { width: 100%; }
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: 0 6px 18px rgba(22,111,242,.32); } .btn-primary:hover { background: linear-gradient(135deg, #2A7BFF, #1A63E6); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(22,111,242,.4); }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--border); } .btn-ghost:hover { background: #eef4ff; border-color: #c7dbf8; color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); box-shadow: 0 8px 22px rgba(3,16,36,.25); } .btn-light:hover { background: #eef4ff; color: var(--navy); transform: translateY(-1px); }
.btn-outline-light { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.4); } .btn-outline-light:hover { background: rgba(255,255,255,.16); color: #fff; border-color: #fff; }
.btn[disabled], .btn.is-loading { opacity: .7; cursor: progress; }
.inline-form { display: inline-flex; gap: 6px; align-items: center; margin: 0; }

/* header */
.site-header { background: rgba(255,255,255,.9); -webkit-backdrop-filter: saturate(1.5) blur(14px); backdrop-filter: saturate(1.5) blur(14px); border-bottom: 1px solid rgba(223,231,241,.9); position: sticky; top: 0; z-index: 50; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--navy); font-weight: 800; font-size: 1.12rem; letter-spacing: -.01em; white-space: nowrap; }
.brand-logo { width: 40px; height: 40px; border-radius: 12px; flex: none; box-shadow: 0 4px 14px rgba(22,111,242,.35); }
.nav-toggle { display: inline-flex; border: 1px solid var(--border); background: #fff; border-radius: 12px; padding: 9px; cursor: pointer; color: var(--navy); }
.site-nav { display: none; position: absolute; left: 0; right: 0; top: 68px; background: #fff; border-bottom: 1px solid var(--border); padding: 12px 18px 18px; box-shadow: var(--shadow-lg); }
.site-nav.open { display: block; }
.site-nav ul { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.site-nav a { text-decoration: none; }
.site-nav ul a { display: block; padding: 10px 12px; color: var(--navy); font-weight: 600; border-radius: 10px; white-space: nowrap; transition: background .2s, color .2s; }
.site-nav ul a:hover { background: #eef4ff; color: var(--accent-dark); }
.site-nav ul a[aria-current="page"] { color: var(--accent-dark); background: #e5f0ff; }
.nav-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.lang-switch { display: inline-flex; align-items: center; padding: .3em .75em; border: 1px solid var(--border); border-radius: 999px; font-weight: 700; color: var(--navy); text-decoration: none; font-size: .85rem; background: #fff; white-space: nowrap; transition: border-color .2s, background .2s; }
.lang-switch:hover { border-color: #b7cdf0; background: #eef4ff; }
/* the header spans the whole window: logo at the far left, language / sign-in / quote buttons at the far right */
.site-header > .header-row { max-width: none; padding-left: clamp(18px, 3vw, 44px); padding-right: clamp(18px, 3vw, 44px); }
/* below this width (phones, iPad portrait and landscape) the menu folds into the button: the header never wraps.
   Signed in, the header carries two more buttons (admin / my account / sign out), so the open layout starts later (1440px) for those people. */
@media (min-width: 1240px) {
  .site-header:not(.signed-in) .nav-toggle { display: none; }
  .site-header:not(.signed-in) .site-nav { display: flex !important; flex: 1; justify-content: space-between; margin-left: 28px; position: static; border: 0; box-shadow: none; padding: 0; gap: 14px; align-items: center; background: transparent; }
  .site-header:not(.signed-in) .site-nav ul { flex-direction: row; margin: 0; } .site-header:not(.signed-in) .site-nav ul a { padding: 8px 12px; }
}
@media (min-width: 1440px) {
  .site-header.signed-in .nav-toggle { display: none; }
  .site-header.signed-in .site-nav { display: flex !important; flex: 1; justify-content: space-between; margin-left: 28px; position: static; border: 0; box-shadow: none; padding: 0; gap: 14px; align-items: center; background: transparent; }
  .site-header.signed-in .site-nav ul { flex-direction: row; margin: 0; } .site-header.signed-in .site-nav ul a { padding: 8px 12px; }
}

/* hero: deep-sea gradient, whale illustration, drifting waves */
.hero { position: relative; color: #fff; overflow: hidden; padding: 52px 0 120px;
  background: radial-gradient(900px 480px at 82% 12%, rgba(22,119,255,.38), transparent 62%), radial-gradient(640px 380px at 4% 96%, rgba(56,189,248,.2), transparent 62%), var(--grad-deep); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 26px 26px; -webkit-mask-image: linear-gradient(to bottom, #000 10%, transparent 80%); mask-image: linear-gradient(to bottom, #000 10%, transparent 80%); }
.hero-glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -120px; top: -140px; background: radial-gradient(circle, rgba(56,189,248,.28), transparent 65%); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 28px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.35rem); font-weight: 800; line-height: 1.18; margin-bottom: .45em; text-shadow: 0 2px 24px rgba(3,16,36,.35); }
.hero .lead { color: rgba(226,238,255,.9); max-width: 52ch; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #F3D58E; background: rgba(8,24,46,.72); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); border: 1px solid rgba(212,162,74,.45); padding: .3em .85em .3em .5em; border-radius: 999px; margin-bottom: 18px; font-size: .78rem; }
.hero .eyebrow img { border-radius: 6px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { display: inline-flex; align-items: center; gap: 7px; padding: .38em .85em; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(212,162,74,.28); color: #dcebff; font-size: .88rem; font-weight: 500; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.chips .icon { color: #E8C373; }

/* hero artwork: static/img/sea-scene.svg (self-contained, animated: gold dial, a whale swimming across the whole width, under-the-sea floor), shared with the other systems from brand/ */
.hero-sea { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-sea img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 76% center; }
.hero-sea::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,20,39,.9) 0%, rgba(6,20,39,.72) 28%, rgba(6,20,39,.18) 56%, transparent 74%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, transparent 26%, #000 50%); mask-image: linear-gradient(180deg, transparent 0, transparent 26%, #000 50%); }   /* the text sits low: keep the top band clear so the whale is seen at full brightness */
@media (max-width: 899px) { .hero-sea::after { background: linear-gradient(180deg, rgba(6,20,39,.5), rgba(6,20,39,.82)); -webkit-mask-image: none; mask-image: none; } }
.waves { position: absolute; left: 0; right: 0; bottom: -1px; height: 84px; overflow: hidden; pointer-events: none; z-index: 2; }
.wave { position: absolute; left: 0; bottom: 0; width: 200%; max-width: none; height: 100%; }
.wave-a { fill: var(--bg); animation: drift 28s linear infinite; }
.wave-b { fill: rgba(245,248,252,.4); animation: drift 40s linear infinite reverse; }
@keyframes drift { to { transform: translateX(-50%); } }
@media (min-width: 900px) { .hero { padding: 90px 0 130px; min-height: 680px; display: flex; align-items: center; } .hero-grid { width: 100%; } }

/* sections and cards */
.section { padding: 56px 0; } .section-alt { background: linear-gradient(180deg, #eaf1fb, #f2f7fd); }
.section h2.titled::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 4px; margin-top: 12px; background: var(--grad-glow); }
.section-lead { color: var(--muted); max-width: 62ch; margin-top: 10px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 8px; }
.section-head h2 { margin-bottom: 0; }

/* inner-page banner */
.page-head { position: relative; overflow: hidden; color: #fff; padding: 40px 0 76px; background: linear-gradient(90deg, rgba(6,20,39,.94) 0%, rgba(6,20,39,.7) 45%, rgba(6,20,39,.18) 80%), url("../img/sea-scene.svg") 76% 52% / cover no-repeat, var(--grad-deep); }
.page-head::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 24px 24px; -webkit-mask-image: linear-gradient(to bottom, #000, transparent 90%); mask-image: linear-gradient(to bottom, #000, transparent 90%); }
.page-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 44px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath fill='%23F5F8FC' d='M0 34C240 74 480-6 720 34S1200 74 1440 34V60H0Z'/%3E%3C/svg%3E") no-repeat bottom / 100% 100%; }
.page-head > .container { position: relative; z-index: 1; }
.page-head h1 { color: #fff; margin-bottom: .3em; } .page-head .lead { color: rgba(226,238,255,.9); max-width: 64ch; margin-bottom: 0; } .page-head .muted { color: #bbd3f2; }
.crumbs { font-size: .9rem; color: #bbd3f2; margin-bottom: 8px; } .crumbs a { color: #fff; }

.card-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); margin-top: 22px; }
.card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); transition: border-color .25s, translate .25s, box-shadow .25s; overflow: hidden; }
.card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad-glow); opacity: 0; transition: opacity .25s; }
.card:hover { border-color: #b7d3fb; translate: 0 -5px; box-shadow: var(--shadow-lg); } .card:hover::before { opacity: 1; }
.card h2, .card h3 { margin-bottom: .4em; font-size: 1.12rem; } .card p:last-child { margin-bottom: 0; } .card p { color: #4b5d7a; }
.card .stretched { color: var(--navy); text-decoration: none; } .card .stretched::after { content: ""; position: absolute; inset: 0; }
.card:has(.stretched) { padding-bottom: 46px; }
.card:has(.stretched)::after { content: "\2192"; position: absolute; right: 20px; bottom: 14px; font-weight: 700; color: var(--accent); opacity: 0; transform: translateX(-8px); transition: opacity .25s, transform .25s; }
.card:has(.stretched):hover::after { opacity: 1; transform: none; }
.numbered { counter-reset: n; } .numbered > li { counter-increment: n; }
.numbered > li > .card-icon::after { content: counter(n, decimal-leading-zero); position: absolute; top: 20px; right: 22px; font-size: .78rem; font-weight: 800; letter-spacing: .06em; color: #b3c5df; }
.card-icon { position: static; display: inline-flex; width: 52px; height: 52px; border-radius: 15px; background: linear-gradient(145deg, #eaf3ff, #d5e6ff); color: var(--accent-dark); align-items: center; justify-content: center; margin-bottom: 14px; transition: background .25s, color .25s, transform .25s; box-shadow: inset 0 0 0 1px rgba(22,119,255,.12); }
.card:hover .card-icon { background: var(--grad-brand); color: #fff; transform: scale(1.06) rotate(-3deg); }
.card-icon.big { width: 72px; height: 72px; border-radius: 20px; background: var(--ok-bg); color: var(--ok); }
.card-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; margin-bottom: 12px; background: linear-gradient(145deg, #eef4fc, #dfeafa); display: flex; align-items: center; justify-content: center; color: #8ea2c0; }
.card-img.large { aspect-ratio: 16 / 9; margin-bottom: 16px; }
.price { font-weight: 700; color: var(--navy); } .price.large { font-size: 1.7rem; }
.steps { display: grid; gap: 18px; grid-template-columns: 1fr; counter-reset: s; margin-top: 24px; }
.steps li { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.step-n { display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; border-radius: 50%; background: var(--grad-glow); color: #fff; font-weight: 800; font-size: 1.15rem; margin-bottom: 12px; box-shadow: 0 8px 18px rgba(22,119,255,.3); }
.steps p { margin-bottom: 0; color: #4b5d7a; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } .steps li:not(:last-child)::after { content: ""; position: absolute; top: 44px; left: calc(22px + 46px + 10px); right: -20px; height: 0; border-top: 2px dashed #b7cdf0; } }
.cta-band { position: relative; overflow: hidden; color: #fff; padding: 64px 0; min-height: 260px; display: flex; align-items: center; background: linear-gradient(90deg, rgba(6,20,39,.94) 0%, rgba(6,20,39,.62) 50%, rgba(6,20,39,.2) 85%), url("../img/sea-scene.svg") 76% 50% / cover no-repeat, #0B2A55; }
.cta-band h2, .cta-band p { color: #fff; margin: 0 0 .3em; } .cta-band p { color: rgba(226,238,255,.9); }
.cta-inner { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.solution-list { display: grid; gap: 16px; }
.solution { display: grid; grid-template-columns: auto 1fr; gap: 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; align-items: start; box-shadow: var(--shadow); transition: translate .25s, box-shadow .25s, border-color .25s; }
.solution:hover { translate: 0 -3px; box-shadow: var(--shadow-lg); border-color: #b7d3fb; }
.solution .btn { grid-column: 1 / -1; justify-self: start; }
@media (min-width: 720px) { .solution { grid-template-columns: auto 1fr auto; align-items: center; } .solution .btn { grid-column: auto; } }
.detail-grid { display: grid; gap: 28px; } .two-col { display: grid; gap: 28px; }
@media (min-width: 900px) { .detail-grid { grid-template-columns: 1fr 340px; } .two-col { grid-template-columns: 1fr 1fr; } }
.side-card, .panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); margin-bottom: 18px; align-self: start; }
.prose { max-width: 70ch; } .prose h2, .prose h3 { margin-top: 1.4em; } .prose ul { padding-left: 1.2em; } .prose li { margin-bottom: .3em; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 0 0 1em; } .facts dt { color: var(--muted); } .facts dd { margin: 0; }
.facts.inline { display: flex; flex-wrap: wrap; gap: 10px 32px; } .facts.inline > div { display: flex; flex-direction: column; gap: 2px; } .facts.inline dt { font-size: .85rem; }
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin-bottom: 22px; } .gallery img { border-radius: 14px; width: 100%; height: auto; box-shadow: var(--shadow); }
.spec-table { border-collapse: collapse; width: 100%; max-width: 640px; } .spec-table th, .spec-table td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--border); } .spec-table th { width: 40%; color: var(--muted); font-weight: 600; }
.empty { background: #fff; border: 1px dashed #c3d3ea; border-radius: var(--radius); padding: 34px; text-align: center; color: var(--muted); }

/* scroll-in animation where the browser supports scroll-driven animations; everything stays visible elsewhere */
@keyframes reveal { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@supports (animation-timeline: view()) {
  .card-grid > li, .steps > li, .solution, .section-head, .stat { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% cover 26%; }
}

/* forms */
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); margin-bottom: 20px; }
.form-grid { display: grid; gap: 0 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.field { margin-bottom: 16px; display: block; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 600; margin-bottom: 6px; padding: 0; }
.field .opt { color: var(--muted); font-weight: 400; font-size: .85em; } .req { color: var(--bad); }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=search], input[type=date], input:not([type]), select, textarea {
  width: 100%; padding: .65em .85em; font: inherit; color: var(--text); background: #fff; border: 1px solid #b9c7dc; border-radius: 12px; min-height: 46px; transition: border-color .2s, box-shadow .2s; }
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 4px rgba(22,119,255,.18); }
input[type=file] { width: 100%; padding: 10px; border: 1px dashed #b9c7dc; border-radius: 12px; background: #f8fbff; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--bad); }
.hint { color: var(--muted); font-size: .875rem; margin: 4px 0 0; } .error { color: var(--bad); font-size: .9rem; margin: 6px 0 0; font-weight: 600; }
.check, .radio { display: inline-flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; } .check input, .radio input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--accent); }
.radio-row { display: flex; flex-wrap: wrap; gap: 16px; } .check-grid { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.alert { padding: 12px 16px; border-radius: 12px; margin: 0 0 16px; border: 1px solid transparent; font-weight: 500; }
.alert-ok { background: var(--ok-bg); color: var(--ok); border-color: #bfe6d0; } .alert-warn { background: var(--warn-bg); color: var(--warn); border-color: #f3d9a8; } .alert-error { background: var(--bad-bg); color: var(--bad); border-color: #f3c0bb; }
.filters { display: grid; gap: 0 16px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); align-items: end; margin-bottom: 20px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.filters.inline { padding: 12px 16px; } .filter-actions { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.catalog { display: grid; gap: 22px; } @media (min-width: 1000px) { .catalog { grid-template-columns: 260px 1fr; align-items: start; } .catalog .filters { grid-template-columns: 1fr; position: sticky; top: 88px; } }
.pager { display: flex; gap: 12px; align-items: center; justify-content: center; margin: 24px 0; }

/* tables, badges, lists, threads */
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 20px; box-shadow: var(--shadow); }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; } .table th, .table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.table thead th { background: #f3f7fc; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; } .table tbody tr:last-child td, .table tbody tr:last-child th { border-bottom: 0; }
.table tbody tr:hover td, .table tbody tr:hover th { background: #fafcff; }
.table td.num, .table th.num { text-align: right; } .table .actions { white-space: nowrap; }
.table input { min-height: 36px; padding: .35em .5em; }
.badge { display: inline-block; padding: 1px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: #eaf0f8; color: var(--navy); margin: 0 4px; }
.badge-q-new, .badge-t-open { background: #e5f0ff; color: #0b57c9; } .badge-q-reviewing, .badge-t-in_progress, .badge-t-assigned { background: #fff2dc; color: var(--warn); } .badge-q-need_info, .badge-t-waiting_customer { background: #fde9d6; color: #9a4a00; }
.badge-q-quoted { background: #e7e9ff; color: #3b3fb3; } .badge-q-approved, .badge-t-resolved { background: var(--ok-bg); color: var(--ok); } .badge-q-rejected, .badge-p-critical { background: var(--bad-bg); color: var(--bad); }
.badge-q-closed, .badge-t-closed, .badge-p-low { background: #eaf0f8; color: #5b6b85; } .badge-p-high { background: #fde9d6; color: #9a4a00; } .badge-p-normal { background: #e5f0ff; color: #0b57c9; }
.list li { padding: 8px 0; border-bottom: 1px solid var(--border); } .list li:last-child { border-bottom: 0; }
.stat-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: 16px 0 24px; }
.stat { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; border-top: 3px solid #b7d3fb; } .stat-n { font-size: 2rem; font-weight: 800; color: var(--navy); line-height: 1.1; } .stat-l { color: var(--muted); font-size: .9rem; }
.thread { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.msg { border: 1px solid var(--border); border-radius: 14px; padding: 10px 14px; background: #fff; max-width: 85%; } .msg.mine { align-self: flex-end; background: #eaf3ff; } .msg.internal { background: #fff8e6; border-color: #f3d9a8; max-width: 100%; }
.msg-meta { font-size: .8rem; color: var(--muted); margin: 0 0 4px; } .msg p:last-child { margin-bottom: 0; white-space: pre-wrap; }
details.panel summary { cursor: pointer; font-weight: 600; } .bilingual { border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px 0; margin: 0 0 16px; } .bilingual legend { padding: 0 6px; font-weight: 700; }
.qr { max-width: 220px; margin: 12px 0; } .qr svg { width: 100%; height: auto; }

/* footer */
.site-footer { color: #cfe0f7; margin-top: 0; padding-top: 44px; background: linear-gradient(180deg, #0B2A55, #061427); border-top: 3px solid #1677FF; border-image: linear-gradient(90deg, #1677FF, #38BDF8, #1677FF) 1; }
.site-footer a { color: #e6f0ff; text-decoration-color: rgba(230,240,255,.35); } .site-footer a:hover { color: #fff; text-decoration-color: var(--sky); }
.footer-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.footer-brand { display: flex; align-items: center; gap: 12px; font-size: 1.2rem; font-weight: 800; color: #fff; margin: 0 0 10px; }
.footer-title { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: #8fb3e6; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding: 16px 18px; font-size: .875rem; } .site-footer .muted { color: #9fb7da; }
.site-footer ul.plain li { padding: 3px 0; }

/* app shells (portal, admin) */
.app-shell { display: grid; gap: 22px; padding-top: 26px; padding-bottom: 28px; }
.app-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; } .app-nav a { display: flex; gap: 8px; align-items: center; padding: 10px 13px; border-radius: 12px; text-decoration: none; color: var(--navy); font-weight: 600; background: #fff; border: 1px solid var(--border); transition: background .2s, border-color .2s; }
.app-nav a:hover { background: #eef4ff; border-color: #b7d3fb; }
.app-nav a[aria-current="page"] { background: var(--grad-brand); color: #fff; border-color: transparent; box-shadow: 0 6px 16px rgba(22,111,242,.3); }
@media (min-width: 960px) { .app-shell { grid-template-columns: 236px 1fr; align-items: start; } .app-nav { position: sticky; top: 88px; } .app-nav ul { flex-direction: column; flex-wrap: nowrap; } }
.app-content { min-width: 0; } .admin-header { background: linear-gradient(90deg, #061427, #0B2A55); border-bottom-color: rgba(255,255,255,.08); }
.admin-header .brand, .admin-header .lang-switch, .admin-header .btn-ghost { color: #fff; } .admin-header .lang-switch, .admin-header .btn-ghost { border-color: rgba(255,255,255,.25); background: transparent; }
.admin-header .btn-ghost:hover, .admin-header .lang-switch:hover { background: rgba(255,255,255,.12); color: #fff; }
.admin-gallery li { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }

/* sign in / register: split screen */
.auth-page { background: var(--surface); }
.auth-split { min-height: 100vh; display: flex; flex-direction: column; }
.auth-panel { flex: 1; display: flex; align-items: center; justify-content: center; padding: 28px 18px; background: linear-gradient(180deg, #fff, #f5f9ff); }
.auth-inner { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 22px; }
.auth-top { display: flex; align-items: center; justify-content: space-between; }
.auth-head h1 { font-size: 1.75rem; margin-bottom: .25em; } .auth-head p { margin: 0; }
.auth-form .field { margin-bottom: 14px; } .auth-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 18px; flex-wrap: wrap; }
.auth-foot { text-align: center; color: var(--muted); font-size: .95rem; margin: 0; }
.auth-art { display: none; position: relative; background: var(--deep); }
.auth-art img { width: 100%; height: 100%; object-fit: cover; object-position: 76% center; display: block; }
.auth-art-fade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,20,39,.45), transparent 55%); }
@media (min-width: 900px) { .auth-split { flex-direction: row; } .auth-panel { flex: 0 0 50%; } .auth-art { display: block; flex: 1; } }
.spinner { display: none; width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.stagger > * { animation: rise .5s ease both; } .stagger > *:nth-child(2) { animation-delay: .08s; } .stagger > *:nth-child(3) { animation-delay: .16s; } .stagger > *:nth-child(4) { animation-delay: .24s; } .stagger > *:nth-child(5) { animation-delay: .32s; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* print (quotation) */
.print-doc { background: #fff; padding: 28px; margin: 24px auto; border: 1px solid var(--border); border-radius: 8px; }
@media print { body { background: #fff; } .no-print, .site-header, .site-footer, .skip-link { display: none !important; } .print-doc { border: 0; margin: 0; padding: 0; } }

/* touch screens: breadcrumb and small text links get a finger-sized target */
@media (pointer: coarse) { .crumbs a { display: inline-block; padding: 10px 4px; } .site-footer a { display: inline-block; padding: 6px 0; } }

/* Whale Hub links in the header (only when SITE_HUB_URL is set) */
.btn-gold { background: linear-gradient(135deg, #F3D58E, #D9A94F); color: #3b2a07; border-color: transparent; font-weight: 700; }
.btn-gold:hover { filter: brightness(1.05); }

/* packages page: a CSS-only month/year switch (no script), cards, notes */
.pkg-wrap { position: relative; } .pkg-radio { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.pkg-toggle { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--border, #d6e0ef); border-radius: 999px; background: #fff; margin: 0 0 20px; }
.pkg-toggle label { padding: 8px 18px; border-radius: 999px; cursor: pointer; font-weight: 600; color: var(--navy, #0B1F3A); }
#pkg-month:checked ~ .pkg-toggle label[for="pkg-month"], #pkg-year:checked ~ .pkg-toggle label[for="pkg-year"] { background: var(--navy, #0B1F3A); color: #fff; }
#pkg-month:focus-visible ~ .pkg-toggle label[for="pkg-month"], #pkg-year:focus-visible ~ .pkg-toggle label[for="pkg-year"] { outline: 3px solid #D9A94F; outline-offset: 2px; }
#pkg-year:checked ~ .pkg-grid .pkg-m, #pkg-month:checked ~ .pkg-grid .pkg-y { display: none; }
.pkg-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); align-items: stretch; }
.pkg { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border, #d6e0ef); border-top: 4px solid var(--navy, #0B1F3A); border-radius: 16px; padding: 22px 20px; box-shadow: 0 10px 28px rgba(11,31,58,.07); }
.pkg.pkg-free { border-top-color: #D9A94F; } .pkg h2 { font-size: 1.25rem; margin: 0 0 6px; } .pkg h3 { font-size: .95rem; margin: 14px 0 6px; color: #51627f; }
.pkg-price { margin: 0; font-size: 1.05rem; color: #51627f; } .pkg-price b { font-size: 1.9rem; color: var(--navy, #0B1F3A); } .pkg-save { min-height: 1.4em; margin: 0 0 6px; color: #15803d; font-weight: 600; font-size: .9rem; }
.pkg-desc { color: #51627f; } .pkg-list { list-style: none; margin: 0; padding: 0; } .pkg-list li { display: flex; gap: 8px; align-items: flex-start; padding: 3px 0; }
.pkg-list svg { color: #15803d; flex: none; margin-top: 3px; } .pkg-limits { margin: 0; flex: 1; } .pkg-limits div { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-bottom: 1px dashed var(--border, #d6e0ef); }
.pkg-limits dt { color: #51627f; } .pkg-limits dd { margin: 0; font-weight: 700; text-align: right; }
.pkg-cta { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; } .pkg-cta .btn { width: 100%; justify-content: center; text-align: center; }
.pkg-notice { background: #fff7e0; border: 1px solid #f1d78a; border-radius: 12px; padding: 12px 16px; margin: 0 0 18px; }
.pkg-info { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; margin-top: 34px; } .pkg-steps { padding-left: 20px; } .pkg-steps li { margin: 6px 0; } .pkg-notes { margin: 0; padding-left: 18px; color: #51627f; } .pkg-notes li { margin: 8px 0; } .pkg-info > :only-child { grid-column: 1 / -1; }
.pkg-teaser .section-head { align-items: center; }
@media (max-width: 800px) { .pkg-info { grid-template-columns: 1fr; } .pkg-grid { grid-template-columns: 1fr; } }
.pkg-limits .lim-server { flex-direction: column; gap: 2px; } .pkg-limits .lim-server dd { text-align: left; }

/* admin header on a phone: brand, language, "view site" and "sign out" do not fit on one row - the buttons drop under the brand instead of pushing the page wider */
@media (max-width: 640px) {
  .admin-header .header-row { flex-wrap: wrap; row-gap: 6px; padding-top: 8px; padding-bottom: 8px; min-height: 0; }
  .admin-header .nav-actions { flex: 1 1 100%; justify-content: flex-end; min-width: 0; }
}

/* header on laptops: one more menu item (Packages) must still fit on ONE row - tighter spacing between 1200 and 1500px, and the right-hand buttons never wrap */
@media (min-width: 1240px) { .site-header:not(.signed-in) .nav-actions { flex-wrap: nowrap; white-space: nowrap; flex-shrink: 0; } .site-header:not(.signed-in) .site-nav ul { flex-wrap: nowrap; } .admin-header .nav-actions { flex-wrap: nowrap; white-space: nowrap; } }
@media (min-width: 1440px) { .site-header.signed-in .nav-actions { flex-wrap: nowrap; white-space: nowrap; flex-shrink: 0; } .site-header.signed-in .site-nav ul { flex-wrap: nowrap; } }
@media (min-width: 1240px) and (max-width: 1499px) {
  .site-header:not(.signed-in) .site-nav { margin-left: 10px; gap: 8px; }
  .site-header:not(.signed-in) .site-nav ul a { padding: 8px 7px; font-size: .9rem; }
  .site-header:not(.signed-in) .nav-actions { gap: 6px; } .site-header:not(.signed-in) .nav-actions .btn-sm { padding-left: .8em; padding-right: .8em; font-size: .85rem; }
  .site-header:not(.signed-in) .brand-name { font-size: 1.02rem; }
}
@media (min-width: 1440px) and (max-width: 1759px) {
  .site-header.signed-in .site-nav { margin-left: 10px; gap: 8px; }
  .site-header.signed-in .site-nav ul a { padding: 8px 7px; font-size: .9rem; }
  .site-header.signed-in .nav-actions { gap: 6px; } .site-header.signed-in .nav-actions .btn-sm { padding-left: .8em; padding-right: .8em; font-size: .85rem; }
  .site-header.signed-in .brand-name { font-size: 1.02rem; }
}

/* product comparison */
.compare-toggle { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: .4em; margin-top: 4px; padding: 6px 10px; min-height: 36px; border: 1px solid var(--border); border-radius: 10px; background: #fff; color: var(--navy); font-size: .9rem; font-weight: 600; text-decoration: none; }
.compare-toggle:hover { background: #eef4ff; border-color: #c7dbf8; color: var(--navy); }
.compare-toggle.is-on, .compare-toggle-block.is-on { background: #e8f1ff; border-color: var(--accent); color: var(--accent-dark); }
.compare-toggle-block { margin-top: 10px; }
.compare-tray { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--navy); color: #fff; box-shadow: 0 -10px 30px rgba(6,20,39,.25); padding: 10px 0; }
.compare-tray[hidden] { display: none; }
.compare-tray-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.compare-tray-text { margin: 0; } .compare-tray-text .small { color: #bbd3f2; }
.compare-tray-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; flex: 1 1 320px; min-width: 0; }
.compare-tray-list li { display: inline-flex; align-items: center; gap: 4px; max-width: 240px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: 2px 4px 2px 12px; font-size: .88rem; }
.compare-tray-list li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.compare-tray-list button { border: 0; background: transparent; color: #fff; cursor: pointer; width: 32px; height: 32px; border-radius: 50%; font-size: 1.1rem; line-height: 1; }
.compare-tray-list button:hover { background: rgba(255,255,255,.16); }
.compare-tray-actions { display: flex; gap: 8px; margin-left: auto; }
body.has-compare-tray { padding-bottom: 96px; }
@media (max-width: 639px) { .compare-tray-list { display: none; } .compare-tray-actions { margin-left: 0; width: 100%; } .compare-tray-actions .btn { flex: 1; } body.has-compare-tray { padding-bottom: 120px; } }

.compare-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.compare-toolbar p { margin: 0; }
.compare-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.compare-add { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px 0; margin-bottom: 18px; }
.compare-add .field { flex: 1 1 260px; }
.compare-add select { width: 100%; }
.compare-note { display: flex; align-items: center; gap: 8px; background: #eef4ff; border: 1px solid #c7dbf8; border-radius: 12px; padding: 10px 14px; color: var(--navy); }
.compare-legend { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--muted); }
.compare-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #F5B300; flex: none; }
.compare-empty-btn { margin-top: 14px; }

.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-size: .95rem; }
.compare-table.cols-1 { min-width: 420px; } .compare-table.cols-2 { min-width: 560px; } .compare-table.cols-3 { min-width: 760px; } .compare-table.cols-4 { min-width: 960px; }
.compare-table th, .compare-table td { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); overflow-wrap: anywhere; }
.compare-table thead th, .compare-table tbody th[scope="row"] { position: sticky; left: 0; }
.compare-table .compare-corner, .compare-table tbody th[scope="row"] { width: 190px; background: #f7f9fd; color: var(--muted); font-weight: 600; z-index: 1; }
.compare-table thead th { position: static; vertical-align: bottom; background: #fff; }
.compare-table thead th.compare-corner { position: sticky; left: 0; }
.compare-table thead th.compare-product { position: relative; padding-top: 44px; }
.compare-product { position: relative; padding-top: 14px; }
.compare-product .card-img { margin-bottom: 10px; }
.compare-product .price { margin: 4px 0 10px; }
.compare-name { display: block; font-weight: 700; color: var(--navy); text-decoration: none; line-height: 1.35; }
.compare-name:hover { text-decoration: underline; }
.compare-remove { position: absolute; top: 6px; right: 6px; z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 1px solid var(--border); color: var(--muted); box-shadow: var(--shadow); }
.compare-remove:hover { color: var(--bad); border-color: var(--bad); }
.compare-group th { background: #eef3fa; color: var(--navy); font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; position: static; }
.compare-table tr.is-diff td { background: #fffbea; }
.compare-table tr.is-diff th[scope="row"]::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: #F5B300; vertical-align: middle; }
.compare-missing { color: #98a5ba; font-style: italic; }
@media (max-width: 639px) { .compare-table .compare-corner, .compare-table tbody th[scope="row"] { width: 120px; } .compare-table th, .compare-table td { padding: 8px 10px; } }
@media print {
  .compare-tray, .compare-toolbar .compare-actions, .compare-add, .compare-remove, .compare-product .btn, .page-head::after { display: none !important; }
  body.has-compare-tray { padding-bottom: 0; }
  .page-head { background: none !important; color: #000; padding: 0 0 10px; } .page-head h1, .page-head .lead, .crumbs, .crumbs a { color: #000; }
  .compare-wrap { overflow: visible; box-shadow: none; } .compare-table { min-width: 0 !important; font-size: 10pt; }
  .compare-table th, .compare-table td { position: static !important; }
  .compare-table tr { break-inside: avoid; }
  .compare-table tr.is-diff td { background: #fff3c4 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
/* resources: support center, knowledge center, FAQ, blog */
.h3 { font-size: 1.1rem; }
.section-title { margin: 0 0 4px; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; }
.tabs a { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--border); background: #fff; color: var(--navy); text-decoration: none; font-size: .9rem; font-weight: 600; }
.tabs a[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.link-list li { padding: 8px 0; border-bottom: 1px solid var(--border); } .link-list li:last-child { border-bottom: 0; }
.link-list a { display: inline-flex; align-items: flex-start; gap: 8px; text-decoration: none; color: var(--navy); font-weight: 500; }
.link-list a:hover { color: var(--accent-dark); text-decoration: underline; }
.tag-chip { display: inline-block; padding: 1px 10px; margin-right: 8px; border-radius: 999px; background: #eaf2ff; color: var(--accent-dark); font-weight: 600; font-size: .78rem; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-bottom: 6px; }
.article-cover { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: var(--radius); margin-bottom: 22px; box-shadow: var(--shadow); }
.empty-action, .side-gap { margin-top: 12px; }
.support-search { display: flex; gap: 10px; margin-top: 22px; max-width: 640px; }
.support-search input { flex: 1; min-width: 0; padding: .75em 1em; border-radius: 12px; border: 1px solid rgba(255,255,255,.35); font: inherit; font-size: 1rem; }
.support-results { margin-bottom: 34px; } .support-results h3 { margin-top: 18px; }
.support-grid { margin-bottom: 30px; } .support-grid .card-title { font-size: 1.05rem; }
.support-lists { margin-bottom: 24px; }
.contact-list li { display: flex; align-items: center; gap: 10px; padding: 4px 0; }
.faq-group { margin-bottom: 28px; } .faq-group h2 { font-size: 1.15rem; margin-bottom: 10px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 10px; box-shadow: 0 1px 2px rgba(11,31,58,.04); }
.faq-item summary { cursor: pointer; padding: 14px 44px 14px 18px; font-weight: 600; color: var(--navy); list-style: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.3rem; color: var(--accent); font-weight: 400; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item summary:focus-visible { outline-offset: -3px; }
.faq-item .prose { padding: 0 18px 14px; color: var(--text); }
.faq-item:target { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(22,119,255,.15); }
.cta-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 28px; padding: 18px 20px; border-radius: var(--radius); background: #eef4ff; border: 1px solid #c7dbf8; }
.cta-strip p { margin: 0; }
@media (max-width: 639px) { .support-search { flex-direction: column; } .support-search .btn { width: 100%; } }

/* ── theme v2: professional deep-sea ──────────────────────────────────────────
   Same navy / ocean identity, calmer surfaces: solid buttons, light shadows, no bouncing cards, the sea artwork only as a faint texture in the home hero.
   Everything above stays as the base; this block only refines it, so removing it restores the previous look. */
:root {
  --radius: 12px;
  --brand: #1668E3; --brand-dark: #0F57C7; --ink-soft: #44546f;
  --shadow: 0 1px 2px rgba(11,31,58,.06), 0 4px 14px rgba(11,31,58,.05);
  --shadow-lg: 0 2px 6px rgba(11,31,58,.06), 0 14px 34px rgba(11,31,58,.10);
}
body { font-size: 16px; }
h1, h2, h3 { letter-spacing: -.015em; }
h2 { font-weight: 700; }

/* buttons: solid, quiet */
.btn { border-radius: 10px; font-weight: 600; }
.btn-primary { background: var(--brand); box-shadow: 0 1px 2px rgba(11,31,58,.18); }
.btn-primary:hover { background: var(--brand-dark); transform: none; box-shadow: 0 4px 12px rgba(22,104,227,.28); }
.btn-ghost:hover { background: #f2f6fc; border-color: #c3d3ea; }
.btn-light { box-shadow: none; } .btn-light:hover { transform: none; }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,.34); }
.btn-gold { background: transparent; border: 1px solid #C99A3E; color: #7a5810; font-weight: 600; }
.btn-gold:hover { background: #fff8e8; filter: none; color: #5f440b; }

/* header: white bar, underline for the current page */
.site-header { background: rgba(255,255,255,.96); border-bottom-color: #e3e9f2; }
.brand { font-weight: 700; }
.brand-logo { box-shadow: none; border-radius: 10px; }
.site-nav ul a { font-weight: 500; color: #24395c; }
@media (min-width: 1240px) {
  .site-header .site-nav ul a { position: relative; background: transparent !important; padding: 8px 11px; }
  .site-header .site-nav ul a:hover { color: var(--brand); }
  .site-header .site-nav ul a[aria-current="page"] { color: var(--brand); font-weight: 600; }
  .site-header .site-nav ul a[aria-current="page"]::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: -14px; height: 2px; background: var(--brand); border-radius: 2px; }
}
.lang-switch { border-radius: 8px; }

/* home hero: navy depth, fine grid, faint sea artwork, services panel */
.hero { padding: 56px 0 92px; min-height: 0; display: block;
  background: radial-gradient(760px 420px at 85% 0%, rgba(22,119,255,.30), transparent 65%), radial-gradient(520px 320px at 0% 100%, rgba(56,189,248,.12), transparent 60%), linear-gradient(160deg, #061427 0%, #0A2347 55%, #0C3266 100%); }
.hero::before { background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%); }
.hero-sea { opacity: .14; }
.hero-sea::after { display: none; }
.hero-glow { opacity: .55; }
.hero h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); font-weight: 700; line-height: 1.2; text-shadow: none; max-width: 20ch; }
.hero .lead { font-size: 1.1rem; color: rgba(214,228,248,.88); }
.hero .eyebrow { background: none; border: 0; padding: 0; color: #9cc3ff; letter-spacing: .1em; font-size: .78rem; -webkit-backdrop-filter: none; backdrop-filter: none; }
.hero .eyebrow::after { content: ""; width: 36px; height: 1px; background: rgba(156,195,255,.6); margin-left: 6px; }
.cta-row { margin: 26px 0 24px; }
.hero-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: rgba(225,236,252,.92); font-size: .98rem; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; } .hero-points .icon { color: #5CC8F5; margin-top: 3px; }
.hero-panel { background: rgba(9,28,56,.72); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 18px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 24px 60px rgba(3,10,24,.35); }
.hero-panel-title { margin: 0 0 8px; padding: 0 6px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #9cc3ff; }
.hero-panel ul { list-style: none; margin: 0; padding: 0; }
.hero-panel li + li { border-top: 1px solid rgba(255,255,255,.08); }
.hero-panel li a { display: flex; align-items: center; gap: 12px; padding: 11px 6px; color: #fff; text-decoration: none; font-weight: 500; border-radius: 10px; transition: background .2s; }
.hero-panel li a:hover { background: rgba(255,255,255,.06); }
.hero-panel li a > .icon:last-child { margin-left: auto; color: rgba(156,195,255,.7); }
.hp-icon { display: inline-flex; width: 36px; height: 36px; border-radius: 9px; align-items: center; justify-content: center; background: rgba(22,104,227,.22); color: #9cc3ff; flex: none; }
.hp-text { min-width: 0; }
.hero-panel-all { display: inline-flex; align-items: center; gap: 6px; margin: 12px 6px 2px; color: #9cc3ff; font-weight: 600; font-size: .92rem; text-decoration: none; }
.hero-panel-all:hover { color: #fff; }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 44px; fill: var(--bg); z-index: 2; }
@media (min-width: 900px) {
  .hero { padding: 84px 0 120px; min-height: 0; display: block; }
  .hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); gap: 56px; }
}

/* sections */
.section { padding: 72px 0; }
.section-alt { background: #EDF2F8; }
.kicker { margin: 0 0 8px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.section-lead { color: var(--ink-soft); }
.section-head { margin-bottom: 4px; }

/* cards: flat surface, subtle hover */
.card { border-radius: var(--radius); box-shadow: var(--shadow); }
.card::before { display: none; }
.card:hover { translate: 0 -2px; border-color: #a9c5ee; box-shadow: var(--shadow-lg); }
.card p { color: var(--ink-soft); }
.card-icon { width: 46px; height: 46px; border-radius: 10px; background: #EAF2FF; box-shadow: none; color: var(--brand); }
.card:hover .card-icon { background: var(--brand); color: #fff; transform: none; }
.numbered > li > .card-icon::after { color: #c2cfe2; font-weight: 700; }

/* why us */
.why-grid { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 18px; }
.why-grid li { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.why-grid h3 { font-size: 1.05rem; margin-bottom: .3em; } .why-grid p { margin: 0; color: var(--ink-soft); }
.why-icon { display: inline-flex; width: 46px; height: 46px; border-radius: 10px; align-items: center; justify-content: center; background: #0B2A55; color: #9cc3ff; flex: none; }
@media (min-width: 760px) { .why-grid { grid-template-columns: 1fr 1fr; } }

/* process */
.steps li { box-shadow: var(--shadow); border-top: 3px solid var(--brand); padding-top: 20px; }
.step-n { width: auto; height: auto; border-radius: 0; background: none; box-shadow: none; color: var(--brand); font-size: .95rem; letter-spacing: .08em; margin-bottom: 8px; }
.steps li::after { display: none !important; }
.steps p { color: var(--ink-soft); }

/* packages + support teaser */
.split-cards { display: grid; gap: 18px; }
.feature-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.feature-card h2 { margin: 6px 0 0; } .feature-card p { color: var(--ink-soft); margin: 0 0 6px; }
@media (min-width: 860px) { .split-cards { grid-template-columns: 1fr 1fr; } }

/* closing band: navy, no artwork */
.cta-band { min-height: 0; padding: 60px 0; background: radial-gradient(640px 300px at 92% 0%, rgba(22,119,255,.32), transparent 65%), linear-gradient(135deg, #0B2A55 0%, #061427 100%); }
.cta-band h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* inner-page banner: navy gradient + fine grid + wave edge (no artwork) */
.page-head { padding: 44px 0 72px; background: radial-gradient(620px 300px at 90% 0%, rgba(22,119,255,.28), transparent 65%), linear-gradient(160deg, #061427 0%, #0A2347 60%, #0C3266 100%); }
.page-head::before { background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 56px 56px; }
.page-head h1 { font-weight: 700; }
.crumbs { color: #9cc3ff; } .crumbs a { color: #d6e6ff; }

/* forms, tables and panels pick up the calmer radius */
.side-card, .panel, .form-card, .filters, .table-wrap, .empty { border-radius: var(--radius); }
.filters { box-shadow: var(--shadow); }

/* footer */
.site-footer { background: #061427; border-top: 0; border-image: none; padding-top: 52px; }
.footer-title { color: #7fa4d8; font-weight: 700; }
.footer-bottom { color: #8ba5c9; }

/* service packages (Admin > Service packages) on the Packages page */
.pkg-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pkg-jump a { padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.28); color: #e3eeff; text-decoration: none; font-size: .9rem; font-weight: 500; }
.pkg-jump a:hover { background: rgba(255,255,255,.1); color: #fff; }
.offer-section { scroll-margin-top: 80px; } #whale-plans { scroll-margin-top: 80px; }
.offer-kicker-icon { display: inline-flex; vertical-align: -3px; }
.offer-grid { margin-top: 22px; }
.offer { position: relative; border-top-color: #1668E3; }
.offer-featured { border-color: #1668E3; box-shadow: 0 0 0 1px #1668E3, 0 14px 34px rgba(22,104,227,.14); }
.offer-badge { position: absolute; top: -12px; right: 16px; margin: 0; display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; border-radius: 999px; background: #1668E3; color: #fff; font-size: .78rem; font-weight: 700; }
.pkg .offer-name { font-size: 1.2rem; color: var(--navy); margin: 0 0 6px; }
.offer-quote { font-size: 1.35rem !important; }
.offer-alt { margin: 0 0 4px; color: #51627f; font-size: .92rem; } .offer-year { font-size: 1.6rem; color: var(--navy); }
.offer-note { margin: 2px 0 8px; color: #6a7891; font-size: .85rem; }
.offer-specs { margin: 8px 0 12px; flex: 0 0 auto; }
.offer-features { margin-bottom: 8px; flex: 1; }
.offer-footnote { margin-top: 18px; color: #51627f; font-size: .9rem; max-width: 80ch; }
.cta-row-tight { display: flex; flex-wrap: wrap; gap: 8px; }
.offer-admin-group .section-head { margin-bottom: 12px; align-items: center; } .offer-admin-group .actions { display: flex; flex-wrap: wrap; gap: 6px; }
.offer-featured-check { margin: 0 0 16px; }

/* ── theme v3: premium marine technology ──────────────────────────────────────
   Palette: Deep Ocean #073B5C · Ocean Blue #087E9B · Technology Blue #087EBD · Electric Cyan #20C9E8 · Aqua #65DDE8 · Pearl #F5FCFF · Light Ocean #E5F5FC · Navy text #102B4E.
   Glass surfaces are used on the dark ocean areas (hero, page heads, closing band) and sparingly on light sections; body text always sits on solid, high-contrast surfaces.
   Removing this block returns the site to theme v2. */
:root {
  --deep-ocean: #073B5C; --ocean-blue: #087E9B; --tech-blue: #087EBD; --cyan: #20C9E8; --aqua: #65DDE8; --pearl: #F5FCFF; --light-ocean: #E5F5FC; --navy-text: #102B4E;
  --abyss: #03192B;
  --navy: var(--navy-text); --navy-2: var(--deep-ocean); --accent: var(--tech-blue); --accent-dark: #06679A; --brand: var(--tech-blue); --brand-dark: #066BA1; --sky: var(--aqua);
  --bg: var(--pearl); --surface: #FFFFFF; --text: var(--navy-text); --muted: #4A6582; --ink-soft: #3F5A77; --border: #D4E8F2;
  --grad-ocean: linear-gradient(135deg, #087EBD 0%, #087E9B 100%);
  --grad-abyss: linear-gradient(165deg, #021626 0%, #073B5C 52%, #08627F 100%);
  --glass: rgba(255,255,255,.08); --glass-border: rgba(255,255,255,.18); --glass-hi: rgba(255,255,255,.14);
  --radius: 16px; --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(7,59,92,.05), 0 6px 22px rgba(7,59,92,.07);
  --shadow-lg: 0 2px 6px rgba(7,59,92,.06), 0 22px 48px rgba(7,59,92,.13);
  --ease: cubic-bezier(.2,.7,.2,1);
}
body { background: var(--pearl); color: var(--text); }
a { color: var(--accent-dark); } a:hover { color: var(--deep-ocean); }
h1, h2, h3 { color: var(--navy-text); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 2.9vw, 2.15rem); }
.h3 { font-size: 1.12rem; }
:focus-visible { outline-color: rgba(32,201,232,.75); }
::selection { background: rgba(32,201,232,.28); }

/* buttons */
.btn { border-radius: 12px; transition: background .25s var(--ease), border-color .25s, color .2s, box-shadow .25s, transform .25s var(--ease); }
.btn-primary { background: var(--grad-ocean); color: #fff; box-shadow: 0 6px 18px rgba(8,126,189,.28), inset 0 1px 0 rgba(255,255,255,.18); }
.btn-primary:hover { background: linear-gradient(135deg, #0A8FD4, #08899F); color: #fff; box-shadow: 0 10px 26px rgba(8,126,189,.36), inset 0 1px 0 rgba(255,255,255,.22); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--navy-text); border-color: var(--border); }
.btn-ghost:hover { background: var(--light-ocean); border-color: #A9D8EA; color: var(--deep-ocean); }
.btn-glass { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.26); -webkit-backdrop-filter: blur(12px) saturate(1.3); backdrop-filter: blur(12px) saturate(1.3); }
.btn-glass:hover { background: rgba(255,255,255,.16); border-color: rgba(101,221,232,.7); color: #fff; }
.site-footer .btn-glass, .cta-ocean .btn-glass { color: #fff; }
.btn-light { background: #fff; color: var(--deep-ocean); box-shadow: 0 8px 24px rgba(2,22,38,.25); } .btn-light:hover { background: var(--light-ocean); color: var(--deep-ocean); transform: translateY(-1px); }
.btn-gold { border-color: #C99A3E; color: #7a5810; background: #fff; }

/* kickers: a short cyan line before the label */
.kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--ocean-blue); letter-spacing: .12em; font-size: .76rem; }
.kicker::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--cyan), var(--tech-blue)); }
.kicker.center { display: flex; justify-content: center; }
.kicker-light { color: var(--aqua); } .kicker-light::before { background: var(--aqua); }
.section-lead { color: var(--ink-soft); }
.section { padding: 76px 0; } .section-tight { padding: 40px 0; }
.section-alt { background: linear-gradient(180deg, #EAF6FB 0%, #F3FAFD 100%); }
.section-sea { position: relative; background: radial-gradient(900px 340px at 100% 0%, rgba(32,201,232,.10), transparent 70%), radial-gradient(700px 300px at 0% 100%, rgba(8,126,189,.08), transparent 70%), var(--light-ocean); }
.cta-row-tight { display: flex; flex-wrap: wrap; gap: 10px; }

/* ── header: liquid glass bar; over the home hero it starts transparent on the dark ocean ── */
.site-header { background: rgba(245,252,255,.82); -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px); border-bottom: 1px solid rgba(8,126,189,.10); transition: background .3s, border-color .3s, box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(7,59,92,.08); }
.brand { color: var(--navy-text); font-weight: 700; }
.brand-logo { border-radius: 11px; box-shadow: 0 4px 14px rgba(8,126,189,.28); }
.site-nav ul a { color: #234565; font-weight: 500; }
.site-nav ul a:hover { color: var(--tech-blue); background: var(--light-ocean); }
.site-nav ul a[aria-current="page"] { color: var(--tech-blue); background: var(--light-ocean); }
.lang-switch { gap: 5px; border-radius: 999px; border-color: var(--border); color: var(--navy-text); }
.lang-switch:hover { background: var(--light-ocean); border-color: #A9D8EA; }
.nav-toggle { border-color: var(--border); border-radius: 12px; color: var(--navy-text); }
@media (min-width: 1240px) {
  .site-header .site-nav ul a[aria-current="page"]::after { background: linear-gradient(90deg, var(--cyan), var(--tech-blue)); height: 2px; }
  .site-header .site-nav ul a:hover { background: transparent; }
  .site-header.over-hero:not(.is-scrolled):not(.signed-in) { background: linear-gradient(180deg, rgba(2,22,38,.55), rgba(2,22,38,0)); border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .site-header.over-hero:not(.is-scrolled):not(.signed-in) .brand, .site-header.over-hero:not(.is-scrolled):not(.signed-in) .site-nav ul a, .site-header.over-hero:not(.is-scrolled):not(.signed-in) .mega-toggle { color: #EAF7FF; }
  .site-header.over-hero:not(.is-scrolled):not(.signed-in) .site-nav ul a[aria-current="page"], .site-header.over-hero:not(.is-scrolled):not(.signed-in) .site-nav ul a:hover { color: #fff; }
  .site-header.over-hero:not(.is-scrolled):not(.signed-in) .site-nav ul a[aria-current="page"]::after { background: var(--aqua); }
  .site-header.over-hero:not(.is-scrolled):not(.signed-in) .lang-switch, .site-header.over-hero:not(.is-scrolled):not(.signed-in) .btn-ghost { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.26); color: #fff; }
  .site-header.over-hero:not(.is-scrolled):not(.signed-in) .btn-gold { background: transparent; color: #F3D58E; border-color: rgba(243,213,142,.6); }
  .home .site-header.over-hero:not(.signed-in) { position: fixed; left: 0; right: 0; }
}
/* services mega menu */
.has-mega { position: relative; display: flex; align-items: center; flex-wrap: wrap; }
.has-mega > a { flex: 1; }
.mega-toggle { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 0; background: transparent; color: #234565; border-radius: 8px; cursor: pointer; transition: transform .25s var(--ease), background .2s; }
.mega-toggle:hover { background: var(--light-ocean); }
.mega-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.mega-toggle .icon { transition: transform .25s var(--ease); }
.mega { display: none; width: 100%; }
.has-mega.open .mega { display: block; }
.mega-grid { list-style: none; margin: 4px 0 8px; padding: 0 0 0 8px; display: grid; gap: 2px; }
.mega-grid a { display: flex !important; gap: 12px; align-items: flex-start; padding: 9px 10px !important; white-space: normal !important; border-radius: 12px; }
.mega-icon { display: inline-flex; flex: none; width: 34px; height: 34px; border-radius: 10px; align-items: center; justify-content: center; background: linear-gradient(145deg, #E5F5FC, #CDEBF6); color: var(--tech-blue); }
.mega-text { display: flex; flex-direction: column; min-width: 0; }
.mega-name { font-weight: 600; color: var(--navy-text); line-height: 1.35; font-size: .95rem; }
.mega-sum { display: none; font-size: .82rem; color: var(--muted); font-weight: 400; line-height: 1.45; }
.mega-aside { display: none; }
@media (min-width: 1240px) {
  .has-mega { flex-wrap: nowrap; }
  .has-mega > a { padding-right: 2px !important; }
  .mega-toggle { width: 26px; height: 26px; margin-left: -2px; }
  .mega { position: absolute; top: calc(100% + 14px); left: 50%; width: min(940px, calc(100vw - 48px)); transform: translate(-42%, 8px); opacity: 0; visibility: hidden; display: block; transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s .22s; z-index: 60; }
  .has-mega.open .mega, .has-mega:focus-within .mega, .has-mega:hover .mega { opacity: 1; visibility: visible; transform: translate(-42%, 0); transition: opacity .22s var(--ease), transform .22s var(--ease); }
  .has-mega::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 18px; }   /* hover bridge to the panel */
  .mega-inner { display: grid; grid-template-columns: 1fr 250px; gap: 0; background: rgba(255,255,255,.97); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border: 1px solid rgba(8,126,189,.14); border-radius: 18px; box-shadow: 0 30px 70px rgba(3,25,43,.22); overflow: hidden; }
  .mega-grid { grid-template-columns: 1fr 1fr; padding: 14px; margin: 0; gap: 4px; }
  .mega-grid a:hover { background: var(--light-ocean) !important; }
  .mega-grid a:hover .mega-icon { background: var(--grad-ocean); color: #fff; }
  .mega-sum { display: block; }
  .mega-aside { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; padding: 22px; color: #D7EEF6; background: radial-gradient(260px 200px at 100% 0%, rgba(32,201,232,.35), transparent 70%), var(--grad-abyss); }
  .mega-aside p { margin: 0; font-size: .9rem; line-height: 1.55; }
  .mega-aside-title { font-weight: 700; color: #fff; font-size: 1rem !important; }
  .mega-link { color: var(--aqua) !important; font-weight: 600; font-size: .9rem; display: inline-flex !important; gap: 6px; align-items: center; padding: 0 !important; background: none !important; }
  .mega-link::after { display: none; }
}

/* ── home hero: WebGL ocean (static/js/ocean.js) over a CSS ocean that is also the no-WebGL fallback ── */
.hero-ocean { position: relative; isolation: isolate; overflow: hidden; color: #fff; padding: 112px 0 120px; min-height: min(100svh, 920px); display: flex; flex-direction: column; justify-content: center;
  background: radial-gradient(1000px 520px at 72% 40%, rgba(32,201,232,.26), transparent 62%), linear-gradient(180deg, #021626 0%, #052B45 42%, #07506E 64%, #073B5C 100%); }
.ocean-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; }
.ocean-fallback { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.ocean-live .ocean-fallback { opacity: 0; transition: opacity .8s; }
.of-glow { position: absolute; width: 60vmax; height: 60vmax; right: -12vmax; top: 2%; border-radius: 50%; background: radial-gradient(circle, rgba(101,221,232,.30), rgba(32,201,232,.08) 40%, transparent 66%); }
.of-wave { position: absolute; left: -10%; right: -10%; height: 46%; bottom: -8%; border-radius: 50% 50% 0 0 / 22% 22% 0 0; }
.of-a { background: linear-gradient(180deg, rgba(8,126,155,.55), rgba(7,59,92,.95)); transform: rotate(-2deg); animation: swell 14s ease-in-out infinite alternate; }
.of-b { bottom: -16%; background: linear-gradient(180deg, rgba(32,201,232,.28), rgba(7,59,92,.9)); transform: rotate(3deg); animation: swell 18s ease-in-out infinite alternate-reverse; }
.of-c { bottom: -26%; background: linear-gradient(180deg, rgba(8,126,189,.5), #062F4B); animation: swell 22s ease-in-out infinite alternate; }
@keyframes swell { from { translate: -2% 0; } to { translate: 2% -3%; } }
.ocean-shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(2,22,38,.86) 0%, rgba(2,22,38,.58) 34%, rgba(2,22,38,.08) 62%, transparent 80%), linear-gradient(180deg, rgba(2,22,38,.45) 0%, transparent 22%); }
.hero-ocean-grid { position: relative; z-index: 2; display: grid; gap: 34px; align-items: center; }
.hero-copy { max-width: 640px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px; padding: 6px 14px 6px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600; letter-spacing: .04em; color: #D9F6FB;
  background: rgba(255,255,255,.07); border: 1px solid rgba(101,221,232,.32); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hero-kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(32,201,232,.2), 0 0 14px var(--cyan); }
.hero-ocean h1 { color: #fff; font-size: clamp(2.05rem, 5.2vw, 3.55rem); font-weight: 800; line-height: 1.14; letter-spacing: -.025em; margin: 0 0 .45em; text-wrap: balance; text-shadow: 0 2px 30px rgba(2,22,38,.45); }
.hero-ocean .lead { color: rgba(222,242,250,.92); font-size: clamp(1.02rem, 1.6vw, 1.16rem); max-width: 56ch; }
.hero-ocean .cta-row { margin: 28px 0 26px; }
.hero-points { color: rgba(222,242,250,.92); } .hero-points .icon { color: var(--aqua); }
.glass-panel { position: relative; background: linear-gradient(160deg, rgba(255,255,255,.14), rgba(255,255,255,.04)); border: 1px solid rgba(255,255,255,.2); border-radius: 22px; padding: 18px;
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 30px 80px rgba(2,22,38,.45), inset 0 1px 0 rgba(255,255,255,.22); }
.glass-panel::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(101,221,232,.7), rgba(255,255,255,.05) 40%, rgba(32,201,232,.35)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.glass-panel-title { display: flex; align-items: center; gap: 8px; margin: 2px 6px 10px; font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--aqua); }
.hero-services ul { list-style: none; margin: 0; padding: 0; }
.hero-services li + li { border-top: 1px solid rgba(255,255,255,.08); }
.hero-services li a { display: flex; align-items: center; gap: 12px; padding: 10px 8px; color: #fff; text-decoration: none; font-weight: 500; font-size: .95rem; border-radius: 12px; transition: background .2s, padding .25s var(--ease); }
.hero-services li a:hover { background: rgba(255,255,255,.08); padding-left: 12px; }
.hero-services li a > .icon:last-child { margin-left: auto; color: rgba(101,221,232,.8); flex: none; }
.hero-services .hp-icon { background: rgba(32,201,232,.16); color: var(--aqua); border-radius: 10px; width: 34px; height: 34px; }
.hp-text { line-height: 1.35; }
.glass-panel-all { display: inline-flex; align-items: center; gap: 6px; margin: 12px 8px 4px; color: var(--aqua); font-weight: 600; font-size: .92rem; text-decoration: none; }
.glass-panel-all:hover { color: #fff; }
.hero-stats-wrap { position: relative; z-index: 2; margin-top: 44px; }
.hero-stats { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; border-radius: 18px; overflow: hidden; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.16); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.hero-stats > div { display: flex; flex-direction: column-reverse; gap: 2px; padding: 16px 18px; background: rgba(3,25,43,.42); }
.hero-stats dd { margin: 0; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; color: #fff; letter-spacing: -.02em; line-height: 1.1; }
.hero-stats dt { color: #BEE6F1; font-size: .86rem; }
.hero-ocean .hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 70px; z-index: 3; fill: var(--pearl); }
.hero-ocean .hero-wave .hw-back { fill: rgba(245,252,255,.35); }
@media (min-width: 720px) { .hero-stats { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 980px) { .hero-ocean { padding: 130px 0 130px; } .hero-ocean-grid { grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr); gap: 64px; } }
@media (max-width: 979px) { .ocean-shade { background: linear-gradient(180deg, rgba(2,22,38,.6) 0%, rgba(2,22,38,.5) 45%, rgba(2,22,38,.78) 100%); } .hero-ocean { padding-top: 64px; } }
@media (max-width: 1239px) { .home .site-header { position: sticky; } }
@media (min-width: 1240px) { .home .site-header:not(.signed-in) + main .hero-ocean { padding-top: 150px; } }

/* intro + pillars */
.intro-grid { display: grid; gap: 36px; align-items: start; }
.intro-text { color: var(--ink-soft); font-size: 1.04rem; margin-bottom: 18px; }
.pillars { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.pillar { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.pillar::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(32,201,232,.16), transparent 70%); }
.pillar:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.pillar h3, .pillar .h3 { margin: 12px 0 4px; font-size: 1.05rem; } .pillar p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.pillar-icon { display: inline-flex; width: 46px; height: 46px; border-radius: 13px; align-items: center; justify-content: center; color: #fff; background: var(--grad-ocean); box-shadow: 0 8px 18px rgba(8,126,189,.28); }
@media (min-width: 980px) { .intro-grid { grid-template-columns: 1fr 1.05fr; gap: 64px; } .pillars:not(.pillars-4) { grid-template-columns: 1fr 1fr; } }
.pillars-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

/* service cards (CMS: Admin > Services) */
.svc-grid { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); }
.svc-card { position: relative; display: flex; flex-direction: column; background: rgba(255,255,255,.88); border: 1px solid rgba(8,126,189,.12); border-radius: 20px; padding: 20px 20px 18px; box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(7,59,92,.14); border-color: rgba(32,201,232,.45); }
.svc-visual { position: relative; height: 104px; margin: -6px -6px 16px; border-radius: 14px; overflow: hidden; display: flex; align-items: center; padding-left: 18px;
  background: radial-gradient(160px 90px at 85% 20%, rgba(101,221,232,.55), transparent 70%), linear-gradient(135deg, #073B5C 0%, #087E9B 70%, #20C9E8 130%); }
.svc-visual::before, .svc-visual::after { content: ""; position: absolute; left: -10%; right: -10%; height: 70%; bottom: -38%; border-radius: 50%; border-top: 1.5px solid rgba(101,221,232,.55); transition: transform .6s var(--ease); }
.svc-visual::after { bottom: -52%; border-top-color: rgba(255,255,255,.28); }
.svc-card:hover .svc-visual::before { transform: translateX(6%) scaleY(1.15); } .svc-card:hover .svc-visual::after { transform: translateX(-5%) scaleY(1.2); }
.svc-icon { position: relative; z-index: 1; display: inline-flex; width: 54px; height: 54px; border-radius: 16px; align-items: center; justify-content: center; color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: inset 0 1px 0 rgba(255,255,255,.25); }
.svc-n { position: absolute; right: 14px; top: 10px; z-index: 1; font-size: .78rem; font-weight: 700; letter-spacing: .1em; color: rgba(229,245,252,.75); }
.svc-card h3 { font-size: 1.07rem; line-height: 1.38; margin: 0 0 8px; }
.svc-card h3 a { color: var(--navy-text); text-decoration: none; } .svc-card h3 a:hover { color: var(--tech-blue); }
.svc-card > p { color: var(--ink-soft); font-size: .95rem; margin: 0 0 10px; }
.svc-subs { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.svc-subs a { display: inline-block; font-size: .8rem; padding: 3px 10px; border-radius: 999px; background: var(--light-ocean); color: var(--deep-ocean); text-decoration: none; }
.svc-subs a:hover { background: #CDEBF6; }
.svc-actions { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.svc-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: var(--tech-blue); }
.svc-more .icon { transition: transform .25s var(--ease); } .svc-card:hover .svc-more .icon { transform: translateX(3px); }
.svc-quote { font-size: .88rem; font-weight: 600; color: var(--ocean-blue); text-decoration: none; padding: 5px 12px; border-radius: 999px; border: 1px solid #A9D8EA; }
.svc-quote:hover { background: var(--grad-ocean); color: #fff; border-color: transparent; }
.svc-index { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); margin-top: 18px; }
.svc-index-group { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; scroll-margin-top: 90px; }
.svc-index-group h3 { display: flex; gap: 10px; align-items: center; font-size: 1rem; }
.svc-index-group li { padding: 7px 0; border-top: 1px solid #EDF5F9; display: flex; flex-direction: column; } .svc-index-group li a { font-weight: 600; text-decoration: none; }
.mini-icon { display: inline-flex; flex: none; width: 32px; height: 32px; border-radius: 10px; align-items: center; justify-content: center; background: var(--light-ocean); color: var(--tech-blue); }

/* solutions */
.sol-grid { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.sol-card { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 22px 20px 22px; transition: border-color .3s, box-shadow .3s, transform .3s var(--ease); }
.sol-card:hover { border-color: rgba(32,201,232,.55); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.sol-card h3 { font-size: 1.05rem; margin: 12px 0 6px; } .sol-card h3 a { color: var(--navy-text); text-decoration: none; }
.sol-card h3 a::after { content: ""; position: absolute; inset: 0; }
.sol-card p { margin: 0; color: var(--ink-soft); font-size: .94rem; }
.sol-icon { display: inline-flex; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; background: var(--light-ocean); color: var(--tech-blue); transition: background .3s, color .3s; }
.sol-card:hover .sol-icon { background: var(--grad-ocean); color: #fff; }
.solution { scroll-margin-top: 90px; border-radius: var(--radius); }
.solution:target { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(32,201,232,.25), var(--shadow-lg); }
.solution .card-icon, .card-icon { background: var(--light-ocean); color: var(--tech-blue); border-radius: 13px; }
.card:hover .card-icon, .solution:hover .card-icon { background: var(--grad-ocean); color: #fff; }

/* cards (products, portfolio, news) */
.card { border-radius: var(--radius); border-color: var(--border); }
.card:hover { border-color: rgba(32,201,232,.5); }
.card p { color: var(--ink-soft); }
.tag { margin: 0 0 6px; font-size: .8rem; font-weight: 600; letter-spacing: .03em; color: var(--ocean-blue); }
.pc-media { position: relative; margin: -22px -22px 16px; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; background: linear-gradient(145deg, #E5F5FC, #CFEAF4); display: flex; align-items: center; justify-content: center; }
.pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .pc-media img { transform: scale(1.04); }
.pc-art { color: rgba(8,126,155,.55); }
.product-card .pc-media { aspect-ratio: 4 / 3; background: radial-gradient(circle at 70% 25%, #fff, #E5F5FC 70%); }
.product-card .pc-media img { object-fit: contain; padding: 10px; }
.cond { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: .74rem; font-weight: 700; background: var(--deep-ocean); color: #fff; }
.cond-refurbished { background: var(--ocean-blue); } .cond-featured { left: auto; right: 12px; background: #fff; color: var(--deep-ocean); box-shadow: var(--shadow); }
.cond-inline { position: static; }
.note-used { display: flex; gap: 6px; color: var(--ink-soft); background: var(--light-ocean); border-radius: 10px; padding: 8px 10px; }
.cond-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.cond-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px; border: 1px solid var(--border); background: #fff; color: var(--navy-text); text-decoration: none; font-weight: 600; font-size: .92rem; }
.cond-tabs a[aria-current="page"] { background: var(--deep-ocean); border-color: var(--deep-ocean); color: #fff; }
.cond-tabs .count { font-size: .78rem; padding: 0 7px; border-radius: 999px; background: rgba(8,126,189,.12); }
.cond-tabs a[aria-current="page"] .count { background: rgba(255,255,255,.2); }
.price { color: var(--deep-ocean); }

/* why us */
.why-wrap { display: grid; gap: 30px; align-items: start; }
.why-intro .btn { margin-top: 10px; }
.why-grid { margin-top: 0; }
.why-grid li { border-radius: var(--radius); transition: border-color .3s, box-shadow .3s; } .why-grid li:hover { border-color: rgba(32,201,232,.5); box-shadow: var(--shadow-lg); }
.why-icon { background: var(--grad-abyss); color: var(--aqua); border-radius: 13px; }
@media (min-width: 980px) { .why-wrap { grid-template-columns: .8fr 1.2fr; gap: 56px; } .why-intro { position: sticky; top: 110px; } }

/* technology partners strip */
.partners-strip { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.logo-row { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 34px; }
.logo-row img { height: 44px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s; }
.logo-row a:hover img, .logo-row li:hover img { filter: none; opacity: 1; }
.logo-name { font-weight: 700; color: #5C7690; letter-spacing: .02em; font-size: 1.05rem; }

/* process */
.steps li { border-radius: var(--radius); border-top: 3px solid transparent; border-image: linear-gradient(90deg, var(--cyan), var(--tech-blue)) 1; border-image-slice: 1 0 0 0; }
.step-n { color: var(--ocean-blue); }

/* testimonials */
.testi-grid { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.testi { position: relative; background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 26px 24px 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.testi-mark { display: inline-flex; width: 40px; height: 40px; border-radius: 12px; align-items: center; justify-content: center; background: var(--grad-ocean); color: #fff; margin-bottom: 14px; }
.testi blockquote { margin: 0 0 16px; flex: 1; } .testi blockquote p { margin: 0; color: var(--navy-text); font-size: 1.02rem; line-height: 1.7; }
.testi-by { display: flex; gap: 12px; align-items: center; margin: 0; padding-top: 14px; border-top: 1px solid var(--border); }
.testi-by img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.testi-by > span { display: flex; flex-direction: column; line-height: 1.4; }

/* closing band: deep ocean with light caustics */
.cta-ocean { position: relative; overflow: hidden; color: #fff; padding: 72px 0; isolation: isolate;
  background: radial-gradient(700px 300px at 88% 0%, rgba(32,201,232,.32), transparent 65%), radial-gradient(600px 300px at 0% 100%, rgba(8,126,189,.35), transparent 65%), var(--grad-abyss); }
.cta-ocean::before { content: ""; position: absolute; inset: -40% -10% auto; height: 180%; z-index: -1; opacity: .5; background: repeating-radial-gradient(ellipse at 70% 120%, transparent 0 38px, rgba(101,221,232,.07) 39px 40px); animation: caustic 30s linear infinite; }
@keyframes caustic { to { transform: translateX(-6%) translateY(2%); } }
.cta-ocean h2 { color: #fff; margin: 0 0 .3em; font-size: clamp(1.5rem, 3vw, 2.1rem); } .cta-ocean p { color: rgba(222,242,250,.9); margin: 0; max-width: 56ch; }
.cta-band { background: var(--grad-abyss); }

/* inner pages: deep ocean head with flowing lines */
.page-head { padding: 52px 0 82px; background: radial-gradient(760px 340px at 92% -10%, rgba(32,201,232,.30), transparent 65%), radial-gradient(520px 260px at 0% 110%, rgba(8,126,189,.35), transparent 70%), var(--grad-abyss); }
.page-head::before { background-image: none; -webkit-mask-image: none; mask-image: none;
  background: repeating-radial-gradient(ellipse 120% 60% at 80% 140%, transparent 0 46px, rgba(101,221,232,.08) 47px 48px); opacity: .9; }
.page-head::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath fill='%23F5FCFF' d='M0 34C240 74 480-6 720 34S1200 74 1440 34V60H0Z'/%3E%3C/svg%3E"); height: 48px; }
.page-head .lead { color: rgba(222,242,250,.92); } .page-head .muted { color: #A9D9E8; }
.crumbs { color: #A9D9E8; } .crumbs a { color: #E5F5FC; }
.page-head .pkg-jump a { border-color: rgba(101,221,232,.35); color: #E5F5FC; } .page-head .pkg-jump a:hover { background: rgba(255,255,255,.1); }
.page-head .cta-row { margin: 22px 0 0; }
.ph-split { display: grid; gap: 28px; align-items: center; }
.ph-visual { display: none; position: relative; width: 200px; height: 200px; justify-self: end; }
.ph-orb { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.55), rgba(101,221,232,.35) 22%, rgba(8,126,189,.25) 48%, rgba(7,59,92,.1) 70%); box-shadow: inset 0 0 40px rgba(101,221,232,.35), 0 30px 60px rgba(2,22,38,.4); border: 1px solid rgba(255,255,255,.25); animation: float 7s ease-in-out infinite alternate; }
.ph-icon { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; filter: drop-shadow(0 4px 16px rgba(2,22,38,.4)); animation: float 7s ease-in-out infinite alternate; }
@keyframes float { from { transform: translateY(-6px); } to { transform: translateY(8px); } }
@media (min-width: 900px) { .ph-split { grid-template-columns: 1fr auto; } .ph-visual { display: block; } }

/* detail side cards */
.glass-light { background: linear-gradient(160deg, #fff, #F1FAFD); border: 1px solid rgba(8,126,189,.14); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.side-title { font-weight: 700; color: var(--navy-text); margin: 0 0 10px; }
.mini-steps { margin: 0 0 16px; padding-left: 1.3em; color: var(--ink-soft); } .mini-steps li { margin-bottom: 4px; } .mini-steps strong { font-weight: 600; color: var(--navy-text); }
.side-card .btn-block + .btn-block { margin-top: 8px; }
.side-links li { padding: 6px 0; border-top: 1px solid #EDF5F9; } .side-links a { display: flex; gap: 8px; align-items: center; text-decoration: none; font-weight: 500; }
.chip-links { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chip-links a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--border); color: var(--navy-text); text-decoration: none; font-weight: 500; font-size: .93rem; transition: border-color .2s, background .2s; }
.chip-links a:hover { border-color: var(--cyan); background: var(--light-ocean); }

/* about */
.about-grid { display: grid; gap: 30px; align-items: start; }
.vm-card { display: grid; gap: 20px; }
.vm { display: flex; gap: 14px; align-items: flex-start; } .vm h2 { margin: 0 0 6px; } .vm p { margin: 0; color: var(--ink-soft); }
.vm-icon { display: inline-flex; flex: none; width: 42px; height: 42px; border-radius: 12px; align-items: center; justify-content: center; background: var(--grad-ocean); color: #fff; }
.tick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; color: var(--ink-soft); } .tick-list li { display: flex; gap: 8px; } .tick-list .icon { color: var(--ocean-blue); margin-top: 5px; }
@media (min-width: 980px) { .about-grid { grid-template-columns: 1.3fr .9fr; gap: 56px; } }
.stat-band { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.stat-band > div { display: flex; flex-direction: column; padding: 20px; border-radius: var(--radius); background: var(--grad-abyss); color: #fff; }
.stat-band dd { margin: 0; font-size: 2rem; font-weight: 800; line-height: 1.1; } .stat-band dt { color: #BEE6F1; font-size: .9rem; }
@media (min-width: 720px) { .stat-band { grid-template-columns: repeat(4, 1fr); } }
.exp-grid { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.exp-grid a { display: flex; gap: 12px; align-items: center; padding: 12px 14px; background: #fff; border: 1px solid var(--border); border-radius: 14px; text-decoration: none; color: var(--navy-text); font-weight: 500; transition: border-color .2s, transform .25s var(--ease); }
.exp-grid a:hover { border-color: var(--cyan); transform: translateX(3px); }
.values-grid { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.values-grid li { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.values-grid h3 { margin: 8px 0 6px; } .values-grid p { margin: 0; color: var(--ink-soft); }
.value-n { font-weight: 800; font-size: .9rem; letter-spacing: .1em; background: var(--grad-ocean); -webkit-background-clip: text; background-clip: text; color: transparent; }
.team-grid { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.team-card { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 18px; text-align: center; }
.team-card img, .team-ph { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 4px auto 12px; display: block; box-shadow: 0 0 0 4px var(--light-ocean); }
.team-ph { display: flex; align-items: center; justify-content: center; font-size: 2.4rem; font-weight: 700; color: #fff; background: var(--grad-ocean); }
.team-card h3 { margin: 0 0 2px; } .team-card p { margin: 6px 0 0; color: var(--ink-soft); font-size: .93rem; }

/* contact */
.contact-routes { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.contact-routes a { display: flex; gap: 14px; align-items: center; padding: 18px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); text-decoration: none; color: var(--navy-text); box-shadow: var(--shadow); transition: border-color .25s, transform .25s var(--ease); }
.contact-routes a:hover { border-color: var(--cyan); transform: translateY(-2px); }
.contact-routes a > span:last-child { display: flex; flex-direction: column; }
.cr-icon, .cc-icon { display: inline-flex; flex: none; width: 46px; height: 46px; border-radius: 13px; align-items: center; justify-content: center; background: var(--grad-ocean); color: #fff; }
.contact-cards { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.contact-cards li { display: flex; gap: 12px; align-items: flex-start; padding: 16px; background: #fff; border: 1px solid var(--border); border-radius: 14px; }
.contact-cards li.wide { grid-column: 1 / -1; }
.contact-cards li.cc-qr { align-items: center; } .cc-qr-img { flex: none; width: 116px; height: 116px; padding: 4px; background: #fff; border-radius: 10px; border: 1px solid var(--border); }
.cc-qr-img svg { display: block; width: 100%; height: 100%; }
@media (max-width: 760px), (hover: none) { .contact-cards li.cc-qr { display: none; } }
.contact-cards li > span:last-child { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }
.cc-icon { width: 40px; height: 40px; border-radius: 12px; } .cc-line { background: linear-gradient(135deg, #06C755, #04A847); }
.map-link { display: inline-flex; gap: 6px; align-items: center; margin-top: 6px; font-weight: 600; }

/* partner programme + portal */
.sent-card { padding: 40px 24px; } .sent-card .card-icon.big { background: var(--light-ocean); color: var(--ocean-blue); margin: 0 auto 10px; display: flex; }
.inline-fields { display: flex; align-items: center; gap: 8px; } .inline-fields input { width: 84px; }
.label { display: block; font-weight: 600; margin-bottom: 6px; }
.report-list { list-style: none; margin: 0 0 16px; padding: 0; } .report-list li { margin-bottom: 10px; } .report-list p:last-child { margin-bottom: 0; }
.pre { white-space: pre-line; }

/* footer: deepest water */
.site-footer { position: relative; background: linear-gradient(180deg, #052A44 0%, #021626 100%); padding-top: 70px; margin-top: 0; }
.footer-wave { position: absolute; left: 0; right: 0; top: -1px; width: 100%; height: 44px; fill: var(--pearl); transform: scaleY(-1); }
.footer-title { color: var(--aqua); letter-spacing: .08em; }
.site-footer a { color: #D2ECF5; } .site-footer a:hover { color: #fff; }
.site-footer .muted { color: #93BFD1; }
.footer-cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.footer-contact li { display: flex; gap: 8px; align-items: flex-start; } .footer-contact .icon { margin-top: 5px; color: var(--aqua); flex: none; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; align-items: center; color: #7FA9BC; border-top-color: rgba(101,221,232,.12); }
.footer-bottom p { margin: 0; }
.lang-switch-dark { background: transparent; color: #D2ECF5 !important; border-color: rgba(101,221,232,.3); }
.lang-switch-dark:hover { background: rgba(255,255,255,.06); }
@media (min-width: 980px) { .site-footer .footer-grid { grid-template-columns: 1.4fr 1.2fr 1fr 1fr 1.2fr; } }

/* app shells (portal, partner portal, admin) pick up the palette */
.app-nav a[aria-current="page"] { background: var(--light-ocean); color: var(--deep-ocean); }
.app-nav .nav-group { padding: 14px 12px 4px; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.stat { border-radius: var(--radius); }
.thumb { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; border: 1px solid var(--border); }
.preview { width: 160px; height: 160px; object-fit: contain; border-radius: 12px; border: 1px solid var(--border); background: #fff; }
.media-grid { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.media-item { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.media-item.is-new { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(32,201,232,.22); }
.media-item img { width: 100%; height: 150px; object-fit: cover; border-radius: 10px; background: var(--light-ocean); }
.media-url { font-size: .8rem; width: 100%; }

/* motion: respect the visitor's setting */
@media (prefers-reduced-motion: reduce) {
  .of-wave, .cta-ocean::before, .ph-orb, .ph-icon { animation: none !important; }
  .svc-card, .pillar, .sol-card, .btn, .mega { transition: none !important; }
}
/* Thai has tone marks above and vowels below the line: headings need more leading than Latin */
html[lang="th"] h1, html[lang="th"] h2, html[lang="th"] .hero-ocean h1 { line-height: 1.36; }
html[lang="th"] .hero-ocean h1 { letter-spacing: -.01em; }
/* the glowing sculpture can sit behind the services panel: keep the panel dark enough for its text (contrast) */
.hero-services { background: linear-gradient(160deg, rgba(10,52,80,.78), rgba(3,25,43,.72)); }
/* the header's row layout for its menu list must not reach the services grid inside the mega menu */
.site-header .site-nav ul.mega-grid { display: grid !important; flex-direction: column; margin: 4px 0 8px; }
@media (min-width: 1240px) { .site-header .site-nav ul.mega-grid { grid-template-columns: 1fr 1fr; margin: 0; padding: 14px; } .site-header .site-nav .mega-grid a { padding: 9px 10px !important; } }
.site-header .site-nav .mega-aside a.btn { background: var(--grad-ocean) !important; color: #fff !important; padding: .4em .9em !important; white-space: nowrap; }
.site-header .site-nav .mega-aside a.btn:hover { color: #fff !important; }
@media (min-width: 1240px) { .mega-inner { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; } }

/* ── theme v4: dark hi-tech, full screen (public pages: <body data-ui="dark">) ─────────────────────────
   Admin, customer portal, partner portal and sign-in pages set data-ui="light" and keep theme v3.
   Same ocean palette, used on a near-black abyss: surfaces are deep navy, lines are thin cyan, accents glow.
   Removing this block returns the public site to theme v3 (light). */
[data-ui="dark"] {
  --bg: #020B14; --abyss: #020B14; --surface: #06182A; --surface-2: #0A2238; --surface-3: #0D2C47;
  --text: #D5EAF3; --muted: #8DB1C4; --ink-soft: #A3C2D2; --navy: #F2FBFF; --navy-text: #F2FBFF; --navy-2: #CFEAF4;
  --border: rgba(101,221,232,.13); --border-strong: rgba(101,221,232,.32);
  --accent: #3FD3EC; --accent-dark: #6FE0EF; --light-ocean: rgba(32,201,232,.10);
  --glow: 0 0 0 1px rgba(32,201,232,.35), 0 0 32px rgba(32,201,232,.18);
  --shadow: 0 1px 0 rgba(255,255,255,.03) inset, 0 10px 30px rgba(0,0,0,.35);
  --shadow-lg: 0 1px 0 rgba(255,255,255,.04) inset, 0 24px 60px rgba(0,0,0,.5);
  background: var(--bg); color: var(--text); color-scheme: dark;
}
[data-ui="dark"] main { background: radial-gradient(1200px 600px at 100% 0%, rgba(8,126,189,.06), transparent 60%); }
[data-ui="dark"] a { color: var(--accent); } [data-ui="dark"] a:hover { color: #A6F1FA; }
[data-ui="dark"] h1, [data-ui="dark"] h2, [data-ui="dark"] h3 { color: var(--navy-text); }
[data-ui="dark"] code { background: var(--surface-2); color: var(--aqua); }
[data-ui="dark"] .muted, [data-ui="dark"] .section-lead, [data-ui="dark"] .lead { color: var(--muted); }
[data-ui="dark"] .kicker { color: var(--aqua); text-shadow: 0 0 18px rgba(32,201,232,.45); }
[data-ui="dark"] .kicker::before { background: linear-gradient(90deg, transparent, var(--cyan)); box-shadow: 0 0 10px var(--cyan); width: 34px; }
[data-ui="dark"] ::selection { background: rgba(32,201,232,.35); color: #fff; }

/* sections: abyss with a faint engineering grid */
[data-ui="dark"] .section, [data-ui="dark"] .section-alt, [data-ui="dark"] .section-sea { background: transparent; position: relative; }
[data-ui="dark"] .section-alt, [data-ui="dark"] .section-sea {
  background: linear-gradient(rgba(101,221,232,.035) 1px, transparent 1px) 0 0 / 64px 64px, linear-gradient(90deg, rgba(101,221,232,.035) 1px, transparent 1px) 0 0 / 64px 64px,
              radial-gradient(900px 400px at 85% 0%, rgba(8,126,189,.14), transparent 70%), #031120;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
[data-ui="dark"] .section h2 { letter-spacing: -.025em; }

/* surfaces: every card becomes dark glass with a cyan hairline that lights up on hover */
[data-ui="dark"] :is(.card, .svc-card, .pillar, .sol-card, .testi, .why-grid li, .steps li, .values-grid li, .team-card, .exp-grid a, .contact-routes a, .contact-cards li,
  .svc-index-group, .side-card, .panel, .glass-light, .form-card, .filters, .feature-card, .solution, .faq-item, .pkg, .stat, .empty, .table-wrap, .msg, .media-item, .cta-strip, .pkg-notice) {
  background: linear-gradient(160deg, rgba(13,44,71,.72), rgba(6,24,42,.86)); border: 1px solid var(--border); box-shadow: var(--shadow); color: var(--text); }
[data-ui="dark"] :is(.card, .svc-card, .pillar, .sol-card, .testi, .why-grid li, .values-grid li, .team-card, .exp-grid a, .contact-routes a, .solution, .pkg):hover {
  border-color: var(--border-strong); box-shadow: var(--glow), var(--shadow-lg); }
[data-ui="dark"] :is(.card, .svc-card, .pillar, .sol-card, .testi, .why-grid, .values-grid, .team-card, .steps, .solution, .faq-item, .pkg, .side-card, .feature-card) p { color: var(--ink-soft); }
[data-ui="dark"] .empty { border-style: dashed; color: var(--muted); }
[data-ui="dark"] .pillar::after { background: radial-gradient(circle, rgba(32,201,232,.22), transparent 70%); }
[data-ui="dark"] .svc-card h3 a, [data-ui="dark"] .card .stretched, [data-ui="dark"] .sol-card h3 a, [data-ui="dark"] .exp-grid a, [data-ui="dark"] .contact-routes a, [data-ui="dark"] .side-links a { color: var(--navy-text); }
[data-ui="dark"] .svc-card h3 a:hover { color: var(--aqua); }
[data-ui="dark"] .svc-visual { background: radial-gradient(160px 90px at 85% 20%, rgba(101,221,232,.45), transparent 70%), linear-gradient(135deg, #031827 0%, #06405E 65%, #0B8FB0 140%); box-shadow: inset 0 0 0 1px rgba(101,221,232,.15); }
[data-ui="dark"] .svc-subs a { background: rgba(32,201,232,.1); color: var(--aqua); border: 1px solid var(--border); }
[data-ui="dark"] .svc-actions { border-top-color: var(--border); }
[data-ui="dark"] .svc-quote { border-color: var(--border-strong); color: var(--aqua); }
[data-ui="dark"] :is(.mini-icon, .sol-icon, .card-icon, .mega-icon) { background: rgba(32,201,232,.1); color: var(--aqua); box-shadow: inset 0 0 0 1px rgba(101,221,232,.2); }
[data-ui="dark"] :is(.pillar-icon, .vm-icon, .cr-icon, .cc-icon, .testi-mark, .why-icon) { background: linear-gradient(135deg, #087EBD, #0B5C7A); color: #fff; box-shadow: 0 0 22px rgba(32,201,232,.35); }
[data-ui="dark"] .tag, [data-ui="dark"] .step-n, [data-ui="dark"] .price { color: var(--aqua); }
[data-ui="dark"] .pc-media, [data-ui="dark"] .product-card .pc-media, [data-ui="dark"] .card-img { background: radial-gradient(circle at 70% 25%, #0D2C47, #041424 75%); }
[data-ui="dark"] .pc-art { color: rgba(101,221,232,.5); }
[data-ui="dark"] .cond-featured { background: var(--surface-3); color: var(--aqua); }
[data-ui="dark"] .note-used { background: rgba(32,201,232,.08); color: var(--ink-soft); }
[data-ui="dark"] .value-n { background: linear-gradient(90deg, var(--aqua), var(--cyan)); -webkit-background-clip: text; background-clip: text; }
[data-ui="dark"] .team-card img, [data-ui="dark"] .team-ph { box-shadow: 0 0 0 3px rgba(32,201,232,.3), 0 0 30px rgba(32,201,232,.2); }
[data-ui="dark"] .stat-band > div { background: linear-gradient(160deg, #0A2B45, #041526); border: 1px solid var(--border); }
[data-ui="dark"] .stat-band dd { color: #fff; text-shadow: 0 0 24px rgba(32,201,232,.5); }
[data-ui="dark"] .testi blockquote p { color: var(--text); }
[data-ui="dark"] .testi-by { border-top-color: var(--border); }
[data-ui="dark"] .partners-strip { background: #031120; border-color: var(--border); }
[data-ui="dark"] .logo-row img { filter: grayscale(1) invert(1) brightness(1.6); opacity: .55; } [data-ui="dark"] .logo-row li:hover img { filter: none; opacity: 1; }
[data-ui="dark"] .logo-name { color: #7FA6BA; }
[data-ui="dark"] .steps li { border-image: linear-gradient(90deg, var(--cyan), transparent) 1; border-image-slice: 1 0 0 0; }
[data-ui="dark"] .chip-links a, [data-ui="dark"] .cond-tabs a, [data-ui="dark"] .tabs a, [data-ui="dark"] .tag-chip, [data-ui="dark"] .pkg-toggle { background: var(--surface); border-color: var(--border); color: var(--text); }
[data-ui="dark"] .chip-links a:hover, [data-ui="dark"] .cond-tabs a:hover, [data-ui="dark"] .tabs a:hover { border-color: var(--border-strong); background: var(--surface-2); }
[data-ui="dark"] .cond-tabs a[aria-current="page"], [data-ui="dark"] .tabs a[aria-current="page"] { background: linear-gradient(135deg, #087EBD, #087E9B); border-color: transparent; color: #fff; box-shadow: 0 0 22px rgba(32,201,232,.3); }
[data-ui="dark"] .pkg-toggle label { color: var(--text); }
[data-ui="dark"] #pkg-month:checked ~ .pkg-toggle label[for="pkg-month"], [data-ui="dark"] #pkg-year:checked ~ .pkg-toggle label[for="pkg-year"] { background: linear-gradient(135deg, #087EBD, #087E9B); }
[data-ui="dark"] .pkg { border-top: 3px solid var(--cyan); }
[data-ui="dark"] .offer-featured { box-shadow: var(--glow); border-color: var(--cyan); }
[data-ui="dark"] :is(.offer-alt, .offer-note, .offer-footnote) { color: var(--muted); } [data-ui="dark"] .offer-year { color: #fff; }

/* tables (compare page, specs) */
[data-ui="dark"] .table th, [data-ui="dark"] .table td, [data-ui="dark"] .spec-table th, [data-ui="dark"] .spec-table td { border-color: var(--border); color: var(--text); }
[data-ui="dark"] .table thead th, [data-ui="dark"] .compare-table thead th, [data-ui="dark"] .compare-table .compare-corner, [data-ui="dark"] .compare-table tbody th[scope="row"], [data-ui="dark"] .compare-group th { background: var(--surface-2); color: var(--navy-text); }
[data-ui="dark"] .table tbody tr:hover td, [data-ui="dark"] .table tbody tr:hover th { background: rgba(32,201,232,.05); }
[data-ui="dark"] .compare-table tr.is-diff td { background: rgba(32,201,232,.08); }
[data-ui="dark"] :is(.compare-toggle, .compare-add, .compare-note, .compare-remove) { background: var(--surface-2); color: var(--text); border-color: var(--border); }
[data-ui="dark"] .compare-toggle.is-on { background: rgba(32,201,232,.18); color: var(--aqua); }
[data-ui="dark"] .spec-table th { color: var(--muted); }

/* forms */
[data-ui="dark"] :is(input[type=text], input[type=email], input[type=password], input[type=tel], input[type=search], input[type=date], input[type=number], input[type=url], input:not([type]), select, textarea) {
  background: #041526; color: var(--text); border-color: rgba(101,221,232,.22); }
[data-ui="dark"] :is(input, select, textarea):focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(32,201,232,.18); }
[data-ui="dark"] input::placeholder, [data-ui="dark"] textarea::placeholder { color: #5E8397; }
[data-ui="dark"] input[type=file] { background: #041526; border-color: rgba(101,221,232,.3); color: var(--muted); }
[data-ui="dark"] label, [data-ui="dark"] .label { color: var(--navy-text); }
[data-ui="dark"] .hint, [data-ui="dark"] .opt { color: var(--muted); }
[data-ui="dark"] .alert-ok { background: rgba(16,185,129,.12); color: #8BF0C7; border-color: rgba(16,185,129,.35); }
[data-ui="dark"] .alert-error { background: rgba(239,68,68,.12); color: #FFB4B4; border-color: rgba(239,68,68,.35); }
[data-ui="dark"] .error { color: #FF9E9E; }
[data-ui="dark"] .faq-item summary { color: var(--navy-text); } [data-ui="dark"] .faq-item summary::after { color: var(--cyan); }

/* buttons */
[data-ui="dark"] .btn-primary { background: linear-gradient(135deg, #0A96D8, #087E9B); box-shadow: 0 0 0 1px rgba(101,221,232,.35) inset, 0 8px 28px rgba(32,201,232,.28); }
[data-ui="dark"] .btn-primary:hover { box-shadow: 0 0 0 1px rgba(101,221,232,.6) inset, 0 10px 36px rgba(32,201,232,.45); }
[data-ui="dark"] .btn-ghost { background: rgba(255,255,255,.04); color: var(--navy-text); border-color: var(--border-strong); }
[data-ui="dark"] .btn-ghost:hover { background: rgba(32,201,232,.1); border-color: var(--cyan); color: #fff; }
[data-ui="dark"] .btn-light { background: #fff; color: #031827; }
[data-ui="dark"] .btn-gold { background: transparent; color: #F3D58E; border-color: rgba(243,213,142,.55); } [data-ui="dark"] .btn-gold:hover { background: rgba(243,213,142,.08); color: #FFE7AE; }

/* header: always dark glass on public pages */
[data-ui="dark"] .site-header { background: rgba(2,11,20,.72); border-bottom: 1px solid var(--border); -webkit-backdrop-filter: saturate(1.4) blur(18px); backdrop-filter: saturate(1.4) blur(18px); }
[data-ui="dark"] .site-header.is-scrolled { background: rgba(2,11,20,.9); box-shadow: 0 10px 30px rgba(0,0,0,.4); }
[data-ui="dark"] .brand, [data-ui="dark"] .site-nav ul a, [data-ui="dark"] .mega-toggle { color: #DDF3FA; }
[data-ui="dark"] .site-nav ul a:hover, [data-ui="dark"] .site-nav ul a[aria-current="page"] { color: #fff; background: rgba(32,201,232,.1); }
[data-ui="dark"] .lang-switch, [data-ui="dark"] .nav-toggle { background: rgba(255,255,255,.04); border-color: var(--border-strong); color: #DDF3FA; }
[data-ui="dark"] .site-nav { background: #031120; border-bottom-color: var(--border); }
[data-ui="dark"] .mega-name { color: var(--navy-text); } [data-ui="dark"] .mega-sum { color: var(--muted); }
[data-ui="dark"] .mega-toggle:hover { background: rgba(32,201,232,.1); }
@media (min-width: 1240px) {
  [data-ui="dark"] .site-nav { background: transparent; }
  [data-ui="dark"] .site-header .site-nav ul a:hover, [data-ui="dark"] .site-header .site-nav ul a[aria-current="page"] { color: #fff; }
  [data-ui="dark"] .site-header .site-nav ul a[aria-current="page"]::after { background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
  [data-ui="dark"] .site-header.over-hero:not(.is-scrolled):not(.signed-in) { background: linear-gradient(180deg, rgba(2,11,20,.7), rgba(2,11,20,0)); border-bottom-color: transparent; }
  [data-ui="dark"] .mega-inner { background: #04162A; border-color: var(--border-strong); box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 40px rgba(32,201,232,.1); }
  [data-ui="dark"] .mega-grid a:hover { background: rgba(32,201,232,.08) !important; }
  [data-ui="dark"] .mega-aside { background: radial-gradient(260px 200px at 100% 0%, rgba(32,201,232,.3), transparent 70%), linear-gradient(165deg, #020B14, #06304A); border-left: 1px solid var(--border); }
}

/* hero: full screen */
[data-ui="dark"] .hero-ocean { min-height: 100svh; padding-bottom: 150px; background: radial-gradient(1000px 520px at 72% 40%, rgba(32,201,232,.16), transparent 62%), linear-gradient(180deg, #010812 0%, #021A2C 50%, #03243A 70%, #020B14 100%); }
[data-ui="dark"] .hero-ocean::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(rgba(101,221,232,.05) 1px, transparent 1px) 0 0 / 72px 72px, linear-gradient(90deg, rgba(101,221,232,.05) 1px, transparent 1px) 0 0 / 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 30% 35%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 30% 35%, #000 10%, transparent 75%); }
[data-ui="dark"] .ocean-shade { background: linear-gradient(90deg, rgba(1,8,18,.88) 0%, rgba(1,8,18,.6) 36%, rgba(1,8,18,.06) 64%, transparent 80%), linear-gradient(180deg, rgba(1,8,18,.55) 0%, transparent 20%, transparent 72%, rgba(2,11,20,1) 100%); }
@media (max-width: 979px) { [data-ui="dark"] .ocean-shade { background: linear-gradient(180deg, rgba(1,8,18,.7) 0%, rgba(1,8,18,.55) 45%, rgba(2,11,20,.95) 100%); } }
[data-ui="dark"] .hero-ocean h1 { font-size: clamp(2.3rem, 6vw, 4.4rem); background: linear-gradient(100deg, #FFFFFF 0%, #E4FAFF 45%, #7BE7F4 100%); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; filter: drop-shadow(0 4px 30px rgba(32,201,232,.25)); }
[data-ui="dark"] .hero-kicker { background: rgba(32,201,232,.08); border-color: rgba(101,221,232,.4); box-shadow: 0 0 24px rgba(32,201,232,.15); }
[data-ui="dark"] .hero-services { background: linear-gradient(160deg, rgba(6,32,52,.82), rgba(1,10,20,.82)); }
[data-ui="dark"] .hero-ocean .hero-wave { display: none; }
[data-ui="dark"] .hero-stats > div { background: rgba(1,10,20,.6); }
[data-ui="dark"] .hero-stats dd { text-shadow: 0 0 24px rgba(32,201,232,.55); }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; z-index: 3; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(222,242,250,.7); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; }
.scroll-cue span { width: 22px; height: 36px; border: 1.5px solid rgba(101,221,232,.5); border-radius: 12px; position: relative; }
.scroll-cue span::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }
.scroll-cue:hover { color: #fff; }
@media (max-height: 640px), (max-width: 979px) { .scroll-cue { display: none; } }

/* inner page heads: dark with a grid and a light beam, no wave */
[data-ui="dark"] .page-head { padding: 64px 0 64px; border-bottom: 1px solid var(--border);
  background: radial-gradient(700px 320px at 88% -10%, rgba(32,201,232,.22), transparent 65%), linear-gradient(180deg, #010812, #031423); }
[data-ui="dark"] .page-head::before { background: linear-gradient(rgba(101,221,232,.05) 1px, transparent 1px) 0 0 / 56px 56px, linear-gradient(90deg, rgba(101,221,232,.05) 1px, transparent 1px) 0 0 / 56px 56px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%, #000 70%, transparent); mask-image: linear-gradient(90deg, transparent, #000 40%, #000 70%, transparent); opacity: 1; }
[data-ui="dark"] .page-head::after { height: 1px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); box-shadow: 0 0 18px var(--cyan); bottom: -1px; }
[data-ui="dark"] .page-head h1 { background: linear-gradient(100deg, #fff, #9DEEF7); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* closing band + footer */
[data-ui="dark"] .cta-ocean { border-top: 1px solid var(--border); background: radial-gradient(700px 300px at 88% 0%, rgba(32,201,232,.25), transparent 65%), radial-gradient(600px 300px at 0% 100%, rgba(8,126,189,.25), transparent 65%), linear-gradient(165deg, #010812, #052A44); }
[data-ui="dark"] .site-footer { background: #010711; border-top: 1px solid var(--border); padding-top: 56px; }
[data-ui="dark"] .footer-wave { display: none; }
@media (prefers-reduced-motion: reduce) { .scroll-cue span::after { animation: none; } }
/* dark theme: the generic link colour must not reach buttons and footer links */
[data-ui="dark"] a.btn-primary, [data-ui="dark"] a.btn-primary:hover, [data-ui="dark"] a.btn-glass, [data-ui="dark"] a.btn-glass:hover { color: #fff; }
[data-ui="dark"] .site-footer a { color: #BFE3EF; } [data-ui="dark"] .site-footer a:hover { color: #fff; }
[data-ui="dark"] .site-footer a.btn-primary { color: #fff; }
html[lang="th"] [data-ui="dark"] .hero-ocean h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }

/* ── theme v5: corporate trust (public pages: <body data-ui="corp">) ──────────────────────────────────
   White and light grey-blue surfaces, one corporate blue for actions, navy text and footer, real photos carry the story.
   Solid surfaces only (no glass), quiet shadows, 10px corners. The 3D ocean survives only inside the homepage photo frame
   until a real photo is uploaded (Admin > Homepage & About). The dark layer above stays in the file but is inactive. */
[data-ui="corp"] {
  --brand: #0B5CAD; --brand-dark: #084A8C; --brand-soft: #EAF2FB; --brand-line: #C9DBEF;
  --navy: #10263D; --navy-text: #10263D; --navy-2: #1B3A5A; --accent: #0B5CAD; --accent-dark: #0A529B; --tech-blue: #0B5CAD; --ocean-blue: #0B5CAD;
  --bg: #FFFFFF; --alt: #F4F7FA; --surface: #FFFFFF; --text: #26384C; --muted: #5B6B7D; --ink-soft: #44556A; --border: #E1E7EE; --light-ocean: #EAF2FB;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(16,38,61,.05), 0 2px 8px rgba(16,38,61,.04);
  --shadow-lg: 0 2px 4px rgba(16,38,61,.05), 0 12px 32px rgba(16,38,61,.10);
  --grad-ocean: linear-gradient(0deg, #0B5CAD, #0B5CAD);
  background: var(--bg); color: var(--text);
}
[data-ui="corp"] h1, [data-ui="corp"] h2, [data-ui="corp"] h3 { color: var(--navy-text); letter-spacing: -.015em; }
[data-ui="corp"] h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); }
[data-ui="corp"] .kicker { color: var(--brand); letter-spacing: .1em; }
[data-ui="corp"] .kicker::before { background: var(--brand); width: 22px; }
[data-ui="corp"] :focus-visible { outline-color: rgba(11,92,173,.55); }

/* buttons: solid, calm */
[data-ui="corp"] .btn { border-radius: 8px; }
[data-ui="corp"] .btn-primary { background: var(--brand); color: #fff; box-shadow: 0 1px 2px rgba(16,38,61,.2); }
[data-ui="corp"] .btn-primary:hover { background: var(--brand-dark); color: #fff; transform: none; box-shadow: 0 4px 14px rgba(11,92,173,.28); }
[data-ui="corp"] .btn-ghost, [data-ui="corp"] .btn-glass { background: #fff; color: var(--navy-text); border: 1px solid #C6D3E1; -webkit-backdrop-filter: none; backdrop-filter: none; }
[data-ui="corp"] .btn-ghost:hover, [data-ui="corp"] .btn-glass:hover { background: var(--brand-soft); border-color: var(--brand-line); color: var(--brand-dark); }
[data-ui="corp"] .btn-light { background: #fff; color: var(--brand-dark); box-shadow: none; }
[data-ui="corp"] .cta-ocean .btn-glass { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); } [data-ui="corp"] .cta-ocean .btn-glass:hover { background: rgba(255,255,255,.1); color: #fff; }
[data-ui="corp"] .btn-gold { background: #fff; color: #7a5810; border-color: #D9B86C; }

/* top contact bar + header */
.topbar { display: none; }
[data-ui="corp"] .topbar { display: block; background: var(--navy); color: #C9D6E4; font-size: .82rem; }
[data-ui="corp"] .topbar-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; max-width: none; padding-left: clamp(18px, 3vw, 44px); padding-right: clamp(18px, 3vw, 44px); }
[data-ui="corp"] .tb-tag { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
[data-ui="corp"] .tb-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; flex-wrap: nowrap; }
[data-ui="corp"] .tb-links li { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
[data-ui="corp"] .tb-links a { color: #E7EEF6; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; } [data-ui="corp"] .tb-links a:hover { color: #fff; text-decoration: underline; }
@media (max-width: 899px) { [data-ui="corp"] .topbar { display: none; } }
@media (max-width: 1199px) { [data-ui="corp"] .tb-tag { display: none; } [data-ui="corp"] .topbar-row { justify-content: flex-end; } }
[data-ui="corp"] .site-header { background: #fff; border-bottom: 1px solid var(--border); -webkit-backdrop-filter: none; backdrop-filter: none; }
[data-ui="corp"] .site-header.is-scrolled { box-shadow: 0 4px 18px rgba(16,38,61,.08); }
[data-ui="corp"] .brand { color: var(--navy-text); }
[data-ui="corp"] .brand-logo { box-shadow: none; border-radius: 9px; }
[data-ui="corp"] .site-nav ul a { color: #2A3E55; font-weight: 500; }
[data-ui="corp"] .site-nav ul a:hover, [data-ui="corp"] .site-nav ul a[aria-current="page"] { color: var(--brand); background: var(--brand-soft); }
[data-ui="corp"] .lang-switch, [data-ui="corp"] .nav-toggle { background: #fff; border-color: #C6D3E1; color: var(--navy-text); border-radius: 8px; }
[data-ui="corp"] .mega-toggle { color: #2A3E55; }
@media (min-width: 1240px) {
  [data-ui="corp"] .site-header .site-nav ul a:hover, [data-ui="corp"] .site-header .site-nav ul a[aria-current="page"] { background: transparent; color: var(--brand); }
  [data-ui="corp"] .site-header .site-nav ul a[aria-current="page"]::after { background: var(--brand); box-shadow: none; bottom: -15px; height: 3px; border-radius: 3px 3px 0 0; }
  [data-ui="corp"] .mega-inner { background: #fff; border-color: var(--border); box-shadow: 0 24px 60px rgba(16,38,61,.16); border-radius: 12px; }
  [data-ui="corp"] .mega-grid a:hover { background: var(--alt) !important; } [data-ui="corp"] .mega-grid a:hover .mega-icon { background: var(--brand); color: #fff; }
  [data-ui="corp"] .mega-aside { background: var(--navy); color: #C9D6E4; }
  [data-ui="corp"] .site-header .site-nav .mega-aside a.btn { background: #fff !important; color: var(--brand-dark) !important; }
  [data-ui="corp"] .mega-link { color: #9CC3EE !important; }
}
[data-ui="corp"] .mega-icon { background: var(--brand-soft); color: var(--brand); }

/* homepage hero: copy left, real photo right */
.hero-corp { position: relative; padding: 56px 0 64px; background: linear-gradient(180deg, #F4F7FA 0%, #FFFFFF 100%); border-bottom: 1px solid var(--border); overflow: hidden; }
.hero-corp::before { content: ""; position: absolute; right: -10%; top: -30%; width: 60%; height: 140%; background: radial-gradient(closest-side, rgba(11,92,173,.07), transparent); pointer-events: none; }
.hero-corp-grid { position: relative; display: grid; gap: 40px; align-items: center; }
.hero-corp .hero-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.hero-corp .hero-kicker::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--brand); }
.hero-corp h1 { font-size: clamp(2rem, 4.3vw, 3.2rem); line-height: 1.18; font-weight: 800; color: var(--navy-text); margin: 0 0 .45em; text-wrap: balance; }
html[lang="th"] .hero-corp h1 { line-height: 1.34; }
.hero-corp .lead { color: var(--ink-soft); font-size: 1.1rem; max-width: 54ch; }
.hero-corp .cta-row { margin: 26px 0 24px; }
.hero-corp .hero-points { color: var(--text); gap: 10px; } .hero-corp .hero-points .icon { color: #12A150; }
.hero-visual { position: relative; padding: 0 0 28px 0; }
.hero-photo { display: block; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 14px; box-shadow: 0 20px 50px rgba(16,38,61,.18); background: #DDE6F0; }
.hero-ocean-mini { position: relative; overflow: hidden; background: linear-gradient(180deg, #0A2A47, #0B5CAD); }
.hero-ocean-mini .ocean-canvas { border-radius: inherit; }
.hero-badge { position: absolute; left: -12px; bottom: 0; display: flex; gap: 12px; align-items: center; max-width: 86%; padding: 14px 18px; background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 12px 30px rgba(16,38,61,.14); }
.hero-badge > span:last-child { display: flex; flex-direction: column; line-height: 1.4; font-size: .9rem; color: var(--muted); } .hero-badge strong { color: var(--navy-text); font-size: .98rem; }
.hb-icon { display: inline-flex; flex: none; width: 44px; height: 44px; border-radius: 10px; align-items: center; justify-content: center; background: #E7F6EE; color: #12A150; }
.hero-figure { position: absolute; right: 16px; top: 16px; margin: 0; background: var(--brand); color: #fff; border-radius: 12px; padding: 12px 16px; box-shadow: 0 10px 24px rgba(11,92,173,.35); }
.hero-figure div { display: flex; flex-direction: column-reverse; } .hero-figure dd { margin: 0; font-size: 1.6rem; font-weight: 800; line-height: 1.1; } .hero-figure dt { font-size: .8rem; opacity: .9; }
@media (min-width: 980px) { .hero-corp { padding: 80px 0 88px; } .hero-corp-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; } .hero-badge { left: -28px; } }
@media (max-width: 979px) { .hero-badge { left: 12px; } }

/* service quick links under the hero */
.svc-strip { background: #fff; border-bottom: 1px solid var(--border); }
.svc-strip ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); }
.svc-strip li { border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.svc-strip a { display: flex; align-items: center; gap: 10px; padding: 16px 14px; text-decoration: none; color: var(--navy-text); font-weight: 600; font-size: .93rem; line-height: 1.35; transition: background .2s, color .2s; }
.svc-strip a:hover { background: var(--alt); color: var(--brand); }
.ss-icon { display: inline-flex; flex: none; width: 36px; height: 36px; border-radius: 8px; align-items: center; justify-content: center; background: var(--brand-soft); color: var(--brand); }
@media (min-width: 720px) { .svc-strip ul { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .svc-strip ul { grid-template-columns: repeat(6, 1fr); } .svc-strip li { border-bottom: 0; } .svc-strip li:first-child { border-left: 1px solid var(--border); } }

/* sections */
[data-ui="corp"] .section { padding: 72px 0; } [data-ui="corp"] .section-tight { padding: 40px 0; }
[data-ui="corp"] .section-alt, [data-ui="corp"] .section-sea { background: var(--alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
[data-ui="corp"] .stats-section { background: #fff; padding: 36px 0; }

/* cards: white, thin border, quiet hover */
[data-ui="corp"] :is(.card, .svc-card, .pillar, .sol-card, .testi, .why-grid li, .steps li, .values-grid li, .team-card, .exp-grid a, .contact-routes a, .contact-cards li, .svc-index-group, .side-card, .panel, .glass-light, .form-card, .filters, .feature-card, .solution, .pkg) {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); -webkit-backdrop-filter: none; backdrop-filter: none; }
[data-ui="corp"] :is(.card, .svc-card, .pillar, .sol-card, .testi, .why-grid li, .values-grid li, .team-card, .exp-grid a, .contact-routes a, .solution):hover {
  border-color: var(--brand-line); box-shadow: var(--shadow-lg); transform: none; translate: none; }
[data-ui="corp"] .pillar::after { display: none; }
[data-ui="corp"] :is(.pillar-icon, .vm-icon, .cr-icon, .cc-icon, .testi-mark, .why-icon) { background: var(--brand); color: #fff; box-shadow: none; border-radius: 10px; }
[data-ui="corp"] :is(.mini-icon, .sol-icon, .card-icon) { background: var(--brand-soft); color: var(--brand); border-radius: 10px; box-shadow: none; }
[data-ui="corp"] .sol-card:hover .sol-icon, [data-ui="corp"] .card:hover .card-icon, [data-ui="corp"] .solution:hover .card-icon { background: var(--brand); color: #fff; }
[data-ui="corp"] .tag, [data-ui="corp"] .step-n, [data-ui="corp"] .price { color: var(--brand); }
[data-ui="corp"] .steps li { border-top: 3px solid var(--brand); border-image: none; }
[data-ui="corp"] .value-n { background: none; color: var(--brand); -webkit-background-clip: border-box; background-clip: border-box; }

/* service cards: icon tile instead of the wave visual */
[data-ui="corp"] .svc-card { padding: 22px; }
[data-ui="corp"] .svc-visual { height: auto; margin: 0 0 14px; padding: 0; background: none; box-shadow: none; overflow: visible; justify-content: space-between; }
[data-ui="corp"] .svc-visual::before, [data-ui="corp"] .svc-visual::after { display: none; }
[data-ui="corp"] .svc-icon { width: 50px; height: 50px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
[data-ui="corp"] .svc-card:hover .svc-icon { background: var(--brand); color: #fff; }
[data-ui="corp"] .svc-n { position: static; color: #A6B4C3; font-size: .8rem; }
[data-ui="corp"] .svc-subs a { background: var(--alt); color: var(--navy-2); border: 1px solid var(--border); }
[data-ui="corp"] .svc-more { color: var(--brand); }
[data-ui="corp"] .svc-quote { border-color: var(--brand-line); color: var(--brand); border-radius: 6px; }
[data-ui="corp"] .svc-quote:hover { background: var(--brand); color: #fff; }

/* products, tabs, chips */
[data-ui="corp"] .pc-media, [data-ui="corp"] .product-card .pc-media { background: var(--alt); }
[data-ui="corp"] .pc-art { color: #9FB3C8; }
[data-ui="corp"] .cond { background: var(--navy); } [data-ui="corp"] .cond-refurbished { background: var(--brand); }
[data-ui="corp"] .cond-tabs a, [data-ui="corp"] .chip-links a { border-radius: 8px; }
[data-ui="corp"] .cond-tabs a[aria-current="page"] { background: var(--brand); border-color: var(--brand); }
[data-ui="corp"] .cond-tabs .count { background: var(--brand-soft); color: var(--brand); } [data-ui="corp"] .cond-tabs a[aria-current="page"] .count { background: rgba(255,255,255,.2); color: #fff; }
[data-ui="corp"] .chip-links a:hover { border-color: var(--brand-line); background: var(--brand-soft); }
[data-ui="corp"] .stat-band > div { background: #fff; border: 1px solid var(--border); color: var(--navy-text); }
[data-ui="corp"] .stat-band dd { color: var(--brand); } [data-ui="corp"] .stat-band dt { color: var(--muted); }
[data-ui="corp"] .partners-strip { background: #fff; }
[data-ui="corp"] .pkg { border-top: 3px solid var(--brand); } [data-ui="corp"] .offer-featured { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), var(--shadow-lg); }

/* inner-page heads: light band, navy title, breadcrumb */
[data-ui="corp"] .page-head { color: var(--navy-text); padding: 48px 0 44px; background: linear-gradient(180deg, #EEF3F9, #F7F9FC); border-bottom: 1px solid var(--border); }
[data-ui="corp"] .page-head::before { background: none; background-image: radial-gradient(rgba(11,92,173,.08) 1px, transparent 1px); background-size: 22px 22px; opacity: 1;
  -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000); mask-image: linear-gradient(90deg, transparent 40%, #000); }
[data-ui="corp"] .page-head::after { display: none; }
[data-ui="corp"] .page-head h1 { color: var(--navy-text); background: none; -webkit-background-clip: border-box; background-clip: border-box; }
[data-ui="corp"] .page-head .lead { color: var(--ink-soft); } [data-ui="corp"] .page-head .muted { color: var(--muted); }
[data-ui="corp"] .page-head .kicker-light { color: var(--brand); } [data-ui="corp"] .page-head .kicker-light::before { background: var(--brand); }
[data-ui="corp"] .crumbs { color: var(--muted); } [data-ui="corp"] .crumbs a { color: var(--brand); }
[data-ui="corp"] .page-head .pkg-jump a { background: #fff; border-color: var(--border); color: var(--navy-text); border-radius: 8px; } [data-ui="corp"] .page-head .pkg-jump a:hover { border-color: var(--brand-line); color: var(--brand); background: #fff; }
[data-ui="corp"] .ph-orb { background: radial-gradient(circle at 35% 30%, #fff, #DCE8F5 60%, #C9DBEF); box-shadow: 0 20px 40px rgba(16,38,61,.12); border-color: #fff; animation: none; }
[data-ui="corp"] .ph-icon { color: var(--brand); filter: none; animation: none; }

/* closing band and footer */
[data-ui="corp"] .cta-ocean { background: linear-gradient(120deg, #0B5CAD 0%, #084A8C 100%); padding: 60px 0; }
[data-ui="corp"] .cta-ocean::before { display: none; }
[data-ui="corp"] .cta-ocean p { color: #DCE8F5; }
[data-ui="corp"] .site-footer { background: var(--navy); padding-top: 56px; }
[data-ui="corp"] .footer-wave { display: none; }
[data-ui="corp"] .footer-title { color: #fff; }
[data-ui="corp"] .site-footer a { color: #C9D6E4; } [data-ui="corp"] .site-footer a:hover { color: #fff; }
[data-ui="corp"] .site-footer .muted { color: #9EB0C3; }
[data-ui="corp"] .footer-contact .icon { color: #7FB2EA; }
[data-ui="corp"] .footer-bottom { color: #8EA2B7; border-top-color: rgba(255,255,255,.1); }
[data-ui="corp"] .site-footer .btn-glass { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
[data-ui="corp"] .site-footer a.btn-primary { background: #fff; color: var(--brand-dark); }
@media (min-width: 1100px) { .svc-strip ul { grid-template-columns: repeat(3, 1fr); } .svc-strip li { border-bottom: 1px solid var(--border); } .svc-strip li:first-child { border-left: 0; } .svc-strip li:nth-child(3n+1) { border-left: 1px solid var(--border); } .svc-strip li:nth-last-child(-n+3) { border-bottom: 0; } }
.svc-strip li { min-width: 0; } .svc-strip a > span:last-child { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 400px) { .svc-strip a { padding: 12px 10px; font-size: .86rem; gap: 8px; } .ss-icon { width: 30px; height: 30px; } }

/* -- acct-menu (2026-11): calmer header actions - one account menu, text-style language and Whale links, one primary button -- */
.site-header .nav-actions { gap: 6px; }
.site-header .nav-actions .lang-switch { border-color: transparent; background: transparent; padding: .4em .55em; gap: 5px; font-weight: 600; }
.site-header .nav-actions .lang-switch:hover { background: rgba(33, 86, 217, .07); border-color: transparent; }
.site-header .nav-actions .hub-link { display: inline-flex; align-items: center; gap: 5px; padding: .4em .6em; border-radius: 8px; color: #8A6414; font-weight: 600; font-size: .88rem; text-decoration: none; white-space: nowrap; }
.site-header .nav-actions .hub-link:hover { background: #FFF6E2; color: #6B4C0C; }
.site-header .acct { position: relative; }
.site-header .acct > summary { list-style: none; display: inline-flex; align-items: center; gap: 7px; padding: 3px 9px 3px 3px; border: 1px solid #D6DEEA; border-radius: 999px; background: #fff; color: #13315C; font-weight: 600; font-size: .88rem; cursor: pointer; user-select: none; }
.site-header .acct > summary::-webkit-details-marker { display: none; }
.site-header .acct > summary:hover, .site-header .acct[open] > summary { border-color: #AFC3E4; background: #F5F8FD; }
.site-header .acct > summary svg { transition: transform .15s; opacity: .7; }
.site-header .acct[open] > summary svg { transform: rotate(180deg); }
.site-header .acct-avatar { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #3B82F6, #1E40AF); color: #fff; font-size: .8rem; font-weight: 700; flex: none; }
.site-header .acct-name { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-header .acct-pop { position: absolute; right: 0; top: calc(100% + 8px); min-width: 240px; padding: 6px; background: #fff; border: 1px solid #E3E8F0; border-radius: 12px; box-shadow: 0 14px 36px rgba(15, 23, 42, .16); z-index: 80; text-align: left; }
.site-header .acct-head { display: flex; flex-direction: column; gap: 1px; margin: 0 0 6px; padding: 8px 12px 10px; border-bottom: 1px solid #EEF1F6; line-height: 1.35; }
.site-header .acct-head strong { color: #0F172A; font-size: .92rem; }
.site-header .acct-head small { color: #64748B; font-size: .78rem; overflow: hidden; text-overflow: ellipsis; }
.site-header .acct-pop a, .site-header .acct-pop button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border: 0; border-radius: 8px; background: none; color: #0F172A; font: inherit; font-size: .9rem; font-weight: 500; text-align: left; text-decoration: none; cursor: pointer; }
.site-header .acct-pop a:hover, .site-header .acct-pop button:hover { background: #F3F6FB; }
.site-header .acct-pop a svg { color: #2156D9; }
.site-header .acct-pop form { margin: 6px 0 0; padding-top: 6px; border-top: 1px solid #EEF1F6; }
.site-header .acct-pop form button { color: #B91C1C; }
[data-ui="dark"] .site-header .acct > summary { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.18); color: #DDF3FA; }
@media (max-width: 1239px) {
  body.ui-iphone .site-nav.open .nav-actions > .acct { display: block; grid-column: 1 / -1; min-height: 0; }
  body.ui-iphone .site-nav.open .acct > summary { width: 100%; justify-content: flex-start; padding: 6px 12px 6px 6px; border-radius: 12px; min-height: 48px; }
  body.ui-iphone .site-nav.open .acct > summary svg { margin-left: auto; }
  body.ui-iphone .site-nav.open .acct-pop { position: static; box-shadow: none; margin-top: 8px; min-width: 0; }
  body.ui-iphone .site-nav.open .acct-name { max-width: none; }
}

/* acct-menu-bp2 (2026-11): with the account menu, a signed-in header fits from 1240px too (it used to wait until 1440px for its three extra buttons) */
@media (min-width: 1240px) {
  .site-header.signed-in .nav-toggle { display: none; }
  .site-header.signed-in .site-nav { display: flex !important; flex: 1; justify-content: space-between; margin-left: 28px; position: static; border: 0; box-shadow: none; padding: 0; gap: 14px; align-items: center; background: transparent; }
  .site-header.signed-in .site-nav ul { flex-direction: row; margin: 0; flex-wrap: nowrap; } .site-header.signed-in .site-nav ul a { padding: 8px 12px; }
  .site-header.signed-in .nav-actions { flex-wrap: nowrap; white-space: nowrap; flex-shrink: 0; }
}
@media (min-width: 1240px) and (max-width: 1499px) {
  .site-header.signed-in .site-nav { margin-left: 10px; gap: 8px; }
  .site-header.signed-in .site-nav ul a { padding: 8px 7px; font-size: .9rem; }
  .site-header.signed-in .brand-name { font-size: 1.02rem; }
  .site-header.signed-in .nav-actions { gap: 4px; } .site-header.signed-in .nav-actions .btn-sm { padding-left: .8em; padding-right: .8em; font-size: .85rem; }
  .site-header .nav-actions .hub-link { font-size: .85rem; padding: .4em .45em; }
}
@media (min-width: 1240px) and (max-width: 1365px) { .site-header .acct-name { display: none; } .site-header .acct > summary { padding-right: 7px; } }

/* ── fq-2026-11: FAQ page redesign (templates/public/faq.html) ── */
.fq-hero { position: relative; overflow: hidden; padding: 44px 0 40px; background: linear-gradient(160deg, #0B2A5B 0%, #11316B 45%, #1D4ED8 100%); color: #fff; }
.fq-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(180deg, #000 30%, transparent); pointer-events: none; }
.fq-hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(96,165,250,.35), transparent 65%); pointer-events: none; }
.fq-hero-in { position: relative; z-index: 1; max-width: 860px; text-align: center; }
.fq-crumbs { display: inline-flex; gap: 8px; align-items: center; font-size: .86rem; color: rgba(219,234,254,.85); margin-bottom: 14px; }
.fq-crumbs a { color: #fff; text-decoration: none; font-weight: 600; } .fq-crumbs a:hover { text-decoration: underline; }
.fq-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.7rem); line-height: 1.2; margin: 0 0 10px; letter-spacing: -.01em; }
.fq-lead { color: rgba(226,238,255,.9); font-size: 1.05rem; margin: 0 auto 26px; max-width: 620px; }
.fq-search { position: relative; display: flex; align-items: center; gap: 8px; max-width: 680px; margin: 0 auto; padding: 7px 7px 7px 50px; background: #fff; border-radius: 16px; box-shadow: 0 18px 40px rgba(2, 12, 40, .35); }
.fq-search > svg { position: absolute; left: 18px; color: #64748B; }
.fq-search input { flex: 1; min-width: 0; border: 0 !important; outline: none; background: transparent !important; box-shadow: none !important; font: inherit; font-size: 1.02rem; color: #0F172A; padding: 10px 4px; min-height: 0; }
.fq-search input::placeholder { color: #94A3B8; }
.fq-search .btn { border-radius: 11px; padding: .7em 1.3em; }
.fq-chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 20px auto 0; padding: 0; max-width: 760px; }
.fq-chips a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; font-size: .88rem; font-weight: 600; text-decoration: none; transition: background .15s; }
.fq-chips a:hover { background: rgba(255,255,255,.2); }
.fq-chips span { font-size: .74rem; padding: 0 7px; border-radius: 999px; background: rgba(255,255,255,.18); }

.fq-body { padding: 40px 0 64px; background: #F6F8FC; }
.fq-grid { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 32px; align-items: start; max-width: 1100px; }
.fq-grid-single { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.fq-side { position: sticky; top: 96px; }
.fq-side-title { margin: 0 0 8px 12px; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #64748B; }
.fq-side ul { list-style: none; margin: 0; padding: 0; border-left: 2px solid #E2E8F0; }
.fq-side a { display: flex; justify-content: space-between; gap: 8px; margin-left: -2px; padding: 8px 12px; border-left: 2px solid transparent; color: #334155; font-size: .92rem; font-weight: 500; text-decoration: none; }
.fq-side a span { color: #94A3B8; font-size: .8rem; }
.fq-side a:hover { color: #1D4ED8; }
.fq-side a.is-active { border-left-color: #1D4ED8; color: #1D4ED8; font-weight: 700; }
.fq-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 14px; }
.fq-count { margin: 0; color: #64748B; font-size: .9rem; }
.fq-toggle-all { border: 0; background: none; color: #1D4ED8; font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; padding: 4px 0; }
.fq-toggle-all:hover { text-decoration: underline; }
.fq-group { margin: 0 0 30px; scroll-margin-top: 96px; }
.fq-group h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 1.1rem; color: #0F172A; }
.fq-group h2::before { content: ""; width: 4px; height: 18px; border-radius: 2px; background: linear-gradient(#3B82F6, #1D4ED8); }
.fq-item { margin: 0 0 10px; background: #fff; border: 1px solid #E3E8F0; border-radius: 14px; box-shadow: 0 1px 2px rgba(15,23,42,.04); transition: border-color .15s, box-shadow .15s; scroll-margin-top: 96px; }
.fq-item:hover { border-color: #C7D5EE; }
.fq-item[open] { border-color: #BFD3F7; box-shadow: 0 10px 28px rgba(29,78,216,.08); }
.fq-item summary { list-style: none; display: flex; align-items: center; gap: 14px; padding: 17px 20px; cursor: pointer; font-weight: 600; color: #0F172A; line-height: 1.5; }
.fq-item summary::-webkit-details-marker { display: none; }
.fq-item summary::after { content: none !important; }
.fq-q { flex: 1; }
.fq-ic { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #EEF3FE; color: #1D4ED8; transition: transform .2s, background .2s; }
.fq-item[open] .fq-ic { transform: rotate(180deg); background: #1D4ED8; color: #fff; }
.fq-item summary:focus-visible { outline: 2px solid #1D4ED8; outline-offset: 2px; border-radius: 14px; }
.fq-a { padding: 0 20px 18px; color: #334155; border-top: 1px solid #F1F5F9; margin: 0 20px; padding: 14px 0 16px; }
.fq-a .prose { font-size: .97rem; line-height: 1.75; }
.fq-a .prose > :last-child { margin-bottom: 0; }
.fq-link { display: inline-flex; align-items: center; gap: 5px; margin-top: 12px; color: #64748B; font-size: .8rem; text-decoration: none; }
.fq-link:hover { color: #1D4ED8; }
.fq-item.is-target { border-color: #93B4F5; box-shadow: 0 0 0 4px rgba(29,78,216,.12); }
.fq-none { display: flex; align-items: center; gap: 14px; padding: 22px; margin: 0 0 24px; background: #fff; border: 1px dashed #CBD5E1; border-radius: 14px; color: #475569; }
.fq-none svg { color: #94A3B8; flex: none; }
.fq-none p { margin: 0; }
.fq-help { margin-top: 36px; padding: 26px; border-radius: 18px; background: #fff; border: 1px solid #E3E8F0; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.fq-help-head h2 { margin: 0 0 4px; font-size: 1.2rem; color: #0F172A; }
.fq-help-head p { margin: 0 0 18px; color: #64748B; }
.fq-help-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; margin: 0; padding: 0; }
.fq-help-grid a { display: flex; align-items: center; gap: 12px; height: 100%; padding: 14px; border: 1px solid #E3E8F0; border-radius: 12px; color: #0F172A; text-decoration: none; transition: border-color .15s, background .15s, transform .15s; }
.fq-help-grid a:hover { border-color: #BFD3F7; background: #F8FAFF; transform: translateY(-1px); }
.fq-help-grid strong { display: block; font-size: .95rem; }
.fq-help-grid small { display: block; color: #64748B; font-size: .8rem; line-height: 1.4; }
.fq-hi { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #EEF3FE; color: #1D4ED8; }
.fq-hi-line { background: #E8F8EE; color: #06A84C; }
.fq-hidden { display: none !important; }
@media (max-width: 900px) {
  .fq-grid { grid-template-columns: minmax(0, 1fr); }
  .fq-side { display: none; }
}
@media (max-width: 600px) {
  .fq-hero { padding: 30px 0 28px; text-align: left; }
  .fq-hero-in { text-align: left; }
  .fq-search { padding-left: 44px; border-radius: 14px; }
  .fq-search > svg { left: 14px; }
  .fq-search .btn { display: none; }
  .fq-chips { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin-left: -16px; margin-right: -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .fq-chips li { flex: none; }
  .fq-body { padding: 24px 0 48px; }
  .fq-item summary { padding: 15px 16px; }
  .fq-a { margin: 0 16px; }
  .fq-help { padding: 20px 16px; }
}
@media print { .fq-hero { background: none; color: #000; } .fq-hero h1 { color: #000; } .fq-search, .fq-chips, .fq-side, .fq-help, .fq-toolbar { display: none; } .fq-item { break-inside: avoid; } }
/* fq-2026-11 overrides: the site themes (corp / iphone) style h1, h2 and links globally; the FAQ page keeps its own look */
.fq-none[hidden] { display: none !important; }
html body .fq-hero h1 { color: #fff !important; font-size: clamp(1.9rem, 4vw, 2.7rem) !important; }
html body .fq-hero .fq-crumbs a, html body .fq-hero .fq-chips a { color: #fff !important; }
html body .fq-hero .fq-crumbs span { color: rgba(219,234,254,.85) !important; }
html body .fq-hero .fq-lead { color: rgba(226,238,255,.92) !important; }
html body .fq-body .fq-group h2 { font-size: 1.12rem !important; line-height: 1.4 !important; color: #0F172A !important; letter-spacing: 0 !important; }
html body .fq-body .fq-help-head h2 { font-size: 1.25rem !important; line-height: 1.4 !important; color: #0F172A !important; }
html body .fq-side a { color: #334155 !important; }
html body .fq-side a:hover, html body .fq-side a.is-active { color: #1D4ED8 !important; }
html body .fq-help-grid a, html body .fq-help-grid a strong { color: #0F172A !important; }
html body .fq-item summary { color: #0F172A !important; font-size: 1rem; }

/* real logo (round line art): no tile, no shadow */
.site-header .brand-logo.brand-logo--full { width: 48px; height: 48px; border-radius: 50%; box-shadow: none; background: #fff; }
@media (max-width: 760px) { .site-header .brand-logo.brand-logo--full { width: 40px; height: 40px; } }
/* erp-stock-2026-11: stock label of products synced from Whale ERP */
.stk { display: inline-flex; align-items: center; gap: 6px; margin: 2px 0 0; font-size: .82rem; font-weight: 600; }
.stk::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stk-in_stock { color: #15803D; } .stk-low { color: #B45309; } .stk-out { color: #B91C1C; }

/* crest logo (Whale me Solution Co., Ltd.): show the whole crest, no circle crop */
.site-header .brand-logo.brand-logo--full { width: 52px; height: 52px; border-radius: 0; background: transparent; object-fit: contain; }
@media (max-width: 760px) { .site-header .brand-logo.brand-logo--full { width: 44px; height: 44px; } }
