/* =====================================================================
   LANDING DESIGN — port del diseño "LexTrabajo Landing"
   Aplicado al despacho Abogado Laboral Sevilla.
   Cargado DESPUÉS de style.css; usa selectores específicos para ganar.
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ============== SMOOTH SCROLL ONE-PAGE ============== */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
/* Compensar el header sticky (72px) al saltar a anclas */
body.home section[id] { scroll-margin-top: 88px; }

/* ============== TOKENS ============== */
:root {
  --bg: #faf7f2;
  --bg-2: #f3ede2;
  --bg-3: #ebe3d4;
  --ink: #1a1814;
  --ink-2: #4a4640;
  --ink-3: #807a70;
  --line: #d9d1c2;
  --line-soft: #e8e1d2;

  /* default: ink (negro cálido) */
  --accent: #1a1814;
  --accent-2: #000;
  --accent-soft: #f0ebe0;
  --accent-ink: #fff;

  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 18px;

  --shadow-sm: 0 1px 2px rgba(26, 24, 20, 0.04), 0 1px 1px rgba(26, 24, 20, 0.03);
  --shadow: 0 6px 24px -8px rgba(26, 24, 20, 0.12), 0 2px 4px rgba(26, 24, 20, 0.04);
  --shadow-lg: 0 24px 48px -12px rgba(26, 24, 20, 0.18), 0 4px 8px rgba(26, 24, 20, 0.04);
}

/* Variantes de acento opcionales (data-accent en <html>) */
[data-accent="burgundy"] { --accent: #6b2f2a; --accent-2: #501f1c; --accent-soft: #f3e3df; }
[data-accent="forest"]   { --accent: #2f4a36; --accent-2: #233a29; --accent-soft: #e2ece4; }
[data-accent="navy"]     { --accent: #243759; --accent-2: #1a2b48; --accent-soft: #e0e6f1; }
[data-accent="terracotta"]{ --accent: #b1542d; --accent-2: #95421d; --accent-soft: #f5e3d6; }

/* ============== RESET + BODY (SOLO HOME) ============== */
body.home {
  font-family: var(--sans);
  background: var(--bg) !important;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.home * { box-sizing: border-box; }
body.home img { max-width: 100%; display: block; }
body.home a { color: inherit; text-decoration: none; }
body.home button { font-family: inherit; cursor: pointer; }
body.home h1,
body.home h2,
body.home h3,
body.home h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}
body.home p { text-wrap: pretty; }

/* También aplicamos a otras páginas que adopten la maqueta nueva con .lex-page */
body.lex-page {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
}

.lex-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}

/* ============== LAYOUT ============== */
.lex-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.lex-section { padding: 96px 0; }
.lex-section-tight { padding: 64px 0; }

@media (max-width: 720px) {
  .lex-container { padding: 0 20px; }
  .lex-section { padding: 64px 0; }
}

/* ============== BUTTONS ============== */
.lex-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
  border: 0;
  cursor: pointer;
  text-decoration: none;
}
.lex-btn-primary,
body.home a.lex-btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: var(--shadow);
}
.lex-btn-primary:hover,
body.home a.lex-btn-primary:hover { background: var(--accent-2); transform: translateY(-1px); box-shadow: var(--shadow-lg); color: var(--accent-ink); }
.lex-btn-ghost,
body.home a.lex-btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.lex-btn-ghost:hover,
body.home a.lex-btn-ghost:hover { background: var(--bg-2); border-color: var(--ink-3); color: var(--ink); }
.lex-btn-text {
  height: auto;
  padding: 0;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--ink-3);
  background: transparent;
}
.lex-btn-text:hover { text-decoration-color: var(--accent); color: var(--accent); }
.lex-btn-lg { height: 56px; padding: 0 28px; font-size: 16px; }
.lex-btn-sm { height: 36px; padding: 0 14px; font-size: 13px; }

/* Iconos inline (svg) heredan currentColor */
.lex-btn svg { flex-shrink: 0; }

/* ============== NAV ============== */
.lex-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.85);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.lex-nav.scrolled { border-bottom-color: var(--line-soft); }
.lex-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.lex-nav-logo {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.015em;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.lex-nav-logo-mark {
  width: 28px; height: 28px;
  border-radius: 6px;
  background: var(--accent);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 17px;
  font-style: italic;
  font-weight: 400;
  flex: none;
}
.lex-nav-logo em { font-style: italic; color: var(--accent); }
.lex-nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--ink-2);
}
.lex-nav-links a:hover { color: var(--ink); }
.lex-nav-cta { display: flex; gap: 12px; align-items: center; }

.lex-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px; height: 44px;
  background: transparent; border: 0; cursor: pointer; padding: 0;
  gap: 5px;
}
.lex-nav-toggle span {
  display: block;
  width: 22px; height: 1.6px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.lex-nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.lex-nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.lex-nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.lex-nav-mobile {
  position: fixed;
  top: 72px; left: 0; right: 0; bottom: 0;
  background: var(--bg);
  padding: 24px 24px 32px;
  z-index: 49;
  overflow-y: auto;
  display: none;
  flex-direction: column;
  gap: 4px;
}
.lex-nav-mobile.open { display: flex; }
.lex-nav-mobile a {
  padding: 14px 4px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 18px;
  color: var(--ink);
}
.lex-nav-mobile .lex-btn {
  margin-top: 16px;
  width: 100%;
  justify-content: center;
}

@media (max-width: 880px) {
  .lex-nav-links { display: none; }
  .lex-nav-toggle { display: inline-flex; }
}
@media (max-width: 560px) {
  .lex-nav-cta .lex-btn-ghost { display: none; }
}

/* ============== HERO ============== */
.lex-hero {
  padding: 64px 0 96px;
  position: relative;
  overflow: hidden;
}
.lex-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
}
.lex-hero h1 {
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
  color: var(--ink);
}
.lex-hero h1 em { font-style: italic; color: var(--accent); }
.lex-hero-sub {
  font-size: 19px;
  color: var(--ink-2);
  line-height: 1.5;
  max-width: 520px;
  margin-bottom: 36px;
}
.lex-hero-cta-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.lex-hero-trustline {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  color: var(--ink-3);
  flex-wrap: wrap;
}
.lex-hero-trustline-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line); }
.lex-stars { color: #e0a826; letter-spacing: 1px; display: inline-flex; gap: 1px; }
.lex-stars svg { width: 14px; height: 14px; }

/* Hero card (form) */
.lex-hero-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.lex-hero-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 4px;
}
.lex-hero-card-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e7d6c1, #c8a27e);
  position: relative;
  overflow: hidden;
  flex: none;
}
.lex-hero-card-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, transparent 0 6px, rgba(255,255,255,0.15) 6px 12px);
}
.lex-hero-card-title {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.1;
  color: var(--ink);
}
.lex-hero-card-sub {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 2px;
}
.lex-hero-card-divider {
  height: 1px;
  background: var(--line-soft);
  margin: 22px 0 20px;
}
.lex-form-row { margin-bottom: 14px; }
.lex-form-row label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-2);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}
.lex-form-row input,
.lex-form-row select,
.lex-form-row textarea {
  width: 100%;
  height: 46px;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: var(--radius);
  padding: 0 14px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.lex-form-row textarea { height: auto; padding: 12px 14px; min-height: 84px; resize: vertical; }
.lex-form-row input:focus,
.lex-form-row select:focus,
.lex-form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.lex-form-radio-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.lex-form-radio {
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: var(--radius);
  padding: 10px 12px;
  font-size: 13px;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s ease;
  color: var(--ink-2);
  font-family: var(--sans);
}
.lex-form-radio.active,
.lex-form-radio[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 500;
}
.lex-form-submit { width: 100%; justify-content: center; margin-top: 8px; }
.lex-form-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  font-size: 12px;
  color: var(--ink-3);
  flex-wrap: wrap;
  gap: 6px;
}
.lex-form-meta a { text-decoration: underline; text-underline-offset: 2px; color: inherit; }

@media (max-width: 880px) {
  .lex-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .lex-hero-sub { font-size: 17px; }
}

/* ============== STATS BAR ============== */
.lex-stats {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 36px 0;
  background: var(--bg-2);
}
.lex-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.lex-stat { display: flex; flex-direction: column; gap: 4px; align-items: center; text-align: center; }
.lex-stat-number {
  font-family: var(--serif);
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.lex-stat-number em { font-style: italic; color: var(--accent); font-size: 0.7em; margin-left: 4px; }
.lex-stat-label { font-size: 13px; color: var(--ink-2); }
@media (max-width: 720px) {
  .lex-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .lex-stat-number { font-size: 36px; }
}

/* ============== SECTION HEADER ============== */
.lex-section-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 56px;
  max-width: 720px;
}
.lex-section-header h2 {
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.lex-section-header h2 em { font-style: italic; color: var(--accent); }
.lex-section-header p {
  font-size: 17px;
  color: var(--ink-2);
  max-width: 580px;
  margin: 0;
}

/* ============== AUDIENCE / FOR WHOM ============== */
.lex-audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.lex-audience-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.lex-audience-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.lex-audience-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  margin-bottom: 24px;
}
.lex-audience-card h3 { font-size: 26px; margin-bottom: 8px; }
.lex-audience-card p {
  font-size: 15px;
  color: var(--ink-2);
  margin: 0 0 20px;
}
.lex-audience-card ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 10px;
}
.lex-audience-card li {
  font-size: 14px;
  color: var(--ink-2);
  padding-left: 22px;
  position: relative;
}
.lex-audience-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 12px; height: 8px;
  border-left: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg);
}
@media (max-width: 720px) {
  .lex-audience-grid { grid-template-columns: 1fr; }
}

/* ============== SERVICES GRID ============== */
.lex-services-section { background: var(--bg-2); }
.lex-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.lex-service {
  background: var(--bg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 220px;
  transition: background 0.2s ease;
  position: relative;
  text-decoration: none;
  color: inherit;
}
.lex-service:hover { background: #fff; }
.lex-service-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.08em;
}
.lex-service h3 { font-size: 22px; line-height: 1.15; color: var(--ink); }
.lex-service p { font-size: 14px; color: var(--ink-2); margin: 0; flex: 1; }
.lex-service-link {
  font-size: 13px;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-weight: 500;
}
.lex-service-link svg { transition: transform 0.2s ease; }
.lex-service:hover .lex-service-link svg { transform: translateX(3px); }

@media (max-width: 880px) { .lex-services-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .lex-services-grid { grid-template-columns: 1fr; } }

/* ============== PROCESS ============== */
.lex-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
.lex-process-grid::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 11%;
  right: 11%;
  height: 1px;
  background: repeating-linear-gradient(to right, var(--line) 0 4px, transparent 4px 10px);
  z-index: 0;
}
.lex-process-step { position: relative; z-index: 1; }
.lex-process-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
  margin-bottom: 20px;
}
.lex-process-step.active .lex-process-num {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
.lex-process-step h3 {
  font-size: 19px;
  margin-bottom: 6px;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.lex-process-step p { font-size: 14px; color: var(--ink-2); margin: 0; }
@media (max-width: 880px) {
  .lex-process-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .lex-process-grid::before { display: none; }
}
@media (max-width: 560px) {
  .lex-process-grid { grid-template-columns: 1fr; }
}

/* ============== HIGHLIGHT BLOCK (sustituye al pricing) ============== */
.lex-highlight {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.lex-highlight h2 { color: #fff; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 16px; }
.lex-highlight h2 em { color: #e6c186; font-style: italic; }
.lex-highlight-lead { color: rgba(255,255,255,0.72); font-size: 16px; margin: 0 0 24px; max-width: 480px; }
.lex-highlight-bullets {
  list-style: none; padding: 0; margin: 0 0 28px;
  display: grid; gap: 10px;
}
.lex-highlight-bullets li {
  font-size: 14.5px;
  color: rgba(255,255,255,0.85);
  padding-left: 24px;
  position: relative;
}
.lex-highlight-bullets li::before {
  content: "";
  position: absolute; left: 0; top: 7px;
  width: 12px; height: 8px;
  border-left: 1.5px solid #e6c186;
  border-bottom: 1.5px solid #e6c186;
  transform: rotate(-45deg);
}
.lex-highlight-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.lex-highlight-tier {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #e6c186;
  margin-bottom: 12px;
}
.lex-highlight-headline {
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: #fff;
}
.lex-highlight-card-sub { color: rgba(255,255,255,0.6); font-size: 13px; margin: 0 0 24px; }
.lex-highlight-card .lex-btn { width: 100%; justify-content: center; background: #fff; color: var(--ink); }
.lex-highlight-card .lex-btn:hover { background: #e6c186; }

@media (max-width: 880px) {
  .lex-highlight { grid-template-columns: 1fr; padding: 40px 32px; gap: 36px; }
}

/* ============== TESTIMONIALS ============== */
.lex-testimonials-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
}
.lex-testi-main, .lex-testi-side {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
}
.lex-testi-main { padding: 48px; }
.lex-testi-mark {
  font-family: var(--serif);
  font-size: 80px;
  line-height: 0.6;
  color: var(--accent);
  font-style: italic;
  margin-bottom: 8px;
}
.lex-testi-quote {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
  color: var(--ink);
  flex: 1;
}
.lex-testi-side .lex-testi-quote { font-size: 19px; }
.lex-testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}
.lex-testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-3), var(--bg-2));
  flex: none;
}
.lex-testi-name { font-size: 14px; font-weight: 500; color: var(--ink); }
.lex-testi-role { font-size: 13px; color: var(--ink-3); }
.lex-testi-side-stack { display: grid; gap: 24px; }

/* Variante 3 columnas iguales */
.lex-testimonials-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.lex-testi-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.lex-testi-card .lex-testi-mark {
  font-family: var(--serif);
  font-size: 64px;
  line-height: 0.7;
  color: var(--accent);
  opacity: 0.18;
  margin-bottom: 12px;
}
.lex-testi-card .lex-testi-quote {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin-bottom: 24px;
  flex: 1;
}

@media (max-width: 980px) {
  .lex-testimonials-3col { grid-template-columns: 1fr; }
}

@media (max-width: 880px) {
  .lex-testimonials-grid { grid-template-columns: 1fr; }
  .lex-testi-main { padding: 32px; }
  .lex-testi-quote { font-size: 22px; }
}

/* ============== TEAM ============== */
.lex-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.lex-team-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.lex-team-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.lex-team-photo {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--bg-3) 0%, var(--bg-2) 100%);
  position: relative;
  overflow: hidden;
}
.lex-team-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.lex-team-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, transparent 0 14px, rgba(0,0,0,0.025) 14px 28px);
  pointer-events: none;
}
.lex-team-photo-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.08em;
  z-index: 1;
}
.lex-team-info { padding: 22px 24px; }
.lex-team-name { font-family: var(--serif); font-size: 22px; line-height: 1.1; margin-bottom: 2px; color: var(--ink); }
.lex-team-role { font-size: 13px; color: var(--ink-3); margin-bottom: 12px; }
.lex-team-spec {
  display: inline-flex;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--accent);
  text-transform: uppercase;
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 999px;
}
@media (max-width: 720px) {
  .lex-team-grid { grid-template-columns: 1fr 1fr; }
}

/* ============== FAQ ============== */
.lex-faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.4fr;
  gap: 64px;
}
.lex-faq-list { display: flex; flex-direction: column; }
.lex-faq-item {
  border-top: 1px solid var(--line-soft);
  padding: 22px 0;
}
.lex-faq-item:last-child { border-bottom: 1px solid var(--line-soft); }
.lex-faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  text-align: left;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
  padding: 0;
  background: transparent;
  border: 0;
  font-family: var(--sans);
}
.lex-faq-q-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  transition: transform 0.2s ease, background 0.2s ease;
  font-size: 16px;
  line-height: 0;
  font-family: var(--mono);
  font-weight: 400;
  /* compensa el desplazamiento óptico del glifo "+" en muchas fuentes */
  padding-top: 1px;
}
.lex-faq-item[open] .lex-faq-q-icon {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
  transform: rotate(45deg);
}
.lex-faq-a {
  padding-top: 14px;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.6;
}
.lex-faq-item summary { list-style: none; cursor: pointer; }
.lex-faq-item summary::-webkit-details-marker { display: none; }
@media (max-width: 880px) {
  .lex-faq-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ============== FINAL CTA ============== */
.lex-final-cta {
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: var(--radius-lg);
  padding: 80px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.lex-final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,255,255,0.08), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(255,255,255,0.06), transparent 40%);
  pointer-events: none;
}
.lex-final-cta-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 16px;
}
.lex-final-cta h2,
body.home .lex-final-cta h2 {
  color: #fff;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: 0 !important;
  margin-bottom: 20px !important;
  max-width: 720px;
  width: 100%;
  text-align: center !important;
  text-wrap: pretty;
  display: block;
}
.lex-final-cta h2 em { font-style: italic; opacity: 0.7; }
.lex-final-cta-sub,
body.home .lex-final-cta-sub {
  color: rgba(255,255,255,0.78);
  font-size: 18px;
  max-width: 540px;
  margin: 0 auto 32px !important;
  text-align: center !important;
}
.lex-final-cta-eyebrow-link { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.lex-final-cta-eyebrow-link:hover { color: #fff; }
.lex-final-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  position: relative;
}
/* Override de los botones dentro del bloque oscuro — sube especificidad para
   ganar a body.home a.lex-btn-* (0,2,1) usando 0,3,1. */
body.home .lex-final-cta a.lex-btn-primary,
.lex-final-cta a.lex-btn-primary,
.lex-final-cta .lex-btn-primary { background: #fff; color: var(--ink); }
body.home .lex-final-cta a.lex-btn-primary:hover,
.lex-final-cta a.lex-btn-primary:hover,
.lex-final-cta .lex-btn-primary:hover { background: var(--bg); color: var(--ink); }
body.home .lex-final-cta a.lex-btn-ghost,
.lex-final-cta a.lex-btn-ghost,
.lex-final-cta .lex-btn-ghost { color: #fff; border-color: rgba(255,255,255,0.35); background: transparent; }
body.home .lex-final-cta a.lex-btn-ghost:hover,
.lex-final-cta a.lex-btn-ghost:hover,
.lex-final-cta .lex-btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: #fff; color: #fff; }

@media (max-width: 720px) {
  .lex-final-cta { padding: 56px 28px; }
}

/* ============== FOOTER ============== */
.lex-footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--line-soft);
  margin-top: 96px;
  background: var(--bg);
}
.lex-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.lex-footer-brand { font-family: var(--serif); font-size: 24px; margin-bottom: 12px; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.lex-footer-brand em { font-style: italic; color: var(--accent); }
.lex-footer-tagline { font-size: 14px; color: var(--ink-2); max-width: 280px; }
.lex-footer-col h4 {
  font-family: var(--mono);
  font-size: 13.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 18px;
  line-height: 1.2;
}
.lex-footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.lex-footer-col a { font-size: 15.5px; color: var(--ink-2); line-height: 1.4; }
.lex-footer-col a:hover { color: var(--ink); }
.lex-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  font-size: 12px;
  color: var(--ink-3);
}
@media (max-width: 720px) {
  .lex-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .lex-footer-bottom { flex-direction: column; gap: 12px; }
}

/* ============== STICKY WHATSAPP ============== */
body .bubble-whatsapp,
body.home .bubble-whatsapp,
body.lex-page .bubble-whatsapp {
  background: #25d366 !important;
  box-shadow: 0 12px 28px -8px rgba(37, 211, 102, 0.5), 0 4px 8px rgba(0,0,0,0.1);
  /* Anula posicionamiento legacy y centra con flex */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  padding: 0 !important;
}
body .bubble-whatsapp svg,
body .bubble-whatsapp svg#bubble-whatsapp-icon,
body.home .bubble-whatsapp svg,
body.lex-page .bubble-whatsapp svg {
  position: static !important;
  top: auto !important;
  left: auto !important;
  width: 30px !important;
  height: 30px !important;
  display: block !important;
}

/* ============== UTILS ============== */
.lex-divider { height: 1px; background: var(--line-soft); margin: 0; }

/* El nuevo header (.lex-nav) sustituye al header legacy.
   La regla `header { position: fixed }` del CSS antiguo queda anulada
   porque .lex-nav usa position: sticky y mayor especificidad. */

/* =====================================================================
   BLOG + POST (port del diseño LexTrabajo Post)
   Aplica a .lex-blog-page (listado) y .lex-post (detalle)
   ===================================================================== */

.lex-blog-page,
.lex-post {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.lex-blog-page *,
.lex-post * { box-sizing: border-box; }
.lex-blog-page a,
.lex-post a { color: inherit; text-decoration: none; }
.lex-blog-page h1, .lex-blog-page h2, .lex-blog-page h3,
.lex-post h1, .lex-post h2, .lex-post h3 {
  font-family: var(--serif);
  font-weight: 400;
  margin: 0;
}

/* ============== BREADCRUMB ============== */
.lex-blog-page .breadcrumb,
.lex-post .breadcrumb {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  text-transform: uppercase;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 28px;
  padding-top: 32px;
}
.lex-blog-page .breadcrumb a,
.lex-post .breadcrumb a { color: var(--ink-3); }
.lex-blog-page .breadcrumb a:hover,
.lex-post .breadcrumb a:hover { color: var(--ink); }
.lex-blog-page .breadcrumb .current,
.lex-post .breadcrumb .current { color: var(--ink-2); }
.lex-blog-page .breadcrumb-sep,
.lex-post .breadcrumb-sep { opacity: 0.4; }

/* ============== BLOG LISTING HEADER ============== */
.lex-blog-page .blog-header { padding: 24px 0 24px; }
.lex-blog-page .blog-header h1 {
  font-size: clamp(44px, 6vw, 80px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}
.lex-blog-page .blog-header h1 em { font-style: italic; color: var(--accent); }
.lex-blog-page .blog-header p {
  font-size: 19px;
  color: var(--ink-2);
  max-width: 680px;
  margin: 0 0 32px;
}

/* ============== BLOG CARDS (listing + related) ============== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding-bottom: 96px;
}
.blog-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.blog-card-cover {
  aspect-ratio: 16/11;
  position: relative;
  overflow: hidden;
}
.blog-card-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card-cover.green { background: oklch(0.62 0.16 155); }
.blog-card-cover.cream { background: var(--bg-3); }
.blog-card-cover.dark { background: var(--ink); }
.blog-card-cover.burgundy { background: #6b2f2a; }
.blog-card-cover.navy { background: oklch(0.30 0.06 250); }
.blog-card-cover.terracotta { background: oklch(0.55 0.13 40); }
.blog-card-body {
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.blog-card-tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 500;
}
.blog-card h3 {
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0;
}
.blog-card p {
  font-size: 14.5px;
  color: var(--ink-2);
  margin: 0;
  flex: 1;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ink-3);
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}
.blog-card-meta-icon {
  width: 16px; height: 16px;
  border-radius: 4px;
  background: var(--accent);
  display: grid; place-items: center;
  font-size: 9px;
}
.cover-stamp { position: absolute; inset: 0; display: grid; place-items: center; }
.cover-stamp-inner {
  font-family: var(--serif);
  font-size: 60px;
  font-style: italic;
  color: rgba(255,255,255,0.95);
  letter-spacing: -0.02em;
  text-align: center;
  line-height: 0.95;
}

@media (max-width: 880px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* ============== POST DETAIL HEADER ============== */
.lex-post .post-header { padding: 8px 0 32px; }
.lex-post .post-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
}
.lex-post .post-grid h1 {
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
  color: var(--ink);
}

/* Variante compacta: sin cover, hero pequeño, calculadora arriba */
.lex-post.lex-post--compact .breadcrumb { padding-top: 20px; margin-bottom: 16px; }
.lex-post.lex-post--compact .post-header { padding: 0 0 16px; }
.lex-post.lex-post--compact .post-grid { display: block; max-width: 780px; }
.lex-post.lex-post--compact .post-grid h1 {
  font-size: clamp(28px, 3.4vw, 38px);
  margin-bottom: 12px;
}
.lex-post.lex-post--compact .post-eyebrow { margin-bottom: 10px; }
.lex-post.lex-post--compact .post-lede {
  font-size: 16.5px;
  line-height: 1.45;
  margin: 0 0 12px;
}
.lex-post.lex-post--compact .post-body-grid { padding: 16px 0 96px; }
.lex-post.lex-post--compact .post-content > .post-calc:first-child { margin-top: 0; }
.lex-post .post-eyebrow {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  font-weight: 500;
}
.lex-post .post-lede {
  font-size: 20px;
  line-height: 1.45;
  color: var(--ink-2);
  margin: 0 0 18px;
}
.lex-post .post-lede strong { color: var(--ink); font-weight: 600; }
.lex-post .post-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--ink-3);
  font-family: var(--mono);
}
.lex-post .post-date-icon {
  width: 18px; height: 18px;
  border-radius: 4px;
  background: var(--accent);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 10px;
}
.lex-post .post-cover {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.lex-post .post-cover-display {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(72px, 12vw, 160px);
  color: #fff;
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-align: center;
}
.lex-post .post-cover-caption {
  position: absolute;
  bottom: 24px;
  left: 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.lex-post .post-cover-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* ============== POST BODY (article + sidebar) ============== */
.lex-post .post-body-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  padding: 40px 0 96px;
  align-items: start;
}
.lex-post .post-content {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  max-width: 720px;
}
.lex-post .post-content > .post-intro,
.lex-post .post-content > p:first-of-type {
  /* el primer párrafo recibe estilo destacado si lleva la clase post-intro */
}
.lex-post .post-content .post-intro {
  font-size: 17.5px;
  background: var(--bg-2);
  padding: 22px 26px;
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
  margin-bottom: 40px;
  color: var(--ink);
}
.lex-post .post-content .post-intro strong { color: var(--accent); }
.lex-post .post-content h2 {
  font-family: var(--serif);
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 56px 0 16px;
  font-weight: 400;
  color: var(--ink);
}
.lex-post .post-content h3 {
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin: 36px 0 8px;
  color: var(--ink);
}
.lex-post .post-content p { margin: 0 0 20px; }
.lex-post .post-content ul,
.lex-post .post-content ol { padding-left: 24px; margin: 0 0 24px; }
.lex-post .post-content li { margin-bottom: 8px; }
.lex-post .post-content strong { color: var(--ink); font-weight: 600; }
.lex-post .post-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.lex-post .post-content blockquote {
  border-left: 3px solid var(--accent);
  margin: 32px 0;
  padding: 8px 0 8px 24px;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.35;
  color: var(--ink);
  font-style: italic;
}
.lex-post .post-content .post-callout {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin: 36px 0;
}
.lex-post .post-content .post-callout-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: oklch(0.85 0.08 60);
  margin-bottom: 8px;
}
.lex-post .post-content .post-callout p {
  margin: 0;
  color: rgba(255,255,255,0.85);
  font-size: 15.5px;
}
.lex-post .post-content .post-callout strong { color: #fff; }

/* ============== ASIDE (TOC + CTA) ============== */
.lex-post .post-aside {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.lex-post .toc {
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.lex-post .toc-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 14px;
}
.lex-post .toc ol,
.lex-post .toc ul { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.lex-post .toc li {
  counter-increment: toc;
  font-size: 13.5px;
  line-height: 1.5;
  padding: 5px 0;
  color: var(--ink-2);
}
.lex-post .toc li::before {
  content: counter(toc) '. ';
  color: var(--ink-3);
}
.lex-post .toc a { color: inherit; }
.lex-post .toc a:hover { color: var(--accent); }
.lex-post .toc ol ol,
.lex-post .toc ul ul {
  margin-top: 6px;
  padding-left: 14px;
  counter-reset: toc-sub;
}
.lex-post .toc ol ol li::before,
.lex-post .toc ul ul li::before { content: ""; }

.lex-post .aside-cta {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
}
.lex-post .aside-cta-title {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.lex-post .aside-cta-label {
  font-size: 14px;
  color: var(--ink-2);
  margin-bottom: 14px;
}

@media (max-width: 1000px) {
  .lex-post .post-grid { grid-template-columns: 1fr; gap: 32px; }
  .lex-post .post-body-grid { grid-template-columns: 1fr; gap: 32px; }
  .lex-post .post-aside { position: static; }
}

/* ============== RELATED POSTS ============== */
.lex-post .related {
  border-top: 1px solid var(--line-soft);
  padding: 64px 0 96px;
}
.lex-post .related h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}
.lex-post .related .blog-grid { padding-bottom: 0; }

/* ============== CALCULADORA DE INDEMNIZACIÓN ============== */
.lex-post .post-calc {
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 36px 36px 32px;
  margin: 36px 0;
}
.lex-post .post-calc-eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 10px;
}
.lex-post .post-calc-header h3 {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
  color: var(--ink);
  font-weight: 400;
}
.lex-post .post-calc-header p {
  font-size: 15.5px;
  color: var(--ink-2);
  margin: 0 0 24px;
  max-width: 56ch;
}
.lex-post .post-calc-form {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 24px;
}
.lex-post .post-calc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 18px;
}
.lex-post .post-calc-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-2);
}
.lex-post .post-calc-field > span {
  font-weight: 500;
  color: var(--ink);
  font-size: 13.5px;
}
.lex-post .post-calc-field input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.lex-post .post-calc-field input:focus {
  outline: 0;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(26,24,20,0.08);
}
.lex-post .post-calc-field small {
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.4;
}
.lex-post .post-calc-submit {
  margin-top: 4px;
}
.lex-post .post-calc-error {
  margin: 14px 0 0;
  padding: 10px 14px;
  background: #fbe9e7;
  border-left: 3px solid #c0392b;
  border-radius: var(--radius-sm);
  color: #6b2f2a;
  font-size: 13.5px;
}
.lex-post .post-calc-result {
  margin-top: 24px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px 32px;
}
.lex-post .post-calc-result-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.lex-post .post-calc-result-cell { display: flex; flex-direction: column; gap: 4px; }
.lex-post .post-calc-result-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.lex-post .post-calc-result-value {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.01em;
  color: #fff;
}
.lex-post .post-calc-result-total {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 0 14px;
}
.lex-post .post-calc-result-big {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 56px);
  font-style: italic;
  letter-spacing: -0.025em;
  line-height: 1;
  color: #fff;
}
.lex-post .post-calc-result-detail {
  font-size: 13.5px;
  color: rgba(255,255,255,0.78);
  line-height: 1.55;
  margin: 0 0 14px;
}
.lex-post .post-calc-disclaimer {
  font-size: 12.5px;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
  margin: 0 0 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.lex-post .post-content .post-calc-cta,
.lex-post .post-calc-cta {
  width: 100%;
  justify-content: center;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
}
.lex-post .post-content .post-calc-cta:hover,
.lex-post .post-calc-cta:hover { background: var(--bg); color: var(--ink); text-decoration: none; }

@media (max-width: 700px) {
  .lex-post .post-calc { padding: 24px; }
  .lex-post .post-calc-grid { grid-template-columns: 1fr; }
  .lex-post .post-calc-result-grid { grid-template-columns: 1fr; gap: 12px; }
  .lex-post .post-calc-result { padding: 22px; }
}
