@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500; font-display: swap; src: url('/static/fonts/cormorant-italic-500.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url('/static/fonts/cormorant-normal-500.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap; src: url('/static/fonts/cormorant-normal-500.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400; font-display: swap; src: url('/static/fonts/montserrat-normal-400.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 500; font-display: swap; src: url('/static/fonts/montserrat-normal-400.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600; font-display: swap; src: url('/static/fonts/montserrat-normal-400.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap; src: url('/static/fonts/montserrat-normal-400.woff2') format('woff2'); }

/* TEMIS · Clásico: naranja con textura, serif de inscripción y ornamentos en línea fina,
   tomados de la pantalla de inicio de la marca. */
:root {
  --orange: #c44c0e;
  --orange-hi: #d9601a;
  --orange-lo: #8a3106;
  --ink: #1d1410;
  --ink-2: #2a1d17;
  --bone: #f6f0e9;
  --bone-2: #ece3d9;
  --white: #fff8f2;
  --line: rgba(255, 236, 222, .38);
  --line-ink: rgba(29, 20, 16, .16);

  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --s-display: clamp(64px, 9.6vw, 164px);
  --s-h2: clamp(44px, 5.4vw, 88px);
  --s-h3: clamp(28px, 2.6vw, 40px);
  --s-body: 19px;
  --s-small: 15px;

  --margin: clamp(20px, 4vw, 64px);
  --garden: #c44c0e;
  --gap: clamp(104px, 12vw, 180px);
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* Grano de papel, igual al de la pantalla de inicio */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-width: 320px; overflow-x: hidden;
  background: var(--bone); color: var(--ink);
  font-family: var(--sans); font-size: var(--s-body); line-height: 1.6; font-weight: 500;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; line-height: .95; text-wrap: balance; }
p { max-width: 60ch; text-wrap: pretty; }
strong { font-weight: 700; }

:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
::selection { background: var(--ink); color: var(--white); }

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 60; padding: 10px 16px;
  background: var(--ink); color: var(--white); font-weight: 700;
  transform: translateY(-160%); transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; }

/* Campo naranja con textura: portada y cierre */
.hero, .close {
  position: relative; isolation: isolate; overflow: hidden;
  background:
    radial-gradient(120% 90% at 55% 35%, var(--orange-hi) 0%, var(--orange) 45%, var(--orange-lo) 100%); /* taste-skill-ignore: luz de la pantalla de inicio */
  color: var(--white);
}
.hero::after, .close::after, .cases::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--grain); opacity: .22; mix-blend-mode: multiply;
}

/* Ornamentos en línea fina */
.plumb { position: absolute; top: 0; left: 49%; width: 1px; height: 44%; background: var(--line); }
.plumb::after { content: ""; position: absolute; bottom: -5px; left: -5px; width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 236, 222, .55); }
.arch { position: absolute; border: 1px solid var(--line); border-bottom: 0; border-radius: 999px 999px 0 0; }
.rings {
  position: absolute; border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 58px, var(--line) 58px 59px); /* taste-skill-ignore: anillos de la pantalla de inicio */
  -webkit-mask-image: radial-gradient(circle, #000 40%, transparent 70%); mask-image: radial-gradient(circle, #000 40%, transparent 70%);
}
.hero__column, .close__column, .hero__laurel, .close__laurel, .cases__laurel { position: absolute; color: var(--line); }

/* ─── Barra ──────────────────────────────────────────────────── */
.bar {
  position: absolute; inset: 0 0 auto; z-index: 10;
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px var(--margin); color: var(--white);
}
.bar__mark { display: inline-flex; align-items: center; gap: 18px; text-decoration: none; }
.bar__mark img { width: 60px; height: auto; }
.bar__mark span { font-size: 30px; font-weight: 600; letter-spacing: .42em; }
.bar__action { font-size: var(--s-small); font-weight: 600; text-decoration: none; padding-bottom: 4px; background: linear-gradient(currentColor, currentColor) bottom left / 100% 1px no-repeat; /* taste-skill-ignore: subrayado */ }
.bar__action:hover { background-size: 0 1px; transition: background-size .3s var(--ease); }

/* ─── Botón ──────────────────────────────────────────────────── */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 64px; padding: 16px 40px;
  background: var(--white); color: var(--ink);
  font-size: 17px; font-weight: 700; letter-spacing: .01em; text-decoration: none;
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.button[data-whatsapp-link]::before {
  content: ""; width: 22px; height: 22px; flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2Zm0 18.2a8.2 8.2 0 0 1-4.2-1.2l-.3-.2-3 .8.8-2.9-.2-.3A8.2 8.2 0 1 1 12 20.2Zm4.5-6.1c-.2-.1-1.5-.7-1.7-.8-.2-.1-.4-.1-.6.1l-.8 1c-.1.2-.3.2-.5.1a6.7 6.7 0 0 1-3.3-2.9c-.3-.4.2-.4.7-1.4.1-.2 0-.3 0-.4l-.8-1.8c-.2-.5-.4-.4-.6-.4h-.5a1 1 0 0 0-.7.3 3 3 0 0 0-.9 2.2 5.2 5.2 0 0 0 1.1 2.7 11.8 11.8 0 0 0 4.5 4c1.7.7 2.3.8 3.2.6.5-.1 1.5-.6 1.7-1.2.2-.6.2-1.1.2-1.2-.1-.1-.3-.2-.5-.3Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2Zm0 18.2a8.2 8.2 0 0 1-4.2-1.2l-.3-.2-3 .8.8-2.9-.2-.3A8.2 8.2 0 1 1 12 20.2Zm4.5-6.1c-.2-.1-1.5-.7-1.7-.8-.2-.1-.4-.1-.6.1l-.8 1c-.1.2-.3.2-.5.1a6.7 6.7 0 0 1-3.3-2.9c-.3-.4.2-.4.7-1.4.1-.2 0-.3 0-.4l-.8-1.8c-.2-.5-.4-.4-.6-.4h-.5a1 1 0 0 0-.7.3 3 3 0 0 0-.9 2.2 5.2 5.2 0 0 0 1.1 2.7 11.8 11.8 0 0 0 4.5 4c1.7.7 2.3.8 3.2.6.5-.1 1.5-.6 1.7-1.2.2-.6.2-1.1.2-1.2-.1-.1-.3-.2-.5-.3Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.button:hover { background: var(--ink); color: var(--white); }
.button:active { transform: translateY(2px); }
.button[aria-disabled="true"] { opacity: .7; cursor: not-allowed; }

/* ─── Portada ────────────────────────────────────────────────── */
.hero { min-height: 100svh; display: flex; align-items: center; padding: 140px var(--margin) 120px; }
.hero__art { position: absolute; inset: 0; z-index: -1; }
.hero .arch { right: 4%; top: 16%; width: min(44vw, 640px); height: 120%; }
.hero .rings { width: 70vw; height: 70vw; left: 18%; bottom: -46vw; }
.hero__bust {
  position: absolute; right: 2%; top: 0; height: 100%; width: auto; max-width: none;
  opacity: .5; mix-blend-mode: multiply; filter: contrast(1.15) saturate(.9);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 35%, #000 80%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 35%, #000 80%, transparent);
}
.hero__column { left: -24px; bottom: 0; width: 220px; height: 470px; }
.hero__laurel { right: 3%; bottom: 4%; width: 190px; height: 360px; transform: scaleX(-1); }
.hero__copy { position: relative; max-width: 760px; }
.hero__title { font-size: var(--s-display); }
.hero__title span { display: block; }
.hero__title span + span { font-style: italic; padding-left: .5em; }
.hero__lede { margin: 40px 0 44px; max-width: 32ch; font-size: clamp(19px, 1.5vw, 22px); line-height: 1.55; }

/* ─── Cómo funciona ──────────────────────────────────────────── */
.how {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; align-items: center;
  padding: var(--gap) var(--margin); background: var(--bone);
}

.how__phone { grid-column: 2 / span 4; }
.how__text { grid-column: 7 / span 6; }
.how__text h2 { font-size: var(--s-h2); }
.how__steps { margin: 56px 0 0; padding: 0; list-style: none; display: grid; gap: 0; }
.how__steps li {
  display: grid; grid-template-columns: 88px 1fr; align-items: baseline;
  padding: 26px 0; border-top: 1px solid var(--line-ink);
}
.how__steps li:last-child { border-bottom: 1px solid var(--line-ink); }
.numeral { font-family: var(--serif); font-size: 44px; font-style: italic; line-height: 1; color: var(--orange); }
.how__steps p { font-size: 20px; }

/* Fragmento de interfaz: WhatsApp */
.phone {
  max-width: 380px; margin: 0 auto;
  background: #efeae2; color: #111b21; border-radius: 40px; border: 10px solid var(--ink);
  overflow: hidden; font-family: var(--sans); font-size: 14.5px; line-height: 1.4; font-weight: 400;
  box-shadow: 0 40px 80px -30px rgba(29, 20, 16, .45); /* taste-skill-ignore: el teléfono flota */
}
.phone__head { display: flex; align-items: center; gap: 12px; padding: 18px 18px 14px; background: #f0f2f5; }
.phone__head img { width: 34px; height: 34px; border-radius: 50%; }
.phone__head strong { display: block; font-size: 15px; font-weight: 600; }
.phone__head small { display: block; font-size: 12px; color: #54656f; }
.phone__chat { display: flex; flex-direction: column; gap: 8px; padding: 16px 12px 26px; }
.msg { max-width: 85%; margin: 0; padding: 8px 11px; border-radius: 10px; background: #fff; box-shadow: 0 1px .5px rgba(11, 20, 26, .13); } /* taste-skill-ignore: burbuja real de WhatsApp */
.msg b { font-weight: 600; }
.msg--in { align-self: flex-start; border-top-left-radius: 0; }
.msg--out { align-self: flex-end; background: #d9fdd3; border-top-right-radius: 0; }
.msg--voice { display: flex; align-items: center; gap: 10px; width: 210px; }
.play { width: 0; height: 0; border-left: 11px solid #54656f; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.wave { flex: 1; height: 20px; background: repeating-linear-gradient(90deg, #8696a0 0 2px, transparent 2px 5px); -webkit-mask-image: linear-gradient(transparent 22%, #000 22% 78%, transparent 78%); mask-image: linear-gradient(transparent 22%, #000 22% 78%, transparent 78%); } /* taste-skill-ignore: onda de la nota de voz */
.wave--short { flex: .5; }
.dur { font-size: 11px; color: #54656f; }
.msg--doc { display: flex; align-items: center; gap: 10px; }
.msg--doc b { display: block; font-size: 13px; }
.msg--doc small { color: #54656f; font-size: 11px; }
.doc-icon { display: grid; place-items: center; width: 30px; height: 36px; background: #2b579a; color: #fff; font-weight: 700; border-radius: 4px; }

/* ─── Casos ──────────────────────────────────────────────────── */
.cases {
  position: relative; isolation: isolate; overflow: hidden;
  padding: var(--gap) var(--margin); background: var(--ink); color: var(--white);
  text-align: center;
}
.cases::after { opacity: .5; mix-blend-mode: soft-light; }
.cases__laurel { right: -40px; top: 10%; width: 300px; height: 580px; color: rgba(255, 236, 222, .14); transform: scaleX(-1); }
.cases h2 { font-size: var(--s-h2); }
.cases__intro { margin: 20px auto 0; color: rgba(255, 248, 242, .8); }
.cases__list { max-width: 980px; margin: 64px auto 0; padding: 0; list-style: none; }
.cases__list li { border-top: 1px solid rgba(255, 236, 222, .18); }
.cases__list li:last-child { border-bottom: 1px solid rgba(255, 236, 222, .18); }
.case {
  display: block; padding: 26px 0;
  font-family: var(--serif); font-size: clamp(30px, 3.4vw, 52px); line-height: 1.1; text-decoration: none;
  transition: color .3s var(--ease);
}
.case span { display: inline-block; transition: transform .35s var(--ease); }
.case:hover, .case:focus-visible { color: var(--orange-hi); }
.case:hover span, .case:focus-visible span { transform: translateX(10px); }

/* ─── La ley ─────────────────────────────────────────────────── */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.law {
  position: relative; isolation: isolate; overflow: hidden;
  padding: var(--gap) var(--margin); background: var(--orange-lo); color: var(--white);
}
.law::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grain); opacity: .3; mix-blend-mode: multiply; }
.law__quote { max-width: 1180px; margin: 0 auto; text-align: center; }
.law__quote p { max-width: none; font-family: var(--serif); font-style: italic; font-size: clamp(28px, 3vw, 46px); line-height: 1.2; }
.law__quote footer { margin-top: 32px; font-size: 14px; font-weight: 600; letter-spacing: .24em; color: #ffcfae; }
.law__terms { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1180px; margin: 96px auto 0; padding: 0; list-style: none; }
.law__terms li { display: grid; justify-items: center; gap: 12px; padding: 0 32px; text-align: center; }
.law__terms li + li { border-left: 1px solid var(--line); }
.law__num { font-family: var(--serif); font-size: clamp(96px, 9vw, 150px); line-height: 1; font-variant-numeric: lining-nums; font-feature-settings: "lnum"; }
.law__terms p { max-width: 24ch; font-size: 18px; }
.law__terms small { font-size: 13px; font-weight: 600; letter-spacing: .14em; color: #ffcfae; }

/* ─── Confianza ──────────────────────────────────────────────── */
.trust { padding: var(--gap) var(--margin); background: var(--bone); text-align: center; }
.trust__mark { width: 64px; height: auto; margin: 0 auto 36px; }
.trust h2 { font-size: var(--s-h2); }
.trust__list { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1120px; margin: 72px auto 0; padding: 0; list-style: none; }
.trust__list li { display: grid; gap: 10px; padding: 8px 32px; }
.trust__list li + li { border-left: 1px solid var(--line-ink); }
.trust__list strong { font-family: var(--serif); font-size: var(--s-h3); font-weight: 600; line-height: 1.1; color: var(--orange); }
.trust__list span { font-size: 17px; }

/* ─── Preguntas ──────────────────────────────────────────────── */
.faq {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px;
  padding: 0 var(--margin) var(--gap); background: var(--bone);
}
.faq h2 { grid-column: 3 / span 8; font-size: var(--s-h2); text-align: center; margin-bottom: 56px; }
.faq__list { grid-column: 3 / span 8; border-top: 1px solid var(--line-ink); }
.faq details { border-bottom: 1px solid var(--line-ink); }
.faq summary {
  position: relative; padding: 28px 56px 28px 0; cursor: pointer; list-style: none;
  font-family: var(--serif); font-size: clamp(24px, 2vw, 32px); font-weight: 600; line-height: 1.2;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 20px; height: 1.5px; background: currentColor;
  transition: transform .3s var(--ease);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq summary:hover { color: var(--orange); }
.faq details p { padding: 0 0 30px; font-size: 18px; max-width: 52ch; }

/* ─── Cierre ─────────────────────────────────────────────────── */
.close {
  min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: var(--gap) var(--margin); text-align: center;
}
.close__art { position: absolute; inset: 0; z-index: -1; }
.close .arch { left: 50%; top: 10%; width: min(62vw, 820px); height: 110%; transform: translateX(-50%); }
.close__column { left: -10px; bottom: 0; width: 240px; height: 520px; }
.close__laurel { right: 2%; bottom: 0; width: 220px; height: 420px; transform: scaleX(-1); }
.close__mark { width: 92px; height: auto; margin-bottom: 40px; }
.close h2 { font-size: var(--s-h2); }
.close__lede { margin: 24px auto 44px; font-size: 21px; }
.close__phone { margin-top: 22px; font-size: 17px; font-weight: 600; letter-spacing: .04em; font-variant-numeric: tabular-nums; min-height: 1.6em; }
.close__qr { display: flex; align-items: center; gap: 18px; margin-top: 28px; text-align: left; }
.close__qr img { width: 104px; height: 104px; padding: 6px; background: #fff; }
.close__qr p { font-size: var(--s-small); max-width: 22ch; }
.close__qr.is-hidden { display: none; }

/* ─── Pie ────────────────────────────────────────────────────── */
.foot { padding: 80px var(--margin) 48px; background: var(--ink); color: var(--white); text-align: center; }
.foot__word { max-width: none; font-size: clamp(40px, 7vw, 104px); font-weight: 500; letter-spacing: .5em; margin-right: -.5em; line-height: 1; }
.foot__tag { max-width: none; margin-top: 18px; font-size: 14px; font-weight: 600; letter-spacing: .28em; color: var(--orange-hi); }
.foot__legal { margin: 40px auto 0; max-width: 70ch; font-size: 14px; color: rgba(255, 248, 242, .78); }
.foot__legal + .foot__legal { margin-top: 12px; }

.dock { display: none; }

/* ─── Movimiento ─────────────────────────────────────────────── */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes draw { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes fade { from { opacity: 0; } }
@keyframes msg-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.js .hero__title span { animation: rise 1s var(--ease) both; }
.js .hero__title span + span { animation-delay: .15s; }
.js .hero__lede { animation: rise 1s var(--ease) .3s both; }
.js .hero .button { animation: rise 1s var(--ease) .42s both; }
.js .hero__bust { animation: fade 2.2s var(--ease) both; }
.js .plumb { animation: draw 1.4s var(--ease) .2s both; }
.js .hero__bust { will-change: transform; }

.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .how__steps li:nth-child(2), .js .cases__list li:nth-child(2), .js .trust__list li:nth-child(2) { transition-delay: .08s; }
.js .how__steps li:nth-child(3), .js .cases__list li:nth-child(3), .js .trust__list li:nth-child(3) { transition-delay: .16s; }
.js .cases__list li:nth-child(4) { transition-delay: .24s; }
.js .cases__list li:nth-child(5) { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ─── Tableta ────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero__bust { right: -18%; opacity: .4; }
  .how__phone { grid-column: 1 / span 5; }
  .how__text { grid-column: 7 / span 6; }
  .faq h2, .faq__list { grid-column: 1 / -1; }
  .law__terms li { padding: 0 16px; }
  .trust__list li { padding: 8px 20px; }
}

/* ─── Teléfono ───────────────────────────────────────────────── */
@media (max-width: 720px) {
  body { padding-bottom: 88px; }
  .bar { padding: 20px var(--margin); }
  .bar__mark span { font-size: 15px; letter-spacing: .4em; }
  .hero { align-items: flex-end; padding: 120px var(--margin) 72px; }
  .hero__bust { right: -40%; top: 0; height: 70%; opacity: .45; }
  .hero .arch { right: -85%; width: 100vw; top: 10%; }
  .plumb { left: 70%; height: 30%; }
  .hero__laurel { display: none; }
  .hero__title { font-size: clamp(56px, 17vw, 80px); }
  .hero__lede { margin: 28px 0 32px; font-size: 18px; }
  .hero .button { width: 100%; }
  .button { padding: 16px 18px; font-size: 16px; gap: 10px; }
  .how { display: flex; flex-direction: column-reverse; gap: 64px; }
  .law__terms { grid-template-columns: 1fr; margin-top: 64px; }
  .law__terms li { padding: 32px 0; }
  .law__terms li + li { border-left: 0; border-top: 1px solid var(--line); }
  .faq h2 { text-align: left; }
  .how__phone { width: 100%; }
  .how__steps li { grid-template-columns: 60px 1fr; }
  .numeral { font-size: 36px; }
  .how__steps p { font-size: 18px; }
  .cases { text-align: left; }
  .cases__laurel { display: none; }
  .case { font-size: 28px; padding: 22px 0; }
  .trust__list { grid-template-columns: 1fr; margin-top: 48px; }
  .trust__list li { padding: 24px 0; }
  .trust__list li + li { border-left: 0; border-top: 1px solid var(--line-ink); }
  .faq summary { font-size: 24px; padding: 24px 48px 24px 0; }
  .close .button { width: 100%; }
  .close__column { width: 140px; height: 300px; opacity: .6; }
  .close__laurel { display: none; }
  .close__qr { display: none; }
  .foot__word { letter-spacing: .35em; margin-right: -.35em; }

  .dock {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
    display: flex; align-items: center; justify-content: center; min-height: 60px;
    background: var(--orange); color: var(--white); font-weight: 700; text-decoration: none;
    box-shadow: 0 12px 30px -10px rgba(29, 20, 16, .5); /* taste-skill-ignore: barra fija flotante */
    transform: translateY(140%); transition: transform .35s var(--ease);
  }
  .dock.is-shown { transform: none; }
}

/* ─── Ramas de laurel, como en la pantalla de inicio ────────── */
.branch { position: absolute; z-index: 0; pointer-events: none; width: 380px; height: 553px; }
.branch path {
  stroke-dasharray: 1 1;
  stroke-dashoffset: clamp(0, calc(1 - (var(--g, 1) - var(--s)) / var(--d)), 1);
}
.branch--flip { transform: scaleX(-1); }
.hero .branch, .close .branch, .law .branch { color: rgba(255, 214, 180, .62); }
.how .branch, .doc .branch, .faq .branch { color: rgba(196, 76, 14, .42); }
.survey .branch { color: rgba(217, 96, 26, .5); }
.how, .doc, .faq { position: relative; overflow: hidden; isolation: isolate; }
.how > *:not(.branch), .doc > *:not(.branch), .faq > *:not(.branch), .survey > *:not(.branch), .law > *:not(.branch) { position: relative; z-index: 1; }
.branch--hero { right: 3%; bottom: 24px; width: 400px; height: 582px; }
.branch--how { left: 8px; bottom: 24px; transform: scaleX(-1); width: 300px; height: 437px; }
.branch--survey { right: 8px; bottom: 24px; width: 300px; height: 437px; }
.branch--doc { left: 8px; bottom: 24px; transform: scaleX(-1); width: 280px; height: 407px; }
.branch--law-l { left: 8px; bottom: 24px; transform: scaleX(-1); width: 280px; height: 407px; }
.branch--law-r { right: 8px; bottom: 24px; width: 280px; height: 407px; }
.branch--faq { right: 8px; bottom: 24px; width: 280px; height: 407px; }
.branch--close-l { left: calc(50% - 460px); bottom: 6%; transform: scaleX(-1); width: 320px; height: 466px; }
.branch--close-r { right: calc(50% - 460px); bottom: 6%; width: 320px; height: 466px; }

/* ─── Barra y portada ────────────────────────────────────────── */
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.hero__link { font-size: 16px; font-weight: 600; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.hero__link:hover { text-decoration-thickness: 2px; }
.avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--orange); }
.avatar img { width: 16px; height: auto; }

/* ─── Encuesta ───────────────────────────────────────────────── */
.survey {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; align-items: center;
  padding: var(--gap) var(--margin); background: var(--ink); color: var(--white);
}
.survey::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grain); opacity: .5; mix-blend-mode: soft-light; }
.survey__intro { grid-column: 1 / span 5; }
.survey__intro h2 { font-size: var(--s-h2); }
.survey__intro p { margin-top: 28px; max-width: 34ch; color: rgba(255, 248, 242, .85); }
.survey__card {
  grid-column: 7 / span 6; min-height: 480px;
  display: flex; flex-direction: column;
  padding: clamp(28px, 3.2vw, 52px); background: var(--bone); color: var(--ink);
}
.survey__progress { height: 3px; background: var(--bone-2); }
.survey__progress span { display: block; height: 100%; width: 25%; background: var(--orange); transition: width .5s var(--ease); }
.survey__count { margin-top: 18px; font-size: 14px; font-weight: 600; color: #6b5a50; }
.survey fieldset { margin: 20px 0 0; padding: 0; border: 0; min-width: 0; }
.survey legend { padding: 0; font-family: var(--serif); font-size: clamp(30px, 2.6vw, 42px); font-weight: 600; line-height: 1.1; }
.options { display: grid; gap: 10px; margin-top: 28px; }
.options button {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 60px; padding: 14px 22px; border: 1px solid var(--line-ink); background: #fffaf5;
  font: inherit; font-size: 18px; font-weight: 600; color: var(--ink); text-align: left; cursor: pointer;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), transform .2s var(--ease);
}
.options button::after { content: ""; width: 10px; height: 10px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); opacity: .35; transition: opacity .2s var(--ease), transform .2s var(--ease); }
.options button:hover, .options button:focus-visible { border-color: var(--orange); background: #fff; }
.options button:hover::after { opacity: 1; transform: translateX(3px) rotate(45deg); }
.options button:active { transform: scale(.99); }
.survey fieldset:not([hidden]), .survey__result:not([hidden]) { animation: rise .5s var(--ease) both; }
.survey__label { font-family: var(--serif); font-size: clamp(30px, 2.6vw, 42px); font-weight: 600; }
.survey__summary { margin: 20px 0 0; display: grid; gap: 0; }
.survey__summary div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-ink); }
.survey__summary dt { font-size: 14px; font-weight: 600; color: #6b5a50; }
.survey__summary dd { margin: 0; font-weight: 600; }
.survey__hint { margin: 24px 0 28px; font-size: 17px; }
.survey__result .button { align-self: flex-start; }
.survey__restart { margin-top: 18px; align-self: flex-start; padding: 6px 0; border: 0; background: none; font: inherit; font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; color: inherit; }
.survey__result { display: flex; flex-direction: column; }
[hidden] { display: none !important; }
.button--orange { background: var(--orange); color: var(--white); }
.button--orange:hover { background: var(--ink); }

/* ─── El documento ───────────────────────────────────────────── */
.doc {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; align-items: center;
  padding: var(--gap) var(--margin); background: var(--bone);
}
.doc__text { grid-column: 1 / span 5; }
.doc__text h2 { font-size: var(--s-h2); }
.doc__list { margin: 48px 0 0; padding: 0; list-style: none; }
.doc__list li { padding: 22px 0; border-top: 1px solid var(--line-ink); font-size: 18px; }
.doc__list li:last-child { border-bottom: 1px solid var(--line-ink); }
.doc__sheet { grid-column: 7 / span 6; margin: 0; }
.sheet {
  padding: clamp(32px, 4vw, 60px); background: #fff; color: #222;
  font-family: "Times New Roman", Times, serif; font-size: 16px; line-height: 1.55;
  box-shadow: 0 40px 70px -40px rgba(29, 20, 16, .5); /* taste-skill-ignore: la hoja flota */
  transform: rotate(-1.2deg);
}
.sheet p { max-width: none; }
.sheet__to { font-weight: 700; }
.sheet__ref { margin-top: 20px; padding-left: 38%; }
.sheet__body { margin-top: 14px; text-align: justify; }
.sheet__heading { margin-top: 20px; text-align: center; font-weight: 700; }
.sheet__fade { -webkit-mask-image: linear-gradient(#000 30%, transparent); mask-image: linear-gradient(#000 30%, transparent); } /* taste-skill-ignore: la hoja continúa */
.blank { padding: 0 4px; background: #fde3d3; color: var(--orange-lo); font-family: var(--sans); font-size: .82em; font-weight: 600; }

.foot__mark { width: 40px; height: auto; margin: 0 auto 28px; }
.trust__mark { width: 84px; }
.close__mark { width: 110px; }

@media (max-width: 1024px) {
  .survey__intro, .survey__card, .doc__text, .doc__sheet { grid-column: 1 / -1; }
  .survey__card { margin-top: 48px; }
  .doc__sheet { margin-top: 56px; }
}
@media (max-width: 720px) {
  .branch { width: 170px !important; height: 248px !important; opacity: .7; }
  .branch--hero { right: 0; bottom: 8px; }
  .branch--close-l { left: 0; } .branch--close-r { right: 0; }
  .bar__mark img { width: 36px; } .bar__mark span { font-size: 20px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__link { text-align: center; }
  .survey__card { padding: 24px 20px; min-height: 0; }
  .survey__summary div { grid-template-columns: 1fr; gap: 2px; }
  .survey__result .button { align-self: stretch; }
  .sheet__ref { padding-left: 0; }
  .sheet { transform: none; }
}

/* ─── Red de abogados ────────────────────────────────────────── */
.bar__nav { display: flex; align-items: center; gap: 32px; }
.bar__lawyer { font-size: var(--s-small); font-weight: 600; text-decoration: none; opacity: .9; }
.bar__lawyer:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }

.match {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; align-items: start;
  padding: var(--gap) var(--margin); background: var(--ink); color: var(--white);
}
.match::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grain); opacity: .5; mix-blend-mode: soft-light; }
.match > *:not(.branch) { position: relative; z-index: 1; }
.match .branch { color: rgba(217, 96, 26, .5); }
.branch--match { right: 8px; bottom: 24px; width: 280px; height: 407px; }
.match__text { grid-column: 1 / span 5; }
.match__text h2 { font-size: var(--s-h2); }
.match__text p { margin: 28px 0 40px; max-width: 34ch; color: rgba(255, 248, 242, .88); }
.match__steps { grid-column: 7 / span 6; margin: 0; padding: 0; list-style: none; }
.match__steps li { display: grid; grid-template-columns: 88px 1fr; align-items: baseline; padding: 26px 0; border-top: 1px solid rgba(255, 236, 222, .18); }
.match__steps li:last-child { border-bottom: 1px solid rgba(255, 236, 222, .18); }
.match__steps strong { font-family: var(--serif); font-size: var(--s-h3); font-weight: 600; line-height: 1.15; }
.match__steps p { margin-top: 6px; font-size: 17px; color: rgba(255, 248, 242, .82); }
.match__steps .numeral { color: var(--orange-hi); }
.match__areas { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; margin: 64px 0 0; padding: 0; list-style: none; }
.match__areas li { padding: 9px 18px; border: 1px solid rgba(255, 236, 222, .3); font-size: 15px; font-weight: 600; }

.join {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; align-items: start;
  padding: var(--gap) var(--margin); background: var(--bone);
}
.join > .join__intro { position: sticky; top: 40px; }
.join > *:not(.branch) { position: relative; z-index: 1; }
.join .branch { color: rgba(196, 76, 14, .4); }
.branch--join { left: 8px; bottom: 24px; transform: scaleX(-1); width: 300px; height: 437px; }
.join__intro { grid-column: 1 / span 4; position: sticky; top: 40px; }
.join__intro h2 { font-size: clamp(40px, 4.2vw, 68px); }
.join__intro > p { margin-top: 24px; font-size: 17px; }
.join__why { margin: 24px 0 0; padding: 0; list-style: none; }
.join__why li { padding: 14px 0; border-top: 1px solid var(--line-ink); font-size: 16px; }
.join__note { margin-top: 24px; font-size: 15px; font-weight: 600; color: var(--orange); }
.join__form { grid-column: 6 / span 7; padding: clamp(28px, 3.4vw, 56px); background: #fffdfa; box-shadow: 0 40px 80px -50px rgba(29, 20, 16, .45); } /* taste-skill-ignore: la ficha flota como la hoja */
.join__form fieldset { margin: 0; padding: 0 0 36px; border: 0; min-width: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.join__form fieldset + fieldset { padding-top: 32px; border-top: 1px solid var(--line-ink); }
.join__form legend { grid-column: 1 / -1; float: left; width: 100%; margin-bottom: 18px; padding: 0; font-family: var(--serif); font-size: clamp(26px, 2.2vw, 34px); font-weight: 600; line-height: 1.1; }
.field { display: grid; gap: 8px; align-content: start; }
.field--wide { grid-column: 1 / -1; }
.field label, .field .label { font-size: 15px; font-weight: 600; }
.field label span { font-weight: 500; color: #6b5a50; }
.field small { font-size: 13px; color: #6b5a50; }
.join__form input:not([type="checkbox"]):not([type="radio"]), .join__form select, .join__form textarea {
  width: 100%; min-height: 52px; padding: 12px 14px;
  border: 1px solid rgba(29, 20, 16, .28); border-radius: 0; background: #fffaf5; color: var(--ink);
  font: inherit; font-size: 17px; font-weight: 500;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.join__form textarea { resize: vertical; min-height: 120px; }
.join__form input:focus, .join__form select:focus, .join__form textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(196, 76, 14, .18); }
.join__form .is-invalid { border-color: #b3261e !important; }
.checks label, .radios label, .consents label {
  display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border: 1px solid rgba(29, 20, 16, .18);
  background: #fffaf5; font-size: 16px; font-weight: 500; line-height: 1.35; cursor: pointer;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.checks label:has(input:checked), .radios label:has(input:checked) { border-color: var(--orange); background: #fff3ea; }
.checks.is-invalid label { border-color: #b3261e; }
.join__form input[type="checkbox"], .join__form input[type="radio"] { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--orange); }
.checks--inline { grid-template-columns: 1fr 1fr; display: grid; gap: 10px; }
.checks--inline .label { grid-column: 1 / -1; }
.radios { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.consents { grid-template-columns: 1fr !important; gap: 10px !important; }
.consents label { border: 0; padding: 4px 0; background: none; font-size: 15px; }
.join__error { margin: 0 0 18px; padding: 14px 16px; background: #fde8e6; color: #8c1d18; font-size: 15px; font-weight: 600; max-width: none; }
.join__submit { width: 100%; border: 0; cursor: pointer; font-family: var(--sans); }
.join__done { margin-top: 20px; padding: 20px; background: #fff3ea; border-left: 3px solid var(--orange); font-size: 16px; }

@media (max-width: 1024px) {
  .match__text, .match__steps { grid-column: 1 / -1; }
  .match__steps { margin-top: 48px; }
  .join__intro, .join__form { grid-column: 1 / -1; }
  .join > .join__intro { position: static; margin-bottom: 40px; }
}
@media (max-width: 720px) {
  .bar__nav { gap: 16px; }
  .bar__lawyer { font-size: 14px; }
  .bar__action { font-size: 14px; }
  .match__steps li { grid-template-columns: 56px 1fr; padding: 20px 0; }
  .match__text p { margin: 18px 0 28px; font-size: 17px; }
  .match__text .button { width: 100%; }
  .match__areas { margin-top: 40px; }
  .match__areas li { font-size: 14px; padding: 8px 14px; }
  .branch--match, .branch--join { opacity: .45; }
  .join__form { padding: 24px 18px; margin: 0 -4px; }
  .join__form fieldset { grid-template-columns: 1fr; gap: 14px; }
  .join__form fieldset.checks { grid-template-columns: 1fr 1fr; gap: 8px; }
  .checks label { padding: 10px 10px; font-size: 15px; gap: 8px; }
  .checks--inline, .radios { grid-template-columns: 1fr; }
}

/* ─── Celular: ajuste fino ───────────────────────────────────── */
@media (max-width: 720px) {
  :root { --gap: 80px; --s-h2: clamp(38px, 10.5vw, 48px); }

  /* Portada: el busto se ve de verdad y el texto queda abajo, como en la pantalla de inicio */
  .hero { min-height: 100svh; padding: 112px 20px 40px; }
  .hero__bust { right: -30%; top: 64px; height: 58%; opacity: .78; filter: contrast(1.25) saturate(.9); }
  .hero .arch { display: none; }
  .hero .rings { display: none; }
  .plumb { display: none; }
  .hero__title { font-size: clamp(54px, 16vw, 72px); }
  .hero__title span + span { padding-left: .35em; }
  .hero__lede { margin: 22px 0 28px; font-size: 18px; line-height: 1.5; }
  .hero__link { padding: 8px 0; }
  .branch--hero { right: -20px; bottom: 150px; opacity: .5; }

  /* Barra */
  .bar { padding: 18px 20px; }
  .bar__mark { gap: 12px; }
  .bar__mark img { width: 34px; }
  .bar__mark span { font-size: 19px; letter-spacing: .36em; }
  .bar__action { font-size: 14px; }

  /* Cómo funciona */
  .how { gap: 48px; }
  .how__steps { margin-top: 32px; }
  .how__steps li { padding: 20px 0; }
  .phone { max-width: 330px; border-width: 8px; border-radius: 34px; }

  /* Encuesta */
  .survey__intro p { margin-top: 18px; font-size: 17px; }
  .survey__card { margin-top: 36px; }
  .survey legend { font-size: 30px; }
  .options { margin-top: 22px; }
  .options button { min-height: 58px; padding: 12px 18px; font-size: 17px; }

  /* Documento */
  .doc__list { margin-top: 32px; }
  .doc__list li { padding: 18px 0; font-size: 17px; }
  .doc__sheet { margin-top: 40px; }
  .sheet { padding: 26px 22px; font-size: 14px; }

  /* La ley: cifras en fila compacta, no una pantalla por número */
  .law__quote p { font-size: 27px; }
  .law__quote footer { font-size: 12px; letter-spacing: .14em; }
  .law__terms { margin-top: 48px; }
  .law__terms li {
    grid-template-columns: 76px 1fr; justify-items: start; align-items: center;
    gap: 2px 16px; padding: 22px 0; text-align: left;
  }
  .law__num { grid-row: span 2; font-size: 64px; justify-self: center; }
  .law__terms p { font-size: 17px; max-width: none; }
  .law__terms small { font-size: 12px; letter-spacing: .08em; }

  /* Confianza y preguntas */
  .trust__mark { width: 64px; margin-bottom: 24px; }
  .trust__list { margin-top: 32px; }
  .trust__list li { padding: 18px 0; }
  .faq h2 { margin-bottom: 28px; }
  .faq summary { font-size: 23px; padding: 20px 44px 20px 0; }
  .faq details p { font-size: 17px; }

  /* Cierre y pie */
  .close { min-height: 0; padding: 96px 20px 120px; }
  .close__mark { width: 80px; margin-bottom: 28px; }
  .close__lede { margin: 18px auto 32px; font-size: 18px; }
  .branch--close-l, .branch--close-r { bottom: 0; opacity: .45; }
  .foot { padding: 64px 20px 120px; }
  .foot__word { font-size: 44px; letter-spacing: .3em; margin-right: -.3em; }
  .foot__tag { font-size: 12px; letter-spacing: .14em; }
  .foot__legal { font-size: 14px; }

  /* Ramas más discretas para no competir con el texto */
  .how .branch, .doc .branch, .faq .branch, .survey .branch { opacity: .45; }
}

/* ─── Página para abogados ───────────────────────────────────── */
.bar__lawyer { padding: 8px 16px; border: 1px solid rgba(255, 248, 242, .6); opacity: 1; }
.bar__lawyer:hover { background: var(--white); color: var(--ink); text-decoration: none; }
.hero--lawyers { min-height: 86svh; }
.hero__title--lawyers { font-size: clamp(56px, 8vw, 132px); }
@media (max-width: 720px) {
  .bar__lawyer { padding: 6px 10px; }
  .bar__nav .bar__action { display: none; }
  .hero--lawyers { min-height: 88svh; }
  .hero__title--lawyers { font-size: clamp(48px, 13vw, 64px); }
}

/* En celular las ramas de esta sección quedaban encima del texto. */
@media (max-width: 760px) {
  .branch--law-l, .branch--law-r { display: none; }
}
