/* Monarq Legal — juridical, modern, light */
:root {
  --bg: #f7f6f3;
  --bg-deep: #eef0f2;
  --surface: #ffffff;
  --ink: #0e1420;
  --ink-soft: #1c2433;
  --muted: #5a6270;
  --faint: #8b929e;
  --line: #d8dce3;
  --line-strong: #c2c8d1;
  --gold: #9a7b3c;
  --gold-bright: #b8954a;
  --gold-deep: #6f5724;
  --gold-soft: rgba(154, 123, 60, 0.1);
  --navy: #0e1420;
  --navy-soft: #1a2230;
  --ok: #1f6b4a;
  --danger: #9b2c2c;
  --shadow: 0 1px 2px rgba(14, 20, 32, 0.04), 0 14px 36px rgba(14, 20, 32, 0.05);
  --shadow-gold: 0 8px 22px rgba(111, 87, 36, 0.22);
  --radius: 6px;
  --display: "Outfit", "Segoe UI", sans-serif;
  --body: "Source Sans 3", "Segoe UI", sans-serif;
  --max: 1120px;
  --nav-h: 72px;
  --logo-ratio: 1024 / 227;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-soft);
  font-family: var(--body);
  font-size: 1.06rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold-deep); }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 0.55em;
}

p { margin: 0 0 1em; color: var(--muted); }

.container {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

/* Nav */
.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(246, 243, 238, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: 0.25s ease;
}

.site-nav.scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 30px rgba(18, 21, 28, 0.05);
}

.site-nav .inner {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
}

.brand-mark img {
  height: 44px;
  width: auto;
  aspect-ratio: var(--logo-ratio);
  object-fit: contain;
  display: block;
}

.hero-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1.75rem;
  opacity: 0;
  transform: translateY(16px);
  animation: heroIn 0.85s ease 0.05s forwards;
}

.hero-logo-wrap img {
  width: min(360px, 82vw);
  height: auto;
  aspect-ratio: var(--logo-ratio);
  object-fit: contain;
  image-rendering: auto;
}

.closing .brand {
  width: min(300px, 76vw);
  height: auto;
  aspect-ratio: var(--logo-ratio);
  object-fit: contain;
  margin: 0 auto 1.4rem;
}

.footer-brand {
  height: 36px;
  width: auto;
  aspect-ratio: var(--logo-ratio);
  object-fit: contain;
  margin-bottom: 0.4rem;
}

.auth-card .logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  margin: 0 auto 1.25rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 560;
}

.nav-links a:hover { color: var(--ink); }

.nav-links a.btn-solid,
.nav-links a.btn-solid:hover {
  color: #fff;
}

.nav-toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 0.55rem 0.8rem;
  border-radius: 10px;
  font-family: var(--body);
  font-size: 0.85rem;
  font-weight: 650;
  cursor: pointer;
}

/* Buttons — compact, sober */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.48rem 0.95rem;
  font-family: var(--body);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
  line-height: 1.25;
  text-decoration: none;
}

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

.btn-solid {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
  color: #fff;
  box-shadow: none;
}

.btn-solid:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  transform: none;
  box-shadow: none;
}

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

.btn-ghost:hover {
  background: var(--gold-soft);
  color: var(--ink);
}

/* Hero — brand first, impact */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--nav-h) + 2.5rem) 0 3rem;
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(154, 123, 60, 0.14), transparent 55%),
    linear-gradient(180deg, #fcfbf8 0%, var(--bg) 48%, var(--bg-deep) 100%);
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14, 20, 32, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 20, 32, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, black, transparent);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
  padding-bottom: 0;
}

.hero-content {
  text-align: center;
  max-width: 38rem;
  margin-inline: auto;
}

.hero h1 {
  font-size: clamp(2.15rem, 5.2vw, 3.55rem);
  margin-bottom: 0.85rem;
  letter-spacing: -0.03em;
  opacity: 0;
  animation: heroIn 0.85s ease 0.28s forwards;
}

.hero .lede {
  font-size: 1.12rem;
  max-width: 32rem;
  margin: 0 auto 1.75rem;
  color: var(--muted);
  opacity: 0;
  animation: heroIn 0.85s ease 0.4s forwards;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  opacity: 0;
  animation: heroIn 0.85s ease 0.52s forwards;
}

.hero-rail {
  margin-top: 3.25rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
  opacity: 0;
  animation: heroIn 0.9s ease 0.7s forwards;
}

.hero-rail .rail-item {
  padding: 1.35rem 1.2rem;
  border-right: 1px solid var(--line);
  text-align: left;
}

.hero-rail .rail-item:last-child { border-right: 0; }

.rail-item .label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.35rem;
}

.rail-item p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
  font-weight: 500;
  line-height: 1.4;
}

@keyframes heroIn {
  to { opacity: 1; transform: none; }
}

/* Diff band */
.diff-band {
  background: var(--navy);
  color: #e8eef5;
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}

.diff-band::after {
  content: "";
  position: absolute;
  right: -10%;
  top: -40%;
  width: 50%;
  height: 180%;
  background: radial-gradient(circle, rgba(184, 149, 74, 0.22), transparent 60%);
  pointer-events: none;
}

.diff-band .container { position: relative; z-index: 1; }

.diff-band h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  max-width: 18ch;
  margin-bottom: 0.75rem;
}

.diff-band .intro { color: #b8c2d1; max-width: 40rem; }

.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.diff-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem;
  transition: 0.25s ease;
}

.diff-card:hover {
  border-color: rgba(184, 149, 74, 0.45);
  background: rgba(184, 149, 74, 0.08);
  transform: translateY(-3px);
}

.diff-card .ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold-deep), var(--gold-bright));
  margin-bottom: 1rem;
  display: grid;
  place-items: center;
  color: #14110c;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.9rem;
}

.diff-card h3 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.diff-card p {
  margin: 0;
  color: #a8b3c2;
  font-size: 0.96rem;
}

/* Sections */
.section { padding: 4.25rem 0; position: relative; }

.section-alt {
  background: var(--bg-deep);
  border-block: 1px solid var(--line);
}

.section-head { max-width: 40rem; margin-bottom: 2.5rem; }

.section-label {
  display: inline-block;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.7rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--gold);
}

.section h2 { font-size: clamp(1.75rem, 3.3vw, 2.5rem); }

.section .intro { font-size: 1.1rem; margin-top: 0.75rem; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.75rem;
  align-items: start;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright));
}

.step .num {
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.85rem;
}

.step h3 { font-size: 1.2rem; margin-bottom: 0.45rem; }
.step p { margin: 0; font-size: 0.98rem; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-grid li {
  position: relative;
  padding: 1rem 0 1rem 1.15rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.98rem;
  font-weight: 500;
}

.feature-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.35rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.platform-split {
  align-items: center;
  gap: 2rem;
}

.panel-shot {
  margin: 0;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.panel-shot img {
  width: 100%;
  height: auto;
  display: block;
}

.checklist {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.checklist li {
  position: relative;
  padding-left: 1.2rem;
  color: var(--ink-soft);
  font-weight: 500;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--gold);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.pillar {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem;
  transition: 0.2s ease;
}

.pillar:hover {
  border-color: var(--gold);
  box-shadow: 0 10px 28px rgba(18, 21, 28, 0.06);
}

.pillar strong {
  display: block;
  font-family: var(--display);
  font-size: 0.98rem;
  font-weight: 650;
  color: var(--ink);
}

.offices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 0.8rem;
}

.office {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem;
  transition: 0.2s ease;
}

.office:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.office .country {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.3rem;
}

.office .city {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 650;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.office address {
  font-style: normal;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.statement {
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 650;
  color: var(--ink);
  line-height: 1.3;
  max-width: 38rem;
}

.disclaimer {
  margin-top: 1.1rem;
  padding: 1rem 1.15rem;
  background: var(--gold-soft);
  border-left: 3px solid var(--gold);
  border-radius: 0 10px 10px 0;
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 42rem;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.chip {
  display: inline-flex;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: var(--bg-deep);
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 650;
  border: 1px solid var(--line);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.review {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.review blockquote {
  margin: 0 0 1.1rem;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 550;
  color: var(--ink);
  line-height: 1.35;
}

.review .meta { font-size: 0.88rem; color: var(--muted); }
.review .via {
  margin-top: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.closing {
  padding: 5.5rem 0 6rem;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 70% at 50% 100%, rgba(184, 149, 74, 0.16), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, #efe9df 100%);
}

.closing h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  max-width: 20ch;
  margin-inline: auto;
}

.closing .tagline {
  color: var(--muted);
  margin: 0.85rem auto 1.85rem;
  max-width: 30rem;
}

.closing .hero-ctas {
  justify-content: center;
  opacity: 1;
  animation: none;
}

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 2.25rem 0;
}

.site-footer .inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.25rem;
  align-items: center;
}

.site-footer small { color: var(--faint); font-size: 0.88rem; }

.footer-links {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.9rem;
  font-weight: 560;
  color: var(--muted);
}

/* Auth */
.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  background:
    radial-gradient(ellipse 55% 40% at 50% 0%, rgba(184, 149, 74, 0.14), transparent 55%),
    var(--bg);
}

.auth-card {
  width: min(420px, 100%);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 1.85rem;
}

.auth-card .logo {
  height: 48px;
  width: auto;
  margin: 0 auto 1.35rem;
}

.auth-card h1 {
  font-size: 1.55rem;
  text-align: center;
  margin-bottom: 0.25rem;
}

.auth-card .sub {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.form-stack { display: grid; gap: 0.9rem; }

label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--ink-soft);
}

input, textarea, select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 0.8rem 0.9rem;
  font-family: var(--body);
  font-size: 1rem;
  border-radius: 12px;
  outline: none;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 3px var(--gold-soft);
}

.alert {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.alert-error {
  border-color: #f0c2c2;
  background: #fff5f5;
  color: var(--danger);
}

.alert-ok {
  border-color: #bfe3d1;
  background: #f1faf5;
  color: var(--ok);
}

.alert-warn {
  border-color: #f0d9a8;
  background: #fff8eb;
  color: #8a5a00;
}

.demo-hint {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--faint);
}

/* App shell */
.app-shell {
  display: grid;
  grid-template-columns: 248px 1fr;
  min-height: 100vh;
  background: var(--bg);
}

.app-side {
  background: var(--surface);
  border-right: 1px solid var(--line);
  padding: 1.25rem 0.9rem;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.app-side .logo-sm {
  height: 38px;
  width: auto;
  margin: 0.35rem 0.55rem 1.5rem;
}

.app-nav { display: grid; gap: 0.2rem; flex: 1; }

.app-nav a {
  padding: 0.7rem 0.85rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 560;
  border-radius: 10px;
}

.app-nav a.active,
.app-nav a:hover {
  color: var(--ink);
  background: var(--gold-soft);
}

.app-user {
  font-size: 0.85rem;
  color: var(--faint);
  padding: 0.9rem 0.5rem 0.25rem;
  border-top: 1px solid var(--line);
}

.app-main { padding: 1.75rem 1.75rem 2.5rem; }

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.app-header h1 { font-size: 1.75rem; margin: 0; }

.table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.table th, .table td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.table th {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--faint);
  background: var(--bg);
}

.table a { color: var(--ink); font-weight: 650; }

.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--gold-deep), var(--gold-bright));
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
}

.panel-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: 0 1px 2px rgba(18, 21, 28, 0.03);
}

.panel-block h3 { font-size: 1.1rem; margin-bottom: 0.75rem; }

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1.15rem;
  padding: 0.3rem;
  background: var(--bg-deep);
  border-radius: 12px;
  width: fit-content;
  max-width: 100%;
}

.tabs a {
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--muted);
  padding: 0.5rem 0.8rem;
  border-radius: 9px;
}

.tabs a.active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(18, 21, 28, 0.08);
}

.timeline { display: grid; gap: 0.9rem; }

.timeline-item {
  padding-left: 1rem;
  border-left: 2px solid var(--gold);
}

.timeline-item time {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-deep);
}

.timeline-item h4 { font-size: 1.02rem; margin: 0.2rem 0; }

.doc-list { display: grid; gap: 0.55rem; }

.doc-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.9rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.doc-item h4 { font-size: 1rem; margin: 0 0 0.2rem; }

.doc-viewer {
  margin-top: 0.75rem;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  min-height: 220px;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  color: var(--muted);
  text-align: center;
}

.doc-viewer iframe,
.doc-viewer img {
  width: 100%;
  min-height: 420px;
  border: 0;
  object-fit: contain;
}

.msg-thread {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1rem;
  max-height: 360px;
  overflow: auto;
}

.msg {
  padding: 0.85rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.msg time { font-size: 0.75rem; color: var(--faint); }

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem;
}

.stat .n {
  font-family: var(--display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--ink);
}

.stat .l {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--faint);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Intro + specialties */
.intro-block { padding-top: 0; }

.intro-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
  padding: 2rem 0 0.5rem;
  border-top: 1px solid var(--line);
}

.spec-group {
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 2rem 0 0.85rem;
}

.spec-group:first-of-type { margin-top: 0.5rem; }

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}

.spec-card {
  background: var(--surface);
  border: 0;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  overflow: hidden;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.spec-card:hover,
.spec-card.is-open {
  border-color: var(--line-strong);
  background: #fbfcfa;
  box-shadow: inset 3px 0 0 var(--gold);
}

.spec-toggle {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 1.15rem 1.25rem;
  cursor: pointer;
  position: relative;
  font-family: var(--body);
  color: inherit;
}

.spec-title {
  display: block;
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 650;
  color: var(--ink);
  padding-right: 1.6rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.spec-summary {
  display: block;
  margin-top: 0.28rem;
  font-size: 0.88rem;
  color: var(--muted);
  padding-right: 1.6rem;
}

.spec-chevron {
  position: absolute;
  right: 1.15rem;
  top: 1.35rem;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--gold-deep);
  border-bottom: 1.5px solid var(--gold-deep);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.spec-card.is-open .spec-chevron {
  transform: rotate(225deg);
  top: 1.45rem;
}

.spec-panel {
  padding: 0 1.25rem 1.2rem;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(154, 123, 60, 0.04), transparent 40%);
}

.spec-panel ul {
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
  columns: 1;
}

.spec-panel li {
  position: relative;
  padding-left: 0.9rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

.spec-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.spec-note {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 44rem;
}

.policy-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  border: 1px solid var(--line-strong);
}

.policy-card {
  background: var(--surface);
  border: 0;
  border-radius: 0;
  padding: 1.6rem 1.5rem;
}

.policy-card + .policy-card {
  border-left: 1px solid var(--line-strong);
}

.policy-card h3 {
  font-size: 1.12rem;
  margin-bottom: 0.85rem;
}

.policy-accent {
  background: var(--navy);
  border-color: var(--navy);
}

.policy-accent h3,
.policy-accent .statement {
  color: #fff;
}

.policy-accent .disclaimer {
  background: rgba(255, 255, 255, 0.06);
  border-left-color: var(--gold-bright);
  color: #b8c0cc;
}

@media (max-width: 960px) {
  html, body {
    overflow-x: hidden;
    max-width: 100%;
  }

  .hero-rail,
  .diff-grid,
  .split,
  .grid-2,
  .reviews-grid,
  .pillars,
  .steps,
  .feature-grid,
  .stat-row,
  .spec-grid,
  .policy-grid,
  .intro-grid {
    grid-template-columns: 1fr;
  }

  .hero-rail .rail-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .app-shell { grid-template-columns: 1fr; height: auto; max-height: none; overflow: visible; }
  body.side-collapsed .app-shell-compact { grid-template-columns: 1fr; }

  .app-side {
    position: relative;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .app-side.is-collapsed .side-brand { display: inline-flex; }
  .app-main { height: auto; overflow: visible; padding: 0.85rem; }
  .case-workspace { height: auto; }
  .case-body { overflow: visible; }
  .split-panes,
  .doc-workspace { grid-template-columns: 1fr; height: auto; }
  .scroll-pane,
  .scroll-pane-lg { max-height: 42vh; }
  .doc-viewer iframe,
  .doc-viewer img { min-height: 320px; }
  .composer { grid-template-columns: 1fr; }

  .nav-links { display: none; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: var(--nav-h);
    right: 0;
    left: 0;
    background: var(--surface);
    padding: 1rem;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .nav-links .btn { justify-content: center; }
  .nav-toggle { display: inline-flex; }
  .app-main { padding: 1.15rem 1rem 2rem; }
  .tabs { width: 100%; }
  .brand-mark img { height: 36px; }
  .hero-logo-wrap img { width: min(320px, 88vw); }
}

/* ===== Panel workspace overrides (viewport-focused) ===== */
.app-shell {
  height: 100vh;
  max-height: 100vh;
  overflow: hidden;
}
.app-shell-compact {
  grid-template-columns: 220px 1fr;
  transition: grid-template-columns 0.2s ease;
}
body.side-collapsed .app-shell-compact { grid-template-columns: 72px 1fr; }
.app-side { padding: 0.85rem 0.7rem; overflow: hidden; min-height: 0; }
.side-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.35rem; margin-bottom: 0.85rem; padding: 0 0.25rem;
}
.side-brand { display: inline-flex; min-width: 0; }
.app-side .logo-sm { height: 32px; max-width: 140px; margin: 0; object-fit: contain; }
.side-toggle {
  border: 1px solid var(--line); background: var(--bg); color: var(--ink);
  border-radius: 8px; width: 34px; height: 34px; cursor: pointer; flex-shrink: 0;
}
.app-nav a {
  padding: 0.55rem 0.7rem; border-radius: 999px; border: 1px solid transparent;
  font-size: 0.86rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.chip-side a.active, .chip-side a:hover {
  color: var(--ink); background: var(--gold-soft); border-color: rgba(154,123,60,0.22);
}
.app-side.is-collapsed .side-brand { display: none; }
.app-side.is-collapsed .app-user-name,
.app-side.is-collapsed .app-user > div:last-child { display: none; }
.app-side.is-collapsed .app-nav a {
  text-align: center; padding: 0.55rem 0.35rem; font-size: 0.68rem;
}
.app-user { font-size: 0.78rem; padding: 0.75rem 0.45rem 0.15rem; margin-top: auto; }
.app-user-name { color: var(--ink); font-weight: 600; margin-bottom: 0.15rem; }
.app-main {
  padding: 1rem 1.15rem; min-width: 0; min-height: 0; height: 100vh;
  overflow: hidden; display: flex; flex-direction: column;
}
.case-workspace {
  display: flex; flex-direction: column; gap: 0.75rem;
  min-height: 0; height: 100%; flex: 1;
}
.case-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 0.75rem; flex-shrink: 0; }
.case-kicker {
  margin: 0; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 700;
}
.case-top h1 { margin: 0.15rem 0 0; font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.2; }
.case-meta { margin: 0.25rem 0 0; font-size: 0.88rem; color: var(--muted); }
.chip-nav {
  display: flex; flex-wrap: nowrap; gap: 0.35rem; overflow-x: auto;
  padding: 0.15rem 0 0.25rem; flex-shrink: 0; scrollbar-width: thin;
}
.chip {
  flex: 0 0 auto; display: inline-flex; align-items: center;
  padding: 0.42rem 0.85rem; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--muted); font-size: 0.8rem; font-weight: 650; text-decoration: none;
}
.chip:hover { color: var(--ink); border-color: var(--line-strong); }
.chip.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.case-body { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; }
.split-panes {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 0.75rem;
  min-height: 0; height: 100%;
}
.pane {
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  padding: 0.85rem 0.95rem; display: flex; flex-direction: column;
  min-height: 0; min-width: 0; overflow: hidden;
}
.pane-fill { height: 100%; }
.pane-side { max-height: 100%; overflow: auto; }
.pane-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.5rem; margin-bottom: 0.55rem; flex-shrink: 0;
}
.pane-head h3 { margin: 0; font-size: 0.95rem; }
.pane-sub { margin: 0.15rem 0 0; font-size: 0.8rem; color: var(--faint); }
.pane-link { font-size: 0.78rem; font-weight: 650; color: var(--gold-deep); }
.scroll-pane {
  flex: 1; min-height: 0; overflow: auto; padding-right: 0.2rem;
  max-height: min(52vh, 480px);
}
.scroll-pane-lg { max-height: min(62vh, 640px); }
.msg-pane { height: 100%; }
.msg-scroll { max-height: none; flex: 1; margin-bottom: 0.55rem; }
.composer {
  display: grid; grid-template-columns: 1fr auto; gap: 0.55rem;
  align-items: end; flex-shrink: 0; border-top: 1px solid var(--line); padding-top: 0.65rem;
}
.composer textarea { width: 100%; resize: none; min-height: 64px; }
.list-card {
  padding: 0.75rem 0.85rem; border: 1px solid var(--line); border-radius: 10px;
  margin-bottom: 0.5rem; background: var(--bg);
}
.list-card h3 { font-size: 0.98rem; margin: 0 0 0.25rem; }
.list-card p { margin: 0 0 0.4rem; font-size: 0.9rem; }
.empty-hint { color: var(--faint); font-size: 0.9rem; margin: 0.35rem 0; }
.due-hint { margin-left: 0.5rem; font-size: 0.78rem; color: var(--faint); }
.muted-count { font-size: 0.78rem; color: var(--faint); font-weight: 650; }
.check-inline {
  display: flex !important; flex-direction: row !important; align-items: center;
  gap: 0.45rem; text-transform: none !important; letter-spacing: 0 !important; font-size: 0.88rem !important;
}
.check-inline input { width: auto !important; }
.compact-form label { margin-bottom: 0.35rem; }
.doc-workspace {
  display: grid; grid-template-columns: minmax(240px, 300px) 1fr;
  gap: 0.75rem; min-height: 0; height: 100%;
}
.doc-rail {
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  padding: 0.75rem; display: flex; flex-direction: column; min-height: 0; overflow: hidden;
}
.doc-rail-list { max-height: none; flex: 1; }
.doc-row {
  display: grid; grid-template-columns: 1fr auto; gap: 0.35rem; align-items: start;
  margin-bottom: 0.4rem; padding: 0.35rem; border-radius: 10px; border: 1px solid transparent;
}
.doc-row:hover { background: var(--bg); }
.doc-row.is-missing { opacity: 0.72; }
.doc-row-main {
  border: 0; background: transparent; text-align: left; cursor: pointer;
  padding: 0.35rem 0.4rem; color: inherit; font: inherit; width: 100%; border-radius: 8px;
}
.doc-row-main.is-active, .doc-row:has(.doc-row-main.is-active) {
  background: var(--gold-soft); border-color: rgba(154,123,60,0.25);
}
.doc-row-main strong { display: block; font-size: 0.88rem; color: var(--ink); margin-bottom: 0.1rem; }
.doc-row-main span { display: block; font-size: 0.75rem; color: var(--faint); line-height: 1.35; }
.doc-row-actions { padding-top: 0.25rem; }
.btn-tiny {
  display: inline-flex; align-items: center; padding: 0.28rem 0.55rem;
  font-size: 0.72rem; font-weight: 700; border-radius: 999px; border: 1px solid var(--line);
  background: var(--bg); color: var(--ink); text-decoration: none;
}
.btn-tiny:hover { border-color: var(--gold); color: var(--gold-deep); }
.upload-drawer {
  margin-top: 0.55rem; border-top: 1px solid var(--line); padding-top: 0.45rem; flex-shrink: 0;
}
.upload-drawer summary {
  cursor: pointer; font-size: 0.82rem; font-weight: 700; color: var(--ink);
  padding: 0.35rem 0; list-style: none;
}
.upload-drawer summary::-webkit-details-marker { display: none; }
.upload-drawer[open] summary { margin-bottom: 0.55rem; color: var(--gold-deep); }
.doc-stage-wrap { min-height: 0; height: 100%; }
.doc-viewer {
  flex: 1; min-height: 0; margin-top: 0.35rem; border: 1px solid var(--line);
  background: #f3f4f6; border-radius: 10px; overflow: hidden;
  display: flex; align-items: stretch; justify-content: center; padding: 0; place-items: stretch;
}
.doc-viewer-empty { margin: auto; padding: 1.25rem; color: var(--muted); text-align: center; max-width: 28rem; }
.doc-viewer iframe, .doc-viewer img {
  width: 100%; height: 100%; min-height: min(58vh, 560px); border: 0;
  object-fit: contain; background: #fff;
}
.msg-thread { max-height: none; margin-bottom: 0; }
.msg { background: var(--bg); }

/* Dashboards scroll; case workspace stays viewport-bound */
.app-main { overflow: auto; }
.case-workspace { overflow: hidden; }

/* ===== Parcela 214 campaign ===== */
body.p214 .p214-nav {
  --nav-h: 68px;
  height: var(--nav-h);
}
body.p214 .p214-nav .inner {
  gap: 0.75rem;
  align-items: center;
}
body.p214 .p214-nav .brand-mark {
  min-width: 0;
  flex: 0 1 auto;
}
body.p214 .p214-nav .brand-mark img {
  height: 38px;
}

/* Outline CTA for header — compact, single-line, juridical */
body.p214 .btn-nav {
  flex: 0 0 auto;
  padding: 0.42rem 0.85rem;
  min-height: 2.35rem;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: 3px;
  border: 1px solid rgba(111, 87, 36, 0.55);
  background: transparent;
  color: var(--gold-deep);
  box-shadow: none;
  line-height: 1.2;
}
body.p214 .btn-nav:hover,
body.p214 .btn-nav:focus-visible {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
  color: #fff;
  outline: none;
}
body.p214 .btn-nav .btn-text-short { display: none; }
body.p214 .btn-nav .btn-text-full { display: inline; }

/* Primary hero / form actions */
body.p214 .btn-hero,
body.p214 .btn-solid.btn-hero {
  padding: 0.9rem 1.55rem;
  min-height: 3.05rem;
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  border-radius: 3px;
  border: 1px solid #5a461c;
  color: #fff;
  background:
    linear-gradient(180deg, #82672c 0%, var(--gold-deep) 58%, #5f4a1e 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 1px 2px rgba(14, 20, 32, 0.08);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
body.p214 .btn-hero:hover,
body.p214 .btn-solid.btn-hero:hover,
body.p214 .btn-hero:focus-visible {
  background:
    linear-gradient(180deg, #947534 0%, var(--gold) 55%, #6f5724 100%);
  border-color: #6f5724;
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 2px 8px rgba(111, 87, 36, 0.22);
  outline: none;
}
body.p214 .btn-hero:active {
  box-shadow: inset 0 1px 2px rgba(14, 20, 32, 0.18);
}

body.p214 .p214-hero {
  padding: calc(var(--nav-h) + 2.5rem) 0 3rem;
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(154,123,60,0.12), transparent 55%),
    linear-gradient(180deg, #f7f6f3 0%, var(--bg, #fff) 100%);
}
body.p214 .p214-hero-inner { max-width: 760px; }
body.p214 .p214-hero h1 {
  font-family: var(--display);
  font-size: clamp(1.7rem, 4.5vw, 2.55rem);
  line-height: 1.15;
  color: var(--ink);
  margin: 0.35rem 0 0.75rem;
  letter-spacing: -0.02em;
}
body.p214 .p214-sub {
  font-size: 1.15rem;
  color: var(--gold-deep);
  font-weight: 600;
  margin: 0 0 1.25rem;
}
body.p214 .p214-counter {
  margin: 0 0 1.35rem;
  padding: 1rem 1.15rem;
  max-width: 22rem;
  border: 1px solid rgba(111, 87, 36, 0.35);
  border-left: 3px solid var(--gold-deep);
  background: #fff;
  border-radius: 0 6px 6px 0;
}
body.p214 .p214-counter-label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
body.p214 .p214-counter-value {
  margin: 0.2rem 0 0.15rem;
  font-family: var(--display);
  font-size: clamp(2.4rem, 7vw, 3.2rem);
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.03em;
}
body.p214 .p214-counter-note {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.4;
}
body.p214 .p214-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.65rem;
  margin: 1.35rem 0 0.95rem;
}
body.p214 .p214-ctas .btn:not(.btn-hero) {
  min-height: 3.05rem;
  padding: 0.85rem 1.25rem;
  border-radius: 3px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
body.p214 .p214-disclaimer {
  font-size: 0.9rem;
  color: var(--muted, #5a6270);
  max-width: 36rem;
}
body.p214 .p214-strength {
  background:
    linear-gradient(180deg, #121925 0%, #0e1420 100%);
  color: #e8eaee;
  border-top: 1px solid rgba(154, 123, 60, 0.35);
  border-bottom: 1px solid rgba(154, 123, 60, 0.35);
}
body.p214 .p214-strength .section-label { color: var(--gold-bright); }
body.p214 .p214-strength h2 { color: #fff; }
body.p214 .p214-strength .intro { color: #c5cad3; }
body.p214 .p214-strength .intro strong { color: #fff; }
body.p214 .p214-strength-grid {
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}
body.p214 .p214-strength-grid li {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(216, 220, 227, 0.12);
  border-top: 2px solid var(--gold);
  border-radius: 4px;
  padding: 1rem 1.05rem;
}
body.p214 .p214-strength-grid strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #fff;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
}
body.p214 .p214-strength-grid span {
  display: block;
  color: #b8c0cc;
  font-size: 0.92rem;
  line-height: 1.45;
}
body.p214 .p214-benefits {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  max-width: 40rem;
}
body.p214 .p214-benefits li {
  display: grid;
  gap: 0.15rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 0 6px 6px 0;
}
body.p214 .p214-benefits strong {
  color: var(--ink);
  font-size: 0.95rem;
}
body.p214 .p214-benefits span {
  color: var(--muted);
  font-size: 0.9rem;
}
body.p214 .p214-alt { background: #f7f6f3; }
body.p214 .p214-notice {
  border-left: 3px solid var(--gold);
  background: #fff;
  padding: 1rem 1.15rem;
  border-radius: 0 10px 10px 0;
  max-width: 46rem;
  margin: 1rem 0;
}
body.p214 .p214-fee {
  font-size: 1.2rem;
  margin: 0 0 1rem;
  color: var(--ink);
}
body.p214 .p214-fee-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1.35rem 0 1.1rem;
}
body.p214 .p214-fee-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.1rem 1rem;
  text-align: left;
}
body.p214 .p214-fee-card--accent {
  border-color: rgba(111, 87, 36, 0.35);
  background: linear-gradient(180deg, #fff 0%, #f8f4eb 100%);
}
body.p214 .p214-fee-card--focus {
  border-color: rgba(111, 87, 36, 0.55);
  background: linear-gradient(180deg, #fffdf8 0%, #f3ecd9 100%);
  box-shadow: 0 6px 18px rgba(18, 28, 45, 0.06);
}
body.p214 .p214-fee-label {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
body.p214 .p214-fee-amount {
  margin: 0.45rem 0 0.25rem;
  font-family: var(--display);
  font-size: 1.85rem;
  font-weight: 650;
  color: var(--ink);
  letter-spacing: -0.02em;
}
body.p214 .p214-fee-note {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.35;
}
body.p214 .p214-price-hero {
  margin: 0.35rem 0 0.75rem;
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  line-height: 1.35;
  color: var(--ink);
}
body.p214 .p214-price-hero strong {
  color: var(--gold-deep);
  font-weight: 700;
}
body.p214 .p214-tax-formula {
  margin: 0 0 0.75rem;
  font-size: 1.02rem;
  line-height: 1.45;
  color: var(--ink);
}
body.p214 .p214-scope-foot {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #d5dae2;
}
body.p214 .p214-scope-foot + .p214-scope-foot {
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
body.p214 .p214-before {
  background: #fff;
  border: 1px solid rgba(111, 87, 36, 0.35);
  border-left: 4px solid var(--gold-deep);
  border-radius: 8px;
  padding: 1.35rem 1.3rem 1.4rem;
}
body.p214 .p214-before h2 {
  margin: 0 0 0.65rem;
  font-size: 1.35rem;
  color: var(--ink);
}
body.p214 .p214-before p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
body.p214 .p214-contact-urgent {
  margin-top: 1.25rem;
  padding: 1.1rem 1.15rem;
  background: #fff8ef;
  border: 1px solid rgba(154, 123, 60, 0.35);
  border-radius: 8px;
}
body.p214 .p214-contact-urgent p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.5;
}
body.p214 .p214-contact-line {
  margin-top: 0.65rem !important;
  font-size: 0.95rem;
}
body.p214 .p214-note-compact {
  margin: 0;
  padding: 0.95rem 1.05rem;
  background: #f7f6f3;
  border-radius: 8px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  line-height: 1.5;
}
body.p214 .p214-urgency-hint {
  margin: 0 0 0.85rem;
  padding: 0.75rem 0.9rem;
  background: #fff8ef;
  border-left: 3px solid var(--gold-deep);
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.45;
}
body.p214 .p214-support-terms { margin-top: 1.1rem; }
body.p214 .p214-tax-box {
  margin: 1.15rem 0 1.25rem;
  padding: 1.1rem 1.15rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  max-width: 46rem;
}
body.p214 .p214-tax-title {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
body.p214 .p214-tax-lines {
  list-style: none;
  margin: 0;
  padding: 0;
}
body.p214 .p214-tax-lines li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--ink-soft);
}
body.p214 .p214-tax-lines li:last-child { border-bottom: 0; }
body.p214 .p214-tax-lines strong {
  color: var(--ink);
  font-weight: 650;
  text-align: right;
  white-space: nowrap;
}
body.p214 .p214-tax-note {
  margin: 0.75rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}
body.p214 .p214-scope {
  margin: 1.5rem 0 1.25rem;
  display: grid;
  gap: 1rem;
}
body.p214 .p214-scope-includes {
  background:
    radial-gradient(ellipse 90% 70% at 100% 0%, rgba(201, 168, 76, 0.22), transparent 55%),
    linear-gradient(165deg, #243552 0%, #18263c 48%, #121c2d 100%);
  color: #eef1f6;
  border: 2px solid rgba(201, 168, 76, 0.55);
  border-radius: 10px;
  padding: 1.45rem 1.35rem 1.5rem;
  box-shadow: 0 10px 28px rgba(18, 28, 45, 0.18);
}
body.p214 .p214-scope-includes h3 {
  margin: 0 0 0.65rem;
  color: #fff;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
}
body.p214 .p214-scope-includes .intro {
  color: #d4dac4;
  font-weight: 500;
}
body.p214 .p214-scope-includes .checklist {
  color: #e8ecf2;
}
body.p214 .p214-scope-includes .checklist li {
  color: #e8ecf2;
}
body.p214 .p214-scope-includes .checklist li::before {
  background: #e0c46a;
}
body.p214 .p214-notice--on-scope {
  background: rgba(255, 248, 230, 0.1);
  border-left: 3px solid #e0c46a;
  color: #e7ebf1;
  max-width: none;
  margin-top: 1.1rem;
}
@media (max-width: 640px) {
  body.p214 .p214-scope-includes,
  body.p214 .p214-scope-apart {
    padding: 1.1rem 1rem 1.15rem;
  }
  body.p214 .p214-scope-includes h3 {
    font-size: 1.2rem;
  }
}
body.p214 .p214-scope-apart {
  background: #fff8ef;
  border: 1px solid rgba(154, 123, 60, 0.35);
  border-radius: 10px;
  padding: 1.25rem 1.2rem;
}
body.p214 .p214-scope-apart h3 {
  margin: 0 0 0.55rem;
  font-size: 1.2rem;
  color: var(--ink);
}
body.p214 .p214-scope-apart .intro {
  color: var(--ink-soft);
}
body.p214 .p214-steps-numbered {
  counter-reset: p214step;
  list-style: none;
  padding-left: 0;
}
body.p214 .p214-steps-numbered li {
  counter-increment: p214step;
  position: relative;
  padding-left: 2.4rem;
  margin: 0.75rem 0;
}
body.p214 .p214-steps-numbered li::before {
  content: counter(p214step);
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  border: 1px solid rgba(111, 87, 36, 0.45);
  color: var(--gold-deep);
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
body.p214 .p214-compare {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
body.p214 .p214-compare-head,
body.p214 .p214-compare-row {
  display: grid;
  grid-template-columns: 1.1fr 1.45fr 1.45fr;
  gap: 0;
}
body.p214 .p214-compare-head {
  background: #f3f0e9;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
body.p214 .p214-compare-head > div,
body.p214 .p214-compare-row > div {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.45;
}
body.p214 .p214-compare-head > div:last-child,
body.p214 .p214-compare-row > div:last-child {
  border-right: 0;
}
body.p214 .p214-compare-row:last-child > div {
  border-bottom: 0;
}
body.p214 .p214-faq details {
  border-bottom: 1px solid var(--line, #e2e6ec);
  padding: 0.85rem 0;
}
body.p214 .p214-faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  list-style: none;
}
body.p214 .p214-faq summary::-webkit-details-marker { display: none; }
body.p214 .p214-faq p { margin: 0.55rem 0 0; color: var(--ink-soft); }
body.p214 .p214-ref-box {
  border: 1px solid var(--line, #e2e6ec);
  border-radius: 14px;
  padding: 1.25rem 1.4rem;
  margin: 1.25rem 0;
  background: #f7f6f3;
}
body.p214 .p214-ref {
  font-family: var(--display);
  font-size: 1.8rem;
  letter-spacing: 0.04em;
  margin: 0.35rem 0;
  color: var(--gold-deep);
}
body.p214 .p214-form fieldset.p214-block {
  border: 1px solid var(--line, #e2e6ec);
  border-radius: 14px;
  padding: 1.1rem 1.15rem 1.25rem;
  margin: 0 0 1.1rem;
  background: #fff;
}
body.p214 .p214-form legend {
  font-weight: 700;
  padding: 0 0.35rem;
  color: var(--ink);
}
body.p214 .p214-num-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
body.p214 .p214-radios {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  margin: 0.35rem 0 0.85rem;
}
body.p214 .p214-radios label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
}
body.p214 .p214-q { font-weight: 650; margin: 0.75rem 0 0.35rem; }
body.p214 .field-help { font-size: 0.88rem; color: var(--muted, #5a6270); margin: 0.25rem 0 0.75rem; }
body.p214 .hint-inline { font-weight: 400; color: var(--muted, #5a6270); font-size: 0.85em; }
body.p214 .consent-box { align-items: flex-start; gap: 0.55rem; }
body.p214 .consent-box input { margin-top: 0.25rem; }
body.p214 .p214-submit { width: 100%; max-width: 20rem; }
body.p214 .check-inline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.35rem 0;
}
.p214-home-banner {
  border-top: 1px solid var(--line, #e2e6ec);
  border-bottom: 1px solid var(--line, #e2e6ec);
  background: linear-gradient(90deg, #f7f6f3, #fff 40%, #f7f6f3);
  padding: 1.35rem 0;
}
.p214-home-banner .inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.p214-home-banner h2 {
  font-family: var(--display);
  font-size: 1.25rem;
  margin: 0 0 0.35rem;
  color: var(--ink);
}
.p214-home-banner p { margin: 0; color: var(--ink-soft); max-width: 40rem; font-size: 0.95rem; }
@media (max-width: 720px) {
  body.p214 .p214-nav {
    --nav-h: 60px;
    height: var(--nav-h);
  }
  body.p214 .p214-nav .inner {
    width: min(var(--max), calc(100% - 1.5rem));
    gap: 0.6rem;
  }
  body.p214 .p214-nav .brand-mark img { height: 32px; }
  body.p214 .btn-nav {
    padding: 0.38rem 0.7rem;
    min-height: 2.15rem;
    font-size: 0.72rem;
    letter-spacing: 0.07em;
  }
  body.p214 .btn-nav .btn-text-full { display: none; }
  body.p214 .btn-nav .btn-text-short { display: inline; }
  body.p214 .p214-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
  }
  body.p214 .p214-ctas .btn,
  body.p214 .p214-ctas .btn-hero,
  body.p214 .p214-form #p214-next {
    width: 100%;
    justify-content: center;
  }
  body.p214 .p214-form #p214-next {
    margin-top: 0.35rem;
  }
  body.p214 .p214-form-actions {
    flex-direction: column-reverse;
  }
  body.p214 .p214-form-actions .btn-nav {
    width: 100%;
    text-transform: none;
    letter-spacing: 0.02em;
    font-size: 0.9rem;
    min-height: 2.75rem;
  }
}
@media (max-width: 820px) {
  body.p214 .p214-strength-grid {
    grid-template-columns: 1fr;
  }
  body.p214 .p214-fee-cards {
    grid-template-columns: 1fr;
  }
  body.p214 .p214-compare-head { display: none; }
  body.p214 .p214-compare {
    border: 0;
    background: transparent;
    overflow: visible;
  }
  body.p214 .p214-compare-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem;
    margin: 0 0 0.85rem;
    padding: 1rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
  }
  body.p214 .p214-compare-row > div {
    border: 0;
    padding: 0;
    font-size: 0.94rem;
  }
  body.p214 .p214-compare-row > div::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 0.2rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--gold-deep);
  }
  body.p214 .p214-compare-row > div[data-label="Aspecto"]::before {
    content: none;
  }
}
@media (max-width: 520px) {
  body.p214 .p214-num-grid { grid-template-columns: 1fr; }
  body.p214 .p214-submit { max-width: none; }
  body.p214 .p214-hero {
    padding: calc(var(--nav-h) + 1.75rem) 0 2.35rem;
  }
  body.p214 .btn-hero,
  body.p214 .btn-solid.btn-hero {
    font-size: 0.92rem;
    padding: 0.95rem 1.15rem;
  }
  body.p214 .p214-fee-amount { font-size: 1.65rem; }
}

/* P214 form steps / errors */
body.p214 .p214-step-bar {
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--gold-deep);
  margin: 0 0 0.85rem;
}
body.p214 .req { color: var(--gold-deep); }
body.p214 .field-error {
  display: block;
  color: #8b1e1e;
  font-size: 0.82rem;
  margin-top: 0.25rem;
}
body.p214 label.has-error input,
body.p214 label.has-error textarea {
  border-color: rgba(180,60,60,0.55);
}
body.p214 .p214-privacy-layer {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--ink-soft);
  background: #f7f6f3;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  margin-bottom: 0.85rem;
}
body.p214 .p214-privacy-layer p { margin: 0 0 0.45rem; }
body.p214 .p214-privacy-layer p:last-child { margin-bottom: 0; }
body.p214 .p214-steps {
  margin: 0 0 1.25rem;
  padding-left: 1.2rem;
  color: var(--ink-soft);
  line-height: 1.55;
}
body.p214 .p214-steps li { margin: 0.4rem 0; }
