/* ============================================================
   TSS — บริษัท ตั๊งซุ่ยเซ้ง คอร์ปอเรชั่น จำกัด
   Landing page stylesheet · B2B-led
   ============================================================ */

/* ── 1. Tokens ─────────────────────────────────────────────── */
:root {
  /* brand */
  --navy-900: #071B2F;
  --navy-800: #0A2540;
  --navy-700: #103A5C;
  --brand-700: #084A82;
  --brand-600: #0B5FA5;
  --brand-500: #1276C8;
  --brand-100: #E4F1FB;
  --brand-050: #F2F8FD;
  --cyan-500: #16A6D9;
  --cyan-300: #6FD3F2;
  --line-green: #06C755;

  /* neutrals */
  --ink-900: #10161D;
  --ink-700: #33404E;
  --ink-500: #5C6B7A;
  --ink-300: #93A1AF;
  --line-200: #E2E8EF;
  --line-100: #EFF3F7;
  --paper: #FFFFFF;
  --paper-alt: #F6F9FC;

  /* type */
  --font: "IBM Plex Sans Thai", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* space */
  --wrap: 1180px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --sect-y: clamp(3.5rem, 8vw, 6.5rem);

  /* misc */
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(10, 37, 64, .06), 0 2px 8px rgba(10, 37, 64, .05);
  --shadow: 0 2px 6px rgba(10, 37, 64, .06), 0 12px 28px rgba(10, 37, 64, .09);
  --shadow-lg: 0 8px 20px rgba(10, 37, 64, .10), 0 28px 60px rgba(10, 37, 64, .14);
  --ring: 0 0 0 3px rgba(18, 118, 200, .35);
}

/* ── 2. Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-700);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ── 3. Layout primitives ──────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap-narrow { max-width: 800px; }

.section { padding-block: var(--sect-y); }
.section-alt { background: var(--paper-alt); }
.section-dark {
  background:
    radial-gradient(1100px 520px at 88% -10%, rgba(22, 166, 217, .22), transparent 60%),
    linear-gradient(165deg, var(--navy-800), var(--navy-900));
  color: #DCE7F2;
}
.center { text-align: center; }

/* ── 4. Type ───────────────────────────────────────────────── */
h1, h2, h3, h4 { color: var(--ink-900); line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }

h1 { font-size: clamp(1.95rem, 5.6vw, 3.35rem); line-height: 1.18; letter-spacing: -.02em; }
h2 { font-size: clamp(1.55rem, 3.9vw, 2.4rem); }
h3 { font-size: clamp(1.08rem, 2vw, 1.22rem); }

.eyebrow {
  font-size: .8rem; font-weight: 600; letter-spacing: .13em;
  text-transform: uppercase; color: var(--brand-600); margin-bottom: .7rem;
}
.section-dark .eyebrow { color: var(--cyan-300); }

.lead { font-size: clamp(1rem, 1.7vw, 1.12rem); color: var(--ink-700); }
.section-lead {
  font-size: clamp(.98rem, 1.6vw, 1.08rem);
  color: var(--ink-500); max-width: 62ch;
}
.section-lead.center { margin-inline: auto; }
.section-dark .lead, .section-dark .section-lead { color: #B6C8DA; }

h2 + .section-lead, h2 + .lead { margin-top: .9rem; }
.section > .wrap > h2.center + .section-lead { margin-bottom: 0; }

/* ── 5. Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .82rem 1.5rem;
  border: 1px solid transparent; border-radius: 999px;
  font-weight: 600; font-size: .97rem; line-height: 1.2;
  cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

.btn-primary { background: var(--brand-600); color: #fff; box-shadow: 0 6px 18px rgba(11, 95, 165, .28); }
.btn-primary:hover { background: var(--brand-700); box-shadow: 0 10px 26px rgba(11, 95, 165, .34); }

.btn-line { background: var(--line-green); color: #fff; box-shadow: 0 6px 18px rgba(6, 199, 85, .3); }
.btn-line:hover { background: #05B44D; box-shadow: 0 10px 26px rgba(6, 199, 85, .36); }

.btn-ghost { background: transparent; color: var(--brand-600); border-color: rgba(11, 95, 165, .35); }
.btn-ghost:hover { background: var(--brand-050); border-color: var(--brand-600); }

.section-dark .btn-ghost,
.hero .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .45); }
.section-dark .btn-ghost:hover,
.hero .btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

.btn-sm { padding: .68rem 1.15rem; font-size: .89rem; min-height: 44px; }
.btn-block { width: 100%; }

.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.cta-row.center { justify-content: center; }

/* ── 6. Header ─────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--line-200);
}
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 68px; }

.brand { display: inline-flex; align-items: center; gap: .68rem; flex: none; }
.brand-mark {
  width: 46px; height: 46px; flex: none;
  display: block; object-fit: contain;
}
@media (max-width: 480px) { .brand-mark { width: 40px; height: 40px; } }
.brand-text { display: flex; flex-direction: column; line-height: 1.22; }
.brand-text strong { font-size: 1.02rem; color: var(--ink-900); font-weight: 700; }
.brand-text small { font-size: .69rem; color: var(--ink-500); letter-spacing: .02em; }

.nav { display: none; margin-inline-start: auto; gap: 1.55rem; }
.nav a {
  font-size: .93rem; font-weight: 500; color: var(--ink-700);
  padding-block: .3rem; position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--brand-600); border-radius: 2px; transition: right .22s ease;
}
.nav a:hover { color: var(--brand-600); }
.nav a:hover::after { right: 0; }

.header-cta { margin-inline-start: auto; }
.nav + .header-cta { margin-inline-start: 1.4rem; }

@media (min-width: 900px) {
  .nav { display: flex; }
}
.btn-label-short { display: none; }
@media (max-width: 480px) {
  .header-cta .btn-label { display: none; }
  .header-cta .btn-label-short { display: inline; }
  .header-cta { padding-inline: .95rem; }
  .brand-text strong { font-size: .95rem; }
  .brand-text small { font-size: .66rem; }
}

/* ── 7. Hero ───────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background-color: var(--navy-900);
  background-image:
    radial-gradient(900px 480px at 82% 8%, rgba(22, 166, 217, .26), transparent 62%),
    radial-gradient(700px 420px at 8% 92%, rgba(123, 97, 255, .16), transparent 60%),
    linear-gradient(104deg, rgba(9, 26, 45, .96) 0%, rgba(9, 26, 45, .86) 38%, rgba(10, 38, 65, .60) 72%, rgba(12, 46, 78, .48) 100%),
    url("./assets/hero-bg.webp");
  background-size: auto, auto, auto, cover;
  background-position: center, center, center, 62% center;
  background-repeat: no-repeat;
  color: #C9DAEA;
  padding-block: clamp(2.75rem, 7vw, 5.5rem) clamp(3rem, 8vw, 6rem);
}
@media (max-width: 959px) {
  .hero {
    background-image:
      radial-gradient(700px 420px at 82% 4%, rgba(22, 166, 217, .26), transparent 62%),
      linear-gradient(178deg, rgba(9, 26, 45, .93) 0%, rgba(9, 26, 45, .90) 55%, rgba(9, 26, 45, .96) 100%),
      url("./assets/hero-bg.webp");
    background-size: auto, auto, cover;
    background-position: center, center, center;
  }
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(111, 211, 242, .5), transparent);
}
.hero-inner { display: grid; gap: clamp(2.25rem, 5vw, 3.5rem); align-items: center; }
@media (min-width: 960px) {
  .hero-inner { grid-template-columns: 1.08fr .92fr; }
}

.hero-slogan {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .38rem .95rem .38rem .55rem;
  border: 1px solid rgba(111, 211, 242, .38);
  border-radius: 999px;
  background: rgba(22, 166, 217, .12);
  font-size: .82rem; font-weight: 600; color: #A9E2F7; letter-spacing: .01em;
  margin-bottom: 1.35rem;
}
.hero-slogan b { color: #fff; }
.hero-slogan .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--cyan-300);
  box-shadow: 0 0 0 4px rgba(111, 211, 242, .22);
}

.hero h1 { color: #fff; }
.hero h1 .hl {
  background: linear-gradient(100deg, #8AD9FF, #A9D6FF 50%, #C6B4FF);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { color: #B6C8DA; margin-top: 1.15rem; max-width: 54ch; }
.hero .lead strong { color: #fff; font-weight: 600; }

.hero-note {
  margin-top: 1rem; font-size: .84rem; color: #8AA2B8;
  display: flex; align-items: center; gap: .45rem;
}

/* trust strip */
.trust-row {
  list-style: none; padding: 1.5rem 0 0; margin: 1.9rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, .14);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.trust-row li { display: flex; flex-direction: column; gap: .12rem; }
.trust-row b { font-size: clamp(1.15rem, 3vw, 1.5rem); color: #fff; font-weight: 700; line-height: 1.2; }
.trust-row span { font-size: .78rem; color: #8AA2B8; line-height: 1.4; }

/* hero visual */
.hero-visual { position: relative; }
.hero-panel {
  border-radius: var(--r-lg);
  border: 1px solid rgba(255, 255, 255, .16);
  background: linear-gradient(160deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .04));
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow-lg);
}
.hero-panel h2 {
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--cyan-300); font-weight: 600; margin-bottom: 1.1rem;
}
.hero-panel ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .95rem; }
.hero-panel li { display: flex; gap: .8rem; align-items: flex-start; }
.hero-panel li .ic {
  width: 34px; height: 34px; flex: none; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(22, 166, 217, .18); border: 1px solid rgba(111, 211, 242, .3);
  color: var(--cyan-300);
}
.hero-panel li .ic svg { width: 17px; height: 17px; }
.hero-panel li b { display: block; color: #fff; font-size: .95rem; font-weight: 600; line-height: 1.4; }
.hero-panel li span { font-size: .84rem; color: #9FB4C8; line-height: 1.55; }

.hero-badge {
  margin-top: 1rem; padding: .9rem 1.1rem;
  border-radius: var(--r);
  background: rgba(6, 199, 85, .12);
  border: 1px solid rgba(6, 199, 85, .35);
  display: flex; align-items: center; gap: .75rem;
}
.hero-badge .ic { color: var(--line-green); flex: none; }
.hero-badge .ic svg { width: 22px; height: 22px; }
.hero-badge b { display: block; color: #fff; font-size: .92rem; }
.hero-badge span { font-size: .8rem; color: #9FB4C8; }

/* ── 8. Client / reference strip ───────────────────────────── */
.refs { padding-block: clamp(2rem, 4vw, 2.75rem); border-bottom: 1px solid var(--line-200); }
.refs-label {
  text-align: center; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-300); font-weight: 600; margin-bottom: 1.4rem;
}
.refs-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem .75rem;
}
.refs-list li {
  padding: .5rem 1.05rem; border-radius: 999px;
  border: 1px solid var(--line-200); background: var(--paper-alt);
  font-size: .88rem; font-weight: 600; color: var(--ink-700);
}
.refs-list li small { display: block; font-size: .72rem; font-weight: 400; color: var(--ink-300); }

/* ── 9. Grids & cards ──────────────────────────────────────── */
.grid { display: grid; gap: 1.15rem; margin-top: clamp(2rem, 4vw, 3rem); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid-2, .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--paper); border: 1px solid var(--line-200); border-radius: var(--r);
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(11, 95, 165, .28); }
.card-icon {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 1.05rem;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--brand-100), #EAF6FF);
  color: var(--brand-600); border: 1px solid rgba(11, 95, 165, .15);
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: .5rem; }
.card p { font-size: .93rem; color: var(--ink-500); }
.card ul {
  margin: .85rem 0 0; padding: 0; list-style: none;
  display: grid; gap: .38rem; font-size: .87rem; color: var(--ink-500);
}
.card ul li { position: relative; padding-inline-start: 1.05rem; }
.card ul li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .62em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--cyan-500);
}
.card-tag {
  margin-top: auto; padding-top: 1rem;
  font-size: .82rem; font-weight: 600; color: var(--brand-600);
}

/* numbered "why" items */
.why-item {
  position: relative; padding: 1.7rem 1.4rem 1.5rem;
  border-radius: var(--r);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
}
.why-num {
  display: block; font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  color: var(--cyan-300); margin-bottom: .65rem;
}
.why-item h3 { margin-bottom: .45rem; font-size: 1.06rem; }
.why-item p { font-size: .9rem; color: #A9BDD0; }

/* audience chips */
.audience {
  list-style: none; padding: 0; margin-top: clamp(2rem, 4vw, 2.75rem);
  display: grid; gap: .85rem; grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 720px) { .audience { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1040px) { .audience { grid-template-columns: repeat(5, 1fr); } }
.audience li {
  text-align: center; padding: 1.35rem .8rem;
  border-radius: var(--r); border: 1px solid var(--line-200); background: var(--paper);
  box-shadow: var(--shadow-sm);
}
.audience .ic {
  width: 40px; height: 40px; margin: 0 auto .7rem; border-radius: 11px;
  display: grid; place-items: center;
  background: var(--brand-050); color: var(--brand-600);
}
.audience .ic svg { width: 20px; height: 20px; }
.audience b { display: block; font-size: .94rem; color: var(--ink-900); font-weight: 600; }
.audience span { font-size: .78rem; color: var(--ink-300); }

/* ── 10. Process steps ─────────────────────────────────────── */
.steps {
  list-style: none; padding: 0; margin-top: clamp(2rem, 4vw, 3rem);
  display: grid; gap: 1rem;
  counter-reset: step;
}
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(5, 1fr); } }
.steps li {
  position: relative; padding: 1.5rem 1.25rem;
  background: var(--paper); border: 1px solid var(--line-200);
  border-radius: var(--r); box-shadow: var(--shadow-sm);
  overflow: hidden;
}
/* photo band. FIXED height (not aspect-ratio) so the connector rail below
   can be positioned deterministically — see §21 .steps::before */
.step-illus {
  display: block; margin: -1.5rem -1.25rem 1.15rem;
  height: 190px; background: var(--navy-900); overflow: hidden;
}
.step-illus img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  transition: transform .45s cubic-bezier(.2,.7,.3,1);
}
.steps li:hover .step-illus img { transform: scale(1.05); }
@media (prefers-reduced-motion: reduce) {
  .step-illus img { transition: none; }
  .steps li:hover .step-illus img { transform: none; }
}
@media (min-width: 760px)  { .step-illus { height: 150px; } }
@media (min-width: 1040px) { .step-illus { height: 130px; } }
.step-n {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 10px; margin-bottom: .85rem;
  background: var(--brand-600); color: #fff; font-weight: 700; font-size: .92rem;
  box-shadow: 0 4px 12px rgba(11, 95, 165, .3);
}
.steps h3 { font-size: 1rem; margin-bottom: .35rem; }
.steps p { font-size: .87rem; color: var(--ink-500); }

/* ── 11. Works ─────────────────────────────────────────────── */
.work {
  margin: 0; border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--line-200); background: var(--paper);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .25s ease;
  display: flex; flex-direction: column;
}
.work:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.work-media {
  aspect-ratio: 3 / 2; position: relative;
  background: linear-gradient(150deg, var(--navy-700), var(--navy-900));
  display: grid; place-items: center; color: rgba(255, 255, 255, .7);
  overflow: hidden;
}
.work-media::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(400px 200px at 75% 20%, rgba(22, 166, 217, .35), transparent 65%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 22px);
}
.work-media svg { width: 46px; height: 46px; position: relative; opacity: .85; }
.work-media img { width: 100%; height: 100%; object-fit: cover; position: relative; }
.work-body { padding: 1.15rem 1.25rem 1.35rem; }
.work-body .work-kind {
  font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--brand-600); margin-bottom: .35rem;
}
.work-body h3 { font-size: 1.02rem; margin-bottom: .35rem; }
.work-body p { font-size: .87rem; color: var(--ink-500); }

/* ── 12. Reviews ───────────────────────────────────────────── */
.rating-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: .4rem .9rem; margin-top: 1.4rem;
}
.stars { display: inline-flex; gap: .12rem; color: #F5A623; }
.stars svg { width: 19px; height: 19px; }
.rating-bar b { color: var(--ink-900); font-size: 1.02rem; }
.rating-bar span { color: var(--ink-500); font-size: .9rem; }

.review {
  margin: 0; padding: 1.5rem 1.4rem;
  background: var(--paper); border: 1px solid var(--line-200);
  border-radius: var(--r); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.review .stars { margin-bottom: .8rem; }
.review p { font-size: .95rem; color: var(--ink-700); }
.review cite {
  margin-top: auto; padding-top: 1rem;
  font-style: normal; font-size: .85rem; color: var(--ink-300);
}
.review cite b { color: var(--ink-700); font-weight: 600; }

/* ── 13. Care plan (PM) banner ─────────────────────────────── */
.care {
  border-radius: var(--r-lg); overflow: hidden;
  background:
    radial-gradient(700px 340px at 88% 0%, rgba(22, 166, 217, .3), transparent 62%),
    linear-gradient(150deg, var(--brand-700), var(--navy-800));
  color: #C9DAEA;
  padding: clamp(1.9rem, 5vw, 3.1rem);
  display: grid; gap: 1.8rem;
  box-shadow: var(--shadow-lg);
}
@media (min-width: 900px) { .care { grid-template-columns: 1.15fr .85fr; align-items: center; } }
.care h2 { color: #fff; }
.care p { color: #B6C8DA; margin-top: .9rem; font-size: 1rem; }
.care-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.care-list li { display: flex; gap: .65rem; align-items: flex-start; font-size: .93rem; color: #DCE7F2; }
.care-list svg { width: 19px; height: 19px; flex: none; color: var(--cyan-300); margin-top: .22em; }

/* ── 14. Pricing (B2C zone) ────────────────────────────────── */
.b2c-head {
  display: grid; gap: 1rem; align-items: end;
  margin-bottom: clamp(1.75rem, 3vw, 2.4rem);
}
@media (min-width: 860px) { .b2c-head { grid-template-columns: 1fr auto; } }

.price-grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 620px) { .price-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .price-grid { grid-template-columns: repeat(4, 1fr); } }

.price-card {
  background: var(--paper); border: 1px solid var(--line-200); border-radius: var(--r);
  padding: 1.5rem 1.3rem 1.4rem; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; position: relative;
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}
.price-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(11, 95, 165, .28); }
.price-card.is-featured { border-color: var(--brand-500); box-shadow: 0 0 0 1px var(--brand-500), var(--shadow); }
.price-flag {
  position: absolute; top: -11px; inset-inline-start: 1.3rem;
  background: var(--brand-600); color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  padding: .22rem .7rem; border-radius: 999px;
  box-shadow: 0 4px 12px rgba(11, 95, 165, .35);
}
.price-type {
  aspect-ratio: 5 / 2; margin-bottom: 1rem; border-radius: 10px;
  background: linear-gradient(160deg, var(--brand-050), #E9F4FC);
  display: grid; place-items: center; color: var(--brand-600);
  border: 1px solid rgba(11, 95, 165, .12);
}
.price-type svg { width: 56px; height: 34px; }
.price-card h3 { font-size: 1.05rem; margin-bottom: .15rem; }
.price-card .price-sub { font-size: .8rem; color: var(--ink-300); }
.price-amount {
  margin-top: .9rem; display: flex; align-items: baseline; gap: .35rem; flex-wrap: wrap;
}
.price-amount b { font-size: 1.85rem; color: var(--ink-900); font-weight: 700; line-height: 1; }
.price-amount .unit { font-size: .85rem; color: var(--ink-500); }
.price-was { font-size: .8rem; color: var(--ink-300); margin-top: .3rem; }
.price-was s { color: var(--ink-300); }
.price-promo {
  margin-top: .75rem; padding: .5rem .7rem; border-radius: 8px;
  background: #FFF7E8; border: 1px solid #F5DDA8;
  font-size: .8rem; color: #8A5B00; font-weight: 600;
}

.price-notes {
  list-style: none; padding: 1.2rem 1.3rem; margin: 1.5rem 0 0;
  background: var(--paper); border: 1px solid var(--line-200);
  border-inline-start: 3px solid var(--brand-500);
  border-radius: var(--r-sm);
  display: grid; gap: .5rem; font-size: .87rem; color: var(--ink-500);
}
.price-notes li { position: relative; padding-inline-start: 1.15rem; }
.price-notes li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .62em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--ink-300);
}
.price-notes li b { color: var(--ink-700); }

/* ── 15. FAQ ───────────────────────────────────────────────── */
.faq { margin-top: clamp(2rem, 4vw, 2.75rem); display: grid; gap: .7rem; }
.faq details {
  background: var(--paper); border: 1px solid var(--line-200);
  border-radius: var(--r-sm); overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq details[open] { border-color: rgba(11, 95, 165, .3); box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.05rem 3rem 1.05rem 1.25rem;
  font-weight: 600; color: var(--ink-900); font-size: .98rem; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; inset-inline-end: 1.25rem; top: 50%;
  width: 10px; height: 10px; margin-top: -6px;
  border-inline-end: 2px solid var(--brand-600); border-block-end: 2px solid var(--brand-600);
  transform: rotate(45deg); transition: transform .22s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq summary:hover { color: var(--brand-600); }
.faq details > p {
  padding: 0 1.25rem 1.2rem; font-size: .93rem; color: var(--ink-500);
  border-top: 1px solid var(--line-100); padding-top: 1rem; margin-top: -.1rem;
}

/* ── 16. Areas / branches ──────────────────────────────────── */
.branches { display: grid; gap: 1.15rem; margin-top: clamp(2rem, 4vw, 2.75rem); }
@media (min-width: 800px) { .branches { grid-template-columns: repeat(2, 1fr); } }
.branch {
  padding: 1.6rem 1.45rem; border-radius: var(--r);
  background: var(--paper); border: 1px solid var(--line-200); box-shadow: var(--shadow-sm);
}
.branch-tag {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--brand-600); margin-bottom: .7rem;
}
.branch h3 { margin-bottom: .5rem; }
.branch address { font-style: normal; font-size: .92rem; color: var(--ink-500); line-height: 1.65; }
.branch .branch-links { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.1rem; }

.areas {
  list-style: none; padding: 0; margin: 1.6rem 0 0;
  display: flex; flex-wrap: wrap; gap: .5rem;
}
.areas li {
  padding: .42rem .95rem; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line-200);
  font-size: .87rem; color: var(--ink-700);
}

/* ── 17. Contact ───────────────────────────────────────────── */
.contact-inner { display: grid; gap: clamp(2rem, 4vw, 3rem); }
@media (min-width: 900px) { .contact-inner { grid-template-columns: 1.05fr .95fr; align-items: start; } }

.contact-list {
  margin: 1.9rem 0 0; display: grid; gap: 0;
  grid-template-columns: auto 1fr;
}
.contact-list dt {
  font-size: .87rem; color: #8AA2B8; font-weight: 500;
  padding: .62rem 1.3rem .62rem 0; border-top: 1px solid rgba(255, 255, 255, .12);
  white-space: nowrap;
}
.contact-list dd {
  margin: 0; font-size: .95rem; color: #fff; font-weight: 500;
  padding: .62rem 0; border-top: 1px solid rgba(255, 255, 255, .12);
}
.contact-list dd a { border-bottom: 1px solid rgba(255, 255, 255, .3); }
.contact-list dd a:hover { border-bottom-color: var(--cyan-300); color: var(--cyan-300); }
.contact-list dd small { display: block; font-size: .8rem; color: #8AA2B8; font-weight: 400; }

.map-frame {
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .05);
  min-height: 320px; display: grid; place-items: center;
}
.map-frame iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
.map-placeholder { text-align: center; padding: 2rem 1.5rem; color: #8AA2B8; font-size: .92rem; }
.map-placeholder svg { width: 40px; height: 40px; margin: 0 auto .8rem; color: var(--cyan-300); opacity: .8; }
.map-placeholder small { display: block; margin-top: .35rem; font-size: .8rem; opacity: .75; }

/* ── 18. Footer ────────────────────────────────────────────── */
.site-footer {
  background: var(--navy-900); color: #8AA2B8;
  padding-block: clamp(2.5rem, 5vw, 3.75rem) 0;
  font-size: .9rem;
}
.footer-inner { display: grid; gap: 2rem; }
@media (min-width: 860px) { .footer-inner { grid-template-columns: 1.4fr 1fr 1fr; } }
.brand-footer .brand-text strong { color: #fff; }
.brand-footer .brand-text small { color: #7E93A8; }
.footer-note { margin-top: 1rem; font-size: .87rem; color: #7E93A8; max-width: 42ch; line-height: 1.7; }
.footer-col h4 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-col a:hover { color: var(--cyan-300); }
.footer-bottom {
  margin-top: clamp(2rem, 4vw, 3rem); padding-block: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; justify-content: space-between;
  font-size: .82rem; color: #6C8199;
}

/* ── 19. Sticky mobile CTA ─────────────────────────────────── */
.mobile-cta {
  position: fixed; inset: auto 0 0 0; z-index: 70;
  display: flex; gap: .6rem;
  padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line-200);
  box-shadow: 0 -6px 24px rgba(10, 37, 64, .1);
  transform: translateY(110%); transition: transform .28s ease;
}
.mobile-cta.is-visible { transform: translateY(0); }
.mobile-cta .btn { flex: 1; padding-inline: .75rem; }
@media (min-width: 900px) { .mobile-cta { display: none; } }
@media (max-width: 899px) { body { padding-bottom: 78px; } }

.footer-link-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.footer-link-button:hover,
.footer-link-button:focus-visible { color: var(--cyan-300); text-decoration: underline; }

.marketing-consent {
  position: fixed; right: 18px; bottom: 18px; z-index: 10000;
  display: grid; width: min(620px, calc(100vw - 36px));
  grid-template-columns: 1fr auto; gap: 20px; padding: 20px;
  border: 1px solid rgba(43, 190, 220, .35); border-radius: var(--r);
  background: rgba(7, 28, 48, .98); color: #fff;
  box-shadow: 0 20px 60px rgba(3, 18, 32, .38);
}
.marketing-consent-copy strong,
.marketing-consent-copy p,
.marketing-consent-copy a { display: block; }
.marketing-consent-copy p {
  margin: 7px 0; color: rgba(255, 255, 255, .75);
  font-size: .82rem; line-height: 1.65;
}
.marketing-consent-copy a {
  width: fit-content; color: var(--cyan-300); font-size: .78rem;
  text-decoration: underline;
}
.marketing-consent-actions { display: flex; align-items: end; gap: 8px; }
.marketing-consent-actions button {
  min-height: 42px; padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .32); border-radius: 6px;
  background: transparent; color: #fff; font: inherit;
  font-size: .78rem; font-weight: 700; cursor: pointer; white-space: nowrap;
}
.marketing-consent-actions .consent-primary {
  border-color: var(--cyan-300); background: var(--cyan-300); color: var(--navy-900);
}
@media (max-width: 720px) {
  .marketing-consent {
    right: 10px; bottom: 88px; width: calc(100vw - 20px);
    grid-template-columns: 1fr; gap: 14px; padding: 17px;
  }
  .marketing-consent-actions { align-items: stretch; }
  .marketing-consent-actions button { flex: 1; }
}

/* ── 20. Reveal on scroll ──────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ── 22. Stats band ────────────────────────────────────────── */
.stats {
  list-style: none; padding: 0; margin: clamp(2rem, 4vw, 3rem) 0 0;
  display: grid; gap: 1px; background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--r);
  overflow: hidden;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats li { background: var(--navy-800); padding: 1.4rem 1.1rem; text-align: center; }
.stats b { display: block; font-size: clamp(1.4rem, 3.4vw, 1.95rem); color: #fff; font-weight: 700; line-height: 1.15; }
.stats span { display: block; margin-top: .3rem; font-size: .8rem; color: #93AABF; line-height: 1.45; }

/* ── 23. Service pillars ───────────────────────────────────── */
/* selector must out-specify `.card p` (§22) or the label loses its white text */
.pillar-lead,
.card p.pillar-lead {
  display: inline-flex; align-self: flex-start; align-items: center; gap: .4rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .06em;
  color: #fff; background: var(--brand-600);
  padding: .18rem .6rem; border-radius: 999px; margin-bottom: .6rem;
}

/* ── 24. Team ──────────────────────────────────────────────── */
.team { display: grid; gap: 1.15rem; margin-top: clamp(2rem, 4vw, 3rem); grid-template-columns: 1fr; }
@media (min-width: 700px) { .team { grid-template-columns: repeat(2, 1fr); } }
.member {
  padding: 1.55rem 1.4rem; border-radius: var(--r);
  background: var(--paper); border: 1px solid var(--line-200); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.member-head { display: flex; align-items: center; gap: .9rem; margin-bottom: .95rem; }
.member-ini {
  width: 48px; height: 48px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--brand-600), var(--cyan-500));
  color: #fff; font-weight: 700; font-size: .95rem;
}
.member-head h3 { font-size: 1.02rem; margin-bottom: .1rem; }
.member-role { font-size: .82rem; color: var(--brand-600); font-weight: 600; }
.member p { font-size: .9rem; color: var(--ink-500); }
.member ul {
  list-style: none; padding: .9rem 0 0; margin: .9rem 0 0;
  border-top: 1px solid var(--line-100);
  display: grid; gap: .32rem; font-size: .82rem; color: var(--ink-500);
}
.member ul li { position: relative; padding-inline-start: .95rem; }
.member ul li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .6em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--cyan-500);
}

/* ══════════ 25. PROMO BADGE / EXTRA DISCOUNT ══════════ */
.b2c-head-aside {
  display: flex; flex-direction: column; align-items: stretch; gap: .8rem;
}
@media (min-width: 860px) { .b2c-head-aside { align-items: flex-end; } }

.promo-badge {
  flex: none;
  display: flex; flex-direction: column; gap: .12rem;
  text-align: center;
  padding: .78rem 1.15rem;
  border-radius: var(--r);
  background: linear-gradient(140deg, #0E63A8, #16A6D9);
  color: #fff;
  box-shadow: 0 6px 18px rgba(11, 95, 165, .28);
}
.promo-kicker {
  font-size: .64rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: #BDE7FA;
}
.promo-badge strong { font-size: 1.02rem; font-weight: 700; }
.promo-until { font-size: .78rem; color: #DCF1FB; }

.promo-extra {
  margin-top: 1.5rem;
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem;
  padding: 1.15rem 1.3rem;
  border-radius: var(--r);
  border: 1px dashed rgba(11, 95, 165, .38);
  background: linear-gradient(120deg, #F2F9FF, #FFFFFF 70%);
}
.promo-extra-main { flex: 1 1 20rem; min-width: 0; }
.promo-extra-tag {
  display: inline-block; margin-bottom: .4rem;
  padding: .2rem .6rem; border-radius: 999px;
  background: #0B5FA5; color: #fff;
  font-size: .68rem; font-weight: 700; letter-spacing: .05em;
}
.promo-extra p { font-size: .93rem; color: var(--ink-700); margin: 0; }
.promo-extra-sub {
  margin-top: .6rem !important;
  padding-top: .6rem;
  border-top: 1px solid rgba(11, 95, 165, .16);
  font-size: .87rem !important; color: var(--ink-500) !important;
}
.promo-extra-sub a { color: var(--brand-600); font-weight: 600; }
.promo-extra-sub a:hover { text-decoration: underline; }
.promo-extra .btn { flex: none; }

@media (max-width: 640px) {
  .promo-extra .btn-label { display: none; }
  .promo-extra .btn-label-short { display: inline; }
  .promo-extra .btn { width: 100%; }
}

/* ══════════ 26. REVIEWS ══════════ */
.review-highlight {
  margin: 1.9rem auto 1.7rem;
  max-width: 30rem;
  display: flex; align-items: center; gap: 1.1rem;
  padding: 1.05rem 1.3rem;
  border-radius: var(--r);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
}
.review-score {
  flex: none;
  font-size: 1.55rem; font-weight: 700; letter-spacing: -.02em;
  color: #7FE0A8;
}
.review-highlight strong { display: block; color: #fff; font-size: 1rem; }
.review-highlight span { display: block; font-size: .82rem; color: #A9C2D6; }

.review-grid {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .review-grid { grid-template-columns: repeat(3, 1fr); } }

.review-card {
  display: flex; flex-direction: column; gap: .5rem;
  padding: 1.3rem 1.25rem;
  border-radius: var(--r);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  transition: background .18s ease, transform .18s ease, border-color .18s ease;
}
.review-card:hover, .review-card:focus-visible {
  background: rgba(255, 255, 255, .11);
  border-color: rgba(255, 255, 255, .3);
  transform: translateY(-2px);
}
.review-ico {
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 11px; background: rgba(22, 166, 217, .2); color: #7FD3F2;
}
.review-ico svg { width: 21px; height: 21px; }
.review-card h3 { font-size: 1rem; color: #fff; font-weight: 600; }
.review-card p { font-size: .87rem; color: #A9C2D6; margin: 0; flex: 1; }
.review-go { font-size: .85rem; font-weight: 600; color: #7FD3F2; }

.review-note {
  margin: 1.9rem auto 0;
  max-width: 40rem;
  text-align: center;
  font-size: .9rem;
  line-height: 1.75;
  color: #A9C2D6;
}

/* ── 27. Service card illustrations ────────────────────────── */
.card-illus {
  margin: -1.6rem -1.4rem 1.15rem;
  border-radius: calc(var(--r) - 1px) calc(var(--r) - 1px) 0 0;
  overflow: hidden;
  background: var(--navy-900);
  aspect-ratio: 320 / 132;
}
.card-illus img {
  display: block; width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .45s cubic-bezier(.2,.7,.3,1);
}
.card:hover .card-illus img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) {
  .card-illus img { transition: none; }
  .card:hover .card-illus img { transform: none; }
}

/* ── 28. Client reference groups ───────────────────────────── */
/* photo backdrop for the whole section; cards float on top as frosted glass */
.section-photo {
  position: relative; isolation: isolate;
  background: var(--navy-900);
  color: #DCE7F2;
}
/* photo is a BAND at the top that fades into the navy base, not a full-height
   cover — on tall/narrow viewports `cover` zooms a 16:9 image so far that the
   skyline disappears entirely. Height is set per breakpoint so the crop stays sane. */
.section-photo::before {
  content: ""; position: absolute; inset: 0 0 auto 0; z-index: -2;
  height: 340px;
  background-image: url("./assets/bg/clients-bg.webp");
  background-size: cover; background-position: center top;
  -webkit-mask-image: linear-gradient(180deg, #000 52%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 52%, transparent 100%);
}
@media (min-width: 700px)  { .section-photo::before { height: 500px; } }
@media (min-width: 1040px) { .section-photo::before { height: 660px; } }
/* the scrim is mostly baked into the .webp already — this only adds depth */
.section-photo::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 460px at 78% 6%, rgba(22, 166, 217, .10), transparent 62%),
    linear-gradient(180deg, rgba(7, 27, 47, .42), rgba(7, 27, 47, .28) 40%, rgba(7, 27, 47, .58));
}
.section-photo h2, .section-photo h3 { color: #fff; }
.section-photo .eyebrow { color: var(--cyan-300); }
.section-photo .section-lead { color: #B6C8DA; }

.ref-groups {
  margin-top: clamp(1.6rem, 3vw, 2.2rem);
  columns: 1; column-gap: 2.6rem;
}
@media (min-width: 640px)  { .ref-groups { columns: 2; } }

.ref-group {
  break-inside: avoid; -webkit-column-break-inside: avoid;
  margin-bottom: 1rem;
  padding: 0;
  margin-bottom: 1.5rem;
  background: none; border: 0; box-shadow: none;
}
.ref-head {
  display: flex; align-items: center; gap: .6rem;
  padding-bottom: .5rem; margin-bottom: .35rem;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}
.ref-ic { flex: none; color: var(--cyan-300); display: block; }
.ref-ic svg { width: 20px; height: 20px; }
.section-photo .ref-head h3 {
  font-size: .93rem; font-weight: 600; line-height: 1.35;
  color: #fff; letter-spacing: 0;
}
.ref-logos {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: .1rem;
  grid-template-columns: repeat(auto-fill, minmax(6.6rem, 1fr));
}
/* logos are white monochrome and sit straight on the photo — no tile behind them */
.ref-logos li {
  min-width: 0; padding: .3rem .35rem;
  display: grid; place-items: center;
  opacity: 1; transition: opacity .18s ease, transform .18s ease;
}
.ref-logos li:hover { opacity: .82; transform: translateY(-2px); }
.ref-logos img { width: 100%; height: auto; }
.ref-more {
  margin-top: .45rem; font-size: .84rem; color: rgba(220, 231, 242, .78); line-height: 1.6;
}
.ref-note {
  margin: 1.6rem auto 0; max-width: 46rem; text-align: center;
  font-size: .78rem; line-height: 1.7; color: rgba(220, 231, 242, .72);
}

/* ── 29. Process steps — icon + connecting rail ────────────── */
.steps { position: relative; }
@media (min-width: 1040px) {
  .steps::before {
    content: ""; position: absolute; left: 7%; right: 7%; top: 167.5px; height: 3px;
    background: linear-gradient(90deg, rgba(11, 95, 165, .15), var(--brand-500) 18%, var(--cyan-500) 82%, rgba(22, 166, 217, .15));
    border-radius: 3px;
  }
  .steps li { z-index: 1; }
}
.step-head { display: flex; align-items: center; gap: .6rem; margin-bottom: .9rem; }
.step-ic {
  width: 40px; height: 40px; flex: none; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--brand-600), #16A6D9); color: #fff;
  box-shadow: 0 5px 14px rgba(11, 95, 165, .28);
}
.step-ic svg { width: 21px; height: 21px; }
.step-n {
  width: 26px; height: 26px; border-radius: 8px; margin-bottom: 0;
  background: var(--brand-050); color: var(--brand-600);
  border: 1px solid rgba(11, 95, 165, .18);
  font-size: .8rem; box-shadow: none;
}

/* ── 30. Stats — icon + count-up ───────────────────────────── */
.stats li { padding: 1.6rem 1.1rem 1.45rem; }
.stat-ic {
  width: 38px; height: 38px; margin: 0 auto .8rem; border-radius: 11px;
  display: grid; place-items: center;
  background: rgba(111, 211, 242, .14); color: var(--cyan-300);
  border: 1px solid rgba(111, 211, 242, .24);
}
.stat-ic svg { width: 19px; height: 19px; }
.stats b { font-variant-numeric: tabular-nums; }
.stats b .num { color: var(--cyan-300); }

/* ── 31. Works — hover zoom + lightbox ─────────────────────── */
.work-media {
  display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in;
  position: relative; appearance: none; aspect-ratio: 3 / 2;
}
.work-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s cubic-bezier(.2, .7, .3, 1);
}
.work:hover .work-media img { transform: scale(1.06); }
.work-media::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: radial-gradient(circle at 50% 50%, rgba(9, 26, 45, .38), rgba(9, 26, 45, .05) 60%);
  opacity: 0; transition: opacity .25s ease;
}
.work:hover .work-media::after, .work-media:focus-visible::after { opacity: 1; }
.work-zoom {
  position: absolute; z-index: 3; right: .7rem; bottom: .7rem;
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(9, 26, 45, .62); color: #fff;
  backdrop-filter: blur(4px);
  opacity: 0; transform: translateY(6px); transition: opacity .22s ease, transform .22s ease;
}
.work:hover .work-zoom, .work-media:focus-visible .work-zoom { opacity: 1; transform: none; }
.work-zoom svg { width: 17px; height: 17px; }

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center; padding: clamp(1rem, 4vw, 2.5rem);
  background: rgba(6, 18, 32, .88); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .18s ease;
}
.lightbox.is-open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lb-inner { margin: 0; max-width: min(1000px, 100%); text-align: center; }
.lb-inner img {
  display: block; max-width: 100%; max-height: 76vh; width: auto; height: auto;
  border-radius: var(--r); box-shadow: 0 26px 70px rgba(0, 0, 0, .55);
}
.lb-inner figcaption { margin-top: .9rem; color: #C9DAEA; font-size: .92rem; }
.lb-close {
  position: absolute; top: clamp(.8rem, 3vw, 1.6rem); right: clamp(.8rem, 3vw, 1.6rem);
  width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer;
  display: grid; place-items: center;
}
.lb-close:hover { background: rgba(255, 255, 255, .2); }
.lb-close svg { width: 20px; height: 20px; }

/* ── 32. Coverage map ──────────────────────────────────────── */
.coverage { display: grid; gap: clamp(1.5rem, 3.5vw, 2.5rem); margin-top: clamp(2rem, 4vw, 2.75rem); }
@media (min-width: 900px) { .coverage { grid-template-columns: .82fr 1.18fr; align-items: center; } }
.cov-map {
  border-radius: var(--r-lg); padding: 1rem .6rem .4rem;
  background: linear-gradient(160deg, #0C2E4E, var(--navy-900));
  border: 1px solid rgba(111, 211, 242, .18);
  box-shadow: var(--shadow);
}
.cov-map svg { display: block; width: 100%; height: auto; max-height: 460px; }
.cov-legend {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.2rem;
  margin: .2rem 0 .7rem; font-size: .8rem; color: #A9C2D6;
}
.cov-legend span { display: inline-flex; align-items: center; gap: .4rem; }
.cov-legend i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.cov-legend .dot-bkk { background: #7FE0A8; }
.cov-legend .dot-cbi { background: #F2C94C; }
.cov-body .branches { margin-top: 0; }
@media (min-width: 900px) {
  .cov-body .branches { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: no-preference) {
  .cov-ring circle { transform-origin: 137.5px 239.6px; animation: covPulse 3.6s ease-in-out infinite; }
  .cov-ring circle:last-child { animation-delay: .5s; }
}
@keyframes covPulse {
  0%, 100% { opacity: .55; transform: scale(.94); }
  50% { opacity: 1; transform: scale(1.04); }
}

/* ── 33. Contact map embed ─────────────────────────────────── */
.map-frame { min-height: 380px; }
.map-frame iframe { filter: grayscale(.18) contrast(1.04); }

/* ── 34. Small fixes ───────────────────────────────────────── */
.pillar-lead { padding: .3rem .7rem; line-height: 1.5; }
.hero-panel {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03)),
    linear-gradient(180deg, rgba(7, 27, 47, .60), rgba(7, 27, 47, .72));
  backdrop-filter: blur(11px) saturate(1.1);
  -webkit-backdrop-filter: blur(11px) saturate(1.1);
}
