/* ==========================================================================
   Tech Bintang — site.css
   Light editorial system. One file, no framework.
   Sections: 1 fonts · 2 tokens · 3 base · 4 type · 5 layout · 6 buttons
             7 header · 8 hero · 9 services · 10 media · 11 pricing · 12 faq
             13 process/lists · 14 cta · 15 footer · 16 forms · 17 blog/prose
             18 portfolio · 19 product · 20 chat/whatsapp · 21 motion · 22 responsive
   ========================================================================== */

/* 1 ── Fonts (self-hosted, latin subsets) ---------------------------------- */
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/InstrumentSerif-400.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url('/assets/fonts/InstrumentSerif-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('/assets/fonts/Geist-var.woff2') format('woff2'); }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('/assets/fonts/GeistMono-var.woff2') format('woff2'); }
/* Thai glyphs only (unicode-range) — fetched solely when Thai text is rendered, so English pages never load them */
@font-face { font-family: 'Noto Sans Thai'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('/assets/fonts/NotoSansThai-var.woff2') format('woff2'); unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: 'Noto Serif Thai'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/NotoSerifThai-var.woff2') format('woff2'); unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC; }

/* 2 ── Tokens -------------------------------------------------------------- */
:root {
  --paper: #F7F6F2;
  --paper-2: #FFFFFF;
  --paper-3: #EFEDE6;
  --ink: #0A1C36;
  --ink-2: #55544F;
  --ink-3: #8A8983;
  --line: #E3E1DA;
  --line-2: #CFCCC2;
  --accent: #0F5C4C;
  --accent-2: #0B4A3D;
  --accent-soft: #E6F0EC;
  --amber: #E9A23B;
  --amber-soft: #FBF1DC;
  --danger: #B42318;
  --mist: #E8EDF4;          /* pale tint of the navy logo colour */
  --mist-2: #DCE3EE;

  /* Brand motif: a constellation of connected nodes, drawn from the hexagon-network logo (bintang = star). */
  --constellation: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='560' height='560' viewBox='0 0 560 560'%3E%3Cg fill='none' stroke='rgba(247,246,242,0.16)' stroke-width='1'%3E%3Cpath d='M300 60 L440 140 L440 300 L300 380 L160 300 L160 140 Z'/%3E%3Cpath d='M300 60 L300 220 M440 140 L300 220 M440 300 L300 220 M300 380 L300 220 M160 300 L300 220 M160 140 L300 220'/%3E%3Cpath d='M440 140 L540 80 M440 300 L530 360 L470 470 M160 300 L60 360 M160 140 L40 90 M300 380 L280 500'/%3E%3C/g%3E%3Cg fill='rgba(247,246,242,0.55)'%3E%3Ccircle cx='300' cy='60' r='3'/%3E%3Ccircle cx='440' cy='140' r='3'/%3E%3Ccircle cx='440' cy='300' r='3'/%3E%3Ccircle cx='300' cy='380' r='3'/%3E%3Ccircle cx='160' cy='300' r='3'/%3E%3Ccircle cx='160' cy='140' r='3'/%3E%3Ccircle cx='300' cy='220' r='4'/%3E%3Ccircle cx='540' cy='80' r='2'/%3E%3Ccircle cx='530' cy='360' r='2'/%3E%3Ccircle cx='470' cy='470' r='2'/%3E%3Ccircle cx='60' cy='360' r='2'/%3E%3Ccircle cx='40' cy='90' r='2'/%3E%3Ccircle cx='280' cy='500' r='2'/%3E%3C/g%3E%3C/svg%3E");
  --constellation-ink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='560' height='560' viewBox='0 0 560 560'%3E%3Cg fill='none' stroke='rgba(10,28,54,0.14)' stroke-width='1'%3E%3Cpath d='M300 60 L440 140 L440 300 L300 380 L160 300 L160 140 Z'/%3E%3Cpath d='M300 60 L300 220 M440 140 L300 220 M440 300 L300 220 M300 380 L300 220 M160 300 L300 220 M160 140 L300 220'/%3E%3Cpath d='M440 140 L540 80 M440 300 L530 360 L470 470 M160 300 L60 360 M160 140 L40 90 M300 380 L280 500'/%3E%3C/g%3E%3Cg fill='rgba(10,28,54,0.4)'%3E%3Ccircle cx='300' cy='60' r='3'/%3E%3Ccircle cx='440' cy='140' r='3'/%3E%3Ccircle cx='440' cy='300' r='3'/%3E%3Ccircle cx='300' cy='380' r='3'/%3E%3Ccircle cx='160' cy='300' r='3'/%3E%3Ccircle cx='160' cy='140' r='3'/%3E%3Ccircle cx='300' cy='220' r='4'/%3E%3Ccircle cx='540' cy='80' r='2'/%3E%3Ccircle cx='530' cy='360' r='2'/%3E%3Ccircle cx='470' cy='470' r='2'/%3E%3Ccircle cx='60' cy='360' r='2'/%3E%3Ccircle cx='40' cy='90' r='2'/%3E%3Ccircle cx='280' cy='500' r='2'/%3E%3C/g%3E%3C/svg%3E");
  --underline: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3 9 C 40 3, 75 12, 115 6 S 175 5, 197 9' fill='none' stroke='%23E9A23B' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E");

  --serif: 'Instrument Serif', 'Noto Serif Thai', 'Iowan Old Style', 'Times New Roman', serif;
  --sans: 'Geist', 'Noto Sans Thai', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'Geist Mono', 'Noto Sans Thai', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 10vw, 128px);
  --radius: 12px;
  --radius-lg: 20px;
  --nav-h: 72px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --t-fast: .18s var(--ease);
  --t: .3s var(--ease);
  --shadow: 0 1px 2px rgba(20,20,20,.04), 0 8px 24px -12px rgba(20,20,20,.18);
}

/* 3 ── Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p a, .prose a, .bullets a, .faq-a a, .answer a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
p a:hover, .prose a:hover, .bullets a:hover { color: var(--accent-2); }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.1; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }
::selection { background: var(--amber-soft); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; 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 { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 14px; background: var(--ink); color: var(--paper); border-radius: 8px; }
.skip:focus { left: 8px; }

/* Thai pages: taller line-heights for stacked vowels/tone marks, no letter-spacing, no uppercase transforms */
html[lang="th"] body { line-height: 1.75; }
html[lang="th"] .display, html[lang="th"] .h1, html[lang="th"] .h2, html[lang="th"] .h3 { line-height: 1.22; letter-spacing: 0; }
html[lang="th"] .display { font-size: clamp(38px, 5.4vw, 72px); }
html[lang="th"] .h1 { font-size: clamp(34px, 4.4vw, 56px); }
html[lang="th"] .h2 { font-size: clamp(28px, 3.4vw, 44px); }
html[lang="th"] .eyebrow, html[lang="th"] .pkg-name, html[lang="th"] .pkg .tag, html[lang="th"] .facts dt, html[lang="th"] .footer h4, html[lang="th"] .post-card .meta, html[lang="th"] .work .cat, html[lang="th"] .compare th, html[lang="th"] .hero-slider .scroll-hint { text-transform: none; letter-spacing: .02em; }
html[lang="th"] .lede { line-height: 1.7; }
html[lang="th"] .lines .line { padding-bottom: .12em; margin-bottom: -.12em; }
html[lang="th"] .hero-slider .display { max-width: none; font-size: clamp(34px, 4.7vw, 62px); }
html[lang="th"] .hero-slider .display em::after { bottom: -.02em; }
.lang-switch { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; gap: 2px; }
.lang-switch a { padding: 5px 10px; border-radius: 999px; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--ink-2); }
.lang-switch a.is-active { background: var(--ink); color: var(--paper); }
.lang-switch a:hover:not(.is-active) { color: var(--ink); }

/* 4 ── Type ---------------------------------------------------------------- */
.display, .h1, .h2, .h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; }
.display { font-size: clamp(44px, 6.4vw, 88px); line-height: .98; }
.h1 { font-size: clamp(40px, 5.2vw, 68px); line-height: 1.02; }
.h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.05; }
.h3 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; }
.h4 { font-family: var(--sans); font-weight: 600; font-size: 19px; line-height: 1.3; letter-spacing: -0.005em; }
.display em, .h1 em, .h2 em, .h3 em { font-style: italic; color: var(--accent); }
.mark { font-style: italic; color: var(--accent); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow::before { content: ''; width: 20px; height: 1px; background: var(--ink-3); }
.eyebrow.no-rule::before { display: none; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 60ch; }
.small { font-size: 14px; color: var(--ink-2); }
.muted { color: var(--ink-2); }
.measure { max-width: 64ch; }
.center { text-align: center; }
.center .lede, .center .measure { margin-left: auto; margin-right: auto; }

/* 5 ── Layout -------------------------------------------------------------- */
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section-sm { padding-block: calc(var(--section) * .6); }
.rule { border-top: 1px solid var(--line); }
.head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); }
.head .h2 { max-width: 20ch; }
.head-row { display: grid; gap: 24px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.grid { display: grid; gap: clamp(20px, 3vw, 40px); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
/* column-ratio modifiers — never inline styles, or the mobile collapse below cannot override them */
.split.is-7-5 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split.is-5-7 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.head-row.is-split { grid-template-columns: 1fr auto; }
.split-eq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 96px); align-items: center; }
.sticky { position: sticky; top: calc(var(--nav-h) + 24px); }
.stack { display: grid; gap: 14px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.between { justify-content: space-between; }
.paper-2 { background: var(--paper-2); }
.paper-3 { background: var(--paper-3); }
/* Section bands — give pages a colour rhythm: paper → white → navy → mist → green */
.band-white { background: var(--paper-2); }
.band-sand  { background: var(--paper-3); }
.band-mist  { background: var(--mist); }
.band-green { background: var(--accent-soft); }
.band-mist .rule, .band-green .rule { border-color: rgba(10,28,54,.1); }
.band-mist.rule, .band-green.rule, .band-sand.rule, .band-navy.rule { border-top: 0; }
.band-mist .pkg, .band-mist .guarantee, .band-mist .feature, .band-mist .contact-card, .band-mist .quote-card,
.band-green .pkg, .band-green .guarantee, .band-green .feature, .band-green .contact-card, .band-green .quote-card { border-color: transparent; box-shadow: var(--shadow); }
.band-mist .faq, .band-mist .faq details, .band-green .faq, .band-green .faq details, .band-mist .index-row, .band-mist .facts div { border-color: rgba(10,28,54,.12); }

.band-navy, .ink-block {
  background-color: var(--ink); color: var(--paper);
  background-image: var(--constellation), radial-gradient(rgba(247,246,242,.06) 1px, transparent 1px);
  background-repeat: no-repeat, repeat; background-position: right -80px top -60px, 0 0; background-size: 620px 620px, 24px 24px;
}
.footer { background-image: var(--constellation-ink); background-repeat: no-repeat; background-position: right -120px bottom -160px; background-size: 520px 520px; }
.cta { background-image: var(--constellation); background-repeat: no-repeat; background-position: left -160px bottom -200px; background-size: 520px 520px; }
.band-navy .eyebrow, .band-navy .lede, .band-navy .small, .band-navy .muted, .band-navy .step p, .band-navy .guarantee span,
.band-navy .feature p, .band-navy .contact-line, .band-navy .faq .faq-a, .band-navy .svc-card p, .band-navy .index-row .desc, .band-navy p,
.ink-block .eyebrow, .ink-block .lede, .ink-block .muted { color: rgba(247,246,242,.72); }
.band-navy .eyebrow::before, .ink-block .eyebrow::before { background: rgba(247,246,242,.4); }
.band-navy .h1 em, .band-navy .h2 em, .band-navy .h3 em, .band-navy .display em, .ink-block .h2 em, .ink-block .display em { color: var(--amber); }
.band-navy .h4, .band-navy .step b, .band-navy .guarantee b, .band-navy .feature b, .band-navy .facts dd, .band-navy .contact-line a, .band-navy .checks li span { color: var(--paper); }
.band-navy .step .num, .band-navy .facts dt, .band-navy .num, .band-navy .crumbs { color: rgba(247,246,242,.5); }
.band-navy .steps, .band-navy .step, .band-navy .step + .step, .band-navy .facts, .band-navy .facts div, .band-navy .facts div:nth-child(even),
.band-navy .faq, .band-navy .faq details, .band-navy .index, .band-navy .index-row, .band-navy hr, .ink-block hr { border-color: rgba(247,246,242,.16); }
.band-navy .checks li svg { color: var(--amber); }
.band-navy .bullets li { color: rgba(247,246,242,.78); }
.band-navy .bullets li::before { background: var(--amber); }
.band-navy .guarantee, .band-navy .contact-card, .band-navy .feature, .band-navy .quote-card, .band-navy .promise { background: rgba(247,246,242,.06); border-color: rgba(247,246,242,.14); }
.band-navy .guarantee span, .band-navy .promise span { color: rgba(247,246,242,.7); }
.band-navy .btn-primary { background: var(--paper); color: var(--ink); }
.band-navy .btn-primary:hover { background: var(--amber); color: var(--ink); }
.band-navy .btn-ghost { border-color: rgba(247,246,242,.35); color: var(--paper); }
.band-navy .btn-ghost:hover { border-color: var(--paper); }
.band-navy .link { color: var(--paper); border-color: rgba(247,246,242,.35); }
.band-navy .link:hover { border-color: var(--paper); }
.band-navy p a, .band-navy .lede a { color: var(--amber); }
.band-navy .figure { background: rgba(247,246,242,.06); }
.band-navy .faq summary .plus { border-color: rgba(247,246,242,.35); }
.band-navy .faq details[open] summary .plus { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.band-navy .mock { box-shadow: 0 30px 60px -24px rgba(0,0,0,.6); border-color: transparent; }
.band-navy .pill { background: rgba(247,246,242,.1); color: var(--paper); }
.band-navy .index-row:hover .arrow { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.band-navy .index-row .arrow { border-color: rgba(247,246,242,.35); }
.band-navy .index-row .from small { color: rgba(247,246,242,.5); }
.band-navy ::selection { background: var(--amber); color: var(--ink); }

/* 6 ── Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  font-weight: 500; font-size: 15.5px; line-height: 1; letter-spacing: -0.005em;
  border: 1px solid transparent; white-space: nowrap;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--accent); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-2); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.ink-block .btn-ghost { border-color: rgba(255,255,255,.3); color: var(--paper); }
.ink-block .btn-ghost:hover { border-color: var(--paper); }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-paper:hover { background: #fff; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.btn-lg { min-height: 56px; padding: 16px 28px; font-size: 16.5px; }
.btn:active { transform: translateY(1px); }
.link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink);
  border-bottom: 1px solid var(--line-2); padding-bottom: 2px; transition: border-color var(--t-fast), gap var(--t-fast);
}
.link:hover { border-color: var(--ink); gap: 12px; }
.link svg { width: 14px; height: 14px; }
.link-accent { color: var(--accent); border-color: transparent; }

/* 7 ── Header -------------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,246,242,.86); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color var(--t);
}
.header.is-stuck { border-color: var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.01em; font-size: 17px; white-space: nowrap; }
.brand img { height: 40px; width: auto; max-width: 200px; object-fit: contain; }
/* the logo must never be squeezed away when the header row is busy */
.brand { flex: none; }
.brand svg { flex: none; width: 42px; height: 42px; }
.header-cta { flex: none; }
.brand-mark { width: 28px; height: 28px; border-radius: 8px; background: var(--ink); display: grid; place-items: center; color: var(--paper); font-family: var(--serif); font-size: 18px; line-height: 1; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > li { list-style: none; position: relative; }
.nav > li > a, .nav > li > button { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; white-space: nowrap; color: var(--ink-2); transition: color var(--t-fast), background var(--t-fast); }
.nav > li > a:hover, .nav > li > button:hover, .nav > li > a.is-active, .nav li.is-open > button { color: var(--ink); background: var(--paper-3); }
.nav > li > button svg { width: 12px; height: 12px; transition: transform var(--t-fast); }
.nav li.is-open > button svg { transform: rotate(180deg); }
.header-cta { display: flex; align-items: center; gap: 10px; }

/* mega menu */
.mega {
  position: absolute; left: 50%; top: calc(100% + 10px); transform: translateX(-50%) translateY(6px);
  width: min(880px, calc(100vw - 2 * var(--gutter)));
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: 16px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 6px;
  opacity: 0; visibility: hidden; transition: opacity var(--t-fast), transform var(--t-fast), visibility 0s linear .18s;
}
.nav li.is-open > .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); transition-delay: 0s; }
.mega::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; } /* bridges the hover gap under the button */
.mega-item { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; padding: 10px 12px; border-radius: var(--radius); color: var(--ink); background: transparent; }
.mega-item:hover { background: var(--paper); }
.mega-item .thumb-sm { width: 48px; height: 48px; border-radius: 10px; overflow: hidden; background: var(--paper-3); }
.mega-item .thumb-sm img { width: 100%; height: 100%; object-fit: cover; }
.mega-item b { display: block; font-family: var(--sans); font-weight: 600; font-size: 15px; line-height: 1.3; }
.mega-item b + span { display: block; font-family: var(--mono); font-size: 12px; color: var(--ink-2); line-height: 1.4; margin-top: 3px; }
.mega-side { grid-column: 1; grid-row: 1 / span 4; display: grid; grid-template-columns: 1fr; align-content: space-between; gap: 18px; padding: 22px; border-radius: var(--radius); background-color: var(--ink); color: var(--paper); background-image: var(--constellation); background-repeat: no-repeat; background-position: right -60px top -40px; background-size: 360px 360px; }
.mega-side b { display: block; font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.1; }
.mega-side p { margin: 10px 0 0; font-size: 14px; line-height: 1.5; color: rgba(247,246,242,.72); }
.mega-side .btn { justify-self: start; }
.mega-list { display: contents; }

/* mobile toggle + drawer */
.burger { display: none; width: 44px; height: 44px; border-radius: 999px; place-items: center; }
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: background var(--t-fast); }
.burger span::before, .burger span::after { content: ''; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); transition: transform var(--t-fast), top var(--t-fast); }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
.drawer { display: none; }

/* 8 ── Hero ---------------------------------------------------------------- */
/* Full-bleed photo hero: three slides crossfade slowly (CSS only), navy shade keeps the text readable */
.hero-slider { position: relative; min-height: clamp(600px, 88vh, 860px); display: grid; align-items: end; color: var(--paper); overflow: hidden; background: var(--ink); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg .slide { position: absolute; inset: 0; opacity: 0; animation: slide-fade 24s ease-in-out infinite; }
.hero-bg .slide img { width: 100%; height: 100%; object-fit: cover; animation: slide-zoom 24s linear infinite; will-change: transform; }
.hero-bg .slide:nth-child(1) { animation-name: slide-fade-first; }
.hero-bg .slide:nth-child(2), .hero-bg .slide:nth-child(2) img { animation-delay: 8s; }
.hero-bg .slide:nth-child(3), .hero-bg .slide:nth-child(3) img { animation-delay: 16s; }
@keyframes slide-fade       { 0% { opacity: 0; } 5% { opacity: 1; } 33.3% { opacity: 1; } 38.3% { opacity: 0; } 100% { opacity: 0; } }
@keyframes slide-fade-first { 0% { opacity: 1; } 33.3% { opacity: 1; } 38.3% { opacity: 0; } 95% { opacity: 0; } 100% { opacity: 1; } }
@keyframes slide-zoom       { 0% { transform: scale(1.08); } 38.3% { transform: scale(1); } 100% { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,28,54,.9) 0%, rgba(10,28,54,.72) 40%, rgba(10,28,54,.28) 100%), linear-gradient(180deg, rgba(10,28,54,.25) 0%, rgba(10,28,54,.15) 50%, rgba(10,28,54,.85) 100%); }
.hero-shade::after { content: ''; position: absolute; right: -120px; top: -80px; width: 720px; height: 720px; background: var(--constellation) no-repeat center / contain; opacity: .55; pointer-events: none; }
.hero-slider .display em { position: relative; display: inline-block; }
.hero-slider .display em::after { content: ''; position: absolute; left: 0; right: 0; bottom: -.08em; height: .16em; background: var(--underline) no-repeat center / 100% 100%; }
.num-badge { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--paper-2); font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--ink); flex: none; }
.num-badge.lg { width: 56px; height: 56px; font-family: var(--serif); font-size: 22px; letter-spacing: 0; }
.band-navy .num-badge { background: rgba(247,246,242,.08); border-color: rgba(247,246,242,.3); color: var(--paper); }
.tab-num { font-family: var(--mono); font-size: 11px; opacity: .6; }
.hero-slider .hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 80px); align-items: end; padding-block: clamp(120px, 18vh, 180px) clamp(40px, 6vw, 64px); }
.hero-slider .eyebrow { color: rgba(247,246,242,.75); }
.hero-slider .eyebrow::before { background: rgba(247,246,242,.5); }
.hero-slider .display { margin: 18px 0 22px; max-width: none; font-size: clamp(40px, 4.7vw, 62px); }   /* the three .line spans are the intended line breaks */
.hero-slider .display em { color: var(--amber); }
.hero-slider .lede { color: rgba(247,246,242,.82); margin-bottom: 30px; }
.hero-slider .btn-primary { background: var(--paper); color: var(--ink); }
.hero-slider .btn-primary:hover { background: var(--amber); color: var(--ink); }
.hero-slider .btn-ghost { border-color: rgba(247,246,242,.4); color: var(--paper); }
.hero-slider .btn-ghost:hover { border-color: var(--paper); }
.hero-slider .hero-note { color: rgba(247,246,242,.72); }
.hero-slider .hero-note svg { color: var(--amber); }
.hero-aside { display: grid; gap: 14px; justify-items: end; }
.hero-aside .hero-card { position: static; background: rgba(10,28,54,.55); border: 1px solid rgba(247,246,242,.18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--paper); max-width: 300px; }
.hero-aside .hero-card b { color: var(--paper); }
.hero-aside .hero-card span { color: rgba(247,246,242,.72); }
.hero-progress { display: flex; gap: 8px; }
.hero-progress i { position: relative; display: block; width: 44px; height: 2px; background: rgba(247,246,242,.25); overflow: hidden; }
.hero-progress i::after { content: ''; position: absolute; inset: 0; background: var(--amber); transform: translateX(-100%); animation: prog 24s linear infinite; }
.hero-progress i:nth-child(1)::after { animation-name: prog-first; }
.hero-progress i:nth-child(2)::after { animation-delay: 8s; }
.hero-progress i:nth-child(3)::after { animation-delay: 16s; }
@keyframes prog       { 0% { transform: translateX(-100%); } 33.3% { transform: translateX(0); } 33.4%, 100% { transform: translateX(101%); } }
@keyframes prog-first { 0% { transform: translateX(-100%); } 33.3% { transform: translateX(0); } 33.4%, 100% { transform: translateX(101%); } }
.hero-slider .scroll-hint { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(247,246,242,.55); display: inline-flex; align-items: center; gap: 8px; }
.hero-slider .scroll-hint::after { content: ''; width: 1px; height: 28px; background: linear-gradient(180deg, rgba(247,246,242,.6), transparent); }

/* Editorial extras */
.has-ghost { position: relative; overflow: hidden; }
.ghost { position: absolute; right: calc(var(--gutter) - 10px); top: 4px; font-family: var(--serif); font-size: clamp(120px, 15vw, 210px); line-height: .8; letter-spacing: -0.04em; color: var(--ink); opacity: .05; pointer-events: none; user-select: none; }
.has-ghost .head-row, .has-ghost .head { position: relative; z-index: 1; }
.band-navy .ghost { color: var(--paper); opacity: .07; }
.band-mist .ghost, .band-green .ghost { opacity: .07; }
.g-num { font-family: var(--mono); font-size: 13px; color: var(--ink-3); padding-top: 4px; }
.band-navy .g-num { color: var(--amber); }

/* "What we do" showcase: list on the left drives the sticky photo stage on the right */
.showcase { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.showcase-list { border-top: 1px solid var(--line); list-style: none; margin: 0; padding: 0; }
.showcase-list li { list-style: none; }
.showcase-item { display: grid; grid-template-columns: 48px 1fr auto 36px; gap: 18px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); color: var(--ink); transition: padding var(--t); }
.showcase-item .num { font-family: var(--mono); font-size: 13px; color: var(--ink-3); }
.showcase-item .name { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 36px); line-height: 1.05; letter-spacing: -0.015em; transition: color var(--t-fast); }
.showcase-item .from { font-family: var(--mono); font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.showcase-item .arrow { width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast), transform var(--t-fast); }
.showcase-item .arrow svg { width: 15px; height: 15px; }
.showcase-item .desc { grid-column: 2 / span 3; font-size: 15px; color: var(--ink-2); line-height: 1.5; margin: 0; display: none; }
.showcase-item.is-active .name, .showcase-item:hover .name { color: var(--accent); }
.showcase-item.is-active { padding-left: 8px; }
.showcase-item.is-active .arrow, .showcase-item:hover .arrow { background: var(--ink); border-color: var(--ink); color: var(--paper); transform: rotate(-45deg); }
.showcase-item.is-active .desc { display: block; }
.showcase-stage { position: sticky; top: calc(var(--nav-h) + 24px); aspect-ratio: 4 / 3.2; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); box-shadow: var(--shadow); }
.showcase-media { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .55s var(--ease); }
.showcase-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.2s var(--ease); }
.showcase-media.is-active { opacity: 1; }
.showcase-media.is-active img { transform: scale(1); }
.showcase-media figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 26px 24px; background: linear-gradient(180deg, rgba(10,28,54,0), rgba(10,28,54,.85)); color: var(--paper); display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; align-items: end; }
.showcase-media figcaption b { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.1; }
.showcase-media figcaption span { grid-column: 1; font-size: 14px; color: rgba(247,246,242,.78); }
.showcase-media figcaption .pill { grid-column: 2; grid-row: 1 / span 2; background: var(--paper); color: var(--ink); }
.showcase-media figcaption .pill-amber { background: var(--amber); color: var(--ink); }

.hero { position: relative; padding-block: clamp(48px, 7vw, 96px) clamp(56px, 7vw, 96px); overflow: hidden; }
.hero-dots { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(var(--line-2) 1px, transparent 1px); background-size: 22px 22px; opacity: .45; -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 78%); mask-image: linear-gradient(180deg, #000 0%, transparent 78%); }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero .display { margin: 18px 0 22px; max-width: 14ch; }
.hero .lede { margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--ink-2); }
.hero-note li { list-style: none; display: inline-flex; align-items: center; gap: 8px; }
.hero-note svg { width: 14px; height: 14px; color: var(--accent); }
.hero-visual { position: relative; }
.hero-visual .frame { border-radius: var(--radius-lg); overflow: hidden; background: var(--paper-3); aspect-ratio: 4 / 5; }
.hero-visual .frame img { width: 100%; height: 100%; object-fit: cover; }
.float { position: absolute; width: clamp(88px, 11vw, 150px); filter: drop-shadow(0 18px 24px rgba(20,20,20,.18)); will-change: transform; animation: float 8s ease-in-out infinite; }
.float-1 { left: -8%; top: 8%; animation-delay: -1s; }
.float-2 { right: -3%; bottom: 14%; width: clamp(80px, 9vw, 130px); animation-delay: -4s; }
.float-3 { left: 8%; bottom: -5%; width: clamp(70px, 8vw, 110px); animation-delay: -6.5s; }
@keyframes float { 0%, 100% { transform: translate3d(var(--px, 0), 0, 0) rotate(-2deg); } 50% { transform: translate3d(var(--px, 0), -14px, 0) rotate(2deg); } }
.hero-card { position: absolute; left: clamp(-24px, -3vw, -40px); bottom: 12%; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); display: grid; gap: 4px; max-width: 250px; }
.hero-card b { font-size: 14px; font-weight: 600; }
.hero-card span { font-size: 13px; color: var(--ink-2); }

/* page hero (inner pages) */
.page-hero { padding-block: clamp(40px, 6vw, 80px) clamp(40px, 5vw, 64px); background: linear-gradient(180deg, var(--mist) 0%, var(--paper) 100%); }
.page-hero .h1 { margin: 16px 0 20px; max-width: 18ch; }

/* Page hero with a full-bleed development photo behind it (same navy shade + constellation as the home slider) */
.page-hero.has-photo { position: relative; overflow: hidden; background: var(--ink); color: var(--paper); padding-block: clamp(56px, 8vw, 112px) clamp(48px, 6vw, 88px); }
.page-hero.has-photo .hero-photo { position: absolute; inset: 0; }
.page-hero.has-photo .hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.page-hero.has-photo .hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,28,54,.94) 0%, rgba(10,28,54,.8) 42%, rgba(10,28,54,.4) 100%), linear-gradient(180deg, rgba(10,28,54,.35) 0%, rgba(10,28,54,.15) 50%, rgba(10,28,54,.75) 100%); }
.page-hero.has-photo .hero-photo::before { content: ''; position: absolute; right: -140px; top: -90px; width: 680px; height: 680px; background: var(--constellation) no-repeat center / contain; opacity: .5; z-index: 1; pointer-events: none; }
.page-hero.has-photo > .wrap { position: relative; z-index: 2; }
.page-hero.has-photo .crumbs, .page-hero.has-photo .crumbs a { color: rgba(247,246,242,.62); }
.page-hero.has-photo .crumbs a:hover { color: var(--paper); }
.page-hero.has-photo .crumbs li + li::before { color: rgba(247,246,242,.35); }
.page-hero.has-photo .eyebrow { color: rgba(247,246,242,.75); }
.page-hero.has-photo .eyebrow::before { background: rgba(247,246,242,.5); }
.page-hero.has-photo .h1 { color: var(--paper); }
.page-hero.has-photo .h1 em { color: var(--amber); }
.page-hero.has-photo .lede, .page-hero.has-photo p.small, .page-hero.has-photo .answer { color: rgba(247,246,242,.85); }
.page-hero.has-photo .answer { border-color: var(--amber); }
.page-hero.has-photo .btn-primary { background: var(--paper); color: var(--ink); }
.page-hero.has-photo .btn-primary:hover { background: var(--amber); color: var(--ink); }
.page-hero.has-photo .btn-ghost { border-color: rgba(247,246,242,.4); color: var(--paper); }
.page-hero.has-photo .btn-ghost:hover { border-color: var(--paper); background: transparent; }
.page-hero.has-photo .filter a { border-color: rgba(247,246,242,.3); color: rgba(247,246,242,.82); }
.page-hero.has-photo .filter a:hover, .page-hero.has-photo .filter a.is-active { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.page-hero.has-photo .facts { padding: 6px 24px; border: 1px solid rgba(247,246,242,.18); border-radius: var(--radius-lg); background: rgba(10,28,54,.5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.page-hero.has-photo .facts > div { border-color: rgba(247,246,242,.14); }
.page-hero.has-photo .facts > div:nth-last-child(-n+2) { border-bottom: 0; }
.page-hero.has-photo .facts dt { color: rgba(247,246,242,.55); }
.page-hero.has-photo .facts dd { color: var(--paper); }
.page-hero.has-photo .promise { background: rgba(10,28,54,.5); border-color: rgba(247,246,242,.18); color: var(--paper); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.page-hero.has-photo .promise b { color: var(--paper); }
.page-hero.has-photo .promise span { color: rgba(247,246,242,.72); }
.page-hero.has-photo .promise-mark { background: var(--amber); color: var(--ink); }
.page-hero.has-photo .figure { box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); border: 1px solid rgba(247,246,242,.12); }
.page-hero.has-photo .post-hero .h1 { color: var(--paper); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); margin-bottom: 8px; }
.crumbs li { list-style: none; display: inline-flex; gap: 8px; align-items: center; }
.crumbs li + li::before { content: '/'; color: var(--line-2); }
.crumbs a:hover { color: var(--ink); }
.answer { border-left: 2px solid var(--accent); padding: 4px 0 4px 20px; font-size: 18px; line-height: 1.6; color: var(--ink); max-width: 66ch; }
.answer b { font-weight: 600; }

/* 9 ── Services index ------------------------------------------------------ */
.index { border-top: 1px solid var(--line); }
.index-row {
  display: grid; grid-template-columns: 64px minmax(0, 1.2fr) minmax(0, 1fr) 150px 40px; gap: 24px; align-items: center;
  padding: 26px 0; border-bottom: 1px solid var(--line); color: var(--ink); position: relative;
  transition: padding var(--t);
}
.index-row .num { font-family: var(--mono); font-size: 13px; color: var(--ink-3); }
.index-row .name { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; letter-spacing: -0.01em; display: flex; align-items: center; gap: 16px; }
.index-row .name img { width: 44px; height: 44px; flex: none; transition: transform var(--t); }
.index-row .desc { font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.index-row .from { font-family: var(--mono); font-size: 14px; color: var(--ink); text-align: right; }
.index-row .from small { display: block; font-size: 11px; color: var(--ink-3); letter-spacing: .06em; text-transform: uppercase; }
.index-row .arrow { width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast); }
.index-row .arrow svg { width: 16px; height: 16px; }
.index-row:hover .arrow { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.index-row:hover .name img { transform: rotate(-8deg) scale(1.08); }
.index-row .peek { position: absolute; right: 230px; top: 50%; width: 180px; aspect-ratio: 3/2; border-radius: 10px; overflow: hidden; transform: translateY(-50%) rotate(-3deg) scale(.92); opacity: 0; pointer-events: none; transition: opacity var(--t), transform var(--t); box-shadow: var(--shadow); }
.index-row .peek img { width: 100%; height: 100%; object-fit: cover; }
.index-row:hover .peek { opacity: 1; transform: translateY(-50%) rotate(-3deg) scale(1); }

/* service cards (/services/) */
.svc-card { display: grid; grid-template-rows: auto 1fr; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; color: var(--ink); transition: transform var(--t), box-shadow var(--t), border-color var(--t); }
.svc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.svc-card .media { position: relative; aspect-ratio: 3/2; background: var(--paper-3); }
.svc-card .media img.photo { width: 100%; height: 100%; object-fit: cover; }
.svc-card .media .num-badge { position: absolute; right: 18px; bottom: -22px; box-shadow: var(--shadow); }
.svc-card .body { padding: 30px 24px 24px; display: grid; gap: 10px; align-content: start; }
.svc-card .num { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.svc-card .h3 { font-size: 26px; }
.svc-card p { font-size: 15px; color: var(--ink-2); }
.svc-card .foot { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 13.5px; }

/* 10 ── Media / figures ---------------------------------------------------- */
.figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--paper-3); }
.figure img { width: 100%; height: 100%; object-fit: cover; }
.r-32 { aspect-ratio: 3/2; } .r-1610 { aspect-ratio: 16/10; } .r-169 { aspect-ratio: 16/9; } .r-219 { aspect-ratio: 21/9; } .r-45 { aspect-ratio: 4/5; } .r-11 { aspect-ratio: 1/1; }
.mosaic { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; }
.mosaic.mosaic-2 { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
.mosaic .figure:first-child { grid-row: 1 / span 2; }
.icon-3d { width: 56px; height: 56px; }
.icon-3d.lg { width: clamp(120px, 14vw, 200px); height: auto; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--paper-3); font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
.pill-accent { background: var(--accent-soft); color: var(--accent); }
.pill-amber { background: var(--amber-soft); color: #8A5A0E; }

/* 11 ── Pricing ------------------------------------------------------------ */
.promise { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper-2); }
.promise img { width: 56px; height: 56px; }
.promise-mark { width: 52px; height: 52px; border-radius: 999px; background: var(--accent); color: #fff; display: grid; place-items: center; }
.promise-mark svg { width: 24px; height: 24px; }
.promise b { display: block; font-family: var(--serif); font-size: 22px; line-height: 1.15; }
.promise span { display: block; font-size: 14.5px; color: var(--ink-2); margin-top: 4px; }

.tabs { position: sticky; top: var(--nav-h); z-index: 30; background: rgba(247,246,242,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.tabs ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 10px 0; }
.tabs ul::-webkit-scrollbar { display: none; }
.tabs li { list-style: none; flex: none; }
.tabs a { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); white-space: nowrap; transition: background var(--t-fast), color var(--t-fast); }
.tabs a:hover, .tabs a.is-active { background: var(--ink); color: var(--paper); }
.tabs a img { width: 20px; height: 20px; }

.price-block { padding-block: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--nav-h) + 64px); }
.price-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; margin-bottom: 32px; }
.price-head .h2 { font-size: clamp(30px, 3.4vw, 44px); display: flex; align-items: center; gap: 14px; }
.price-head .h2 img { width: 48px; height: 48px; }
.packages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pkg { position: relative; display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 18px; padding: 28px 26px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-lg); transition: border-color var(--t), box-shadow var(--t), transform var(--t); }
.pkg:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.pkg.is-featured { border-color: var(--ink); }
.pkg .tag { position: absolute; top: -12px; left: 24px; padding: 4px 10px; border-radius: 999px; background: var(--ink); color: var(--paper); font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.pkg .pkg-name { font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.pkg .pkg-price { display: flex; align-items: baseline; gap: 6px; font-family: var(--serif); font-size: 46px; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.pkg .pkg-price small { font-family: var(--mono); font-size: 13px; color: var(--ink-2); letter-spacing: 0; }
.pkg .pkg-price .from { font-family: var(--mono); font-size: 12px; color: var(--ink-3); letter-spacing: .06em; text-transform: uppercase; }
.pkg .pkg-for { font-size: 14.5px; color: var(--ink-2); min-height: 2.6em; }
.pkg ul { display: grid; gap: 9px; padding-top: 16px; border-top: 1px solid var(--line); }
.pkg li { list-style: none; display: grid; grid-template-columns: 16px 1fr; gap: 10px; font-size: 14.5px; line-height: 1.45; }
.pkg li svg { width: 16px; height: 16px; color: var(--accent); margin-top: 3px; }
.pkg .btn { width: 100%; }
.price-note { margin-top: 18px; font-size: 13.5px; color: var(--ink-3); }

.compare { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 14px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare th { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); font-weight: 500; }
.compare td:first-child { font-weight: 500; }
.compare td.mono { font-family: var(--mono); font-size: 14px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll > table { min-width: 620px; }   /* below this the columns collapse — let it scroll instead */

/* 12 ── FAQ ---------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 28px; gap: 20px; align-items: center; padding: 20px 0; font-size: 18px; font-weight: 500; letter-spacing: -0.005em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { width: 28px; height: 28px; border-radius: 999px; border: 1px solid var(--line-2); display: grid; place-items: center; transition: transform var(--t), background var(--t-fast), color var(--t-fast); }
.faq summary .plus svg { width: 12px; height: 12px; }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--ink); color: var(--paper); border-color: var(--ink); }
.faq .faq-a { padding: 0 48px 22px 0; color: var(--ink-2); line-height: 1.65; max-width: 70ch; }
.faq details[open] .faq-a { animation: fade-in .35s var(--ease); }
@keyframes fade-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* 13 ── Process / lists ---------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.steps.steps-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.step { padding: 28px 24px 28px 0; border-bottom: 1px solid var(--line); display: grid; gap: 12px; align-content: start; }
.step + .step { padding-left: 24px; border-left: 1px solid var(--line); }
.step .num { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.step b { font-size: 19px; font-weight: 600; letter-spacing: -0.005em; }
.step p { font-size: 15px; color: var(--ink-2); }
.checks { display: grid; gap: 12px; }
.checks li { list-style: none; display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; line-height: 1.5; }
.checks li svg { width: 22px; height: 22px; color: var(--accent); }
.checks.two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; }
.bullets { display: grid; gap: 10px; }
.bullets li { list-style: none; padding-left: 18px; position: relative; color: var(--ink-2); }
.bullets li::before { content: ''; position: absolute; left: 0; top: .7em; width: 8px; height: 1px; background: var(--ink-3); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0; border-top: 1px solid var(--line); }
.facts div { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.facts div:nth-child(odd) { padding-right: 24px; }
.facts div:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
.facts dt { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.facts dd { margin: 0; font-weight: 500; }
.guarantees { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.guarantees.guarantees-1 { grid-template-columns: 1fr; }
.guarantee { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper-2); }
.guarantee img { width: 44px; height: 44px; }
.guarantee b { display: block; font-weight: 600; margin-bottom: 4px; }
.guarantee span { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.quote-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper-2); display: grid; gap: 18px; }
.quote-card blockquote { margin: 0; font-family: var(--serif); font-size: 22px; line-height: 1.3; }
.quote-card cite { font-style: normal; font-size: 14px; color: var(--ink-2); }
.quote-card cite b { display: block; color: var(--ink); font-weight: 600; }

/* 14 ── CTA ---------------------------------------------------------------- */
.cta { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); color: var(--paper); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); min-height: 420px; }
.cta .cta-body { padding: clamp(32px, 5vw, 64px); display: grid; gap: 20px; align-content: center; }
.cta .h2 { max-width: 16ch; }
.cta .h2 em { color: var(--amber); }
.cta p { color: rgba(247,246,242,.72); max-width: 46ch; }
.cta .cta-media { position: relative; min-height: 260px; }
.cta .cta-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta .cta-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, rgba(20,20,20,0) 40%); }
.cta .row { gap: 10px; }
.cta .btn-ghost { border-color: rgba(255,255,255,.3); color: var(--paper); }
.cta .btn-ghost:hover { border-color: var(--paper); }
.cta .small { color: rgba(247,246,242,.55); }

/* 15 ── Footer ------------------------------------------------------------- */
.footer { border-top: 1px solid var(--line); padding: clamp(48px, 6vw, 80px) 0 32px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer .brand { margin-bottom: 14px; }
.footer p { color: var(--ink-2); max-width: 36ch; }
.footer h4 { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 16px; font-weight: 500; }
.footer ul { display: grid; gap: 9px; }
.footer li { list-style: none; }
.footer li a { color: var(--ink-2); transition: color var(--t-fast); }
.footer li a:hover { color: var(--ink); }
.footer address { font-style: normal; color: var(--ink-2); line-height: 1.6; display: grid; gap: 10px; }
.footer address a { color: var(--ink); }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 13.5px; color: var(--ink-3); }
.footer-bottom ul { display: flex; gap: 18px; }
.footer-bottom a:hover { color: var(--ink); }

/* 16 ── Forms -------------------------------------------------------------- */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--paper-2); color: var(--ink);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(20,20,20,.06); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2355544F' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form-status { display: none; padding: 12px 14px; border-radius: 10px; font-size: 14.5px; }
.form-status.ok { display: block; background: var(--accent-soft); color: var(--accent-2); }
.form-status.err { display: block; background: #FBEAE7; color: var(--danger); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* ── Two-step quote & booking form ─────────────────────────────────────── */
.quote-box { padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper-2); box-shadow: 0 30px 60px -44px rgba(10, 28, 54, .28); min-width: 0; }
.qf { position: relative; }
.qf fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 16px; }
.js .qf .qf-step:not(.is-on) { display: none; }
.qf-progress { display: flex; gap: 8px; list-style: none; margin: 0 0 4px; padding: 0; counter-reset: qf; }
.qf-progress li { flex: 1; display: flex; align-items: center; gap: 8px; padding-bottom: 10px; border-bottom: 2px solid var(--line); font-size: 13px; font-weight: 500; color: var(--ink-3); transition: color var(--t-fast), border-color var(--t-fast); }
.qf-progress li span { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 999px; border: 1px solid var(--line-2); font-family: var(--mono); font-size: 11px; }
.qf-progress li.is-on { color: var(--ink); border-color: var(--accent); }
.qf-progress li.is-on span { background: var(--accent); border-color: var(--accent); color: #fff; }
.no-js .qf-progress, html:not(.js) .qf-progress { display: none; }
.qf-label { font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.qf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.qf-chip { position: relative; cursor: pointer; }
.qf-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.qf-chip > span { display: inline-flex; flex-direction: column; gap: 1px; padding: 9px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--paper-2); font-size: 14px; line-height: 1.3; transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast); }
.qf-chip > span small { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); }
.qf-chip:hover > span { border-color: var(--ink-3); }
.qf-chip input:checked + span { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.qf-chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.qf-packages .qf-chip > span { min-width: 118px; }
.qf-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); cursor: pointer; line-height: 1.45; }
.qf-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.qf-check b { color: var(--ink); font-weight: 600; }
.qf-book { padding: 14px 16px; border: 1px dashed var(--line-2); border-radius: 12px; display: grid; gap: 12px; }
.qf-book-when { display: grid; gap: 8px; }
.qf-tz { margin: 0; color: var(--ink-3); }
.qf-consent { font-size: 13.5px; }
.qf-err { font-size: 13px; color: var(--danger); min-height: 0; }
.qf-err:empty { display: none; }
.has-err input, .has-err select, .has-err textarea { border-color: var(--danger) !important; }
.has-err .qf-chip > span { border-color: #E9B3AB; }
.qf-nav { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-top: 4px; }
.qf-nav .small { color: var(--ink-3); }
.qf-done { display: grid; gap: 10px; justify-items: start; padding: 28px; border-radius: var(--radius-lg); background: var(--accent-soft); outline: none; }
.qf-done-mark { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 20px; }
.qf-done-mark svg { width: 22px; height: 22px; }
.qf-done p { margin: 0; color: var(--ink-2); }
.qf .field textarea { min-height: 96px; }
@media (max-width: 600px) {
  .qf-chip > span { padding: 8px 12px; font-size: 13.5px; }
  .qf-packages .qf-chip { flex: 1 1 calc(50% - 8px); }
  .qf-packages .qf-chip > span { min-width: 0; width: 100%; }
  .qf-nav .btn { width: 100%; }
  .qf-nav .qf-back { order: 2; }
}
.contact-side { display: grid; gap: 18px; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper-2); padding: 22px 24px; display: grid; gap: 14px; }
.contact-card h3 { font-size: 15px; font-weight: 600; }
.contact-line { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.contact-line svg { width: 20px; height: 20px; color: var(--accent); margin-top: 2px; }
.contact-line a { color: var(--ink); font-weight: 500; }

/* 17 ── Blog / prose ------------------------------------------------------- */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.post-card { display: grid; gap: 14px; color: var(--ink); }
.post-card .figure { aspect-ratio: 3/2; transition: transform var(--t); }
.post-card:hover .figure img { transform: scale(1.03); }
.post-card .figure img { transition: transform var(--t); }
.post-card .meta { display: flex; gap: 12px; align-items: center; font-family: var(--mono); font-size: 12px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .05em; }
.post-card h3 { font-family: var(--serif); font-size: 24px; line-height: 1.15; }
.post-card p { font-size: 15px; color: var(--ink-2); }
.post-hero { max-width: 820px; margin: 0 auto; text-align: center; }
.post-hero .h1 { margin: 16px auto 20px; max-width: 22ch; }
.post-cover { max-width: 1040px; margin: 40px auto 0; }
.prose { max-width: 720px; margin: 0 auto; font-size: 18px; line-height: 1.75; }
.prose h2 { font-family: var(--serif); font-size: 34px; margin: 1.6em 0 .6em; line-height: 1.1; }
.prose h3 { font-family: var(--serif); font-size: 26px; margin: 1.4em 0 .5em; }
.prose p, .prose ul, .prose ol { margin-bottom: 1.2em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose img { border-radius: var(--radius); margin: 1.5em 0; }
.prose figure { margin: 1.8em 0; }
.prose figure img { margin: 0; width: 100%; height: auto; }
.prose figcaption { margin-top: 10px; font-size: 14px; color: var(--ink-3); }
.prose blockquote { margin: 1.5em 0; padding-left: 20px; border-left: 2px solid var(--accent); font-family: var(--serif); font-size: 24px; line-height: 1.3; }
.prose pre { background: var(--ink); color: var(--paper); padding: 18px 20px; border-radius: var(--radius); overflow-x: auto; font-family: var(--mono); font-size: 14px; }
.prose code { font-family: var(--mono); font-size: .92em; background: var(--paper-3); padding: 2px 6px; border-radius: 5px; }
.prose pre code { background: none; padding: 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; margin: 1.5em 0; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.post-foot { max-width: 720px; margin: 48px auto 0; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.filter { display: flex; flex-wrap: wrap; gap: 8px; }
.filter a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; color: var(--ink-2); }
.filter a:hover, .filter a.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 48px; }
.pager a, .pager span { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line-2); font-family: var(--mono); font-size: 13px; }
.pager .is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* 18 ── Portfolio ---------------------------------------------------------- */
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.work { display: grid; gap: 14px; color: var(--ink); }
.work .figure { aspect-ratio: 16/11; }
.work .figure img { transition: transform var(--t); }
.work:hover .figure img { transform: scale(1.02); }
.work .meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.work h3 { font-family: var(--serif); font-size: 28px; line-height: 1.1; }
.work .cat { font-family: var(--mono); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.work p { font-size: 15px; color: var(--ink-2); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { font-family: var(--mono); font-size: 12px; padding: 4px 9px; border-radius: 6px; background: var(--paper-3); color: var(--ink-2); }

/* 19 ── Product (CliniversePro) mock --------------------------------------- */
.mock { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper-2); box-shadow: var(--shadow); overflow: hidden; font-size: 13px; }
.mock-bar { display: flex; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--paper); }
.mock-bar i { width: 10px; height: 10px; border-radius: 999px; background: var(--line-2); }
.mock-body { display: grid; grid-template-columns: 150px 1fr; min-height: 300px; }
.mock-side { border-right: 1px solid var(--line); padding: 14px; display: grid; gap: 8px; align-content: start; background: var(--paper); }
.mock-side span { display: block; height: 10px; border-radius: 4px; background: var(--line); }
.mock-side span.on { background: var(--accent); }
.mock-main { padding: 16px; display: grid; gap: 12px; align-content: start; }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-cards div { border: 1px solid var(--line); border-radius: 10px; padding: 12px; display: grid; gap: 8px; }
.mock-cards span { display: block; height: 8px; border-radius: 4px; background: var(--line); width: 60%; }
.mock-cards b { display: block; height: 14px; border-radius: 4px; background: var(--paper-3); width: 40%; }
.mock-rows { display: grid; gap: 8px; }
.mock-rows div { display: grid; grid-template-columns: 24px 2fr 1fr 1fr 60px; gap: 10px; align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: 8px; }
.mock-rows i { width: 24px; height: 24px; border-radius: 999px; background: var(--accent-soft); }
.mock-rows span { display: block; height: 8px; border-radius: 4px; background: var(--line); }
.mock-rows em { display: block; height: 18px; border-radius: 999px; background: var(--amber-soft); }
.feature { display: grid; gap: 10px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper-2); }
.feature img { width: 44px; height: 44px; }
.feature b { font-weight: 600; font-size: 17px; }
.feature p { font-size: 14.5px; color: var(--ink-2); }

/* 20 ── Chat + WhatsApp ---------------------------------------------------- */
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 54px; height: 54px; border-radius: 999px; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0,0,0,.35); transition: transform var(--t-fast); }
.wa:hover { transform: translateY(-2px); }
.wa svg { width: 28px; height: 28px; }
.chat { position: fixed; left: 20px; bottom: 20px; z-index: 45; }
.chat-toggle { width: 56px; height: 56px; border-radius: 999px; background: var(--ink); color: var(--paper); display: grid; place-items: center; box-shadow: 0 12px 28px -10px rgba(10,28,54,.55); transition: transform var(--t-fast), background var(--t-fast); position: relative; }
.chat-toggle:hover { transform: translateY(-2px); background: var(--accent); }
.chat-toggle svg { width: 24px; height: 24px; }
.chat-toggle::after { content: ""; position: absolute; top: 3px; right: 3px; width: 11px; height: 11px; border-radius: 999px; background: #3DDC84; border: 2px solid var(--paper); }
.chat.is-open .chat-toggle::after, .chat.has-history .chat-toggle::after { display: none; }
.chat-panel { position: absolute; left: 0; bottom: 70px; width: min(380px, calc(100vw - 40px)); height: min(560px, calc(100vh - 120px)); background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 24px 60px -20px rgba(10,28,54,.35); display: none; grid-template-rows: auto 1fr auto auto; overflow: hidden; }
.chat.is-open .chat-panel { display: grid; animation: chat-in .22s var(--ease); }
@keyframes chat-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 14px; background: var(--ink); color: var(--paper); }
.chat-head > div { flex: 1; min-width: 0; }
.chat-head b { display: block; font-size: 14.5px; font-weight: 600; }
.chat-head span { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: rgba(247,246,242,.72); line-height: 1.3; }
.chat-dot { width: 7px; height: 7px; border-radius: 999px; background: #3DDC84; flex: none; }
.chat-avatar { width: 36px; height: 36px; border-radius: 999px; background: rgba(247,246,242,.12); display: grid; place-items: center; flex: none; }
.chat-avatar svg { width: 18px; height: 18px; }
.chat-wa, .chat-close { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: var(--paper); flex: none; }
.chat-wa { background: #25D366; }
.chat-close:hover { background: rgba(247,246,242,.12); }
.chat-wa svg { width: 19px; height: 19px; }
.chat-close svg { width: 16px; height: 16px; }
.chat-msgs { padding: 16px 14px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; overscroll-behavior: contain; background: var(--paper); }
.chat-msg { max-width: 86%; padding: 10px 13px; border-radius: 16px; line-height: 1.5; overflow-wrap: anywhere; }
.chat-msg a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.chat-msg.bot { background: var(--paper-2); border: 1px solid var(--line); border-bottom-left-radius: 5px; align-self: flex-start; }
.chat-msg.user { background: var(--ink); color: var(--paper); border-bottom-right-radius: 5px; align-self: flex-end; }
.chat-msg.note { background: var(--accent-soft); border-color: transparent; color: var(--accent-2); font-size: 13.5px; }
.chat-msg.is-typing { display: inline-flex; gap: 4px; padding: 13px 14px; }
.chat-msg.is-typing span { width: 7px; height: 7px; border-radius: 999px; background: var(--ink-3); animation: chat-dot 1.1s infinite ease-in-out; }
.chat-msg.is-typing span:nth-child(2) { animation-delay: .15s; }
.chat-msg.is-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes chat-dot { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.chat-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 12px 0; background: var(--paper); }
.chat-chips[hidden] { display: none; }
.chat-chips button { font: 500 13px/1.2 var(--sans); padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--paper-2); color: var(--ink); cursor: pointer; }
.chat-chips button:hover { border-color: var(--accent); color: var(--accent); }
.chat-form { display: grid; grid-template-columns: 1fr 44px; gap: 8px; padding: 10px 12px 12px; background: var(--paper); border-top: 1px solid var(--line); }
.chat-form input { min-height: 44px; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--paper-2); font-size: 16px; }
.chat-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.chat-form button { width: 44px; height: 44px; border-radius: 999px; background: var(--accent); color: #fff; display: grid; place-items: center; }
.chat-form button svg { width: 16px; height: 16px; }
.chat-teaser { position: absolute; left: 0; bottom: 70px; width: 250px; padding: 12px 34px 12px 14px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 14px 14px 14px 4px; box-shadow: var(--shadow); font-size: 13.5px; line-height: 1.45; cursor: pointer; animation: chat-in .3s var(--ease); }
.chat-teaser[hidden] { display: none; }
.chat-teaser-x { position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 6px; color: var(--ink-3); }
.chat-teaser-x svg { width: 12px; height: 12px; }
@media (max-width: 600px) {
  .chat.is-open { inset: 0; left: 0; bottom: 0; }
  .chat.is-open .chat-panel { position: fixed; inset: 0; width: 100%; height: 100%; height: 100dvh; max-height: none; border-radius: 0; border: 0; bottom: 0; }
  .chat.is-open .chat-toggle { display: none; }
  .chat-msg { max-width: 90%; }
}
@media (prefers-reduced-motion: reduce) { .chat.is-open .chat-panel, .chat-teaser, .chat-msg.is-typing span { animation: none; } }

/* 21 ── Motion ------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; } .reveal[data-delay="2"] { transition-delay: .16s; } .reveal[data-delay="3"] { transition-delay: .24s; } .reveal[data-delay="4"] { transition-delay: .32s; }
.lines .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.lines .line > span { display: block; transform: translateY(110%); animation: line-up .9s var(--ease) forwards; }
.lines .line:nth-child(1) > span { animation-delay: .1s; }
.lines .line:nth-child(2) > span { animation-delay: .22s; }
.lines .line:nth-child(3) > span { animation-delay: .34s; }
@keyframes line-up { to { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .lines .line > span { opacity: 1; transform: none; transition: none; }
  .float { animation: none; }
  .hero-bg .slide, .hero-bg .slide img, .hero-progress i::after { animation: none; }
  .hero-bg .slide:first-child { opacity: 1; }
  .hero-progress i:first-child::after { transform: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* 22 ── Responsive --------------------------------------------------------- */
@media (max-width: 1180px) {
  /* keep the header on one line while the desktop nav is still shown (Thai labels are wider) */
  .nav > li > a, .nav > li > button { padding: 10px 10px; font-size: 14.5px; }
  .header-cta .btn-ghost { display: none; }
}
@media (max-width: 1080px) {
  .index-row { grid-template-columns: 48px minmax(0, 1.2fr) minmax(0, 1fr) 120px 40px; }
  .index-row .peek { display: none; }
  .mega { grid-template-columns: 1fr 1fr; }
  .mega .mega-side { grid-row: 1 / span 5; }
}
/* eight menu items + language + CTA no longer fit on one row → switch to the drawer menu */
@media (max-width: 1140px) {
  .nav, .header-cta .btn-ghost { display: none; }
  .burger { display: grid; }
  .drawer { display: block; position: fixed; inset: var(--nav-h) 0 0; z-index: 45; background: var(--paper); overflow-y: auto; padding: 20px var(--gutter) 40px; transform: translateX(100%); transition: transform var(--t), visibility 0s linear .45s; visibility: hidden; }
  .drawer.is-open { transform: none; visibility: visible; transition: transform var(--t), visibility 0s; }
  .drawer ul { display: grid; }
  .drawer li { list-style: none; border-bottom: 1px solid var(--line); }
  .drawer a { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-size: 18px; font-weight: 500; }
  .drawer .sub a { padding: 10px 0 10px 16px; font-size: 15.5px; font-weight: 400; color: var(--ink-2); }
  .drawer .sub li { border: 0; }
  .drawer .drawer-cta { display: grid; gap: 10px; margin-top: 24px; }
}
@media (max-width: 900px) {
  .hero-in, .split, .split.is-7-5, .split.is-5-7, .split-eq, .cta, .hero-slider .hero-in, .showcase, .head-row.is-split { grid-template-columns: 1fr; }
  .head-row.is-split { align-items: start; gap: 16px; }
  .hero .display, .hero-slider .display { max-width: none; }
  .hero-slider { min-height: 0; }
  .hero-slider .hero-in { padding-top: clamp(64px, 12vh, 120px); }
  .hero-aside { justify-items: start; }
  .showcase-stage { display: none; }
  .showcase-item { grid-template-columns: 40px 1fr 32px; gap: 12px 14px; }
  .showcase-item .from { grid-column: 2; }
  .showcase-item .arrow { grid-row: 1; grid-column: 3; }
  .showcase-item .desc { grid-column: 2 / span 2; display: block; }
  .showcase-item.is-active { padding-left: 0; }
  .ghost { font-size: clamp(100px, 24vw, 160px); }
  .hero-visual { max-width: 480px; }
  .float-1 { left: -4%; } .float-2 { right: -4%; }
  .g3, .g4, .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps, .steps.steps-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .packages { grid-template-columns: 1fr; max-width: 520px; }
  .price-head { grid-template-columns: 1fr; align-items: start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sticky { position: static; }
  .index-row { grid-template-columns: 40px 1fr 40px; gap: 14px; padding: 20px 0; }
  .index-row .desc { grid-column: 2; }
  .index-row .from { grid-column: 2; text-align: left; }
  .index-row .arrow { grid-row: 1; grid-column: 3; }
  .cta .cta-media { order: -1; min-height: 220px; }
  .cta .cta-media::after { background: linear-gradient(180deg, rgba(20,20,20,0) 50%, var(--ink) 100%); }
}
@media (max-width: 720px) {
  /* the language switch lives in the drawer below this width, so the header row always fits */
  .header-cta .lang-switch { display: none; }
  .header-in { gap: 12px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .g2, .g3, .g4, .post-grid, .work-grid, .guarantees, .checks.two, .form-row, .footer-grid, .facts { grid-template-columns: 1fr; }
  .facts div:nth-child(even) { padding-left: 0; border-left: 0; }
  .steps, .steps.steps-2 { grid-template-columns: 1fr; }
  .step + .step { padding-left: 0; border-left: 0; }
  .guarantees, .guarantees.guarantees-1 { grid-template-columns: 1fr; }
  .mosaic.mosaic-2 { grid-template-columns: 1fr 1fr; }
  .mosaic { grid-template-columns: 1fr 1fr; }
  .mosaic .figure:first-child { grid-column: 1 / span 2; grid-row: auto; }
  .hero-card { position: static; margin-top: 16px; max-width: none; }
  .hero-slider .scroll-hint { display: none; }
  /* the three headline lines are clipped by .line{overflow:hidden}, so the type must fit the width */
  .hero-slider .display { font-size: clamp(27px, 8.4vw, 40px); }
  .h1 { font-size: clamp(30px, 8.6vw, 44px); }
  .h2 { font-size: clamp(26px, 7.4vw, 36px); }
  .index-row .name { font-size: 24px; }
  .index-row .name img { width: 36px; height: 36px; }
  .promise { grid-template-columns: 1fr; }
  .compare { font-size: 14px; }
  .btn { width: 100%; }
  .hero-actions .btn, .row .btn { width: auto; flex: 1 1 auto; }
  .faq summary { font-size: 16.5px; }
  .faq .faq-a { padding-right: 0; }
  .post-hero .h1 { font-size: 34px; }
  .prose { font-size: 17px; }
  .mock-body { grid-template-columns: 1fr; }
  .mock-side { display: none; }
  .wa, .chat-toggle { width: 50px; height: 50px; }
}

/* 23 ── Cookie banner & reviews ------------------------------------------- */
.cookie { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 60; width: min(620px, calc(100vw - 32px)); display: flex; align-items: center; gap: 16px; padding: 14px 16px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 50px -18px rgba(10,28,54,.4); font-size: 14.5px; line-height: 1.5; }
.cookie[hidden] { display: none; }
.cookie p { margin: 0; flex: 1; color: var(--ink-2); }
.cookie a { color: var(--accent); }
.cookie-actions { display: flex; gap: 8px; flex: none; }
.cookie-actions .btn { width: auto; }
@media (max-width: 600px) { .cookie { flex-direction: column; align-items: stretch; bottom: 10px; } .cookie-actions .btn { flex: 1; } }
.reviews-band .trustpilot-widget { margin-top: 28px; }
.reviews-embed { margin-top: 28px; }
.legal-toc { margin: 0 0 36px; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-2); font-size: 15px; }
.legal-toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.legal-toc li { margin: 0 0 6px; break-inside: avoid; }
.legal-toc a { color: var(--ink-2); text-decoration: none; }
.legal-toc a:hover { color: var(--accent); text-decoration: underline; }
.legal h2 { scroll-margin-top: calc(var(--nav-h) + 16px); }
@media (max-width: 600px) { .legal-toc ol { columns: 1; } }
/* quote sections: the shorter column stays in view while the longer one scrolls (desktop) */
@media (min-width: 900px) {
  #quote .split > * { position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; }
}
