/**
 * Sala101 Media — capa visual de la línea audiovisual.
 * Usa tokens de sala101-theme.css (importados vía styles.css).
 */
.s101m-skip {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 2000;
    background: #fff;
    color: #1a1a1a;
    padding: 0.6rem 1rem;
    border-radius: 4px;
}
.s101m-skip:focus {
    top: 5.5rem;
}

body.media-page {
    background: #0b0a10;
    color: #f3eef2;
}

body.media-page::before {
    background:
        radial-gradient(circle at 12% 20%, rgba(140, 0, 60, 0.18) 0%, transparent 42%),
        radial-gradient(circle at 88% 70%, rgba(0, 20, 60, 0.28) 0%, transparent 46%);
}

.s101m-subnav {
    position: sticky;
    top: 70px;
    z-index: 900;
    background: rgba(11, 10, 16, 0.92);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
}

.s101m-subnav-inner {
    display: flex;
    gap: 0.25rem;
    overflow-x: auto;
    padding: 0.55rem 1.25rem;
    max-width: 1200px;
    margin: 0 auto;
    -webkit-overflow-scrolling: touch;
}

.s101m-subnav-link {
    flex: 0 0 auto;
    color: #d7c7d0;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
}

.s101m-subnav-link:hover,
.s101m-subnav-link:focus-visible,
.s101m-subnav-link.is-current {
    color: #fff;
    background: rgba(160, 0, 80, 0.35);
}

.hero.hero--media {
    margin-top: 0;
    min-height: min(92vh, 860px);
    background-image:
        linear-gradient(135deg, rgba(12, 6, 14, 0.78) 0%, rgba(40, 0, 28, 0.62) 48%, rgba(0, 16, 40, 0.72) 100%),
        url('../alquiler/img/alquiler-teatro-sala101-escenario-luces-profesionales-fontibon.jpg');
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    animation: none;
    text-align: left;
    padding: 5rem 1.5rem 4rem;
}

.hero.hero--media::before,
.hero.hero--media::after {
    opacity: 0.25;
}

.s101m-hero-inner {
    max-width: 920px;
    margin: 0 auto;
}

.s101m-eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #e8c9a8;
    font-weight: 600;
    margin-bottom: 0.85rem;
}

.s101m-hero-title {
    font-size: clamp(2rem, 6.4vw, 4.1rem);
    line-height: 1.12;
    text-transform: uppercase;
}

.s101m-kicker {
    font-family: var(--font-titulo);
    font-size: clamp(0.85rem, 2vw, 1.15rem);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #f7dce8;
    margin: 0.4rem 0 1rem;
}

.s101m-hero-lead {
    font-size: clamp(1.1rem, 2.2vw, 1.45rem);
    max-width: 38rem;
    font-weight: 500;
}

.s101m-hero-campaign {
    font-size: 1rem;
    opacity: 0.88;
    margin: 0.5rem 0 1.6rem;
    letter-spacing: 0.04em;
}

.s101m-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.s101m-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.45rem;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.s101m-btn:hover,
.s101m-btn:focus-visible {
    transform: translateY(-2px);
}

.s101m-btn-primary {
    background: linear-gradient(135deg, var(--kv-morado-medio), var(--kv-morado-claro));
    color: #fff;
    box-shadow: 0 8px 24px rgba(140, 0, 60, 0.35);
}

.s101m-btn-ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.45);
}

body.media-page .whatsapp-btn {
    border-radius: 999px;
}

.s101m-main {
    position: relative;
    z-index: 1;
    padding-bottom: 5rem;
}

.s101m-wrap {
    max-width: 1120px;
    margin: 0 auto;
}

.s101m-narrow {
    max-width: 760px;
}

.s101m-section {
    padding: 4.2rem 1.25rem;
}

.s101m-section-alt {
    background: rgba(255, 255, 255, 0.03);
    border-block: 1px solid rgba(255, 255, 255, 0.06);
}

.s101m-h1,
.s101m-h2,
body.media-page .section-title {
    font-family: var(--font-titulo);
    color: #fff;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.2;
}

.s101m-h1 {
    font-size: clamp(1.7rem, 4.5vw, 2.8rem);
    margin-bottom: 1rem;
}

.s101m-h2 {
    font-size: clamp(1.35rem, 3.2vw, 2.1rem);
    margin-bottom: 1rem;
}

.s101m-lead {
    font-size: 1.15rem;
    color: #d8cdd3;
    max-width: 42rem;
    margin-bottom: 1.75rem;
}

.s101m-cards {
    list-style: none;
    display: grid;
    gap: 1rem;
    padding: 0;
}

.s101m-cards-3 {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.s101m-card,
.s101m-card-static {
    display: block;
    height: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.25rem 1.3rem 1.4rem;
    color: inherit;
    text-decoration: none;
    transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

a.s101m-card:hover,
a.s101m-card:focus-visible {
    transform: translateY(-4px);
    border-color: rgba(224, 160, 184, 0.55);
    background: rgba(160, 0, 80, 0.18);
}

.s101m-card h3,
.s101m-card-static h3,
.s101m-mod h3 {
    font-size: 1.05rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 0.45rem;
}

.s101m-card p,
.s101m-card-static p {
    color: #cfc3cb;
    font-size: 0.98rem;
    line-height: 1.55;
}

.s101m-card-cta {
    display: inline-block;
    margin-top: 0.75rem;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #e8c9a8;
}

.s101m-split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    align-items: center;
}

.s101m-split p {
    margin-bottom: 1rem;
    color: #ddd2d8;
}

.s101m-photo {
    margin: 0;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.s101m-photo img,
.s101m-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.s101m-photo-wide {
    margin-bottom: 2rem;
    max-height: 420px;
}

.s101m-photo-wide img {
    max-height: 420px;
}

.s101m-text-link {
    color: #e8c9a8;
    font-weight: 600;
}

.s101m-gallery {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.7rem;
}

.s101m-gallery-item {
    margin: 0;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: zoom-in;
    min-height: 180px;
    grid-column: span 2;
}

.s101m-gallery-item:first-child {
    grid-column: span 4;
    grid-row: span 2;
    min-height: 380px;
}

.s101m-gallery-item figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    font-size: 0.92rem;
}

.s101m-tag {
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #e8c9a8;
}

.s101m-pills {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    padding: 0;
}

.s101m-pills li {
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
    font-size: 0.92rem;
}

.s101m-note,
.s101m-hint,
.s101m-ecosystem {
    color: #c5b7bf;
    margin-top: 1.2rem;
}

.s101m-mod-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.1rem;
}

.s101m-mod {
    background: #14121c;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.s101m-mod ul {
    padding-left: 1.1rem;
    color: #d4c8d0;
    flex: 1;
}

.s101m-mod .s101m-btn {
    align-self: flex-start;
}

.s101m-cases {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.8rem;
    padding: 0;
}

.s101m-cases a {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 1.1rem 1.2rem;
    border-left: 3px solid var(--kv-morado-claro);
    background: rgba(255, 255, 255, 0.03);
    color: inherit;
    text-decoration: none;
}

.s101m-cases a:hover,
.s101m-cases a:focus-visible {
    background: rgba(160, 0, 80, 0.2);
}

.s101m-faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.s101m-faq-btn {
    width: 100%;
    background: none;
    border: 0;
    color: #fff;
    font: inherit;
    font-weight: 600;
    text-align: left;
    padding: 1rem 0;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
}

.s101m-faq-icon::before {
    content: '+';
    font-size: 1.4rem;
    color: #e8c9a8;
}

.s101m-faq-btn[aria-expanded="true"] .s101m-faq-icon::before {
    content: '–';
}

.s101m-faq-panel p {
    padding-bottom: 1rem;
    color: #d5c9d0;
}

.s101m-cta-final {
    text-align: center;
    background:
        radial-gradient(circle at 50% 0%, rgba(160, 0, 80, 0.28), transparent 55%),
        #100e16;
}

.s101m-cta-final .s101m-cta-row {
    justify-content: center;
}

.s101m-page-hero {
    padding: 2.5rem 1.25rem 1.5rem;
}

.s101m-crumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    font-size: 0.85rem;
    color: #b9aeb6;
}

.s101m-crumbs li:not(:last-child)::after {
    content: '/';
    margin-left: 0.35rem;
    opacity: 0.6;
}

.s101m-crumbs a {
    color: #e8c9a8;
}

.s101m-article {
    padding: 0 1.25rem 2rem;
}

.s101m-prose h2 {
    font-family: var(--font-titulo);
    font-size: 1.2rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 1.8rem 0 0.7rem;
    color: #fff;
}

.s101m-prose p,
.s101m-prose li {
    color: #ddd4da;
}

.s101m-prose ul {
    padding-left: 1.2rem;
    margin-bottom: 1rem;
}

.s101m-resource {
    padding-bottom: 1.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 0.6rem;
}

.s101m-related-list {
    padding-left: 1.1rem;
}

.s101m-related-list a {
    color: #e8c9a8;
}

.s101m-form {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 1.5rem;
}

.s101m-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.s101m-field-wide {
    grid-column: 1 / -1;
}

.s101m-field label,
.s101m-fieldset legend {
    display: block;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: #fff;
}

.s101m-field {
    margin-bottom: 1rem;
}

.s101m-field input,
.s101m-field textarea,
.s101m-field select {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #d5d0d2;
    padding: 0.7rem 0.8rem;
    font: inherit;
}

.s101m-fieldset {
    border: 0;
    margin: 0 0 1.2rem;
    padding: 0;
}

.s101m-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.s101m-check {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    color: #f3eef2;
}

.s101m-check-legal {
    background: none;
    border-radius: 0;
    padding: 0.2rem 0;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.s101m-form-status {
    margin: 0.8rem 0;
    padding: 0.8rem 1rem;
    border-radius: 10px;
}

.s101m-form-status.is-ok {
    background: rgba(37, 211, 102, 0.16);
    color: #d4ffe4;
}

.s101m-form-status.is-err {
    background: rgba(180, 40, 60, 0.22);
    color: #ffd4dc;
}

.sala101-field-error {
    display: none;
    color: #ffb7c2;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

body.media-page .site-footer {
    background: #07060b;
    color: #e8e0e5;
    padding-bottom: 5.5rem;
}

body.media-page .footer-lead,
body.media-page .footer-links-heading,
body.media-page .footer-link {
    color: #f3eef2;
}

body.media-page .footer-link {
    text-decoration: none;
}

body.media-page .footer-link:hover {
    color: #e8c9a8;
}

.s101m-nap {
    margin-top: 1.5rem;
    font-size: 0.92rem;
    color: #c9bdc4;
}

.s101m-nap a {
    color: #e8c9a8;
}

.s101m-sticky {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 950;
    display: none;
    gap: 0.5rem;
    padding: 0.65rem 0.8rem calc(0.65rem + env(safe-area-inset-bottom));
    background: rgba(11, 10, 16, 0.94);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.s101m-sticky .s101m-btn {
    flex: 1;
    padding: 0.75rem 0.6rem;
    font-size: 0.78rem;
}

.s101m-lightbox {
    position: fixed;
    inset: 0;
    z-index: 4000;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem 1.5rem;
}

.s101m-lightbox[hidden] {
    display: none;
}

.s101m-lightbox img {
    max-width: min(92vw, 980px);
    max-height: 78vh;
    object-fit: contain;
}

.s101m-lightbox-close,
.s101m-lightbox-nav {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 0;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.4rem;
}

.s101m-lightbox-close { top: 1rem; right: 1rem; }
.s101m-lightbox-prev { left: 1rem; top: 50%; }
.s101m-lightbox-next { right: 1rem; top: 50%; }

.s101m-tech-teaser {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin: 1.5rem 0 2rem;
}
.s101m-spec {
    margin: 0;
    padding: 0;
    list-style: none;
}
.s101m-spec li {
    margin: 0 0 0.75rem;
    line-height: 1.55;
    color: #d7c7d0;
}
.s101m-bars {
    margin: 1.25rem 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.75rem;
}
.s101m-bars li {
    display: grid;
    gap: 0.2rem;
    padding: 0.9rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
}
.s101m-bars span {
    color: #d7c7d0;
    font-size: 0.95rem;
}
.s101m-plot {
    margin: 0;
}
.s101m-plot img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    background: #fff;
}
.s101m-plot figcaption {
    margin-top: 0.65rem;
    font-size: 0.88rem;
    color: #b8a8b2;
    line-height: 1.5;
}
.s101m-plot-wide {
    margin: 1.75rem 0 0;
}
.s101m-table-wrap {
    overflow-x: auto;
    margin: 1.5rem 0 0.5rem;
}
.s101m-table {
    width: 100%;
    min-width: 36rem;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    overflow: hidden;
}
.s101m-table caption {
    caption-side: top;
    text-align: left;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: #f3eef2;
    padding: 0 0 0.75rem;
}
.s101m-table th,
.s101m-table td {
    padding: 0.7rem 0.8rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.s101m-table th {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #d7c7d0;
    background: rgba(160, 0, 80, 0.22);
}
.s101m-table td:first-child {
    font-weight: 700;
    width: 3.5rem;
    color: #fff;
}
.s101m-table td:nth-child(3) {
    color: #d7c7d0;
    font-size: 0.92rem;
}

@media (max-width: 860px) {
    .s101m-split,
    .s101m-form-grid {
        grid-template-columns: 1fr;
    }
    .s101m-gallery {
        grid-template-columns: 1fr 1fr;
    }
    .s101m-gallery-item,
    .s101m-gallery-item:first-child {
        grid-column: span 1;
        grid-row: auto;
        min-height: 220px;
    }
    .s101m-sticky {
        display: flex;
    }
    .hero.hero--media {
        padding-top: 3.2rem;
        min-height: auto;
        text-align: center;
    }
    .s101m-hero-lead {
        margin-left: auto;
        margin-right: auto;
    }
    .s101m-cta-row {
        justify-content: center;
    }
    .s101m-tech-teaser {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .s101m-btn,
    .s101m-card {
        transition: none;
    }
}
