/* ============================================================
   Tina Z. Jin Law Office — v2 (Verma-inspired layout)
   Uses styles.css as base; adds v2- prefixed components.
   ============================================================ */

:root {
  --v2-font-display: "Cinzel", "Playfair Display", "Times New Roman", serif;
  --v2-font-sub: "Playfair Display", "Times New Roman", serif;
  --v2-navy: #1e2d49;
  --v2-navy-deep: #14223a;
  --v2-blue: #30a1d1;
  --v2-blue-deep: #003c8a;
}

.v2-body { padding-top: 0; }

/* ---------- Top utility bar ---------- */
.v2-topbar {
  background: var(--v2-navy);
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  padding: 8px 0;
}

.v2-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.v2-topbar a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  transition: color 0.2s;
}

.v2-topbar a:hover { color: var(--gold-light); }

.v2-topbar-left,
.v2-topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.v2-topbar-sep {
  opacity: 0.4;
}

.v2-topbar-phone {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.v2-topbar-key {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.6;
}

@media (max-width: 700px) {
  .v2-topbar { font-size: 12px; }
  .v2-topbar-inner { justify-content: center; }
  .v2-topbar-left { display: none; }
}

/* ---------- Header tweaks ---------- */
.v2-header {
  position: sticky;
  top: 0;
  z-index: 50;
}

.v2-primary-nav {
  display: flex;
  gap: 4px;
  align-items: center;
}

.v2-primary-nav a {
  font-family: var(--font-sans);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

html[lang="zh"] .v2-primary-nav a {
  font-family: var(--font-zh);
  letter-spacing: 0.04em;
}

/* Nav item with optional dropdown */
.v2-nav-item {
  position: relative;
  padding: 26px 12px;
}

.v2-nav-item > a {
  display: inline-block;
  padding: 6px 0;
  transition: color 0.2s ease;
  position: relative;
}

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

.v2-nav-item:hover > a {
  color: var(--red-deep);
}

.v2-nav-item:hover > a::after {
  width: 100%;
  left: 0;
}

/* Dropdown caret */
.v2-nav-item:has(.v2-dropdown) > a::before {
  content: "▾";
  font-size: 9px;
  margin-right: 6px;
  opacity: 0.5;
  transition: transform 0.2s ease;
  display: inline-block;
}

.v2-nav-item:hover > a::before {
  opacity: 1;
  transform: translateY(1px);
}

/* The dropdown panel */
.v2-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 260px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 14px 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 100;
}

.v2-dropdown::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: var(--paper);
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.v2-nav-item:hover .v2-dropdown,
.v2-nav-item:focus-within .v2-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.v2-dropdown a {
  display: block;
  padding: 9px 24px;
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 500;
  color: var(--ink);
  border-left: 2px solid transparent;
  transition: all 0.15s ease;
}

html[lang="zh"] .v2-dropdown a {
  letter-spacing: 0;
}

.v2-dropdown a:hover {
  background: var(--cream);
  color: var(--red-deep);
  border-left-color: var(--red);
  padding-left: 28px;
}

.v2-dropdown-divider {
  display: block;
  height: 1px;
  background: var(--line);
  margin: 8px 16px;
}

/* Hide nav on small screens (mobile menu would need JS) */
@media (max-width: 1100px) {
  .v2-primary-nav { display: none; }
}

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

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

.v2-hero-inner {
  position: relative;
  text-align: center;
  max-width: 920px;
}

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

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

.v2-eyebrow-center {
  display: block;
  text-align: center;
}

.v2-eyebrow-light {
  color: var(--gold-light);
}

.v2-display {
  font-family: var(--v2-font-display);
  font-weight: 600;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.1;
  letter-spacing: 0.005em;
  color: var(--ink);
  margin-bottom: 36px;
  text-transform: uppercase;
}

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

.v2-display-line {
  display: block;
}

.v2-display-italic {
  font-family: var(--v2-font-sub);
  font-style: italic;
  font-weight: 500;
  text-transform: none;
  color: var(--red-deep);
  letter-spacing: -0.005em;
}

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

.v2-hero-sub {
  font-size: 18px;
  color: var(--ink-soft);
  line-height: 1.75;
  max-width: 820px;
  margin: 0 auto 44px;
}

.v2-hero-sub a {
  color: var(--red-deep);
  text-decoration: none;
  border-bottom: 1px solid rgba(184, 36, 44, 0.3);
  transition: border-color 0.2s ease;
  font-weight: 500;
}

.v2-hero-sub a:hover {
  border-bottom-color: var(--red);
  color: var(--red);
}

.v2-hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.v2-hero-phone {
  color: var(--ink);
  font-size: 16px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.v2-hero-phone strong {
  font-family: var(--v2-font-display);
  font-size: 19px;
  letter-spacing: 0.02em;
  margin-left: 4px;
}

.v2-hero-phone:hover { color: var(--red); }

/* Override trust strip slightly for v2 */
.v2-trust { border-top: 0; }

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

.v2-section-cream { background: var(--cream); }
.v2-section-paper { background: var(--paper); }
.v2-section-dark { background: var(--charcoal); color: #fff; }

.v2-section-head {
  text-align: center;
  margin-bottom: 72px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.v2-section-head-light .v2-h2 { color: #fff; }

.v2-h2 {
  font-family: var(--v2-font-display);
  font-weight: 600;
  font-size: clamp(32px, 4.5vw, 50px);
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin-bottom: 20px;
  text-transform: uppercase;
}

html[lang="zh"] .v2-h2 {
  font-family: var(--font-zh);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
}

.v2-h2-light { color: #fff; }
.v2-h2-left { text-align: left; }

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

.v2-section-sub-light { color: rgba(255, 255, 255, 0.78); }

/* ---------- Practice grid (5 cards: 3 + 2 centered) ---------- */
.v2-practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
}

.v2-practice-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.v2-practice-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(184, 36, 44, 0.25);
}

.v2-practice-card-featured {
  border-color: var(--red-deep);
  background: linear-gradient(180deg, var(--paper) 0%, #fffafa 100%);
}

.v2-practice-icon {
  width: 64px;
  height: 64px;
  color: var(--red-deep);
  margin-bottom: 22px;
  transition: transform 0.3s ease;
}

.v2-practice-card:hover .v2-practice-icon { transform: scale(1.08); }

.v2-practice-icon svg { width: 100%; height: 100%; }

.v2-practice-card h3 {
  font-family: var(--v2-font-display);
  font-weight: 600;
  font-size: 21px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink);
  margin-bottom: 14px;
}

html[lang="zh"] .v2-practice-card h3 {
  font-family: var(--font-zh);
  text-transform: none;
  letter-spacing: 0;
}

.v2-practice-card p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: 20px;
  flex: 1;
}

.v2-practice-link {
  font-family: var(--v2-font-sub);
  font-style: italic;
  color: var(--red-deep);
  font-size: 15px;
  font-weight: 500;
  margin-top: auto;
}

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

/* 4 cards in one row */
.v2-practice-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.v2-practice-grid > * { grid-column: auto; }

/* ---------- Testimonials ---------- */
.v2-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 32px;
}

.v2-testimonial {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border-left: 4px solid var(--red);
  position: relative;
}

.v2-testimonial-stars {
  color: var(--gold);
  letter-spacing: 4px;
  font-size: 16px;
  margin-bottom: 16px;
}

.v2-testimonial-quote {
  font-family: var(--v2-font-sub);
  font-style: italic;
  font-size: 16px;
  color: var(--ink);
  line-height: 1.6;
  margin-bottom: 18px;
}

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

.v2-testimonial-author {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

.v2-testimonial-note {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
}

/* ---------- Team ---------- */
.v2-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.v2-team-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.v2-team-card:not(.v2-team-card-placeholder):hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.v2-team-card-placeholder {
  background: var(--cream);
  border-style: dashed;
}

.v2-team-photo-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ink) 0%, #2a2a2d 100%);
}

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

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

.v2-team-photo-empty svg { width: 50%; height: 50%; }

.v2-team-info {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.v2-team-name {
  font-family: var(--v2-font-display);
  font-weight: 600;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: 4px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

html[lang="zh"] .v2-team-name {
  font-family: var(--font-zh);
  text-transform: none;
  letter-spacing: 0;
}

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

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

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

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

.v2-team-bio {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
}

.v2-team-cta {
  font-family: var(--v2-font-sub);
  font-style: italic;
  color: var(--red-deep);
  font-size: 15px;
  font-weight: 500;
  margin-top: auto;
  align-self: flex-start;
}

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

/* ---------- Why hire us ---------- */
.v2-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}

.v2-why-item {
  text-align: left;
}

.v2-why-num {
  font-family: var(--v2-font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 52px;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.7;
}

.v2-why-item h3 {
  font-family: var(--v2-font-display);
  font-weight: 600;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.3;
}

html[lang="zh"] .v2-why-item h3 {
  font-family: var(--font-zh);
  text-transform: none;
  letter-spacing: 0;
}

.v2-why-item p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

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

.v2-contact-info .v2-h2 {
  margin-bottom: 20px;
}

.v2-contact-lead {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 32px;
}

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

.v2-contact-list li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
  font-size: 15px;
}

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

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

.v2-contact-list a {
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}

.v2-contact-list a:hover { color: var(--red); }

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

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

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

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

.v2-contact-form input,
.v2-contact-form textarea,
.v2-contact-form select {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 12px 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, box-shadow 0.2s;
}

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

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

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

/* ---------- Footer ---------- */
.v2-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  padding-top: 64px;
}

.v2-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.v2-footer-col h4 {
  font-family: var(--v2-font-display);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold-light);
  margin-bottom: 18px;
}

html[lang="zh"] .v2-footer-col h4 {
  font-family: var(--font-zh);
  letter-spacing: 0.08em;
}

.v2-footer-col ul {
  list-style: none;
}

.v2-footer-col li {
  padding: 5px 0;
  font-size: 14px;
}

.v2-footer-col a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: color 0.2s ease;
}

.v2-footer-col a:hover { color: var(--gold-light); }

.v2-footer-logo {
  height: 44px;
  filter: brightness(1.05);
  margin-bottom: 16px;
}

.v2-footer-tagline {
  font-family: var(--v2-font-sub);
  font-style: italic;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  max-width: 280px;
}

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

.v2-footer-address {
  font-style: normal;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.78);
}

.v2-footer-address a {
  color: rgba(255, 255, 255, 0.95);
}

.v2-footer-bottom {
  padding: 24px 0;
  background: var(--charcoal);
}

.v2-footer-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
}

.v2-footer-disclaimer {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
  max-width: 880px;
}

/* ---------- Sub-page hero & article layout ---------- */
.v2-page-hero {
  background: var(--cream);
  padding: 50px 0 60px;
  border-bottom: 1px solid var(--line);
}

.v2-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 24px;
  color: var(--muted);
  flex-wrap: wrap;
}

.v2-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.v2-breadcrumb a:hover { color: var(--red); }

.v2-breadcrumb-sep { opacity: 0.5; }

.v2-breadcrumb-current { color: var(--ink); font-weight: 500; }

.v2-page-title {
  font-family: var(--v2-font-display);
  font-weight: 600;
  font-size: clamp(36px, 5vw, 56px);
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 24px;
}

html[lang="zh"] .v2-page-title {
  font-family: var(--font-zh);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
}

.v2-page-lede {
  font-size: 18px;
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 760px;
}

.v2-article {
  background: var(--paper);
  padding: 80px 0;
}

.v2-article-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  align-items: start;
}

.v2-article-body {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  max-width: 760px;
}

.v2-article-body > p {
  margin-bottom: 22px;
  color: var(--ink-soft);
}

.v2-article-h2 {
  font-family: var(--v2-font-display);
  font-weight: 600;
  font-size: clamp(24px, 3vw, 30px);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin: 48px 0 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--red);
  display: inline-block;
}

html[lang="zh"] .v2-article-h2 {
  font-family: var(--font-zh);
  text-transform: none;
  letter-spacing: 0;
}

.v2-article-body > h2:first-child { margin-top: 0; }

.v2-article-list {
  list-style: none;
  margin: 16px 0 24px;
}

.v2-article-list li {
  position: relative;
  padding: 8px 0 8px 24px;
  color: var(--ink-soft);
}

.v2-article-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 12px;
  height: 1px;
  background: var(--red);
}

.v2-stage {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  align-items: start;
  margin: 24px 0;
  padding-bottom: 24px;
  border-bottom: 1px dashed var(--line);
}

.v2-stage:last-of-type { border-bottom: 0; }

.v2-stage-num {
  font-family: var(--v2-font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 36px;
  color: var(--red);
  line-height: 1;
  opacity: 0.85;
}

.v2-stage h3 {
  font-family: var(--v2-font-display);
  font-weight: 600;
  font-size: 19px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: 10px;
}

html[lang="zh"] .v2-stage h3 {
  font-family: var(--font-zh);
  text-transform: none;
  letter-spacing: 0;
}

.v2-stage p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

/* ---------- Article sidebar ---------- */
.v2-article-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 100px;
}

.v2-side-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.v2-side-card h4 {
  font-family: var(--v2-font-display);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

html[lang="zh"] .v2-side-card h4 {
  font-family: var(--font-zh);
  text-transform: none;
  letter-spacing: 0.04em;
}

.v2-side-card ul {
  list-style: none;
}

.v2-side-card li {
  padding: 6px 0;
  font-size: 14px;
}

.v2-side-card a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s ease;
}

.v2-side-card a:hover { color: var(--red); }

.v2-side-active {
  color: var(--red-deep) !important;
  font-weight: 600;
}

.v2-side-card-dark {
  background: var(--charcoal);
  color: #fff;
}

.v2-side-card-dark h4 {
  color: var(--gold-light);
  border-bottom-color: rgba(255, 255, 255, 0.15);
}

.v2-side-card-dark p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
  margin-bottom: 20px;
}

.v2-side-card-dark .btn { margin-bottom: 20px; }

.v2-side-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
}

.v2-side-contact a {
  color: rgba(255, 255, 255, 0.92);
}

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

@media (max-width: 1024px) {
  .v2-article-grid { grid-template-columns: 1fr; gap: 40px; }
  .v2-article-side { position: static; }
}

@media (max-width: 700px) {
  .v2-article { padding: 50px 0; }
  .v2-article-body { font-size: 16px; }
  .v2-stage { grid-template-columns: 40px 1fr; gap: 16px; }
  .v2-stage-num { font-size: 28px; }
}

/* ---------- Pay Online card ---------- */
.pay-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  margin: 24px 0 32px;
  box-shadow: var(--shadow);
  position: relative;
}

.pay-card::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;
}

.pay-card-header {
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.pay-card-eyebrow {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 8px;
}

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

.pay-card-title {
  font-family: var(--v2-font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 24px;
  color: var(--ink);
  letter-spacing: -0.005em;
}

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

.pay-options {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px dashed var(--line);
}

.pay-options:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 16px;
}

.pay-btn {
  width: 100%;
  margin-bottom: 12px;
  padding: 16px 28px;
  font-size: 15px;
}

.pay-option-desc {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
}

.pay-card-note {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
  text-align: center;
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

html[lang="zh"] .pay-card-note { font-style: normal; }

/* ---------- Mobile menu ---------- */
.v2-mobile-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.v2-mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.v2-mobile-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.v2-mobile-toggle.is-open span:nth-child(2) { opacity: 0; }
.v2-mobile-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1100px) {
  .v2-mobile-toggle { display: flex; }
}

/* Mobile menu drawer */
.v2-mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 88%;
  max-width: 380px;
  height: 100dvh;
  background: var(--paper);
  box-shadow: -10px 0 40px rgba(14,14,16,0.18);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 200;
  overflow-y: auto;
  padding: 24px 0;
  display: flex;
  flex-direction: column;
}

.v2-mobile-menu.is-open { transform: translateX(0); }

.v2-mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14,14,16,0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 199;
}

.v2-mobile-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

body.menu-open { overflow: hidden; }

.v2-mobile-brand {
  padding: 0 24px 20px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.v2-mobile-brand img { height: 36px; width: auto; }

.v2-mobile-link {
  display: block;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--line);
}

html[lang="zh"] .v2-mobile-link {
  letter-spacing: 0.02em;
}

.v2-mobile-link:hover { color: var(--red); }

.v2-mobile-section {
  border-bottom: 1px solid var(--line);
}

.v2-mobile-section > summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
  user-select: none;
}

html[lang="zh"] .v2-mobile-section > summary {
  letter-spacing: 0.02em;
}

.v2-mobile-section > summary::-webkit-details-marker { display: none; }

.v2-mobile-section > summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 300;
  color: var(--muted);
  transition: transform 0.2s ease;
}

.v2-mobile-section[open] > summary::after {
  content: "−";
  transform: translateY(-50%);
}

.v2-mobile-section[open] > summary {
  color: var(--red-deep);
}

.v2-mobile-section a {
  display: block;
  padding: 11px 24px 11px 40px;
  font-size: 14px;
  color: var(--ink-soft);
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0;
  border-top: 1px solid var(--line);
}

.v2-mobile-section a:hover {
  color: var(--red);
  background: var(--cream);
}

.v2-mobile-divider {
  height: 1px;
  background: var(--line);
  margin: 0 24px;
  padding: 0;
}

.v2-mobile-footer {
  margin-top: auto;
  padding: 20px 24px;
  border-top: 1px solid var(--line);
  background: var(--cream);
}

.v2-mobile-footer a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
}

.v2-mobile-footer a:first-child { font-weight: 600; }

/* ---------- Resource cards ---------- */
.resource-group {
  margin-bottom: 56px;
}

.resource-group:last-of-type { margin-bottom: 32px; }

.resource-group .v2-article-h2 {
  margin-bottom: 28px;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.resource-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}

.resource-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(184, 36, 44, 0.25);
}

.resource-card h3 {
  font-family: var(--v2-font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.005em;
}

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

.resource-card p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: 16px;
  flex: 1;
}

.resource-url {
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
  color: var(--red-deep);
  letter-spacing: 0.02em;
  margin-top: auto;
}

.resource-card:hover .resource-url {
  color: var(--red);
}

.resource-disclaimer {
  margin-top: 24px;
  padding: 20px 24px;
  background: var(--cream);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.65;
  font-style: italic;
}

html[lang="zh"] .resource-disclaimer { font-style: normal; }

@media (max-width: 700px) {
  .resource-grid { grid-template-columns: 1fr; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .v2-practice-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .v2-practice-grid > * { grid-column: auto; }
  .v2-practice-grid > :nth-child(4),
  .v2-practice-grid > :nth-child(5) { grid-column: auto; }

  .v2-testimonial-grid { grid-template-columns: 1fr 1fr; }
  .v2-team-grid { grid-template-columns: 1fr 1fr; }
  .v2-why-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .v2-contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .v2-footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 700px) {
  .v2-hero { padding: 60px 0 70px; }
  .v2-section { padding: 70px 0; }
  .v2-display { font-size: clamp(32px, 8vw, 48px); }
  .v2-practice-grid { grid-template-columns: 1fr; }
  .v2-testimonial-grid { grid-template-columns: 1fr; }
  .v2-team-grid { grid-template-columns: 1fr; }
  .v2-why-grid { grid-template-columns: 1fr; }
  .v2-form-row { grid-template-columns: 1fr; }
  .v2-contact-list li { grid-template-columns: 1fr; gap: 4px; }
  .v2-contact-form { padding: 24px; }
  .v2-footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
