/* ==========================================================================
   JPUPPER — Portada (rebranding)
   Paleta extraída de la composición del JP Shader Editor usada de fondo:
   nodeeditor-xz2t ("fondojpupper") — mármol líquido: indigo profundo,
   oro oliva y venas periwinkle.
   Regla: NINGÚN texto va directo sobre el shader, siempre dentro de un
   contenedor con superficie (header, tarjetas, panel de sección, footer).
   ========================================================================== */

:root {
    /* base: mármol indigo */
    --ink:        #07080f;
    --ink-2:      #0c0e17;
    --indigo:     #161829;
    --indigo-2:   #20233a;
    --steel:      #4b4d63;

    /* venas y oro */
    --vein:       #c3c7f1;
    --gold:       #c9bd80;
    --gold-hi:    #ece5b8;
    --olive:      #6f6a3f;

    /* texto */
    --text:       #f0eef6;
    --muted:      #a8a6bd;

    /* superficies */
    --glass:      rgba(9, 11, 18, 0.62);
    --glass-soft: rgba(9, 11, 18, 0.44);
    --line:       rgba(195, 199, 241, 0.17);
    --line-soft:  rgba(195, 199, 241, 0.10);

    --radius: 16px;
    --max: 1180px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* el canvas del include vive en z-index:-1: el color va en html y body queda
   transparente, si no tapa el shader (o deja blanco al scrollear). */
html {
    background: var(--ink);
    scroll-behavior: smooth;
}

body {
    background: transparent;
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

ul {
    list-style: none;
}

::selection {
    background: var(--gold);
    color: var(--ink);
}

/* ---------- header (bajo) ------------------------------------------------ */

.jp-head {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    background: rgba(7, 8, 15, 0.68);
    border-bottom: 1px solid var(--line-soft);
}

.jp-head__in {
    max-width: var(--max);
    margin: 0 auto;
    padding: 8px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.jp-brand {
    display: inline-flex;
    align-items: baseline;
    gap: 9px;
    font-size: 12px;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--text);
    white-space: nowrap;
}

.jp-brand span {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--gold);
}

.jp-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

/* todos los links del header con la MISMA jerarquía */
.jp-nav a {
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12.5px;
    color: var(--muted);
    border: 1px solid transparent;
    transition: color .22s ease, border-color .22s ease, background .22s ease;
}

.jp-nav a:hover {
    color: var(--text);
    border-color: var(--line);
    background: rgba(195, 199, 241, 0.06);
}

/* ---------- layout ------------------------------------------------------- */

.wrap {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px;
}

section {
    position: relative;
}

/* cabecera de sección: SIEMPRE en contenedor, nunca texto suelto sobre el shader */
.sec-head {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
    padding: 18px 26px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--glass);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.sec-label {
    display: block;
    font-size: 11px;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
}

.sec-title {
    font-size: clamp(1.5rem, 3.2vw, 2.15rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.sec-sub {
    color: var(--muted);
    max-width: 46ch;
    font-size: 14.5px;
}

/* ---------- hero --------------------------------------------------------- */

.hero {
    padding: 30px 0 20px;
}

.hero__card {
    display: grid;
    grid-template-columns: 1.6fr 0.9fr;
    gap: 44px;
    align-items: center;
    padding: 40px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--glass);
    backdrop-filter: blur(26px) saturate(165%);
    -webkit-backdrop-filter: blur(26px) saturate(165%);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero__role {
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}

.hero h1 {
    font-size: clamp(2.3rem, 5.6vw, 3.7rem);
    line-height: 1.03;
    letter-spacing: -0.035em;
    font-weight: 600;
    margin-bottom: 14px;
}

.hero__tagline {
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    color: var(--vein);
    max-width: 46ch;
    margin-bottom: 20px;
}

.hero__bio {
    color: var(--muted);
    font-size: 14.8px;
    max-width: 62ch;
    margin-bottom: 14px;
}

.hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: -0.01em;
    border: 1px solid transparent;
    transition: transform .2s ease, background .25s ease, color .25s ease, border-color .25s ease;
}

.btn--solid {
    background: var(--gold);
    color: #14130c;
}

.btn--solid:hover {
    background: var(--gold-hi);
    transform: translateY(-2px);
}

.btn--ghost {
    border-color: var(--line);
    color: var(--text);
    background: rgba(195, 199, 241, 0.04);
}

.btn--ghost:hover {
    border-color: rgba(195, 199, 241, 0.42);
    transform: translateY(-2px);
}

.hero__photo {
    position: relative;
    justify-self: end;
    width: 100%;
    max-width: 290px;
}

/* la foto ya viene recortada en círculo (sin el anillo magenta original) */
.hero__photo img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid var(--line);
}

.hero__photo::after {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 1px dashed rgba(201, 189, 128, 0.28);
    pointer-events: none;
}

/* ---------- hitos: tres tarjetas de la MISMA jerarquía ------------------- */

.hitos {
    padding: 34px 0 10px;
}

.hitos__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    /* las tres tarjetas con la MISMA altura y la misma estructura interna:
       medios arriba (128px), texto, y el pie (links / programas) al final */
    align-items: stretch;
}

.hito {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 22px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--glass);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: border-color .3s ease, transform .3s ease;
}

.hito:hover {
    border-color: rgba(195, 199, 241, 0.32);
    transform: translateY(-3px);
}

/* bloque de medios: misma altura en las tres tarjetas */
.hito__media {
    height: 128px;
    border-radius: 11px;
    border: 1px solid var(--line-soft);
    background: rgba(195, 199, 241, 0.035);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hito__media .fsc-logo {
    max-height: 66%;
    max-width: 88%;
    width: auto;
    object-fit: contain;
    opacity: 0.95;
}

.hito__media--flyer {
    padding: 0;
}

.hito__media--flyer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    opacity: 0.95;
    transition: transform .6s ease, opacity .4s ease;
}

.hito:hover .hito__media--flyer img {
    transform: scale(1.04);
    opacity: 1;
}

/* Docencia: los logos de Image Campus y DiploIA (los del footer de /diploia/)
   van de fondo en el bloque de medios, igual que el logo de FSC y el flyer de ADD. */
.hito__media--inst {
    background-image: url("../img/rebrand/imagecampus.svg"), url("../img/rebrand/diploia.svg");
    background-repeat: no-repeat, no-repeat;
    background-position: left 22px center, right 22px center;
    background-size: 46% auto, 27% auto;
    background-color: rgba(195, 199, 241, 0.04);
    /* el teal del logo de DiploIA es oscuro: se aclara para que se lea sobre el vidrio */
    filter: brightness(1.55);
}

.hito__head {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.hito__num {
    font-size: 10.5px;
    letter-spacing: 0.22em;
    color: var(--gold);
}

.hito__role {
    font-size: 10.5px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
}

.hito__title {
    font-size: 1.22rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.hito__desc {
    color: var(--muted);
    font-size: 13.8px;
    line-height: 1.6;
}

.hito__links {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 6px;
}

.hito__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gold);
    width: fit-content;
    padding-bottom: 2px;
    border-bottom: 1px solid rgba(201, 189, 128, 0.32);
    transition: color .2s ease, border-color .2s ease, gap .2s ease;
}

.hito__link:hover {
    color: var(--gold-hi);
    border-color: var(--gold-hi);
    gap: 12px;
}

/* programas de docencia (lista compacta, sin cajas: la tarjeta respira) */
.doc-list {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    padding-top: 4px;
}

.doc-list a {
    display: block;
    padding: 6px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 12.6px;
    line-height: 1.4;
    color: var(--text);
    transition: color .2s ease, border-color .2s ease, padding-left .2s ease;
}

.doc-list a:hover {
    color: var(--gold-hi);
    border-color: rgba(201, 189, 128, 0.45);
    padding-left: 6px;
}

.doc-list b {
    display: inline;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    margin-right: 7px;
}

/* ---------- banda de CV (acceso a las dos versiones) --------------------- */

.cv-band {
    padding: 30px 0 6px;
}

.cv-band__card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    flex-wrap: wrap;
    padding: 26px 30px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--glass);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.cv-band__text {
    min-width: 0;
}

.cv-band__text .sec-title {
    margin-bottom: 6px;
}

.cv-band__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* ---------- footer ------------------------------------------------------- */

.jp-foot {
    margin-top: 34px;
    padding: 26px 0 34px;
    border-top: 1px solid var(--line-soft);
    background: rgba(7, 8, 15, 0.72);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.jp-foot__in {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 12.5px;
    color: var(--muted);
}

.jp-foot__links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.jp-foot__links a {
    color: var(--muted);
    border-bottom: 1px solid transparent;
    transition: color .2s ease, border-color .2s ease;
}

.jp-foot__links a:hover {
    color: var(--vein);
    border-color: rgba(195, 199, 241, 0.4);
}

/* ---------- entrada ------------------------------------------------------ */

@keyframes jp-rise {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.hero__card {
    animation: jp-rise .8s ease both;
}

@media (prefers-reduced-motion: reduce) {
    .hero__card {
        animation: none;
    }
    html {
        scroll-behavior: auto;
    }
}

/* ---------- botones sociales del hero ------------------------------------ */

/* canales: una fila de círculos, SOLO el logo de cada red */
.hero__social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
}

.social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--line-soft);
    background: rgba(195, 199, 241, 0.04);
    color: var(--vein);
    transition: border-color .22s ease, background .22s ease, color .22s ease, transform .2s ease;
}

.social svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

.social:hover {
    border-color: rgba(201, 189, 128, 0.55);
    background: rgba(201, 189, 128, 0.1);
    color: var(--gold-hi);
    transform: translateY(-2px);
}

/* ---------- arte generativo (índice de obras en Tezos) -------------------- */

.arte-gen {
    padding: 30px 0 6px;
}

.sec-head--ag {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
}

.ag-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.ag-tabs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.ag-tab {
    appearance: none;
    border: 1px solid var(--line-soft);
    background: rgba(195, 199, 241, 0.04);
    color: var(--muted);
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 500;
    padding: 7px 14px;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.ag-tab small {
    font-size: 10px;
    letter-spacing: 0.04em;
    color: var(--olive);
}

.ag-tab:hover {
    color: var(--text);
    border-color: rgba(195, 199, 241, 0.35);
}

.ag-tab[aria-selected="true"] {
    background: var(--gold);
    border-color: var(--gold);
    color: #14130c;
    font-weight: 600;
}

.ag-tab[aria-selected="true"] small {
    color: rgba(20, 19, 12, 0.62);
}

.ag-page {
    padding: 26px 0 10px;
}

.ag-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    border-top: 1px solid var(--line-soft);
    padding-top: 12px;
}

.ag-count {
    font-size: 12px;
    letter-spacing: 0.05em;
    color: var(--muted);
}

.ag-objkt {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--gold);
    padding-bottom: 2px;
    border-bottom: 1px solid rgba(201, 189, 128, 0.35);
    transition: color .2s ease, border-color .2s ease;
}

.ag-objkt:hover {
    color: var(--gold-hi);
    border-color: var(--gold-hi);
}

.ag-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.ag-card {
    appearance: none;
    display: flex;
    flex-direction: column;
    padding: 0;
    text-align: left;
    cursor: pointer;
    overflow: hidden;
    border-radius: 13px;
    border: 1px solid var(--line-soft);
    background: var(--glass-soft);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.ag-card:hover {
    border-color: rgba(201, 189, 128, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.ag-card__img {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    background: #08090f;
    overflow: hidden;
}

.ag-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .5s ease, transform .6s ease;
}

.ag-card__img img.cargada {
    opacity: 1;
}

.ag-card:hover .ag-card__img img {
    transform: scale(1.04);
}

.ag-card__img iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    z-index: 2;
    pointer-events: none;
    background: #08090f;
}

.ag-card__badges {
    position: absolute;
    top: 7px;
    left: 7px;
    right: 7px;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    z-index: 3;
    pointer-events: none;
}

.ag-b {
    font-style: normal;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    padding: 3px 7px;
    border-radius: 999px;
    background: rgba(6, 7, 12, 0.78);
    border: 1px solid rgba(195, 199, 241, 0.18);
    color: var(--vein);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.ag-b--live {
    background: rgba(201, 189, 128, 0.9);
    border-color: rgba(201, 189, 128, 0.9);
    color: #14130c;
}

.ag-card__body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 10px 12px 12px;
    border-top: 1px solid var(--line-soft);
}

.ag-card__body strong {
    font-size: 12.8px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--text);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ag-card:hover .ag-card__body strong {
    color: var(--gold-hi);
}

.ag-card__body small {
    font-size: 10.5px;
    letter-spacing: 0.04em;
    color: var(--muted);
}

/* ---------- modal del visor ---------------------------------------------- */

.ag-lock {
    overflow: hidden;
}

/* el visor va a pantalla completa: overlay 100% + requestFullscreen al abrir */
.ag-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding: 0;
    background: rgba(4, 5, 9, 0.96);
}

.ag-modal:fullscreen {
    padding: 0;
    background: #04050a;
}

.ag-modal[hidden] {
    display: none;
}

.ag-modal__box {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    max-height: none;
    border-radius: 0;
    border: 0;
    background: #05060a;
    overflow: hidden;
}

.ag-modal__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 18px;
    background: rgba(6, 7, 12, 0.92);
    border-bottom: 1px solid var(--line-soft);
}

.ag-modal__head h3 {
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--text);
    line-height: 1.25;
}

.ag-modal__head p {
    font-size: 11.5px;
    letter-spacing: 0.04em;
    color: var(--muted);
    margin-top: 3px;
}

.ag-modal__x {
    appearance: none;
    border: 1px solid var(--line-soft);
    background: rgba(195, 199, 241, 0.05);
    color: var(--text);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
    transition: background .2s ease, border-color .2s ease;
}

.ag-modal__x:hover {
    background: rgba(201, 189, 128, 0.16);
    border-color: rgba(201, 189, 128, 0.5);
}

.ag-modal__frame {
    position: relative;
    flex: 1 1 auto;
    min-height: 320px;
    background: #05060a;
}

.ag-modal__frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.ag-modal__frame img {
    width: 100%;
    height: 100%;
    max-height: 70vh;
    object-fit: contain;
    display: block;
}

.ag-modal__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    padding: 12px 18px;
    background: rgba(6, 7, 12, 0.92);
    border-top: 1px solid var(--line-soft);
}

.ag-modal__foot code {
    font-family: ui-monospace, Menlo, Consolas, monospace;
    font-size: 10.5px;
    letter-spacing: 0.02em;
    color: rgba(195, 199, 241, 0.6);
    max-width: 46ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ag-modal__btns {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.btn--sm {
    padding: 8px 14px;
    font-size: 12px;
}

/* ---------- responsive de la sección ------------------------------------- */

@media (max-width: 1000px) {
    .ag-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .ag-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .ag-modal__frame {
        min-height: 40vh;
    }

    .ag-modal__foot code {
        max-width: 100%;
    }
}

/* ---------- responsive --------------------------------------------------- */

@media (max-width: 1000px) {
    .hitos__grid {
        grid-template-columns: 1fr;
    }

    .hero__card {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 30px;
    }

    .hero__photo {
        max-width: 200px;
        justify-self: end;
    }

}

@media (max-width: 620px) {
    .jp-head__in {
        padding: 7px 16px;
        gap: 10px;
        flex-wrap: nowrap;
    }

    .jp-brand {
        font-size: 10.5px;
        letter-spacing: 0.16em;
    }

    .jp-brand span {
        font-size: 10px;
    }

    .jp-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        gap: 2px;
    }

    .jp-nav::-webkit-scrollbar {
        display: none;
    }

    .jp-nav a {
        padding: 6px 8px;
        font-size: 11px;
        white-space: nowrap;
    }

    /* el CTA repite un link del menú: en pantallas chicas estorba */
    .jp-nav a.is-cta {
        display: none;
    }

    .wrap {
        padding: 0 16px;
    }

    .hero {
        padding: 18px 0 12px;
    }

    .hero__card {
        padding: 22px;
        gap: 22px;
    }

    .sec-head {
        padding: 14px 18px;
    }

    .hito {
        padding: 18px;
    }

    .jp-foot__in {
        flex-direction: column;
        align-items: flex-start;
    }
}
