/* ==========================================================================
   Página de servicio («estilo»: «servicio» en la meta) · /inmobiliario/abogado-inmobiliario-madrid/
   Tinta cálida, papel y latón. Newsreader en titulares y Geist en texto.
   Todo cuelga de .pagina-servicio o de .lp: no toca el resto de la web.
   Sin JS el contenido se ve entero; con «reducir movimiento» no se anima nada.
   ========================================================================== */
@font-face { font-family: "Newsreader"; src: url("/assets/fonts/newsreader-500-latin.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("/assets/fonts/newsreader-500italic-latin.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/assets/fonts/geist-latin.woff2") format("woff2"); font-weight: 400 500; font-style: normal; font-display: swap; }

.pagina-servicio {
  --lp-ink: #13110E;
  --lp-ink-2: #1D1A15;
  --lp-paper: #F9F7F2;
  --lp-white: #FFFFFF;
  --lp-muted: #5F594F;
  --lp-line: rgba(19, 17, 14, .14);
  --lp-line-dark: rgba(255, 255, 255, .16);
  --lp-brass: #A8864F;
  --lp-brass-ink: #765A2B;      /* latón legible sobre papel */
  --lp-brass-light: #DCC293;    /* latón legible sobre tinta */
  --lp-serif: "Newsreader", Georgia, "Times New Roman", serif;
  --lp-sans: "Geist", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --lp-gutter: clamp(20px, 5vw, 80px);
  --lp-ease: cubic-bezier(.16, 1, .3, 1);
  background: var(--lp-ink);
}
.pagina-servicio ::selection { background: var(--lp-brass); color: #fff; }

/* ---------- Cabecera sobre la portada oscura ---------- */
.pagina-servicio .bs-header { position: absolute; top: 0; left: 0; right: 0; z-index: 20; color: #fff; padding-left: var(--lp-gutter); padding-right: var(--lp-gutter); font-family: var(--lp-sans); letter-spacing: 0; }
.pagina-servicio .bs-header__title img { content: url("/assets/img/logo/eg-horizontal-laton-oscuro.svg"); }
.pagina-servicio .bs-header .bs-nav a:not(.bs-btn) { color: rgba(255, 255, 255, .86); }
.pagina-servicio .bs-header .bs-nav a:not(.bs-btn):hover { color: #fff; }
.pagina-servicio .bs-header .nav-phone { color: #fff; }
.pagina-servicio .bs-header .bs-btn--header { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5); transition: background-color .3s ease, color .3s ease, box-shadow .3s ease; }
.pagina-servicio .bs-header .bs-btn--header:hover { background: #fff; color: var(--lp-ink); box-shadow: inset 0 0 0 1px #fff; opacity: 1; }
.pagina-servicio .bs-header :focus-visible { outline-color: #fff; }

/* ---------- Base ---------- */
.lp { font-family: var(--lp-sans); letter-spacing: -.005em; color: var(--lp-ink); background: var(--lp-white); }
.lp p { max-width: none; }
.lp :is(p, li, dd, dt, figcaption, summary) { text-align: left; hyphens: manual; }
.lp :focus-visible { outline: 2px solid var(--lp-brass); outline-offset: 3px; }
.lp-wrap { max-width: 1280px; margin: 0 auto; }
.lp-sec { padding: clamp(72px, 9vw, 144px) var(--lp-gutter); }

.lp-kicker { margin: 0 0 18px; font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--lp-brass-ink); display: flex; align-items: center; gap: 12px; }
.lp-kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.lp-h2 { margin: 0; font-family: var(--lp-serif); font-weight: 500; font-size: clamp(2.5rem, 1.5rem + 3.6vw, 4.6rem); line-height: .98; letter-spacing: -.025em; text-wrap: balance; }
.lp-h2 em, .lp-hero__title em { font-style: italic; color: var(--lp-brass-ink); }

.lp-head { display: grid; gap: 24px; margin-bottom: clamp(40px, 5vw, 72px); }
.lp-head__text { margin: 0; font-size: clamp(1.05rem, .95rem + .35vw, 1.25rem); line-height: 1.5; color: var(--lp-muted); max-width: 46ch; }
@media (min-width: 900px) {
  .lp-head { grid-template-columns: 7fr 5fr; align-items: end; gap: 48px; }
  .lp-head__text { justify-self: end; }
}

/* Botones */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 0 28px; border-radius: 999px; font-family: var(--lp-sans); font-size: 1rem; font-weight: 500; letter-spacing: 0; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .35s var(--lp-ease), color .35s var(--lp-ease), box-shadow .35s var(--lp-ease), transform .35s var(--lp-ease); }
.lp-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--lp-ease); }
.lp-btn:hover svg { transform: translateX(5px); }
.lp-btn:active { transform: scale(.98); }
.lp-btn--light { background: #fff; color: var(--lp-ink); }
.lp-btn--light:hover { background: var(--lp-brass-light); }
.lp-btn--ghost { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); }
.lp-btn--ghost:hover { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px #fff; }
.lp-link { color: inherit; text-decoration: underline; text-decoration-color: var(--lp-brass); text-decoration-thickness: 1px; text-underline-offset: 6px; transition: text-decoration-color .3s ease, color .3s ease; }
.lp-link:hover { color: var(--lp-brass-light); }

/* ==========================================================================
   Portada: texto a la izquierda y el vídeo del despacho en una ventana a la derecha
   ========================================================================== */
.lp-hero { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-rows: 1fr auto; min-height: max(660px, min(100svh, 960px)); padding: 124px var(--lp-gutter) 0; color: #fff;
  background:
    radial-gradient(900px 620px at 88% -8%, rgba(168, 134, 79, .22), rgba(168, 134, 79, 0) 62%),
    radial-gradient(700px 520px at -10% 108%, rgba(168, 134, 79, .1), rgba(168, 134, 79, 0) 60%),
    var(--lp-ink); }
.lp-hero__in { display: grid; gap: 36px; width: 100%; max-width: 1280px; margin: 0 auto; padding: clamp(20px, 4vh, 48px) 0 clamp(36px, 6vh, 64px); }
.lp-hero__copy { container-type: inline-size; align-self: center; min-width: 0; }
.lp-eyebrow { display: flex; align-items: center; gap: 14px; margin: 0 0 clamp(20px, 3vh, 32px); font-size: .8rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--lp-brass-light); }
.lp-eyebrow__rule { flex: none; width: 40px; height: 1px; background: currentColor; transform-origin: left; animation: lp-rule 1.1s var(--lp-ease) .15s both; }
.lp-hero__title { margin: 0; font-family: var(--lp-serif); font-weight: 500; font-size: clamp(2.9rem, 1rem + 4.2vw, 5.4rem); line-height: .96; letter-spacing: -.03em; text-wrap: balance; }
@supports (font-size: 1cqi) { .lp-hero__title { font-size: clamp(2.9rem, 10.5cqi, 6.2rem); } }
.lp-hero__title em { color: var(--lp-brass-light); }
.lp-line { display: block; overflow: hidden; padding: .06em 0 .16em; margin-bottom: -.16em; }
.lp-line > span { display: block; animation: lp-rise 1.15s var(--lp-ease) .2s both; }
.lp-line--2 > span { animation-delay: .32s; }
.lp-hero__lead { margin: clamp(24px, 3.4vh, 36px) 0 0; max-width: 32em; font-size: clamp(1.1rem, .98rem + .45vw, 1.34rem); line-height: 1.5; color: rgba(255, 255, 255, .84); }
.lp-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin: clamp(28px, 4vh, 44px) 0 0; }
.lp-hero__cta .lp-link { margin-left: 8px; font-size: .98rem; color: rgba(255, 255, 255, .86); }

/* Entradas de la portada: solo CSS, una vez al cargar */
.lp-in { animation: lp-fade 1s var(--lp-ease) both; }
.lp-in--1 { animation-delay: .1s; }
.lp-in--3 { animation-delay: .5s; }
.lp-in--4 { animation-delay: .62s; }
.lp-in--6 { animation-delay: .95s; }

/* Ventana del vídeo */
.lp-hero__visual { position: relative; min-width: 0; }
.lp-hero__frame { position: relative; overflow: hidden; height: 100%; aspect-ratio: 16 / 10; border-radius: 6px; background: var(--lp-ink-2); animation: lp-open 1.5s var(--lp-ease) .25s both; }
.lp-hero__frame video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; animation: lp-zoom 2.4s var(--lp-ease) .25s both; }
.lp-hero__frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(19, 17, 14, .1) 0%, rgba(19, 17, 14, 0) 40%, rgba(19, 17, 14, .55) 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); border-radius: inherit; }
.lp-hero__toggle { position: absolute; z-index: 2; right: 14px; top: 14px; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 0; border-radius: 50%; background: rgba(19, 17, 14, .45); color: #fff; border: 1px solid rgba(255, 255, 255, .45); cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background-color .3s ease, border-color .3s ease; }
.lp-hero__toggle:hover { background: rgba(19, 17, 14, .8); border-color: #fff; }
.lp-hero__toggle svg { width: 13px; height: 13px; fill: currentColor; }
.lp-hero__toggle .i-play, .lp-hero__toggle[aria-pressed="true"] .i-pause { display: none; }
.lp-hero__toggle[aria-pressed="true"] .i-play { display: block; }
.lp-hero__toggle[hidden] { display: none; }

/* Ficha «Lo primero que reviso», montada sobre la esquina de la ventana */
.lp-ficha { display: none; }
.lp-ficha__k { margin: 0 0 6px; font-size: .7rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--lp-brass-light); }
.lp-ficha__t { margin: 0 0 14px; font-family: var(--lp-serif); font-weight: 500; font-size: 1.45rem; line-height: 1.1; letter-spacing: -.015em; }
.lp-ficha__list { list-style: none; margin: 0; padding: 0; }
.lp-ficha__list li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--lp-line-dark); font-size: .92rem; line-height: 1.3; color: rgba(255, 255, 255, .92); }
.lp-ficha__list svg { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--lp-brass-light); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.lp-ficha__list svg circle { stroke: rgba(255, 255, 255, .3); }
.lp-ficha__list svg path { stroke-dasharray: 16; stroke-dashoffset: 16; animation: lp-check .5s ease-out both; }
.lp-ficha__list li:nth-child(1) svg path { animation-delay: 1.9s; }
.lp-ficha__list li:nth-child(2) svg path { animation-delay: 2.35s; }
.lp-ficha__list li:nth-child(3) svg path { animation-delay: 2.8s; }
.lp-ficha__list li:nth-child(4) svg path { animation-delay: 3.25s; }
.lp-ficha__foot { margin: 4px 0 0; padding-top: 14px; border-top: 1px solid var(--lp-line-dark); font-size: .82rem; color: rgba(255, 255, 255, .7); }

@media (min-width: 1000px) {
  .lp-hero__in { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: clamp(56px, 5vw, 80px); align-items: stretch; }
  .lp-hero__frame { aspect-ratio: auto; min-height: 420px; }
}
@media (min-width: 1200px) {
  .lp-ficha { display: block; position: absolute; left: -48px; bottom: 32px; width: 300px; padding: 22px 22px 18px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 16px; background: rgba(24, 21, 17, .62); -webkit-backdrop-filter: blur(22px) saturate(1.3); backdrop-filter: blur(22px) saturate(1.3); box-shadow: 0 30px 70px -24px rgba(0, 0, 0, .75); animation: lp-fade 1.1s var(--lp-ease) 1.2s both; }
}

/* Franja de datos */
.lp-datos { display: grid; grid-template-columns: 1fr 1fr; width: 100%; max-width: 1280px; margin: 0 auto; border-top: 1px solid var(--lp-line-dark); }
.lp-datos > div { padding: 20px 16px 22px 0; }
.lp-datos > div:nth-child(n+3) { border-top: 1px solid var(--lp-line-dark); }
.lp-datos > div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--lp-line-dark); }
.lp-datos dt { margin: 0 0 6px; font-size: .7rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--lp-brass-light); }
.lp-datos dd { margin: 0; font-size: .95rem; line-height: 1.35; color: rgba(255, 255, 255, .9); }
@media (min-width: 900px) {
  .lp-datos { grid-template-columns: repeat(4, 1fr); }
  .lp-datos > div, .lp-datos > div:nth-child(even) { padding: 22px 28px 26px; border-top: 0; border-left: 1px solid var(--lp-line-dark); }
  .lp-datos > div:first-child { padding-left: 0; border-left: 0; }
  .lp-datos dd { font-size: 1rem; }
}

@media (max-width: 600px) {
  .lp-hero { padding-top: 100px; min-height: 0; }
  .lp-eyebrow { font-size: .68rem; letter-spacing: .1em; gap: 10px; }
  .lp-eyebrow__rule { width: 24px; }
  .lp-hero__frame video { object-position: 50% 50%; }
  .lp-hero__cta .lp-btn { flex: 1 1 100%; }
  .lp-hero__cta .lp-link { margin: 6px auto 0; }
}

/* ==========================================================================
   Qué llevo
   ========================================================================== */
.lp-asuntos { background: var(--lp-paper); }

/* Pestañas (solo con JS; sin JS se ven los tres bloques seguidos) */
.lp-tabs__list { display: none; }
.lp-js .lp-tabs__list { display: flex; gap: 8px; margin: 0 calc(var(--lp-gutter) * -1) 28px; padding: 0 var(--lp-gutter) 4px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.lp-js .lp-tabs__list::-webkit-scrollbar { display: none; }
.lp-tab { flex: none; scroll-snap-align: start; display: grid; gap: 2px; padding: 12px 20px; border: 1px solid var(--lp-line); border-radius: 999px; background: transparent; color: var(--lp-muted); font: inherit; text-align: left; cursor: pointer; transition: color .3s ease, background-color .3s ease, border-color .3s ease; }
.lp-tab__n, .lp-tab__c { display: none; }
.lp-tab__t { font-size: .98rem; font-weight: 500; white-space: nowrap; }
.lp-tab[aria-selected="true"] { background: var(--lp-ink); border-color: var(--lp-ink); color: #fff; }

@media (min-width: 900px) {
  .lp-js .lp-tabs__list { gap: 0; margin: 0 0 clamp(36px, 4vw, 56px); padding: 0; overflow: visible; }
  .lp-tab { position: relative; flex: 1 1 0; grid-template-columns: auto 1fr; column-gap: 16px; row-gap: 6px; align-items: baseline; padding: 26px 24px 4px 0; border: 0; border-top: 1px solid var(--lp-line); border-radius: 0; }
  .lp-tab::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--lp-ink); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--lp-ease); }
  .lp-tab[aria-selected="true"] { background: transparent; color: var(--lp-ink); }
  .lp-tab[aria-selected="true"]::before { transform: scaleX(1); }
  .lp-tab:hover { color: var(--lp-ink); }
  .lp-tab__n { display: block; font-size: .8rem; font-weight: 500; letter-spacing: .08em; color: var(--lp-brass-ink); }
  .lp-tab__t { font-family: var(--lp-serif); font-size: clamp(1.4rem, 1rem + 1.1vw, 2rem); line-height: 1.08; letter-spacing: -.02em; white-space: normal; text-wrap: balance; }
  .lp-tab__c { display: block; grid-column: 2; font-size: .86rem; color: var(--lp-muted); }
}

/* Paneles */
.lp-panel + .lp-panel { margin-top: 56px; }
.lp-panel__t { margin: 0 0 16px; font-family: var(--lp-serif); font-weight: 500; font-size: 1.7rem; letter-spacing: -.02em; }
.lp-js .lp-panel + .lp-panel { margin-top: 0; }
.lp-js .lp-panel__t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.lp-js .lp-panel:not(.is-active) { display: none; }
.lp-panel__fig { display: none; }

@media (min-width: 900px) {
  .lp-panel { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 4.5vw, 72px); align-items: stretch; }
  .lp-panel__fig { display: block; position: relative; margin: 0; min-height: 420px; overflow: hidden; border-radius: 4px; background: var(--lp-ink); color: #fff; }
  .lp-panel__fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--lp-ease); }
  .lp-panel__fig::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19, 17, 14, 0) 45%, rgba(19, 17, 14, .86) 100%); }
  .lp-panel__fig figcaption { position: absolute; z-index: 1; left: 28px; right: 28px; bottom: 26px; font-family: var(--lp-serif); font-size: clamp(1.25rem, 1rem + .7vw, 1.6rem); line-height: 1.18; letter-spacing: -.015em; text-wrap: balance; }
  .lp-panel__fig figcaption span { display: block; margin-bottom: 10px; font-family: var(--lp-sans); font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--lp-brass-light); }
  .lp-js .lp-panel.is-active .lp-panel__fig { animation: lp-fig .9s var(--lp-ease) both; }
  .lp-js .lp-panel.is-active .lp-panel__fig img { animation: lp-zoom 1.6s var(--lp-ease) both; }
  .lp-js .lp-panel.is-active .lp-rows > li { animation: lp-row .7s var(--lp-ease) both; }
  .lp-js .lp-panel.is-active .lp-rows > li:nth-child(2) { animation-delay: .05s; }
  .lp-js .lp-panel.is-active .lp-rows > li:nth-child(3) { animation-delay: .1s; }
  .lp-js .lp-panel.is-active .lp-rows > li:nth-child(4) { animation-delay: .15s; }
  .lp-js .lp-panel.is-active .lp-rows > li:nth-child(5) { animation-delay: .2s; }
  .lp-js .lp-panel.is-active .lp-rows > li:nth-child(6) { animation-delay: .25s; }
  .lp-js .lp-panel.is-active .lp-rows > li:nth-child(7) { animation-delay: .3s; }
}

/* Filas de asuntos */
.lp-rows { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--lp-line); }
.lp-rows > li { border-top: 1px solid var(--lp-line); }
.lp-row { position: relative; display: grid; grid-template-columns: 2.4rem 1fr auto; gap: 4px 12px; align-items: center; padding: 16px 0; color: inherit; text-decoration: none; transition: background-color .35s ease; }
.lp-row__n, .lp-row__t, .lp-row__go { transition: transform .45s var(--lp-ease); }
.lp-row__n { align-self: start; padding-top: .32em; font-size: .8rem; font-weight: 500; letter-spacing: .06em; color: var(--lp-brass-ink); font-variant-numeric: tabular-nums; }
.lp-row__t { display: grid; gap: 3px; }
.lp-row__t strong { font-family: var(--lp-serif); font-weight: 500; font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); line-height: 1.15; letter-spacing: -.015em; }
.lp-row__t > span { font-size: .94rem; line-height: 1.45; color: var(--lp-muted); }
.lp-row__go { display: inline-flex; align-items: center; gap: 12px; font-size: .84rem; font-weight: 500; color: var(--lp-ink); white-space: nowrap; }
.lp-row__lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.lp-row__go svg { width: 36px; height: 36px; padding: 9px; border: 1px solid var(--lp-line); border-radius: 50%; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: background-color .35s ease, color .35s ease, border-color .35s ease, transform .45s var(--lp-ease); }
@media (max-width: 600px) { .lp-row { grid-template-columns: 2rem 1fr auto; gap: 4px 10px; } .lp-row__go svg { width: 32px; height: 32px; padding: 8px; } }
@media (hover: hover) {
  .lp-row:hover { background: rgba(255, 255, 255, .75); }
  .lp-row:hover :is(.lp-row__n, .lp-row__t) { transform: translateX(16px); }
  .lp-row:hover .lp-row__go { transform: translateX(-16px); }
  .lp-row:hover .lp-row__go svg { background: var(--lp-ink); border-color: var(--lp-ink); color: #fff; transform: rotate(-45deg); }
}
.lp-nota { margin: clamp(28px, 3vw, 44px) 0 0; font-size: 1.02rem; color: var(--lp-muted); }
.lp-nota a { color: var(--lp-ink); text-decoration-color: var(--lp-brass); text-underline-offset: 5px; }

/* ==========================================================================
   Cómo trabajo
   ========================================================================== */
.lp-metodo { background: var(--lp-white); }
.lp-steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; }
.lp-steps::before, .lp-steps::after { content: ""; position: absolute; left: 5px; top: 8px; bottom: 0; width: 1px; background: var(--lp-line); }
.lp-steps::after { background: var(--lp-brass); transform-origin: top; }
.lp-step { position: relative; padding: 0 0 40px 40px; }
.lp-step:last-child { padding-bottom: 0; }
.lp-step::before { content: ""; position: absolute; z-index: 1; left: 0; top: 4px; width: 11px; height: 11px; border-radius: 50%; background: var(--lp-white); box-shadow: inset 0 0 0 1px var(--lp-brass); transition: background-color .5s ease, box-shadow .5s ease; }
.lp-step__n { display: block; margin-bottom: 14px; font-family: var(--lp-serif); font-size: 1.05rem; font-style: normal; color: var(--lp-brass-ink); font-variant-numeric: tabular-nums; }
.lp-step h3 { margin: 0 0 12px; font-family: var(--lp-serif); font-weight: 500; font-size: clamp(1.45rem, 1.2rem + .7vw, 1.85rem); line-height: 1.1; letter-spacing: -.02em; text-wrap: balance; }
.lp-step p { margin: 0; font-size: 1rem; line-height: 1.55; color: var(--lp-muted); max-width: 44ch; }
.lp-step .lp-step__tag { display: inline-block; margin-top: 16px; padding: 9px 14px; border-radius: 8px; background: var(--lp-paper); font-size: .86rem; line-height: 1.35; color: var(--lp-ink); }
.lp-step.is-on::before, .lp-steps:not([data-steps]) .lp-step::before { background: var(--lp-brass); }

@media (min-width: 900px) {
  .lp-steps { grid-template-columns: repeat(4, 1fr); column-gap: clamp(24px, 3vw, 48px); padding-top: 0; }
  .lp-steps::before, .lp-steps::after { left: 0; right: 0; top: 5px; bottom: auto; width: auto; height: 1px; }
  .lp-steps::after { transform-origin: left; }
  .lp-step { padding: 44px 0 0; }
  .lp-step::before { top: 0; }
}

/* Con JS, la línea se dibuja y los pasos se encienden uno a uno al entrar en pantalla */
.lp-js .lp-steps[data-steps]::after { transform: scaleY(0); transition: transform 2.2s var(--lp-ease); }
.lp-js .lp-steps[data-steps].is-in::after { transform: none; }
.lp-js .lp-steps[data-steps] .lp-step > * { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--lp-ease), transform .9s var(--lp-ease); }
.lp-js .lp-steps[data-steps].is-in .lp-step > * { opacity: 1; transform: none; }
.lp-js .lp-steps[data-steps].is-in .lp-step::before { background: var(--lp-brass); }
.lp-js .lp-steps .lp-step:nth-child(2) > *, .lp-js .lp-steps .lp-step:nth-child(2)::before { transition-delay: .35s; }
.lp-js .lp-steps .lp-step:nth-child(3) > *, .lp-js .lp-steps .lp-step:nth-child(3)::before { transition-delay: .7s; }
.lp-js .lp-steps .lp-step:nth-child(4) > *, .lp-js .lp-steps .lp-step:nth-child(4)::before { transition-delay: 1.05s; }
@media (min-width: 900px) { .lp-js .lp-steps[data-steps]::after { transform: scaleX(0); } }

/* ==========================================================================
   Quién lleva tu asunto
   ========================================================================== */
.lp-autor { background: var(--lp-ink); color: #fff; }
.lp-autor .lp-kicker { color: var(--lp-brass-light); }
.lp-autor__grid { display: grid; gap: 48px; }
.lp-autor__media { position: relative; max-width: 520px; padding: 0 24% 10% 0; }
.lp-foto { overflow: hidden; border-radius: 4px; }
.lp-foto img { width: 100%; height: 100%; object-fit: cover; }
.lp-foto--a { aspect-ratio: 3 / 4; }
.lp-foto--b { position: absolute; right: 0; bottom: 0; width: 42%; aspect-ratio: 3 / 4; box-shadow: 0 0 0 8px var(--lp-ink), 0 40px 80px -30px rgba(0, 0, 0, .8); }
.lp-foto--b img { object-position: 60% 50%; }
.lp-autor .lp-h2 { font-size: clamp(2.4rem, 1.4rem + 3.2vw, 4.2rem); }
.lp-autor__lead { margin: 28px 0 0; max-width: 34em; font-size: clamp(1.1rem, 1rem + .4vw, 1.32rem); line-height: 1.5; color: rgba(255, 255, 255, .84); }
.lp-cred { margin: 36px 0 0; border-bottom: 1px solid var(--lp-line-dark); }
.lp-cred > div { display: grid; gap: 4px; padding: 18px 0; border-top: 1px solid var(--lp-line-dark); }
.lp-cred dt { font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--lp-brass-light); }
.lp-cred dd { margin: 0; font-size: 1rem; line-height: 1.5; color: rgba(255, 255, 255, .88); }
.lp-autor__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin: 36px 0 0; }
.lp-autor__cta .lp-link { font-family: var(--lp-serif); font-size: 1.5rem; letter-spacing: -.01em; text-underline-offset: 8px; }
@media (min-width: 900px) {
  .lp-autor__grid { grid-template-columns: 5fr 6fr; gap: clamp(48px, 7vw, 120px); align-items: center; }
  .lp-autor__media { max-width: none; }
  .lp-cred > div { grid-template-columns: 9rem 1fr; gap: 24px; align-items: baseline; }
}

/* ==========================================================================
   Preguntas frecuentes
   ========================================================================== */
.lp-faq { background: var(--lp-paper); }
.lp-faq__grid { display: grid; gap: 40px; }
.lp-faq__head p:not(.lp-kicker) { margin: 24px 0 0; font-size: 1.02rem; line-height: 1.5; color: var(--lp-muted); }
.lp-faq__head a { color: var(--lp-ink); text-decoration-color: var(--lp-brass); text-underline-offset: 5px; }
.lp-faq__list { border-bottom: 1px solid var(--lp-line); }
.lp .lp-faq__list details.faq { max-width: none; border-top: 1px solid var(--lp-line); border-bottom: 0; }
.lp .lp-faq__list summary { cursor: pointer; list-style: none; position: relative; padding: 24px 56px 24px 0; font-family: var(--lp-serif); font-weight: 500; font-size: clamp(1.3rem, 1.1rem + .6vw, 1.65rem); line-height: 1.2; letter-spacing: -.015em; transition: color .3s ease; }
.lp .lp-faq__list summary::-webkit-details-marker { display: none; }
.lp .lp-faq__list summary::before, .lp .lp-faq__list summary::after { content: ""; position: absolute; right: 12px; top: 50%; width: 16px; height: 1.5px; margin-top: -1px; background: currentColor; font-size: 0; transform: none; transition: transform .5s var(--lp-ease); }
.lp .lp-faq__list summary::after { transform: rotate(90deg); }
.lp .lp-faq__list details[open] summary::after { transform: rotate(0deg); }
.lp .lp-faq__list summary:hover { color: var(--lp-brass-ink); }
.lp .lp-faq__list details > div { padding: 0 56px 26px 0; }
.lp .lp-faq__list details > div p { margin: 0; font-size: 1.04rem; line-height: 1.6; color: var(--lp-muted); max-width: 62ch; }
@supports (interpolate-size: allow-keywords) {
  .lp-faq__list details { interpolate-size: allow-keywords; }
  .lp-faq__list details::details-content { block-size: 0; overflow: clip; opacity: 0; transition: block-size .55s var(--lp-ease), opacity .45s ease, content-visibility .55s allow-discrete; }
  .lp-faq__list details[open]::details-content { block-size: auto; opacity: 1; }
}
@media (min-width: 900px) {
  .lp-faq__grid { grid-template-columns: 5fr 7fr; gap: clamp(48px, 6vw, 96px); align-items: start; }
  .lp-faq__head { position: sticky; top: 48px; }
}

/* El bloque de contacto común, con las tipografías de esta página */
.lp .contact-x { font-family: var(--lp-sans); }

/* ==========================================================================
   Revelado al hacer scroll (solo con JS)
   ========================================================================== */
.lp-js [data-rv] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--lp-ease), transform 1.1s var(--lp-ease); }
.lp-js [data-rv].is-in { opacity: 1; transform: none; }
.lp-js [data-rv="clip"] { transform: none; transition: opacity .5s ease; }
.lp-js [data-rv="clip"] img { clip-path: inset(0 0 100% 0); transform: scale(1.14); transition: clip-path 1.3s var(--lp-ease), transform 1.8s var(--lp-ease); }
.lp-js [data-rv="clip"].is-in img { clip-path: inset(0); transform: none; }
.lp-js [data-rv-d="1"] { transition-delay: .1s; }
.lp-js [data-rv-d="2"] { transition-delay: .2s; }
.lp-js [data-rv-d="3"] { transition-delay: .3s; }
.lp-js [data-rv-d="4"] { transition-delay: .4s; }
.lp-js [data-rv-d="2"] img { transition-delay: .2s; }

@keyframes lp-rise { from { transform: translateY(108%); } to { transform: none; } }
@keyframes lp-fade { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes lp-rule { from { transform: scaleX(0); } to { transform: none; } }
@keyframes lp-zoom { from { transform: scale(1.18); } to { transform: none; } }
@keyframes lp-open { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }
@keyframes lp-check { to { stroke-dashoffset: 0; } }
@keyframes lp-fig { from { opacity: 0; clip-path: inset(0 0 12% 0); } to { opacity: 1; clip-path: inset(0); } }
@keyframes lp-row { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .lp *, .lp *::before, .lp *::after { animation: none !important; transition: none !important; }
  .lp-ficha__list svg path { stroke-dashoffset: 0; }
  .lp-js [data-rv], .lp-js [data-rv="clip"] img, .lp-js .lp-steps[data-steps] .lp-step > * { opacity: 1; transform: none; clip-path: none; }
  .lp-js .lp-steps[data-steps]::after { transform: none; }
  .lp-js .lp-steps[data-steps] .lp-step::before { background: var(--lp-brass); }
}
@media print {
  .lp-hero__media, .lp-hero__toggle, .lp-ficha { display: none; }
  .lp-hero { min-height: 0; color: #000; background: none; }
}
