/*
 * Landing de merchant.ddsr.pro.
 *
 * Sin framework y sin librerías de animación: el argumento de venta es que el
 * producto es rápido y sencillo, así que el home carga por debajo de 250 KB y
 * todo lo que se mueve lo mueve CSS.
 *
 * Aspecto: producto SaaS comercial. Fondo azul marino/carbón, tarjetas
 * redondeadas con borde sutil y sombra suave, rejillas amplias, jerarquía
 * tipográfica marcada y un único acento naranja. Las hojas de catálogo se
 * dibujan en CSS (papel cálido sobre fondo oscuro): son el producto.
 */

:root {
    color-scheme: dark;

    /* Superficies */
    --pl-bg: #0a1020;
    --pl-bg-2: #0d1425;
    --pl-card: #121a2e;
    --pl-card-2: #16203a;
    --pl-line: rgba(148, 163, 184, .14);
    --pl-line-2: rgba(148, 163, 184, .26);

    /* Texto */
    --pl-fg: #eef2f8;
    --pl-fg-dim: #c4cede;
    --pl-muted: #93a3b8;
    --pl-faint: #6b7c93;

    /* Acento */
    --pl-accent: #ff6b1f;
    --pl-accent-2: #ff8f4d;
    --pl-accent-ink: #1a0d03;
    --pl-accent-soft: rgba(255, 107, 31, .12);
    --pl-accent-ring: rgba(255, 107, 31, .38);

    /* Papel */
    --pl-paper: #f8f6f1;
    --pl-paper-2: #e6e9f0;
    --pl-paper-line: #d5dae4;

    --pl-ok: #4ade80;

    --pl-radius: 16px;
    --pl-radius-sm: 10px;
    --pl-plate: 1160px;
    --pl-gut: clamp(1.15rem, 4vw, 2.25rem);

    --pl-shadow-sm: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -16px rgba(0, 0, 0, .8);
    --pl-shadow-md: 0 2px 4px rgba(0, 0, 0, .3), 0 18px 40px -24px rgba(0, 0, 0, .9);
    --pl-shadow-lg: 0 30px 70px -32px rgba(0, 0, 0, .95);
}

* { box-sizing: border-box; }

.pl {
    margin: 0;
    color: var(--pl-fg);
    font: 16px/1.65 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    background-color: var(--pl-bg);
    /* Dos halos muy suaves: dan profundidad sin pesar un solo byte de imagen. */
    background-image:
        radial-gradient(900px 520px at 78% -8%, rgba(255, 107, 31, .16), transparent 60%),
        radial-gradient(760px 480px at 8% 4%, rgba(56, 122, 223, .13), transparent 62%);
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow-x: hidden;
}

.pl main > section {
    max-width: var(--pl-plate);
    margin: 0 auto;
    padding: clamp(2.5rem, 3.8vw, 3.5rem) var(--pl-gut);
    position: relative;
    /* La nav es pegajosa: sin esto un enlace #ancla deja el título debajo. */
    scroll-margin-top: 4.5rem;
}

/* ── Tipografía ─────────────────────────────────────────────────────────── */

.pl main section h2 {
    font-size: clamp(1.7rem, 3.4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.14;
    margin: 0 0 .45rem;
    text-wrap: balance;
    max-width: 22ch;
}
.pl h3 { font-size: 1.05rem; font-weight: 650; letter-spacing: -.015em; margin: 0 0 .3rem; }
:where(.pl) p { color: var(--pl-muted); margin: 0; }
.pl-sub { max-width: 44rem; color: var(--pl-fg-dim); font-size: 1.02rem; margin-top: 0; }
.pl strong { color: var(--pl-fg); font-weight: 650; }

/* Etiqueta de sección: pastilla discreta con punto de acento. */
.pl-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin: 0 0 1.1rem;
    padding: .3rem .7rem .3rem .55rem;
    border: 1px solid var(--pl-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, .03);
    color: var(--pl-fg-dim);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .01em;
}
.pl-eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--pl-accent);
    box-shadow: 0 0 0 3px var(--pl-accent-soft);
}

.pl code {
    font-family: ui-monospace, SFMono-Regular, "Cascadia Mono", Menlo, monospace;
    font-size: .88em;
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--pl-line);
    border-radius: 6px;
    padding: .14rem .42rem;
    color: var(--pl-fg-dim);
}

.pl a { color: inherit; }
.pl a:focus-visible,
.pl summary:focus-visible,
.pl input:focus-visible,
.pl select:focus-visible,
.pl button:focus-visible {
    outline: 2px solid var(--pl-accent);
    outline-offset: 3px;
    border-radius: 6px;
}

/* ── Tarjeta base ───────────────────────────────────────────────────────── */

.pl-example,
.pl-layout,
.pl-outputs article,
.pl-service,
.pl-steps__list li,
.pl-faq__item,
.pl-plans__table,
.pl-demo__frame {
    background: linear-gradient(180deg, var(--pl-card-2), var(--pl-card));
    border: 1px solid var(--pl-line);
    border-radius: var(--pl-radius);
    box-shadow: var(--pl-shadow-sm);
}

/* ── Botones ────────────────────────────────────────────────────────────── */

.pl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    border: 1px solid transparent;
    border-radius: var(--pl-radius-sm);
    padding: .8rem 1.35rem;
    font: inherit;
    font-weight: 650;
    letter-spacing: -.01em;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease,
                box-shadow .18s ease, translate .18s ease;
}
.pl-btn--primary {
    background: linear-gradient(180deg, var(--pl-accent-2), var(--pl-accent));
    color: var(--pl-accent-ink);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .28) inset, 0 12px 28px -14px rgba(255, 107, 31, .9);
}
.pl-btn--primary:hover {
    translate: 0 -1px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .3) inset, 0 18px 34px -14px rgba(255, 107, 31, 1);
}
.pl-btn--ghost {
    background: rgba(255, 255, 255, .04);
    border-color: var(--pl-line-2);
    color: var(--pl-fg);
}
.pl-btn--ghost:hover { background: rgba(255, 255, 255, .08); border-color: var(--pl-accent-ring); translate: 0 -1px; }
.pl-btn:active { translate: 0 1px; }

/* ── Navegación ─────────────────────────────────────────────────────────── */

.pl-nav {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .75rem max(var(--pl-gut), calc(50% - var(--pl-plate) / 2));
    background: color-mix(in srgb, var(--pl-bg) 78%, transparent);
    backdrop-filter: blur(14px) saturate(150%);
    border-bottom: 1px solid var(--pl-line);
}
.pl-nav__brand {
    display: inline-flex;
    align-items: center;
    padding: .4rem .7rem;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 8px 20px -14px rgba(0, 0, 0, .9);
    text-decoration: none;
    transition: box-shadow .18s ease, translate .18s ease;
}
.pl-nav__brand img { display: block; height: 26px; width: auto; }
.pl-nav__brand:hover { translate: 0 -1px; box-shadow: 0 8px 24px -12px rgba(255, 107, 31, .6); }
.pl-nav__links { display: flex; gap: .35rem; }
.pl-nav__links a {
    color: var(--pl-muted);
    text-decoration: none;
    font-size: .93rem;
    font-weight: 550;
    padding: .45rem .75rem;
    border-radius: 8px;
    transition: color .18s ease, background-color .18s ease;
}
.pl-nav__links a:hover { color: var(--pl-fg); background: rgba(255, 255, 255, .06); }
@media (max-width: 820px) { .pl-nav__links { display: none; } }

/* Barra de avance de lectura: informa la posición, la mueve el scroll. */
@supports (animation-timeline: scroll()) {
    .pl-nav::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -1px;
        width: 100%;
        height: 2px;
        background: linear-gradient(90deg, var(--pl-accent), var(--pl-accent-2));
        transform-origin: left center;
        scale: 0 1;
        animation: pl-progress linear both;
        animation-timeline: scroll(root block);
    }
    @keyframes pl-progress { to { scale: 1 1; } }
}

/* ── Hero ───────────────────────────────────────────────────────────────── */

.pl-hero {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
    padding-top: clamp(2.5rem, 5vw, 4rem) !important;
    padding-bottom: clamp(3rem, 6vw, 5rem) !important;
}
@media (max-width: 940px) { .pl-hero { grid-template-columns: 1fr; } }

.pl-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin: 0 0 1.4rem;
    padding: .35rem .85rem .35rem .45rem;
    border: 1px solid var(--pl-accent-ring);
    border-radius: 999px;
    background: var(--pl-accent-soft);
    color: var(--pl-fg);
    font-size: .82rem;
    font-weight: 600;
}
.pl-hero__badge b {
    padding: .1rem .45rem;
    border-radius: 999px;
    background: var(--pl-accent);
    color: var(--pl-accent-ink);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .01em;
}

.pl-hero h1 {
    font-size: clamp(2.6rem, 6vw, 4.2rem);
    line-height: 1.03;
    letter-spacing: -.04em;
    font-weight: 700;
    margin: 0 0 .85rem;
    text-wrap: balance;
}
.pl-hero__for { font-size: 1.15rem; color: var(--pl-fg-dim); margin: 0 0 1rem; font-weight: 550; }
.pl-hero__lead { font-size: 1.1rem; max-width: 34rem; color: var(--pl-fg-dim); line-height: 1.6; }
.pl-hero__cta { display: flex; gap: .75rem; flex-wrap: wrap; margin: 1.8rem 0 1rem; }
.pl-hero__note { font-size: .9rem; color: var(--pl-faint); }

/* Cifras reales del archivo con el que se construyó el producto. */
.pl-hero__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 2.2rem 0 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--pl-line);
    max-width: 34rem;
}
.pl-hero__stats li { padding: 1.1rem 1.2rem 0 0; }
.pl-hero__stats li + li { border-left: 1px solid var(--pl-line); padding-left: 1.2rem; }
.pl-hero__stats b {
    display: block;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -.03em;
    color: var(--pl-fg);
    font-variant-numeric: tabular-nums;
}
.pl-hero__stats span { font-size: .82rem; color: var(--pl-faint); }

/* Rubro rotativo, solo con CSS: sin JavaScript para un adorno. */
.pl-rotator { display: inline-grid; vertical-align: bottom; font-weight: 700; }
.pl-rotator span {
    grid-area: 1 / 1;
    opacity: 0;
    color: var(--pl-accent);
    animation: pl-rot 12.5s infinite;
}
.pl-rotator span:nth-child(2) { animation-delay: 2.5s; }
.pl-rotator span:nth-child(3) { animation-delay: 5s; }
.pl-rotator span:nth-child(4) { animation-delay: 7.5s; }
.pl-rotator span:nth-child(5) { animation-delay: 10s; }
@keyframes pl-rot {
    0%, 19% { opacity: 1; translate: 0 0; }
    23%, 100% { opacity: 0; translate: 0 -.35em; }
}

/* Miniatura del editor dibujada con CSS: pesa cero y no se queda
   desactualizada como una captura de pantalla. */
.pl-hero__shot { position: relative; }
.pl-hero__shot::before {
    content: "";
    position: absolute;
    inset: 8% -6% -14% -6%;
    background: radial-gradient(60% 60% at 50% 50%, rgba(255, 107, 31, .25), transparent 70%);
    filter: blur(18px);
    z-index: -1;
}

.pl-shot {
    background: linear-gradient(180deg, var(--pl-card-2), var(--pl-card));
    border: 1px solid var(--pl-line-2);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--pl-shadow-lg);
}
.pl-shot__bar {
    display: flex;
    align-items: center;
    gap: .4rem;
    padding: .7rem .9rem;
    background: rgba(255, 255, 255, .03);
    border-bottom: 1px solid var(--pl-line);
}
.pl-shot__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(148, 163, 184, .3); }
.pl-shot__bar i:first-child { background: var(--pl-accent); }
.pl-shot__bar::after {
    content: "editor de catálogo";
    margin-left: .6rem;
    padding: .2rem .6rem;
    border: 1px solid var(--pl-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, .03);
    color: var(--pl-faint);
    font-size: .68rem;
    letter-spacing: .02em;
}

.pl-shot__body { display: grid; grid-template-columns: 54px 1fr 74px; gap: .7rem; padding: .85rem; }
.pl-shot__side, .pl-shot__lib { display: grid; gap: .4rem; align-content: start; }
.pl-shot__side span, .pl-shot__lib span {
    height: 26px;
    border-radius: 7px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--pl-line);
}
.pl-shot__side span.is-on {
    background: var(--pl-accent-soft);
    border-color: var(--pl-accent-ring);
    box-shadow: inset 2px 0 0 var(--pl-accent);
}
.pl-shot__sheet {
    background: var(--pl-paper);
    border-radius: 8px;
    padding: .6rem;
    display: grid;
    grid-template-rows: auto 1fr;
    gap: .5rem;
    aspect-ratio: 210 / 297;
    box-shadow: 0 10px 26px -12px rgba(0, 0, 0, .8);
}
.pl-shot__head {
    height: 13px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--pl-accent), var(--pl-accent-2));
    transform-origin: left center;
}
.pl-shot__grid { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: .5rem; }
.pl-shot__grid div {
    border-radius: 6px;
    background: var(--pl-paper-2);
    border: 1px solid var(--pl-paper-line);
}

/* Un solo momento de movimiento no pedido: al cargar, la hoja se compone sola.
   Es literalmente lo que hace el producto. */
@media (prefers-reduced-motion: no-preference) {
    .pl-shot__head { animation: pl-compose-rule .7s .25s both cubic-bezier(.2, .8, .2, 1); }
    .pl-shot__grid div { animation: pl-compose-cell .5s both ease-out; }
    .pl-shot__grid div:nth-child(1) { animation-delay: .6s; }
    .pl-shot__grid div:nth-child(2) { animation-delay: .72s; }
    .pl-shot__grid div:nth-child(3) { animation-delay: .84s; }
    .pl-shot__grid div:nth-child(4) { animation-delay: .96s; }

    @keyframes pl-compose-rule { from { scale: 0 1; } }
    @keyframes pl-compose-cell { from { opacity: 0; translate: 0 8px; } }
}

/* ── Ejemplos ───────────────────────────────────────────────────────────── */

.pl-examples__list {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}
.pl-example {
    padding: 1rem;
    transition: translate .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.pl-example strong { display: block; margin-top: 1rem; font-size: .98rem; }
.pl-example em {
    display: block;
    margin-top: .1rem;
    color: var(--pl-muted);
    font-style: normal;
    font-size: .85rem;
}
/* Miniatura de una página real: misma rejilla que el visor, a escala. */
.pl-mini {
    position: relative;
    aspect-ratio: 210 / 297;
    background: var(--pl-paper);
    color: #1e2633;
    border-radius: 10px;
    padding: 6%;
    display: grid;
    grid-template-columns: repeat(var(--cols, 12), 1fr);
    grid-template-rows: repeat(var(--rows, 16), 1fr);
    gap: 2px;
    box-shadow: 0 12px 26px -16px rgba(0, 0, 0, .9);
    overflow: hidden;
}
.pl-example__img { display: block; width: 100%; height: auto; padding: 0; object-fit: cover; background: #fff; }
.pl-mini__head {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    border-bottom: 1.5px solid var(--pl-accent);
    font-size: clamp(7px, 1.1vw, 10px);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1;
    text-transform: uppercase;
    overflow: hidden;
    white-space: nowrap;
}
.pl-mini__group {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 3px;
    border: 1px solid #dbe0ea;
    border-radius: 3px;
    background: #fff;
    overflow: hidden;
}
.pl-mini__name {
    font-size: clamp(5px, .72vw, 7px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.01em;
    /* Dos líneas y a otra cosa: a este tamaño un nombre largo se come el hueco. */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.pl-mini__rows { display: grid; gap: 2px; margin-top: auto; }
.pl-mini__rows i { height: 2px; border-radius: 1px; background: #dde2ec; }
.pl-mini__rows i:first-child { background: #c3cbdb; }
.pl-mini__img { background: #dde2ec; border-radius: 3px; }
.pl-mini__qr { background: #1e2633; border-radius: 2px; }
.pl-mini__band { background: linear-gradient(135deg, var(--pl-accent), var(--pl-accent-2)); border-radius: 3px; }
.pl-mini__bar { align-self: center; height: 2px; background: #cfd6e3; border-radius: 1px; }

/* En una columna la hoja se comía la pantalla: se acota y se centra. */
@media (max-width: 560px) {
    .pl-mini { max-width: 280px; margin: 0 auto; }
    .pl-example strong, .pl-example em { text-align: center; }
    .pl-example strong { text-align: center; }
}

/* ── Salidas y servicios ────────────────────────────────────────────────── */

.pl-outputs__grid,
.pl-services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}
.pl-outputs article,
.pl-service {
    padding: 1.5rem 1.4rem;
    transition: translate .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.pl-outputs article p,
.pl-service p { font-size: .94rem; }
@media (hover: hover) {
    .pl-outputs article:hover,
    .pl-service:hover { translate: 0 -4px; border-color: var(--pl-line-2); box-shadow: var(--pl-shadow-md); }
}

/* Icono en pastilla cuadrada: el gesto que hace que una rejilla parezca
   producto y no una lista con iconos sueltos. */
.pl-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 1rem;
    border: 1px solid var(--pl-accent-ring);
    border-radius: 12px;
    background: var(--pl-accent-soft);
    color: var(--pl-accent);
    font-size: 1.15rem;
    line-height: 1;
}

.pl-services__not {
    margin-top: 2.5rem;
    padding: 1.15rem 1.3rem;
    border: 1px solid var(--pl-accent-ring);
    border-radius: var(--pl-radius);
    background: var(--pl-accent-soft);
    color: var(--pl-fg-dim);
    font-size: .96rem;
}

/* ── Plantillas ─────────────────────────────────────────────────────────── */

.pl-layouts__list {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}
.pl-layout {
    padding: .85rem;
    transition: translate .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.pl-layout strong { display: block; margin-top: .85rem; font-size: .92rem; }
.pl-layout em {
    color: var(--pl-muted);
    font-style: normal;
    font-size: .8rem;
    font-variant-numeric: tabular-nums;
}
.pl-layout__mini {
    aspect-ratio: 210 / 297;
    background: var(--pl-paper);
    border-radius: 8px;
    padding: .4rem;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(16, 1fr);
    gap: 2px;
    box-shadow: 0 12px 26px -16px rgba(0, 0, 0, .9);
}
.pl-layout__img { display: block; width: 100%; height: auto; padding: 0; object-fit: cover; }
@media (hover: hover) {
    .pl-layout:hover { translate: 0 -4px; border-color: var(--pl-line-2); box-shadow: var(--pl-shadow-md); }
}
.pl-layout__slot { background: var(--pl-paper-2); border-radius: 2px; }
.pl-layout__slot--product { background: #d9e0ee; }
.pl-layout__slot--image { background: #cfd7e6; }
.pl-layout__slot--text, .pl-layout__slot--category-header { background: #bcc6d8; }
.pl-layout__slot--qr { background: #2c3a52; }

/* ── Demo ───────────────────────────────────────────────────────────────── */

.pl-demo__frame {
    margin-top: 2rem;
    padding: 0;
    overflow: hidden;
    box-shadow: var(--pl-shadow-lg);
}
/* Barra tipo navegador: deja claro que lo de abajo es el producto en vivo. */
.pl-demo__frame::before {
    content: "catálogo de muestra";
    display: block;
    padding: .75rem 1rem;
    border-bottom: 1px solid var(--pl-line);
    background: rgba(255, 255, 255, .03);
    color: var(--pl-faint);
    font-size: .78rem;
    letter-spacing: .02em;
}
.pl-demo__frame iframe { width: 100%; border: 0; display: block; background: #fff; }
.pl-demo__code {
    display: grid;
    gap: .6rem;
    margin-top: 1.2rem;
    font-size: .86rem;
    color: var(--pl-faint);
}
.pl-demo__code code {
    display: block;
    padding: .9rem 1rem;
    border-radius: var(--pl-radius-sm);
    background: rgba(0, 0, 0, .35);
    border-color: var(--pl-line);
    color: var(--pl-fg-dim);
    font-size: .8rem;
    line-height: 1.7;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

/* ── Pasos ──────────────────────────────────────────────────────────────── */

.pl-steps__list {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.25rem;
}
.pl-steps__list li { padding: 1.6rem 1.4rem; }
.pl-steps__n {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 1rem;
    border-radius: 12px;
    background: linear-gradient(180deg, var(--pl-accent-2), var(--pl-accent));
    color: var(--pl-accent-ink);
    font-weight: 700;
    font-size: 1.02rem;
    box-shadow: 0 10px 22px -12px rgba(255, 107, 31, .95);
}
.pl-steps__list p { font-size: .94rem; }
.pl-steps__proof {
    margin-top: 2.5rem;
    padding: 1.15rem 1.3rem;
    border: 1px solid var(--pl-line);
    border-radius: var(--pl-radius);
    background: rgba(255, 255, 255, .03);
    color: var(--pl-fg-dim);
    font-variant-numeric: tabular-nums;
}

/* ── Planes ─────────────────────────────────────────────────────────────── */

.pl-plans__table {
    margin-top: 2rem;
    overflow: hidden;
    font-variant-numeric: tabular-nums;
}
.pl-plans__row {
    display: grid;
    grid-template-columns: 2fr repeat(3, minmax(5rem, 1fr));
    border-top: 1px solid var(--pl-line);
}
.pl-plans__row:first-child { border-top: 0; }
.pl-plans__row span { padding: .85rem 1rem; font-size: .94rem; display: flex; align-items: center; }
.pl-plans__row span:first-child { color: var(--pl-fg-dim); }
.pl-plans__row--head { background: rgba(255, 255, 255, .04); font-weight: 700; }
.pl-plans__row--head span { color: var(--pl-fg); letter-spacing: -.01em; }
.pl-plans__row--head span:last-child { flex-direction: column; gap: .15rem; }
.pl-plans__row--head small {
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .02em;
    color: var(--pl-accent-2);
}
.pl-plans__row--head span:not(:first-child),
.pl-plans__row span.is-yes,
.pl-plans__row span.is-no { justify-content: center; }
/* Columna destacada: el plan completo, señalado sin gritar. */
.pl-plans__row span:last-child { background: var(--pl-accent-soft); }
.pl-plans__row--head span:last-child { color: var(--pl-accent-2); }
.pl-plans__row span.is-yes { color: var(--pl-accent); font-size: 1rem; }
.pl-plans__row span.is-no { color: #44586f; }
@media (hover: hover) {
    .pl-plans__row:not(.pl-plans__row--head):hover { background: rgba(255, 255, 255, .02); }
}
.pl-plans__cta { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }

/* ── FAQ ────────────────────────────────────────────────────────────────── */

.pl-faq__item {
    margin-top: .85rem;
    overflow: hidden;
    transition: border-color .2s ease;
}
.pl-faq__item:first-of-type { margin-top: 2rem; }
.pl-faq__item[open] { border-color: var(--pl-line-2); }
@media (hover: hover) {
    .pl-faq__item:hover { border-color: var(--pl-line-2); }
    .pl-faq__item summary:hover::after { border-color: var(--pl-accent-ring); background: var(--pl-accent-soft); }
}
.pl-faq__item summary {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.3rem;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    color: var(--pl-fg);
}
.pl-faq__item summary::-webkit-details-marker { display: none; }
.pl-faq__item summary::after {
    content: "+";
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    flex: none;
    border: 1px solid var(--pl-line-2);
    border-radius: 8px;
    color: var(--pl-accent);
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1;
}
.pl-faq__item[open] summary::after {
    content: "−";
    background: var(--pl-accent-soft);
    border-color: var(--pl-accent-ring);
}
.pl-faq__item p { padding: 0 3.6rem 1.25rem 1.3rem; margin: 0; max-width: 60rem; }

/* ── Solicitud ──────────────────────────────────────────────────────────── */

.pl-request {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: start;
}
@media (max-width: 900px) { .pl-request { grid-template-columns: 1fr; } }
.pl-request__intro { padding-top: .2rem; }
.pl-request__steps {
    margin: 1.4rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: .75rem;
    color: var(--pl-fg-dim);
    font-size: .95rem;
}
.pl-request__steps li { display: flex; gap: .7rem; align-items: flex-start; }
.pl-request__steps li::before {
    content: "";
    flex: none;
    width: 7px;
    height: 7px;
    margin-top: .55rem;
    border-radius: 2px;
    background: var(--pl-accent);
}
.pl-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem;
    margin-top: 0;
    padding: clamp(1.4rem, 3vw, 2.2rem);
    width: 100%;
    background: linear-gradient(180deg, var(--pl-card-2), var(--pl-card));
    border: 1px solid var(--pl-line);
    border-radius: var(--pl-radius);
    box-shadow: var(--pl-shadow-md);
}
@media (max-width: 680px) { .pl-form { grid-template-columns: 1fr; } }
.pl-form label { display: grid; gap: .4rem; font-size: .86rem; color: var(--pl-muted); font-weight: 550; }
.pl-form input,
.pl-form select {
    color-scheme: dark;
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--pl-line-2);
    color: var(--pl-fg);
    border-radius: var(--pl-radius-sm);
    padding: .7rem .85rem;
    font: inherit;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.pl-form option {
    background-color: var(--pl-card);
    color: var(--pl-fg);
}
.pl-form input:hover,
.pl-form select:hover { background: rgba(255, 255, 255, .06); }
.pl-form input:focus,
.pl-form select:focus {
    outline: 0;
    border-color: var(--pl-accent-ring);
    box-shadow: 0 0 0 3px var(--pl-accent-soft);
    background: rgba(255, 255, 255, .06);
}
.pl-form input:focus-visible,
.pl-form select:focus-visible { outline: 0; }
.pl-form button { grid-column: 1 / -1; justify-self: start; margin-top: .3rem; }
.pl-form__trap { position: absolute; left: -9999px; }
.pl-request__ok,
.pl-request__error {
    grid-column: 1 / -1;
    margin: 0;
    padding: .7rem .9rem;
    border-radius: var(--pl-radius-sm);
    border: 1px solid var(--pl-line-2);
    background: rgba(255, 255, 255, .04);
    font-size: .92rem;
}
.pl-request__ok { color: var(--pl-ok); }
.pl-request__error { color: #fca5a5; }

/* ── Pie ────────────────────────────────────────────────────────────────── */

.pl-foot {
    border-top: 1px solid var(--pl-line);
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .35));
    margin-top: 2rem;
}
.pl-foot__cols {
    max-width: var(--pl-plate);
    margin: 0 auto;
    padding: 3.5rem var(--pl-gut) 2.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
}
.pl-foot__cols div { display: grid; gap: .6rem; align-content: start; }
.pl-foot__cols strong { font-size: .92rem; letter-spacing: -.01em; }
.pl-foot__cols a {
    color: var(--pl-muted);
    text-decoration: none;
    font-size: .9rem;
    justify-self: start;
    transition: color .18s ease;
}
.pl-foot__cols a:hover { color: var(--pl-accent-2); }
.pl-foot__legal {
    max-width: var(--pl-plate);
    margin: 0 auto;
    padding: 1.3rem var(--pl-gut) 2.2rem;
    border-top: 1px solid var(--pl-line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    color: var(--pl-faint);
    font-size: .82rem;
}
.pl-foot__legal img { opacity: .85; }

/* ── Menos movimiento ───────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
    .pl-rotator span { animation: none; opacity: 0; }
    .pl-rotator span:first-child { opacity: 1; }
    .pl *, .pl *::before, .pl *::after {
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 1ms !important;
    }
}
