/* ==========================================================================
   17C 热点社区 — Design System
   Author: 17C Studio
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand */
  --brand: #ff3b5c;
  --brand-dark: #e01f43;
  --brand-soft: #fff0f3;
  --amber: #ff9a3d;
  --violet: #6c5ce7;
  --grad: linear-gradient(135deg, #ff3b5c 0%, #ff7a3d 100%);
  --grad-cool: linear-gradient(135deg, #6c5ce7 0%, #a06bff 100%);

  /* Neutrals */
  --ink: #0b0e1a;
  --ink-2: #151a2e;
  --ink-3: #232941;
  --body: #4a5169;
  --muted: #7a8199;
  --line: #e9ebf3;
  --line-soft: #f1f3f9;
  --bg: #ffffff;
  --bg-soft: #f7f8fc;
  --bg-soft-2: #eef0f8;

  /* Type */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "HarmonyOS Sans SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Noto Sans SC", sans-serif;

  /* Shape */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  /* Elevation */
  --sh-xs: 0 1px 2px rgba(11, 14, 26, 0.05);
  --sh-sm: 0 4px 14px rgba(11, 14, 26, 0.06);
  --sh-md: 0 12px 34px rgba(11, 14, 26, 0.09);
  --sh-lg: 0 26px 70px rgba(11, 14, 26, 0.14);
  --sh-brand: 0 14px 34px rgba(255, 59, 92, 0.28);

  /* Layout */
  --container: 1200px;
  --gutter: 20px;
  --header-h: 74px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg,
iframe {
  max-width: 100%;
  display: block;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.85rem);
}
h2 {
  font-size: clamp(1.65rem, 3.6vw, 2.6rem);
}
h3 {
  font-size: clamp(1.12rem, 2vw, 1.4rem);
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
}

:focus-visible {
  outline: 3px solid rgba(255, 59, 92, 0.45);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: var(--brand);
  color: #fff;
}

/* ---------- 3. Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.container-wide {
  max-width: 1360px;
}

.section {
  padding: clamp(64px, 9vw, 112px) 0;
  position: relative;
}

.section--soft {
  background: var(--bg-soft);
}

.section--tight {
  padding: clamp(44px, 6vw, 72px) 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(36px, 5vw, 60px);
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 7px 14px;
  border-radius: var(--r-pill);
  margin-bottom: 18px;
}

.eyebrow--on-dark {
  color: #ffb3c0;
  background: rgba(255, 59, 92, 0.14);
}

.section-head h2 {
  margin-bottom: 16px;
}

.section-head p {
  font-size: 1.05rem;
  color: var(--body);
}

.lead {
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.text-center {
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease),
    background 0.22s var(--ease), color 0.22s var(--ease),
    border-color 0.22s var(--ease);
  border: 1.5px solid transparent;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--sh-brand);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(255, 59, 92, 0.36);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover {
  background: var(--ink-3);
  transform: translateY(-2px);
}

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--sh-xs);
}

.btn-ghost:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 11px 20px;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 17px 34px;
  font-size: 1.02rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  color: var(--brand);
  font-size: 0.95rem;
}

.link-arrow svg {
  width: 16px;
  height: 16px;
  transition: transform 0.22s var(--ease);
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

/* ---------- 5. Header ---------- */
.topbar {
  background: var(--ink);
  color: #cfd3e4;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
}

.topbar__flag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dot-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 0 rgba(255, 59, 92, 0.7);
  animation: livePulse 2s infinite;
  flex: none;
}

@keyframes livePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 59, 92, 0.6);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(255, 59, 92, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 59, 92, 0);
  }
}

.topbar__links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar__links a:hover {
  color: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 26px rgba(11, 14, 26, 0.06);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: var(--header-h);
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.logo__mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 0.92rem;
  letter-spacing: -0.03em;
  box-shadow: var(--sh-brand);
  position: relative;
  overflow: hidden;
}

.logo__mark::after {
  content: "";
  position: absolute;
  inset: 1px 1px 55% 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), transparent);
  border-radius: 11px 11px 30px 30px;
  pointer-events: none;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo__name {
  font-weight: 900;
  font-size: 1.06rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.logo__sub {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.logo--on-dark .logo__name {
  color: #fff;
}

.logo--on-dark .logo__sub {
  color: rgba(255, 255, 255, 0.5);
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav a {
  position: relative;
  padding: 9px 15px;
  border-radius: var(--r-pill);
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink-2);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav a:hover {
  color: var(--brand);
  background: var(--brand-soft);
}

.nav a.is-active {
  color: var(--brand);
  background: var(--brand-soft);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
}

.header__phone svg {
  width: 17px;
  height: 17px;
  color: var(--brand);
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  place-items: center;
}

.burger span {
  display: block;
  width: 19px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  position: relative;
  transition: background 0.2s;
}

.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 19px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), top 0.25s var(--ease);
}

.burger span::before {
  top: -6px;
}
.burger span::after {
  top: 6px;
}

body.nav-open .burger span {
  background: transparent;
}
body.nav-open .burger span::before {
  top: 0;
  transform: rotate(45deg);
}
body.nav-open .burger span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 950;
  background: rgba(11, 14, 26, 0.5);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s var(--ease), visibility 0.28s var(--ease);
}

.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(360px, 88vw);
  background: #fff;
  padding: 22px 22px 34px;
  transform: translateX(100%);
  transition: transform 0.34s var(--ease);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

body.nav-open .drawer {
  opacity: 1;
  visibility: visible;
}

body.nav-open .drawer__panel {
  transform: none;
}

body.nav-open {
  overflow: hidden;
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.drawer__close {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--ink);
}

.drawer__close:hover {
  background: var(--bg-soft);
}

.drawer a.drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 4px;
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
}

.drawer a.drawer__link.is-active {
  color: var(--brand);
}

.drawer a.drawer__link svg {
  width: 17px;
  height: 17px;
  color: var(--muted);
}

.drawer__cta {
  margin-top: 22px;
  display: grid;
  gap: 10px;
}

.drawer__meta {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--muted);
  display: grid;
  gap: 12px;
}

.drawer__meta a {
  color: var(--ink);
  font-weight: 700;
}

.drawer__socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  padding: clamp(56px, 8vw, 96px) 0 clamp(50px, 7vw, 84px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      720px 460px at 12% -6%,
      rgba(255, 59, 92, 0.34),
      transparent 62%
    ),
    radial-gradient(
      640px 440px at 92% 8%,
      rgba(108, 92, 231, 0.3),
      transparent 60%
    ),
    radial-gradient(
      700px 520px at 70% 108%,
      rgba(255, 154, 61, 0.22),
      transparent 62%
    );
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.11) 1px,
    transparent 1px
  );
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 78%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 78%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(36px, 5vw, 70px);
  align-items: center;
}

.hero h1 {
  color: #fff;
  margin-bottom: 20px;
}

.hero__sub {
  font-size: clamp(1.02rem, 1.6vw, 1.17rem);
  color: rgba(255, 255, 255, 0.76);
  max-width: 560px;
  margin-bottom: 30px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-bottom: 30px;
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
}

.hero__points li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero__points svg {
  width: 16px;
  height: 16px;
  color: #ff8fa3;
  flex: none;
}

/* Hero visual */
.hero__visual {
  position: relative;
}

.hero__shot {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 38px 90px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.14);
  aspect-ratio: 4 / 3.1;
  background: var(--ink-2);
}

.hero__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 14, 26, 0) 34%, rgba(11, 14, 26, 0.82));
}

.hero__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 3;
}

.hero__play-btn {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  display: grid;
  place-items: center;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s var(--ease);
}

.hero__play-btn svg {
  width: 24px;
  height: 24px;
  color: var(--brand);
  margin-left: 4px;
}

.hero__play-btn:hover {
  transform: scale(1.08);
}

.hero__shot-caption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #fff;
}

.hero__shot-caption strong {
  display: block;
  font-size: 0.98rem;
}

.hero__shot-caption span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.68);
}

.tag-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 6px 11px;
  border-radius: var(--r-pill);
  flex: none;
}

/* Floating cards */
.float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.97);
  border-radius: var(--r-md);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.32);
  padding: 14px 16px;
  z-index: 4;
  color: var(--ink);
}

.float-card--trend {
  top: -22px;
  left: -18px;
  width: 214px;
}

.float-card--stat {
  bottom: -24px;
  right: -14px;
  width: 190px;
}

.float-card__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.float-card__label svg {
  width: 15px;
  height: 15px;
  color: var(--brand);
}

.trend-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 5px 0;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.trend-list .rank {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: var(--bg-soft-2);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex: none;
}

.trend-list li:nth-child(1) .rank {
  background: var(--brand);
  color: #fff;
}
.trend-list li:nth-child(2) .rank {
  background: #ff7a3d;
  color: #fff;
}
.trend-list li:nth-child(3) .rank {
  background: #ffb347;
  color: #fff;
}

.stat-num {
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}

.stat-num span {
  font-size: 0.95rem;
  color: var(--brand);
}

.stat-cap {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 4px;
}

.stat-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 30px;
  margin-top: 10px;
}

.stat-bars i {
  flex: 1;
  border-radius: 3px;
  background: linear-gradient(180deg, #ff8fa3, #ff3b5c);
  opacity: 0.85;
}

/* ---------- 7. Trust bar ---------- */
.trust {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 30px 0;
}

.trust__label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  align-items: center;
}

.trust__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  padding: 14px 10px;
  border-radius: var(--r-md);
  transition: background 0.22s var(--ease);
}

.trust__item:hover {
  background: var(--bg-soft);
}

.trust__num {
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}

.trust__num i {
  font-style: normal;
  color: var(--brand);
  font-size: 1rem;
}

.trust__cap {
  font-size: 0.83rem;
  color: var(--muted);
  font-weight: 600;
}

/* ---------- 8. Marquee ticker ---------- */
.ticker {
  background: var(--ink-2);
  color: rgba(255, 255, 255, 0.8);
  overflow: hidden;
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.ticker__track {
  display: flex;
  gap: 44px;
  width: max-content;
  animation: tickerScroll 42s linear infinite;
}

.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

.ticker__item b {
  color: var(--brand);
  font-weight: 900;
}

.ticker:hover .ticker__track {
  animation-play-state: paused;
}

@keyframes tickerScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ---------- 9. Cards & grids ---------- */
.grid {
  display: grid;
  gap: 24px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 26px;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease),
    border-color 0.28s var(--ease);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-md);
  border-color: transparent;
}

.card__icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  margin-bottom: 20px;
}

.card__icon svg {
  width: 26px;
  height: 26px;
}

.card__icon--violet {
  background: #f1edff;
  color: var(--violet);
}

.card__icon--amber {
  background: #fff4e8;
  color: #e07a12;
}

.card__icon--teal {
  background: #e6fbf5;
  color: #0d9f7a;
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  font-size: 0.95rem;
  color: var(--body);
}

.card__num {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--line-soft);
  line-height: 1;
}

.card__list {
  margin-top: 16px;
  display: grid;
  gap: 9px;
}

.card__list li {
  display: flex;
  gap: 9px;
  font-size: 0.91rem;
  color: var(--body);
}

.card__list svg {
  width: 16px;
  height: 16px;
  color: var(--brand);
  flex: none;
  margin-top: 5px;
}

/* Service media card */
.media-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  height: 100%;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease),
    border-color 0.28s var(--ease);
}

.media-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-md);
  border-color: transparent;
}

.media-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-soft-2);
}

.media-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.media-card:hover .media-card__media img {
  transform: scale(1.06);
}

.media-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(11, 14, 26, 0.78);
  color: #fff;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  backdrop-filter: blur(6px);
}

.media-card__body {
  padding: 24px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.media-card__body h3 {
  margin-bottom: 9px;
  font-size: 1.16rem;
}

.media-card__body p {
  font-size: 0.93rem;
  color: var(--body);
  margin-bottom: 16px;
}

.media-card__foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.79rem;
  font-weight: 700;
  color: var(--body);
  background: var(--bg-soft);
  border-radius: var(--r-pill);
  padding: 5px 12px;
}

/* ---------- 10. Stats strip ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}

.stats__item {
  background: #fff;
  padding: 30px 22px;
  text-align: center;
}

.stats__num {
  font-size: clamp(1.7rem, 3.4vw, 2.35rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1.1;
}

.stats__num i {
  font-style: normal;
  color: var(--brand);
}

.stats__cap {
  font-size: 0.86rem;
  color: var(--muted);
  margin-top: 6px;
  font-weight: 600;
}

/* ---------- 11. Testimonials ---------- */
.quote-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.quote-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-md);
}

.stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}

.stars svg {
  width: 16px;
  height: 16px;
  color: #ffb347;
}

.quote-card__text {
  font-size: 1rem;
  color: var(--ink-2);
  line-height: 1.72;
  margin-bottom: 24px;
  flex: 1;
}

.quote-card__person {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}

.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  background: var(--bg-soft-2);
}

.quote-card__person strong {
  display: block;
  color: var(--ink);
  font-size: 0.95rem;
}

.quote-card__person span {
  font-size: 0.83rem;
  color: var(--muted);
}

/* ---------- 12. Split / About preview ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
}

.split--reverse .split__media {
  order: 2;
}

.split__media {
  position: relative;
}

.split__img {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-md);
  aspect-ratio: 5 / 4;
  background: var(--bg-soft-2);
}

.split__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split__img--tall {
  aspect-ratio: 4 / 5;
}

.split__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.split__grid .split__img {
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
}

.split__grid > *:nth-child(2) {
  margin-top: 34px;
}

.split__badge {
  position: absolute;
  bottom: 22px;
  left: -20px;
  background: #fff;
  border-radius: var(--r-md);
  box-shadow: var(--sh-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.split__badge svg {
  width: 34px;
  height: 34px;
  color: var(--brand);
  flex: none;
}

.split__badge strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--ink);
  line-height: 1.15;
}

.split__badge span {
  font-size: 0.8rem;
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 24px 0 30px;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.98rem;
  color: var(--ink-2);
}

.check-list .tick {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  flex: none;
  margin-top: 3px;
}

.check-list .tick svg {
  width: 13px;
  height: 13px;
}

.check-list strong {
  display: block;
  color: var(--ink);
  font-weight: 800;
}

.check-list p {
  font-size: 0.9rem;
  color: var(--body);
  margin: 2px 0 0;
}

/* ---------- 13. Process steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  position: relative;
}

.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  position: relative;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-md);
}

.step__num {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--grad);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 1.05rem;
  margin-bottom: 18px;
  box-shadow: var(--sh-brand);
}

.step h3 {
  font-size: 1.06rem;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.9rem;
}

.step__line {
  display: none;
}

/* ---------- 14. FAQ accordion ---------- */
.faq {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color 0.24s var(--ease), box-shadow 0.24s var(--ease);
}

.faq__item.is-open {
  border-color: rgba(255, 59, 92, 0.4);
  box-shadow: var(--sh-sm);
}

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  transition: color 0.2s var(--ease);
}

.faq__q:hover {
  color: var(--brand);
}

.faq__sign {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  flex: none;
  transition: background 0.24s var(--ease), transform 0.24s var(--ease);
}

.faq__sign svg {
  width: 15px;
  height: 15px;
  color: var(--ink);
  transition: transform 0.3s var(--ease);
}

.faq__item.is-open .faq__sign {
  background: var(--brand);
}

.faq__item.is-open .faq__sign svg {
  color: #fff;
  transform: rotate(45deg);
}

.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.36s var(--ease);
}

.faq__a-inner {
  padding: 0 22px 22px;
  font-size: 0.95rem;
  color: var(--body);
}

/* ---------- 15. Filter bar ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xs);
  margin-bottom: 34px;
  position: sticky;
  top: calc(var(--header-h) + 10px);
  z-index: 60;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-tab {
  padding: 9px 17px;
  border-radius: var(--r-pill);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--body);
  background: var(--bg-soft);
  border: 1px solid transparent;
  transition: all 0.22s var(--ease);
}

.filter-tab:hover {
  color: var(--brand);
  background: var(--brand-soft);
}

.filter-tab.is-active {
  background: var(--ink);
  color: #fff;
}

.filter-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-tools select,
.field select {
  padding: 10px 34px 10px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237a8199' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E")
    no-repeat right 12px center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-2);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.filter-count {
  font-size: 0.86rem;
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
}

.filter-search {
  padding: 10px 16px 10px 38px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237a8199' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E")
    no-repeat left 14px center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-2);
  min-width: 190px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.filter-search::placeholder {
  color: #a6acbf;
  font-weight: 500;
}

.filter-search:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(255, 59, 92, 0.12);
}

/* ---------- 16. Portfolio / listing cards ---------- */
.work-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
  height: 100%;
}

.work-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-md);
  border-color: transparent;
}

.work-card.is-hidden {
  display: none;
}

.work-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-soft-2);
}

.work-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease);
}

.work-card:hover .work-card__media img {
  transform: scale(1.07);
}

.work-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 14, 26, 0) 40%, rgba(11, 14, 26, 0.78));
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  display: flex;
  align-items: flex-end;
  padding: 18px;
  color: #fff;
  font-size: 0.87rem;
  font-weight: 600;
}

.work-card:hover .work-card__overlay {
  opacity: 1;
}

.work-card__cat {
  position: absolute;
  top: 13px;
  left: 13px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 0.73rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: var(--r-pill);
}

.work-card__heat {
  position: absolute;
  top: 13px;
  right: 13px;
  background: var(--grad);
  color: #fff;
  font-size: 0.73rem;
  font-weight: 800;
  padding: 6px 11px;
  border-radius: var(--r-pill);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.work-card__heat svg {
  width: 12px;
  height: 12px;
}

.work-card__body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.work-card__body h3 {
  font-size: 1.07rem;
  margin-bottom: 8px;
}

.work-card__body > p {
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.work-card__meta {
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.83rem;
  color: var(--muted);
  font-weight: 600;
}

.work-card__meta .link-arrow {
  font-size: 0.86rem;
}

.empty-state {
  display: none;
  text-align: center;
  padding: 70px 20px;
  background: var(--bg-soft);
  border-radius: var(--r-lg);
  border: 1px dashed var(--line);
}

.empty-state.is-visible {
  display: block;
}

.empty-state svg {
  width: 42px;
  height: 42px;
  color: var(--muted);
  margin: 0 auto 14px;
}

/* ---------- 17. Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 4vw, 50px);
  align-items: start;
}

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(26px, 4vw, 42px);
  box-shadow: var(--sh-sm);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-2);
}

.field label .req {
  color: var(--brand);
}

.field input,
.field textarea,
.field select {
  padding: 13px 16px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--line);
  background: #fff;
  font-size: 0.95rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  width: 100%;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
  border-radius: var(--r-sm);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #a6acbf;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(255, 59, 92, 0.12);
}

.field.has-error input,
.field.has-error textarea,
.field.has-error select {
  border-color: #e5484d;
  box-shadow: 0 0 0 4px rgba(229, 72, 77, 0.1);
}

.field__error {
  font-size: 0.8rem;
  color: #d93036;
  font-weight: 600;
  display: none;
}

.field.has-error .field__error {
  display: block;
}

.form-note {
  font-size: 0.83rem;
  color: var(--muted);
  margin-top: 16px;
  line-height: 1.6;
}

.form-success {
  display: none;
  align-items: flex-start;
  gap: 12px;
  background: #eafaf1;
  border: 1px solid #b7e7cd;
  border-radius: var(--r-md);
  padding: 16px 18px;
  margin-bottom: 22px;
  color: #0b6b3f;
  font-size: 0.92rem;
  font-weight: 600;
}

.form-success.is-visible {
  display: flex;
}

.form-success svg {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 2px;
}

/* Info panel */
.info-card {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.76);
  border-radius: var(--r-xl);
  padding: clamp(26px, 3.4vw, 38px);
  position: relative;
  overflow: hidden;
}

.info-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      400px 260px at 100% 0%,
      rgba(255, 59, 92, 0.3),
      transparent 65%
    ),
    radial-gradient(360px 300px at 0% 100%, rgba(108, 92, 231, 0.28), transparent 65%);
  pointer-events: none;
}

.info-card > * {
  position: relative;
  z-index: 2;
}

.info-card h3 {
  color: #fff;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.info-list {
  display: grid;
  gap: 20px;
  margin: 26px 0;
}

.info-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.info-list .ico {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  flex: none;
}

.info-list .ico svg {
  width: 19px;
  height: 19px;
  color: #ff8fa3;
}

.info-list strong {
  display: block;
  color: #fff;
  font-size: 0.94rem;
  margin-bottom: 2px;
}

.info-list span,
.info-list a {
  font-size: 0.91rem;
  color: rgba(255, 255, 255, 0.72);
}

.info-list a:hover {
  color: #fff;
}

.info-card__divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin: 26px 0;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-link {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: #fff;
  transition: background 0.22s var(--ease), transform 0.22s var(--ease),
    border-color 0.22s var(--ease);
}

.social-link svg {
  width: 19px;
  height: 19px;
}

.social-link:hover {
  background: var(--brand);
  border-color: var(--brand);
  transform: translateY(-3px);
}

.social-link--light {
  background: var(--bg-soft);
  border-color: var(--line);
  color: var(--ink);
}

.social-link--light:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

/* Map */
.map-wrap {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--sh-sm);
  background: var(--bg-soft-2);
  line-height: 0;
  position: relative;
}

.map-wrap iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

.map-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-md);
  padding: 16px 18px;
  display: flex;
  gap: 13px;
  align-items: flex-start;
  margin-top: -60px;
  position: relative;
  z-index: 3;
  margin-left: 22px;
  margin-right: 22px;
  line-height: 1.7;
}

.map-card svg {
  width: 22px;
  height: 22px;
  color: var(--brand);
  flex: none;
  margin-top: 3px;
}

.map-card strong {
  display: block;
  color: var(--ink);
  font-size: 0.98rem;
}

.map-card span {
  font-size: 0.87rem;
  color: var(--muted);
}

/* ---------- 18. CTA band ---------- */
.cta-band {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(38px, 5.5vw, 70px);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      560px 340px at 20% 0%,
      rgba(255, 59, 92, 0.42),
      transparent 62%
    ),
    radial-gradient(520px 360px at 85% 100%, rgba(108, 92, 231, 0.35), transparent 62%);
  pointer-events: none;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.1) 1px,
    transparent 1px
  );
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at 50% 50%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 72%);
  pointer-events: none;
}

.cta-band > * {
  position: relative;
  z-index: 2;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 16px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 620px;
  margin: 0 auto 30px;
  font-size: 1.03rem;
}

.cta-band__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  justify-content: center;
}

/* ---------- 19. Page hero (inner pages) ---------- */
.page-hero {
  background: var(--ink);
  color: #fff;
  padding: clamp(52px, 7vw, 88px) 0 clamp(46px, 6vw, 72px);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      600px 380px at 10% 0%,
      rgba(255, 59, 92, 0.3),
      transparent 62%
    ),
    radial-gradient(560px 400px at 92% 100%, rgba(108, 92, 231, 0.28), transparent 62%);
  pointer-events: none;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.09) 1px,
    transparent 1px
  );
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, #000, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.page-hero h1 {
  color: #fff;
  margin-bottom: 18px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.75);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  margin-bottom: 28px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 20px;
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb svg {
  width: 13px;
  height: 13px;
}

.page-hero--center .page-hero__inner {
  margin: 0 auto;
  text-align: center;
}

.page-hero--center .breadcrumb {
  justify-content: center;
}

/* ---------- 20. Timeline ---------- */
.timeline {
  position: relative;
  display: grid;
  gap: 34px;
  padding-left: 34px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--brand), rgba(255, 59, 92, 0.08));
}

.timeline__item {
  position: relative;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 7px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--brand);
}

.timeline__year {
  display: inline-block;
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 4px 12px;
  border-radius: var(--r-pill);
  margin-bottom: 10px;
}

.timeline__item h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.timeline__item p {
  font-size: 0.93rem;
}

/* ---------- 21. Team ---------- */
.person {
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 22px;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.person:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-md);
}

.person img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
}

.person h3 {
  font-size: 1.05rem;
  margin-bottom: 3px;
}

.person span {
  font-size: 0.86rem;
  color: var(--brand);
  font-weight: 700;
}

.person p {
  font-size: 0.89rem;
  margin-top: 12px;
}

/* ---------- 22. Value banner ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.value {
  padding: 30px 26px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
}

.value__k {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 10px;
}

.value h3 {
  font-size: 1.1rem;
  margin-bottom: 9px;
}

.value p {
  font-size: 0.92rem;
}

/* ---------- 23. Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.66);
  padding: clamp(52px, 6vw, 78px) 0 0;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      520px 320px at 6% 0%,
      rgba(255, 59, 92, 0.16),
      transparent 62%
    ),
    radial-gradient(480px 340px at 96% 100%, rgba(108, 92, 231, 0.14), transparent 62%);
  pointer-events: none;
}

.footer__inner {
  position: relative;
  z-index: 2;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 34px;
  padding-bottom: 44px;
}

.footer__about p {
  font-size: 0.92rem;
  margin: 18px 0 22px;
  max-width: 320px;
}

.footer h4 {
  color: #fff;
  font-size: 0.98rem;
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}

.footer__links {
  display: grid;
  gap: 11px;
}

.footer__links a {
  font-size: 0.92rem;
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
  display: inline-block;
}

.footer__links a:hover {
  color: #fff;
  transform: translateX(3px);
}

.footer__contact {
  display: grid;
  gap: 14px;
}

.footer__contact li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 0.92rem;
}

.footer__contact svg {
  width: 17px;
  height: 17px;
  color: var(--brand);
  flex: none;
  margin-top: 4px;
}

.footer__contact a:hover {
  color: #fff;
}

.footer__socials {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.85rem;
}

.footer__bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer__bottom-links a:hover {
  color: #fff;
}

.footer__disclaimer {
  font-size: 0.79rem;
  color: rgba(255, 255, 255, 0.42);
  padding-bottom: 26px;
  max-width: 900px;
  line-height: 1.65;
}

/* ---------- 24. Back to top ---------- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--sh-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.28s var(--ease);
  z-index: 800;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  background: var(--brand);
}

.to-top svg {
  width: 19px;
  height: 19px;
}

/* ---------- 25. Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

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

/* ---------- 26. Utilities ---------- */
.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;
  left: 50%;
  top: -80px;
  transform: translateX(-50%);
  background: var(--ink);
  color: #fff;
  padding: 12px 22px;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  z-index: 1000;
  font-weight: 700;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 0;
}

/* ==========================================================================
   27. Responsive
   ========================================================================== */

@media (max-width: 1080px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 52px;
  }
  .hero__visual {
    max-width: 620px;
  }
  .float-card--trend {
    left: 0;
  }
  .float-card--stat {
    right: 0;
  }
  .trust__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px 28px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .value-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 66px;
  }
  .nav,
  .header__phone {
    display: none;
  }
  .burger {
    display: grid;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .split--reverse .split__media {
    order: 0;
  }
  .split__badge {
    left: 12px;
  }
  .topbar__links {
    display: none;
  }
  .topbar__inner {
    justify-content: center;
  }
}

@media (max-width: 680px) {
  :root {
    --gutter: 18px;
  }
  body {
    font-size: 15.5px;
  }
  .grid-2,
  .grid-3,
  .grid-4,
  .steps {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .trust__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    border-radius: var(--r-md);
  }
  .stats__item {
    padding: 22px 14px;
  }
  .filter-bar {
    position: static;
    flex-direction: column;
    align-items: stretch;
  }
  .filter-tools {
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .filter-search {
    flex: 1 1 100%;
    min-width: 0;
  }
  .filter-tools select {
    flex: 1;
  }
  .float-card--trend {
    top: -14px;
    width: 178px;
    padding: 11px 13px;
  }
  .float-card--stat {
    bottom: -18px;
    width: 158px;
    padding: 11px 13px;
  }
  .stat-num {
    font-size: 1.4rem;
  }
  .trend-list li {
    font-size: 0.78rem;
  }
  .hero__cta .btn,
  .cta-band__btns .btn {
    flex: 1 1 100%;
  }
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .cta-band {
    border-radius: var(--r-lg);
  }
  .card,
  .form-card {
    padding: 24px 20px;
  }
  .map-wrap iframe {
    height: 320px;
  }
  .to-top {
    right: 14px;
    bottom: 14px;
  }
  .section {
    padding: 54px 0;
  }
  .split__grid > *:nth-child(2) {
    margin-top: 20px;
  }
}

@media (max-width: 400px) {
  .logo__sub {
    display: none;
  }
  .stats {
    grid-template-columns: 1fr;
  }
}
