/* 1. Base y tokens. Fuentes del sistema provisionales, sin peticiones externas. */
:root {
    --psm-ink: #141019;
    --psm-paper: #f7f3ee;
    --psm-line: rgb(247 243 238 / 55%);
    --psm-gutter: clamp(1.5rem, 4.2vw, 5.5rem);
    --psm-sans: "Avenir Next", Avenir, "Segoe UI", sans-serif;
    --psm-display: Didot, "Bodoni MT", "Times New Roman", serif;
    --psm-admin-offset: 0px;
    --psm-photo-overlay-opacity: .28;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--psm-ink); color: var(--psm-paper); font-family: var(--psm-sans); overflow-wrap: break-word; }
body.admin-bar { --psm-admin-offset: 32px; }
@media (max-width: 782px) {
    body.admin-bar { --psm-admin-offset: 46px; }
}
img, video { max-width: 100%; height: auto; }
iframe { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { border: 0; border-radius: 0; }
[hidden] { display: none !important; }
[aria-disabled="true"] { cursor: default; }
.site-header svg, .hero svg { display: block; width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
:focus-visible { outline: 2px solid var(--psm-paper); outline-offset: 6px; }

/* 2. Accesibilidad. */
.screen-reader-text {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link:focus {
    position: fixed; top: calc(var(--psm-admin-offset) + 1rem); left: 1rem; z-index: 100000;
    width: auto; height: auto; padding: .75rem 1rem; margin: 0;
    overflow: visible; clip: auto; clip-path: none; white-space: normal;
    color: var(--psm-ink); background: var(--psm-paper);
}

/* Tratamiento global de fotografías editoriales (uso explícito, nunca en logos).
 * Aplicar photo-overlay al contenedor de la foto.
 * Foto: capa 0; overlay: capa 1; contenido superpuesto: capa 2.
 * Si el contenido está dentro del contenedor, usar photo-overlay__content.
 * Las posiciones propias de cada sección se declaran después de esta base. */
.photo-overlay { position: relative; isolation: isolate; }
.photo-overlay > img { z-index: 0; }
.photo-overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgb(0 0 0 / var(--psm-photo-overlay-opacity));
    pointer-events: none;
}
.photo-overlay__content { position: relative; z-index: 2; }

/* 3. Header: transparente sobre la portada; flujo normal en otras vistas. */
.site-header {
    position: relative; z-index: 10; display: flex; align-items: center;
    gap: clamp(1.5rem, 3vw, 4rem); width: 100%; min-height: 7.5rem;
    padding: 1.5rem var(--psm-gutter);
}
.home .site-header { position: absolute; top: var(--psm-admin-offset); left: 0; }
.site-logo { display: block; flex: 0 0 clamp(8rem, 12vw, 11rem); }
.site-logo img { display: block; width: 100%; height: auto; }
.header-navigation { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex: 1; min-width: 0; }
.primary-navigation { margin-inline: auto; }
.primary-menu { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(1.15rem, 1.8vw, 2.5rem); list-style: none; margin: 0; padding: 0; }
.primary-menu a {
    position: relative; display: inline-flex; align-items: center; min-height: 2.75rem;
    font-size: .625rem; line-height: 1.5; font-weight: 500; letter-spacing: .17em; text-transform: uppercase;
}
.primary-menu a::after {
    content: ""; position: absolute; bottom: .375rem; left: 0; right: .17em; height: 1px;
    background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 180ms ease;
}
.primary-menu .current-menu-item > a::after,
.primary-menu a[aria-current="page"]::after,
.primary-menu a[href]:hover::after { transform: scaleX(1); }
.header-actions, .social-links { display: flex; align-items: center; }
.header-actions { gap: 1.25rem; }
.social-links { gap: .125rem; }
.social-link { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; }
.social-link svg { width: 1rem; height: 1rem; }
.language-selector { display: inline-flex; align-items: center; gap: .65rem; min-height: 2.75rem; padding: 0 .25rem; background: transparent; font-size: .625rem; letter-spacing: .15em; }
.menu-toggle { align-items: center; justify-content: center; gap: 1rem; min-height: 2.75rem; padding: 0; background: transparent; cursor: pointer; }
.menu-toggle__label { font-size: .625rem; letter-spacing: .17em; text-transform: uppercase; }
.menu-toggle__lines { position: relative; display: block; width: 1.625rem; height: .75rem; }
.menu-toggle__lines::before, .menu-toggle__lines::after { content: ""; position: absolute; left: 0; width: 100%; height: 1px; background: currentColor; transition: transform 180ms ease, top 180ms ease; }
.menu-toggle__lines::before { top: 0; }
.menu-toggle__lines::after { top: .625rem; }
.is-menu-open .menu-toggle__lines::before { top: .3125rem; transform: rotate(45deg); }
.is-menu-open .menu-toggle__lines::after { top: .3125rem; transform: rotate(-45deg); }

/* 4. Hero. Doble capa de la misma foto; originales intactos.
 * El fondo llena el lienzo; el retrato tiene encuadre independiente a la derecha.
 * La máscara funde solo el borde izquierdo, sin apagar la luz rosa del sujeto. */
.hero {
    position: relative; isolation: isolate; display: grid; align-items: center;
    min-height: 100vh; min-height: 100svh; padding: 10rem var(--psm-gutter) 8rem;
    background: var(--psm-ink);
}
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__backdrop, .hero__portrait { position: absolute; top: 0; height: 100%; max-width: none; object-fit: cover; }
.hero__backdrop { left: 0; width: 100%; object-position: 50% 38%; opacity: .22; }
.hero__portrait {
    right: 0; width: 72%; width: min(72%, 115svh); object-position: 50% 43%;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 26%);
    mask-image: linear-gradient(to right, transparent, #000 26%);
}
.hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(180deg, rgb(12 9 18 / 35%), transparent 24%, transparent 75%, rgb(12 9 18 / 35%));
}
.hero__content { min-width: 0; width: fit-content; max-width: 100%; }
.hero__title {
    /* Conserva el espacio del título anterior; em usa su misma escala responsive. */
    display: flex; align-items: center; width: 4.65em; max-width: 100%; min-height: 1.68em;
    margin: 0 0 1.75rem -.045em;
    font-size: clamp(5.5rem, 10.5vw, 12.5rem); line-height: 0;
}
.hero__logo { display: block; width: 100%; max-width: 100%; height: auto; }
.hero__subtitle { margin: 0; font-size: clamp(.6rem, .78vw, .8rem); line-height: 1.8; letter-spacing: .26em; }
.showreel { display: inline-flex; align-items: center; gap: 1.1rem; min-height: 3.5rem; margin-top: clamp(2rem, 4vh, 3.5rem); }
.showreel__play { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border: 1px solid var(--psm-line); border-radius: 50%; transition: border-color 180ms ease, transform 180ms ease; }
.showreel__play svg { width: 1.1rem; height: 1.1rem; }
.showreel__text { font-size: .625rem; letter-spacing: .22em; line-height: 1.6; }
.showreel__text small { display: block; margin-top: .25rem; font-size: .6rem; letter-spacing: .06em; }
.showreel[href]:hover .showreel__play { border-color: var(--psm-paper); transform: scale(1.06); }
.hero__editorial {
    position: absolute; right: var(--psm-gutter); top: 57%; margin: 0;
    padding-left: 1.3rem; border-left: 1px solid var(--psm-line);
    font-size: clamp(.6rem, .8vw, .75rem); line-height: 1.85; letter-spacing: .23em;
}
.hero__scroll { position: absolute; right: var(--psm-gutter); bottom: 2.5rem; display: flex; flex-direction: column; align-items: center; gap: .9rem; }
.hero__scroll span { font-size: .55rem; letter-spacing: .25em; }
.hero__scroll svg { width: 1rem; height: 1.75rem; }

/* 5. Tablet y navegación compacta. El menú sin JS permanece visible. */
@media (max-width: 74.99rem) {
    .site-header { min-height: 6.5rem; justify-content: space-between; flex-wrap: wrap; }
    .site-logo { flex-basis: 9rem; }
    .menu-toggle:not([hidden]) { display: inline-flex; }
    .header-navigation { flex-basis: 100%; align-items: stretch; flex-direction: column; gap: 1.5rem; }
    .primary-navigation { margin: 0; }
    .primary-menu { flex-direction: column; align-items: flex-start; gap: .35rem; }
    .primary-menu a { font-size: .8rem; }
    .header-actions { justify-content: space-between; }
    .has-menu-js .header-navigation { position: absolute; top: 100%; left: 0; right: 0; padding: 1rem var(--psm-gutter) 2rem; max-height: calc(100svh - 6.5rem - var(--psm-admin-offset)); overflow-y: auto; background: var(--psm-ink); }
    .site-header.is-menu-open { background: var(--psm-ink); }
    .home .site-header:not(.has-menu-js) { position: relative; }
    .hero__portrait { width: 88%; width: min(88%, 115svh); object-position: 54% 42%; }
    .hero__title { font-size: clamp(5.5rem, 12vw, 9rem); }
    .hero__editorial { top: auto; bottom: 7rem; }
}

/* Tablet vertical: desplaza el texto hacia abajo para dejar libre el violín. */
@media (min-width: 48rem) and (max-width: 74.99rem) and (max-aspect-ratio: 1/1) {
    .hero { align-items: end; padding-bottom: 5rem; }
    .hero__portrait { width: 100%; object-position: 54% 35%; -webkit-mask-image: none; mask-image: none; }
    .hero::after { background: linear-gradient(180deg, rgb(12 9 18 / 25%), transparent 25%, transparent 48%, rgb(12 9 18 / 50%) 72%, rgb(12 9 18 / 75%)); }
}

/* 6. Móvil vertical: imagen completa a lo ancho, título bajo el violín. */
@media (max-width: 47.99rem) {
    .site-header { min-height: 6rem; padding-block: 1.25rem; }
    .site-logo { flex-basis: 8rem; }
    .has-menu-js .header-navigation { max-height: calc(100svh - 6rem - var(--psm-admin-offset)); }
    .hero { align-items: end; padding-top: 26rem; padding-bottom: 5rem; }
    .hero__portrait { width: 100%; object-position: 58% 35%; -webkit-mask-image: none; mask-image: none; }
    .hero__backdrop { display: none; }
    .hero::after { background: linear-gradient(180deg, rgb(12 9 18 / 25%), transparent 25%, transparent 48%, rgb(12 9 18 / 50%) 72%, rgb(12 9 18 / 75%)); }
    .hero__title { font-size: clamp(3.25rem, 15vw, 7rem); margin-bottom: 1.15rem; }
    .hero__subtitle { font-size: .5625rem; letter-spacing: .17em; }
    .showreel { margin-top: 1.5rem; gap: .85rem; }
    .showreel__play { width: 3rem; height: 3rem; }
    .hero__editorial { display: none; }
    .hero__scroll { bottom: 1.5rem; gap: .5rem; }
}

/* Paisaje bajo: deja crecer el hero y conserva cabeza, arco y violín. */
@media (max-height: 35rem) and (min-width: 48rem) {
    .hero { min-height: 40rem; padding-top: 9rem; padding-bottom: 5rem; }
}

/* 7. Movimiento respetuoso. */
@media (prefers-reduced-motion: reduce) {
    .primary-menu a::after, .menu-toggle__lines::before, .menu-toggle__lines::after, .showreel__play { transition: none; }
}

/* 8. Sobre mí. Estilos exclusivos de esta sección; sin cambios en Header/Hero. */
.about {
    /* Fuente manuscrita PROVISIONAL: sustituir aquí al elegir la definitiva.
       Solo familias locales; Georgia cursiva es la alternativa editorial. */
    --psm-about-handwriting: "Snell Roundhand", "Segoe Script", "URW Chancery L", Georgia, serif;
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    /* Altura compartida; puede crecer si se amplía el texto por accesibilidad. */
    min-height: clamp(37.5rem, 45vw, 40.625rem);
    background: #f1eee8;
    color: #201e1c;
}
.about__editorial {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-width: 0;
    padding: 2.5rem clamp(1.5rem, 3.3vw, 4.5rem);
}
.about__eyebrow {
    margin: 0 0 1rem;
    font-size: .625rem;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: .24em;
}
.about__title {
    margin: 0;
    max-width: 100%;
    font-family: var(--psm-display);
    font-size: clamp(2.25rem, 4.1vw, 3.75rem);
    font-weight: 400;
    line-height: .93;
    letter-spacing: -.025em;
}
.about__title span { display: block; }
.about__text {
    max-width: 43ch;
    margin: 1.5rem 0 .5rem;
    font-size: clamp(.875rem, 1.05vw, 1rem);
    line-height: 1.6;
    white-space: pre-line;
}
.about__text::after {
    content: "";
    display: block;
    width: 2rem;
    height: 1px;
    margin-top: 1rem;
    background: currentColor;
}
.about__link {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    max-width: 100%;
    min-height: 2.75rem;
    font-size: .625rem;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: .17em;
    text-underline-offset: .4em;
}
.about__link span { font-size: 1.25rem; letter-spacing: 0; }
.about__link:hover { text-decoration: underline; }
.about:focus-visible, .about__link:focus-visible { outline-color: currentColor; }
.about__portrait { position: relative; min-width: 0; margin: 0; overflow: hidden; background: #161616; }
.about__image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 30%;
}
.about__annotation {
    position: absolute;
    left: 8%;
    top: 55%;
    margin: 0;
    max-width: 38%;
    font-family: var(--psm-about-handwriting);
    font-size: clamp(2.5rem, 4.8vw, 5rem);
    font-style: italic;
    font-weight: 400;
    line-height: .88;
    color: #f1eee8;
    transform: rotate(-7deg);
}
.about__annotation span { display: block; }

/* Tablet: mantiene las dos páginas editoriales y reduce el espacio interior. */
@media (min-width: 48rem) and (max-width: 63.99rem) {
    .about { min-height: 35rem; }
    .about__editorial { padding: 2rem 1.5rem; }
    .about__title { font-size: clamp(2rem, 4.1vw, 2.625rem); }
}

/* Móvil: texto primero y fotografía generosa debajo, sin separación. */
@media (max-width: 47.99rem) {
    .about { grid-template-columns: minmax(0, 1fr); min-height: 0; }
    .about__editorial { padding: 3rem var(--psm-gutter); }
    .about__title { font-size: clamp(2rem, 8.5vw, 3.25rem); }
    .about__text { max-width: 35ch; }
    .about__portrait { min-height: clamp(26rem, 115vw, 36rem); }
    .about__image { object-position: 50% 45%; }
    .about__annotation { left: 7%; top: 57%; font-size: clamp(2.5rem, 9vw, 4rem); }
}

/* 9. Vídeos: franja editorial. El overlay común conserva su intensidad global. */
.home-videos {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 2rem;
    min-height: clamp(26.875rem, 35vw, 32.5rem);
    padding: 3rem var(--psm-gutter);
    background: var(--psm-ink);
    color: var(--psm-paper);
}
.home-videos__image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Conserva la cabeza y el violín al recortar el formato horizontal. */
    object-position: 50% 10%;
}
/* Refuerzo de lectura independiente, por debajo del contenido y del overlay común. */
.home-videos::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgb(0 0 0 / 68%), rgb(0 0 0 / 30%) 38%, transparent 65%);
    pointer-events: none;
}
.home-videos__content { min-width: 0; max-width: 30rem; }
.home-videos__eyebrow { margin: 0 0 1.25rem; font-size: .625rem; line-height: 1.5; letter-spacing: .24em; }
.home-videos__title {
    margin: 0;
    font-family: var(--psm-display);
    font-size: clamp(3.5rem, 6.2vw, 6rem);
    font-weight: 400;
    line-height: .95;
    letter-spacing: -.045em;
}
.home-videos__description { margin: 1.5rem 0 1.75rem; font-size: clamp(.875rem, 1.05vw, 1rem); line-height: 1.7; }
.home-videos__link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    max-width: 100%;
    min-height: 3rem;
    padding: .75rem 1.25rem;
    border: 1px solid var(--psm-line);
    background: transparent;
    font-size: .625rem;
    line-height: 1.6;
    letter-spacing: .16em;
    transition: border-color 180ms ease;
}
.home-videos__link > span[aria-hidden] { font-size: 1.25rem; line-height: 1; letter-spacing: 0; }
.home-videos__link:hover, .home-videos__arrow:hover { border-color: var(--psm-paper); }
.home-videos__controls { align-self: end; display: grid; gap: 1rem; justify-items: end; }
.home-videos__counter { margin: 0; font-size: .75rem; line-height: 1.5; letter-spacing: .2em; font-variant-numeric: tabular-nums; }
.home-videos__counter span { margin-left: .5rem; }
.home-videos__arrows { display: flex; gap: .75rem; }
.home-videos__arrow {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 1px solid var(--psm-line);
    border-radius: 50%;
    background: transparent;
    font-size: 1.25rem;
    transition: border-color 180ms ease;
}

@media (min-width: 48rem) and (max-width: 63.99rem) {
    .home-videos { padding-block: 2.5rem; }
    .home-videos__image { object-position: 57% 12%; }
    .home-videos__content { max-width: 23rem; }
}

/* Móvil: texto en la zona inferior, controles en una fila propia.
 * El foco horizontal se desplaza hacia Paula; no cambia la intensidad del overlay. */
@media (max-width: 47.99rem) {
    .home-videos {
        grid-template-columns: minmax(0, 1fr);
        align-content: end;
        gap: 1.5rem;
        min-height: 32.5rem;
        padding: 11rem var(--psm-gutter) 1.75rem;
    }
    .home-videos__image { object-position: 62% 24%; }
    .home-videos::before { background: linear-gradient(180deg, transparent 15%, rgb(0 0 0 / 30%) 40%, rgb(0 0 0 / 78%) 100%); }
    .home-videos__eyebrow { margin-bottom: .875rem; }
    .home-videos__title { font-size: clamp(3rem, 12vw, 4.5rem); }
    .home-videos__description { margin: 1rem 0 1.25rem; }
    .home-videos__controls { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
    .home-videos__link, .home-videos__arrow { transition: none; }
}

/* 10. Expansión de Vídeos. La franja .home-videos mantiene sus reglas anteriores. */
.videos-section { background: var(--psm-ink); color: var(--psm-paper); }
.videos-section .home-videos__link { text-align: left; cursor: pointer; }
.home-videos__counter > [data-video-index] { margin-left: 0; }
.videos-expansion { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows 450ms ease, visibility 0s 450ms; }
.videos-section.is-expanded .videos-expansion { grid-template-rows: 1fr; visibility: visible; transition-delay: 0s; }
.videos-expansion__clip { min-height: 0; overflow: hidden; }
.videos-gallery { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(1rem, 3vw, 3rem); padding: 2rem var(--psm-gutter) 2.5rem; }
.videos-gallery__main { min-width: 0; }
.videos-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.75rem, 1.5vw, 1.5rem); }
.video-card { display: block; min-width: 0; width: 100%; aspect-ratio: 4 / 3; min-height: 12rem; padding: 0; overflow: hidden; text-align: left; background: #111; cursor: pointer; }
.video-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transition: transform 300ms ease; }
.video-card::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(transparent 25%, rgb(0 0 0 / 80%)); pointer-events: none; }
.video-card__caption { position: absolute; inset: auto 0 0; display: grid; gap: .5rem; padding: clamp(.875rem, 1.5vw, 1.5rem); }
.video-card__title { font-family: var(--psm-display); font-size: clamp(1.125rem, 1.7vw, 1.75rem); line-height: 1.1; }
.video-card__subtitle { font-size: .5625rem; line-height: 1.6; letter-spacing: .15em; }
.video-card:hover > img { transform: scale(1.025); }
.video-card:focus-visible { outline-offset: -3px; }
.video-card[aria-pressed="true"] { outline: 1px solid var(--psm-paper); outline-offset: 3px; }
.videos-play { position: absolute; left: 62%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: clamp(4.5rem, 7vw, 6.5rem); height: clamp(4.5rem, 7vw, 6.5rem); padding: 0; border: 1px solid var(--psm-line); border-radius: 50%; background: transparent; cursor: pointer; transition: border-color 180ms ease; }
.videos-play svg { width: 1.75rem; height: 1.75rem; }
.videos-play:hover { border-color: var(--psm-paper); }
.videos-progress { display: flex; align-items: center; gap: 1.5rem; margin-top: 1.75rem; font-size: .625rem; letter-spacing: .17em; font-variant-numeric: tabular-nums; }
.videos-progress__track { width: min(12rem, 40%); height: 1px; background: rgb(247 243 238 / 25%); }
.videos-progress__track > span { display: block; width: 25%; height: 100%; background: var(--psm-paper); transition: transform 250ms ease; }
.videos-signature { display: flex; align-items: center; justify-content: space-between; gap: 1rem; writing-mode: vertical-rl; font-size: .5rem; letter-spacing: .2em; line-height: 1.8; opacity: .65; }
.videos-dialog { width: min(60rem, calc(100% - 2rem)); max-height: calc(100svh - 2rem); padding: 1rem; border: 1px solid var(--psm-line); background: var(--psm-ink); color: var(--psm-paper); }
.videos-dialog::backdrop { background: rgb(0 0 0 / 85%); }
.videos-dialog__header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.videos-dialog__header h3 { margin: 0; font-family: var(--psm-display); font-weight: 400; }
.videos-dialog__header button { min-height: 2.75rem; padding: .5rem; background: transparent; cursor: pointer; }
.videos-dialog iframe, .videos-dialog video { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: #000; }
@media (min-width: 48rem) and (max-width: 63.99rem) {
    .videos-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 47.99rem) {
    .videos-gallery { grid-template-columns: minmax(0, 1fr); padding-block: 1.5rem 2rem; }
    .videos-cards { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 82%); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: thin; padding: .25rem .25rem .75rem; }
    .video-card { min-height: 13rem; scroll-snap-align: start; }
    .video-card__title { font-size: 1.5rem; }
    .videos-signature { display: none; }
    .videos-play { left: 70%; top: 19%; }
}
@media (prefers-reduced-motion: reduce) {
    .videos-expansion, .video-card > img, .videos-play, .videos-progress__track > span { transition: none; }
}

/* 11. Servicios / Música en vivo. Reutiliza tipografías, márgenes y overlay global. */
.home-services {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(1.5rem, 3vw, 3rem);
    min-height: clamp(37.5rem, 48vw, 43.75rem);
    padding: 3.5rem var(--psm-gutter);
    background: var(--psm-ink);
    color: var(--psm-paper);
}
.home-services__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.home-services__image { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
/* Los laterales dan contraste; el centro conserva solo el tratamiento global. */
.home-services__media::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgb(0 0 0 / 78%), rgb(0 0 0 / 55%) 24%, transparent 43%, transparent 63%, rgb(0 0 0 / 65%) 78%, rgb(0 0 0 / 82%));
    pointer-events: none;
}
.home-services__intro { grid-column: 1; min-width: 0; }
.home-services__offer { grid-column: 3; min-width: 0; }
.home-services__eyebrow { margin: 0 0 1.25rem; font-size: .625rem; line-height: 1.5; letter-spacing: .24em; }
.home-services__title { margin: 0; font-family: var(--psm-display); font-size: clamp(3rem, 5.4vw, 5.5rem); font-weight: 400; line-height: .95; letter-spacing: -.045em; }
.home-services__description { margin: 1.5rem 0 1.75rem; font-size: clamp(.8125rem, .95vw, .9375rem); line-height: 1.75; white-space: pre-line; }
.home-services__more { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.5rem; max-width: 100%; min-height: 3rem; padding: .75rem 1.25rem; border: 1px solid var(--psm-line); background: transparent; font-size: .625rem; line-height: 1.6; letter-spacing: .16em; transition: border-color 180ms ease; }
.home-services__more > span, .home-services__contact > span[aria-hidden] { font-size: 1.25rem; line-height: 1; letter-spacing: 0; }
.home-services__more:hover { border-color: var(--psm-paper); }
.services-accordion { scroll-margin-block-start: 3rem; }
.service-item { border-bottom: 1px solid var(--psm-line); }
.service-item__heading { margin: 0; font-size: inherit; font-weight: 400; }
.service-item__trigger { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; min-height: 4.5rem; padding: 1.25rem 0; background: transparent; text-align: left; font-size: clamp(.875rem, 1.2vw, 1.125rem); line-height: 1.4; cursor: pointer; }
.service-item__symbol { position: relative; width: .875rem; height: .875rem; flex-shrink: 0; }
.service-item__symbol::before, .service-item__symbol::after { content: ""; position: absolute; top: 50%; left: 0; width: 100%; height: 1px; background: currentColor; }
.service-item__symbol::after { transform: rotate(90deg); transition: transform 250ms ease; }
.service-item__trigger[aria-expanded="true"] .service-item__symbol::after { transform: rotate(0deg); }
.service-item__panel { display: grid; grid-template-rows: 1fr; }
.services-accordion.is-enhanced .service-item__panel { grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows 300ms ease, visibility 0s 300ms; }
.services-accordion.is-enhanced .service-item.is-open .service-item__panel { grid-template-rows: 1fr; visibility: visible; transition-delay: 0s; }
.service-item__clip { min-height: 0; overflow: hidden; }
.service-item__description { margin: 0; padding: 0 1.5rem 1.25rem 0; font-size: .8125rem; line-height: 1.7; white-space: pre-line; }
.home-services__contact { display: inline-flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: 100%; min-height: 2.75rem; margin-top: 1.5rem; font-size: .5625rem; line-height: 1.7; letter-spacing: .14em; }
.home-services__contact[href]:hover { text-decoration: underline; text-underline-offset: .4em; }

/* Tablet: mantiene la figura entre las dos columnas de contenido. */
@media (min-width: 48rem) and (max-width: 63.99rem) {
    .home-services { grid-template-columns: minmax(0, 1fr) minmax(0, .65fr) minmax(0, 1fr); gap: 1rem; padding-block: 3rem; }
    .home-services__title { font-size: clamp(2.75rem, 5.2vw, 3.5rem); }
    .home-services__image { object-position: 55% 20%; }
    .service-item__trigger { min-height: 4rem; font-size: .875rem; }
}

/* Móvil: reserva una zona fotográfica sin texto encima del rostro.
 * El título y el acordeón siguen en orden; la foto se funde con el fondo inferior. */
@media (max-width: 47.99rem) {
    .home-services { grid-template-columns: minmax(0, 1fr); gap: 2rem; min-height: 0; padding: clamp(19rem, 65vw, 28rem) var(--psm-gutter) 3rem; }
    .home-services__intro, .home-services__offer { grid-column: 1; }
    .home-services__media { bottom: auto; height: clamp(35rem, 140vw, 49rem); }
    .home-services__image { object-position: 58% 15%; }
    .home-services__media::before { z-index: 2; background: linear-gradient(180deg, transparent 28%, rgb(20 16 25 / 55%) 58%, var(--psm-ink) 100%); }
    .home-services__title { font-size: clamp(3rem, 12vw, 4.5rem); }
    .home-services__description { font-size: .875rem; }
    .home-services__contact { font-size: .625rem; }
}
@media (prefers-reduced-motion: reduce) {
    .home-services__more, .service-item__symbol::after, .services-accordion.is-enhanced .service-item__panel { transition: none; }
}

/* 12. Presskit / Material oficial: bloque independiente de las secciones aprobadas. */
.home-presskit {
    position: relative;
    isolation: isolate;
    display: grid;
    align-items: center;
    min-height: clamp(31.25rem, 40vw, 37.5rem);
    padding: 3.5rem var(--psm-gutter);
    background: var(--psm-ink);
    color: var(--psm-paper);
}
.home-presskit__media { position: absolute; inset: 0 0 0 auto; width: 65%; z-index: 0; overflow: hidden; }
.home-presskit__image { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
/* Funde el borde de la fotografía con el fondo, sobre el overlay común. */
.home-presskit__media::before { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(90deg, var(--psm-ink) 0%, var(--psm-ink) 6%, rgb(20 16 25 / 75%) 16%, transparent 38%, transparent 82%, rgb(20 16 25 / 35%) 100%); pointer-events: none; }
.home-presskit__content { min-width: 0; width: min(100%, 29rem); }
.home-presskit__eyebrow { margin: 0 0 1.25rem; font-size: .625rem; line-height: 1.5; letter-spacing: .24em; }
.home-presskit__title { margin: 0; font-family: var(--psm-display); font-size: clamp(3rem, 5.4vw, 5.5rem); font-weight: 400; line-height: .95; letter-spacing: -.045em; }
.home-presskit__description { max-width: 37ch; margin: 1.5rem 0 1.75rem; font-size: clamp(.875rem, 1.05vw, 1rem); line-height: 1.75; }
.home-presskit__downloads { display: flex; flex-wrap: wrap; gap: .75rem; }
.home-presskit__download { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: 3rem; max-width: 100%; padding: .75rem 1rem; border: 1px solid var(--psm-line); background: transparent; font-size: .625rem; line-height: 1.6; letter-spacing: .16em; transition: border-color 180ms ease; }
.home-presskit__download > span[aria-hidden] { font-size: 1.125rem; letter-spacing: 0; line-height: 1; }
.home-presskit__download:hover { border-color: var(--psm-paper); }
.home-presskit__download:focus-visible { outline: 2px solid var(--psm-paper); outline-offset: 5px; }
.home-presskit__editorial { position: absolute; right: var(--psm-gutter); bottom: 3rem; margin: 0; padding-left: 1.25rem; border-left: 1px solid var(--psm-line); font-size: .5625rem; line-height: 1.9; letter-spacing: .23em; }

@media (min-width: 48rem) and (max-width: 63.99rem) {
    .home-presskit { padding-block: 3rem; }
    .home-presskit__content { width: 45%; }
    .home-presskit__title { font-size: clamp(2.75rem, 5.4vw, 3.5rem); }
    .home-presskit__image { object-position: 40% 20%; }
    .home-presskit__download { gap: .75rem; padding-inline: .875rem; }
}

/* Móvil: foto arriba y contenido abajo; ningún texto se superpone al rostro. */
@media (max-width: 47.99rem) {
    .home-presskit { display: flex; flex-direction: column; align-items: stretch; min-height: 0; padding: 0; }
    .home-presskit__media { position: relative; inset: auto; width: 100%; aspect-ratio: 4 / 3; }
    .home-presskit__image { object-position: 50% 35%; }
    .home-presskit__media::before { background: linear-gradient(180deg, transparent 68%, var(--psm-ink)); }
    .home-presskit__content { width: 100%; padding: 2rem var(--psm-gutter) 2.5rem; }
    .home-presskit__title { font-size: clamp(3rem, 12vw, 4.5rem); }
    .home-presskit__downloads { flex-direction: column; }
    .home-presskit__download { width: 100%; }
    .home-presskit__editorial { position: relative; right: auto; bottom: auto; align-self: flex-end; margin: 0 var(--psm-gutter) 2rem; }
}
@media (prefers-reduced-motion: reduce) {
    .home-presskit__download { transition: none; }
}

/* 13. Galería editorial: tamaños y alineaciones deliberadamente asimétricos. */
.home-gallery {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: clamp(1.5rem, 3vw, 3rem);
    min-height: clamp(56.25rem, 72vw, 68.75rem);
    padding: clamp(5rem, 8vw, 8rem) var(--psm-gutter) clamp(4rem, 6vw, 6rem);
    background: var(--psm-ink);
    color: var(--psm-paper);
}
.home-gallery__heading { grid-column: 1 / 8; grid-row: 1; align-self: start; min-width: 0; }
.home-gallery__eyebrow { margin: 0 0 1.5rem; font-size: .625rem; line-height: 1.5; letter-spacing: .24em; }
.home-gallery__title { margin: 0; font-family: var(--psm-display); font-size: clamp(2.5rem, 5.3vw, 5.5rem); font-weight: 400; line-height: .98; letter-spacing: -.045em; }
.home-gallery__heading::after { content: ""; display: block; width: 4rem; height: 1px; margin-top: 2rem; background: var(--psm-line); }
.home-gallery__figure { min-width: 0; margin: 0; align-self: start; }
.home-gallery__figure--1 { grid-column: 1 / 8; grid-row: 2 / 4; }
.home-gallery__figure--2 { grid-column: 9 / 12; grid-row: 1 / 3; margin-top: 2rem; }
.home-gallery__figure--3 { grid-column: 10 / 13; grid-row: 2 / 4; margin-top: clamp(12rem, 17vw, 16rem); }
.home-gallery__link { display: block; aspect-ratio: 2 / 3; overflow: hidden; }
.home-gallery__figure--1 .home-gallery__link { aspect-ratio: 8 / 5; }
.home-gallery__figure--3 .home-gallery__link { aspect-ratio: 3 / 4; }
.home-gallery__link > img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transition: transform 650ms ease; }
.home-gallery__link:focus-visible { outline-offset: 5px; }
.home-gallery__number { display: flex; align-items: center; gap: .75rem; margin-top: .875rem; font-size: .625rem; line-height: 1.5; letter-spacing: .2em; color: rgb(247 243 238 / 70%); }
.home-gallery__number::after { content: ""; width: 2rem; height: 1px; background: var(--psm-line); }
@media (hover: hover) and (pointer: fine) {
    .home-gallery__link:hover > img { transform: scale(1.02); }
}
@media (min-width: 48rem) and (max-width: 63.99rem) {
    .home-gallery { min-height: 0; padding-block: 5rem; gap: 1.5rem; }
    .home-gallery__title { font-size: clamp(2.5rem, 5.3vw, 3.5rem); }
    .home-gallery__figure--2 { grid-column: 9 / 13; }
    .home-gallery__figure--3 { grid-column: 9 / 13; margin-top: 9rem; }
}
@media (max-width: 47.99rem) {
    .home-gallery { display: flex; flex-direction: column; gap: 3.5rem; min-height: 0; padding-block: 4.5rem; }
    .home-gallery__heading { width: 100%; }
    .home-gallery__title { font-size: clamp(2rem, 8.4vw, 3.75rem); }
    .home-gallery__figure--1 { width: 90%; }
    .home-gallery__figure--2 { width: 74%; margin: 0 0 0 auto; }
    .home-gallery__figure--3 { width: 85%; margin: 0; }
}

/* Lightbox nativo: fotografía completa, controles de teclado y fondo negro. */
body.psm-gallery-open { overflow: hidden; }
.gallery-lightbox { position: fixed; inset: 0; width: 100%; height: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(0 0 0 / 96%); color: var(--psm-paper); }
.gallery-lightbox[open] { display: grid; place-items: center; }
.gallery-lightbox::backdrop { background: #000; }
.gallery-lightbox__stage { display: grid; place-items: center; width: 100%; height: 100%; min-height: 0; padding: 4.5rem; }
.gallery-lightbox__image { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(100vh - 9rem); max-height: calc(100dvh - 9rem); object-fit: contain; }
.gallery-lightbox__button { position: absolute; z-index: 1; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 1px solid var(--psm-line); background: transparent; font-size: 1.5rem; cursor: pointer; }
.gallery-lightbox__button:hover { border-color: var(--psm-paper); }
.gallery-lightbox__close { top: 1rem; right: 1rem; }
.gallery-lightbox__prev { left: 1rem; top: calc(50% - 1.375rem); }
.gallery-lightbox__next { right: 1rem; top: calc(50% - 1.375rem); }
.gallery-lightbox__counter { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); margin: 0; font-size: .625rem; letter-spacing: .2em; }
@media (max-width: 47.99rem) {
    .gallery-lightbox__stage { padding: 4.5rem 1rem 6rem; }
    .gallery-lightbox__image { max-height: calc(100dvh - 10.5rem); }
    .gallery-lightbox__prev, .gallery-lightbox__next { top: auto; bottom: 1rem; }
    .gallery-lightbox__counter { bottom: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
    .home-gallery__link > img { transition: none; }
    .home-gallery__link:hover > img { transform: none; }
}

/* 14. Redes sociales: color protagonista y degradados localizados por petición.
 * No altera el overlay global ni las fotografías de ninguna sección anterior. */
.home-social {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-rows: auto minmax(10rem, 1fr) auto;
    gap: 2rem;
    min-height: 44rem;
    min-height: max(44rem, 92svh);
    padding: clamp(3rem, 5vw, 5rem) var(--psm-gutter) 2.5rem;
    background: var(--psm-ink);
    color: var(--psm-paper);
}
.home-social__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.home-social__image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; }
.home-social__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgb(0 0 0 / 72%), rgb(0 0 0 / 36%) 25%, transparent 49%), linear-gradient(180deg, rgb(0 0 0 / 52%), transparent 32%, transparent 70%, rgb(0 0 0 / 55%));
    pointer-events: none;
}
.home-social__heading { min-width: 0; }
.home-social__eyebrow { margin: 0 0 1rem; font-size: .625rem; line-height: 1.5; letter-spacing: .24em; }
.home-social__title { margin: 0; font-family: var(--psm-display); font-size: clamp(3rem, 6.3vw, 6.5rem); font-weight: 400; line-height: .95; letter-spacing: -.045em; }
.home-social__description { margin: 1.25rem 0 0; max-width: 37ch; font-size: clamp(.8125rem, 1vw, .9375rem); line-height: 1.7; }
.home-social__links { align-self: center; justify-self: start; min-width: 0; max-width: 100%; }
.home-social__links ul { display: grid; gap: .75rem; list-style: none; margin: 0; padding: 0; }
.home-social__link { display: inline-flex; align-items: center; gap: 1rem; min-height: 2.75rem; max-width: 100%; font-size: .625rem; line-height: 1.5; letter-spacing: .2em; opacity: .88; transition: transform 250ms ease, opacity 250ms ease; }
.home-social__link svg { width: 1.125rem; height: 1.125rem; }
.home-social__link::after { content: ""; width: 1.5rem; height: 1px; background: var(--psm-line); transform-origin: left; transition: transform 250ms ease; }
.home-social__link:hover, .home-social__link:focus-visible { transform: translateX(4px); opacity: 1; }
.home-social__link:hover::after, .home-social__link:focus-visible::after { transform: scaleX(1.35); }
.home-social__link:focus-visible { outline: 2px solid var(--psm-paper); outline-offset: 6px; }
.home-social__identity { margin: 0; font-family: Impact, "Arial Narrow", "Helvetica Neue Condensed", sans-serif; font-size: clamp(3.5rem, 6.8vw, 7rem); font-weight: 700; font-stretch: condensed; line-height: .86; letter-spacing: -.025em; opacity: .85; }
.home-social__signature { position: absolute; right: var(--psm-gutter); bottom: 2.5rem; margin: 0; padding-right: 1rem; border-right: 1px solid var(--psm-line); writing-mode: vertical-rl; font-size: .5rem; line-height: 1.8; letter-spacing: .22em; }

@media (min-width: 48rem) and (max-width: 63.99rem) {
    .home-social { padding-top: 3rem; }
    .home-social__image { object-position: 56% 12%; }
    .home-social__title { font-size: clamp(3rem, 6.3vw, 4rem); }
}

/* Móvil: encabezado arriba, rostro libre en el tercio superior/central,
 * redes a media altura y firma ARTIST / VIOLINIST al pie. La sección crece
 * en pantallas bajas o con texto ampliado para conservar las zonas de lectura. */
@media (max-width: 47.99rem) {
    .home-social { min-height: 48rem; min-height: max(48rem, 96svh); grid-template-rows: auto minmax(18rem, 1fr) auto; gap: 1.5rem; padding: 2.5rem var(--psm-gutter) 2rem; }
    .home-social__image { object-position: 55% 18%; }
    .home-social__media::after { background: linear-gradient(180deg, rgb(0 0 0 / 65%), rgb(0 0 0 / 20%) 21%, transparent 29%, transparent 41%, rgb(0 0 0 / 25%) 64%, rgb(0 0 0 / 65%) 100%), linear-gradient(90deg, rgb(0 0 0 / 25%), transparent 48%); }
    .home-social__title { font-size: clamp(2rem, 9vw, 4rem); }
    .home-social__description { font-size: .75rem; margin-top: 1rem; }
    .home-social__links { align-self: end; margin-bottom: 1.25rem; }
    .home-social__links ul { gap: .5rem; }
    .home-social__identity { font-size: clamp(3.5rem, 14vw, 5rem); }
    .home-social__signature { bottom: 2rem; padding-right: .625rem; }
}
@media (prefers-reduced-motion: reduce) {
    .home-social__link, .home-social__link::after { transition: none; }
    .home-social__link:hover, .home-social__link:focus-visible, .home-social__link:hover::after, .home-social__link:focus-visible::after { transform: none; }
}

/* 15. Contacto: cierre editorial, sin alterar componentes anteriores. */
.home-contact { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); column-gap: clamp(2rem, 5vw, 6rem); row-gap: 5rem; min-height: 50rem; padding: clamp(5rem, 8vw, 8rem) var(--psm-gutter) 0; background: var(--psm-ink); color: var(--psm-paper); }
.home-contact__intro, .home-contact__body { min-width: 0; }
.home-contact__eyebrow { margin: 0 0 1.5rem; font-size: .625rem; letter-spacing: .24em; }
.home-contact__title { margin: 0; font-family: var(--psm-display); font-size: clamp(3rem, 6.5vw, 7rem); font-weight: 400; line-height: .95; letter-spacing: -.05em; }
.home-contact__lead { margin: 2rem 0 1rem; font-size: clamp(1rem, 1.4vw, 1.25rem); line-height: 1.7; }
.home-contact__description { margin: 0; font-size: .875rem; line-height: 1.8; color: rgb(247 243 238 / 78%); }
.home-contact__signature { margin: 3rem 0 0; font-size: .5625rem; line-height: 1.9; letter-spacing: .22em; }
.home-contact__signature::before { content: ""; display: block; width: 3rem; height: 1px; margin-bottom: 1.25rem; background: var(--psm-line); }
.home-contact__form { position: relative; }
.home-contact__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.75rem; }
.home-contact__field { min-width: 0; }
.home-contact__field--message { grid-column: 1 / -1; }
.home-contact__field label { display: block; font-size: .625rem; line-height: 1.6; letter-spacing: .18em; }
.home-contact__field input, .home-contact__field select, .home-contact__field textarea { display: block; width: 100%; min-width: 0; max-width: 100%; min-height: 3rem; padding: .75rem 0; border: 0; border-bottom: 1px solid var(--psm-line); border-radius: 0; background: transparent; color: var(--psm-paper); font: 1rem/1.5 var(--psm-sans); color-scheme: dark; transition: border-color 180ms ease; }
.home-contact__field textarea { resize: vertical; min-height: 7.5rem; }
.home-contact__field select option { background: var(--psm-ink); color: var(--psm-paper); }
.home-contact__field input:focus, .home-contact__field select:focus, .home-contact__field textarea:focus { outline: 1px solid var(--psm-paper); outline-offset: 4px; border-bottom-color: var(--psm-paper); }
.home-contact__field input[type="date"] { -webkit-appearance: none; appearance: none; }
.home-contact__field input[type="date"]::-webkit-date-and-time-value { text-align: left; min-height: 1.5em; }
.home-contact__privacy { display: flex; align-items: flex-start; gap: .75rem; margin: 2rem 0 1.5rem; font-size: .75rem; line-height: 1.8; cursor: pointer; }
.home-contact__privacy input { flex: 0 0 auto; width: 1rem; height: 1rem; margin: .2rem 0 0; accent-color: var(--psm-paper); color-scheme: dark; }
.home-contact__privacy a { text-decoration: underline; text-underline-offset: 3px; }
.home-contact__pending { color: rgb(247 243 238 / 75%); }
.home-contact__submit { display: inline-flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 3rem; max-width: 100%; padding: .875rem 1.25rem; border: 1px solid var(--psm-line); background: transparent; font-size: .625rem; line-height: 1.5; letter-spacing: .18em; cursor: pointer; transition: background-color 180ms ease, color 180ms ease; }
.home-contact__submit:hover { background: var(--psm-paper); color: var(--psm-ink); }
.home-contact__submit span { font-size: 1.25rem; line-height: 1; }
.home-contact__notice { margin: 0 0 2rem; padding: 1.25rem 0; border-block: 1px solid var(--psm-line); font-size: .875rem; line-height: 1.8; }
.home-contact__notice h3 { margin: 0; font-family: var(--psm-display); font-size: clamp(2.5rem, 4vw, 4rem); font-weight: 400; }
.home-contact__error { display: block; margin: .5rem 0 0; font-size: .75rem; line-height: 1.6; }
.home-contact__trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.home-contact__closing { grid-column: 1 / -1; margin: 0; padding-bottom: .1em; overflow: hidden; font-family: var(--psm-display); font-size: clamp(2rem, 11.2vw, 12rem); line-height: .85; letter-spacing: -.04em; white-space: nowrap; text-align: center; opacity: .09; pointer-events: none; }
@media (min-width: 48rem) and (max-width: 63.99rem) {
    .home-contact { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); column-gap: 2rem; }
    .home-contact__title { font-size: clamp(2.75rem, 6vw, 4rem); }
    .home-contact__fields { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
}
@media (max-width: 47.99rem) {
    .home-contact { grid-template-columns: minmax(0, 1fr); gap: 3rem; min-height: 0; padding-top: 4.5rem; }
    .home-contact__title { font-size: clamp(2.75rem, 12vw, 5.5rem); }
    .home-contact__lead { margin-top: 1.5rem; }
    .home-contact__signature { margin-top: 2rem; }
    .home-contact__fields { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
    .home-contact__privacy { min-height: 2.75rem; }
    .home-contact__closing { margin-top: 1rem; font-size: 10.8vw; }
}
@media (prefers-reduced-motion: reduce) {
    .home-contact__field input, .home-contact__field select, .home-contact__field textarea, .home-contact__submit { transition: none; }
}

/* 16. Fotografía atmosférica de Contacto: capa independiente, sin variar el layout. */
.home-contact { isolation: isolate; }
.home-contact__media { position: absolute; inset: 0 auto 0 0; width: 52%; z-index: -1; overflow: hidden; pointer-events: none; }
.home-contact__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 45% 40%; }
.home-contact__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(20 16 25 / 35%), rgb(20 16 25 / 65%) 48%, var(--psm-ink) 100%), linear-gradient(180deg, rgb(20 16 25 / 25%), transparent 25%, var(--psm-ink) 95%); }
@media (max-width: 47.99rem) {
    .home-contact__media { width: 100%; height: 25rem; bottom: auto; }
    .home-contact__media img { object-position: 50% 25%; }
    .home-contact__media::after { background: linear-gradient(90deg, rgb(20 16 25 / 70%), rgb(20 16 25 / 30%) 75%), linear-gradient(180deg, rgb(20 16 25 / 20%), transparent 25%, var(--psm-ink) 95%); }
}

/* 17. Footer editorial independiente. */
.site-footer { padding: 2.5rem var(--psm-gutter) 1.25rem; border-top: 1px solid rgb(247 243 238 / 18%); background: var(--psm-ink); color: var(--psm-paper); font-size: .5625rem; line-height: 1.7; letter-spacing: .14em; text-transform: uppercase; }
.site-footer__main { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 2rem; }
.site-footer__brand { margin: 0; font-size: .6875rem; line-height: 1.8; letter-spacing: .18em; }
.site-footer__brand span { font-size: .5625rem; letter-spacing: .3em; }
.site-footer ul { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.25rem; list-style: none; padding: 0; margin: 0; }
.site-footer__navigation ul { justify-content: center; }
.site-footer a, .site-footer__pending { display: inline-flex; align-items: center; min-height: 2.75rem; max-width: 100%; }
.site-footer a { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .4em; transition: opacity 180ms ease, text-decoration-color 180ms ease; }
.site-footer a:hover, .site-footer a:focus-visible { text-decoration-color: currentColor; opacity: .8; }
.site-footer__pending { opacity: .6; }
.site-footer__legal { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem 2rem; margin-top: 1.5rem; color: rgb(247 243 238 / 70%); font-size: .5rem; }
.site-footer__legal p { margin: 0; }
@media (max-width: 63.99rem) {
    .site-footer__main { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
    .site-footer__navigation ul { justify-content: flex-start; }
    .site-footer__legal { margin-top: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
    .site-footer a { transition: none; }
}

/* 18. Navegación one-page y capas. Los diálogos showModal usan el top layer nativo. */
:root { --psm-header-height: 7.5rem; --psm-nav-offset: calc(var(--psm-header-height) + var(--psm-admin-offset)); --psm-z-header: 100; --psm-z-skip: 110; --psm-z-dialog: 200; }
html { scroll-behavior: smooth; }
.home #main-content > section { scroll-margin-top: calc(var(--psm-nav-offset) + 12px); }
.home .site-header { position: fixed; top: var(--psm-admin-offset); z-index: var(--psm-z-header); }
.home .site-header.is-scrolled { background: rgb(20 16 25 / 96%); }
.skip-link:focus { z-index: var(--psm-z-skip); }
.gallery-lightbox, .videos-dialog { z-index: var(--psm-z-dialog); }
.primary-menu a[aria-current="location"]::after { transform: scaleX(1); }
.primary-menu a[aria-current="location"] { opacity: 1; }
.primary-menu a { opacity: .8; }
.psm-stack-marker { display: block; height: 0; width: 100%; pointer-events: none; }
/* Secciones 1–8 por orden de documento. Sin transformaciones ni overflow en padres. */
@media (min-width: 64rem) and (prefers-reduced-motion: no-preference) {
    .home.psm-stack-ready #main-content > section { position: sticky; top: var(--psm-stack-top, 0px); z-index: var(--psm-stack-order); }
    /* La última sección sale con el documento y da paso al footer. */
    .home.psm-stack-ready #main-content > section:last-of-type { position: relative; top: auto; }
}
@media (max-width: 600px) {
    /* La barra de WP es absoluta en móvil; JS ajusta su parte visible al desplazar. */
    body.admin-bar { --psm-admin-offset: 0px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

/* 19. Escenas inmersivas: fondos al borde superior y contenido en zona segura. */
:root { --psm-header-height: 6rem; }
body { --psm-scene-safe: calc(var(--psm-header-height) + var(--psm-admin-safe-offset, var(--psm-admin-offset))); }
.home .site-header,
.home .site-header.is-scrolled {
    min-height: calc(6rem + env(safe-area-inset-top, 0px));
    padding-block: calc(.75rem + env(safe-area-inset-top, 0px)) .75rem;
    background: rgb(20 16 25 / 42%);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    transition: background-color 220ms ease;
}
.home .site-header.is-over-light { background: rgb(20 16 25 / 60%); }
.home .site-header.is-menu-open { background: rgb(20 16 25 / 90%); }
.home #main-content > section { min-height: 100svh; height: auto; scroll-margin-top: 0; }
html { scroll-padding-top: 0; }
/* Vídeos contiene el banner y su panel desplegable: la fotografía llena la escena inicial. */
.home .home-videos { min-height: 100svh; padding-top: max(3rem, calc(var(--psm-scene-safe) + 1.5rem)); }
.home .hero { padding-top: max(10rem, calc(var(--psm-scene-safe) + 1.5rem)); }
.home .about__editorial { padding-top: max(2.5rem, calc(var(--psm-scene-safe) + 1.5rem)); }
.home .home-services { padding-top: max(3.5rem, calc(var(--psm-scene-safe) + 1.5rem)); }
.home .home-presskit { padding-top: max(3.5rem, calc(var(--psm-scene-safe) + 1.5rem)); }
.home .home-gallery { padding-top: max(clamp(5rem, 8vw, 8rem), calc(var(--psm-scene-safe) + 1.5rem)); }
.home .home-social { padding-top: max(clamp(3rem, 5vw, 5rem), calc(var(--psm-scene-safe) + 1.5rem)); }
.home .home-contact { padding-top: max(clamp(5rem, 8vw, 8rem), calc(var(--psm-scene-safe) + 1.5rem)); }
@media (max-width: 47.99rem) {
    .home .site-header, .home .site-header.is-scrolled { min-height: calc(5rem + env(safe-area-inset-top, 0px)); }
    .home .site-header, .home .site-header.is-scrolled { -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
    .home .hero { padding-top: max(26rem, calc(var(--psm-scene-safe) + 1.5rem)); }
    .home .about__editorial { padding-top: max(3rem, calc(var(--psm-scene-safe) + 1.5rem)); }
    .home .home-videos { padding-top: max(11rem, calc(var(--psm-scene-safe) + 1.5rem)); }
    /* Se conserva la zona fotográfica que precede al texto en Servicios y Presskit. */
    .home .home-services { padding-top: max(clamp(19rem, 65vw, 28rem), calc(var(--psm-scene-safe) + 1.5rem)); }
    .home .home-presskit { padding-top: 0; }
    .home .home-gallery, .home .home-contact { padding-top: max(4.5rem, calc(var(--psm-scene-safe) + 1.5rem)); }
    .home .has-menu-js .header-navigation { max-height: calc(100svh - var(--psm-nav-offset)); }
}
@media (prefers-reduced-motion: reduce) {
    .home .site-header { transition: none; }
}

/* 20. Colecciones administrables: la cantidad afecta al ancho del track, no a la Home. */
.home .videos-section--managed { display: flex; flex-direction: column; min-height: 100svh; height: 100svh; }
.home .videos-section--managed .home-videos { flex: 1 1 auto; min-height: 0; position: relative; padding-bottom: 1.5rem; }
.videos-section--managed .videos-expansion { flex: 0 0 clamp(9rem, 26svh, 16rem); display: block; visibility: visible; min-height: 0; padding: 1rem var(--psm-gutter); }
.videos-section--managed .videos-expansion[hidden] { display: none; }
.videos-section--managed .videos-cards { display: flex; gap: 1.5rem; height: 100%; min-width: 0; overflow-x: auto; scroll-snap-type: x proximity; overscroll-behavior-x: contain; scrollbar-width: thin; padding: .25rem; }
.videos-section--managed .video-card { flex: 0 0 auto; width: clamp(12rem, 24vw, 21rem); height: 100%; min-height: 0; aspect-ratio: auto; scroll-snap-align: start; }
.video-card[aria-pressed="true"] { outline: 1px solid var(--psm-paper); outline-offset: -1px; }
.videos-selected { margin: .75rem 0; }
.videos-selected p { margin: .25rem 0; }
.videos-selected [data-selected-title] { font-family: var(--psm-display); font-size: clamp(1rem, 1.5vw, 1.5rem); }
.videos-selected [data-selected-subtitle] { font-size: .5625rem; letter-spacing: .17em; }
.videos-selected [data-selected-description] { font-size: .75rem; line-height: 1.5; max-height: 3em; overflow-y: auto; }
.videos-selected p:empty { display: none; }
.videos-section--managed.is-expanded .home-videos__description { margin-block: .75rem; }
.videos-section--managed.is-expanded .home-videos__eyebrow { margin-bottom: .5rem; }
.videos-inline-player { position: absolute; inset: 0; z-index: 4; background: #000; padding-top: var(--psm-scene-safe); padding-bottom: 3.25rem; }
.videos-inline-player iframe { width: 100%; height: 100%; min-height: 200px; border: 0; display: block; }
.videos-inline-close { position: absolute; right: var(--psm-gutter); bottom: .5rem; z-index: 5; min-height: 2.75rem; padding: .5rem; background: #000; font-size: .625rem; letter-spacing: .12em; cursor: pointer; }
.videos-section--managed.is-playing .home-videos__content, .videos-section--managed.is-playing .home-videos__controls, .videos-section--managed.is-playing .videos-play { visibility: hidden; }
.videos-play:disabled { opacity: .5; cursor: default; }
.home .home-gallery--managed { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; gap: 1.5rem; min-height: 100svh; height: 100svh; padding-bottom: 1.5rem; }
.home-gallery--managed .home-gallery__heading { grid-column: auto; grid-row: auto; }
.home-gallery--managed .home-gallery__heading::after { margin-top: 1rem; }
.home-gallery__track { display: flex; align-items: flex-start; gap: clamp(1.5rem, 4vw, 4rem); min-height: 0; min-width: 0; height: 100%; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: thin; }
.home-gallery--managed .home-gallery__figure { flex: 0 0 26%; width: 26%; height: 86%; margin: 0; scroll-snap-align: start; }
.home-gallery--managed .home-gallery__figure:nth-child(3n+1) { flex-basis: 53%; width: 53%; height: 100%; }
.home-gallery--managed .home-gallery__figure:nth-child(3n) { align-self: flex-end; }
.home-gallery--managed .home-gallery__link { height: calc(100% - 2.5rem); aspect-ratio: auto; }
.home-gallery__number { white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.home-gallery__track-controls { display: flex; justify-content: flex-end; gap: 1rem; }
.home-gallery__track-controls button { min-width: 2.75rem; min-height: 2.75rem; background: transparent; border: 1px solid var(--psm-line); cursor: pointer; }
[data-horizontal-track] { cursor: grab; }
[data-horizontal-track].is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
@media (max-width: 47.99rem) {
 .home .videos-section--managed .home-videos { padding-top: max(7rem, calc(var(--psm-scene-safe) + 1rem)); }
 .videos-section--managed .home-videos__content { align-self: end; }
 .videos-section--managed.is-expanded .home-videos__title { font-size: 2.5rem; }
 .videos-section--managed.is-expanded .home-videos__description { font-size: .75rem; margin-block: .5rem; }
 .videos-section--managed .videos-expansion { flex-basis: 10rem; padding-block: .75rem; }
 .videos-section--managed .video-card { width: 70vw; }
 .videos-section--managed .videos-play { left: auto; right: var(--psm-gutter); top: calc(var(--psm-scene-safe) + 2.5rem); transform: none; width: 3.5rem; height: 3.5rem; }
 .home-gallery--managed .home-gallery__figure { flex-basis: 65%; width: 65%; }
 .home-gallery--managed .home-gallery__figure:nth-child(3n+1) { flex-basis: 85%; width: 85%; }
}
/* Pantallas muy bajas / texto ampliado: accesibilidad antes que recortar contenido. */
@media (max-height: 620px), (max-width: 47.99rem) and (max-height: 740px) {
 .home .videos-section--managed { height: auto; }
 .home .videos-section--managed .home-videos { min-height: 38rem; }
 .home .home-gallery--managed { height: max(100svh, 44rem); }
}

/* 21. Modales editoriales de información, sin cambiar el diseño de los CTAs. */
button.about__link, button.home-services__more { background: transparent; color: inherit; padding-inline: 0; text-align: left; cursor: pointer; }
body.psm-info-open { overflow: hidden; }
.editorial-dialog { width: min(80vw, 70rem); max-width: calc(100% - 2rem); max-height: 82svh; padding: 0; border: 1px solid var(--psm-line); background: var(--psm-ink); color: var(--psm-paper); z-index: var(--psm-z-dialog); }
.editorial-dialog:not([open]) { display: none; }
.editorial-dialog::backdrop { background: rgb(0 0 0 / 70%); backdrop-filter: blur(3px); }
.editorial-dialog__inner { position: relative; padding: clamp(2.5rem, 5vw, 5rem); }
.editorial-dialog h2 { font-family: var(--psm-display); font-size: clamp(2rem, 4vw, 4rem); font-weight: 400; margin: 0 2rem 1.5rem 0; }
.editorial-dialog__close { position: sticky; display: block; top: .5rem; margin-left: auto; z-index: 1; width: 2.75rem; height: 2.75rem; background: var(--psm-ink); border: 1px solid var(--psm-line); font-size: 1.5rem; cursor: pointer; }
.editorial-dialog__copy { font-size: 1rem; line-height: 1.8; overflow-wrap: anywhere; }
.editorial-dialog__copy a { text-decoration: underline; }
.editorial-dialog__image { max-height: 45svh; width: 100%; object-fit: contain; margin-bottom: 1.5rem; }
.editorial-dialog iframe { width: 100%; aspect-ratio: 16 / 9; min-height: 200px; border: 0; }
.editorial-dialog.is-fallback { position: fixed; inset: 8svh 0 auto; display: block; margin: auto; overflow: auto; outline: 100vmax solid rgb(0 0 0 / 70%); }
@media (max-width: 47.99rem) { .editorial-dialog { width: calc(100% - 2rem); max-height: 88svh; } .editorial-dialog__inner { padding: 1.25rem; } }
.service-item__description > :first-child { margin-top: 0; }
.service-item__description > :last-child { margin-bottom: 0; }

@media (min-width: 48rem) and (max-height: 740px) {
 .home .videos-section--managed.is-expanded .home-videos { padding-top: calc(var(--psm-scene-safe) + 1rem); }
 .videos-section--managed.is-expanded .home-videos__title { font-size: clamp(2.75rem, 4vw, 3.5rem); }
 .videos-section--managed.is-expanded .home-videos__description { font-size: .75rem; line-height: 1.5; margin-block: .5rem; }
 .videos-section--managed.is-expanded .videos-selected { margin-block: .5rem; }
}
