/* ==========================================================================
   China Shopping — chinashopping.co
   Global stylesheet · design tokens, components, responsive rules
   Author: China Shopping · v1.0
   Structure: 01 tokens · 02 reset · 03 layout · 04 header · 05 buttons
              06 hero · 07 sections/cards · 08 process · 09 proof
              10 accordion · 11 pricing · 12 forms · 13 cta · 14 footer
              15 motion · 16 responsive
   ========================================================================== */

/* 01 · Design tokens ------------------------------------------------------ */
:root {
  /* Brand */
  --navy-900: #071a2f;
  --navy-800: #0a2540;
  --navy-700: #103553;
  --blue-700: #0e48a6;
  --blue-600: #1257c7;
  --blue-500: #1c6be0;
  --blue-200: #cfe0fb;
  --blue-100: #e8f0fe;
  --blue-50: #f4f8ff;

  --orange-600: #d94c08;
  --orange-500: #ea580c;
  --orange-50: #fff4ed;

  /* Neutrals */
  --ink-900: #0b1b2b;
  --ink-700: #243b53;
  --ink-500: #52667a;
  --ink-400: #7c8b9b;
  --line: #e3e9f0;
  --line-strong: #d2dbe6;
  --surface: #f6f8fb;
  --surface-2: #eef2f7;
  --white: #fff;

  /* Type */
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1rem;
  --fs-lg: 1.0625rem;
  --fs-xl: clamp(1.125rem, 0.4vw + 1.05rem, 1.25rem);
  --fs-h3: clamp(1.125rem, 0.5vw + 1rem, 1.3rem);
  --fs-h2: clamp(1.75rem, 1.6vw + 1.2rem, 2.5rem);
  --fs-h1: clamp(2.15rem, 3.2vw + 1rem, 3.75rem);

  /* Shape & depth */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --shadow-sm: 0 1px 2px rgba(11, 27, 43, 0.06);
  --shadow-md: 0 8px 24px -12px rgba(11, 27, 43, 0.18);
  --shadow-lg: 0 26px 60px -28px rgba(7, 26, 47, 0.35);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 76px;
}

/* 02 · Reset -------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--ink-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg,
video {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

a {
  color: var(--blue-600);
  text-decoration: none;
}

a:hover {
  color: var(--blue-700);
}

ul {
  padding: 0;
  list-style: none;
}

strong {
  font-weight: 650;
  color: var(--ink-900);
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid rgba(28, 107, 224, 0.5);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection {
  background: var(--blue-100);
  color: var(--navy-900);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 999;
  background: var(--navy-800);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
  color: #fff;
}

/* 03 · Layout helpers ----------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: 820px;
}

.section {
  padding-block: clamp(56px, 7vw, 104px);
}

.section--tight {
  padding-block: clamp(44px, 5vw, 72px);
}

.section--surface {
  background: var(--surface);
}

.section--line {
  border-top: 1px solid var(--line);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(32px, 4vw, 56px);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head p {
  margin-top: 14px;
  color: var(--ink-500);
  font-size: var(--fs-lg);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-xs);
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--orange-500);
  display: block;
}

.section-head--center .eyebrow::before {
  display: none;
}

h2.h-section {
  font-size: var(--fs-h2);
}

.grid {
  display: grid;
  gap: clamp(18px, 2.2vw, 28px);
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.lead {
  font-size: var(--fs-lg);
  color: var(--ink-500);
  max-width: 62ch;
}

.muted {
  color: var(--ink-500);
}

.small {
  font-size: var(--fs-sm);
}

/* 04 · Header ------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(11, 27, 43, 0.4);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--navy-900);
  font-weight: 750;
  letter-spacing: -0.02em;
  font-size: 1.06rem;
  white-space: nowrap;
}

.brand:hover {
  color: var(--navy-900);
}

.brand__mark {
  width: 34px;
  height: 34px;
  flex: none;
}

.brand__sub {
  display: block;
  font-size: 0.6875rem;
  font-weight: 550;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-400);
  line-height: 1.4;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav a {
  padding: 9px 13px;
  border-radius: 999px;
  font-size: var(--fs-sm);
  font-weight: 550;
  color: var(--ink-700);
  transition: background 0.18s ease, color 0.18s ease;
}

.nav a:hover {
  background: var(--surface-2);
  color: var(--navy-900);
}

.nav a[aria-current="page"] {
  color: var(--blue-600);
  background: var(--blue-50);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.lang {
  display: inline-flex;
  padding: 3px;
  background: var(--surface-2);
  border-radius: 999px;
  gap: 2px;
}

.lang button {
  border: 0;
  background: none;
  cursor: pointer;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--ink-500);
  line-height: 1.4;
  transition: background 0.18s ease, color 0.18s ease;
}

.lang button[aria-pressed="true"] {
  background: var(--white);
  color: var(--navy-900);
  box-shadow: var(--shadow-sm);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy-900);
  position: relative;
  transition: background 0.2s ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--navy-900);
  transition: transform 0.22s ease, top 0.22s ease;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--white);
  padding: 16px var(--gutter) 24px;
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 12px 4px;
  font-weight: 600;
  color: var(--ink-700);
  border-bottom: 1px solid var(--line);
}

.mobile-menu .btn {
  margin-top: 18px;
  width: 100%;
}

/* 05 · Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  font-size: var(--fs-sm);
  font-weight: 650;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.18s ease,
    box-shadow 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  text-align: center;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--orange-500);
  color: #fff;
  box-shadow: 0 10px 24px -14px rgba(234, 88, 12, 0.85);
}

.btn--primary:hover {
  background: var(--orange-600);
  color: #fff;
}

.btn--dark {
  background: var(--navy-800);
  color: #fff;
}

.btn--dark:hover {
  background: var(--navy-900);
  color: #fff;
}

.btn--outline {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--navy-900);
}

.btn--outline:hover {
  border-color: var(--blue-600);
  color: var(--blue-700);
  background: var(--blue-50);
}

.btn--light {
  background: #fff;
  color: var(--navy-900);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn--light:hover {
  background: var(--blue-50);
  color: var(--navy-900);
}

.btn--ghost-light {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
}

.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.btn--sm {
  padding: 10px 16px;
  font-size: var(--fs-xs);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 650;
  font-size: var(--fs-sm);
  color: var(--blue-600);
}

.text-link svg {
  transition: transform 0.2s ease;
}

.text-link:hover svg {
  transform: translateX(3px);
}

/* 06 · Hero --------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at 88% -10%, rgba(28, 107, 224, 0.32), transparent 62%),
    radial-gradient(700px 420px at 6% 104%, rgba(234, 88, 12, 0.14), transparent 65%),
    linear-gradient(160deg, #071a2f 0%, #0a2540 52%, #0c2f52 100%);
  color: #fff;
  padding-block: clamp(48px, 6vw, 78px) clamp(56px, 7vw, 92px);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 88%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero h1 {
  font-size: var(--fs-h1);
  color: #fff;
  letter-spacing: -0.03em;
}

.hero h1 em {
  font-style: normal;
  color: #ffb27a;
}

.hero__lead {
  margin-top: 20px;
  font-size: var(--fs-xl);
  color: rgba(226, 236, 247, 0.86);
  max-width: 34em;
}

.hero .btn-row {
  margin-top: 30px;
}

.hero__micro {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 26px;
  font-size: var(--fs-sm);
  color: rgba(206, 221, 238, 0.86);
}

.hero__micro li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero__micro svg {
  flex: none;
  color: #7fd3a8;
}

.hero__visual {
  position: relative;
}

.hero__frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.16);
  aspect-ratio: 4 / 3.35;
  background: #0d2b47;
}

.hero__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 40%;
}

.hero__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 26, 47, 0) 45%, rgba(7, 26, 47, 0.55) 100%);
}

.hero__badge {
  position: absolute;
  z-index: 2;
  left: -18px;
  bottom: 22px;
  background: #fff;
  color: var(--navy-900);
  border-radius: var(--r-md);
  padding: 14px 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  gap: 12px;
  align-items: center;
  max-width: 268px;
}

.hero__badge strong {
  display: block;
  font-size: var(--fs-sm);
}

.hero__badge span {
  font-size: 0.75rem;
  color: var(--ink-500);
}

.hero__badge .tick {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e8f7ef;
  color: #128a5a;
}

.hero__badge--top {
  left: auto;
  right: -12px;
  top: 18px;
  bottom: auto;
  padding: 12px 14px;
}

/* 07 · Section patterns --------------------------------------------------- */
.trustbar {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding-block: 30px;
}

.stat {
  padding-inline: 8px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat__num {
  font-size: clamp(1.6rem, 1.5vw + 1.1rem, 2.1rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  color: var(--navy-900);
  line-height: 1.1;
}

.stat__num small {
  font-size: 0.55em;
  font-weight: 650;
  color: var(--blue-600);
}

.stat__label {
  margin-top: 6px;
  font-size: var(--fs-xs);
  color: var(--ink-500);
  letter-spacing: 0.01em;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(22px, 2.4vw, 30px);
  transition: transform 0.2s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  position: relative;
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--blue-200);
  box-shadow: var(--shadow-md);
}

.card h3 {
  font-size: var(--fs-h3);
  margin-bottom: 10px;
}

.card p {
  color: var(--ink-500);
  font-size: var(--fs-sm);
}

.card__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--blue-50);
  color: var(--blue-600);
  margin-bottom: 18px;
  border: 1px solid var(--blue-100);
}

.card--service .card__num {
  position: absolute;
  top: 22px;
  right: 24px;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--line-strong);
  letter-spacing: 0.08em;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
}

.split__media {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  background: var(--surface-2);
}

.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split--reverse .split__media {
  order: 2;
}

.checklist {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: var(--fs-sm);
  color: var(--ink-700);
}

.checklist svg {
  flex: none;
  margin-top: 3px;
  color: var(--blue-600);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.chip {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: var(--fs-sm);
  color: var(--ink-700);
  font-weight: 550;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.chip:hover {
  border-color: var(--blue-200);
  background: var(--blue-50);
  color: var(--blue-700);
}

/* 08 · Process ------------------------------------------------------------ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 26px);
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 34px;
}

.step::before {
  content: "";
  position: absolute;
  top: 13px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line-strong);
}

.step__dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--ink-500);
}

.step:first-child .step__dot {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: #fff;
}

.step h3 {
  font-size: var(--fs-h3);
  margin-bottom: 8px;
}

.step p {
  font-size: var(--fs-sm);
  color: var(--ink-500);
}

.step__meta {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-600);
}

/* 09 · Proof: testimonials, report card, cases ---------------------------- */
.quote {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
}

.quote__stars {
  display: flex;
  gap: 3px;
  color: #f59e0b;
}

.quote p {
  font-size: var(--fs-sm);
  color: var(--ink-700);
  flex: 1;
}

.quote__who {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--blue-100);
  color: var(--blue-700);
  font-weight: 700;
  font-size: var(--fs-sm);
}

.quote__who strong {
  display: block;
  font-size: var(--fs-sm);
}

.quote__who span {
  font-size: 0.75rem;
  color: var(--ink-500);
}

.report {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.report__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--navy-800);
  color: #fff;
}

.report__head strong {
  color: #fff;
  font-size: var(--fs-sm);
  letter-spacing: 0.02em;
}

.report__head span {
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.report__body {
  padding: 20px;
  display: grid;
  gap: 14px;
}

.report__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: var(--fs-sm);
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
}

.report__row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.report__row dt {
  color: var(--ink-500);
}

.report__row dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}

.badge-pass {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e8f7ef;
  color: #0f7a4f;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.75rem;
  font-weight: 650;
}

.badge-warn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--orange-50);
  color: var(--orange-600);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.75rem;
  font-weight: 650;
}

.case {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.case__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-2);
}

.case__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.case:hover .case__media img {
  transform: scale(1.04);
}

.case__body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.case__tag {
  align-self: flex-start;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-600);
  background: var(--blue-50);
  border-radius: 4px;
  padding: 4px 8px;
}

.case h3 {
  font-size: var(--fs-h3);
}

.case p {
  font-size: var(--fs-sm);
  color: var(--ink-500);
}

.case__result {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 20px;
}

.case__result div strong {
  display: block;
  font-size: 1.15rem;
  color: var(--navy-900);
}

.case__result div span {
  font-size: 0.75rem;
  color: var(--ink-500);
}

/* 10 · Accordion ---------------------------------------------------------- */
.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 44px 22px 0;
  position: relative;
  font-weight: 650;
  font-size: var(--fs-lg);
  color: var(--navy-900);
  transition: color 0.18s ease;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary:hover {
  color: var(--blue-600);
}

.faq summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--ink-400);
  border-bottom: 2px solid var(--ink-400);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.22s ease;
}

.faq details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

.faq .faq__a {
  padding: 0 44px 24px 0;
  color: var(--ink-500);
  font-size: var(--fs-sm);
  max-width: 74ch;
}

.faq .faq__a p + p {
  margin-top: 10px;
}

/* 11 · Pricing ------------------------------------------------------------ */
.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.price-card--featured {
  border-color: var(--blue-600);
  box-shadow: 0 24px 50px -34px rgba(18, 87, 199, 0.55);
}

.price-card__flag {
  position: absolute;
  top: -12px;
  left: 26px;
  background: var(--blue-600);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}

.price-card h3 {
  font-size: var(--fs-h3);
}

.price-card__amount {
  font-size: 2.15rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  color: var(--navy-900);
  line-height: 1.1;
}

.price-card__amount span {
  font-size: var(--fs-sm);
  font-weight: 550;
  color: var(--ink-500);
  letter-spacing: 0;
}

.price-card__desc {
  font-size: var(--fs-sm);
  color: var(--ink-500);
  min-height: 44px;
}

.price-card ul {
  display: grid;
  gap: 10px;
  font-size: var(--fs-sm);
  color: var(--ink-700);
}

.price-card ul li {
  display: flex;
  gap: 10px;
}

.price-card ul svg {
  flex: none;
  margin-top: 3px;
  color: var(--blue-600);
}

.price-card .btn {
  margin-top: auto;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
  min-width: 620px;
}

th,
td {
  text-align: left;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-500);
  background: var(--surface);
  font-weight: 650;
  white-space: nowrap;
}

tbody tr:last-child td {
  border-bottom: 0;
}

td strong {
  color: var(--navy-900);
}

td.no {
  color: var(--ink-400);
}

.compare th:first-child,
.compare td:first-child {
  position: sticky;
  left: 0;
  background: #fff;
  z-index: 1;
}

.compare thead th:first-child {
  background: var(--surface);
}

.compare .col-us {
  background: var(--blue-50);
}

.compare thead .col-us {
  background: var(--blue-100);
  color: var(--blue-700);
}

/* 12 · Forms -------------------------------------------------------------- */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(22px, 3vw, 36px);
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-700);
}

.field label .req {
  color: var(--orange-500);
}

.field .hint {
  font-size: 0.75rem;
  color: var(--ink-400);
  font-weight: 450;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: #fff;
  font-family: inherit;
  font-size: var(--fs-sm);
  color: var(--ink-900);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
  appearance: none;
}

select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2352667a' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

textarea {
  min-height: 132px;
  resize: vertical;
  line-height: 1.6;
}

input::placeholder,
textarea::placeholder {
  color: var(--ink-400);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(28, 107, 224, 0.14);
}

input[aria-invalid="true"],
textarea[aria-invalid="true"],
select[aria-invalid="true"] {
  border-color: #d64545;
  background: #fff8f8;
}

.field__error {
  font-size: 0.75rem;
  color: #c43c3c;
  min-height: 0;
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: var(--fs-sm);
  color: var(--ink-500);
}

.check input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--blue-600);
  flex: none;
}

/* Honeypot: hidden from humans, visible to naive bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-note {
  font-size: 0.75rem;
  color: var(--ink-400);
  line-height: 1.6;
}

.form-status {
  margin-top: 16px;
  border-radius: var(--r-sm);
  padding: 14px 16px;
  font-size: var(--fs-sm);
  display: none;
}

.form-status.is-visible {
  display: block;
}

.form-status--ok {
  background: #e8f7ef;
  color: #0f7a4f;
  border: 1px solid #bfe8d2;
}

.form-status--err {
  background: #fff1f1;
  color: #b53030;
  border: 1px solid #f3cfcf;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}

.contact-item__icon {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--blue-50);
  color: var(--blue-600);
}

.contact-item strong {
  display: block;
  font-size: var(--fs-sm);
}

.contact-item span,
.contact-item a {
  font-size: var(--fs-sm);
  color: var(--ink-500);
}

.contact-item a:hover {
  color: var(--blue-600);
}

/* 13 · CTA band ----------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px 340px at 82% 8%, rgba(28, 107, 224, 0.38), transparent 60%),
    linear-gradient(145deg, #071a2f, #0a2540 70%);
  color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(32px, 5vw, 62px);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: center;
}

.cta-band h2 {
  font-size: var(--fs-h2);
  color: #fff;
}

.cta-band p {
  margin-top: 14px;
  color: rgba(214, 227, 241, 0.86);
  max-width: 46ch;
}

.cta-band__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}

.cta-band .btn-row {
  justify-content: flex-end;
}

/* 14 · Footer ------------------------------------------------------------- */
.footer {
  background: var(--navy-900);
  color: rgba(198, 214, 232, 0.78);
  padding-block: clamp(48px, 6vw, 72px) 28px;
  margin-top: 0;
  font-size: var(--fs-sm);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .brand {
  color: #fff;
  margin-bottom: 16px;
}

.footer .brand:hover {
  color: #fff;
}

.footer .brand__sub {
  color: rgba(198, 214, 232, 0.6);
}

.footer p {
  max-width: 34ch;
  line-height: 1.7;
}

.footer h4 {
  color: #fff;
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 650;
}

.footer ul {
  display: grid;
  gap: 10px;
}

.footer a {
  color: rgba(198, 214, 232, 0.78);
  transition: color 0.16s ease;
}

.footer a:hover {
  color: #fff;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: var(--fs-xs);
  color: rgba(198, 214, 232, 0.58);
}

.footer__bottom nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer__social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.footer__social a {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  place-items: center;
  color: rgba(226, 236, 247, 0.85);
}

.footer__social a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 30px -12px rgba(37, 211, 102, 0.75);
  transition: transform 0.2s ease;
}

.wa-float:hover {
  transform: translateY(-2px) scale(1.03);
  color: #fff;
}

/* 15 · Motion ------------------------------------------------------------- */
/* Content is visible by default; JS opts in to the animation so that
   a failed script or a no-JS visitor still sees every section. */
.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s cubic-bezier(0.2, 0.7, 0.3, 1),
    transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Page header (inner pages) */
.page-head {
  background:
    radial-gradient(760px 320px at 84% -20%, rgba(28, 107, 224, 0.24), transparent 62%),
    linear-gradient(160deg, #071a2f, #0a2540 88%);
  color: #fff;
  padding-block: clamp(44px, 5.4vw, 72px) clamp(40px, 5vw, 64px);
}

.page-head h1 {
  font-size: clamp(1.9rem, 2.4vw + 1.1rem, 3rem);
  color: #fff;
}

.page-head p {
  margin-top: 16px;
  color: rgba(214, 227, 241, 0.84);
  font-size: var(--fs-xl);
  max-width: 60ch;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: var(--fs-xs);
  color: rgba(198, 214, 232, 0.62);
  margin-bottom: 18px;
}

.breadcrumb a {
  color: rgba(198, 214, 232, 0.82);
}

.breadcrumb a:hover {
  color: #fff;
}

/* 16 · Responsive --------------------------------------------------------- */
@media (max-width: 1080px) {
  .nav a {
    padding: 9px 10px;
    font-size: 0.875rem;
  }
  .header__inner {
    gap: 16px;
  }
  .hero__inner {
    gap: 32px;
  }
}

@media (max-width: 960px) {
  .nav,
  .header__actions .btn {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .header__inner {
    justify-content: space-between;
  }
  .header__actions {
    margin-left: auto;
  }
  .hero__inner,
  .split,
  .cta-band {
    grid-template-columns: 1fr;
  }
  .hero__inner {
    gap: 40px;
  }
  .hero__visual {
    order: -1;
  }
  .hero__frame {
    aspect-ratio: 16 / 10;
  }
  .hero__badge {
    display: none;
  }
  .hero__badge--top {
    display: flex;
    left: 12px;
    right: auto;
    top: auto;
    bottom: 12px;
  }
  .split--reverse .split__media {
    order: 0;
  }
  .split__media {
    aspect-ratio: 16 / 10;
  }
  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
  .step:nth-child(2)::before {
    display: none;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 32px;
  }
  .cta-band .btn-row {
    justify-content: flex-start;
  }
  .cta-band__actions {
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  :root {
    --header-h: 66px;
  }
  .brand__sub {
    display: none;
  }
  .lang button {
    padding: 5px 9px;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 8px;
    padding-block: 24px;
  }
  .stat {
    border-right: 0;
    text-align: left;
    padding-inline: 0;
  }
  .stat:nth-child(odd) {
    border-right: 1px solid var(--line);
  }
  .grid--2,
  .grid--3,
  .grid--4,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .step::before {
    display: none;
  }
  .step {
    padding-top: 0;
    padding-left: 44px;
  }
  .step__dot {
    top: 2px;
  }
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .cta-band {
    padding: 28px 22px;
  }
  .wa-float {
    width: 50px;
    height: 50px;
    right: 16px;
    bottom: 16px;
  }
  .faq summary {
    font-size: var(--fs-base);
    padding-right: 34px;
  }
  .faq .faq__a {
    padding-right: 20px;
  }
}

@media (max-width: 420px) {
  .btn {
    padding: 12px 18px;
    width: 100%;
  }
  .btn-row {
    gap: 10px;
  }
  .header__actions {
    gap: 8px;
  }
}

/* Print (handy for a downloadable service sheet) */
@media print {
  .header,
  .footer,
  .wa-float,
  .cta-band,
  .nav-toggle {
    display: none !important;
  }
  body {
    color: #000;
  }
  .hero,
  .page-head {
    background: none;
    color: #000;
    padding-block: 0 16px;
  }
  .hero h1,
  .hero__lead,
  .page-head h1,
  .page-head p {
    color: #000;
  }
}

/* ==========================================================================
   17 · Extended components (service rows, timeline, notes, misc)
   ========================================================================== */

.svc-list {
  border-top: 1px solid var(--line);
}

.svc-row {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  padding-block: clamp(30px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
}

.svc-row__num {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--orange-500);
  margin-bottom: 10px;
}

.svc-row h2 {
  font-size: var(--fs-h3);
  margin-bottom: 12px;
}

.svc-row p {
  color: var(--ink-500);
  font-size: var(--fs-sm);
  max-width: 62ch;
}

.svc-row__side {
  background: var(--surface);
  border-radius: var(--r-md);
  padding: 22px 24px;
  border: 1px solid var(--line);
}

.svc-row__side h3 {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-500);
  margin-bottom: 14px;
  font-weight: 650;
}

.svc-row__side .checklist {
  margin-top: 0;
}

/* Vertical process timeline */
.timeline {
  counter-reset: tl;
  display: grid;
  gap: 0;
  border-left: 2px solid var(--line);
  margin-left: 17px;
}

.timeline li {
  position: relative;
  padding: 0 0 30px 34px;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline__num {
  position: absolute;
  left: -19px;
  top: -2px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--blue-200);
  color: var(--blue-700);
  display: grid;
  place-items: center;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.timeline h3 {
  font-size: var(--fs-h3);
  margin-bottom: 8px;
  padding-top: 4px;
}

.timeline p {
  color: var(--ink-500);
  font-size: var(--fs-sm);
  max-width: 68ch;
}

.timeline__out {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.75rem;
  font-weight: 650;
  color: var(--blue-700);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: 999px;
  padding: 4px 12px;
}

/* Note / callout box */
.note-box {
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-left: 3px solid var(--blue-600);
  border-radius: var(--r-md);
  padding: 24px 26px;
}

.note-box .checklist li {
  color: var(--ink-700);
}

.note-box .checklist svg {
  color: #c43c3c;
}

.note-box--warm {
  background: var(--orange-50);
  border-color: #ffd9c2;
  border-left-color: var(--orange-500);
}

/* Small KPI row */
.kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 26px;
}

.kpi {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 16px 18px;
}

.kpi strong {
  display: block;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  line-height: 1.2;
}

.kpi span {
  font-size: 0.75rem;
  color: var(--ink-500);
}

/* Value cards on About */
.value {
  padding: 26px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
}

.value__num {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--blue-600);
  margin-bottom: 12px;
  display: block;
}

.value h3 {
  font-size: var(--fs-h3);
  margin-bottom: 8px;
}

.value p {
  font-size: var(--fs-sm);
  color: var(--ink-500);
}

/* Team / coverage */
.team-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}

.team-card .avatar {
  width: 44px;
  height: 44px;
  font-size: var(--fs-base);
}

.team-card strong {
  display: block;
  font-size: var(--fs-sm);
}

.team-card span {
  font-size: 0.8125rem;
  color: var(--ink-500);
}

/* Steps used inside narrow columns */
.steps--3 {
  grid-template-columns: repeat(3, 1fr);
}

/* Gallery grid for case photos */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.gallery figure {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--surface-2);
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery figure:hover img {
  transform: scale(1.05);
}

.gallery figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 30px 14px 12px;
  background: linear-gradient(transparent, rgba(7, 26, 47, 0.82));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 550;
}

/* Simple legal pages */
.legal {
  max-width: 780px;
}

.legal h2 {
  font-size: var(--fs-h3);
  margin: 34px 0 10px;
}

.legal p,
.legal li {
  color: var(--ink-500);
  font-size: var(--fs-sm);
}

.legal ul {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  padding-left: 18px;
  list-style: disc;
}

@media (max-width: 960px) {
  .svc-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .kpi-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 720px) {
  .timeline li {
    padding-left: 28px;
  }
  .timeline__num {
    width: 32px;
    height: 32px;
    left: -17px;
  }
  .kpi-row {
    grid-template-columns: 1fr;
  }
  .gallery {
    grid-template-columns: 1fr;
  }
  .svc-row__side {
    padding: 18px;
  }
}

/* ==========================================================================
   18 · Chinese typography adjustments (activated by <html lang="zh-CN">)
   ========================================================================== */
html[lang="zh-CN"] body {
  letter-spacing: 0;
  line-height: 1.75;
}

html[lang="zh-CN"] h1,
html[lang="zh-CN"] h2,
html[lang="zh-CN"] h3,
html[lang="zh-CN"] h4 {
  letter-spacing: 0.005em;
  line-height: 1.35;
}

html[lang="zh-CN"] .eyebrow {
  letter-spacing: 0.2em;
}

html[lang="zh-CN"] .hero__lead {
  line-height: 1.8;
}

html[lang="zh-CN"] .stat__num,
html[lang="zh-CN"] .price-card__amount {
  letter-spacing: -0.01em;
}

html[lang="zh-CN"] .btn {
  letter-spacing: 0.02em;
}

/* Contact page: form slightly wider than the info column */
.split--contact {
  align-items: start;
  grid-template-columns: 1.15fr 0.85fr;
}

@media (max-width: 960px) {
  .split--contact {
    grid-template-columns: 1fr;
  }
}

/* CJK: prefer phrase boundaries over arbitrary character breaks */
html[lang="zh-CN"] h1,
html[lang="zh-CN"] h2,
html[lang="zh-CN"] h3,
html[lang="zh-CN"] .lead {
  word-break: auto-phrase;
}

/* Process section: timeline + sticky side note */
.process-grid {
  display: grid;
  grid-template-columns: 1.55fr 0.85fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.process-aside {
  position: sticky;
  top: calc(var(--header-h) + 28px);
  display: grid;
  gap: 16px;
}

.process-aside h3 {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-500);
  margin-bottom: 14px;
  font-weight: 650;
}

@media (max-width: 960px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
  .process-aside {
    position: static;
  }
}

@media (max-width: 720px) {
  .hero__badge--top {
    max-width: 200px;
    padding: 10px 12px;
  }
  .hero__badge--top strong {
    font-size: 0.8125rem;
  }
}

/* ==========================================================================
   19 · Cookie consent bar (analytics opt-in)
   ========================================================================== */
.consent {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 95;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: saturate(180%) blur(12px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 34px rgba(10, 37, 64, 0.09);
  animation: consent-in 0.4s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}

@keyframes consent-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

.consent__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 14px;
}

.consent__text {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--ink-500);
  max-width: 68ch;
}

.consent__text a {
  color: var(--blue-700);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* Keep the WhatsApp button clear of the bar */
body.has-consent .wa-float {
  bottom: 96px;
}

@media (max-width: 720px) {
  .consent__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding-block: 16px;
  }
  .consent__actions {
    justify-content: flex-end;
  }
  .consent__actions .btn {
    flex: 1;
  }
  /* On phones the bar takes the bottom of the screen; hide the floating
     button until the visitor decides, otherwise it covers body text. */
  body.has-consent .wa-float {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .consent {
    animation: none;
  }
}
