/* ==========================================================
   Media Vision Digital Marketing — styles
   Direction: soft "stages" (rounded inset panels with a moving
   red aurora), two-tone headlines, numbered mono labels, pill
   controls, and marquees that scroll continuously.
   ========================================================== */

:root {
  /* Brand */
  --red: #C8372F;
  --red-700: #A52A23;
  --red-900: #7E1F1A;
  --red-soft: #F26B60;           /* red for text on ink (5.6:1) */
  --peach: #F6C9B8;
  --rose: #F29A8E;

  /* Neutrals */
  --paper: #F6F3EE;
  --paper-2: #EEE9E2;
  --white: #FFFFFF;
  --ink: #111111;
  --ink-2: #2A2A2A;
  --muted: #5A5650;
  --line: rgba(17,17,17,.12);
  --line-light: rgba(255,255,255,.16);
  --on-ink-muted: rgba(255,255,255,.72);

  --wa: #138A3E;

  /* Type */
  /* One family across the site: Archivo for headings, body and labels */
  --display: "Archivo", system-ui, sans-serif;
  --body: var(--display);
  --mono: var(--display);

  /* Spacing (8pt) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 136px;

  /* Shape */
  --r-sm: 12px;
  --r: 22px;
  --r-lg: 32px;
  --pill: 999px;
  --inset: 12px;

  /* Elevation */
  --shadow-1: 0 1px 2px rgba(17,17,17,.05), 0 4px 14px -6px rgba(17,17,17,.10);
  --shadow-2: 0 2px 4px rgba(17,17,17,.04), 0 24px 48px -20px rgba(17,17,17,.22);
  --shadow-red: 0 12px 28px -12px rgba(200,55,47,.65);

  --ease-out: cubic-bezier(.16,1,.3,1);
  --t-fast: 180ms;
  --t: 420ms;

  --container: 1240px;
  --nav-h: 76px;

  /* Layers */
  --z-nav: 100; --z-float: 200; --z-progress: 300; --z-toast: 400;

  interpolate-size: allow-keywords;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); color: var(--ink); text-wrap: balance; }
h2 {
  font-size: clamp(2.1rem, 1.2rem + 3vw, 4rem);
  font-weight: 700;
  line-height: 1; letter-spacing: -0.035em;
}
h3 { font-size: 1.2rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; }
h2 em, .hl { font-style: normal; color: var(--red); }

.mono { font-family: var(--mono); font-size: .76rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.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; }
[data-lucide], .lucide { width: 1.1em; height: 1.1em; stroke-width: 2; flex-shrink: 0; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.stage--ink :focus-visible, .stage--red :focus-visible, .footer :focus-visible, .case--red :focus-visible, .case--ink :focus-visible, .ind__panel :focus-visible { outline-color: #fff; }

.skip-link { position: absolute; left: 16px; top: -80px; z-index: 1000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--pill); text-decoration: none; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 40px; } }

/* ---------- Scroll progress ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: var(--z-progress); pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--red); transform-origin: left; transform: scaleX(0); }

/* ---------- Labels ---------- */

/* ---------- Buttons (pill) ---------- */
.btn {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px;
  font: 600 1rem/1 var(--body);
  border: 1px solid transparent; border-radius: var(--pill);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background var(--t-fast) var(--ease-out), color var(--t-fast), border-color var(--t-fast), box-shadow var(--t) var(--ease-out), transform var(--t-fast) var(--ease-out);
  touch-action: manipulation;
}
.btn svg { width: 18px; height: 18px; transition: transform var(--t) var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .92rem; }
.btn--lg { min-height: 58px; padding: 0 30px; font-size: 1.04rem; }
.btn--block { width: 100%; }

.btn--primary { background: var(--red); color: #fff; box-shadow: var(--shadow-red), inset 0 1px 0 rgba(255,255,255,.22); }
.btn--primary:hover { background: var(--red-700); }
.btn--dark {
  background: linear-gradient(180deg, #2a2a2a, #0d0d0d); color: #fff;
  box-shadow: 0 10px 24px -12px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.14);
}
.btn--dark:hover { background: linear-gradient(180deg, #3a3a3a, #111); }
.btn--light { background: var(--white); color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-1); }
.btn--light:hover { border-color: var(--ink); }

.textlink {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 600; text-decoration: none; color: var(--ink);
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 8px) / 100% 1.5px no-repeat;
  transition: background-size var(--t) var(--ease-out), color var(--t-fast);
}
.textlink:hover { background-size: 0 1.5px; background-position: 100% calc(100% - 8px); color: var(--red); }
.textlink svg { width: 18px; height: 18px; }

/* ---------- Stages (rounded inset panels) ---------- */
.stage { position: relative; isolation: isolate; margin: 0 var(--inset); border-radius: var(--r-lg); overflow: hidden; }
.stage--ink { background: var(--ink); color: var(--on-ink-muted); }
.stage--red { background: var(--red); color: #fff; }

/* Aurora: soft moving gradient blobs */
.aurora { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.blob--1 { width: 46vw; height: 46vw; max-width: 640px; max-height: 640px; right: -8%; top: -18%; background: var(--rose); animation: drift-1 18s ease-in-out infinite alternate; }
.blob--2 { width: 34vw; height: 34vw; max-width: 480px; max-height: 480px; right: 22%; bottom: -24%; background: var(--peach); animation: drift-2 22s ease-in-out infinite alternate; }
.blob--3 { width: 26vw; height: 26vw; max-width: 380px; max-height: 380px; left: -6%; top: 30%; background: #F8DCD2; animation: drift-3 26s ease-in-out infinite alternate; }
@keyframes drift-1 { to { transform: translate(-12%, 18%) scale(1.15); } }
@keyframes drift-2 { to { transform: translate(18%, -14%) scale(.9); } }
@keyframes drift-3 { to { transform: translate(30%, -10%) scale(1.2); } }
.aurora--red .blob { opacity: .5; filter: blur(80px); }
.aurora--red .blob--1 { background: #FF7A6B; }
.aurora--red .blob--2 { background: var(--red-900); }
.aurora--red .blob--3 { background: #E8564A; }
.dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(200,55,47,.28) 1.2px, transparent 1.4px);
  background-size: 14px 14px;
  mask-image: radial-gradient(ellipse 70% 70% at 100% 100%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 100% 100%, #000 10%, transparent 70%);
}

/* Grid paper background (subtle) */
.section--grid, #services {
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center top;
}
#services { background-color: var(--paper); background-image: linear-gradient(rgba(17,17,17,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(17,17,17,.05) 1px, transparent 1px); }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: var(--z-nav);
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%);
  transition: transform var(--t) var(--ease-out), box-shadow var(--t);
}
.nav.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); }
.nav__logo img { width: 160px; height: auto; }
.nav__links { display: flex; gap: 4px; padding: 5px; background: rgba(255,255,255,.6); border: 1px solid var(--line); border-radius: var(--pill); }
.nav__links a {
  display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border-radius: var(--pill);
  text-decoration: none; font-weight: 600; font-size: .94rem; color: var(--ink-2);
  transition: background var(--t-fast), color var(--t-fast);
}
.nav__links a:hover { background: rgba(17,17,17,.06); }
.nav__links a.is-active { background: var(--ink); color: #fff; }
.nav__actions { display: flex; align-items: center; gap: var(--s-3); }

.lang { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: var(--pill); background: rgba(255,255,255,.6); }
.lang__btn {
  min-width: 44px; min-height: 36px; padding: 0 10px; border: 0; border-radius: var(--pill); background: transparent;
  font: 500 .76rem/1 var(--mono); cursor: pointer; transition: background var(--t-fast), color var(--t-fast);
}
.lang__btn.is-active { background: var(--white); box-shadow: var(--shadow-1); }

.nav__toggle {
  display: none; position: relative; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%;
  background: var(--white); box-shadow: var(--shadow-1); cursor: pointer;
}
.nav__toggle span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform var(--t) var(--ease-out); }
.nav__toggle span:nth-child(1) { top: 18px; }
.nav__toggle span:nth-child(2) { top: 25px; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 1000px) {
  .nav__toggle { display: block; }
  .nav__cta { display: none; }
  .nav__links {
    position: fixed; top: calc(var(--nav-h) - 4px); left: var(--inset); right: var(--inset);
    flex-direction: column; gap: 0; padding: var(--s-3); border-radius: var(--r);
    background: var(--white); box-shadow: var(--shadow-2);
    opacity: 0; transform: translateY(-8px) scale(.98); visibility: hidden; transform-origin: top right;
    transition: opacity var(--t) var(--ease-out), transform var(--t) var(--ease-out), visibility var(--t);
  }
  .nav__links.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav__links a { min-height: 56px; padding: 0 16px; font: 700 1.4rem/1 var(--display); border-radius: var(--r-sm); }
}
@media (max-width: 420px) { .nav__logo img { width: 128px; } .lang__btn { min-width: 40px; } }

/* ---------- HERO ---------- */
.hero { padding: var(--s-2) 0 0; }
.stage--hero { background: #FBF9F6; border: 1px solid var(--line); min-height: calc(100svh - var(--nav-h) - 24px); display: flex; align-items: center; }
.hero__grid {
  position: relative; z-index: 1;
  width: 100%; max-width: var(--container); margin: 0 auto; padding: var(--s-8) 40px var(--s-9);
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: var(--s-8); align-items: center;
}
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-5); }

.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #22A45D; position: relative; flex-shrink: 0; }
.live-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid #22A45D; animation: ping 1.8s var(--ease-out) infinite; }
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }

.hero__title {
  font-size: clamp(2.6rem, .9rem + 4.2vw, 5.2rem);
  font-weight: 750;
  line-height: .96; letter-spacing: -0.045em;
}
.line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.line__in { display: inline-block; }
.swap { display: inline-grid; vertical-align: top; }
.swap__word { grid-area: 1 / 1; transition: transform 700ms var(--ease-out), opacity 400ms; }
.swap__word:not(.is-on) { transform: translateY(105%); opacity: 0; }
.swap__word.is-out { transform: translateY(-105%); opacity: 0; }

.hero__sub { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--muted); max-width: 54ch; }
.hero__sub u { text-decoration: none; color: var(--ink); font-weight: 600; background: linear-gradient(rgba(200,55,47,.22), rgba(200,55,47,.22)) 0 88% / 100% .35em no-repeat; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-2); }

/* Floating platform logos */
.floaters { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.fl { position: absolute; will-change: transform; }
.fl__tile {
  display: grid; place-items: center; width: 76px; height: 76px; border-radius: 22px;
  background: rgba(255,255,255,.9); border: 1px solid var(--line); box-shadow: var(--shadow-2);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  animation: bob 6s ease-in-out infinite;
}
.fl__tile svg { width: 40px; height: 40px; }
.fl__tile--sm { width: 54px; height: 54px; border-radius: 16px; }
.fl__tile--sm svg { width: 28px; height: 28px; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(var(--r, -6deg)); } 50% { transform: translateY(-14px) rotate(calc(var(--r, -6deg) * -1)); } }
.fl--1 { left: 47%; top: 14%; }
.fl--1 .fl__tile { --r: -8deg; }
.fl--2 { left: 55.5%; top: 44%; }
.fl--2 .fl__tile { --r: 7deg; animation-delay: -2s; }
.fl--3 { right: 3%; top: 5%; }
.fl--3 .fl__tile { --r: 10deg; animation-delay: -4s; }
.fl--4 { left: 44%; bottom: 9%; }
.fl--4 .fl__tile { --r: -5deg; animation-delay: -1s; animation-duration: 7s; }
.fl--5 { right: 2.5%; bottom: 7%; }
.fl--5 .fl__tile { --r: 6deg; animation-delay: -3s; animation-duration: 8s; }
@media (max-width: 1100px) {
  .fl--1 { left: auto; right: 24px; top: 96px; }
  .fl--2 { left: auto; right: 110px; top: 36px; }
  .fl--3, .fl--4, .fl--5 { display: none; }
}
@media (max-width: 700px) {
  .floaters { display: none; }
  .audit { margin-top: 28px; }
  .audit .audit__stickers { display: block; position: absolute; inset: 0; pointer-events: none; }
  .audit__stickers .fl__tile { position: absolute; width: 56px; height: 56px; border-radius: 16px; }
  .audit__stickers .fl__tile svg { width: 30px; height: 30px; }
  .audit__stickers .st--g { top: -30px; right: 150px; --r: -8deg; }
  .audit__stickers .st--a { top: -36px; right: 84px; --r: 6deg; animation-delay: -4s; }
  .audit__stickers .st--m { top: -24px; right: 18px; --r: 8deg; animation-delay: -2s; }
}

/* Audit form */
.audit {
  position: relative; z-index: 1; width: 100%; max-width: 440px; justify-self: end;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: var(--s-6) var(--s-5) var(--s-5); box-shadow: var(--shadow-2);
  display: flex; flex-direction: column; gap: var(--s-4);
}
.audit__title { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.audit__sub { color: var(--muted); font-size: .95rem; margin-top: -8px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink); }
.req { color: var(--red); }
.field input, .field select {
  width: 100%; min-height: 48px; padding: 0 14px; font-size: 16px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm);
  transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; cursor: pointer; }
.field input:focus, .field select:focus { outline: none; border-color: var(--ink); background-color: var(--white); box-shadow: 0 0 0 4px rgba(17,17,17,.08); }
.field input[aria-invalid="true"] { border-color: var(--red); box-shadow: 0 0 0 4px rgba(200,55,47,.12); }
.field__help { font-size: .8rem; color: var(--muted); }
.field__err { font-size: .82rem; color: var(--red-700); font-weight: 600; min-height: 0; }
.field__err:empty { display: none; }
.chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { padding: 0; margin-bottom: 8px; color: var(--muted); font-size: .7rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: var(--pill);
  border: 1px solid var(--line); background: var(--white); font: 500 .76rem/1 var(--mono);
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
/* Mobile-only logo stickers on the audit card */
.audit__stickers { display: none; }

/* Certifications */
.certs { display: flex; align-items: center; gap: var(--s-4); margin-top: var(--s-3); padding-top: var(--s-5); border-top: 1px solid var(--line); }
.certs__badges { display: flex; }
.certs__badges img {
  width: 72px; height: 72px; border-radius: 50%; background: var(--white);
  box-shadow: var(--shadow-1); border: 3px solid var(--white);
  transition: transform var(--t) var(--ease-out);
}
.certs__badges img + img { margin-left: -12px; }
.certs__badges img:hover { transform: translateY(-4px) rotate(-6deg); }
.certs__text { display: flex; flex-direction: column; line-height: 1.3; }
.certs__text strong { font: 700 1.15rem/1.2 var(--display); color: var(--ink); letter-spacing: -0.02em; }
.certs__text span { color: var(--muted); font-size: .95rem; }

@media (max-width: 1100px) {
  .hero__grid { grid-template-columns: 1fr; gap: var(--s-7); padding: var(--s-7) 28px var(--s-9); }
  .audit { justify-self: start; max-width: 520px; }
}
@media (max-width: 600px) {
  :root { --inset: 8px; }
  .hero__grid { padding: var(--s-6) 18px var(--s-7); }
  .certs__badges img { width: 60px; height: 60px; }
  .hero__ctas .btn { width: 100%; }
  .stage { border-radius: var(--r); }
}

/* ---------- TRUST ---------- */
.trust { padding: var(--s-8) 0 var(--s-8); }
.trust__label { text-align: center; color: var(--muted); margin-bottom: var(--s-5); }
.marquee {
  overflow: hidden; padding: var(--s-2) 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track, .rmarquee__track { display: flex; width: max-content; animation: marquee var(--dur, 36s) linear infinite; }
.marquee:hover .marquee__track, .rmarquee:hover .rmarquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee__group { display: flex; gap: var(--s-4); padding-right: var(--s-4); }
.marquee__group li { flex: 0 0 auto; }
.marquee__group img {
  width: 116px; height: 116px; object-fit: cover; border-radius: var(--r);
  border: 1px solid var(--line); box-shadow: var(--shadow-1);
  filter: grayscale(1); opacity: .9; transition: filter var(--t) var(--ease-out), opacity var(--t), transform var(--t) var(--ease-out);
}
.marquee__group img:hover { filter: none; opacity: 1; transform: translateY(-4px); }


/* ---------- Section heads ---------- */
.section { padding: var(--s-10) 0; }
.section--alt { background: var(--paper-2); }
@media (max-width: 768px) { .section { padding: var(--s-9) 0; } }
.head { max-width: 780px; margin-bottom: var(--s-8); }
.head h2 { margin-bottom: var(--s-4); }
.head__aside { font-size: 1.1rem; color: var(--muted); max-width: 56ch; }
.head--center { margin-inline: auto; text-align: center; }
.head--center .head__aside { margin-inline: auto; }

/* split-word reveal */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.w > span { display: inline-block; }

/* ---------- PROBLEMS ---------- */
.problems .stage--ink { padding: var(--s-10) 0 var(--s-9); }
.problems h2, .problems h3 { color: #fff; }
.problems h2 em { color: var(--red-soft); }
.problems .head__aside { color: var(--on-ink-muted); }
.ledger { border-top: 1px solid var(--line-light); }
.ledger__row {
  display: grid; grid-template-columns: 70px minmax(0, 1.7fr) minmax(0, 1fr); gap: var(--s-6);
  align-items: start; padding: var(--s-7) 0; border-bottom: 1px solid var(--line-light);
}
.ledger__num { color: var(--red-soft); padding-top: .7em; }
.ledger__title { font-size: clamp(1.6rem, 1rem + 2vw, 2.7rem); font-weight: 700; line-height: 1.05; letter-spacing: -0.035em; margin-bottom: var(--s-4); }
.strike { background: linear-gradient(var(--red), var(--red)) 0 58% / calc(var(--s, 1) * 100%) .12em no-repeat; }
.ledger__desc { max-width: 52ch; }
.ledger__fix {
  padding: var(--s-4) var(--s-5); border-radius: var(--r-sm); background: rgba(255,255,255,.06); border: 1px solid var(--line-light);
  color: #fff; font-weight: 600;
  opacity: var(--f, 1); transform: translateY(calc((1 - var(--f, 1)) * 16px));
}
.ledger__fix .mono { display: block; color: var(--red-soft); margin-bottom: 6px; }
@media (max-width: 900px) { .ledger__row { grid-template-columns: 1fr; gap: var(--s-4); padding: var(--s-6) 0; } .ledger__num { padding-top: 0; } }

/* ---------- SERVICES: tabbed system ---------- */
.sys__tabs { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-5); }
.sys { display: grid; }
.sys__tab {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px 0 8px;
  border: 1px solid var(--line); border-radius: var(--pill); background: var(--white); cursor: pointer;
  font-weight: 600; color: var(--muted); box-shadow: var(--shadow-1);
  transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast);
}
.sys__tab:hover { color: var(--ink); border-color: var(--ink); }
.sys__n { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--paper-2); font: 500 .8rem var(--mono); transition: background var(--t-fast), color var(--t-fast); }
.sys__tab[aria-selected="true"] { color: var(--ink); border-color: var(--red); box-shadow: 0 0 0 3px rgba(200,55,47,.12); }
.sys__tab[aria-selected="true"] .sys__n { background: var(--red); color: #fff; }
/* Auto-rotate timer: fills along the bottom of the active tab */
.sys__tab::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: var(--red);
  transform: scaleX(var(--prog, 0)); transform-origin: left;
}
.soon { padding: 4px 8px; border-radius: var(--pill); background: var(--ink); color: #fff; font-size: .6rem; }

.sys__panel {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-7); align-items: center;
  padding: var(--s-7); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-2);
}
/* Panels share one grid cell so the section keeps the tallest panel's height and never jumps */
.sys__panel { grid-area: 2 / 1; }
.sys__panel[hidden] { display: grid; visibility: hidden; }
.sys__copy { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-4); }
.sys__kicker { color: var(--red); }
.sys__copy h3 { font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.5rem); line-height: 1.05; letter-spacing: -0.035em; }
.sys__copy > p { color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { padding: 7px 12px; border-radius: 8px; background: rgba(200,55,47,.08); color: var(--red-700); font-size: .68rem; }
@media (max-width: 900px) { .sys__panel { grid-template-columns: 1fr; padding: var(--s-5); gap: var(--s-6); } }
@media (max-width: 600px) { .sys__tab { flex: 1 1 calc(50% - 8px); padding-right: 12px; font-size: .9rem; } }

/* Mock visuals */
.mock { position: relative; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); padding: var(--s-5); min-height: 320px; display: flex; flex-direction: column; justify-content: center; gap: var(--s-4); overflow: clip; }
.g-search { display: flex; align-items: center; gap: 10px; padding: 12px 18px; background: var(--white); border-radius: var(--pill); box-shadow: var(--shadow-1); font-size: .95rem; }
.g-search svg { color: var(--muted); }
.g-ad { background: var(--white); border-radius: var(--r-sm); padding: var(--s-4) var(--s-5); box-shadow: var(--shadow-1); border-left: 3px solid var(--red); }
.g-ad__spon { font-size: .78rem; color: var(--muted); }
.g-ad__spon b { color: var(--ink); }
.g-ad__title { color: #1a0dab; font-size: 1.12rem; font-weight: 600; margin: 4px 0; line-height: 1.3; }
.g-ad__desc { font-size: .88rem; color: var(--muted); }
.g-ad__links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.g-ad__links span { font-size: .75rem; padding: 5px 10px; border-radius: var(--pill); border: 1px solid var(--line); }
.g-org { display: flex; flex-direction: column; gap: 8px; padding: 0 var(--s-2); }
.g-org span { height: 10px; border-radius: 6px; background: var(--paper-2); }
.g-org span:nth-child(2) { width: 80%; } .g-org span:nth-child(3) { width: 60%; }

.m-post { width: min(100%, 300px); margin: 0 auto; background: var(--white); border-radius: var(--r-sm); box-shadow: var(--shadow-2); overflow: hidden; }
.m-post__head { display: flex; align-items: center; gap: 10px; padding: 12px; font-size: .85rem; line-height: 1.2; }
.m-post__head small { color: var(--muted); }
.m-av { width: 34px; height: 34px; border-radius: 50%; background: var(--red); }
.m-post__img { aspect-ratio: 1 / .8; background: linear-gradient(135deg, var(--red), var(--red-900)); display: grid; place-items: center; }
.m-post__img img { width: 38%; }
.m-post__cta { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px; background: var(--paper); font-size: .82rem; line-height: 1.25; }
.m-post__cta small { color: var(--muted); font-size: .66rem; }
.m-post__cta span { padding: 8px 12px; border-radius: 8px; background: var(--paper-2); font-weight: 600; white-space: nowrap; }

.c-q { align-self: flex-end; max-width: 80%; padding: 12px 16px; border-radius: 18px 18px 4px 18px; background: var(--ink); color: #fff; font-size: .95rem; }
.c-a { align-self: flex-start; max-width: 90%; display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; border-radius: 18px 18px 18px 4px; background: var(--white); box-shadow: var(--shadow-1); font-size: .92rem; }
.c-spon { display: flex; flex-direction: column; gap: 2px; padding: 12px; border-radius: 12px; border: 1px dashed var(--red); background: rgba(200,55,47,.05); }
.c-spon small { font: 500 .62rem var(--mono); text-transform: uppercase; color: var(--red); letter-spacing: .08em; }
.c-spon span { font-size: .85rem; color: var(--muted); }

.mock--web { padding: 0; justify-content: flex-start; gap: 0; }
.w-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: var(--white); border-bottom: 1px solid var(--line); }
.w-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--paper-2); }
.w-bar p { margin-left: 12px; padding: 4px 12px; border-radius: var(--pill); background: var(--paper); font-size: .75rem; color: var(--muted); }
.w-body { padding: var(--s-5); display: flex; flex-direction: column; gap: 10px; }
.w-l { height: 14px; border-radius: 7px; background: var(--ink); }
.w-l--1 { width: 80%; height: 22px; } .w-l--2 { width: 60%; height: 22px; background: var(--red); } .w-l--3 { width: 70%; background: var(--paper-2); }
.w-btn { align-self: flex-start; margin: 8px 0; padding: 10px 18px; border-radius: var(--pill); background: var(--red); color: #fff; font-size: .85rem; font-weight: 600; }
.w-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.w-cards span { height: 64px; border-radius: 10px; background: var(--white); border: 1px solid var(--line); }
.w-badge { position: absolute; right: 16px; bottom: 16px; padding: 8px 12px; border-radius: var(--pill); background: var(--ink); color: #fff; font-size: .62rem; }

/* Mock animation parts */
.caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 1px; background: var(--ink); vertical-align: -3px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.g-search { transform-origin: center; }

.mock--meta { padding: var(--s-4); }
.m-phone {
  position: relative; width: min(100%, 290px); height: 330px; margin: 0 auto; overflow: clip;
  border-radius: 24px; border: 1px solid var(--line); background: var(--paper-2);
  box-shadow: 0 1px 2px rgba(17,17,17,.04), 0 18px 40px -18px rgba(17,17,17,.25);
}
.m-feed { display: flex; flex-direction: column; gap: 10px; padding: 10px; will-change: transform; }
.m-feed .m-post { width: 100%; box-shadow: var(--shadow-1); }
.m-feed .m-post__img { aspect-ratio: 1 / .6; } /* keeps the whole post (incl. button) inside the phone screen */
.m-ghost { display: flex; flex-direction: column; gap: 8px; padding: 10px; border-radius: var(--r-sm); background: var(--white); }
.m-ghost__head { height: 12px; width: 50%; border-radius: 6px; background: var(--paper-2); }
.m-ghost__img { height: 120px; border-radius: 8px; background: var(--paper-2); }
.m-btn { transform-origin: center; }
.m-toast {
  position: absolute; left: 50%; top: 10px; transform: translate(-50%, -140%);
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: var(--pill);
  background: var(--wa); color: #fff; font-size: .75rem; font-weight: 700; white-space: nowrap; box-shadow: var(--shadow-2);
}
.m-toast svg { width: 14px; height: 14px; }

.c-typing { align-self: flex-start; display: none; gap: 5px; padding: 14px 16px; border-radius: 18px 18px 18px 4px; background: var(--white); box-shadow: var(--shadow-1); }
.c-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: dot 1s ease-in-out infinite; }
.c-typing span:nth-child(2) { animation-delay: .15s; } .c-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 100% { transform: translateY(0); opacity: .4; } 50% { transform: translateY(-4px); opacity: 1; } }

.mock--web { height: 340px; min-height: 0; }
.w-body { will-change: transform; }
.w-l--4 { width: 50%; background: var(--paper-2); }
.w-btn { transform-origin: center; }
.w-cursor { position: absolute; left: 0; top: 0; width: 26px; height: 26px; transform: translate(260px, 260px); pointer-events: none; filter: drop-shadow(0 2px 4px rgba(0,0,0,.25)); }
.w-done {
  position: absolute; left: 50%; top: 58px; transform: translate(-50%, -12px); opacity: 0;
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: var(--pill);
  background: #22A45D; color: #fff; font-size: .8rem; font-weight: 700; box-shadow: var(--shadow-2); white-space: nowrap;
}
.w-done svg { width: 14px; height: 14px; }

/* ---------- CASE STUDIES ---------- */
.cases__pin { padding: var(--s-9) 0; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.cases.is-hscroll .cases__pin { min-height: 100svh; padding: calc(var(--nav-h) + 8px) 0 var(--s-6); }
.cases__head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s-6); margin-bottom: var(--s-7); }
.cases__head h2 { max-width: 15ch; }
.cases__hint { display: none; align-items: center; gap: 8px; color: var(--muted); padding: 10px 16px; border: 1px solid var(--line); border-radius: var(--pill); }
.cases.is-hscroll .cases__hint { display: inline-flex; }
.cases__viewport { padding: 0 max(20px, calc((100vw - var(--container)) / 2 + 40px)); }
.cases__track { display: flex; flex-wrap: wrap; gap: var(--s-4); }
.cases.is-hscroll .cases__viewport { padding-right: 0; }
.cases.is-hscroll .cases__track { flex-wrap: nowrap; width: max-content; will-change: transform; padding-right: 40px; }
.case {
  flex: 1 1 300px; min-height: 440px;
  display: flex; flex-direction: column; gap: var(--s-4); padding: var(--s-6);
  border-radius: var(--r-lg); background: var(--white); color: var(--ink); border: 1px solid var(--line);
  transition: transform var(--t) var(--ease-out);
}
.cases.is-hscroll .case { flex: 0 0 auto; width: clamp(360px, 36vw, 520px); }
.case:hover { transform: translateY(-6px); }
.case h3 { font-size: 1.3rem; color: inherit; }
.case__top { display: flex; justify-content: space-between; align-items: center; }
.case__top svg { width: 30px; height: 30px; stroke-width: 1.5; }
.case__industry { font: 750 clamp(2.2rem, 1.6rem + 1.6vw, 3.2rem)/.95 var(--display); letter-spacing: -0.045em; margin-top: auto; }
.case__metrics { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); margin: var(--s-2) 0 0; }
.case__metrics div { padding: 14px; border-radius: var(--r-sm); background: color-mix(in srgb, currentColor 8%, transparent); }
.case__metrics dt { font: 500 .68rem/1.2 var(--mono); text-transform: uppercase; letter-spacing: .06em; opacity: .8; }
.case__metrics dd { margin: 6px 0 0; font: 750 1.9rem/1 var(--display); letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.case__note { font-size: .62rem; opacity: .75; }
.case--red { background: var(--red); color: #fff; border-color: transparent; }
.case--ink { background: var(--ink); color: #fff; border-color: transparent; }
.case--peach { background: var(--peach); color: var(--ink); border-color: transparent; }
.case--cta { background: linear-gradient(160deg, var(--red-900), var(--ink)); color: #fff; justify-content: flex-end; border-color: transparent; }
.case--cta h3 { font-size: 1.6rem; margin-bottom: var(--s-4); }
.case--cta .btn { align-self: flex-start; }

/* Real client projects: site preview + results, tinted in each client's own brand colours.
   --bl-ink = text, --bl-green = accent (buttons/tags), --bl-soft = secondary text, --bl-line = borders */
.case--feature {
  --bl-ink: #22352C; --bl-green: #2F4A3E; --bl-soft: #5E6F66; --bl-line: #DCE3DD; --bl-bg: #F5F3EE;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--s-6); align-items: stretch;
  padding: var(--s-5); background: var(--bl-bg); color: var(--bl-ink); border-color: var(--bl-line);
}
/* Bliss Home Massage: deep green & cream */
.case--bliss { --bl-ink: #22352C; --bl-green: #2F4A3E; --bl-soft: #5E6F66; --bl-line: #DCE3DD; --bl-bg: #F5F3EE; }
/* Adik Sor (Perodua): red & charcoal */
.case--adiksor { --bl-ink: #1C1C1E; --bl-green: #C8102E; --bl-soft: #5F5A5A; --bl-line: #EBDCDC; --bl-bg: #FBF5F4; }
/* Smart Cable (Meta Ads): cable blue & yellow; shows the phone ad instead of a website */
.case--smartcable { --bl-ink: #14223A; --bl-green: #1E5BB8; --bl-soft: #5A6478; --bl-line: #DCE3EF; --bl-bg: #F3F6FB; }
.cases.is-hscroll .case--smartcable { width: clamp(680px, 54vw, 860px); }
.case--smartcable { grid-template-columns: minmax(0, .62fr) minmax(0, 1fr); }
.case__shot--phone {
  background: #fff; border: 1px solid var(--bl-line); border-radius: 24px; max-height: 440px;
  justify-self: center; width: min(100%, 250px);
}
.case__shot--phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.case--adiksor .case__shot { background: #111; }
.case--adiksor .case__shot-img { aspect-ratio: 1440 / 900; }
.case--adiksor .case__shot-img img { margin-top: 0; }
.cases.is-hscroll .case--feature { width: clamp(760px, 64vw, 980px); }
.case__shot {
  display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; background: var(--bl-green);
  box-shadow: 0 24px 48px -24px rgba(34,53,44,.55); text-decoration: none; align-self: center;
  transition: transform var(--t) var(--ease-out);
}
.case__shot:hover { transform: translateY(-4px) rotate(-.6deg); }
.case__shot-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #fff; border-bottom: 1px solid var(--bl-line); }
.case__shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: #E3E1DB; }
.case__shot-bar span { margin-left: 8px; padding: 3px 10px; border-radius: var(--pill); background: #F2F1EC; font-size: .72rem; color: var(--bl-soft); }
.case__shot-img { display: block; overflow: hidden; aspect-ratio: 1917 / 1096; }
.case__shot-img img { width: 100%; margin-top: -2.65%; } /* hides the browser bar in the screenshot */
.case__content { display: flex; flex-direction: column; gap: var(--s-3); }
.case--feature h3 { font-size: 1.45rem; line-height: 1.15; letter-spacing: -0.02em; color: var(--bl-ink); }
.case__badge { padding: 6px 12px; border-radius: var(--pill); background: var(--red); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
/* Ad platform used for the campaign */
.case__badge--platform {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 8px;
  background: #fff; color: var(--ink); border: 1px solid var(--bl-line, var(--line)); box-shadow: var(--shadow-1);
  font-size: .78rem; letter-spacing: 0; text-transform: none;
}
.case__badge--platform svg { width: 16px; height: 16px; }
.case__where { display: inline-flex; align-items: center; gap: 4px; font-size: .82rem; font-weight: 600; color: var(--bl-soft); }
.case__where svg { width: 15px; height: 15px; }
.case__client { margin-top: var(--s-2); font-size: .9rem; font-weight: 700; color: var(--bl-green); }
.case__scope { display: flex; flex-wrap: wrap; gap: 6px; }
.case__scope li { padding: 5px 10px; border-radius: var(--pill); background: color-mix(in srgb, var(--bl-green) 10%, transparent); color: var(--bl-green); font-size: .74rem; font-weight: 600; }
.case__metrics--4 { grid-template-columns: 1fr 1fr; }
.case--feature .case__metrics div { background: #fff; border: 1px solid var(--bl-line); padding: 12px 14px; }
.case--feature .case__metrics dd { font-size: 1.65rem; color: var(--bl-ink); }
.case--feature .case__metrics div:first-child dd { color: var(--red); }
.case__foot { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); flex-wrap: wrap; margin-top: auto; }
.case--feature .case__note { font-size: .78rem; opacity: 1; color: var(--bl-soft); }
.case__link { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border-radius: var(--pill); background: var(--bl-green); color: #fff; font-size: .85rem; font-weight: 700; text-decoration: none; }
.case__link svg { width: 15px; height: 15px; }
.case__link:hover { background: var(--red); }
/* ---- Swipe carousel: used everywhere the pinned sideways scroll isn't (phones, tablets, short laptops) ---- */
.cases:not(.is-hscroll) .cases__viewport {
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  scroll-padding-inline: max(20px, calc((100vw - var(--container)) / 2 + 40px));
  scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-block: 4px 8px;
}
.cases:not(.is-hscroll) .cases__viewport::-webkit-scrollbar { display: none; }
.cases:not(.is-hscroll) .cases__track { flex-wrap: nowrap; width: max-content; }
.cases:not(.is-hscroll) .case { flex: 0 0 auto; width: min(86vw, 860px); min-height: 0; scroll-snap-align: start; }
.cases:not(.is-hscroll) .case:hover { transform: none; }
.cases:not(.is-hscroll) .case--cta { width: min(72vw, 360px); }
.cases__nav { display: flex; align-items: center; justify-content: flex-end; gap: var(--s-3); margin-top: var(--s-5); padding: 0 max(20px, calc((100vw - var(--container)) / 2 + 40px)); }
.cases.is-hscroll .cases__nav { display: none; }
.cases__count { min-width: 3.5em; text-align: center; font-weight: 700; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.cases__btn {
  width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; cursor: pointer;
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-1); color: var(--ink);
  transition: background var(--t-fast), color var(--t-fast), opacity var(--t-fast);
}
.cases__btn:hover { background: var(--ink); color: #fff; }
.cases__btn:disabled { opacity: .35; cursor: default; background: var(--white); color: var(--ink); }
.cases__btn svg { width: 20px; height: 20px; }

@media (max-width: 1000px) {
  .cases__head { flex-direction: column; align-items: flex-start; }
}

/* Phones: one compact card per screen */
@media (max-width: 700px) {
  .cases__pin { padding: var(--s-8) 0; }
  .cases__head { margin-bottom: var(--s-5); }
  .case--feature { grid-template-columns: 1fr; gap: var(--s-4); padding: var(--s-4); }
  .case__content { gap: 10px; }
  .case--feature h3 { font-size: 1.15rem; }
  .case__client { margin-top: 0; font-size: .82rem; }
  .case__scope { display: none; }
  .case__shot-bar { padding: 7px 10px; }
  .case__shot-bar span { font-size: .66rem; }
  .case__shot--phone { width: 100%; max-height: 190px; border-radius: 16px; }
  .case--feature .case__metrics { gap: 8px; margin: 0; }
  .case--feature .case__metrics div { padding: 10px 12px; }
  .case--feature .case__metrics dt { font-size: .62rem; }
  .case--feature .case__metrics dd { font-size: 1.3rem; margin-top: 4px; }
  .case__link { min-height: 44px; }
  .cases__nav { justify-content: center; }
}

/* ---------- PACKAGES ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); align-items: stretch; }
.plan {
  display: flex; flex-direction: column; gap: var(--s-4); padding: var(--s-6);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-1);
  transition: transform var(--t) var(--ease-out), box-shadow var(--t) var(--ease-out);
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.plan h3 { font-size: 1.45rem; letter-spacing: -0.025em; }
.plan { position: relative; }
.plan__badge {
  align-self: flex-start; background: var(--red); color: #fff; padding: 7px 14px; border-radius: var(--pill);
  font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.plan__desc { color: var(--muted); }
.plan__icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: rgba(200,55,47,.08); color: var(--red); }
.plan__icon svg { width: 22px; height: 22px; }
.plan__icon--logo { background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.plan__icon--logo svg { width: 26px; height: 26px; }
.plan.plan--featured .plan__icon--logo { background: var(--white); border-color: transparent; }
.plan__logos { display: flex; }
.plan__logos .plan__icon + .plan__icon { margin-left: -10px; }
@media (min-width: 1001px) { .plan__desc { min-height: 4.8em; } } /* keeps the price boxes lined up across cards */
.plan__pricing { display: flex; flex-direction: column; gap: 4px; padding: var(--s-4); margin: var(--s-2) 0; border-radius: var(--r-sm); background: var(--paper); border: 1px solid var(--line); }
.plan__label { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.plan__price {
  font: 750 clamp(2.6rem, 2rem + 1.4vw, 3.4rem)/1 var(--display); letter-spacing: -0.045em; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.plan__incl { font-size: .86rem; color: var(--muted); }
.plan__then { display: block; line-height: 1.7; margin-top: var(--s-2); padding-top: var(--s-3); border-top: 1px dashed var(--line); font-size: .95rem; color: var(--ink-2); }
.plan__then strong { font-size: 1.1rem; color: var(--ink); }
.plan__save { display: inline-block; margin-left: 4px; vertical-align: 1px; line-height: 1.4; padding: 3px 9px; border-radius: var(--pill); background: #22A45D; color: #fff; font-size: .72rem; font-weight: 700; }
.plan__price .cur { font: 500 .9rem var(--mono); letter-spacing: 0; vertical-align: top; margin-right: 6px; }
.plan__price .per { font: 500 .8rem var(--mono); letter-spacing: 0; color: var(--muted); margin-left: 6px; }
.ticks { display: flex; flex-direction: column; gap: 10px; margin-bottom: var(--s-5); }
.ticks li { position: relative; padding-left: 28px; font-size: .97rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(200,55,47,.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C8372F' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.plan .btn { margin-top: auto; }
.plan--featured { background: var(--ink); color: var(--on-ink-muted); border-color: var(--ink); transform: translateY(-16px); box-shadow: 0 40px 70px -30px rgba(17,17,17,.6); }
.plan--featured:hover { transform: translateY(-22px); }
.plan--featured h3, .plan--featured .plan__price, .plan--featured .ticks li { color: #fff; }
.plan--featured .plan__desc, .plan--featured .plan__price .per { color: var(--on-ink-muted); }
.plan--featured .plan__pricing { background: rgba(255,255,255,.06); border-color: var(--line-light); }
.plan--featured .plan__label, .plan--featured .plan__incl, .plan--featured .plan__then { color: var(--on-ink-muted); }
.plan--featured .plan__then { border-top-color: var(--line-light); }
.plan--featured .plan__then strong { color: #fff; }
.plan--featured .plan__icon { background: rgba(255,255,255,.1); color: #fff; }
.plan--featured .plan__badge { position: absolute; top: var(--s-6); right: var(--s-6); }
.plan--featured .ticks li::before { background-color: rgba(255,255,255,.12); }
.plans__note { margin-top: var(--s-7); color: var(--muted); display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; text-align: center; }
.plans__note svg { width: 18px; height: 18px; color: var(--red); }
@media (max-width: 1000px) {
  .plans { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .plan--featured { transform: none; order: -1; }
  .plan--featured:hover { transform: translateY(-6px); }
}

/* ---------- INDUSTRIES (card marquee) ---------- */
#industries .head { margin-bottom: var(--s-7); }
.imarquee {
  display: flex; flex-direction: column; gap: var(--s-4);
  padding: var(--s-5) 0; border-block: 1px solid var(--line); background: rgba(255,255,255,.45);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.imarquee__row { overflow: hidden; }
.imarquee__track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.imarquee__row--rev .imarquee__track { animation-direction: reverse; animation-duration: 52s; }
.imarquee:hover .imarquee__track { animation-play-state: paused; }
.imarquee__group { display: flex; gap: var(--s-4); padding-right: var(--s-4); }
.icard {
  position: relative; isolation: isolate; overflow: hidden; flex: 0 0 auto;
  width: 430px; display: grid; grid-template-columns: 108px 1fr; align-items: center; gap: var(--s-5);
  padding: 12px 24px 12px 12px; border-radius: var(--r);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-1);
  transition: transform var(--t) var(--ease-out), box-shadow var(--t);
}
.icard::before {
  content: ""; position: absolute; z-index: -1; right: -40px; top: -60px; width: 220px; height: 200px; border-radius: 50%;
  background: var(--t); filter: blur(30px); opacity: .9;
}
.icard:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.icard__thumb {
  width: 108px; height: 108px; border-radius: 16px; display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(145deg, var(--t), color-mix(in srgb, var(--k) 28%, var(--t)));
  color: var(--k);
}
.icard__thumb img { width: 100%; height: 100%; object-fit: cover; }
.icard__thumb svg { width: 44px; height: 44px; stroke-width: 1.5; }
.icard__body { display: flex; flex-direction: column; gap: 6px; }
.icard__cat { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--k); }
.icard__goal { font-size: 1.2rem; font-weight: 700; line-height: 1.25; letter-spacing: -0.015em; color: var(--ink); }
@media (max-width: 600px) {
  .icard { width: 300px; grid-template-columns: 76px 1fr; gap: var(--s-4); padding-right: 16px; }
  .icard__thumb { width: 76px; height: 76px; border-radius: 14px; }
  .icard__thumb svg { width: 32px; height: 32px; }
  .icard__goal { font-size: 1.02rem; }
}

/* ---------- PROCESS ---------- */
.steps-wrap { position: relative; }
.steps__rail { position: absolute; left: 0; right: 0; top: 25px; height: 2px; background: var(--line); }
.steps__fill { display: block; height: 100%; background: var(--red); transform-origin: left; transform: scaleX(var(--p, 1)); }
.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s-4); }
.step { display: flex; flex-direction: column; gap: var(--s-3); }
.step__num {
  width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: var(--s-4);
  font: 700 1.1rem/1 var(--display); background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: 50%; box-shadow: var(--shadow-1);
  transition: background var(--t), color var(--t), border-color var(--t), transform var(--t) var(--ease-out);
}
.step.is-on .step__num { background: var(--red); border-color: var(--red); color: #fff; transform: scale(1.08); box-shadow: var(--shadow-red); }
.step h3 { font-size: 1.4rem; letter-spacing: -0.025em; }
.step p { color: var(--muted); font-size: .97rem; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: var(--s-6); padding-left: 76px; }
  .steps__rail { left: 25px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .steps__fill { transform-origin: top; transform: scaleY(var(--p, 1)); }
  .step { position: relative; }
  .step__num { position: absolute; left: -76px; top: -8px; }
}

/* ---------- REVIEWS ---------- */
.reviews-sec { overflow: hidden; }
.rating {
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-5); flex-wrap: wrap;
  max-width: 720px; padding: var(--s-6); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-2);
  margin-bottom: var(--s-7);
}
.rating__score { display: flex; align-items: center; gap: var(--s-4); }
.rating__g { width: 44px; height: 44px; }
.rating__big { font: 750 3.2rem/1 var(--display); letter-spacing: -0.04em; color: var(--ink); }
.rating__big small { font: 500 1rem var(--body); color: var(--muted); letter-spacing: 0; }
.rating__sub { color: var(--muted); font-size: .66rem; margin-top: 6px; }
.rating__stars { color: #F4B400; letter-spacing: 2px; font-size: 1.05rem; line-height: 1; margin-top: 6px; }
.rmarquee {
  display: flex; flex-direction: column; gap: var(--s-4); padding: var(--s-3) 0 var(--s-5);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.rmarquee__row { overflow: hidden; padding: 4px 0 8px; }
.rmarquee__track { --dur: 60s; }
.rmarquee__row--rev .rmarquee__track { animation-direction: reverse; --dur: 66s; }
.rmarquee__group { display: flex; align-items: stretch; gap: var(--s-4); padding-right: var(--s-4); }
.review {
  flex: 0 0 auto; width: 380px; display: flex; flex-direction: column; gap: var(--s-4);
  padding: var(--s-5); background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-1);
}
.review__top { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); }
.stars { color: #F4B400; letter-spacing: 2px; font-size: 1.05rem; line-height: 1; }
.stars i { font-style: normal; color: #DDD6CD; }
.review__tag { padding: 5px 10px; border-radius: var(--pill); background: #E8F0FE; color: #1A56C9; font-size: .72rem; font-weight: 700; white-space: nowrap; }
.review__tag--meta { background: #E7F1FF; color: #0064E1; }
.review blockquote { margin: 0; color: var(--ink-2); font-size: 1rem; line-height: 1.55; }
.review blockquote[lang="zh"] { font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", var(--body); }
.review__who { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; margin-top: auto; padding-top: var(--s-4); border-top: 1px solid var(--line); font-weight: 700; color: var(--ink); line-height: 1.25; }
.review__who small { grid-column: 2; font-weight: 400; color: var(--muted); font-size: .88rem; }
.avatar { grid-row: span 2; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--a, var(--paper-2)); color: #fff; font-weight: 700; }
.review--rating-only .review__who { border-top: 0; padding-top: 0; }
@media (max-width: 520px) { .review { width: 300px; } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: var(--s-8); align-items: start; }
.faq__intro { position: sticky; top: calc(var(--nav-h) + 32px); display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-4); }
.faq__list { display: flex; flex-direction: column; gap: var(--s-2); }
.faq__list details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); transition: border-color var(--t), box-shadow var(--t); }
.faq__list details[open] { border-color: var(--ink); box-shadow: var(--shadow-1); }
.faq__list summary {
  display: grid; grid-template-columns: 40px 1fr 28px; gap: var(--s-3); align-items: center;
  padding: 20px var(--s-5); cursor: pointer; list-style: none;
  font: 700 1.08rem/1.3 var(--display); letter-spacing: -0.01em; color: var(--ink);
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary .mono { color: var(--red); }
.faq__x { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--paper-2); transition: background var(--t); }
.faq__x::before, .faq__x::after { content: ""; position: absolute; left: 8px; right: 8px; top: 13px; height: 2px; border-radius: 2px; background: currentColor; transition: transform var(--t) var(--ease-out); }
.faq__x::after { transform: rotate(90deg); }
details[open] .faq__x { background: var(--red); color: #fff; }
details[open] .faq__x::after { transform: rotate(0); }
.faq__list details p { padding: 0 var(--s-5) 22px calc(var(--s-5) + 52px); color: var(--muted); max-width: 64ch; }
.faq__list details::details-content { height: 0; overflow: clip; transition: height var(--t) var(--ease-out), content-visibility var(--t) allow-discrete; }
.faq__list details[open]::details-content { height: auto; }
@media (max-width: 900px) {
  .faq { grid-template-columns: 1fr; gap: var(--s-6); }
  .faq__intro { position: static; }
  .faq__list details p { padding-left: var(--s-5); }
}

/* ---------- FINAL CTA ---------- */
.cta { padding: var(--s-3) 0; }
.cta__inner { position: relative; max-width: var(--container); margin: 0 auto; padding: var(--s-10) 40px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta__title { color: #fff; font-size: clamp(2.4rem, 1rem + 4.6vw, 5.6rem); line-height: .98; letter-spacing: -0.045em; max-width: 16ch; }
.cta__sub { max-width: 50ch; margin-top: var(--s-5); font-size: 1.12rem; color: rgba(255,255,255,.92); }
.cta__actions { display: flex; flex-direction: column; align-items: center; gap: var(--s-3); margin-top: var(--s-6); }
.cta__hours { color: rgba(255,255,255,.88); }
@media (max-width: 600px) { .cta__inner { padding: var(--s-9) 20px; } .cta__actions, .cta__actions .btn { width: 100%; } }

/* ---------- FOOTER ---------- */
.footer { background: var(--ink); color: var(--on-ink-muted); padding-top: var(--s-9); margin-top: var(--s-3); overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: var(--s-7); }
.footer__brand img { width: 200px; margin-bottom: var(--s-5); }
.footer__brand p { max-width: 36ch; }
.footer__title { color: #fff; margin: 0 0 var(--s-4); font-family: var(--mono); font-size: .74rem; font-weight: 500; }
.footer__links { display: flex; flex-direction: column; gap: 2px; }
.footer__links a, .footer__links span { display: inline-flex; align-items: center; min-height: 36px; text-decoration: none; }
.footer__links a { background: linear-gradient(var(--red-soft), var(--red-soft)) 0 calc(100% - 6px) / 0 1.5px no-repeat; transition: background-size var(--t) var(--ease-out), color var(--t-fast); }
.footer__links a:hover { color: #fff; background-size: 100% 1.5px; }
.footer__giant {
  margin: var(--s-8) 0 0; padding: 0 4px; white-space: nowrap; text-align: center;
  font: 800 13vw/.8 var(--display); letter-spacing: -0.06em;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.2);
  transform: translateY(.08em);
}
.footer__bottom { position: relative; display: flex; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; padding-block: var(--s-5); border-top: 1px solid var(--line-light); background: var(--ink); font-size: .68rem; }
.footer__top { text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.footer__top:hover { color: #fff; }
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }

.footer__legal { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer__legal a { display: inline-flex; align-items: center; min-height: 32px; text-decoration: none; }
.footer__legal a:hover, .footer__legal a[aria-current="page"] { color: #fff; }
@media (max-width: 700px) {
  .footer__bottom { flex-direction: column; gap: var(--s-3); padding-bottom: var(--s-6); }
}

/* ---------- Legal pages ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: var(--s-8) 20px var(--s-9); }
.legal__meta { font-size: .85rem; color: var(--muted); margin-bottom: var(--s-3); }
.legal h1 { font-size: clamp(2.4rem, 1.6rem + 3vw, 3.6rem); font-weight: 750; letter-spacing: -0.04em; line-height: 1; margin-bottom: var(--s-5); }
.legal__lead { font-size: 1.15rem; color: var(--ink-2); margin-bottom: var(--s-6); }
.legal__toc {
  display: flex; flex-wrap: wrap; gap: 8px; padding: var(--s-4); margin-bottom: var(--s-7);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
}
.legal__toc a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: var(--pill); background: var(--paper); font-size: .9rem; font-weight: 600; text-decoration: none; color: var(--ink); }
.legal__toc a:hover { background: var(--ink); color: #fff; }
.legal section { padding: var(--s-5) 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--nav-h) + 16px); }
.legal h2 { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: var(--s-3); }
.legal p + p, .legal ul + p, .legal p + ul { margin-top: var(--s-3); }
.legal ul { list-style: disc; padding-left: 1.3em; display: flex; flex-direction: column; gap: 6px; }
.legal a { color: var(--red-700); }
.footer--legal { padding-top: 0; margin-top: 0; }

/* ---------- Floating WhatsApp ---------- */
.wa-fab {
  position: fixed; z-index: var(--z-float);
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, calc(env(safe-area-inset-bottom) + 12px));
  display: inline-flex; align-items: center; gap: 10px;
  height: 60px; padding: 0 22px 0 16px; border-radius: var(--pill);
  background: var(--wa); color: #fff; text-decoration: none; font-weight: 600; font-size: 1rem;
  box-shadow: 0 14px 30px -10px rgba(19,138,62,.65), inset 0 1px 0 rgba(255,255,255,.2);
  transition: transform var(--t) var(--ease-out), opacity var(--t), box-shadow var(--t);
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.wa-fab svg { width: 28px; height: 28px; flex-shrink: 0; }
.wa-fab:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -10px rgba(19,138,62,.75); }
.wa-fab:active { transform: scale(.94); }
.wa-fab::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--wa);
  animation: wa-pulse 2.6s var(--ease-out) infinite; pointer-events: none;
}
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(1.3); opacity: 0; } }
.wa-fab.is-tucked { transform: translateY(140%); opacity: 0; pointer-events: none; }
@media (max-width: 700px) {
  /* Icon-only circle on phones: big thumb target, out of the reading line */
  .wa-fab { width: 60px; padding: 0; justify-content: center; }
  .wa-fab__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------- TOAST ---------- */
.toast {
  position: fixed; left: 50%; bottom: 100px; z-index: var(--z-toast); transform: translate(-50%, 20px);
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: var(--pill);
  font-weight: 600; font-size: .92rem; opacity: 0; pointer-events: none; max-width: calc(100% - 32px); text-align: center;
  transition: opacity var(--t) var(--ease-out), transform var(--t) var(--ease-out);
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .marquee__track, .rmarquee__track, .imarquee__track { flex-wrap: wrap; width: auto; }
  .marquee__group[aria-hidden="true"], .rmarquee__group[aria-hidden="true"], .imarquee__group[aria-hidden="true"] { display: none; }
  .marquee__group, .rmarquee__group, .imarquee__group { flex-wrap: wrap; justify-content: center; }
  .marquee, .rmarquee, .imarquee { mask-image: none; -webkit-mask-image: none; }
  .wa-fab::before { display: none; }
}
