/* ==========================================================================
   PAGE-STATIC.CSS
   Componentes exclusivos de las páginas estáticas de copy:
     · /como-funciona/   (directory/static_pages/como_funciona.html)
     · /para-abogados/   (directory/static_pages/para_abogados.html)

   Reglas:
   - Todo lo que existe en el design system (legaltica-ds.css) se reutiliza:
     .lt-container, .lt-section, .lt-hero, .lt-card, .lt-btn, .lt-grid--*,
     .lt-diamond, .lt-pill-hero, .lt-section-head--center…
   - Aquí SOLO vive lo que el DS no tiene. Prefijo `ps-` para no colisionar.
   - legaltica-ds.css y base.html NO se tocan.
   ========================================================================== */

:root {
  --ps-mist: #EEF1F6;   /* fondo de las bandas claras de estas dos páginas */
  --ps-dash: #E1C4C0;   /* línea de puntos / raíl del timeline */
  --ps-soft: #FBEDEA;   /* fondo de los cuadros de icono rojos */
  --ps-check-bg: #EAF3EE;
  --ps-check-ink: #2C6E63;
  --ps-cross-bg: #F3E2E1;
  --ps-cross-ink: #C0574F;
  --ps-green-dark: #1E3A31;
  --ps-green-on-dark: #6FBF9A;
}


/* ==========================================================================
   1. ANIMACIONES
   El DS ya define lg-rise, lg-float, lg-drift y lg-pulse (§17 de
   legaltica-ds.css) y se reutilizan tal cual. Aquí solo las que faltan.
   ========================================================================== */

@keyframes lg-dash     { from { stroke-dashoffset: 600; } to { stroke-dashoffset: 0; } }
@keyframes lg-growx    { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes lg-grow     { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes lg-ring     { 0% { transform: scale(0.8); opacity: 0.6; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes lg-callpulse {
  0%   { box-shadow: 0 0 0 0 rgba(201, 79, 79, 0.5); }
  70%  { box-shadow: 0 0 0 16px rgba(201, 79, 79, 0); }
  100% { box-shadow: 0 0 0 0 rgba(201, 79, 79, 0); }
}
@keyframes lg-shake {
  0%, 100% { transform: rotate(0deg); }
  20% { transform: rotate(-12deg); }
  40% { transform: rotate(12deg); }
  60% { transform: rotate(-8deg); }
  80% { transform: rotate(8deg); }
}

/* Reveal on scroll — el estado inicial lo pinta reveal.js (así, sin JS, todo
   queda visible). Aquí solo la transición. */
[data-reveal] {
  transition: opacity .7s cubic-bezier(.2, .7, .2, 1),
              transform .7s cubic-bezier(.2, .7, .2, 1);
}

@media (prefers-reduced-motion: reduce) {
  .ps-shape,
  .ps-steps__line line,
  .ps-timeline__rail,
  .ps-callcard__ring,
  .ps-callcard__btn,
  .ps-callcard__btn svg,
  [data-reveal] {
    animation: none !important;
    transition: none !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}


/* ==========================================================================
   2. BANDAS DE SECCIÓN
   ========================================================================== */

.ps-band       { background: var(--ps-mist); }
.ps-band--dark { background: var(--lt-ink); }

/* Rombos decorativos flotantes (hero oscuro, franja CTA roja) */
.ps-shape {
  position: absolute;
  display: block;
  transform: rotate(45deg);
  pointer-events: none;
}
.ps-shape--1 { left: 8%;  top: 30%;    width: 60px; height: 60px; border-radius: 16px; background: rgba(201, 79, 79, 0.16); animation: lg-drift 16s ease-in-out infinite; }
.ps-shape--2 { right: 12%; top: 22%;   width: 20px; height: 20px; border-radius: 5px;  background: var(--lt-primary);       animation: lg-float 7s ease-in-out infinite, lg-pulse 6s ease-in-out infinite; }
.ps-shape--3 { right: 20%; bottom: 20%; width: 40px; height: 40px; border-radius: 12px; background: rgba(201, 79, 79, 0.12); animation: lg-drift 20s ease-in-out infinite reverse; }
.ps-shape--4 { left: 18%;  bottom: 26%; width: 14px; height: 14px; border-radius: 4px;  background: var(--lt-primary);       animation: lg-float 9s ease-in-out 1s infinite, lg-pulse 7s ease-in-out infinite; }

/* Sobre la franja roja los rombos son blancos translúcidos */
.ps-shape--light-1 { left: 7%;   top: 29%;    width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, 0.10); animation: lg-drift 18s ease-in-out infinite; }
.ps-shape--light-2 { right: 11%; bottom: 26%; width: 22px; height: 22px; border-radius: 6px;  background: rgba(255, 255, 255, 0.16); animation: lg-float 8s ease-in-out infinite; }

/* Halo radial del hero oscuro */
.ps-glow {
  position: absolute;
  right: -60px;
  top: -60px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(201, 79, 79, 0.18), transparent 70%);
  pointer-events: none;
}

/* Cabecera de sección centrada, más compacta que .lt-section-head--center */
.ps-head {
  text-align: center;
  margin-bottom: 44px;
}
.ps-head__h {
  margin: 0 0 8px 0;
  font-family: var(--lt-font-head);
  font-weight: 600;
  font-size: 32px;
  letter-spacing: -0.01em;
  color: var(--lt-ink);
}
.ps-head__h--lg { font-size: 34px; }
.ps-head__sub {
  margin: 0;
  font-size: 15px;
  color: var(--lt-text-faint);
}


/* ==========================================================================
   3. HERO OSCURO (Cómo funciona) — sobre .lt-hero del DS
   ========================================================================== */

.lt-hero--how .lt-hero__inner { max-width: 900px; padding: 84px var(--lt-gutter) 76px var(--lt-gutter); }
.lt-hero--how .lt-hero__h1    { font-size: 54px; line-height: 1.1; }

.ps-hero__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}


/* ==========================================================================
   4. HERO CLARO EN 2 COLUMNAS (Para abogados)
   ========================================================================== */

.ps-hero-split {
  background: var(--lt-canvas);
  position: relative;
  overflow: hidden;
}
.ps-hero-split__inner {
  max-width: var(--lt-container);
  margin: 0 auto;
  padding: 72px var(--lt-gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
}
.ps-hero-split__h1 {
  margin: 0 0 18px 0;
  font-family: var(--lt-font-head);
  font-weight: 600;
  font-size: 46px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--lt-ink);
  text-wrap: balance;
}
.ps-hero-split__lead {
  margin: 0 0 28px 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--lt-text-2);
  max-width: 480px;
}
.ps-hero-split__note {
  margin: 16px 0 0 0;
  font-size: 13px;
  color: var(--lt-text-faint);
}
/* Rombo decorativo suelto del hero claro */
.ps-hero-split .ps-shape--tiny {
  left: 42%;
  top: 20%;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(201, 79, 79, 0.16);
  animation: lg-float 8s ease-in-out infinite;
}

/* Píldora clara (variante de .lt-pill-hero sobre fondo claro) */
.ps-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--lt-surface);
  border: 1px solid var(--lt-border);
  border-radius: var(--lt-r-pill);
  padding: 7px 16px;
  margin-bottom: 22px;
}
.ps-pill__text {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--lt-text-muted);
}

/* Media del hero */
.ps-hero-media { position: relative; }
.ps-hero-media__frame {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(22, 32, 46, 0.16);
  height: 380px;
  background: var(--lt-ph-pattern);   /* fallback si no hay imagen */
}
.ps-hero-media__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ps-hero-media__tag {
  position: absolute;
  bottom: -18px;
  left: -18px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--lt-ink);
  color: #FFFFFF;
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 0 16px 34px rgba(22, 32, 46, 0.22);
  font-family: var(--lt-font-head);
  font-size: 13.5px;
  font-weight: 600;
}


/* ==========================================================================
   5. LOS 3 PASOS (línea de puntos + cards numeradas)
   ========================================================================== */

.ps-steps { position: relative; }
.ps-steps__line {
  position: absolute;
  top: 40px;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 0;
}
.ps-steps__line line {
  stroke: var(--ps-dash);
  stroke-width: 2;
  stroke-dasharray: 8 8;
  stroke-linecap: round;
  stroke-dashoffset: 600;
  animation: lg-dash 2s ease-out 0.3s forwards;
}
.ps-steps__grid { position: relative; z-index: 1; }

.ps-step-card {
  padding: 32px 26px;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.ps-step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(22, 32, 46, 0.10);
}
.ps-step-card__num {
  width: 52px;
  height: 52px;
  background: var(--lt-primary);
  color: #FFFFFF;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--lt-font-head);
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 18px;
}
.ps-step-card__h {
  margin: 0 0 12px 0;
  font-family: var(--lt-font-head);
  font-size: 19px;
  font-weight: 600;
  color: var(--lt-ink);
}
.ps-step-card__p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--lt-text-muted);
}
.ps-step-card__p--intro { margin-bottom: 16px; }

/* Lista de 6 checks en 2 columnas dentro de la 3ª card */
.ps-checkgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 14px;
  text-align: left;
}
.ps-checkgrid__item {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 12.5px;
  color: var(--lt-text-2);
}
.ps-checkgrid__item svg { flex-shrink: 0; margin-top: 1px; }


/* ==========================================================================
   6. SPLIT DE CONTENIDO (texto + tarjeta)
   ========================================================================== */

.ps-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.ps-split__h {
  margin: 0 0 14px 0;
  font-family: var(--lt-font-head);
  font-weight: 600;
  font-size: 32px;
  letter-spacing: -0.01em;
  color: var(--lt-ink);
}
.ps-split__p {
  margin: 0 0 28px 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--lt-text-2);
}

/* Lista de features con cuadro-icono */
.ps-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.ps-feature { display: flex; gap: 14px; }
.ps-feature__icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  background: var(--ps-soft);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ps-feature__h {
  margin: 0 0 3px 0;
  font-family: var(--lt-font-head);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--lt-ink);
}
.ps-feature__p {
  margin: 0;
  font-size: 13.5px;
  color: var(--lt-on-dark-faint);
}


/* ==========================================================================
   7. TARJETA DE LLAMADA
   ========================================================================== */

.ps-callcard {
  background: var(--lt-surface);
  border: 1px solid var(--lt-border);
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 24px 60px rgba(22, 32, 46, 0.10);
}
.ps-callcard__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.ps-callcard__avatar {
  position: relative;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}
.ps-callcard__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--lt-primary);
  animation: lg-ring 2.4s ease-out infinite;
}
.ps-callcard__initials {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--lt-ink);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--lt-font-head);
  font-weight: 600;
  font-size: 18px;
}
.ps-callcard__name {
  margin: 0 0 2px 0;
  font-family: var(--lt-font-head);
  font-size: 17px;
  font-weight: 600;
  color: var(--lt-ink);
}
.ps-callcard__role { font-size: 13px; color: var(--lt-text-faint); }

.ps-callcard__summary {
  background: var(--lt-canvas);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 18px;
}
.ps-callcard__label {
  font-family: var(--lt-font-head);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--lt-text-faint);
}
.ps-callcard__lines {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--lt-text-2);
}
.ps-callcard__lines strong { color: var(--lt-ink); }
.ps-callcard__lines .ps-callcard__row { display: flex; align-items: center; gap: 8px; }
.ps-tag-warn {
  background: #FBECC9;
  color: #A97516;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: var(--lt-r-pill);
}
.ps-callcard__btn {
  width: 100%;
  border: none;
  background: var(--lt-primary);
  color: #FFFFFF;
  font-family: var(--lt-font-body);
  font-weight: 700;
  font-size: 14.5px;
  padding: 14px;
  border-radius: 12px;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  animation: lg-callpulse 2s infinite;
}
.ps-callcard__btn svg { animation: lg-shake 1.2s ease-in-out infinite; }


/* ==========================================================================
   8. CARDS COMPARATIVAS
   ========================================================================== */

.ps-compare      { padding: 30px; }
.ps-compare__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  position: relative;
}
.ps-compare__badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ps-compare__badge--bad  { background: var(--ps-cross-bg); }
.ps-compare__badge--good { background: var(--ps-green-dark); }
.ps-compare__h {
  margin: 0;
  font-family: var(--lt-font-head);
  font-size: 18px;
  font-weight: 600;
}
.ps-compare__h--bad  { color: #8A6460; }
.ps-compare__h--good { color: #FFFFFF; }

.ps-compare__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.ps-compare__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--lt-text-muted);
}
.ps-compare__item svg { flex-shrink: 0; margin-top: 1px; }

.ps-compare--dark {
  background: var(--lt-ink);
  border: none;
  position: relative;
  overflow: hidden;
}
.ps-compare--dark .ps-compare__item { color: #C7CFDA; }
.ps-compare__glow {
  position: absolute;
  right: -30px;
  top: -30px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(46, 158, 107, 0.20), transparent 70%);
  pointer-events: none;
}


/* ==========================================================================
   9. FRANJA CTA ROJA
   ========================================================================== */

.ps-cta {
  background: var(--lt-primary);
  position: relative;
  overflow: hidden;
}
.ps-cta__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 68px var(--lt-gutter);
  text-align: center;
  position: relative;
}
.ps-cta__h {
  margin: 0 0 12px 0;
  font-family: var(--lt-font-head);
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  text-wrap: balance;
}
.ps-cta__p {
  margin: 0 0 30px 0;
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.85);
}
.ps-cta__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Botón blanco sobre rojo */
a.ps-btn-light,
.ps-btn-light {
  background: #FFFFFF;
  color: var(--lt-ink);
}
a.ps-btn-light:hover,
.ps-btn-light:hover {
  background: var(--lt-ink);
  color: #FFFFFF;
}
/* Botón fantasma sobre rojo */
a.ps-btn-ghost,
.ps-btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #FFFFFF;
}
a.ps-btn-ghost:hover,
.ps-btn-ghost:hover {
  border-color: #FFFFFF;
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}


/* ==========================================================================
   10. DISCLAIMER ÁMBAR
   ========================================================================== */

.ps-disclaimer {
  background: #FBF3E9;
  border: 1px solid #F0E2CB;
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.ps-disclaimer svg { flex-shrink: 0; margin-top: 1px; }
.ps-disclaimer p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: #8A6D3B;
}
.ps-disclaimer strong { color: #6E5628; }


/* ==========================================================================
   11. CARDS CON ICONO + LISTA (Para abogados)
   ========================================================================== */

.ps-icon-card {
  padding: 28px;
  transition: transform .2s, box-shadow .2s;
}
.ps-icon-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(22, 32, 46, 0.10);
}
.ps-icon-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.ps-icon-card__head--bare { gap: 11px; }
.ps-icon-card__icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  background: var(--ps-soft);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ps-icon-card__h {
  margin: 0;
  font-family: var(--lt-font-head);
  font-size: 17px;
  font-weight: 600;
  color: var(--lt-ink);
}
.ps-icon-card__list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.ps-icon-card__item {
  display: flex;
  gap: 9px;
  font-size: 13.5px;
  color: var(--lt-text-2);
}
.ps-icon-card__item svg { flex-shrink: 0; margin-top: 1px; }

.ps-icon-card__paras {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ps-icon-card__paras p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--lt-text-2);
}
.ps-icon-card__paras strong { color: var(--lt-ink); }


/* ==========================================================================
   12. TIMELINE HORIZONTAL DE 5 PASOS
   ========================================================================== */

.ps-timeline { position: relative; }
.ps-timeline__rail {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 23px;
  height: 2px;
  background: var(--ps-dash);
  transform-origin: left;
  animation: lg-growx 1.4s ease-out 0.2s both;
}
.ps-timeline__steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ps-tstep {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}
.ps-tstep__num {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: var(--lt-primary);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--lt-font-head);
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 0 0 6px var(--ps-mist);   /* recorta el raíl bajo el círculo */
}
.ps-tstep__num--dark { background: var(--lt-ink); }
.ps-tstep__h {
  margin: 0;
  font-family: var(--lt-font-head);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--lt-ink);
}
.ps-tstep__p {
  display: block;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--lt-text-muted);
}


/* ==========================================================================
   13. CARD DE REQUISITOS
   ========================================================================== */

.ps-req {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  padding: 32px;
}
.ps-req__label {
  display: block;
  font-family: var(--lt-font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--lt-ink);
}
.ps-req__checks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0 28px 0;
}
.ps-req__check {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--lt-text-2);
}
.ps-req__check svg { flex-shrink: 0; margin-top: 1px; }
.ps-req__pairs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
  margin-top: 16px;
}
.ps-req__pair {
  display: flex;
  gap: 9px;
  font-size: 13.5px;
  color: var(--lt-text-muted);
}
.ps-req__pair .lt-diamond { margin-top: 6px; }


/* ==========================================================================
   14. VALORES (5 iconos circulares)
   ========================================================================== */

.ps-section--center { text-align: center; }

.ps-values {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  max-width: 1000px;
  margin: 0 auto;
}
.ps-value {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.ps-value__icon {
  width: 58px;
  height: 58px;
  background: var(--lt-surface);
  border: 1px solid var(--lt-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ps-value__label {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--lt-ink);
}
.ps-values-note {
  margin: 32px 0 0 0;
  font-size: 14.5px;
  color: var(--lt-text-muted);
}


/* ==========================================================================
   15. MÓVIL — max-width: 768px
   ========================================================================== */

@media (max-width: 768px) {

  /* --- Cabeceras --- */
  .ps-head            { margin-bottom: 28px; }
  .ps-head__h,
  .ps-head__h--lg     { font-size: 24px; }
  .ps-head__sub       { font-size: 14px; }

  /* --- Hero oscuro --- */
  .lt-hero--how .lt-hero__inner {
    padding: 48px var(--lt-gutter) 44px var(--lt-gutter);
    text-align: center;
    display: block;
  }
  .lt-hero--how .lt-hero__h1   { font-size: 32px; margin-bottom: 16px; }
  .lt-hero--how .lt-hero__lead { font-size: 15px; line-height: 1.55; margin: 0 auto 26px auto; }
  .ps-hero__actions            { flex-direction: column; }
  .ps-hero__actions .lt-btn    { width: 100%; }

  /* --- Hero claro --- */
  .ps-hero-split__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 44px var(--lt-gutter) 48px var(--lt-gutter);
  }
  .ps-hero-split__h1   { font-size: 30px; }
  .ps-hero-split__lead { font-size: 15px; max-width: none; }
  .ps-hero-split .lt-btn { width: 100%; }
  .ps-hero-media__frame { height: 240px; }
  .ps-hero-media__tag   { left: 12px; bottom: -14px; padding: 11px 14px; font-size: 12.5px; }
  .ps-hero-split .ps-shape--tiny { display: none; }

  /* --- 3 pasos: 1 columna, sin línea de puntos --- */
  .ps-steps__line     { display: none; }
  .ps-step-card       { padding: 24px 20px; }
  .ps-step-card:hover { transform: none; box-shadow: none; }
  .ps-step-card__h    { font-size: 17px; }
  .ps-checkgrid       { grid-template-columns: 1fr; }

  /* --- Split de contenido --- */
  .ps-split    { grid-template-columns: 1fr; gap: 32px; }
  .ps-split__h { font-size: 24px; }
  .ps-split__p { font-size: 14px; margin-bottom: 22px; }
  .ps-callcard { padding: 20px; }

  /* --- Comparativa --- */
  .ps-compare      { padding: 22px; }
  .ps-compare__h   { font-size: 17px; }
  .ps-compare__item { font-size: 13.5px; }

  /* --- Cards con icono --- */
  .ps-icon-card       { padding: 22px; }
  .ps-icon-card:hover { transform: none; box-shadow: none; }

  /* --- Timeline: VERTICAL --- */
  .ps-timeline__rail {
    left: 23px;
    right: auto;
    top: 8px;
    bottom: 8px;
    width: 2px;
    height: auto;
    transform-origin: top;
    animation-name: lg-grow;
  }
  .ps-timeline__steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .ps-tstep {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 16px;
  }
  .ps-tstep__body { padding-top: 4px; }
  .ps-tstep__h    { margin-bottom: 4px; }

  /* --- Requisitos --- */
  .ps-req__pairs { grid-template-columns: 1fr; gap: 10px; }

  /* --- Valores: 2 columnas --- */
  .ps-values { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
  .ps-values-note { margin-top: 26px; font-size: 13.5px; }

  /* --- Franja CTA --- */
  .ps-cta__inner  { padding: 44px var(--lt-gutter); }
  .ps-cta__h      { font-size: 24px; }
  .ps-cta__p      { font-size: 14px; }
  .ps-cta__actions { flex-direction: column; }
  .ps-cta__actions .lt-btn { width: 100%; }
}


/* ==========================================================================
   17. RETIRADA DE FICHA (/retirar-ficha/)
   --------------------------------------------------------------------------
   Página de ejercicio del derecho de oposición (RGPD art. 21). Quien llega
   aquí suele estar molesto por aparecer sin haberlo pedido: el objetivo es que
   resuelva en un minuto, no que admire la página. De ahí el hero corto, el
   formulario nada más entrar y el acompañamiento a la derecha en vez de arriba.
   ========================================================================== */

/* Hero más bajo que el de las otras estáticas: aquí la acción está debajo y
   no puede quedar fuera de pantalla en un portátil de 768 px de alto. */
.lt-hero--removal .lt-hero__inner { max-width: 760px; padding: 56px var(--lt-gutter) 52px var(--lt-gutter); }
.lt-hero--removal .lt-hero__h1    { font-size: 40px; line-height: 1.12; }

/* lt-section--first mete 96 px de padding superior, que es lo correcto cuando
   debajo viene un encabezado de sección. Aquí debajo viene LA acción de la
   página: 96 px de vacío la empujaban fuera del primer golpe de vista. */
.ps-rm-section { padding-top: 44px; }

/* Layout: formulario (principal) + acompañamiento. Proporción propia en vez de
   lt-grid--2 al 50/50: el formulario es la tarea y debe pesar más. */
.ps-rm-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 28px;
  align-items: start;
}

/* --- Formulario --- */
.ps-rm-form {
  background: var(--lt-surface);
  border: 1px solid var(--lt-border);
  border-radius: var(--lt-r-xl);
  padding: 30px;
}
.ps-rm-form__h {
  margin: 0 0 6px;
  font-family: var(--lt-font-head);
  font-size: 20px;
  font-weight: 600;
  color: var(--lt-ink);
}
.ps-rm-form__sub {
  margin: 0 0 22px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--lt-text-muted);
}
.ps-rm-field { margin-bottom: 18px; }
.ps-rm-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.ps-rm-label {
  display: block;
  margin-bottom: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--lt-ink);
}
.ps-rm-label__req { color: var(--lt-primary); margin-left: 2px; }
.ps-rm-label__opt {
  margin-left: 6px;
  font-weight: 400;
  font-size: 12.5px;
  color: var(--lt-text-muted);
}

/* 16px y 46px de alto a propósito, pisando .lt-input:
   - por debajo de 16px iOS hace zoom automático al enfocar y descoloca la página
   - 44px es el mínimo táctil (Apple HIG) */
.ps-rm-input {
  width: 100%;
  box-sizing: border-box;
  min-height: 46px;
  padding: 12px 14px;
  background: var(--lt-canvas);
  border: 1px solid var(--lt-border);
  border-radius: var(--lt-r-ctl);
  font-family: var(--lt-font-body);
  font-size: 16px;
  line-height: 1.45;
  color: var(--lt-ink);
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.ps-rm-input::placeholder { color: #9AA1AC; }
.ps-rm-input:hover { border-color: #D6CFC4; }
.ps-rm-input:focus-visible,
.ps-rm-input:focus {
  border-color: var(--lt-primary);
  /* Anillo propio: el foco tiene que verse sin depender del outline del SO */
  box-shadow: 0 0 0 3px rgba(201, 79, 79, .16);
}
textarea.ps-rm-input {
  min-height: 132px;
  resize: vertical;
}
.ps-rm-help {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--lt-text-muted);
}

/* Casilla de privacidad: el área táctil cubre toda la fila, no solo el cuadro
   de 18px (que por sí solo incumple el mínimo de 44 px). */
.ps-rm-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  /* 12px arriba/abajo para que la fila entera llegue a 44 px: el cuadro de 20 px
     por sí solo no alcanza el mínimo táctil. */
  padding: 12px 0;
  min-height: 44px;
  cursor: pointer;
}
.ps-rm-check input {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  flex-shrink: 0;
  accent-color: var(--lt-primary);
  cursor: pointer;
}
.ps-rm-check__text {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--lt-ink-soft);
}
.ps-rm-check__text a { color: var(--lt-primary); text-decoration: underline; }

.ps-rm-submit { width: 100%; min-height: 50px; margin-top: 4px; }
.ps-rm-legal {
  margin: 14px 0 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--lt-text-muted);
  text-align: center;
}

/* --- Avisos (éxito / error). El sistema no tenía componente de alerta. --- */
.ps-rm-msg {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 15px;
  border-radius: var(--lt-r-sm);
  font-size: 13.5px;
  line-height: 1.55;
  margin-bottom: 16px;
}
.ps-rm-msg svg { flex-shrink: 0; margin-top: 2px; }
.ps-rm-msg--ok {
  background: #ECF6F0;
  border: 1px solid #C9E4D5;
  color: #1F5C3D;
}
.ps-rm-msg--error {
  background: #FCEDED;
  border: 1px solid #F0D2D2;
  color: #8E2F2F;
}

/* --- Columna de acompañamiento --- */
.ps-rm-aside { display: flex; flex-direction: column; gap: 18px; }
.ps-rm-panel {
  background: var(--lt-surface);
  border: 1px solid var(--lt-border);
  border-radius: var(--lt-r-lg);
  padding: 24px;
}
.ps-rm-panel__h {
  margin: 0 0 16px;
  font-family: var(--lt-font-head);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--lt-ink);
}
.ps-rm-panel__p {
  margin: 0 0 12px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--lt-ink-soft);
}
.ps-rm-panel__p:last-child { margin-bottom: 0; }
.ps-rm-panel__p a { color: var(--lt-primary); }

/* Pasos verticales del "qué pasa después" */
.ps-rm-steps { display: flex; flex-direction: column; gap: 16px; }
.ps-rm-step { display: flex; gap: 13px; align-items: flex-start; }
.ps-rm-step__num {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--lt-primary);
  color: #FFFFFF;
  font-family: var(--lt-font-head);
  font-size: 12.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ps-rm-step__h {
  margin: 0 0 3px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--lt-ink);
}
.ps-rm-step__p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--lt-text-muted);
}

/* Franja de garantía bajo el hero */
.ps-rm-assurances {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin-top: 22px;
}
.ps-rm-assurance {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: rgba(255, 255, 255, .82);
}
.ps-rm-assurance svg { flex-shrink: 0; }

@media (max-width: 900px) {
  .ps-rm-layout { grid-template-columns: 1fr; gap: 22px; }
}

@media (max-width: 768px) {
  .ps-rm-section { padding-top: 30px; }
  .lt-hero--removal .lt-hero__inner { padding: 40px var(--lt-gutter) 36px var(--lt-gutter); }
  .lt-hero--removal .lt-hero__h1    { font-size: 28px; }

  .ps-rm-form  { padding: 22px 18px; }
  .ps-rm-panel { padding: 20px 18px; }
  /* Nombre y email a una columna: en 375 px dos campos no caben legibles */
  .ps-rm-row   { grid-template-columns: 1fr; gap: 0; }
  .ps-rm-assurances { gap: 8px 16px; }
  .ps-rm-assurance  { font-size: 12.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .ps-rm-input { transition: none; }
}
