/* =========================================================
   上海盛沃律师事务所 · 借贷执行专题
   Palette: deep navy / reference blue / restrained gold
   ========================================================= */

:root {
  --ink: #08192b;
  --ink-2: #0a2138;
  --navy: #0b2340;
  --blue: #2f6fae;
  --blue-deep: #1d4f7d;
  --blue-pale: #dce8f3;
  --gold: #c9a25a;
  --gold-bright: #e2c184;
  --gold-ink: #876224;
  --paper: #f7f8fa;
  --paper-blue: #edf2f7;
  --white: #ffffff;
  --text: #182a3d;
  --muted: #5b6b7d;
  --muted-strong: #40536a;
  --line: rgba(13, 38, 64, 0.14);
  --line-strong: rgba(13, 38, 64, 0.28);
  --line-light: rgba(214, 231, 247, 0.16);
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "STZhongsong", "SimSun", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --container: 1320px;
  --gutter: clamp(20px, 5vw, 56px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

@media (min-width: 1200px) {
  body {
    font-size: 17px;
  }
}

body.menu-open {
  overflow: hidden;
}

h1, h2, h3, h4, p, figure, blockquote, dl, dd {
  margin: 0;
}

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

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

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

address {
  font-style: normal;
}

button {
  font: inherit;
}

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

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 12px 18px;
  background: var(--gold);
  color: var(--ink);
  font-size: 14px;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

main:focus {
  outline: none;
}

/* ---------- Shared type ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1.4;
  color: var(--gold-ink);
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  flex: none;
}

.eyebrow.on-dark {
  color: var(--gold-bright);
}

h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 3.9vw, 52px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.section {
  position: relative;
  padding-block: clamp(76px, 9vw, 124px);
  scroll-margin-top: 86px;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.74fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(40px, 5.5vw, 68px);
}

.section-intro p {
  font-size: 16px;
  line-height: 1.95;
  color: var(--muted);
}

.section-intro .intro-note {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.8;
  color: #4a5d72;
}

.accent-blue {
  color: var(--blue-deep);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.btn-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.btn-gold:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
}

.btn-ghost {
  border-color: rgba(230, 240, 249, 0.34);
  color: #fff;
}

.btn-ghost:hover {
  border-color: var(--gold-bright);
  color: var(--gold-bright);
}

.btn-outline-gold {
  border-color: rgba(226, 193, 132, 0.62);
  color: var(--gold-bright);
  min-height: 48px;
}

.btn-outline-gold:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  color: #fff;
  background: linear-gradient(180deg, rgba(4, 13, 24, 0.78) 0%, rgba(4, 13, 24, 0) 100%);
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(6, 19, 33, 0.95);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

body.menu-open .site-header {
  background: #071625;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 86px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  flex: none;
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(226, 193, 132, 0.72);
  color: var(--gold-bright);
  flex: none;
}

.brand-mark svg {
  display: block;
  width: 26px;
  height: 26px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-text strong {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.07em;
}

.brand-text small {
  color: rgba(226, 193, 132, 0.82);
  font-size: 8px;
  line-height: 1.2;
  letter-spacing: 0.22em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.1vw, 34px);
  margin-left: auto;
}

.desktop-nav a {
  position: relative;
  padding: 6px 0;
  color: rgba(236, 243, 249, 0.78);
  font-size: 14.5px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
  color: #fff;
}

.desktop-nav a:hover::after,
.desktop-nav a.is-active::after {
  transform: scaleX(1);
}

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

.header-phone {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  line-height: 1.15;
}

.header-phone span {
  color: var(--gold-bright);
  font-size: 10px;
  letter-spacing: 0.18em;
}

.header-phone strong {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.header-call-icon {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(226, 193, 132, 0.42);
  color: var(--gold-bright);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 17px;
  height: 1px;
  background: currentColor;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* ---------- Mobile menu ---------- */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 112px var(--gutter) calc(30px + env(safe-area-inset-bottom));
  overflow-y: auto;
  background: #071625;
  color: #fff;
  animation: menuIn 0.3s ease both;
}

@keyframes menuIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-menu nav a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 19px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--serif);
  font-size: clamp(22px, 6vw, 28px);
  line-height: 1.3;
  color: #fff;
}

.mobile-menu nav a span {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--gold-bright);
}

.mobile-menu nav a:active {
  color: var(--gold-bright);
}

.mobile-menu-contact {
  padding-top: 34px;
}

.mobile-menu-contact p {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: rgba(226, 238, 248, 0.55);
}

.mobile-menu-phone {
  display: inline-block;
  margin: 8px 0 12px;
  font-family: var(--serif);
  font-size: clamp(34px, 9vw, 44px);
  line-height: 1.2;
  color: var(--gold-bright);
}

.mobile-menu-note {
  font-size: 12px !important;
  color: rgba(226, 238, 248, 0.42) !important;
}

body.menu-open .mobile-bar {
  display: none;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: #061322;
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 13, 25, 0.94) 0%, rgba(4, 13, 25, 0.78) 38%, rgba(4, 13, 25, 0.24) 68%, rgba(4, 13, 25, 0.4) 100%),
    linear-gradient(180deg, rgba(4, 13, 25, 0.52) 0%, rgba(4, 13, 25, 0.02) 32%, rgba(4, 13, 25, 0.7) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(300px, 0.62fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  padding-top: clamp(132px, 17vh, 190px);
  padding-bottom: clamp(48px, 7vh, 84px);
}

.hero-copy {
  max-width: 790px;
}

.hero .eyebrow {
  margin-bottom: 26px;
  font-size: 12.5px;
  letter-spacing: 0.16em;
}

.hero h1 {
  margin-bottom: 26px;
  font-family: var(--serif);
  font-size: clamp(38px, 6.1vw, 86px);
  font-weight: 700;
  line-height: 1.17;
  letter-spacing: 0.01em;
  color: #fff;
}

.hero h1 span {
  display: inline-block;
  color: var(--gold-bright);
  white-space: nowrap;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 34px;
  font-size: clamp(15.5px, 1.3vw, 18px);
  line-height: 1.95;
  color: rgba(230, 239, 247, 0.76);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 28px;
  color: rgba(225, 237, 247, 0.66);
  font-size: 13.5px;
  letter-spacing: 0.03em;
}

.hero-trust li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.hero-trust li::before {
  content: "";
  width: 4px;
  height: 4px;
  margin-top: 9px;
  background: var(--gold);
  flex: none;
}

.hero-aside {
  justify-self: end;
  align-self: center;
  width: 100%;
  max-width: 390px;
  padding-left: clamp(24px, 3vw, 40px);
  border-left: 1px solid var(--line-light);
}

.aside-kicker {
  margin-bottom: 10px;
  color: var(--gold-bright);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.aside-title {
  margin-bottom: 22px;
  font-family: var(--serif);
  font-size: clamp(21px, 2vw, 25px);
  font-weight: 600;
  line-height: 1.45;
  color: #fff;
}

.aside-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.aside-list li > span {
  padding-top: 2px;
  color: var(--gold-bright);
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.aside-list strong {
  display: block;
  margin-bottom: 3px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.5;
  color: #fff;
}

.aside-list small {
  display: block;
  font-size: 12.5px;
  line-height: 1.65;
  color: rgba(219, 233, 245, 0.62);
}

.aside-note {
  margin-top: 18px;
  color: rgba(219, 233, 245, 0.55);
  font-size: 12px;
  letter-spacing: 0.03em;
}

.hero-facts {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(3, 12, 23, 0.38);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-block: 26px 30px;
}

.fact {
  padding-left: 26px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.fact:first-child {
  padding-left: 0;
  border-left: 0;
}

.fact strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(23px, 2.3vw, 31px);
  font-weight: 600;
  line-height: 1.25;
  color: #fff;
  letter-spacing: 0.02em;
}

.fact .fact-text {
  font-size: clamp(18px, 1.7vw, 24px);
  color: var(--gold-bright);
}

.fact span {
  display: block;
  margin-top: 7px;
  color: rgba(222, 235, 246, 0.58);
  font-size: 12.5px;
  letter-spacing: 0.04em;
}

.js .hero-copy > * {
  opacity: 0;
  animation: heroIn 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.js .hero-copy > *:nth-child(1) { animation-delay: 0.08s; }
.js .hero-copy > *:nth-child(2) { animation-delay: 0.16s; }
.js .hero-copy > *:nth-child(3) { animation-delay: 0.26s; }
.js .hero-copy > *:nth-child(4) { animation-delay: 0.36s; }
.js .hero-copy > *:nth-child(5) { animation-delay: 0.44s; }

.js .hero-aside {
  opacity: 0;
  animation: heroIn 1s 0.46s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Reality ---------- */

.reality {
  background: linear-gradient(180deg, #f7f8fa 0%, #f1f5f9 100%);
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink);
}

.pain-item {
  padding: 26px 28px 0;
  border-right: 1px solid var(--line);
}

.pain-item:first-child {
  padding-left: 0;
}

.pain-item:last-child {
  padding-right: 0;
  border-right: 0;
}

.pain-no {
  display: block;
  color: var(--gold-ink);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.pain-item h3 {
  margin: 12px 0 9px;
  font-family: var(--serif);
  font-size: clamp(20px, 1.8vw, 23px);
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
}

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

.pullquote {
  margin-top: clamp(48px, 6vw, 72px);
  padding-left: clamp(20px, 3vw, 30px);
  border-left: 2px solid var(--gold);
}

.pullquote p {
  max-width: 970px;
  font-family: var(--serif);
  font-size: clamp(21px, 2.5vw, 30px);
  font-weight: 600;
  line-height: 1.68;
  color: var(--ink);
}

.pullquote-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.8;
}

/* ---------- Services ---------- */

.services {
  background: #fff;
  border-top: 1px solid rgba(13, 38, 64, 0.06);
}

.service-row {
  display: grid;
  grid-template-columns: 70px minmax(0, 1.02fr) minmax(0, 0.98fr) minmax(180px, 0.58fr);
  gap: clamp(24px, 3.2vw, 52px);
  align-items: start;
  padding-block: clamp(32px, 4vw, 50px);
  border-top: 1px solid var(--line);
  scroll-margin-top: 104px;
}

.service-row:last-of-type {
  border-bottom: 1px solid var(--line);
}

.service-no {
  padding-top: 2px;
  color: var(--gold-ink);
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  line-height: 1;
}

.service-main h3 {
  margin-bottom: 11px;
  font-family: var(--serif);
  font-size: clamp(23px, 2.25vw, 30px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  transition: color 0.25s ease;
}

.service-main p {
  max-width: 390px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.service-list {
  display: grid;
  gap: 7px;
  padding-top: 4px;
}

.service-list li {
  position: relative;
  padding-left: 16px;
  color: #34485e;
  font-size: 15px;
  line-height: 1.75;
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 6px;
  height: 1px;
  background: var(--gold);
}

.service-fit {
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.service-fit span {
  color: var(--gold-ink);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.service-fit p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.service-row:hover .service-main h3 {
  color: var(--blue-deep);
}

.service-disclaimer {
  margin-top: 22px;
  color: #5f6f82;
  font-size: 13px;
  line-height: 1.8;
}

/* ---------- Method ---------- */

.method {
  background: #081b2f;
  color: #fff;
  overflow: hidden;
}

.method::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(160, 198, 226, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(160, 198, 226, 0.055) 1px, transparent 1px);
  background-size: 84px 84px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  pointer-events: none;
}

.method-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.7fr);
  gap: clamp(40px, 7vw, 100px);
}

.method h2 {
  margin-bottom: 22px;
  color: #fff;
}

.method-lead {
  max-width: 580px;
  margin-bottom: 44px;
  color: rgba(224, 237, 248, 0.68);
  font-size: 15.5px;
  line-height: 1.95;
}

.steps li {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 22px;
  padding-bottom: 34px;
}

.steps li:last-child {
  padding-bottom: 0;
}

.step-no {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(226, 193, 132, 0.55);
  background: #081b2f;
  color: var(--gold-bright);
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.steps li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 42px;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, rgba(226, 193, 132, 0.32), rgba(226, 193, 132, 0.06));
}

.steps h3 {
  margin: 8px 0 5px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.45;
  color: #fff;
}

.steps p {
  max-width: 540px;
  color: rgba(220, 234, 246, 0.66);
  font-size: 14.5px;
  line-height: 1.85;
}

.method-side {
  position: sticky;
  top: 120px;
  align-self: start;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.side-kicker {
  margin-bottom: 10px;
  color: var(--gold-bright);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.method-side h3 {
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: clamp(22px, 2.1vw, 28px);
  font-weight: 600;
  line-height: 1.45;
  color: #fff;
}

.four-looks > div {
  padding: 17px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.four-looks dt {
  margin-bottom: 5px;
  color: var(--gold-bright);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
}

.four-looks dd {
  color: rgba(220, 234, 246, 0.6);
  font-size: 13.5px;
  line-height: 1.8;
}

.method-cta {
  margin-top: 28px;
}

.method-cta p {
  margin-bottom: 14px;
  color: rgba(220, 234, 246, 0.55);
  font-size: 13px;
}

/* ---------- Team ---------- */

.team {
  background: var(--paper);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3.5vw, 46px);
}

.lawyer {
  min-width: 0;
}

.lawyer-photo {
  position: relative;
  isolation: isolate;
  aspect-ratio: 4 / 5;
  margin-bottom: 24px;
  overflow: hidden;
  background: #ffffff;
}

.lawyer-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.7s ease;
}

.lawyer:hover .lawyer-photo img {
  transform: scale(1.02);
}

.lawyer-no {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 4px 7px;
  background: rgba(255, 255, 255, 0.56);
  color: rgba(10, 32, 55, 0.72);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.4;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.lawyer-name {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-top: 15px;
  border-top: 1px solid var(--ink);
}

.lawyer-name h3 {
  font-family: var(--serif);
  font-size: clamp(24px, 2.2vw, 28px);
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}

.lawyer-name span {
  color: var(--gold-ink);
  font-size: 11.5px;
  letter-spacing: 0.12em;
}

.lawyer-role {
  margin: 4px 0 13px;
  color: var(--muted);
  font-size: 12.5px;
  letter-spacing: 0.04em;
}

.lawyer-desc {
  color: var(--muted-strong);
  font-size: 14.5px;
  line-height: 1.9;
}

.lawyer-focus {
  margin-top: 15px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: #6c7c8e;
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: 0.03em;
}

.team-note {
  max-width: 940px;
  margin-top: 34px;
  color: #657486;
  font-size: 12.5px;
  line-height: 1.8;
}

/* ---------- Prepare ---------- */

.prepare {
  background: linear-gradient(180deg, #edf2f7 0%, #f7f9fb 100%);
}

.prepare-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(40px, 6vw, 90px);
}

.prepare-head {
  position: sticky;
  top: 120px;
  align-self: start;
}

.prepare-head h2 {
  margin-bottom: 20px;
}

.prepare-head > p:not(.eyebrow) {
  max-width: 390px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.9;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--gold);
  color: var(--blue-deep);
  font-size: 14.5px;
  font-weight: 600;
  transition: gap 0.25s ease, color 0.25s ease;
}

.text-link:hover {
  gap: 13px;
  color: var(--ink);
}

.materials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(22px, 3.5vw, 44px);
}

.materials li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 8px;
  padding: 19px 0;
  border-top: 1px solid var(--line-strong);
}

.materials li > span {
  padding-top: 3px;
  color: var(--gold-ink);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.materials strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.6;
}

.materials small {
  display: block;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}

.commitments {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(48px, 7vw, 78px);
  border-top: 1px solid var(--ink);
}

.commitment {
  padding: 22px 26px 0 0;
  border-right: 1px solid var(--line);
}

.commitment:first-child {
  padding-left: 0;
}

.commitment:last-child {
  padding-right: 0;
  border-right: 0;
}

.commitment > span {
  color: var(--gold-ink);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.commitment h3 {
  margin: 8px 0 5px;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}

.commitment p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.8;
}

/* ---------- FAQ ---------- */

.faq {
  background: #fff;
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(40px, 6vw, 90px);
}

.faq-head {
  position: sticky;
  top: 120px;
  align-self: start;
}

.faq-head h2 {
  margin-bottom: 20px;
}

.faq-head > p:not(.eyebrow) {
  max-width: 380px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.faq-contact {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--ink);
}

.faq-contact span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 12.5px;
  letter-spacing: 0.04em;
}

.faq-contact a {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.25s ease;
}

.faq-contact a:hover {
  color: var(--gold-ink);
}

.faq-item {
  border-top: 1px solid var(--line);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  position: relative;
  display: block;
  padding: 23px 48px 23px 0;
  cursor: pointer;
  list-style: none;
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.65;
  transition: color 0.25s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--blue-deep);
}

.faq-item[open] summary {
  color: var(--blue-deep);
}

.faq-icon {
  position: absolute;
  right: 2px;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--gold);
  transition: transform 0.3s ease;
}

.faq-icon::before {
  width: 16px;
  height: 1px;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 1px;
  height: 16px;
  transform: translate(-50%, -50%);
}

.faq-item[open] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-a {
  padding: 0 54px 24px 0;
}

.faq-a p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.95;
}

/* ---------- Contact ---------- */

.contact {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(226, 193, 132, 0.45);
  background: #07182b;
  color: #fff;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 88% 20%, rgba(47, 111, 174, 0.24), transparent 70%),
    radial-gradient(ellipse 44% 70% at 4% 92%, rgba(201, 162, 90, 0.12), transparent 70%),
    linear-gradient(rgba(160, 198, 226, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(160, 198, 226, 0.045) 1px, transparent 1px);
  background-size: auto, auto, 84px 84px, 84px 84px;
  pointer-events: none;
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
}

.contact h2 {
  margin-bottom: 22px;
  color: #fff;
}

.contact-lead {
  max-width: 590px;
  color: rgba(226, 238, 248, 0.7);
  font-size: 16px;
  line-height: 1.95;
}

.contact-phone {
  display: inline-block;
  margin-top: 30px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(226, 193, 132, 0.32);
  color: var(--gold-bright);
  font-family: var(--serif);
  font-size: clamp(38px, 5.3vw, 70px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.02em;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.contact-phone:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.5);
}

.contact-hours {
  margin-top: 13px;
  color: rgba(222, 235, 246, 0.62);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 30px;
}

.contact-side {
  padding-left: clamp(26px, 3.4vw, 42px);
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-side h3 {
  margin: 8px 0 18px;
  font-family: var(--serif);
  font-size: clamp(21px, 2vw, 25px);
  font-weight: 600;
  line-height: 1.45;
  color: #fff;
}

.contact-side ul li {
  display: grid;
  grid-template-columns: 27px 1fr;
  gap: 8px;
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  color: rgba(222, 235, 246, 0.68);
  font-size: 13.5px;
  line-height: 1.8;
}

.contact-side ul li > span {
  padding-top: 2px;
  color: var(--gold-bright);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.contact-note {
  margin-top: 18px;
  color: rgba(222, 235, 246, 0.55);
  font-size: 12px;
  line-height: 1.8;
}

/* ---------- Footer ---------- */

.site-footer {
  background: #040f1b;
  color: rgba(222, 234, 244, 0.62);
  font-size: 14px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 0.68fr 0.68fr 1.15fr;
  gap: clamp(28px, 4vw, 56px);
  padding-block: clamp(56px, 7vw, 84px) clamp(36px, 5vw, 52px);
}

.brand-footer {
  margin-bottom: 18px;
}

.footer-brand p {
  max-width: 330px;
  color: rgba(222, 234, 244, 0.58);
  font-size: 13px;
  line-height: 1.9;
}

.footer-brand .footer-brand-note {
  margin-top: 14px;
  color: rgba(226, 193, 132, 0.62);
  font-size: 11.5px;
  letter-spacing: 0.08em;
}

.footer-col h3 {
  margin-bottom: 16px;
  color: var(--gold-bright);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.footer-col ul li {
  margin-bottom: 9px;
}

.footer-col ul a {
  color: rgba(222, 234, 244, 0.64);
  font-size: 14px;
  line-height: 1.7;
  transition: color 0.25s ease;
}

.footer-col ul a:hover,
.footer-contact a:hover {
  color: var(--gold-bright);
}

.footer-contact address {
  margin-bottom: 12px;
  color: rgba(238, 245, 251, 0.82);
  font-size: 13.5px;
  line-height: 2;
}

.footer-contact p {
  margin-bottom: 5px;
  font-size: 13.5px;
  line-height: 1.8;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 21px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(222, 234, 244, 0.5);
  font-size: 12.5px;
}

.footer-bottom p a {
  color: rgba(222, 234, 244, 0.52);
  transition: color 0.25s ease;
}

.footer-bottom p a:hover {
  color: var(--gold-bright);
}

.footer-index {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.footer-index a {
  color: rgba(226, 193, 132, 0.78);
  font-size: 12.5px;
  letter-spacing: 0.03em;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(226, 193, 132, 0.3);
  transition: color 0.25s ease, text-decoration-color 0.25s ease;
}

.footer-index a:hover {
  color: var(--gold-bright);
  text-decoration-color: var(--gold-bright);
}

.footer-disclaimer {
  padding-block: 20px 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-disclaimer p {
  max-width: 1060px;
  color: rgba(222, 234, 244, 0.55);
  font-size: 12.5px;
  line-height: 1.85;
}

/* ---------- Mobile bar ---------- */

.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  display: none;
  grid-template-columns: 1fr 1fr;
  padding-bottom: env(safe-area-inset-bottom);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(5, 17, 30, 0.97);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.mobile-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 58px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.mobile-bar-call {
  background: var(--gold);
  color: var(--ink);
}

.mobile-bar-call:active {
  background: var(--gold-bright);
}

.mobile-bar-consult {
  color: #fff;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }
}

@media (max-width: 1100px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 142px;
  }

  .hero-copy {
    max-width: 820px;
  }

  .hero-aside {
    display: none;
  }
}

@media (max-width: 1024px) {
  .section-head {
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
  }

  .section-intro {
    max-width: 700px;
  }

  .pain-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pain-item {
    padding: 24px 24px 26px;
    border-bottom: 1px solid var(--line);
  }

  .pain-item:nth-child(odd) {
    padding-left: 0;
  }

  .pain-item:nth-child(even) {
    border-right: 0;
  }

  .pain-item:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .method-grid,
  .prepare-grid,
  .faq-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .method-side,
  .prepare-head,
  .faq-head {
    position: static;
  }

  .method-side {
    max-width: 760px;
  }

  .contact-side {
    padding-top: 30px;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-left: 0;
  }

  .footer-top {
    grid-template-columns: 1.3fr 0.7fr 0.7fr;
  }

  .footer-contact {
    grid-column: 1 / -1;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
}

@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .lawyer {
    display: grid;
    grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
    gap: clamp(22px, 4vw, 34px);
    align-items: start;
  }

  .lawyer-photo {
    margin-bottom: 0;
    aspect-ratio: 4 / 5;
  }

  .service-row {
    grid-template-columns: 44px 1fr;
    gap: 4px 20px;
    padding-block: 30px;
  }

  .service-no {
    grid-column: 1;
    grid-row: 1;
    font-size: 26px;
  }

  .service-main {
    grid-column: 2;
    grid-row: 1;
  }

  .service-main h3 {
    margin-bottom: 7px;
  }

  .service-list {
    grid-column: 2;
    grid-row: 2;
    margin-top: 4px;
  }

  .service-fit {
    grid-column: 2;
    grid-row: 3;
    margin-top: 10px;
    padding-top: 13px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (max-width: 860px) {
  .mobile-bar {
    display: grid;
  }

  .hero {
    padding-bottom: calc(58px + env(safe-area-inset-bottom));
  }

  .footer-disclaimer {
    padding-bottom: calc(82px + env(safe-area-inset-bottom));
  }

  .header-phone {
    display: none;
  }

  .header-call-icon {
    display: flex;
  }
}

@media (max-width: 820px) {
  .hero-facts .facts-grid {
    grid-template-columns: 1fr 1fr;
    padding-block: 6px 12px;
  }

  .fact,
  .fact:first-child {
    padding: 15px 0 15px 18px;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
  }

  .fact:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .fact:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
}

@media (max-width: 760px) {
  .section {
    scroll-margin-top: 72px;
  }

  .team-grid {
    gap: 34px;
  }

  .materials {
    grid-template-columns: 1fr;
  }

  .commitments {
    grid-template-columns: 1fr 1fr;
  }

  .commitment {
    padding: 20px 20px 20px 0;
    border-bottom: 1px solid var(--line);
  }

  .commitment:nth-child(even) {
    padding-left: 20px;
    padding-right: 0;
    border-right: 0;
  }

  .commitment:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-contact {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hero h1 {
    font-size: clamp(38px, 9.8vw, 58px);
  }
}

@media (max-width: 640px) {
  .header-inner {
    height: 68px;
    gap: 14px;
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand-mark svg {
    width: 22px;
    height: 22px;
  }

  .brand-text strong {
    font-size: 13.5px;
    letter-spacing: 0.04em;
  }

  .brand-text small {
    font-size: 7px;
    letter-spacing: 0.16em;
  }

  .header-call-icon,
  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  .header-actions {
    gap: 10px;
  }

  .mobile-menu {
    padding-top: 96px;
  }

  .hero-inner {
    padding-top: 104px;
    padding-bottom: 24px;
  }

  .hero .eyebrow {
    margin-bottom: 20px;
    font-size: 11px;
    letter-spacing: 0.1em;
  }

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

  .hero h1 span {
    white-space: normal;
  }

  .hero-bg {
    object-position: 72% center;
  }

  .hero-lead {
    margin-bottom: 24px;
    font-size: 15.5px;
    line-height: 1.9;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-trust {
    gap: 7px 18px;
    margin-top: 18px;
    font-size: 13px;
  }

  .hero-facts {
    margin-top: 4px;
  }

  .fact strong {
    font-size: 22px;
  }

  .fact .fact-text {
    font-size: 17px;
  }

  .fact span {
    font-size: 12px;
  }

  h2 {
    font-size: clamp(27px, 7.8vw, 36px);
  }

  .section {
    padding-block: 64px;
  }

  .section-head {
    margin-bottom: 34px;
  }

  .section-intro p {
    font-size: 15px;
  }

  .pain-grid {
    grid-template-columns: 1fr;
  }

  .pain-item,
  .pain-item:nth-child(odd),
  .pain-item:nth-child(even) {
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .pain-item:last-child {
    border-bottom: 0;
  }

  .pullquote {
    margin-top: 40px;
  }

  .pullquote p {
    font-size: 20px;
  }

  .service-row {
    grid-template-columns: 32px 1fr;
    gap: 4px 13px;
  }

  .service-no {
    font-size: 24px;
  }

  .service-list li {
    font-size: 15px;
  }

  .service-disclaimer {
    font-size: 12.5px;
  }

  .method-grid {
    gap: 48px;
  }

  .steps li {
    grid-template-columns: 44px 1fr;
    gap: 16px;
    padding-bottom: 28px;
  }

  .step-no {
    width: 36px;
    height: 36px;
    font-size: 12px;
  }

  .steps li:not(:last-child)::before {
    left: 17px;
    top: 36px;
  }

  .steps h3 {
    margin-top: 3px;
    font-size: 18px;
  }

  .lawyer {
    display: block;
  }

  .lawyer-photo {
    aspect-ratio: 4 / 3;
    margin-bottom: 22px;
  }

  .lawyer-photo img {
    object-position: center 22%;
  }

  .lawyer-name h3 {
    font-size: 25px;
  }

  .lawyer-desc {
    font-size: 15px;
  }

  .commitments {
    grid-template-columns: 1fr;
  }

  .commitment,
  .commitment:nth-child(even) {
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .commitment:last-child {
    border-bottom: 0;
  }

  .faq-item summary {
    padding: 19px 38px 19px 0;
    font-size: 16px;
  }

  .faq-a {
    padding: 0 10px 20px 0;
  }

  .faq-a p {
    font-size: 15px;
  }

  .faq-head > p:not(.eyebrow) {
    font-size: 14.5px;
  }

  .contact-phone {
    font-size: clamp(36px, 10.5vw, 46px);
    margin-top: 24px;
  }

  .contact-actions {
    flex-direction: column;
  }

  .contact-actions .btn {
    width: 100%;
  }

  .contact-side ul li {
    font-size: 13px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-brand,
  .footer-contact {
    grid-column: auto;
  }

  .footer-col {
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .footer-brand {
    padding-top: 0;
    border-top: 0;
  }

  .footer-col h3 {
    margin-bottom: 12px;
  }

  .footer-col ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 18px;
  }

  .footer-bottom {
    font-size: 12.5px;
    line-height: 1.8;
  }

  .footer-index {
    gap: 8px 18px;
  }

  .footer-disclaimer p {
    font-size: 12.5px;
  }
}

@media (max-width: 380px) {
  .brand-text strong {
    font-size: 12.5px;
  }

  .brand-text small {
    display: none;
  }

  .hero h1 {
    font-size: 36px;
  }

  .btn {
    padding-inline: 18px;
    font-size: 14px;
  }

  .hero-trust {
    display: grid;
    gap: 5px;
  }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .js .hero-copy > *,
  .js .hero-aside {
    opacity: 1;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
