/* ============================================================
   ZAPATA LEGAL — styles.css
   Shared stylesheet for zapatalegal.com
   All design tokens from Briefing Section 2.
   All component specs from Briefing Section 3.
   ============================================================ */

/* ── CUSTOM PROPERTIES ───────────────────────────────────── */
:root {
  /* Colors */
  --black:      #1A1A1A;
  --ink:        #0F0F0F;
  --terra:      #C8102E;
  --terra-dark: #9E0D24;
  --cream:      #F7F5F2;
  --paper:      #F2F0ED;
  --paperdark:  #E4E2DE;
  --grey1:      #888480;
  --grey2:      #C4C2BE;
  --grey3:      #DDDBD8;

  /* Typography */
  --font-display: 'Playfair Display', serif;
  --font-body:    'IBM Plex Sans', sans-serif;
  --font-mono:    'IBM Plex Mono', monospace;
}

/* ── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.78;
  color: var(--black);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

/* ── PERFORMANCE: CONTENT VISIBILITY ────────────────────── */
.zl-gap,
.zl-services,
.zl-firm,
.zl-flf,
.zl-contact {
  content-visibility: auto;
  contain-intrinsic-size: 0 500px;
  /* content-visibility requires Safari 18+ / iOS 18+. Degrades gracefully. */
}

/* ── SVG FILTER CONTAINMENT ─────────────────────────────── */
.zl-hero-sym,
.zl-gap-cjk-zh,
.zl-firm-cjk-jp,
.zl-firm-cjk-kr,
.zl-gap-mr {
  isolation: isolate;
}

/* ── NAVIGATION ──────────────────────────────────────────── */
.zl-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid #1A1A1A22;
  padding: 16px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}

.zl-nav-wordmark {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--black);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.zl-nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.zl-nav-link {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--black);
  opacity: 0.55;
  text-decoration: none;
  white-space: nowrap;
  padding-bottom: 1px;
  border-bottom: 1px solid transparent;
  transition: opacity 0.15s;
}

.zl-nav-link:hover {
  opacity: 0.8;
}

.zl-nav-link--active {
  opacity: 1;
  border-bottom-color: var(--terra);
}

.zl-nav-cta {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--cream);
  background: var(--terra);
  padding: 7px 14px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s;
}

.zl-nav-cta:hover {
  background: var(--terra-dark);
}

/* Mobile hamburger */
.zl-nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}

.zl-nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--black);
}

/* Mobile overlay */
.zl-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--black);
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 48px 36px;
  gap: 28px;
}

.zl-nav-overlay.is-open {
  display: flex;
}

.zl-nav-overlay-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--cream);
  opacity: 0.5;
}

.zl-nav-overlay-link {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--cream);
  text-decoration: none;
  opacity: 0.85;
}

.zl-nav-overlay-link--cta {
  color: var(--terra);
  opacity: 1;
}

/* ── FOOTER ──────────────────────────────────────────────── */
.zl-footer {
  background: var(--black);
  padding: 28px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.zl-footer-wordmark {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--cream);
  opacity: 0.35;
  white-space: nowrap;
}

.zl-footer-legal {
  display: flex;
  align-items: center;
  gap: 20px;
}

.zl-footer-legal a {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--cream);
  opacity: 0.28;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.15s;
}

.zl-footer-legal a:hover {
  opacity: 0.5;
}

/* ── SECTION LABEL ───────────────────────────────────────── */
.zl-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--terra);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.zl-label--muted {
  color: var(--black);
  opacity: 0.4;
}

.zl-label--dark {
  color: var(--cream);
  opacity: 0.35;
}

/* ── EYEBROW ─────────────────────────────────────────────── */
.zl-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--terra);
  opacity: 0.85;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.zl-eyebrow--dark {
  color: var(--cream);
  opacity: 0.7;
}

/* ── TYPOGRAPHY SCALE ────────────────────────────────────── */
.zl-h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 46px);
  font-weight: 700;
  line-height: 1.18;
  color: var(--black);
}

.zl-h1--dark {
  color: var(--cream);
}

.zl-h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.2vw, 30px);
  font-weight: 700;
  line-height: 1.22;
  color: var(--black);
}

.zl-h2--dark {
  color: var(--cream);
}

.zl-h3 {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--black);
}

.zl-subhead {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.78;
  color: var(--black);
  opacity: 0.65;
  max-width: 540px;
}

.zl-subhead--dark {
  color: var(--cream);
  opacity: 1;
}

.zl-body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.78;
  color: var(--black);
}

.zl-body--muted {
  opacity: 0.58;
}

.zl-body--dark {
  color: var(--cream);
  opacity: 1;
}

.zl-body p + p {
  margin-top: 16px;
}

.zl-mono-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--cream);
  opacity: 0.25;
  text-transform: uppercase;
}

.zl-mono-meta--dark {
  color: var(--black);
  opacity: 0.35;
}

/* ── CTA BUTTON ──────────────────────────────────────────── */
.zl-btn {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--cream);
  background: var(--terra);
  padding: 11px 22px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background 0.15s;
  text-transform: none;
}

.zl-btn:hover {
  background: var(--terra-dark);
}

.zl-btn--full {
  width: 100%;
  text-align: center;
}

/* ── TERRACOTTA RULE ─────────────────────────────────────── */
.zl-terra-rule {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--terra);
  opacity: 0.5;
  margin: 20px 0;
}

.zl-terra-rule--sm {
  width: 32px;
  opacity: 0.4;
}

/* ── HERO SECTION (LIGHT) ────────────────────────────────── */
.zl-hero {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  padding: 56px 36px 52px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.zl-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.zl-hero__cta {
  margin-top: 28px;
}

.zl-hero__mono-bottom {
  position: absolute;
  bottom: 20px;
  left: 36px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--black);
  opacity: 0.3;
  text-transform: uppercase;
}

/* Hero dark variant */
.zl-hero--dark {
  background: var(--black);
}

/* Hero symbol — shared base */
.zl-hero-sym {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  right: -40px;
  top: 50%;
  transform: translateY(-50%) rotate(9deg) skewX(-3deg);
  font-family: var(--font-display);
  font-size: 260px;
  font-weight: 900;
  line-height: 1;
  color: var(--terra);
  opacity: 0.13;
  filter: url(#ink-heavy);
}

.zl-hero-sym--dark-tint {
  color: var(--black);
  opacity: 0.10;
}

.zl-hero-sym--terra-faint {
  color: var(--terra);
  opacity: 0.10;
}

/* ── THE GAP (dark section) ──────────────────────────────── */
.zl-gap {
  position: relative;
  overflow: hidden;
  background: var(--black);
  padding: 52px 36px;
}

.zl-gap__inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.zl-gap-h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.2vw, 30px);
  font-weight: 700;
  line-height: 1.22;
  color: var(--cream);
  margin-bottom: 20px;
}

.zl-gap__body {
  margin-top: 24px;
}

.zl-gap__body p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.82;
  color: var(--cream);
  opacity: 1;
}

.zl-gap__body p + p {
  margin-top: 14px;
}

/* Gap decorative elements */
.zl-gap-cjk-zh {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  top: -30px;
  left: -20px;
  font-family: 'Noto Serif SC', serif;
  font-size: 220px;
  font-weight: 900;
  line-height: 1;
  color: var(--terra);
  opacity: 0.22;
  transform: rotate(-7deg);
  filter: url(#ink-heavy);
}

.zl-gap-mr {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  bottom: -60px;
  right: -40px;
  font-family: var(--font-display);
  font-size: 280px;
  font-weight: 900;
  line-height: 1;
  color: #ffffff;
  opacity: 0.08;
  transform: rotate(-13deg) skewY(4deg);
  filter: url(#ink-dry);
}

/* ── SERVICES SECTION (homepage) ─────────────────────────── */
.zl-services {
  background: var(--paper);
  padding: 52px 36px;
}

.zl-services__header {
  margin-bottom: 32px;
}

/* 2x2 card grid */
.zl-service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: #1A1A1A22;
}

.zl-service-card {
  position: relative;
  overflow: hidden;
  background: var(--paperdark);
  padding: 28px 24px;
}

.zl-service-card__sym-bg {
  position: absolute;
  right: -8px;
  top: 12px;
  font-family: var(--font-display);
  font-size: 80px;
  font-weight: 900;
  line-height: 1;
  color: var(--black);
  opacity: 0.07;
  transform: rotate(-5deg);
  filter: url(#ink-press);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.zl-service-card__sym-fg {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  transform: rotate(-3deg) translateX(-2px);
  filter: url(#ink-press);
  display: inline-block;
  margin-bottom: 14px;
}

.zl-service-card__sym-fg--terra { color: var(--terra); }
.zl-service-card__sym-fg--dark  { color: var(--black); }

.zl-service-card__content {
  position: relative;
  z-index: 1;
}

.zl-service-card__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 10px;
  line-height: 1.3;
}

.zl-service-card__body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.78;
  color: var(--black);
  opacity: 0.55;
  margin-bottom: 16px;
}

.zl-service-card__link {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--terra);
  text-decoration: none;
  transition: opacity 0.15s;
}

.zl-service-card__link:hover {
  opacity: 0.7;
}

/* ── THE FIRM (dark section) ─────────────────────────────── */
.zl-firm {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  padding: 52px 36px;
}

.zl-firm__inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.zl-firm-cjk-jp {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  top: -30px;
  right: -20px;
  font-family: 'Noto Serif JP', serif;
  font-size: 220px;
  font-weight: 900;
  line-height: 1;
  color: var(--terra);
  opacity: 0.18;
  transform: rotate(8deg);
  filter: url(#ink-press);
}

.zl-firm-cjk-kr {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  bottom: -30px;
  left: -20px;
  font-family: 'Noto Serif KR', serif;
  font-size: 190px;
  font-weight: 900;
  line-height: 1;
  color: var(--cream);
  opacity: 0.07;
  transform: rotate(-10deg);
  filter: url(#ink-dry);
}

/* ── FOR LAW FIRMS (homepage teaser) ─────────────────────── */
.zl-flf {
  background: var(--cream);
  border-top: 1px solid #1A1A1A18;
  padding: 48px 36px;
}

.zl-flf__modes {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  color: var(--black);
  opacity: 0.35;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.zl-flf__h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 12px;
}

.zl-flf__body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.78;
  color: var(--black);
  opacity: 0.58;
  max-width: 440px;
  margin-bottom: 20px;
}

.zl-flf__link {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--terra);
  text-decoration: none;
  transition: opacity 0.15s;
}

.zl-flf__link:hover {
  opacity: 0.7;
}

/* ── CONTACT SECTION (homepage) ──────────────────────────── */
.zl-contact {
  position: relative;
  overflow: hidden;
  background: var(--paperdark);
  padding: 52px 36px;
}

.zl-contact__inner {
  position: relative;
  z-index: 2;
  max-width: 580px;
}

.zl-contact__sym {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  bottom: -40px;
  right: -40px;
  font-family: var(--font-display);
  font-size: 200px;
  font-weight: 900;
  line-height: 1;
  color: var(--black);
  opacity: 0.05;
  transform: rotate(-7deg);
  filter: url(#ink-dry);
}

/* ── CONTACT PAGE (full) ─────────────────────────────────── */
.zl-contact-full {
  background: var(--paperdark);
  padding: 52px 36px;
}

.zl-contact-full__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 900px;
}

.zl-contact-full__col-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--black);
  opacity: 0.4;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.zl-direct-row {
  margin-bottom: 20px;
}

.zl-direct-row + .zl-direct-row {
  margin-top: 16px;
}

.zl-direct-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--black);
  opacity: 0.4;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.zl-direct-value {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--black);
  opacity: 0.7;
  line-height: 1.5;
}

/* ── FORM ────────────────────────────────────────────────── */
.zl-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.zl-form__field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.zl-form__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--black);
  opacity: 0.4;
  text-transform: uppercase;
}

.zl-form input,
.zl-form textarea {
  font-family: var(--font-body);
  font-size: 16px; /* 16px min prevents iOS Safari zoom */
  font-weight: 400;
  color: var(--black);
  background: var(--paper);
  border: 1px solid #1A1A1A18;
  border-radius: 0;
  padding: 10px 12px;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  transition: border-color 0.15s;
}

.zl-form input:focus,
.zl-form textarea:focus {
  border-color: #1A1A1A55;
}

.zl-form textarea {
  height: 100px;
  resize: vertical;
}

.zl-form__submit {
  margin-top: 4px;
}

/* ── CTA SECTION (dark) ──────────────────────────────────── */
.zl-cta-dark {
  position: relative;
  overflow: hidden;
  background: var(--black);
  padding: 52px 36px;
}

.zl-cta-dark__inner {
  position: relative;
  z-index: 2;
  max-width: 540px;
}

.zl-cta-dark__sym {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  bottom: -40px;
  right: -30px;
  font-family: var(--font-display);
  font-size: 180px;
  font-weight: 900;
  line-height: 1;
  color: var(--terra);
  opacity: 0.06;
  transform: rotate(-8deg);
  filter: url(#ink-press);
}

.zl-cta-dark .zl-h2 {
  margin-bottom: 14px;
}

.zl-cta-dark .zl-body {
  margin-bottom: 28px;
}

/* ── CTA SECTION (light) ─────────────────────────────────── */
.zl-cta-light {
  background: var(--cream);
  padding: 52px 36px;
}

.zl-cta-light__inner {
  max-width: 540px;
}

.zl-cta-light .zl-h2 {
  margin-bottom: 14px;
}

.zl-cta-light .zl-body {
  margin-bottom: 28px;
}

/* ── CAPABILITIES LIST ───────────────────────────────────── */
.zl-caps-section {
  position: relative;
  overflow: hidden;
  background: var(--paperdark);
  padding: 52px 36px;
}

.zl-caps-section__sym {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  top: -10px;
  right: -20px;
  font-family: var(--font-display);
  font-size: 220px;
  font-weight: 900;
  line-height: 1;
  color: var(--black);
  opacity: 0.04;
  transform: rotate(7deg);
  filter: url(#ink-dry);
}

.zl-caps-list {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin-top: 24px;
}

.zl-caps-item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 0.5px solid #1A1A1A18;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--black);
  opacity: 0.65;
  line-height: 1.5;
}

.zl-caps-item:first-child {
  border-top: 0.5px solid #1A1A1A18;
}

.zl-caps-item::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--terra);
  opacity: 0.7;
  flex-shrink: 0;
  position: relative;
  top: -1px;
}

.zl-caps-item--cocounsel::before {
  background: var(--black);
  opacity: 0.3;
}

/* ── FRAMING SECTION ─────────────────────────────────────── */
.zl-framing {
  background: var(--paper);
  padding: 52px 36px;
}

.zl-framing__inner {
  max-width: 680px;
}

.zl-framing__body {
  margin-top: 20px;
}

.zl-framing__body p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.82;
  color: var(--black);
  opacity: 0.65;
}

.zl-framing__body p + p {
  margin-top: 16px;
}

/* ── RELATED SERVICES ────────────────────────────────────── */
.zl-related {
  background: var(--paper);
  padding: 56px 36px;
  border-top: 1px solid #1A1A1A10;
}

.zl-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #1A1A1A18;
  margin-top: 24px;
}

.zl-related-card {
  background: var(--paperdark);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.zl-related-card__sym {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  color: var(--terra);
  transform: rotate(-3deg);
  filter: url(#ink-press);
  display: inline-block;
}

.zl-related-card__title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
}

.zl-related-card__link {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--terra);
  text-decoration: none;
  margin-top: auto;
}

/* ── DIFFERENTIATOR LIST (Why Us) ────────────────────────── */
.zl-diff-section {
  background: var(--paperdark);
  padding: 52px 36px;
}

.zl-diff-list {
  max-width: 660px;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: #1A1A1A14;
}

.zl-diff-item {
  background: var(--paper);
  padding: 28px 24px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.zl-diff-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--terra);
  opacity: 0.6;
  white-space: nowrap;
  flex-shrink: 0;
  padding-top: 3px;
}

.zl-diff-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
}

.zl-diff-body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.78;
  color: var(--black);
  opacity: 0.55;
}

/* ── BRAND PILLARS (About) ───────────────────────────────── */
.zl-pillars {
  background: var(--paperdark);
  padding: 52px 36px;
}

.zl-pillar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: #1A1A1A18;
  margin-top: 28px;
  max-width: 700px;
}

.zl-pillar-card {
  background: var(--paper);
  padding: 28px 24px;
}

.zl-pillar-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--terra);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.zl-pillar-body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.78;
  color: var(--black);
  opacity: 0.55;
}

/* ── CREDENTIALS (About dark section) ───────────────────── */
.zl-credentials {
  position: relative;
  overflow: hidden;
  background: var(--black);
  padding: 52px 36px;
}

.zl-credentials__inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.zl-credentials__cjk {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  top: -20px;
  right: -20px;
  font-family: 'Noto Serif SC', serif;
  font-size: 180px;
  font-weight: 900;
  line-height: 1;
  color: var(--terra);
  opacity: 0.10;
  transform: rotate(7deg);
  filter: url(#ink-press);
}

.zl-credentials__h2 {
  color: var(--cream);
  margin-bottom: 20px;
}

.zl-credentials__body p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.82;
  color: var(--cream);
  opacity: 1;
}

.zl-credentials__body p + p {
  margin-top: 14px;
}

/* ── FOR LAW FIRMS PAGE — ENGAGEMENT MODES ───────────────── */
.zl-modes {
  background: var(--paperdark);
  padding: 52px 36px;
}

.zl-modes__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: #1A1A1A18;
  margin-top: 28px;
  max-width: 760px;
}

.zl-mode-card {
  background: var(--paper);
  padding: 28px 24px;
}

.zl-mode-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  color: var(--terra);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.zl-mode-body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.78;
  color: var(--black);
  opacity: 0.55;
}

/* ── LEGAL PAGES (Privacy, Terms) ────────────────────────── */
.zl-legal-hero {
  background: var(--paper);
  padding: 64px 36px 48px;
  border-bottom: 1px solid #1A1A1A10;
}

.zl-legal-hero__inner {
  max-width: 660px;
}

.zl-controlling-notice {
  margin-top: 24px;
  padding-left: 14px;
  border-left: 2px solid var(--terra);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.72;
  color: var(--black);
  opacity: 0.6;
  font-style: italic;
  max-width: 580px;
}

.zl-legal-body {
  background: var(--paper);
  padding: 56px 36px 80px;
}

.zl-legal-body__inner {
  max-width: 620px;
}

.zl-legal-section {
  padding: 28px 0;
  border-bottom: 0.5px solid #1A1A1A12;
}

.zl-legal-section:first-child {
  padding-top: 0;
}

.zl-legal-section__heading {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--black);
  opacity: 0.5;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.zl-legal-section__body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.82;
  color: var(--black);
  opacity: 0.6;
}

.zl-legal-meta {
  margin-top: 40px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--black);
  opacity: 0.3;
  text-transform: uppercase;
}

/* ── ABOUT HERO — ZL MONOGRAM ────────────────────────────── */
.zl-hero-sym--monogram {
  font-style: italic;
  font-size: 220px;
  color: var(--terra);
  opacity: 0.10;
  filter: url(#ink-heavy);
}

/* ── WHY ZAPATA — HERO BOTTOM-LEFT CJK ───────────────────── */
.zl-why-cjk-jp {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  bottom: -20px;
  left: -10px;
  font-family: 'Noto Serif JP', serif;
  font-size: 180px;
  font-weight: 900;
  line-height: 1;
  color: var(--cream);
  opacity: 0.05;
  transform: rotate(-8deg);
  filter: url(#ink-dry);
}

/* ── FOR LAW FIRMS — HERO BOTTOM-LEFT CJK ────────────────── */
.zl-flf-hero-cjk-kr {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  bottom: -20px;
  left: -10px;
  font-family: 'Noto Serif KR', serif;
  font-size: 180px;
  font-weight: 900;
  line-height: 1;
  color: var(--terra);
  opacity: 0.12;
  transform: rotate(-9deg);
  filter: url(#ink-press);
}

/* ── FOR LAW FIRMS PAGE — HERO MODES LINE ────────────────── */
.zl-hero-modes {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  color: var(--cream);
  opacity: 0.22;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* ── UTILITY ─────────────────────────────────────────────── */
.zl-mt-sm  { margin-top: 12px; }
.zl-mt-md  { margin-top: 20px; }
.zl-mt-lg  { margin-top: 32px; }
.zl-mb-sm  { margin-bottom: 12px; }
.zl-mb-md  { margin-bottom: 20px; }

/* ── MOBILE RESPONSIVE ───────────────────────────────────── */
@media (max-width: 767px) {
  /* Nav */
  .zl-nav {
    padding: 14px 20px;
  }

  .zl-nav-links {
    display: none;
  }

  .zl-nav-hamburger {
    display: flex;
  }

  /* Hero */
  .zl-hero {
    padding: 40px 20px 44px;
    min-height: 260px;
  }

  .zl-hero-sym {
    font-size: 140px;
    opacity: 0.10;
    right: -20px;
  }

  .zl-hero__mono-bottom {
    left: 20px;
  }

  /* Gap */
  .zl-gap {
    padding: 40px 20px;
  }

  .zl-gap-cjk-zh {
    font-size: 140px;
    opacity: 0.15;
  }

  .zl-gap-mr {
    font-size: 180px;
    opacity: 0.06;
  }

  /* Services */
  .zl-services {
    padding: 40px 20px;
  }

  .zl-service-grid {
    grid-template-columns: 1fr;
  }

  /* Firm */
  .zl-firm {
    padding: 40px 20px;
  }

  .zl-firm-cjk-jp,
  .zl-firm-cjk-kr {
    font-size: 140px;
    opacity: 0.12;
  }

  /* For Law Firms teaser */
  .zl-flf {
    padding: 36px 20px;
  }

  /* Contact */
  .zl-contact {
    padding: 40px 20px;
  }

  .zl-contact-full {
    padding: 40px 20px;
  }

  .zl-contact-full__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* CTA sections */
  .zl-cta-dark,
  .zl-cta-light {
    padding: 40px 20px;
  }

  /* Capabilities */
  .zl-caps-section {
    padding: 40px 20px;
  }

  /* Framing */
  .zl-framing {
    padding: 40px 20px;
  }

  /* Related */
  .zl-related {
    padding: 36px 20px;
  }

  .zl-related__grid {
    grid-template-columns: 1fr;
  }

  /* Differentiators */
  .zl-diff-section {
    padding: 40px 20px;
  }

  /* Pillars */
  .zl-pillars {
    padding: 40px 20px;
  }

  .zl-pillar-grid {
    grid-template-columns: 1fr;
  }

  /* Credentials */
  .zl-credentials {
    padding: 40px 20px;
  }

  /* Modes */
  .zl-modes {
    padding: 40px 20px;
  }

  .zl-modes__grid {
    grid-template-columns: 1fr;
  }

  /* Legal */
  .zl-legal-hero {
    padding: 48px 20px 40px;
  }

  .zl-legal-body {
    padding: 40px 20px 60px;
  }

  /* Footer */
  .zl-footer {
    padding: 24px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* ============================================================
   ZAPATA LEGAL .MX — Extensiones específicas para zapatalegal.mx
   Añadidas al final del stylesheet base del .com.
   ============================================================ */

/* ── PERFORMANCE: CONTENT VISIBILITY (.mx section IDs) ─────── */
#la-brecha,
#proceso,
#despacho,
#recursos,
#para-abogados,
#contacto {
  content-visibility: auto;
  contain-intrinsic-size: 0 500px;
}

/* ── HERO INNER (.com HTML usa zl-hero-inner, CSS tenía __) ── */
.zl-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.zl-hero-inner .zl-body {
  margin-top: 14px;
  max-width: 520px;
  opacity: 0.65;
}

.zl-hero-inner .zl-btn {
  margin-top: 28px;
}

.zl-hero-mono {
  position: absolute;
  bottom: 20px;
  left: 36px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--black);
  opacity: 0.30;
  text-transform: uppercase;
}

/* ── SECCIÓN 2: PUNTOS DE ENTRADA ───────────────────────────── */
.zl-puntos {
  background: var(--paper);
  padding: 52px 36px;
}

.zl-puntos-inner {
  max-width: 960px;
}

.zl-puntos-inner > .zl-h2 {
  margin-bottom: 8px;
}

.zl-puntos-subhead {
  margin-bottom: 32px;
}

.zl-recursos-subhead {
  margin-bottom: 32px;
}

/* Service grid 1×3 variant */
.zl-service-grid--3col {
  grid-template-columns: repeat(3, 1fr);
}

/* Service card eyebrow label */
.zl-service-card__eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--terra);
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* CJK sello en tarjeta exportadoras */
.zl-service-card__cjk {
  position: absolute;
  bottom: -10px;
  right: -10px;
  font-family: 'Noto Serif SC', serif;
  font-size: 70px;
  font-weight: 900;
  line-height: 1;
  color: var(--terra);
  opacity: 0.07;
  transform: rotate(5deg);
  filter: url(#ink-press);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* ── SECCIÓN 3: LA BRECHA ───────────────────────────────────── */
.zl-brecha {
  background: var(--paperdark);
  padding: 52px 36px;
}

.zl-brecha-inner {
  max-width: 960px;
}

.zl-brecha-intro {
  margin-top: 20px;
  max-width: 700px;
  opacity: 0.72;
}

.zl-brecha-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: #1A1A1A18;
  margin-top: 36px;
}

.zl-brecha-col {
  background: var(--paper);
  padding: 28px 24px;
}

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

.zl-brecha-cierre {
  margin-top: 28px;
  max-width: 620px;
  font-style: italic;
  opacity: 0.72;
}

/* ── SECCIÓN 4: PROCESO ─────────────────────────────────────── */
.zl-proceso {
  background: var(--paper);
  padding: 52px 36px;
}

.zl-proceso-inner {
  max-width: 660px;
}

.zl-proceso-inner > .zl-subhead {
  margin-top: 8px;
  margin-bottom: 32px;
}

.zl-proceso-list {
  position: relative;
}

/* Línea vertical timeline en terra */
.zl-proceso-list::before {
  content: '';
  position: absolute;
  left: 26px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--terra);
  opacity: 0.25;
}

.zl-proceso-list .zl-diff-item {
  position: relative;
}

.zl-proceso-list .zl-diff-num {
  position: relative;
  z-index: 1;
}

/* ── SECCIÓN 5: EL DESPACHO (extends .zl-credentials) ───────── */
.zl-despacho {
  background: var(--ink);
}

.zl-credentials-inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.zl-despacho .zl-h2 {
  margin-bottom: 16px;
}

.zl-credentials__body p + p {
  margin-top: 14px;
}

/* ── SECCIÓN 6: RECURSOS ────────────────────────────────────── */
.zl-recursos {
  background: var(--paperdark);
  padding: 52px 36px;
}

.zl-recursos-inner {
  max-width: 960px;
}

.zl-recursos-inner > .zl-h2 {
  margin-bottom: 8px;
}

.zl-recursos-cta {
  margin-top: 36px;
  max-width: 480px;
}

/* ── SECCIÓN 7: PARA ABOGADOS (dark inversion) ──────────────── */
.zl-para-abogados {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  padding: 52px 36px;
}

.zl-para-abogados-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.zl-para-abogados .zl-h2--dark {
  margin-bottom: 8px;
}

/* Modes dark variant */
.zl-modos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #ffffff14;
}

.zl-mode-card--dark {
  background: #1A1A1A;
}

.zl-mode-title--dark {
  color: var(--terra);
  opacity: 1;
}

.zl-mode-body--dark {
  color: var(--cream);
  opacity: 0.65;
}

/* Principios list */
.zl-principios-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 0.5px solid #ffffff18;
}

.zl-principios-item {
  padding: 14px 0;
  border-bottom: 0.5px solid #ffffff18;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.72;
  color: var(--cream);
  opacity: 0.8;
}

.zl-principios-titulo {
  font-weight: 500;
}

/* ── SECCIÓN 8: CONTACTO .MX ────────────────────────────────── */
.zl-contacto-mx {
  position: relative;
  overflow: hidden;
  background: var(--paperdark);
  padding: 52px 36px;
}

.zl-contacto-mx-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 52px;
  max-width: 900px;
  position: relative;
  z-index: 2;
}

.zl-contacto-mx-h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 700;
  line-height: 1.18;
  color: var(--black);
  margin-bottom: 0;
}

.zl-contacto-mx-accent {
  color: var(--terra);
}

.zl-contacto-mx-directo {
  margin-top: 36px;
}

.zl-contacto-mx-directo .zl-direct-row {
  margin-bottom: 12px;
}

.zl-contacto-mx-directo .zl-direct-value a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.15s;
}

.zl-contacto-mx-directo .zl-direct-value a:hover {
  opacity: 0.6;
}

.zl-que-sigue {
  margin-top: 36px;
}

.zl-que-sigue-list {
  list-style: none;
  counter-reset: qs;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 0.5px solid #1A1A1A14;
}

.zl-que-sigue-list li {
  counter-increment: qs;
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 0.5px solid #1A1A1A14;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--black);
  opacity: 0.65;
}

.zl-que-sigue-list li::before {
  content: "0" counter(qs);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--terra);
  opacity: 0.7;
  flex-shrink: 0;
  padding-top: 3px;
}

/* Form checkbox */
.zl-form__field--check {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}

.zl-form__check-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.65;
  color: var(--black);
  opacity: 0.6;
  cursor: pointer;
}

.zl-form__check-input {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--terra);
}

.zl-form__check-label a {
  color: var(--terra);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* form-input and form-textarea shorthand class aliases */
.zl-form-input {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: var(--black);
  background: var(--paper);
  border: 1px solid #1A1A1A18;
  border-radius: 0;
  padding: 10px 12px;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  transition: border-color 0.15s;
}

.zl-form-input:focus {
  border-color: #1A1A1A55;
}

.zl-form-textarea {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: var(--black);
  background: var(--paper);
  border: 1px solid #1A1A1A18;
  border-radius: 0;
  padding: 10px 12px;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  transition: border-color 0.15s;
  resize: vertical;
}

.zl-form-textarea:focus {
  border-color: #1A1A1A55;
}

/* ── FOOTER .MX (4 columnas) ────────────────────────────────── */
.zl-footer-mx {
  background: var(--black);
  padding: 48px 36px 0;
}

.zl-footer-mx-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.zl-footer-col--identidad {
  padding-right: 20px;
}

.zl-footer-wordmark-mx {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--cream);
  opacity: 0.9;
  margin-bottom: 10px;
}

.zl-footer-tagline {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.55;
  color: var(--cream);
  opacity: 0.45;
  margin-bottom: 10px;
}

.zl-footer-ubicacion {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--cream);
  opacity: 0.25;
  text-transform: uppercase;
}

.zl-footer-col-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--cream);
  opacity: 0.3;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.zl-footer-col-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.zl-footer-col-nav a {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--cream);
  opacity: 0.5;
  text-decoration: none;
  transition: opacity 0.15s;
  line-height: 1.5;
}

.zl-footer-col-nav a:hover {
  opacity: 0.8;
}

.zl-footer-mx-banda {
  border-top: 1px solid var(--terra);
  border-top-width: 1px;
  border-top-color: rgba(200,16,46,0.35);
  padding: 18px 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.zl-footer-mx-banda > span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--cream);
  opacity: 0.28;
  text-transform: uppercase;
  white-space: nowrap;
}

.zl-footer-mx-legal {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.zl-footer-mx-legal a {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--cream);
  opacity: 0.28;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: opacity 0.15s;
}

.zl-footer-mx-legal a:hover {
  opacity: 0.5;
}

/* ── RESPONSIVE .MX ─────────────────────────────────────────── */
@media (max-width: 767px) {
  .zl-puntos {
    padding: 40px 20px;
  }

  .zl-service-grid--3col {
    grid-template-columns: 1fr;
  }

  .zl-brecha {
    padding: 40px 20px;
  }

  .zl-brecha-grid {
    grid-template-columns: 1fr;
  }

  .zl-proceso {
    padding: 40px 20px;
  }

  .zl-proceso-list::before {
    display: none;
  }

  .zl-despacho {
    padding: 40px 20px;
  }

  .zl-recursos {
    padding: 40px 20px;
  }

  .zl-para-abogados {
    padding: 40px 20px;
  }

  .zl-modos-grid {
    grid-template-columns: 1fr;
  }

  .zl-contacto-mx {
    padding: 40px 20px;
  }

  .zl-contacto-mx-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .zl-hero-mono {
    left: 20px;
  }

  /* Footer mobile */
  .zl-footer-mx {
    padding: 40px 20px 0;
  }

  .zl-footer-mx-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .zl-footer-col--identidad {
    grid-column: 1 / -1;
    padding-right: 0;
  }

  .zl-footer-mx-banda {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .zl-footer-mx-legal {
    gap: 12px;
  }
}
