/* ==========================================================================
   Hong Sourcing Co., Ltd. — China Sourcing Agent
   Design system v2  (Tina's restraint + Jing's depth)
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand — matched to logo (navy H + orange magnifier handle) */
  --c-navy: #0b4a8f;
  --c-navy-700: #0a3f79;
  --c-navy-800: #083364;
  --c-navy-900: #062647;
  --c-navy-050: #eef4fb;
  --c-navy-025: #f6f9fd;

  --c-orange: #ff7a1a;
  --c-orange-700: #e5650a;
  --c-orange-050: #fff3e8;

  --c-ink: #12253d;
  --c-ink-soft: #33475f;
  --c-body: #55657a;
  --c-muted: #8291a4;
  --c-line: #e2e9f1;
  --c-line-soft: #edf2f7;
  --c-bg: #ffffff;
  --c-bg-soft: #f5f8fb;
  --c-bg-deep: #0d2a48;

  --c-green: #17885a;
  --c-green-050: #e8f5ef;

  /* Layout */
  --wrap: 1180px;
  --wrap-narrow: 800px;
  --gutter: 26px;
  --header-h: 76px;

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 26px;

  /* Elevation */
  --sh-1: 0 1px 2px rgba(18, 37, 61, .05);
  --sh-2: 0 2px 10px rgba(18, 37, 61, .06);
  --sh-3: 0 10px 30px rgba(18, 37, 61, .09);
  --sh-4: 0 24px 60px rgba(18, 37, 61, .14);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;

  --ease: cubic-bezier(.4, 0, .2, 1);
  --t: .24s var(--ease);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.72;
  color: var(--c-body);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5 {
  margin: 0 0 .5em;
  color: var(--c-ink);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.022em;
}
h1 { font-size: clamp(2.15rem, 4.6vw, 3.6rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.7rem, 3.1vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 1.9vw, 1.42rem); }
h4 { font-size: 1.06rem; }

p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }
a { color: var(--c-navy); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--c-orange); }
img, svg { max-width: 100%; display: block; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: .42em; }
strong { color: var(--c-ink); font-weight: 600; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid rgba(255, 122, 26, .48);
  outline-offset: 2px;
  border-radius: 5px;
}
::selection { background: var(--c-orange); color: #fff; }

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

.section { padding-block: clamp(64px, 9vw, 112px); }
.section--tight { padding-block: clamp(48px, 6vw, 76px); }
.section--soft { background: var(--c-bg-soft); }
.section--line { border-top: 1px solid var(--c-line); }

.section--dark {
  background: linear-gradient(135deg, #08305a 0%, #0b4a8f 58%, #12589e 100%);
  color: rgba(255, 255, 255, .8);
}
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark .eyebrow { color: #ffb277; }
.section--dark .section-head__sub { color: rgba(255, 255, 255, .78); }

.section-head { max-width: 700px; margin: 0 auto clamp(40px, 5.5vw, 64px); text-align: center; }
.section-head__sub { font-size: 1.1rem; }
/* 板块标题用 h1 时，仍保持 h2 的字号（避免页面首屏标题过大） */
.section-head h1 { font-size: clamp(1.7rem, 3.1vw, 2.5rem); }
.section-head--left { margin-inline: 0; text-align: left; }

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-orange);
}
.lead { font-size: 1.16rem; }

.grid { display: grid; gap: clamp(20px, 2.6vw, 32px); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

.center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }

.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 — visible only on keyboard focus */
.skip-link {
  position: absolute; top: 8px; left: 8px; z-index: 200;
  padding: 12px 20px; border-radius: 999px;
  background: var(--c-navy); color: #fff;
  font-size: .9rem; font-weight: 600; text-decoration: none;
  transform: translateY(-160%);
  transition: transform .2s ease;
}
.skip-link:focus-visible { transform: translateY(0); outline: 3px solid var(--c-orange); outline-offset: 2px; }

/* Small layout utilities (replaces one-off inline styles) */
.prose { max-width: 820px; margin-inline: auto; }
.mb-20 { margin-bottom: 20px; }
.mt-26 { margin-top: 26px; }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--t);
}
.btn svg { width: 17px; height: 17px; flex: none; }

.btn--primary {
  background: var(--c-orange); color: #fff;
  box-shadow: 0 6px 20px rgba(255, 122, 26, .32);
}
.btn--primary:hover {
  background: var(--c-orange-700); color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 122, 26, .4);
}
.btn--navy { background: var(--c-navy); color: #fff; }
.btn--navy:hover { background: var(--c-navy-800); color: #fff; transform: translateY(-2px); }
.btn--outline {
  background: #fff; color: var(--c-navy);
  border-color: var(--c-line); box-shadow: var(--sh-1);
}
.btn--outline:hover {
  border-color: var(--c-navy); color: var(--c-navy);
  transform: translateY(-2px); box-shadow: var(--sh-2);
}
.btn--ghost {
  background: rgba(255, 255, 255, .1); color: #fff;
  border-color: rgba(255, 255, 255, .42);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .18); color: #fff; border-color: #fff; }
.btn--white { background: #fff; color: var(--c-navy); }
.btn--white:hover { background: #eff5fb; color: var(--c-navy-800); transform: translateY(-2px); }

.btn--lg { padding: 17px 36px; font-size: 1.03rem; }
.btn--sm { padding: 10px 20px; font-size: .88rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn-row--center { justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; font-size: .95rem; color: var(--c-navy);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--t); }
.link-arrow:hover { color: var(--c-orange); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- 5. Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--t), border-color var(--t);
}
.header.is-stuck { border-bottom-color: var(--c-line); box-shadow: 0 4px 22px rgba(18, 37, 61, .07); }

.header__inner { display: flex; align-items: center; gap: 30px; height: var(--header-h); }

.logo { display: flex; align-items: center; gap: 11px; flex: none; color: var(--c-ink); }
.logo:hover { color: var(--c-ink); }
.logo__img { width: 40px; height: 40px; object-fit: contain; flex: none; transition: transform var(--t); }
.logo:hover .logo__img { transform: scale(1.06); }
.logo__text { font-size: 1.3rem; font-weight: 800; letter-spacing: -.035em; white-space: nowrap; }
.logo__text span { color: var(--c-orange); }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav__link {
  display: block; padding: 9px 15px; border-radius: 9px;
  font-size: .94rem; font-weight: 500; color: var(--c-ink);
  transition: all var(--t);
}
.nav__link:hover { color: var(--c-navy); background: var(--c-navy-025); }
.nav__link.is-active,
.nav__link[aria-current="page"] { color: var(--c-navy); font-weight: 600; background: var(--c-navy-025); }
.nav__link[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--c-orange); }
.header__cta { flex: none; }
.nav__cta-mobile { display: none; }

.nav-toggle {
  display: none; width: 44px; height: 44px; margin-left: auto; padding: 0;
  border: 1px solid var(--c-line); border-radius: 11px; background: #fff; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px; margin: 4px auto;
  background: var(--c-ink); border-radius: 2px; transition: var(--t);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 6. PHOTO SLOT SYSTEM ----------
   Placeholders that read as real photos: depth gradient + texture + subject
   icon + caption. Swap the whole .photo div for <img> when photos arrive.   */
.photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--r);
  background: #dfe7ef;
  isolation: isolate;
}
.photo--4x3 { aspect-ratio: 4 / 3; }
.photo--16x9 { aspect-ratio: 16 / 9; }
.photo--1x1 { aspect-ratio: 1 / 1; }
.photo--3x4 { aspect-ratio: 3 / 4; }
.photo--wide { aspect-ratio: 21 / 9; }

/* depth: lit top-left -> darker bottom, like a photographed subject */
.photo::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 22% 8%, rgba(255, 255, 255, .34), transparent 58%),
    linear-gradient(160deg, rgba(0, 0, 0, 0) 38%, rgba(6, 22, 40, .42) 100%);
  z-index: 1;
}
/* texture: suggests scene structure/detail */
.photo::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .09) 1px, transparent 1px);
  background-size: 30px 30px;
  z-index: 2;
}
/* colour themes — varied so a page never looks repetitive */
.photo--factory   { background: linear-gradient(140deg, #2b4c70 0%, #43688f 55%, #5f83a8 100%); }
.photo--warehouse { background: linear-gradient(140deg, #1f5f6b 0%, #2f8391 55%, #4aa3ad 100%); }
.photo--product   { background: linear-gradient(140deg, #8a5a1e 0%, #c98a3c 55%, #e5ab68 100%); }
.photo--team      { background: linear-gradient(140deg, #3d3a72 0%, #5c58a0 55%, #837fcc 100%); }
.photo--qc        { background: linear-gradient(140deg, #1c6b4f 0%, #2d8f6b 55%, #4fb08a 100%); }
.photo--ship      { background: linear-gradient(140deg, #123f6d 0%, #1f5f9c 55%, #3d84c4 100%); }
.photo--market    { background: linear-gradient(140deg, #7a3350 0%, #a85174 55%, #c97799 100%); }
.photo--neutral   { background: linear-gradient(140deg, #33475f 0%, #4e6b8a 55%, #6b83a0 100%); }

.photo__icon {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, .16);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border: 1px solid rgba(255, 255, 255, .28);
  color: #fff;
  z-index: 3;
}
.photo__icon svg { width: 26px; height: 26px; }

.photo__caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 18px 20px; z-index: 3; color: #fff;
}
.photo__tag {
  display: inline-block;
  padding: 4px 11px; margin-bottom: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .22);
  font-size: .7rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
}
.photo__title { font-size: 1.02rem; font-weight: 700; line-height: 1.35; margin: 0; }

.photo--sm .photo__icon { width: 42px; height: 42px; border-radius: 13px; }
.photo--sm .photo__icon svg { width: 20px; height: 20px; }

/* When a real photo replaces the placeholder, drop it in with the same
   classes and it keeps the slot's aspect ratio and framing:
   <img class="photo photo--4x3" src="assets/img/warehouse.jpg" alt="..."> */

/* ---------- 6b. REAL PHOTO INSIDE SLOT ----------
   Container keeps aspect-ratio / radius / caption. <img> fills it;
   placeholder art (gradient + texture) is switched off via .has-img. */
.photo__img {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.photo.has-img::before { content: none; }
.photo.has-img::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, rgba(6, 22, 40, 0) 55%, rgba(6, 22, 40, .58) 100%);
  pointer-events: none;
}
img.photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #dfe7ef;
}

/* ---------- 7. Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(60px, 8vw, 104px); }
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(760px 460px at 92% 4%, rgba(29, 111, 196, .14), transparent 62%),
    radial-gradient(620px 380px at 4% 96%, rgba(255, 122, 26, .1), transparent 60%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid; grid-template-columns: 1.02fr .98fr;
  gap: clamp(34px, 5vw, 68px); align-items: center;
}
.hero h1 { margin-bottom: 22px; }
.hero h1 em { display: block; font-style: normal; color: var(--c-navy); }
.hero__sub { max-width: 520px; font-size: 1.16rem; }
.hero__actions { margin-top: 34px; }

.hero__proof {
  display: flex; flex-wrap: wrap; gap: 12px 26px;
  margin: 32px 0 0; padding: 22px 0 0;
  border-top: 1px solid var(--c-line);
  list-style: none;
}
.hero__proof li { display: flex; align-items: center; gap: 8px; margin: 0; font-size: .9rem; color: var(--c-body); }
.hero__proof svg { width: 17px; height: 17px; color: var(--c-green); flex: none; }

.hero__visual { position: relative; }
.hero__badge {
  position: absolute; z-index: 5;
  display: flex; align-items: center; gap: 10px;
  padding: 13px 18px; border-radius: 14px;
  background: #fff; box-shadow: var(--sh-3);
  font-size: .86rem; font-weight: 600; color: var(--c-ink);
  white-space: nowrap;
}
.hero__badge svg { width: 19px; height: 19px; flex: none; }
.hero__badge small { display: block; font-size: .74rem; font-weight: 500; color: var(--c-muted); }
.hero__badge--a { bottom: 26px; left: -26px; animation: float 6s ease-in-out infinite; }
.hero__badge--b { top: 26px; right: -18px; animation: float 7s ease-in-out 1s infinite; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- 8. Trust bar ---------- */
.trust { padding-block: 30px; background: var(--c-navy-025); border-block: 1px solid var(--c-line); }
.trust__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 14px clamp(26px, 4.4vw, 60px);
}
.trust__item { display: flex; align-items: center; gap: 9px; font-size: .9rem; font-weight: 600; color: var(--c-ink); }
.trust__item svg { width: 18px; height: 18px; color: var(--c-navy); flex: none; }

/* ---------- 9. Cards ---------- */
.card {
  display: flex; flex-direction: column;
  padding: 30px;
  border: 1px solid var(--c-line);
  border-radius: var(--r);
  background: #fff;
  box-shadow: var(--sh-1);
  transition: all var(--t);
}
.card:hover { transform: translateY(-4px); border-color: rgba(11, 74, 143, .22); box-shadow: var(--sh-3); }
.card__ico {
  width: 50px; height: 50px; display: grid; place-items: center;
  margin-bottom: 18px; border-radius: 13px;
  background: var(--c-navy-050); color: var(--c-navy);
}
.card__ico svg { width: 24px; height: 24px; }
.card--orange .card__ico { background: var(--c-orange-050); color: var(--c-orange); }
.card p { font-size: .95rem; }
.card__foot { margin-top: auto; padding-top: 20px; }

/* Card with photo on top */
.pcard {
  display: flex; flex-direction: column;
  border: 1px solid var(--c-line); border-radius: var(--r);
  background: #fff; overflow: hidden;
  box-shadow: var(--sh-1); transition: all var(--t);
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }
.pcard .photo { border-radius: 0; }
.pcard__body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.pcard__body h3 { margin-bottom: 9px; font-size: 1.1rem; }
.pcard__body p { font-size: .94rem; }

/* ---------- 10. Check list ---------- */
.checklist { margin: 0; padding: 0; list-style: none; }
.checklist li {
  position: relative; padding-left: 28px; margin-bottom: 10px;
  font-size: .94rem; color: var(--c-body);
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 17px; height: 17px; border-radius: 50%;
  background: var(--c-green-050) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317885a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / 10px no-repeat;
}
.checklist--light li { color: rgba(255, 255, 255, .84); }
.checklist--light li::before {
  background-color: rgba(255, 255, 255, .15);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
}

/* ---------- 11. Split blocks ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 4.4vw, 62px); align-items: center; }
.split + .split { margin-top: clamp(44px, 6vw, 84px); }
.split--flip .split__media { order: -1; }
.split__tag {
  display: inline-block; margin-bottom: 14px; padding: 5px 14px;
  border-radius: 999px; background: var(--c-orange-050);
  color: var(--c-orange-700); font-size: .78rem; font-weight: 700; letter-spacing: .04em;
}
.split h3 { margin-bottom: 12px; }
.split__list { margin-top: 22px; }

/* narrow media column + capped photo (ABOUT founder portrait) */
.split--media-sm { grid-template-columns: 1fr auto; }
.split--media-sm .split__media { width: 260px; justify-self: end; }
@media (max-width: 900px) {
  .split--media-sm { grid-template-columns: 1fr; }
  .split--media-sm .split__media { width: 235px; justify-self: center; }
}

/* ---------- 12. Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.stat {
  padding: 28px 20px; border-radius: var(--r);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  text-align: center;
}
.stat__num {
  display: block; font-size: clamp(1.95rem, 3.5vw, 2.9rem);
  font-weight: 800; line-height: 1.05; letter-spacing: -.03em; color: #fff;
}
.stat__label { display: block; margin-top: 7px; font-size: .88rem; color: rgba(255, 255, 255, .76); }

.stat--light { background: #fff; border: 1px solid var(--c-line); box-shadow: var(--sh-1); }
.stat--light .stat__num { color: var(--c-navy); }
.stat--light .stat__label { color: var(--c-body); }

/* ---------- 13. Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.6vw, 30px); }
.step { position: relative; }
.step__n {
  width: 48px; height: 48px; display: grid; place-items: center;
  margin-bottom: 17px; border-radius: 50%;
  background: var(--c-navy); color: #fff;
  font-size: 1.1rem; font-weight: 800;
  box-shadow: 0 6px 18px rgba(11, 74, 143, .26);
}
.step h3 { margin-bottom: 7px; font-size: 1.06rem; }
.step p { font-size: .93rem; margin-bottom: 0; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 23px; left: calc(100% + 6px);
  width: calc(100% - 60px); height: 1px;
  background: repeating-linear-gradient(90deg, var(--c-line) 0 6px, transparent 6px 12px);
}

/* ---------- 14. Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 26px); }

/* Horizontal scrolling testimonials */
.qcarousel { position: relative; }
.quotes--scroll {
  --qgap: clamp(18px, 2.4vw, 26px);
  display: flex; grid-template-columns: none;
  gap: var(--qgap);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 2px;
  padding: 4px 2px 14px;
  scrollbar-width: thin;
  scrollbar-color: var(--c-line) transparent;
}
.quotes--scroll::-webkit-scrollbar { height: 6px; }
.quotes--scroll::-webkit-scrollbar-track { background: transparent; }
.quotes--scroll::-webkit-scrollbar-thumb { background: var(--c-line); border-radius: 999px; }
.quotes--scroll .quote {
  flex: 0 0 calc((100% - 2 * var(--qgap)) / 3);
  scroll-snap-align: start;
}
.quotes--scroll .quote:hover { transform: none; box-shadow: var(--sh-2); }
.qnav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid var(--c-line); border-radius: 50%;
  background: #fff; color: var(--c-navy);
  box-shadow: var(--sh-2); cursor: pointer;
  transition: background var(--t), color var(--t), border-color var(--t), box-shadow var(--t);
}
.qnav:hover { background: var(--c-orange); border-color: var(--c-orange); color: #fff; }
.qnav svg { width: 19px; height: 19px; }
.qnav--prev { left: -21px; }
.qnav--next { right: -21px; }
.qnav[disabled] { opacity: .35; cursor: default; }
.qnav[disabled]:hover { background: #fff; border-color: var(--c-line); color: var(--c-navy); }
.quote {
  display: flex; flex-direction: column;
  padding: 28px; border: 1px solid var(--c-line); border-radius: var(--r);
  background: #fff; box-shadow: var(--sh-1);
  transition: transform var(--t), box-shadow var(--t);
}
.quote:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.quote__stars { display: flex; gap: 3px; margin-bottom: 15px; color: #ffb020; }
.quote__stars svg { width: 16px; height: 16px; }
.quote__text { font-size: .95rem; margin-bottom: 22px; }
.quote__author {
  display: flex; align-items: center; gap: 13px;
  margin-top: auto; padding-top: 18px; border-top: 1px solid var(--c-line-soft);
}
.avatar {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 50%; color: #fff; font-weight: 700; font-size: .93rem;
  flex: none; letter-spacing: .02em;
}
.av-1 { background: linear-gradient(135deg, #0b4a8f, #1d6fc4); }
.av-2 { background: linear-gradient(135deg, #c2620c, #ff9a3d); }
.av-3 { background: linear-gradient(135deg, #14664d, #2d8f6b); }
.av-4 { background: linear-gradient(135deg, #4b378f, #7d68c9); }
.av-5 { background: linear-gradient(135deg, #93305a, #c4628d); }
.av-6 { background: linear-gradient(135deg, #1c5f78, #3d93ad); }
.quote__name { font-size: .93rem; font-weight: 700; color: var(--c-ink); line-height: 1.3; }
.quote__role { font-size: .8rem; color: var(--c-muted); }

/* ---------- 15. Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(2, 1fr); max-width: 860px; margin-inline: auto; gap: clamp(18px, 2.4vw, 26px); align-items: start; }
.plan {
  display: flex; flex-direction: column;
  padding: 34px 30px; border: 1px solid var(--c-line); border-radius: var(--r-lg);
  background: #fff; box-shadow: var(--sh-1); transition: all var(--t);
}
.plan:hover { box-shadow: var(--sh-3); }
.plan--hot {
  position: relative; border-color: var(--c-orange);
  box-shadow: var(--sh-3); transform: scale(1.03);
}
.plan--hot:hover { transform: scale(1.03) translateY(-4px); }
.plan__flag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  padding: 5px 17px; border-radius: 999px;
  background: var(--c-orange); color: #fff;
  font-size: .74rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  white-space: nowrap;
}
.plan__name { font-size: 1.16rem; margin-bottom: 7px; }
.plan__desc { font-size: .9rem; min-height: 46px; }
.plan__price { display: flex; align-items: baseline; gap: 7px; padding: 20px 0; margin: 20px 0; border-block: 1px solid var(--c-line); }
.plan__amount { font-size: 2.5rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--c-ink); }
.plan__unit { font-size: .88rem; color: var(--c-muted); }
.plan__features { margin: 0 0 28px; padding: 0; list-style: none; }
.plan__features li { position: relative; padding-left: 28px; margin-bottom: 12px; font-size: .92rem; }
.plan__features li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 17px; height: 17px; border-radius: 50%;
  background: var(--c-green-050) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317885a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / 10px no-repeat;
}
.plan__cta { margin-top: auto; }

.table-wrap {
  overflow-x: auto; border: 1px solid var(--c-line);
  border-radius: var(--r); background: #fff; box-shadow: var(--sh-1);
}
table.data { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .94rem; }
table.data th, table.data td { padding: 16px 22px; text-align: left; border-bottom: 1px solid var(--c-line); }
table.data thead th {
  background: var(--c-bg-soft); font-size: .82rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase; color: var(--c-ink); white-space: nowrap;
}
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: var(--c-navy-025); }
table.data td:first-child { font-weight: 600; color: var(--c-ink); }

/* ---------- 16. Category grid ---------- */
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(172px, 1fr)); gap: 16px; }
.cat {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 28px 16px; border: 1px solid var(--c-line); border-radius: var(--r);
  background: #fff; text-align: center;
  font-size: .92rem; font-weight: 600; color: var(--c-ink);
  transition: all var(--t);
}
.cat:hover { border-color: var(--c-navy); background: var(--c-navy-050); color: var(--c-navy); transform: translateY(-3px); }
.cat__ico {
  width: 72px; height: 72px; display: grid; place-items: center;
  border-radius: 20px; background: var(--c-bg-soft); color: var(--c-navy);
  transition: all var(--t);
}
.cat:hover .cat__ico { background: #fff; }
.cat__ico svg { width: 36px; height: 36px; }

/* ---------- 17. FAQ ---------- */
.faq { max-width: var(--wrap-narrow); margin-inline: auto; }
.faq__item {
  border: 1px solid var(--c-line); border-radius: var(--r);
  background: #fff; margin-bottom: 13px; overflow: hidden;
  transition: box-shadow var(--t), border-color var(--t);
}
.faq__item.is-open { box-shadow: var(--sh-2); border-color: rgba(11, 74, 143, .2); }
.faq__q {
  display: flex; align-items: center; gap: 16px; width: 100%;
  padding: 20px 24px; border: 0; background: none; text-align: left;
  font-size: 1.02rem; font-weight: 600; color: var(--c-ink); cursor: pointer;
}
.faq__q:hover { color: var(--c-navy); }
.faq__q > span { flex: 1; }
.faq__icon { width: 22px; height: 22px; flex: none; color: var(--c-navy); transition: transform var(--t); }
.faq__item.is-open .faq__icon { transform: rotate(45deg); }
.faq__a { display: none; padding: 0 24px 22px; font-size: .95rem; }
.faq__item.is-open .faq__a { display: block; }

/* ---------- 18. CTA band ---------- */
.cta__inner { display: grid; grid-template-columns: 1.35fr auto; gap: 34px; align-items: center; }
.cta__inner h2 { margin-bottom: 10px; }
.cta__inner p { color: rgba(255, 255, 255, .82); margin-bottom: 0; }

/* ---------- 19. Forms ---------- */
.form-card {
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid var(--c-line); border-radius: var(--r-lg);
  background: #fff; box-shadow: var(--sh-3);
}
.form-row { display: grid; gap: 17px; grid-template-columns: repeat(2, 1fr); margin-bottom: 17px; }
.field { display: flex; flex-direction: column; }
.field label { margin-bottom: 7px; font-size: .86rem; font-weight: 600; color: var(--c-ink); }
.field label .req { color: var(--c-orange); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px;
  border: 1px solid var(--c-line); border-radius: var(--r-sm);
  background: #fff; font-size: .95rem;
  transition: border-color var(--t), box-shadow var(--t);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--c-navy);
  box-shadow: 0 0 0 3px rgba(11, 74, 143, .12);
}
.field textarea { resize: vertical; min-height: 120px; }
.field--full { grid-column: 1 / -1; }
.field__hint { margin-top: 7px; font-size: .78rem; color: var(--c-muted); }

.form-card--stack { max-width: 620px; margin-inline: auto; }
.form-card--stack .field { margin-bottom: 17px; }
.form-card--stack .field:last-of-type { margin-bottom: 24px; }

.form-consent {
  display: flex; align-items: flex-start; gap: 11px;
  margin: 20px 0 22px; font-size: .86rem; color: var(--c-body);
}
.form-consent input { margin-top: 4px; flex: none; accent-color: var(--c-navy); }

.form-success {
  display: none; padding: 20px; border-radius: var(--r-sm);
  background: var(--c-green-050); border: 1px solid rgba(23, 136, 90, .25);
  color: #0d5c3d; font-size: .94rem; font-weight: 600;
}
.form-success.is-visible { display: block; }

/* ---------- 20. Contact list ---------- */
.contact-list { margin: 0; padding: 0; list-style: none; }
.contact-list li { display: flex; gap: 15px; padding: 19px 0; border-bottom: 1px solid var(--c-line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list__ico {
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 11px; background: var(--c-navy-050); color: var(--c-navy); flex: none;
}
.contact-list__ico svg { width: 19px; height: 19px; }
.contact-list__label {
  font-size: .78rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--c-muted);
}
.contact-list__val { font-size: .97rem; font-weight: 600; color: var(--c-ink); }

/* ---------- 21. Timeline ---------- */
.timeline { position: relative; padding-left: 36px; }
.timeline::before {
  content: ""; position: absolute; top: 9px; bottom: 9px; left: 10px;
  width: 2px; background: linear-gradient(180deg, var(--c-navy), var(--c-orange)); border-radius: 2px;
}
.timeline__item { position: relative; padding-bottom: 32px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__dot {
  position: absolute; left: -36px; top: 5px;
  width: 22px; height: 22px; border-radius: 50%;
  background: #fff; border: 3px solid var(--c-navy);
}
.timeline__year { font-size: .8rem; font-weight: 700; letter-spacing: .06em; color: var(--c-orange); }
.timeline__item h3 { margin: 2px 0 7px; font-size: 1.06rem; }

/* ---------- 22. Case cards ---------- */
.case {
  display: flex; flex-direction: column; height: 100%;
  border: 1px solid var(--c-line); border-radius: var(--r);
  background: #fff; overflow: hidden; box-shadow: var(--sh-1);
  transition: all var(--t);
}
.case:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }
.case__body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.case__body h3 { margin-bottom: 10px; font-size: 1.12rem; }
.case__body p { font-size: .94rem; }
.case__stats {
  display: flex; flex-wrap: wrap; gap: 24px;
  margin-top: auto; padding-top: 20px; border-top: 1px solid var(--c-line);
}
.case__stat b { display: block; font-size: 1.2rem; font-weight: 800; color: var(--c-navy); letter-spacing: -.02em; }
.case__stat span { font-size: .78rem; color: var(--c-muted); }

/* ---------- 23. Inner page hero ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding-block: clamp(46px, 6vw, 80px);
  background:
    radial-gradient(720px 380px at 80% 0%, rgba(29, 111, 196, .15), transparent 62%),
    linear-gradient(180deg, #f1f6fc 0%, #ffffff 100%);
  border-bottom: 1px solid var(--c-line);
}
.page-hero__inner { max-width: 760px; }
.page-hero h1 { margin-bottom: 16px; }
.page-hero p { font-size: 1.12rem; }

.breadcrumb {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 15px;
  font-size: .85rem; color: var(--c-muted);
}
.breadcrumb a { color: var(--c-muted); }
.breadcrumb a:hover { color: var(--c-navy); }

/* ---------- 24. Footer ---------- */
.footer { padding-top: clamp(50px, 6vw, 76px); background: var(--c-bg-deep); color: rgba(255, 255, 255, .68); font-size: .93rem; }
.footer__grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(24px, 3.4vw, 46px); padding-bottom: 46px;
}
.footer h4 {
  margin-bottom: 17px; font-size: .82rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: #fff;
}
.footer ul { margin: 0; padding: 0; list-style: none; }
.footer ul li { margin-bottom: 11px; }
.footer a { color: rgba(255, 255, 255, .68); }
.footer a:hover { color: #fff; }
.footer__about p { margin-bottom: 18px; }
.footer .logo { color: #fff; margin-bottom: 17px; }
.footer .logo:hover { color: #fff; }
.footer__socials { display: flex; gap: 10px; }
.footer__socials a {
  width: 39px; height: 39px; display: grid; place-items: center;
  border-radius: 11px; background: rgba(255, 255, 255, .08); transition: all var(--t);
}
.footer__socials a:hover { background: var(--c-orange); }
.footer__socials svg { width: 18px; height: 18px; }
.footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 14px; padding-block: 24px;
  border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem;
}
.footer__bottom p { margin: 0; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 18px; }

/* ---------- 25. Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .62s ease, transform .62s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
/* Fallback: if JS never runs, content must not stay invisible */
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__badge { animation: none; }
  * { transition-duration: .01ms !important; }
}

/* ---------- 26. Back to top ---------- */
/* Modal (quick message dialog) */
.modal {
  position: fixed; inset: 0; z-index: 200;
  display: none; place-items: center;
  padding: 20px;
}
.modal.is-open { display: grid; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(9, 26, 46, .58); }
.modal__panel {
  position: relative; z-index: 1;
  width: 100%; max-width: 540px; max-height: 90vh; overflow-y: auto;
  padding: clamp(24px, 4vw, 36px);
  border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh-3);
}
.modal__close {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px; display: grid; place-items: center;
  border: 1px solid var(--c-line); border-radius: 50%;
  background: #fff; color: var(--c-body); cursor: pointer;
  transition: all var(--t);
}
.modal__close:hover { background: var(--c-navy); border-color: var(--c-navy); color: #fff; }
.modal__close svg { width: 17px; height: 17px; }
body.is-locked { overflow: hidden; }

/* WhatsApp floating button */
.wa-float {
  position: fixed; right: 22px; bottom: 24px; z-index: 95;
  width: 56px; height: 56px; display: grid; place-items: center;
  border-radius: 50%; background: #25d366; color: #fff;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .42);
  transition: transform var(--t), box-shadow var(--t), background var(--t);
}
.wa-float:hover { transform: translateY(-3px); background: #1ebe5b; box-shadow: 0 14px 30px rgba(37, 211, 102, .5); }
.wa-float svg { width: 31px; height: 31px; }
.wa-float__tip {
  position: absolute; right: calc(100% + 12px); top: 50%;
  transform: translateY(-50%) translateX(6px);
  padding: 8px 13px; border-radius: 9px;
  background: var(--c-navy); color: #fff;
  font-size: .82rem; font-weight: 600; white-space: nowrap;
  box-shadow: var(--sh-2);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--t), transform var(--t), visibility var(--t);
}
.wa-float:hover .wa-float__tip,
.wa-float:focus-visible .wa-float__tip {
  opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0);
}

.to-top {
  position: fixed; right: 24px; bottom: 94px; z-index: 90;
  width: 45px; height: 45px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: var(--c-navy); color: #fff;
  cursor: pointer; box-shadow: var(--sh-3);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all var(--t);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--c-orange); }
.to-top svg { width: 19px; height: 19px; }

/* ---------- 27. Responsive ---------- */
@media (max-width: 1024px) {
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child)::after { display: none; }
  .quotes, .pricing { grid-template-columns: repeat(2, 1fr); }
  .quotes--scroll .quote { flex-basis: calc((100% - var(--qgap)) / 2); }
  .plan--hot { transform: none; }
  .plan--hot:hover { transform: translateY(-4px); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 540px; }
  .hero__badge--a { left: 0; }
  .hero__badge--b { right: 0; }
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    max-height: 0; overflow: hidden; background: #fff;
    border-bottom: 1px solid var(--c-line); box-shadow: var(--sh-3);
    transition: max-height .3s ease;
  }
  .nav.is-open { max-height: 480px; overflow-y: auto; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: 10px 26px 20px; }
  .nav__link { padding: 14px 4px; border-bottom: 1px solid var(--c-line-soft); }
  .nav__link:last-child { border-bottom: 0; }
  .header__cta { display: none; }
  .header__inner { gap: 14px; }
  .nav__cta-mobile { display: block; margin-top: 15px; }

  .qnav { display: none; }
  .split, .split--flip .split__media { grid-template-columns: 1fr; order: unset; }
  .split--flip .split__media { order: -1; }
  .cta__inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}

@media (max-width: 720px) {
  :root { --gutter: 20px; }
  .wa-float { width: 50px; height: 50px; right: 16px; bottom: 18px; }
  .wa-float svg { width: 27px; height: 27px; }
  .wa-float__tip { display: none; }
  .to-top { right: 18px; bottom: 80px; }
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .quotes, .pricing { grid-template-columns: 1fr; }
  .quotes--scroll .quote { flex-basis: 88%; }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__proof { gap: 10px 18px; }
  .trust__inner { gap: 12px 22px; }
  .footer__bottom { justify-content: flex-start; }
}

@media (max-width: 430px) {
  .btn { padding: 13px 22px; font-size: .9rem; }
  .btn--lg { padding: 15px 26px; }
  .stat { padding: 22px 14px; }
  .card { padding: 24px; }
  .cats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat { padding: 20px 10px; gap: 11px; font-size: .86rem; }
  .cat__ico { width: 58px; height: 58px; border-radius: 16px; }
  .cat__ico svg { width: 29px; height: 29px; }
}
