/* Páginas de contenido (políticas, recursos, integraciones). Primero el teléfono, luego pantallas grandes. */
.pg { color: #1f2328; font-size: 17px; line-height: 1.65; }
.pg a { color: #1a1a1a; text-decoration: underline; text-underline-offset: 3px; }
.pg a:hover { color: #000; }

.pg-cabecera { background: #1a1a1a; color: #fff; padding: 110px 0 36px; }
.pg-cabecera a { color: #ffc400; }
.pg-migas { font-size: 14px; margin-bottom: 12px; display: flex; flex-wrap: wrap; gap: 6px; color: #cfcfcf; }
.pg-titulo { color: #fff; font-size: 30px; line-height: 1.2; font-weight: 800; margin: 0 0 12px; overflow-wrap: anywhere; }
.pg-bajada { color: #e6e6e6; font-size: 18px; margin: 0; max-width: 760px; }

.pg-seccion { padding: 40px 0; }
.pg-seccion--gris { background: #f5f5f3; }
.pg-seccion--oscura { background: #1a1a1a; color: #fff; }
.pg-seccion--oscura .pg-h2, .pg-seccion--oscura a { color: #fff; }
.pg-angosto { max-width: 820px; }
.pg-h2 { font-size: 24px; line-height: 1.25; font-weight: 800; margin: 32px 0 14px; color: #1a1a1a; }
.pg-seccion > .container > .pg-h2:first-child, .pg-angosto > .pg-h2:first-child { margin-top: 0; }
.pg-intro { font-size: 19px; margin-bottom: 20px; }

.pg-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 12px 20px; border-radius: 10px;
    border: 2px solid #1a1a1a; background: #fff; color: #1a1a1a !important;
    font-weight: 700; font-size: 16px; text-decoration: none !important; cursor: pointer;
}
.pg-btn--principal { background: #ffc400; border-color: #ffc400; }
.pg-btn--principal:hover { background: #e6b000; border-color: #e6b000; }
.pg-btn--texto { border-color: transparent; background: transparent; }
.pg-seccion--oscura .pg-btn--texto, .pg-cta .pg-btn--texto { color: #fff !important; }
.pg-botones-inicio { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.pg-botones-inicio .pg-btn { flex: 1 1 220px; }
.pg-enlace { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }

.pg-lista-check { list-style: none; padding: 0; margin: 0 0 8px; }
.pg-lista-check li { position: relative; padding: 6px 0 6px 32px; }
.pg-lista-check li::before { content: "✓"; position: absolute; left: 0; top: 6px; width: 22px; height: 22px; border-radius: 50%; background: #ffc400; color: #1a1a1a; font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.pg-pasos { padding-left: 22px; }
.pg-pasos li { margin-bottom: 10px; }

.pg-grilla { display: grid; grid-template-columns: 1fr; gap: 16px; }
.pg-integracion, .pg-tarjeta {
    display: flex; flex-direction: column; background: #fff; border: 1px solid #e5e5e5; border-radius: 14px;
    padding: 20px; text-decoration: none !important; color: #1f2328 !important; transition: box-shadow .2s, transform .2s;
}
.pg-integracion:hover, .pg-tarjeta:hover { box-shadow: 0 10px 30px rgba(0,0,0,.08); transform: translateY(-2px); }
.pg-integracion__icono { width: 48px; height: 48px; border-radius: 12px; background: #fff4cc; color: #1a1a1a; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 12px; }
.pg-integracion__categoria, .pg-tarjeta__etiqueta { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: #6b6b6b; margin: 0 0 4px; font-weight: 700; }
.pg-integracion__nombre { font-size: 20px; font-weight: 800; margin: 0 0 8px; color: #1a1a1a; }
.pg-integracion__texto { font-size: 15px; margin: 0 0 14px; flex: 1; }
.pg-integracion__mas { font-weight: 700; font-size: 15px; }

.pg-tarjeta { padding: 0; overflow: hidden; }
.pg-tarjeta__imagen img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.pg-tarjeta__cuerpo { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.pg-tarjeta__titulo { font-size: 19px; line-height: 1.3; font-weight: 800; margin: 0 0 8px; }
.pg-tarjeta__titulo a { text-decoration: none; color: #1a1a1a; }
.pg-tarjeta__titulo a::after { content: ""; position: absolute; inset: 0; }
.pg-tarjeta { position: relative; }
.pg-tarjeta__texto { font-size: 15px; margin: 0 0 12px; flex: 1; }
.pg-tarjeta__meta { font-size: 13px; color: #6b6b6b; margin: 0; }

.pg-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pg-chips--filtro { justify-content: flex-start; margin-bottom: 20px; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
.pg-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1px solid #d0d0d0; background: #fff; text-decoration: none !important; font-weight: 600; font-size: 15px; white-space: nowrap; }
.pg-chip--activo { background: #1a1a1a; color: #fff !important; border-color: #1a1a1a; }

.pg-faq__item { border: 1px solid #e5e5e5; border-radius: 12px; margin-bottom: 10px; background: #fff; }
.pg-faq__item summary { cursor: pointer; padding: 16px 44px 16px 16px; font-weight: 700; position: relative; list-style: none; min-height: 48px; }
.pg-faq__item summary::-webkit-details-marker { display: none; }
.pg-faq__item summary::after { content: "+"; position: absolute; right: 16px; top: 12px; font-size: 22px; font-weight: 400; }
.pg-faq__item[open] summary::after { content: "−"; }
.pg-faq__item p { padding: 0 16px 16px; margin: 0; }

.pg-cta { padding: 24px 0 48px; }
.pg-cta__caja { background: #1a1a1a; color: #fff; border-radius: 18px; padding: 24px; display: grid; gap: 18px; }
.pg-cta__titulo { color: #fff; font-size: 24px; font-weight: 800; margin: 0 0 6px; line-height: 1.25; }
.pg-cta__texto { color: #e6e6e6; margin: 0; }
.pg-cta__botones { display: flex; flex-direction: column; gap: 10px; }

.pg-suscripcion { display: flex; flex-direction: column; gap: 10px; margin: 18px auto 10px; max-width: 520px; }
.pg-suscripcion input { min-height: 50px; border-radius: 10px; border: 0; padding: 0 16px; font-size: 16px; color: #1a1a1a; }
.pg-suscripcion__nota { font-size: 13px; color: #cfcfcf; }
.pg-suscripcion__estado { min-height: 1.5em; font-weight: 600; }

.pg-legal h2 { font-size: 21px; font-weight: 800; margin: 30px 0 10px; color: #1a1a1a; }
.pg-legal__vigencia { color: #6b6b6b; font-size: 15px; }
.pg-tabla-envoltura { overflow-x: auto; margin: 0 0 16px; -webkit-overflow-scrolling: touch; }
.pg-tabla { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 480px; }
.pg-tabla th, .pg-tabla td { border-bottom: 1px solid #e5e5e5; padding: 10px 8px; text-align: left; vertical-align: top; }
.pg-tabla th { background: #f5f5f3; font-weight: 700; }
.pg-vacio { font-size: 18px; text-align: center; padding: 30px 0; }

/* Casos de éxito en la portada */
.casos-exito { padding: 60px 0; background: #f5f5f3; }
.casos-exito .pg-grilla { margin-top: 24px; }

@media (min-width: 640px) {
    .pg-grilla { grid-template-columns: repeat(2, 1fr); }
    .pg-suscripcion { flex-direction: row; }
    .pg-suscripcion input { flex: 1; }
    .pg-cta__botones { flex-direction: row; flex-wrap: wrap; }
}
@media (min-width: 992px) {
    .pg { font-size: 18px; }
    .pg-cabecera { padding: 150px 0 56px; }
    .pg-titulo { font-size: 44px; }
    .pg-seccion { padding: 64px 0; }
    .pg-h2 { font-size: 30px; }
    .pg-grilla { grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .pg-cta__caja { grid-template-columns: 1.3fr 1fr; align-items: center; padding: 40px; }
    .pg-cta__botones { justify-content: flex-end; }
    .pg-chips--filtro { flex-wrap: wrap; overflow: visible; }
}
