/* ========================================================================
   VERSO — El Pacto
   A partnership landing page built as the document it actually produces.
   ======================================================================== */

:root {
  --paper:        #EFEDE6;
  --paper-dim:     #E3E0D3;
  --surface:      #F9F8F3;
  --ink:          #0E0D08;
  --ink-soft:     #423F30;
  --ink-faint:    #5F5D49;
  --rule:         #C9C6B4;
  --rule-strong:  #9C987E;

  --green:        #1B5A42;
  --green-deep:   #0E3626;
  --green-bright: #2C8563;
  --green-tint:   #DEE8E0;
  --green-glow:   rgba(27, 90, 66, 0.38);

  --red:          #A6321F;
  --red-tint:     #F1DFD8;

  --ghost-op: 0.32;

  --font-serif: "Source Serif 4", Georgia, serif;
  --font-mono:  "Courier Prime", "Courier New", monospace;
  --font-ui:    "Inter", -apple-system, sans-serif;

  --max: 1180px;
  --gutter: clamp(20px, 5vw, 64px);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Liquid glass surfaces — tinted brighter than the paper ground and given
     a real outer contour, so a panel reads as a distinct block even where
     no ambient color sits behind it (a translucent panel the same hue as
     its backdrop is invisible, not "glass"). */
  --glass-bg: rgba(250, 248, 240, 0.80);
  --glass-bg-strong: rgba(250, 248, 240, 0.90);
  --glass-border: rgba(255, 255, 252, 0.75);
  --glass-border-dim: rgba(255, 255, 255, 0.14);
  --shadow-sm: 0 2px 10px rgba(14, 13, 8, 0.10);
  --shadow-md: 0 14px 36px rgba(14, 13, 8, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.75);
  --shadow-lg: 0 26px 68px rgba(14, 13, 8, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dl, dd { margin: 0; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
  z-index: 200;
  font-family: var(--font-ui);
  font-size: 14px;
}
.skip-link:focus { left: 12px; top: 12px; }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

/* Faint document texture: a fixed grid of hairlines, like ruled paper */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: linear-gradient(var(--rule) 1px, transparent 1px);
  background-size: 100% 44px;
  opacity: 0.16;
  mix-blend-mode: multiply;
}

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  z-index: 300;
  background: linear-gradient(90deg, var(--green-bright), var(--green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.1s linear;
}

main, header, footer { position: relative; z-index: 1; }

/* ========================================================================
   LETTERHEAD / HEADER
   ======================================================================== */
.letterhead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--glass-border-dim);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset, 0 8px 24px rgba(14, 13, 8, 0);
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.letterhead.is-scrolled {
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset, 0 8px 24px rgba(14, 13, 8, 0.08);
  border-bottom-color: var(--rule);
}

.letterhead__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px var(--gutter);
  display: flex;
  align-items: center;
  gap: 32px;
}

.letterhead__mark {
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}
.letterhead__word {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 24px;
  color: var(--green);
  transition: color 0.3s var(--ease-out);
}
.letterhead__mark:hover .letterhead__word { color: var(--green-deep); }
.letterhead__tagline {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
}
@media (max-width: 420px) {
  .letterhead__tagline { display: none; }
}

.letterhead__nav {
  display: flex;
  gap: 28px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
}
.letterhead__nav a {
  text-decoration: none;
  color: var(--ink-soft);
  position: relative;
  padding-bottom: 3px;
}
.letterhead__nav a:hover { color: var(--ink); }
.letterhead__nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.letterhead__nav a:hover::after { transform: scaleX(1); }

.letterhead__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
}
.letterhead__burger span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 8px var(--gutter) 20px;
  font-family: var(--font-ui);
  font-size: 15px;
  border-top: 1px solid var(--rule);
}
.mobile-nav a {
  text-decoration: none;
  color: var(--ink);
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
}
.mobile-nav .btn { margin-top: 14px; align-self: flex-start; border-bottom: none; padding: 12px 22px; }
.mobile-nav a.btn--stamp { color: var(--paper); }
.mobile-nav a.btn--stamp:hover { color: var(--paper); }

.letterhead.is-open .mobile-nav { display: flex; }
.letterhead.is-open .letterhead__burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.letterhead.is-open .letterhead__burger span:nth-child(2) { opacity: 0; }
.letterhead.is-open .letterhead__burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 860px) {
  .letterhead__nav, .letterhead__cta { display: none; }
  .letterhead__burger { display: flex; }
  .letterhead__word { font-size: 21px; }
}

/* ========================================================================
   BUTTONS
   ======================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 3px;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s var(--ease-spring), background 0.2s, border-color 0.2s, box-shadow 0.35s var(--ease-out);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px) scale(1.015); }
.btn:active { transform: translateY(0) scale(0.98); transition-duration: 0.1s; }

/* Shine sweep on hover — Apple-style specular pass */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.35) 45%, transparent 70%);
  transform: translateX(-120%);
  pointer-events: none;
}
.btn:hover::before {
  transform: translateX(120%);
  transition: transform 0.75s var(--ease-out);
}
.btn > * { position: relative; z-index: 2; }

.btn--stamp {
  background: var(--green);
  color: var(--paper);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 6px 20px var(--green-glow);
}
.btn--stamp:hover {
  background: var(--green-deep);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 12px 32px var(--green-glow);
}

/* Deliberately understated — a secondary action reads as a text link, not
   a second button competing for the same attention as btn--stamp. */
.btn--ghost {
  background: transparent;
  color: var(--ink-soft);
  border-color: transparent;
  box-shadow: none;
  padding: 12px 2px;
  position: relative;
}
.btn--ghost::before { display: none; }
.btn--ghost::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 8px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease-out);
}
.btn--ghost:hover {
  transform: none;
  color: var(--green-deep);
}
.btn--ghost:hover::after { transform: scaleX(1); }

.btn--lg { padding: 15px 30px; font-size: 15.5px; }

/* ========================================================================
   CLAUSE — shared section scaffolding
   ======================================================================== */
.clause {
  max-width: var(--max);
  margin: 0 auto;
  padding: 84px var(--gutter);
  border-bottom: 1px solid var(--rule);
}

.clause__title {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.01em;
  max-width: 760px;
  margin-bottom: 20px;
}
.clause__title--center { margin-left: auto; margin-right: auto; text-align: center; }

.clause__intro {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 17.5px;
}
.clause__intro--left { margin-left: 0; margin-right: 0; text-align: left; }

/* ========================================================================
   HERO — CLÁUSULA 01
   ======================================================================== */
.clause--hero { padding-top: 92px; }

.hero__grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
}

.hero__body { max-width: 640px; }

.hero__headline {
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin-bottom: 24px;
}

.ink-mark {
  color: var(--green);
  font-style: italic;
}

.hero__sub {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 28px;
}

.niche-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.niche-chips li {
  font-family: var(--font-ui);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-soft);
  border: 1px solid var(--rule-strong);
  border-radius: 20px;
  padding: 5px 13px;
  background: var(--surface);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-bottom: 28px;
}

.hero__signature {
  font-family: var(--font-ui);
  font-size: 12.5px;
  color: var(--ink-faint);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero__signature-line {
  width: 64px;
  height: 1px;
  background: var(--rule-strong);
}

.hero__split {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  align-self: center;
  position: relative;
  border-radius: 4px;
  padding: 26px 26px 20px;
  background: var(--surface);
  border: 1px solid var(--rule-strong);
  box-shadow: 0 3px 8px rgba(14, 13, 8, 0.16), 0 1px 2px rgba(14, 13, 8, 0.12);
  transform: rotate(-2.5deg);
  transition: transform 0.4s var(--ease-spring);
}
.hero__split:hover { transform: rotate(0deg); }
.hero__split::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle at 35% 30%, var(--rule-strong), var(--ink-faint) 75%);
  box-shadow: 0 2px 4px rgba(14, 13, 8, 0.35);
}
@media (prefers-reduced-motion: reduce) { .hero__split { transition: none; } }
.hero__split-tag {
  position: absolute;
  bottom: 8px;
  right: 10px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  color: var(--rule-strong);
  opacity: 0.8;
}
.hero__split-row { display: flex; align-items: center; gap: 14px; }
.hero__split-bar {
  display: flex;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
}
.hero__split-bar span { flex: 1 1 50%; }
.hero__split-bar span:first-child { background: var(--green-deep); }
.hero__split-bar span:last-child { background: var(--green-bright); }
.split-block { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.split-block__num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 30px;
  color: var(--green-deep);
}
.split-block__label {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.split-block__divider {
  font-family: var(--font-mono);
  font-size: 24px;
  color: var(--rule-strong);
}

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__split { justify-self: start; }
}

.ledger {
  margin-top: 64px;
  border-radius: 10px;
  background: linear-gradient(155deg, var(--green-deep), #0A2A1E 130%);
  padding: 8px 28px;
  box-shadow: 0 24px 56px rgba(14, 13, 8, 0.18);
}
.ledger__row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 26px 4px;
  border-bottom: 1px solid rgba(239, 237, 230, 0.16);
}
.ledger__row:last-child { border-bottom: none; }
.ledger__row dt {
  position: relative;
  flex: 1 1 auto;
  overflow: hidden;
  white-space: nowrap;
  font-size: 17px;
  font-weight: 500;
  color: rgba(239, 237, 230, 0.88);
}
.ledger__row dt::after {
  content: " . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .";
  color: rgba(239, 237, 230, 0.3);
  letter-spacing: 2px;
}
.ledger__row dd {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 30px;
  color: var(--green-bright);
}

@media (max-width: 620px) {
  .ledger__row { flex-wrap: wrap; }
  .ledger__row dt { flex-basis: 100%; white-space: normal; }
  .ledger__row dt::after { content: none; }
  .ledger__row dd { font-size: 32px; }
}

/* ========================================================================
   CLÁUSULA 02 — DILEMA (ghost / struck-forward)
   ======================================================================== */
.dilemma {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--rule-strong);
  border: 1px solid var(--rule-strong);
  border-radius: 4px;
  margin-top: 48px;
  overflow: hidden;
}

.dilemma__col {
  background: var(--paper);
  padding: 40px 36px;
}

.dilemma__col--ghost {
  color: var(--ink-faint);
  opacity: var(--ghost-op);
  filter: saturate(0.4) blur(0.3px);
  transition: opacity 0.5s var(--ease), filter 0.5s var(--ease);
}
.dilemma__col--ghost:hover {
  opacity: 0.55;
  filter: saturate(0.6) blur(0);
}

.dilemma__col--struck {
  opacity: 1;
  position: relative;
  background: var(--paper);
  box-shadow: inset 0 0 0 1.5px var(--green), 0 4px 16px 0 rgba(27, 90, 66, 0.08);
  animation: struck-pulse 4s ease-in-out infinite;
}
@keyframes struck-pulse {
  0%, 100% { box-shadow: inset 0 0 0 1.5px var(--green), 0 4px 16px 0 rgba(27, 90, 66, 0.08); }
  50% { box-shadow: inset 0 0 0 1.5px var(--green), 0 8px 24px 2px rgba(27, 90, 66, 0.14); }
}
@media (prefers-reduced-motion: reduce) { .dilemma__col--struck { animation: none; } }
.dilemma__col--struck::before {
  content: "VIGENTE";
  position: absolute;
  top: 18px;
  right: 18px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--green);
  border: 1px solid var(--green);
  padding: 3px 8px;
  border-radius: 2px;
  transform: rotate(2deg);
}

.dilemma__heading {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 6px;
}
.dilemma__col--struck .dilemma__heading { color: var(--green-deep); }

.dilemma__kicker {
  font-family: var(--font-ui);
  font-size: 13px;
  color: inherit;
  margin-bottom: 28px;
  opacity: 0.85;
}

.dilemma__list { display: flex; flex-direction: column; gap: 20px; }
.dilemma__list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 15.5px;
  line-height: 1.5;
}
.dilemma__mark {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.dilemma__col--ghost .dilemma__mark { color: var(--red); border: 1px solid var(--ink-faint); }
.dilemma__col--struck .dilemma__mark { color: var(--paper); background: var(--green); }
.dilemma__col--struck strong { color: var(--green-deep); }

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

/* ---------- Receipt — illustrative ticket mockup, giving the funnel's
   claim a concrete artifact instead of describing it in prose only.
   Reuses the ledger's document/invoice register (mono, dot-less rows,
   totals ruled off) rather than a generic "product screenshot" card. ---------- */
.receipt {
  max-width: 380px;
  margin: 0 auto 40px;
  padding: 20px 22px 18px;
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  border-radius: 4px;
  box-shadow: 0 3px 8px rgba(14, 13, 8, 0.1);
  transform: rotate(1deg);
}
.receipt__label {
  font-family: var(--font-ui);
  font-size: 11px;
  color: var(--ink-faint);
  font-style: italic;
  margin-bottom: 14px;
}
.receipt__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ink-soft);
  padding: 7px 0;
  border-top: 1px dashed var(--rule);
}
.receipt__row:first-of-type { border-top: none; }
.receipt__row--total {
  border-top: 1px solid var(--ink);
  margin-top: 4px;
  padding-top: 10px;
  font-weight: 700;
  color: var(--ink);
}

/* ========================================================================
   CLÁUSULA 03 — FUNNEL
   ======================================================================== */
.funnel {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--rule-strong);
  border-radius: 8px;
  background: var(--surface);
  padding: 0 24px;
}
.funnel__step {
  padding: 32px 4px 32px 20px;
  border-top: 1px solid var(--rule);
  box-shadow: inset 3px 0 0 0 transparent;
  transition: box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.funnel__step:first-child { border-top: none; }
.funnel__step:hover { box-shadow: inset 3px 0 0 0 var(--green); transform: translateX(6px); }

.funnel__tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--green-deep);
  font-weight: 400;
}
.funnel__body h3 {
  display: inline;
  font-size: 21px;
  font-weight: 600;
  margin: 0 0 8px;
}
.funnel__body h3 + p { margin-top: 8px; }
.funnel__body p {
  color: var(--ink-soft);
  max-width: 560px;
  margin-bottom: 14px;
}
.funnel__readout {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--green-deep);
  background: var(--green-tint);
  padding: 5px 10px;
  border-radius: 2px;
}


/* ========================================================================
   CLÁUSULA 04 — PARTIES / ROLES
   ======================================================================== */
.parties {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 8px;
}

.party {
  border-radius: 14px;
  padding: 36px 32px;
  background: var(--glass-bg);
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  box-shadow: var(--shadow-md);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.party:hover { --liftY: -4px; box-shadow: var(--shadow-lg); }
.party--verso {
  background: linear-gradient(155deg, var(--green-deep), #0A2A1E 120%);
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 64px rgba(14, 13, 8, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.party__head { margin-bottom: 26px; padding-bottom: 22px; border-bottom: 1px solid var(--rule-strong); }
.party--verso .party__head { border-bottom-color: rgba(239,237,230,0.25); }

.party__label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--green-deep);
  border: 1px solid var(--green-deep);
  padding: 2px 8px;
  border-radius: 2px;
  margin-right: 10px;
  vertical-align: middle;
  transform: translateY(-2px);
}
.party--verso .party__label { color: var(--paper); border-color: rgba(239,237,230,0.5); }

.party__head h3 { font-size: 23px; font-weight: 600; margin-bottom: 6px; }
.party__commitment {
  font-family: var(--font-ui);
  font-size: 13.5px;
  color: var(--ink-soft);
}
.party--verso .party__commitment { color: rgba(239,237,230,0.75); }

.party__list { display: flex; flex-direction: column; gap: 18px; margin-bottom: 24px; }
.party__list li {
  display: flex;
  gap: 14px;
  font-size: 15px;
  line-height: 1.55;
}
.party__list li span {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--rule-strong);
  display: flex;
  align-items: center;
  justify-content: center;
}
.party--verso .party__list li span { border-color: rgba(239,237,230,0.4); }

.party__foot {
  font-family: var(--font-ui);
  font-size: 13.5px;
  font-style: italic;
  color: var(--ink-faint);
}
.party--verso .party__foot { color: rgba(239,237,230,0.7); }

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

/* ========================================================================
   CLÁUSULA 05 — SEGURIDAD (stamp cards)
   ======================================================================== */
.provisions {
  max-width: 760px;
  margin: 0 auto;
  padding: 8px 32px;
  border: 1px solid var(--rule-strong);
  border-radius: 8px;
  background: var(--surface);
}
.provision:first-child { border-top: none; }
.provision {
  display: flex;
  gap: 18px;
  padding: 28px 4px 28px 20px;
  border-bottom: 1px solid var(--rule);
  box-shadow: inset 3px 0 0 0 transparent;
  transition: box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.provision:last-child { border-bottom: none; }
.provision:hover { box-shadow: inset 3px 0 0 0 var(--green); transform: translateX(6px); }
.provision__seal {
  flex-shrink: 0;
  color: var(--green);
  margin-top: 2px;
  transition: transform 0.5s var(--ease-spring);
}
.provision:hover .provision__seal { transform: rotate(-10deg) scale(1.1); }
.provision__body h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.provision__body p { font-size: 15px; color: var(--ink-soft); line-height: 1.55; }

/* ========================================================================
   CLÁUSULA 06 — FAQ
   ======================================================================== */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  padding-top: 4px;
  border-top: 1px solid var(--rule-strong);
}
.faq-item {
  padding: 0 20px;
  border-bottom: 1px solid var(--rule-strong);
  border-radius: 10px;
  transition: background 0.3s var(--ease-out);
}
.faq-item[open] { background: var(--glass-bg); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 16px;
  margin: 0 -16px;
  font-weight: 600;
  font-size: 17px;
  transition: color 0.25s;
}
.faq-item summary:hover { color: var(--green-deep); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__icon {
  position: relative;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}
.faq-item__icon::before, .faq-item__icon::after {
  content: "";
  position: absolute;
  background: var(--green);
  transition: transform 0.35s var(--ease-spring);
}
.faq-item__icon::before { top: 8px; left: 0; width: 18px; height: 1.5px; }
.faq-item__icon::after { top: 0; left: 8px; width: 1.5px; height: 18px; }
.faq-item[open] .faq-item__icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-item__icon { transform: rotate(180deg); }

.faq-item p {
  padding: 0 16px 26px;
  margin: -16px 0 0;
  color: var(--ink-soft);
  max-width: 660px;
  font-size: 15.5px;
  animation: faq-in 0.4s var(--ease-out);
}
@keyframes faq-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========================================================================
   CLÁUSULA 07 — PROCESO (onboarding steps)
   ======================================================================== */
.process {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.process__step {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 22px;
  background: var(--surface);
  border: 1px solid var(--rule-strong);
  border-radius: 8px;
}
.process__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--green);
  color: var(--green-deep);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}
.process__body h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.process__body p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; }

@media (max-width: 860px) {
  .process { grid-template-columns: 1fr; gap: 20px; }
  .process__step { flex-direction: row; align-items: flex-start; gap: 16px; }
}

/* ========================================================================
   CLOSING / SIGNATURE
   ======================================================================== */
.clause--closing {
  text-align: center;
  border-bottom: none;
  padding: 80px var(--gutter) 64px;
  margin: 0;
  max-width: none;
  background: linear-gradient(175deg, var(--green-deep), #081E15 130%);
  color: var(--paper);
}
.closing__title {
  font-size: clamp(30px, 4.4vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  max-width: 640px;
  margin: 0 auto 20px;
  color: var(--paper);
}
.closing__sub {
  max-width: 560px;
  margin: 0 auto 40px;
  color: rgba(239, 237, 230, 0.72);
  font-size: 17.5px;
}
.clause--closing .btn--stamp {
  background: var(--paper);
  color: var(--green-deep);
  font-weight: 700;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 8px 24px rgba(0, 0, 0, 0.3);
}
.clause--closing .btn--stamp:hover { background: var(--paper-dim); }
.closing__note {
  font-family: var(--font-ui);
  font-size: 13px;
  color: rgba(239, 237, 230, 0.55);
  margin-top: 14px;
}

.signature-block {
  max-width: 420px;
  margin: 44px auto 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.signature-block__line {
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(239, 237, 230, 0.55);
}
.signature-block__rule {
  flex: 1;
  height: 1px;
  background: rgba(239, 237, 230, 0.35);
}
.signature-block__rule--short { max-width: 140px; }

/* ========================================================================
   FOOTER
   ======================================================================== */
.site-footer {
  padding: 40px var(--gutter) 56px;
}
.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--ink-faint);
}
.site-footer__mark {
  height: 30px;
  width: auto;
  color: var(--ink-soft);
  opacity: 0.85;
}
.site-footer__ref {
  font-family: var(--font-mono);
  opacity: 0.7;
}

/* ========================================================================
   SCROLL REVEAL
   ======================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px) scale(0.975);
  filter: blur(4px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out), filter 0.7s var(--ease-out);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* ========================================================================
   CURSOR SPOTLIGHT — soft light that follows the pointer on glass surfaces
   ======================================================================== */
.spotlight {
  position: relative;
  overflow: hidden;
}
.spotlight::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle 220px at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.5), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
}
.spotlight:hover::after { opacity: 1; }
.spotlight > * { position: relative; z-index: 1; }

/* ========================================================================
   TILT — subtle 3D response to pointer position (Apple-card style)
   ======================================================================== */
.tilt {
  transform: perspective(900px) rotateX(var(--tiltX, 0deg)) rotateY(var(--tiltY, 0deg)) translateY(var(--liftY, 0px)) translateZ(0);
  transition: transform 0.4s var(--ease-out);
  will-change: transform;
}

/* ========================================================================
   MAGNETIC BUTTONS
   ======================================================================== */
.magnetic {
  transition: transform 0.25s var(--ease-out);
}

/* ---------- count-up numerals ---------- */
[data-count-to] { font-variant-numeric: tabular-nums; }
