/* ============================================================
   Law Office of Tina Z. Jin
   Design system: premium law-firm aesthetic, US–China bridge
   ============================================================ */

:root {
  /* Color */
  --ink: #0e0e10;
  --ink-soft: #2a2a2e;
  --charcoal: #18181a;
  --charcoal-soft: #2a2a2d;
  --cream: #faf7f0;
  --cream-deep: #f3eee2;
  --paper: #ffffff;
  --line: #e8e3d6;
  --line-dark: #2f2f33;
  --muted: #6b6b70;
  --muted-light: #a8a8ad;

  --red: #b8242c;
  --red-deep: #8b1a1f;
  --gold: #b08a48;
  --gold-light: #c9a86a;

  /* Type */
  --font-display: "Playfair Display", "Times New Roman", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif;
  --font-zh: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, sans-serif;

  /* Layout */
  --max-width: 1180px;
  --radius: 4px;
  --radius-lg: 8px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(14, 14, 16, 0.06);
  --shadow: 0 4px 24px rgba(14, 14, 16, 0.08);
  --shadow-lg: 0 20px 60px rgba(14, 14, 16, 0.16);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
}

html[lang="zh"] body { font-family: var(--font-zh); }

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

a { color: inherit; text-decoration: none; transition: color 0.2s ease, opacity 0.2s ease; }

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Display type ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.12;
  color: var(--ink);
}

html[lang="zh"] .display {
  font-family: var(--font-zh);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.3;
}

.display-italic {
  font-style: italic;
  font-weight: 500;
  color: var(--red-deep);
}

html[lang="zh"] .display-italic {
  font-style: normal;
  color: var(--red-deep);
}

.section-label {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 20px;
  display: inline-block;
  position: relative;
  padding-left: 36px;
}

.section-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.section-label-light { color: var(--gold-light); }
.section-label-light::before { background: var(--gold-light); }

html[lang="zh"] .section-label {
  font-family: var(--font-zh);
  letter-spacing: 0.15em;
}

/* ---------- Brand logo ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.brand-logo {
  height: 44px;
  width: auto;
  display: block;
}

.brand-logo-footer {
  height: 38px;
  filter: brightness(1.05);
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 32px;
}

.primary-nav {
  display: flex;
  gap: 36px;
}

.primary-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--red);
  transition: width 0.25s ease, left 0.25s ease;
}

.primary-nav a:hover {
  color: var(--red-deep);
}

.primary-nav a:hover::after {
  width: 100%;
  left: 0;
}

.lang-toggle {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  letter-spacing: 0.05em;
  transition: all 0.2s ease;
}

.lang-toggle:hover {
  border-color: var(--red);
  color: var(--red);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: all 0.25s ease;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
}

html[lang="zh"] .btn { letter-spacing: 0.04em; text-transform: none; }

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

.btn-primary:hover {
  background: var(--red-deep);
  border-color: var(--red-deep);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

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

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

.btn-block { width: 100%; padding: 17px 30px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 110px 0 100px;
  background: linear-gradient(180deg, var(--cream) 0%, #fdfbf6 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 85% 30%, rgba(184, 36, 44, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 15% 80%, rgba(176, 138, 72, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: start;
}

.hero-text { padding-top: 8px; }

.eyebrow {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 28px;
}

html[lang="zh"] .eyebrow {
  font-family: var(--font-zh);
  letter-spacing: 0.1em;
}

.hero h1 {
  font-size: clamp(40px, 5.4vw, 68px);
  margin-bottom: 32px;
}

.lede {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 580px;
  margin-bottom: 44px;
  line-height: 1.65;
}

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

/* Hero contact card (right side) */
.hero-contact {
  position: relative;
  max-width: 440px;
  justify-self: end;
  width: 100%;
}

.hero-contact-inner {
  position: relative;
  z-index: 2;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  box-shadow: var(--shadow-lg);
}

.hero-contact-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red) 0%, var(--red) 28%, var(--ink) 28%, var(--ink) 72%, var(--red) 72%, var(--red) 100%);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.hero-contact-eyebrow {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 12px;
}

html[lang="zh"] .hero-contact-eyebrow {
  font-family: var(--font-zh);
  letter-spacing: 0.1em;
}

.hero-contact-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 26px;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 14px;
}

html[lang="zh"] .hero-contact-title {
  font-family: var(--font-zh);
  font-style: normal;
}

.hero-contact-intro {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 24px;
}

.hero-quick-contact {
  list-style: none;
  background: var(--cream);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-quick-contact li {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  align-items: baseline;
  font-size: 14px;
}

.hero-contact-key {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  font-weight: 600;
}

html[lang="zh"] .hero-contact-key { letter-spacing: 0.06em; }

.hero-quick-contact a {
  color: var(--ink);
  font-weight: 500;
}

.hero-quick-contact a:hover { color: var(--red); }

/* Form inside hero card */
.hero-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  color: var(--muted);
}

html[lang="zh"] .hero-form label { letter-spacing: 0.06em; }

.hero-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.hero-form input,
.hero-form textarea,
.hero-form select {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  background: var(--paper);
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero-form input:focus,
.hero-form textarea:focus,
.hero-form select:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(184, 36, 44, 0.08);
}

.hero-form textarea { resize: vertical; min-height: 90px; }

.hero-form button { margin-top: 6px; padding: 14px 28px; }

.hero-form .disclaimer {
  font-size: 11px;
  color: var(--muted);
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
  text-align: center;
  margin-top: 2px;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.hero-orb-1 {
  width: 75%;
  height: 75%;
  top: -10%;
  right: -15%;
  background: radial-gradient(circle at 30% 30%, rgba(184, 36, 44, 0.35) 0%, rgba(184, 36, 44, 0.05) 60%, transparent 100%);
}

.hero-orb-2 {
  width: 65%;
  height: 65%;
  bottom: -10%;
  left: -10%;
  background: radial-gradient(circle at 70% 70%, rgba(120, 140, 180, 0.4) 0%, rgba(176, 138, 72, 0.08) 60%, transparent 100%);
}

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.9);
  padding: 28px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  padding-left: 20px;
}

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

.trust-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold-light);
  font-weight: 600;
}

.trust-value {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
}

html[lang="zh"] .trust-label { letter-spacing: 0.08em; }

/* ---------- Generic section ---------- */
.section {
  padding: 120px 0;
  position: relative;
}

.section-cream { background: var(--cream); }
.section-paper { background: var(--paper); }
.section-dark { background: var(--charcoal); color: #fff; }
.section-dark .display { color: #fff; }
.section-title-light { color: #fff !important; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 80px;
  align-items: start;
}

.about-portrait {
  position: sticky;
  top: 120px;
}

.portrait-frame {
  position: relative;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.portrait-frame::before,
.portrait-frame::after {
  content: "";
  position: absolute;
  width: 32px;
  height: 32px;
  border: 2px solid var(--red);
}

.portrait-frame::before {
  top: -8px;
  left: -8px;
  border-right: 0;
  border-bottom: 0;
}

.portrait-frame::after {
  bottom: -8px;
  right: -8px;
  border-left: 0;
  border-top: 0;
}

.about-photo {
  width: 100%;
  aspect-ratio: 1 / 1.15;
  object-fit: cover;
  object-position: center 22%;
  border-radius: var(--radius);
  display: block;
}

.portrait-caption {
  text-align: center;
  margin-top: 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  color: var(--ink);
}

html[lang="zh"] .portrait-caption { font-family: var(--font-zh); }

.portrait-title {
  text-align: center;
  margin-top: 4px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  font-weight: 500;
}

html[lang="zh"] .portrait-title {
  text-transform: none;
  letter-spacing: 0.08em;
}

.about-text h2 {
  font-size: clamp(30px, 4vw, 46px);
  margin-bottom: 32px;
}

.about-text p {
  color: var(--ink-soft);
  margin-bottom: 22px;
  font-size: 17px;
  line-height: 1.75;
}

.about-text p:last-child { margin-bottom: 0; }

/* ---------- Practice areas (dark) ---------- */
.section-dark .section-label { margin-bottom: 20px; }

#practice .display {
  font-size: clamp(30px, 4vw, 46px);
  margin-bottom: 64px;
  max-width: 700px;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}

.practice-card-dark {
  background: var(--charcoal);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  transition: background 0.3s ease;
  position: relative;
}

.practice-card-dark:hover {
  background: #1f1f22;
}

.practice-card-dark:hover .practice-icon {
  color: var(--red);
  transform: translateY(-2px);
}

.practice-icon {
  width: 40px;
  height: 40px;
  color: var(--gold-light);
  margin-bottom: 24px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.practice-card-dark h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -0.005em;
}

html[lang="zh"] .practice-card-dark h3 {
  font-family: var(--font-zh);
}

.practice-card-dark ul {
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 16px;
  flex: 1;
}

.practice-card-dark li {
  padding: 7px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  position: relative;
  padding-left: 16px;
  line-height: 1.5;
}

.practice-card-dark li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 1px;
  background: var(--gold-light);
}

/* ---------- Approach ---------- */
.approach-header {
  text-align: center;
  margin-bottom: 80px;
}

.approach-header .section-label {
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
}

.approach-header .section-label::before {
  display: none;
}

.approach-header .display {
  font-size: clamp(30px, 4vw, 46px);
  max-width: 760px;
  margin: 0 auto;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px 64px;
}

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

.approach-number {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 56px;
  color: var(--red);
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.85;
}

.approach-item h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: -0.005em;
}

html[lang="zh"] .approach-item h3 { font-family: var(--font-zh); }

.approach-item p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
}

/* ---------- Team ---------- */
.team-header {
  text-align: center;
  margin-bottom: 72px;
}

.team-header .section-label {
  padding-left: 0;
  margin-left: auto;
  margin-right: auto;
}

.team-header .section-label::before { display: none; }

.team-header .display {
  font-size: clamp(30px, 4vw, 46px);
  max-width: 720px;
  margin: 0 auto 20px;
}

.team-intro {
  color: var(--ink-soft);
  font-size: 17px;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.team-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.team-card:not(.team-card-upcoming):hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(184, 36, 44, 0.2);
}

.team-card-upcoming {
  background: var(--cream);
  border-style: dashed;
  border-color: var(--line);
}

.team-photo-wrap {
  width: 140px;
  height: 140px;
  margin: 0 auto 24px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  border: 3px solid var(--paper);
  box-shadow: var(--shadow);
}

.team-card::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 32px;
  right: 32px;
  height: 140px;
  background: linear-gradient(135deg, rgba(184, 36, 44, 0.08) 0%, rgba(60, 100, 180, 0.08) 100%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.team-card-upcoming::before { display: none; }

.team-photo-wrap { position: relative; z-index: 1; }

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.team-photo-placeholder {
  width: 100%;
  height: 100%;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-light);
}

.team-photo-placeholder svg {
  width: 60%;
  height: 60%;
}

.team-info { text-align: center; flex: 1; display: flex; flex-direction: column; }

.team-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  color: var(--ink);
  letter-spacing: -0.005em;
  margin-bottom: 4px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: center;
}

html[lang="zh"] .team-name { font-family: var(--font-zh); }

.team-name-alt {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
}

html[lang="zh"] .team-name-alt { font-family: var(--font-zh); }

.team-name-muted {
  color: var(--muted);
  font-style: italic;
  font-weight: 500;
}

.team-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 22px;
}

html[lang="zh"] .team-title { letter-spacing: 0.08em; }

.team-meta {
  list-style: none;
  text-align: left;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  margin-bottom: 22px;
}

.team-meta li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 0;
  font-size: 14px;
}

.team-meta-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  font-weight: 600;
}

html[lang="zh"] .team-meta-label { letter-spacing: 0.08em; }

.team-bio {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
  text-align: left;
  margin-bottom: 22px;
  flex: 1;
}

.team-bio-muted {
  color: var(--muted);
  font-style: italic;
  text-align: center;
}

.team-link {
  display: inline-block;
  align-self: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  font-weight: 500;
  color: var(--red-deep);
  margin-top: auto;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

html[lang="zh"] .team-link { font-family: var(--font-zh); font-style: normal; }

.team-link:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.contact-info .display {
  font-size: clamp(30px, 4vw, 46px);
  margin-bottom: 28px;
}

.contact-lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.contact-list {
  list-style: none;
}

.contact-list li {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  align-items: baseline;
}

.contact-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold-light);
  font-weight: 600;
}

html[lang="zh"] .contact-label { letter-spacing: 0.08em; }

.contact-list a,
.contact-list span:not(.contact-label) {
  color: rgba(255, 255, 255, 0.95);
  font-size: 16px;
  font-weight: 400;
}

.contact-list a:hover {
  color: var(--gold-light);
}

/* Form */
.contact-form {
  background: var(--paper);
  padding: 40px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--shadow-lg);
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  color: var(--muted);
}

html[lang="zh"] .contact-form label {
  letter-spacing: 0.06em;
}

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

.contact-form input,
.contact-form textarea,
.contact-form select {
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: var(--paper);
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(184, 36, 44, 0.08);
}

.contact-form textarea { resize: vertical; min-height: 110px; }

.disclaimer {
  font-size: 12px;
  color: var(--muted);
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
  margin-top: 4px;
  text-align: center;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.65);
  padding: 56px 0 48px;
  font-size: 14px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}

.footer-copy { color: rgba(255, 255, 255, 0.75); }

.disclaimer-small {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.42);
  max-width: 780px;
  line-height: 1.65;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .section { padding: 90px 0; }
  .hero-grid { gap: 50px; }
  .about-grid { gap: 50px; }
  .practice-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { gap: 50px; }
}

@media (max-width: 768px) {
  .primary-nav { display: none; }
  .nav { min-height: 64px; }

  .hero { padding: 70px 0 60px; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-contact {
    max-width: 100%;
    justify-self: stretch;
  }
  .hero-contact-inner { padding: 28px 22px; }
  .hero-contact-list li { grid-template-columns: 90px 1fr; gap: 12px; }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .trust-item { border-left: 0; padding-left: 0; }

  .section { padding: 70px 0; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .about-portrait {
    position: static;
    max-width: 280px;
    margin: 0 auto;
  }

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

  .approach-grid { grid-template-columns: 1fr; gap: 40px; }

  .team-grid { grid-template-columns: 1fr; gap: 24px; }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .contact-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .contact-form { padding: 28px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .container { padding: 0 20px; }
  .cta-row .btn { width: 100%; }
  .brand-sub { display: none; }
}
