/* assets/css/portada.css — Portada pública de Portal de Calidad (index.php), rediseño nov-2026.
   Marca premium unificada con el producto: marino + oro. Tipografía Plus Jakarta Sans.
   Todo vive dentro de .pt para no chocar con estilos.css (que repinta los enlaces de .contenido). */

.pt {
    --pt-marino: #0b1f3a; --pt-marino-2: #13386b; --pt-azul: #1e5aa8; --pt-azul-claro: #7cb0f5;
    --pt-oro: #e3c463; --pt-oro-2: #c9a23a; --pt-tinta: #0f172a; --pt-tenue: #5b6b82;
    --pt-borde: #e5eaf2; --pt-fondo: #f6f8fb; --pt-sup: #ffffff; --pt-verde: #16a34a;
    --pt-sombra: 0 1px 2px rgba(15, 23, 42, .05), 0 12px 32px rgba(15, 23, 42, .08);
    --pt-radio: 18px;
    font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: var(--pt-tinta); background: var(--pt-sup); line-height: 1.55; -webkit-font-smoothing: antialiased;
}
.pt *, .pt *::before, .pt *::after { box-sizing: border-box; }
.pt img { max-width: 100%; display: block; }
.contenido .pt a { color: inherit; text-decoration: none; }
.pt h1, .pt h2, .pt h3 { font-family: inherit; letter-spacing: -.02em; color: inherit; border: 0; padding: 0; }
.pt-ancho { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.pt :focus-visible { outline: 3px solid var(--pt-oro); outline-offset: 3px; border-radius: 8px; }

/* El sitio interno esconde su encabezado y pie en la portada */
body:has(.pt) .encabezado, body:has(.pt) .nav-principal, body:has(.pt) .pie { display: none; }
body:has(.pt) .contenido { max-width: none; padding: 0; margin: 0; }
body:has(.pt) { background: #fff; }

/* ---------- Botones ---------- */
.contenido .pt a.pt-btn, .pt .pt-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border-radius: 999px;
    padding: .78rem 1.35rem; font-weight: 700; font-size: .95rem; line-height: 1.2; font-family: inherit; border: 1.5px solid transparent; cursor: pointer;
    transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.contenido .pt a.pt-btn:hover, .pt .pt-btn:hover { transform: translateY(-2px); }
.contenido .pt a.pt-btn--oro, .pt .pt-btn--oro { background: linear-gradient(135deg, #f6dc8b, var(--pt-oro-2)); color: #1b1405;
    box-shadow: 0 10px 24px rgba(201, 162, 58, .35); }
.contenido .pt a.pt-btn--marino, .pt .pt-btn--marino { background: var(--pt-marino); color: #fff; }
.contenido .pt a.pt-btn--claro, .pt .pt-btn--claro { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .28); }
.contenido .pt a.pt-btn--borde, .pt .pt-btn--borde { background: #fff; color: var(--pt-marino); border-color: var(--pt-borde); }
.contenido .pt a.pt-btn--wa, .pt .pt-btn--wa { background: #16a34a; color: #fff; }
.pt .pt-btn--grande { padding: .9rem 1.35rem; font-size: 1rem; }

/* ---------- Barra de navegación fija ---------- */
.pt-nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.pt-nav.is-scroll { border-bottom-color: var(--pt-borde); box-shadow: 0 6px 20px rgba(15, 23, 42, .06); }
.pt-nav__fila { display: flex; align-items: center; gap: 1.2rem; height: 70px; }
.pt-nav__logo img { height: 40px; width: auto; }
.pt-nav__links { display: flex; gap: .3rem; margin: 0 auto; list-style: none; padding: 0; }
.contenido .pt a.pt-nav__link { padding: .5rem .8rem; border-radius: 10px; font-weight: 600; font-size: .92rem; color: #334155; }
.contenido .pt a.pt-nav__link:hover { background: var(--pt-fondo); color: var(--pt-marino); }
.pt-nav__acciones { display: flex; gap: .5rem; align-items: center; }
.pt .pt-nav__entrar { padding: .6rem 1.1rem; }
.pt .pt-nav__diag { padding: .6rem 1.1rem; }
.pt-nav__menu { display: none; background: none; border: 1px solid var(--pt-borde); border-radius: 10px; width: 42px; height: 42px; font-size: 1.3rem; cursor: pointer; color: var(--pt-marino); }

/* ---------- Héroe ---------- */
.pt-hero { position: relative; overflow: hidden; color: #fff; padding: 4.5rem 0 5.5rem;
    background:
        radial-gradient(900px 480px at 85% -10%, rgba(227, 196, 99, .22), transparent 60%),
        radial-gradient(800px 520px at -10% 110%, rgba(56, 132, 230, .38), transparent 60%),
        linear-gradient(160deg, #081a33 0%, var(--pt-marino) 40%, #12325f 100%); }
.pt-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 48px 48px; mask-image: radial-gradient(70% 70% at 60% 40%, #000 20%, transparent 100%);
    -webkit-mask-image: radial-gradient(70% 70% at 60% 40%, #000 20%, transparent 100%); }
.pt-hero__rejilla { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 3rem; align-items: center; }
.pt-insignia { display: inline-flex; align-items: center; gap: .5rem; padding: .38rem .85rem .38rem .45rem; border-radius: 999px;
    background: rgba(227, 196, 99, .12); border: 1px solid rgba(227, 196, 99, .45); color: #f6dc8b; font-size: .82rem; font-weight: 700; }
.pt-insignia b { background: var(--pt-oro); color: #1b1405; border-radius: 999px; padding: .1rem .55rem; font-size: .72rem; letter-spacing: .04em; }
.pt-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.55rem); line-height: 1.07; font-weight: 800; margin: 1.1rem 0 1rem; color: #fff; }
.pt-hero h1 em { font-style: normal; color: #f2cf6b; }
.pt-hero__sub { font-size: 1.12rem; color: rgba(255, 255, 255, .78); max-width: 34rem; margin: 0 0 1.8rem; }
.pt-hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; }
.pt-hero__confianza { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin-top: 1.6rem; padding: 0; list-style: none; font-size: .88rem; color: rgba(255, 255, 255, .72); }
.pt-hero__confianza i { color: var(--pt-oro); margin-right: .35rem; }

/* Maqueta: laptop + celular con capturas reales */
.pt-maqueta { position: relative; padding: 0 0 2.5rem 0; }
.pt-laptop { position: relative; border-radius: 16px 16px 6px 6px; background: #1b2436; padding: 12px 12px 14px; box-shadow: 0 40px 80px rgba(0, 0, 0, .45);
    border: 1px solid rgba(255, 255, 255, .12); transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; }
.pt-laptop::before { content: ""; position: absolute; top: 5px; left: 50%; width: 5px; height: 5px; border-radius: 50%; background: #3b4760; transform: translateX(-50%); }
.pt-laptop img { border-radius: 6px; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; width: 100%; }
.pt-laptop__base { height: 14px; margin: 0 -4%; border-radius: 0 0 14px 14px; background: linear-gradient(#c3cad6, #8c96a8); }
.pt-telefono { position: absolute; right: -2%; bottom: -1.5rem; width: 27%; min-width: 130px; border-radius: 28px; padding: 8px; background: #0b1220;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .5), inset 0 0 0 2px #2a3550; }
.pt-telefono img { border-radius: 21px; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; }
.pt-flotante { position: absolute; display: flex; align-items: center; gap: .6rem; padding: .6rem .85rem; border-radius: 14px; background: rgba(255, 255, 255, .96);
    color: var(--pt-tinta); box-shadow: 0 18px 40px rgba(0, 0, 0, .3); font-size: .8rem; font-weight: 600; }
.pt-flotante b { display: block; font-size: 1.05rem; }
.pt-flotante i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-size: 1rem; }
.pt-flotante--1 { left: -5%; top: -6%; } .pt-flotante--1 i { background: var(--pt-verde); }
.pt-flotante--2 { left: 8%; bottom: 4%; } .pt-flotante--2 i { background: var(--pt-oro-2); }
/* Sellos de funciones sobre la maqueta del héroe (App móvil, Auditorías, Reloj checador, NOM-035, KPIs) */
.pt-sellos { position: absolute; left: -7%; top: 6%; z-index: 2; margin: 0; padding: .55rem; list-style: none; display: grid; gap: .3rem;
    border-radius: 16px; background: rgba(255, 255, 255, .97); color: var(--pt-tinta); box-shadow: 0 22px 48px rgba(0, 0, 0, .32);
    animation: pt-sellos-entra .7s .3s both cubic-bezier(.2, .9, .3, 1.2); }
.pt-sellos li { display: flex; align-items: center; gap: .55rem; padding: .3rem .7rem .3rem .3rem; border-radius: 10px; font-size: .86rem; font-weight: 700; white-space: nowrap; }
.pt-sellos li + li { border-top: 1px solid rgba(15, 23, 42, .06); border-radius: 0 0 10px 10px; }
.pt-sellos i { width: 30px; height: 30px; flex: none; border-radius: 9px; display: grid; place-items: center; color: #fff; font-size: .95rem; background: var(--c); }
@keyframes pt-sellos-entra { from { opacity: 0; transform: translateX(-14px); } }
@media (prefers-reduced-motion: reduce) { .pt-sellos { animation: none; } }

/* ---------- Clientes ---------- */
.pt-clientes { padding: 2.6rem 0; border-bottom: 1px solid var(--pt-borde); }
.pt-clientes p { text-align: center; margin: 0 0 1.4rem; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--pt-tenue); }
.pt-clientes__logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.2rem 3.5rem; }
.pt-cliente { height: 76px; display: grid; place-items: center; filter: saturate(.85); opacity: .9; transition: filter .25s, opacity .25s, transform .25s; }
.pt-cliente:hover { filter: none; opacity: 1; transform: scale(1.04); }
.pt-cliente img { max-height: 76px; max-width: 200px; width: auto; object-fit: contain; }
.pt-cliente--texto { font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; color: var(--pt-marino); text-align: center; line-height: 1.1; }
.pt-cliente--texto small { display: block; font-size: .62rem; letter-spacing: .25em; font-weight: 700; color: var(--pt-tenue); }

/* ---------- Secciones genéricas ---------- */
.pt-sec { padding: 5.5rem 0; }
.pt-sec--gris { background: var(--pt-fondo); }
.pt-cabeza { max-width: 44rem; margin: 0 auto 3rem; text-align: center; }
.pt-eyebrow { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--pt-azul); margin-bottom: .7rem; }
.pt-cabeza h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.15; font-weight: 800; margin: 0 0 .8rem; color: var(--pt-tinta); }
.pt-cabeza p { margin: 0; color: var(--pt-tenue); font-size: 1.06rem; }

/* Cifras */
.pt-cifras { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: -3rem; position: relative; z-index: 2; }
.pt-cifra { background: #fff; border: 1px solid var(--pt-borde); border-radius: var(--pt-radio); padding: 1.3rem 1.4rem; box-shadow: var(--pt-sombra); }
.pt-cifra strong { display: block; font-size: 2.1rem; font-weight: 800; color: var(--pt-marino); line-height: 1.05; }
.pt-cifra span { color: var(--pt-tenue); font-size: .9rem; font-weight: 600; }

/* Antes / después */
.pt-contraste { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.pt-columna { border-radius: 22px; padding: 2rem; border: 1px solid var(--pt-borde); }
.pt-columna h3 { margin: 0 0 1.1rem; font-size: 1.2rem; display: flex; align-items: center; gap: .6rem; }
.pt-columna ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.pt-columna li { display: flex; gap: .7rem; align-items: flex-start; font-size: .98rem; }
.pt-columna li i { margin-top: .15rem; flex: 0 0 auto; }
.pt-columna--antes { background: #fff; } .pt-columna--antes li i, .pt-columna--antes h3 i { color: #dc2626; } .pt-columna--antes li { color: var(--pt-tenue); }
.pt-columna--despues { background: linear-gradient(160deg, var(--pt-marino), #14396d); color: #fff; border-color: transparent; box-shadow: 0 30px 60px rgba(11, 31, 58, .25); }
.pt-columna--despues li i, .pt-columna--despues h3 i { color: var(--pt-oro); }

/* Producto en acción: pestañas */
.pt-tabs__lista { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; margin: 0 auto 2.2rem; padding: .4rem; background: #fff;
    border: 1px solid var(--pt-borde); border-radius: 999px; width: fit-content; max-width: 100%; box-shadow: var(--pt-sombra); }
.pt-tab { border: 0; background: transparent; color: #334155; font-weight: 700; font-size: .9rem; font-family: inherit; padding: .62rem 1.05rem; border-radius: 999px;
    cursor: pointer; display: inline-flex; align-items: center; gap: .45rem; }
.pt-tab:hover { background: var(--pt-fondo); }
.pt-tab[aria-selected="true"] { background: var(--pt-marino); color: #fff; }
.pt-panel { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); gap: 2.5rem; align-items: center; }
.pt-panel[hidden] { display: none; }
.pt-panel h3 { font-size: 1.6rem; line-height: 1.2; margin: 0 0 .7rem; font-weight: 800; }
.pt-panel p { color: var(--pt-tenue); margin: 0 0 1.1rem; }
.pt-panel ul { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: .6rem; }
.pt-panel li { display: flex; gap: .6rem; } .pt-panel li i { color: var(--pt-verde); margin-top: .15rem; }
.pt-navegador { border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--pt-borde); box-shadow: 0 30px 70px rgba(15, 23, 42, .18); }
.pt-navegador__barra { display: flex; align-items: center; gap: .4rem; padding: .55rem .8rem; background: #eef2f7; border-bottom: 1px solid var(--pt-borde); }
.pt-navegador__barra > span:not(.pt-navegador__url) { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.pt-navegador__barra span:nth-child(1) { background: #f87171; } .pt-navegador__barra span:nth-child(2) { background: #fbbf24; } .pt-navegador__barra span:nth-child(3) { background: #34d399; }
.pt-navegador__url { margin-left: .6rem; flex: 1; background: #fff; border-radius: 8px; padding: .2rem .7rem; font-size: .75rem; color: var(--pt-tenue); }
.pt-navegador img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; width: 100%; }
.pt-panel--movil .pt-telefono { position: relative; right: auto; bottom: auto; width: min(300px, 80%); margin: 0 auto; }

/* Normas y módulos (mosaico) */
.pt-normas { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; margin-bottom: 2.6rem; }
.pt-norma { display: flex; flex-direction: column; align-items: center; padding: 1rem 1.3rem; min-width: 170px; border-radius: 16px; background: #fff;
    border: 1px solid var(--pt-borde); box-shadow: var(--pt-sombra); }
.pt-norma strong { font-size: 1.25rem; color: var(--pt-marino); font-weight: 800; }
.pt-norma span { font-size: .82rem; color: var(--pt-tenue); text-align: center; }
.pt-mosaico { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.pt-modulo { background: #fff; border: 1px solid var(--pt-borde); border-radius: var(--pt-radio); padding: 1.3rem; transition: transform .2s, box-shadow .2s; }
.pt-modulo:hover { transform: translateY(-3px); box-shadow: var(--pt-sombra); }
.pt-modulo i { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; font-size: 1.25rem; color: #fff; margin-bottom: .8rem;
    background: linear-gradient(135deg, var(--pt-marino), var(--pt-azul)); }
.pt-modulo h3 { font-size: 1.02rem; margin: 0 0 .3rem; font-weight: 800; }
.pt-modulo p { margin: 0; color: var(--pt-tenue); font-size: .9rem; }
.pt-modulo--destacado { grid-column: span 2; background: linear-gradient(160deg, var(--pt-marino), #14396d); color: #fff; border-color: transparent; }
.pt-modulo--destacado p { color: rgba(255, 255, 255, .75); }
.pt-modulo--destacado i { background: linear-gradient(135deg, #f6dc8b, var(--pt-oro-2)); color: #1b1405; }

/* Diagnóstico gratis */
.pt-diag { position: relative; overflow: hidden; color: #fff; background:
    radial-gradient(600px 300px at 100% 0%, rgba(227, 196, 99, .28), transparent 65%), linear-gradient(135deg, var(--pt-marino), #14396d); }
.pt-diag .pt-cabeza h2 { color: #fff; } .pt-diag .pt-cabeza p { color: rgba(255, 255, 255, .78); } .pt-diag .pt-eyebrow { color: var(--pt-oro); }
.pt-pasos { list-style: none; margin: 0 0 2.2rem; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; counter-reset: paso; }
.pt-pasos li { counter-increment: paso; padding: 1.4rem; border-radius: var(--pt-radio); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); }
.pt-pasos li::before { content: counter(paso); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; margin-bottom: .8rem;
    background: var(--pt-oro); color: #1b1405; font-weight: 800; }
.pt-pasos h3 { margin: 0 0 .35rem; font-size: 1.05rem; color: #fff; }
.pt-pasos p { margin: 0; color: rgba(255, 255, 255, .74); font-size: .92rem; }
.pt-centro { text-align: center; }

/* Cómo trabajamos: línea de tiempo */
.pt-linea { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; position: relative; }
.pt-linea::before { content: ""; position: absolute; top: 22px; left: 6%; right: 6%; height: 2px; background: linear-gradient(90deg, var(--pt-azul), var(--pt-oro-2)); }
.pt-linea li { position: relative; text-align: center; padding: 0 .4rem; }
.pt-linea__num { position: relative; z-index: 1; display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto .9rem; border-radius: 50%;
    background: #fff; border: 2px solid var(--pt-azul); color: var(--pt-azul); font-weight: 800; }
.pt-linea li:last-child .pt-linea__num { background: var(--pt-oro); border-color: var(--pt-oro-2); color: #1b1405; }
.pt-linea h3 { font-size: 1.05rem; margin: 0 0 .35rem; font-weight: 800; }
.pt-linea p { margin: 0; color: var(--pt-tenue); font-size: .92rem; }

/* Diferenciadores */
.pt-dif { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.pt-dif article { display: flex; gap: 1rem; padding: 1.5rem; border-radius: var(--pt-radio); background: #fff; border: 1px solid var(--pt-borde); }
.pt-dif i { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 1.3rem; color: var(--pt-oro-2);
    background: #fbf5e2; }
.pt-dif h3 { margin: 0 0 .3rem; font-size: 1.08rem; font-weight: 800; }
.pt-dif p { margin: 0; color: var(--pt-tenue); font-size: .94rem; }

/* Casos de éxito (reutiliza el contenido de casos_exito_lib) */
.pt-casos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 1.2rem; }
.pt-caso { background: #fff; border: 1px solid var(--pt-borde); border-radius: 22px; padding: 1.6rem; box-shadow: var(--pt-sombra); display: flex; flex-direction: column; gap: .6rem; }
.pt-caso__logos { display: flex; gap: 1rem; align-items: center; min-height: 48px; }
.pt-caso__logos img { max-height: 48px; width: auto; }
.pt-caso__tipo { font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--pt-azul); }
.pt-caso h3 { margin: 0; font-size: 1.15rem; font-weight: 800; }
.pt-caso__cliente { margin: 0; color: var(--pt-tenue); font-size: .9rem; font-weight: 600; }
.pt-caso__resultado { margin: 0; padding: .7rem .9rem; border-radius: 12px; background: #ecfdf3; color: #166534; font-weight: 700; font-size: .92rem; display: flex; gap: .5rem; }
.pt-caso blockquote { margin: .3rem 0 0; padding-left: 1rem; border-left: 3px solid var(--pt-oro-2); font-style: italic; color: #334155; }
.pt-caso blockquote cite { display: block; margin-top: .3rem; font-style: normal; font-weight: 700; font-size: .85rem; color: var(--pt-tenue); }
.pt-caso details summary { cursor: pointer; font-weight: 700; color: var(--pt-azul); font-size: .9rem; }
.pt-caso details p { color: var(--pt-tenue); font-size: .92rem; }
.pt-caso__enlaces { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; font-size: .88rem; }
.contenido .pt .pt-caso__enlaces a { color: var(--pt-azul); font-weight: 600; }
.pt .caso__video { position: relative; display: block; width: 100%; border: 0; padding: 0; border-radius: 14px; overflow: hidden; cursor: pointer; aspect-ratio: 16 / 9; background: #000; }
.pt .caso__video img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.pt .caso__video iframe { width: 100%; height: 100%; border: 0; }
.pt .caso__play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 2.6rem; }
.pt .caso__video-titulo { position: absolute; left: .8rem; bottom: .6rem; color: #fff; font-weight: 700; font-size: .85rem; text-shadow: 0 1px 4px rgba(0,0,0,.6); }

/* Preguntas frecuentes */
.pt-faq { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 1.2rem; align-items: start; }
.pt-faq details { background: #fff; border: 1px solid var(--pt-borde); border-radius: 16px; padding: 1rem 1.2rem; }
.pt-faq summary { cursor: pointer; list-style: none; font-weight: 700; display: flex; justify-content: space-between; gap: 1rem; }
.pt-faq summary::-webkit-details-marker { display: none; }
.pt-faq summary::after { content: "+"; color: var(--pt-oro-2); font-size: 1.4rem; line-height: 1; transition: transform .2s; }
.pt-faq details[open] summary::after { transform: rotate(45deg); }
.pt-faq p { margin: .7rem 0 0; color: var(--pt-tenue); }

/* Cierre */
.pt-cierre { text-align: center; color: #fff; padding: 5rem 0;
    background: radial-gradient(700px 320px at 50% 0%, rgba(227, 196, 99, .25), transparent 70%), linear-gradient(160deg, #081a33, var(--pt-marino)); }
.pt-cierre h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: 0 0 .8rem; color: #fff; font-weight: 800; }
.pt-cierre p { max-width: 38rem; margin: 0 auto 1.8rem; color: rgba(255, 255, 255, .78); font-size: 1.06rem; }
.pt-cierre .pt-hero__cta { justify-content: center; }

/* Pie */
.pt-pie { background: #06142a; color: rgba(255, 255, 255, .72); padding: 3.5rem 0 2rem; font-size: .92rem; }
.pt-pie__rejilla { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.pt-pie__marca { display: flex; align-items: center; gap: .7rem; color: #fff; font-weight: 800; font-size: 1.1rem; margin-bottom: .7rem; }
.pt-pie__marca img { width: 38px; height: 38px; background: #fff; border-radius: 10px; padding: 4px; }
.pt-pie h4 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 .8rem; }
.pt-pie ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.pt-pie ul i { margin-right: .4rem; }
.contenido .pt .pt-pie a:hover { color: var(--pt-oro); }
.pt-pie__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .82rem; }

/* WhatsApp flotante */
.contenido .pt a.pt-wa { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 60; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
    background: #22c55e; color: #fff; font-size: 1.7rem; box-shadow: 0 14px 30px rgba(22, 163, 74, .4); transition: transform .2s; }
.contenido .pt a.pt-wa:hover { transform: scale(1.07); }

/* ---------- Panel de inicio de sesión (se abre con «Entrar») ---------- */
.pt-velo { position: fixed; inset: 0; z-index: 90; background: rgba(6, 20, 42, .55); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .25s; }
.pt-login { position: fixed; top: 0; right: 0; bottom: 0; z-index: 100; width: min(440px, 100%); background: #fff; box-shadow: -20px 0 60px rgba(6, 20, 42, .3);
    transform: translateX(100%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); overflow-y: auto; padding: 1.4rem 1.8rem 2rem; }
.pt.login-abierto .pt-velo { opacity: 1; pointer-events: auto; }
.pt.login-abierto .pt-login { transform: none; }
.pt-login__cab { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.4rem; }
.pt-login__cab img { height: 34px; width: auto; }
.pt-login__cerrar { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--pt-borde); background: #fff; cursor: pointer; font-size: 1.1rem; color: var(--pt-tinta); }
.pt-login h2 { font-size: 1.6rem; margin: 0 0 .25rem; font-weight: 800; color: var(--pt-tinta); }
.pt-login__sub { margin: 0 0 1.4rem; color: var(--pt-tenue); }
.pt-login .idioma-cambio { margin-bottom: 1rem; }
.pt-campo { margin-bottom: 1rem; }
.pt-campo label { display: block; font-size: .85rem; font-weight: 700; margin-bottom: .35rem; color: #334155; }
.pt-campo__caja { position: relative; display: flex; align-items: center; }
.pt-campo__caja > i { position: absolute; left: .9rem; color: #94a3b8; }
.pt-campo__caja input { width: 100%; padding: .85rem .9rem .85rem 2.6rem; border-radius: 12px; border: 1.5px solid var(--pt-borde); font: inherit; font-size: 1rem; background: #fff; color: var(--pt-tinta); }
.pt-campo__caja input:focus { border-color: var(--pt-azul); outline: 3px solid rgba(30, 90, 168, .15); }
.pt-ver { position: absolute; right: .5rem; border: 0; background: none; color: #64748b; cursor: pointer; font-size: 1.1rem; padding: .3rem .5rem; }
.pt-mayus { margin: .4rem 0 0; color: #b45309; font-size: .82rem; font-weight: 600; }
.pt-recordar { display: flex; gap: .6rem; align-items: flex-start; margin: .4rem 0 1.2rem; font-size: .9rem; cursor: pointer; }
.pt-recordar input { margin-top: .25rem; accent-color: var(--pt-azul); }
.pt-recordar small { display: block; color: var(--pt-tenue); font-size: .78rem; }
.pt .pt-entrar { width: 100%; padding: .95rem; font-size: 1.02rem; border: 0; border-radius: 12px; background: linear-gradient(135deg, var(--pt-marino), var(--pt-azul)); color: #fff; }
.pt-error { display: flex; gap: .6rem; padding: .75rem .9rem; border-radius: 12px; background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; margin-bottom: 1rem; font-size: .9rem; }
.pt-login__ayuda { margin: 1rem 0 0; text-align: center; font-size: .88rem; color: var(--pt-tenue); }
.contenido .pt .pt-login__ayuda a, .contenido .pt .pt-login__otros a { color: var(--pt-azul); font-weight: 700; }
.pt-login__otros { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--pt-borde); display: grid; gap: .8rem; font-size: .88rem; color: #475569; }
.pt-login__otros p { margin: 0; display: flex; gap: .6rem; } .pt-login__otros i { color: var(--pt-azul); margin-top: .1rem; }

/* Video */
.pt-video-boton { display: inline-flex; align-items: center; gap: .55rem; }
.pt-video-dialogo { border: 0; padding: 0; border-radius: 16px; background: #000; width: min(960px, 94vw); }
.pt-video-dialogo::backdrop { background: rgba(6, 8, 31, .75); }
.pt-video-dialogo video { width: 100%; display: block; }
.pt-video-dialogo__cerrar { position: absolute; top: .6rem; right: .6rem; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0;
    background: rgba(0, 0, 0, .6); color: #fff; font-size: 1.1rem; cursor: pointer; }

/* Aparición suave al hacer scroll (respetando «reducir movimiento») */
@media (prefers-reduced-motion: no-preference) {
    .pt [data-aparece] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
    .pt [data-aparece].visible { opacity: 1; transform: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1020px) {
    .pt-hero__rejilla, .pt-panel { grid-template-columns: 1fr; }
    .pt-maqueta { max-width: 640px; margin: 1rem auto 0; }
    .pt-mosaico { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pt-pie__rejilla { grid-template-columns: 1fr 1fr; }
    .pt-cifras { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    /* Sellos: de tarjeta flotante a fila de etiquetas ARRIBA de la laptop (el teléfono no los tapa) */
    .pt-maqueta { display: flex; flex-direction: column; }
    .pt-sellos { order: -1; position: static; display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin: 0 0 1.4rem; padding: 0;
        background: none; box-shadow: none; animation: none; }
    .pt-sellos li, .pt-sellos li + li { padding: .3rem .7rem .3rem .3rem; border: 0; border-radius: 99px; background: rgba(255, 255, 255, .95); font-size: .82rem; }
    .pt-sellos i { width: 26px; height: 26px; border-radius: 50%; font-size: .8rem; }
}
@media (max-width: 860px) {
    .pt-nav__links { display: none; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; background: #fff; padding: .8rem 1.2rem 1.2rem;
        border-bottom: 1px solid var(--pt-borde); box-shadow: 0 20px 30px rgba(15, 23, 42, .08); }
    .pt-nav.menu-abierto .pt-nav__links { display: flex; }
    .pt-nav__menu { display: grid; place-items: center; }
    .contenido .pt a.pt-nav__diag { display: none; }
    .pt-nav__fila { justify-content: space-between; }
    .pt-contraste, .pt-dif, .pt-faq, .pt-pasos { grid-template-columns: 1fr; }
    .pt-linea { grid-template-columns: 1fr 1fr; row-gap: 2rem; } .pt-linea::before { display: none; }
}
@media (max-width: 560px) {
    .pt-ancho { width: calc(100% - 2rem); }
    .pt-hero { padding: 2.8rem 0 4rem; }
    .pt-sec { padding: 3.8rem 0; }
    .pt-linea, .pt-pie__rejilla { grid-template-columns: 1fr; }
    .pt-cifras { gap: .6rem; margin-top: -2.5rem; }
    .pt-cifra { padding: .9rem 1rem; } .pt-cifra strong { font-size: 1.6rem; } .pt-cifra span { font-size: .8rem; }
    .pt-mosaico { gap: .6rem; }
    .pt-modulo { padding: 1rem; } .pt-modulo h3 { font-size: .92rem; } .pt-modulo p { font-size: .8rem; }
    .pt-modulo i { width: 38px; height: 38px; font-size: 1.05rem; }
    .pt-tabs__lista { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; width: 100%; scrollbar-width: none; }
    .pt-tab { flex: 0 0 auto; }
    .pt-norma { min-width: 0; flex: 1 1 140px; padding: .8rem; }
    .pt-clientes__logos { gap: 1rem 2rem; } .pt-cliente, .pt-cliente img { max-height: 58px; height: 58px; }
    .pt-flotante--1 { left: 0; top: -1rem; } .pt-flotante--2 { display: none; }
    .pt-telefono { right: 0; width: 34%; }
    .pt-laptop { transform: none; }
    .pt-tabs__lista { border-radius: 18px; }
    .pt-nav__logo img { height: 34px; }
    .pt .pt-btn { white-space: normal; }
    .pt-hero__cta .pt-btn { width: 100%; }
}

.pt-pie a { overflow-wrap: anywhere; }
