/* ==========================================================================
   糖心映像 Tangxin Studio — Design System
   品牌调性：电影感 / 暖琥珀 / 现代简洁
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* 色彩 */
  --ink: #0e0f13;
  --ink-soft: #171922;
  --ink-line: #2a2c37;
  --paper: #fbf8f3;
  --paper-2: #f4efe6;
  --line: #e7dfd2;
  --text: #1e1f26;
  --muted: #6c6d78;
  --muted-2: #8c8d97;
  --brand: #c4792b;
  --brand-2: #e0a85c;
  --brand-deep: #8e5416;
  --brand-soft: #f7ecdc;
  --white: #ffffff;

  /* 形状与阴影 */
  --radius-xs: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --shadow-xs: 0 1px 3px rgba(30, 22, 10, 0.06);
  --shadow-sm: 0 4px 14px rgba(30, 22, 10, 0.07);
  --shadow: 0 14px 34px rgba(30, 22, 10, 0.1);
  --shadow-lg: 0 30px 70px rgba(30, 22, 10, 0.18);

  /* 排版 */
  --font-sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, Georgia,
    "Times New Roman", serif;

  /* 布局 */
  --max: 1200px;
  --max-narrow: 860px;
  --header-h: 74px;
  --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) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

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

img { height: auto; }

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease), opacity 0.25s var(--ease);
}

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

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

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

h1, h2, h3, h4, h5 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--ink);
}

p { margin: 0; }

::selection { background: var(--brand-2); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.container--narrow { max-width: var(--max-narrow); }

.section { padding: clamp(64px, 9vw, 118px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--paper { background: var(--paper); }
.section--paper-2 { background: var(--paper-2); }
.section--ink { background: var(--ink); color: #d9dae2; }
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: var(--white); }

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

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-deep);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--brand);
}

.section--ink .eyebrow { color: var(--brand-2); }

.h1 {
  font-size: clamp(2.15rem, 5.2vw, 3.9rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.02em;
}

.h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }

.h3 { font-size: clamp(1.15rem, 1.9vw, 1.4rem); }

.lead {
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  color: var(--muted);
  line-height: 1.9;
}

.section--ink .lead { color: #a9abb6; }

.text-brand { color: var(--brand); }

.accent-underline {
  position: relative;
  white-space: nowrap;
}

.accent-underline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.06em;
  height: 0.34em;
  background: linear-gradient(90deg, rgba(224, 168, 92, 0.55), rgba(196, 121, 43, 0.28));
  z-index: -1;
  border-radius: 3px;
}

.grid { display: grid; gap: 26px; }
.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)); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); }

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

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 24px rgba(196, 121, 43, 0.28);
}
.btn--primary:hover { background: var(--brand-deep); box-shadow: 0 14px 30px rgba(142, 84, 22, 0.32); }

.btn--ghost {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}
.btn--ghost:hover { border-color: var(--brand); color: var(--brand-deep); }

.btn--light {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  backdrop-filter: blur(6px);
}
.btn--light:hover { background: rgba(255, 255, 255, 0.18); border-color: #fff; }

.btn--sm { padding: 11px 20px; font-size: 14px; }
.btn--block { width: 100%; }

.btn__arrow { transition: transform 0.25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 15px;
  color: var(--brand-deep);
}
.link-arrow:hover { color: var(--brand); }
.link-arrow svg { transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- 5. Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(14, 15, 19, 0.72);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(14, 15, 19, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

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

.logo__mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(140deg, var(--brand-2), var(--brand));
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(196, 121, 43, 0.35);
  flex-shrink: 0;
}

.logo__mark svg { width: 20px; height: 20px; }

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

.logo__name {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
}

.logo__sub {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brand-2);
  font-weight: 600;
}

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

.nav__link {
  position: relative;
  padding: 9px 14px;
  font-size: 15px;
  font-weight: 500;
  color: #c9cbd4;
  border-radius: var(--radius-pill);
}

.nav__link:hover { color: #fff; background: rgba(255, 255, 255, 0.07); }

.nav__link.is-active { color: #fff; font-weight: 600; }

.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 2px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-2);
}

.header-actions { display: flex; align-items: center; gap: 14px; }

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: #c9cbd4;
  white-space: nowrap;
}
.header-phone:hover { color: var(--brand-2); }

/* Hamburger */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  place-items: center;
  flex-shrink: 0;
}

.nav-toggle__bar {
  position: relative;
  display: block;
  width: 19px;
  height: 1.5px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease);
}

.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 19px;
  height: 1.5px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}

.nav-toggle__bar::before { top: -6px; }
.nav-toggle__bar::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { top: 0; transform: rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 99;
  background: var(--ink);
  padding: 30px 24px 46px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}

.mobile-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }

.mobile-nav__link {
  padding: 15px 4px;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: #e6e7ec;
  border-bottom: 1px solid var(--ink-line);
}

.mobile-nav__link.is-active { color: var(--brand-2); }

.mobile-nav__foot { margin-top: 26px; display: grid; gap: 14px; }

.mobile-nav__meta { color: #8f919c; font-size: 14px; }
.mobile-nav__meta a { color: #d7d9e1; }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  min-height: min(94vh, 880px);
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 66px) 0 84px;
  background: var(--ink);
  color: #e8e9ee;
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(10, 11, 15, 0.94) 0%, rgba(10, 11, 15, 0.78) 42%, rgba(10, 11, 15, 0.42) 100%),
    linear-gradient(180deg, rgba(10, 11, 15, 0.7) 0%, transparent 26%, rgba(10, 11, 15, 0.55) 100%);
}

.hero__inner { max-width: 800px; }

.hero .eyebrow { color: var(--brand-2); }

.hero__title {
  font-size: clamp(2.3rem, 5.4vw, 4.1rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 22px;
}

.hero__title .accent-underline::after {
  background: linear-gradient(90deg, rgba(224, 168, 92, 0.85), rgba(196, 121, 43, 0.4));
  z-index: -1;
}

.hero__lead {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.9;
  color: #b6b8c3;
  max-width: 620px;
  margin-bottom: 34px;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 54px; }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 34px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero__meta-item { display: flex; align-items: baseline; gap: 9px; }

.hero__meta-num {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.4vw, 1.95rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.hero__meta-num span { color: var(--brand-2); font-size: 0.62em; margin-left: 2px; }

.hero__meta-label { font-size: 13.5px; color: #92949f; }

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

.trust__label {
  font-size: 12.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #7c7e8a;
  margin-bottom: 20px;
  text-align: center;
}

.trust__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 52px;
}

.trust__item {
  font-family: var(--font-serif);
  font-size: clamp(0.98rem, 1.6vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #8c8e99;
  filter: grayscale(1);
  opacity: 0.78;
  transition: opacity 0.3s var(--ease), color 0.3s var(--ease), filter 0.3s var(--ease);
}

.trust__item:hover { opacity: 1; color: #e3e4ea; filter: none; }

/* ---------- 8. Cards ---------- */
.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-xs);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(196, 121, 43, 0.4);
}

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

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

.card__title { font-size: 1.16rem; margin-bottom: 11px; }

.card__text { color: var(--muted); font-size: 15px; line-height: 1.85; }

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

.card__list li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  color: var(--muted);
}

.card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-2);
}

.card--ink {
  background: var(--ink-soft);
  border-color: var(--ink-line);
}
.card--ink .card__title { color: #fff; }
.card--ink .card__text, .card--ink .card__list li { color: #a9abb6; }
.card--ink .card__icon { background: rgba(224, 168, 92, 0.14); color: var(--brand-2); }

/* ---------- 9. Service cards ---------- */
.service-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  height: 100%;
}

.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

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

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

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

.service-card__tag {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  background: rgba(14, 15, 19, 0.78);
  backdrop-filter: blur(6px);
  color: var(--brand-2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.service-card__body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex: 1; }

.service-card__title { font-size: 1.14rem; margin-bottom: 10px; }

.service-card__text { font-size: 14.5px; color: var(--muted); line-height: 1.8; flex: 1; }

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

.service-card__price { font-size: 14px; font-weight: 700; color: var(--brand-deep); }
.service-card__price span { font-size: 12px; font-weight: 500; color: var(--muted-2); }

/* ---------- 10. Work / portfolio ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
  padding-bottom: 4px;
}

.filter-btn {
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}

.filter-btn:hover { border-color: var(--brand); color: var(--brand-deep); }

.filter-btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  font-weight: 600;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 26px;
}

.work-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.work-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-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, transparent 40%, rgba(10, 11, 15, 0.72) 100%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

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

.work-card__play {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  display: grid;
  place-items: center;
  color: var(--ink);
}

.work-card__play svg { width: 17px; height: 17px; margin-left: 2px; }

.work-card__badge {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.93);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.04em;
}

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

.work-card__title { font-size: 1.08rem; margin-bottom: 8px; }

.work-card__text { font-size: 14px; color: var(--muted); line-height: 1.75; flex: 1; }

.work-card__meta {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted-2);
}

.work-card__stat { font-weight: 700; color: var(--brand-deep); }

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

.quote-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }

.quote-card__stars { display: flex; gap: 3px; color: var(--brand); margin-bottom: 16px; }
.quote-card__stars svg { width: 16px; height: 16px; }

.quote-card__text {
  font-size: 15px;
  line-height: 1.9;
  color: #383943;
  flex: 1;
  margin-bottom: 22px;
}

.quote-card__person { display: flex; align-items: center; gap: 13px; }

.quote-card__avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--paper-2);
}

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

.quote-card__name { font-size: 14.5px; font-weight: 700; color: var(--ink); line-height: 1.4; }
.quote-card__role { font-size: 13px; color: var(--muted-2); }

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

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

.split__media { position: relative; }

.split__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.split__media--stack { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.split__media--stack img { aspect-ratio: 3 / 4; }
.split__media--stack img:first-child { margin-top: 30px; }
.split__media--stack img:last-child { margin-bottom: 30px; }

.split__badge {
  position: absolute;
  right: -14px;
  bottom: 26px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.split__badge-num {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
  color: var(--brand-2);
}

.split__badge-label { font-size: 12.5px; color: #a9abb6; margin-top: 5px; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 22px;
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.stat__num {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.4vw, 1.95rem);
  font-weight: 700;
  color: var(--brand-deep);
  line-height: 1;
}

.stat__num span { font-size: 0.62em; }

.stat__label { font-size: 13.5px; color: var(--muted); margin-top: 8px; }

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

.step { position: relative; padding-top: 8px; }

.step__num {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--line);
  line-height: 1;
  margin-bottom: 14px;
  transition: color 0.35s var(--ease);
}

.step:hover .step__num { color: var(--brand-2); }

.step__title { font-size: 1.08rem; margin-bottom: 10px; }

.step__text { font-size: 14.5px; color: var(--muted); line-height: 1.85; }

.step__line {
  position: absolute;
  top: 30px;
  left: 96px;
  right: -14px;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px);
}

.step:last-child .step__line { display: none; }

/* ---------- 14. FAQ ---------- */
.faq { display: grid; gap: 14px; }

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.faq-item.is-open { border-color: rgba(196, 121, 43, 0.45); box-shadow: var(--shadow-xs); }

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 21px 24px;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.faq-item__icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-deep);
  display: grid;
  place-items: center;
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease);
}

.faq-item__icon::before {
  content: "";
  width: 11px;
  height: 1.6px;
  background: currentColor;
  border-radius: 2px;
  box-shadow: none;
}

.faq-item__icon::after {
  content: "";
  position: absolute;
  width: 1.6px;
  height: 11px;
  background: currentColor;
  border-radius: 2px;
}

.faq-item__icon { position: relative; }

.faq-item.is-open .faq-item__icon { background: var(--brand); color: #fff; transform: rotate(135deg); }

.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.faq-item__a-inner {
  padding: 0 24px 24px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
}

/* ---------- 15. CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  padding: clamp(58px, 7vw, 96px) 0;
  isolation: isolate;
}

.cta-band__media { position: absolute; inset: 0; z-index: -2; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.28; }

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(120% 120% at 12% 20%, rgba(196, 121, 43, 0.32) 0%, rgba(14, 15, 19, 0.94) 58%);
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-band__copy { max-width: 620px; }

.cta-band__title {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  color: #fff;
  margin-bottom: 14px;
}

.cta-band__text { color: #b0b2bd; font-size: 16px; line-height: 1.85; }

.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- 16. Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 68px) 0 68px;
  background: var(--ink);
  color: #d8d9e0;
  overflow: hidden;
  isolation: isolate;
}

.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.3; }

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, rgba(10, 11, 15, 0.94) 0%, rgba(10, 11, 15, 0.66) 60%, rgba(10, 11, 15, 0.5) 100%);
}

.page-hero__title {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  color: #fff;
  margin-bottom: 18px;
  max-width: 800px;
}

.page-hero__lead { color: #adb0bb; max-width: 640px; font-size: clamp(1rem, 1.4vw, 1.1rem); line-height: 1.9; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  color: #868894;
  margin-bottom: 20px;
}

.breadcrumb a:hover { color: var(--brand-2); }
.breadcrumb__sep { color: #4d4f59; }

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

.form-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3.4vw, 42px);
  box-shadow: var(--shadow-sm);
}

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

.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }

.field__label { font-size: 14px; font-weight: 600; color: var(--ink); }

.field__label .req { color: #c0392b; margin-left: 3px; }

.field__input,
.field__textarea,
.field__select {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  background: var(--paper);
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
  color: var(--text);
}

.field__textarea { min-height: 132px; resize: vertical; line-height: 1.75; }

.field__input:focus,
.field__textarea:focus,
.field__select:focus {
  outline: none;
  background: var(--white);
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(196, 121, 43, 0.14);
}

.field__input::placeholder, .field__textarea::placeholder { color: #a9aab3; }

.field.has-error .field__input,
.field.has-error .field__textarea,
.field.has-error .field__select { border-color: #c0392b; background: #fdf6f5; }

.field__error {
  font-size: 12.5px;
  color: #c0392b;
  min-height: 0;
  display: none;
}

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

.form-note { font-size: 13px; color: var(--muted-2); margin-top: 16px; line-height: 1.7; }

.form-success {
  display: none;
  align-items: flex-start;
  gap: 13px;
  margin-top: 22px;
  padding: 17px 20px;
  border-radius: var(--radius-xs);
  background: #f0f8f2;
  border: 1px solid #bfe3c8;
  color: #1f6b38;
  font-size: 14.5px;
  line-height: 1.7;
}

.form-success.is-visible { display: flex; }
.form-success svg { flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; }

.info-card {
  background: var(--ink);
  color: #b8bac5;
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3.2vw, 36px);
  margin-bottom: 22px;
}

.info-card__title { color: #fff; font-size: 1.2rem; margin-bottom: 22px; }

.info-list { display: grid; gap: 22px; }

.info-item { display: flex; gap: 15px; }

.info-item__icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: rgba(224, 168, 92, 0.14);
  color: var(--brand-2);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.info-item__icon svg { width: 18px; height: 18px; }

.info-item__label { font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: #7e808c; margin-bottom: 5px; }
.info-item__value { font-size: 15px; color: #e4e5eb; line-height: 1.7; }
.info-item__value a:hover { color: var(--brand-2); }

.map-panel {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-xs);
}

#studio-map {
  width: 100%;
  height: 320px;
  background: var(--paper-2);
}

.map-fallback {
  height: 320px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  background:
    repeating-linear-gradient(45deg, rgba(196, 121, 43, 0.05) 0 12px, transparent 12px 24px),
    var(--paper-2);
}

.map-fallback__title { font-family: var(--font-serif); font-size: 1.1rem; font-weight: 700; color: var(--ink); }
.map-fallback__text { font-size: 14px; color: var(--muted); line-height: 1.75; }

.map-panel__foot {
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
  color: var(--muted);
}

/* ---------- 18. Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #9a9ca7;
  padding: clamp(56px, 6vw, 84px) 0 0;
  font-size: 14.5px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 52px;
}

.footer-brand__text { margin-top: 18px; line-height: 1.85; max-width: 300px; color: #8b8d98; }

.footer-title {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
}

.footer-links { display: grid; gap: 12px; }
.footer-links a { color: #9a9ca7; }
.footer-links a:hover { color: var(--brand-2); }

.footer-contact { display: grid; gap: 14px; }
.footer-contact__item { display: flex; gap: 11px; line-height: 1.7; }
.footer-contact__item svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 4px; color: var(--brand-2); }
.footer-contact a:hover { color: var(--brand-2); }

.socials { display: flex; gap: 11px; margin-top: 22px; }

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  border: 1px solid var(--ink-line);
  background: rgba(255, 255, 255, 0.03);
  display: grid;
  place-items: center;
  color: #9a9ca7;
  transition: all 0.25s var(--ease);
}

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

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

.footer-bottom {
  border-top: 1px solid var(--ink-line);
  padding: 24px 0 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 13.5px;
  color: #74767f;
}

.footer-bottom__links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-bottom a:hover { color: var(--brand-2); }

/* ---------- 19. 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-visible { opacity: 1; transform: none; }

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

/* ---------- 20. Utilities ---------- */
.mb-0 { margin-bottom: 0; }
.mt-32 { margin-top: 32px; }
.mt-44 { margin-top: 44px; }
.text-center { text-align: center; }
.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;
}

/* ---------- 21. Responsive ---------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step__line { display: none; }
}

@media (max-width: 900px) {
  .nav, .header-actions .header-phone { display: none; }
  .nav-toggle { display: grid; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .contact-layout { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split__badge { right: 16px; }
}

@media (max-width: 720px) {
  .container { padding-inline: 20px; }
  .hero { min-height: auto; padding: calc(var(--header-h) + 52px) 0 62px; }
  .hero__cta { margin-bottom: 42px; }
  .hero__cta .btn { flex: 1 1 auto; }
  .hero__meta { gap: 16px 26px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .grid--auto { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .split__media--stack img:first-child { margin-top: 0; }
  .split__media--stack img:last-child { margin-bottom: 0; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .cta-band__actions { width: 100%; }
  .cta-band__actions .btn { flex: 1 1 auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .trust__list { gap: 14px 30px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .logo__sub { display: none; }
  .btn { padding: 13px 20px; font-size: 14.5px; }
}
