/**
 * 3MDOS Main Stylesheet
 * Paleta Oficial: #000000, #141414, #EC5629, #EDEDED, #FFFFFF
 * Tipografía: Urbanist
 */

/* ==========================================================================
   1. RESET Y REGLAS GLOBALES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

body.site-3mdos {
    font-family: var(--md-font-family, 'Urbanist', sans-serif);
    background-color: #000000;
    color: #FFFFFF;
    line-height: 1.5;
    margin: 0;
    padding: 0;
}

.mdos-container {
    width: 100%;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

.mdos-section {
    padding-top: 90px;
    padding-bottom: 90px;
    position: relative;
}

.mdos-text-center {
    text-align: center;
}

.mdos-accent {
    color: #EC5629;
}

/* ==========================================================================
   2. BOTONES Y ELEMENTOS DE ACCIÓN
   ========================================================================== */
.mdos-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--md-font-family, 'Urbanist', sans-serif);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.25s ease;
    padding: 14px 28px;
    line-height: 1;
}

.mdos-btn-orange {
    background-color: #EC5629;
    color: #FFFFFF;
}

.mdos-btn-orange:hover {
    background-color: #D74519;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(236, 86, 41, 0.35);
    color: #FFFFFF;
}

.mdos-btn-outline {
    background-color: #262626;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.mdos-btn-outline:hover {
    background-color: #333333;
    border-color: rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
    transform: translateY(-2px);
}

.mdos-btn-sm {
    padding: 10px 22px;
    font-size: 14px;
}

.mdos-btn-lg {
    padding: 18px 36px;
    font-size: 16px;
}

.mdos-btn-block {
    width: 100%;
}

.mdos-btn.is-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* ==========================================================================
   3. HEADER Y NAVEGACIÓN SCROLLPAGE
   ========================================================================== */
.mdos-site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mdos-site-header.is-scrolled {
    background-color: rgba(0, 0, 0, 0.88);
    border-bottom-color: rgba(255, 255, 255, 0.15);
}

.mdos-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* Soporte para Logo Editable (Imagen o Tipográfico) */
.mdos-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.mdos-logo-img {
    max-height: 38px;
    width: auto;
    object-fit: contain;
    display: block;
}

.mdos-logo-text {
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #FFFFFF;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.mdos-tm {
    font-size: 11px;
    font-weight: 700;
    vertical-align: super;
    margin-left: 2px;
    color: #FFFFFF;
}

/* Botón Hamburguesa Móvil (Proporcionado y con mayor espacio entre líneas) */
.mdos-mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px 6px;
    margin-left: -6px;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    width: auto;
    height: auto;
    z-index: 1001;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.mdos-mobile-toggle:hover {
    transform: scale(1.08);
}

.mdos-mobile-toggle svg {
    display: block;
    width: 22px;
    height: 18px;
}

.mdos-nav-list {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mdos-nav-link {
    font-size: 15px;
    font-weight: 600;
    color: #EDEDED;
    text-decoration: none;
    transition: color 0.2s ease;
}

.mdos-nav-link:hover {
    color: #EC5629;
}

/* ==========================================================================
   MENÚ RESPONSIVE FLOTANTE (ESTILO TARJETA EXACTA A TU DISEÑO)
   ========================================================================== */
.mdos-mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 1100;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 92px 20px 24px 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mdos-mobile-menu-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mdos-mobile-menu-card {
    background-color: #000000;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 28px;
    width: 100%;
    max-width: 420px;
    padding: 26px 24px 36px 24px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.95);
    transform: translateY(-16px) scale(0.97);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mdos-mobile-menu-overlay.is-open .mdos-mobile-menu-card {
    transform: translateY(0) scale(1);
}

.mdos-mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 26px;
}

.mdos-mobile-menu-label {
    font-size: 13px;
    font-weight: 700;
    color: #EDEDED;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mdos-mobile-close {
    background: none;
    border: none;
    color: #EC5629;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    padding: 2px 6px;
    transition: transform 0.2s ease;
}

.mdos-mobile-close:hover {
    transform: scale(1.15);
}

.mdos-mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.mdos-mobile-link {
    font-size: 24px;
    font-weight: 800;
    color: #FFFFFF;
    text-decoration: none;
    letter-spacing: -0.01em;
    display: block;
    transition: color 0.2s ease, transform 0.2s ease;
}

.mdos-mobile-link:hover,
.mdos-mobile-link:focus {
    color: #EC5629;
    transform: translateX(6px);
}

/* ==========================================================================
   4. HERO SECTION (ESPACIADO COMPACTO Y OPTIMIZADO)
   ========================================================================== */
.mdos-hero-section {
    padding-top: 140px;
    padding-bottom: 24px;
    text-align: center;
    background: radial-gradient(circle at 50% 30%, #1A1A1A 0%, #000000 70%);
}

/* H1 Principal (Más grande y de alto impacto visual) */
.mdos-hero-title {
    font-size: clamp(46px, 6.5vw, 78px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.035em;
    color: #FFFFFF;
    margin: 0 0 18px 0;
}

.mdos-hero-subtitle {
    font-size: clamp(15px, 1.8vw, 20px);
    color: #EDEDED;
    max-width: 650px;
    margin: 0 auto 30px auto;
    font-weight: 500;
    line-height: 1.5;
}

.mdos-sub-line {
    display: inline;
}

.mdos-sub-sep {
    display: inline;
    opacity: 0.6;
    padding: 0 4px;
}

.mdos-hero-actions {
    margin-bottom: 8px;
}

/* ==========================================================================
   5. SECCIÓN DE EVENTOS Y TARJETAS (ESPACIADO SUPERIOR AJUSTADO)
   ========================================================================== */
.mdos-events-section {
    padding-top: 24px;
}

.mdos-events-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 36px;
}

/* H2 de Eventos Destacados (Más pequeño y equilibrado en Web y Responsive) */
.mdos-events-header .mdos-section-title {
    font-size: clamp(21px, 2.5vw, 30px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    margin: 0;
}

.mdos-section-title {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    margin: 0;
}

.mdos-link-subtle {
    font-size: 15px;
    font-weight: 600;
    color: #EDEDED;
    text-decoration: none;
    transition: color 0.2s ease;
}

.mdos-link-subtle:hover {
    color: #EC5629;
}

.mdos-events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 50px;
}

/* Tarjeta de Evento */
.mdos-event-card {
    background-color: #141414;
    border-radius: 26px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 440px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.mdos-event-card:hover {
    transform: translateY(-4px);
    border-color: rgba(236, 86, 41, 0.4);
}

.mdos-card-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #222222;
    z-index: 1;
}

.mdos-poster-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mdos-poster-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #2A2A2A 0%, #1A1A1A 100%);
    color: #666666;
    gap: 12px;
}

.mdos-placeholder-icon {
    font-size: 40px;
}

.mdos-placeholder-text {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Tarjeta flotante blanca inferior (Overlapping Info Card) */
.mdos-card-info-box {
    position: relative;
    z-index: 2;
    background-color: #FFFFFF;
    color: #141414;
    border-radius: 20px;
    padding: 20px 22px;
    margin: 12px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.mdos-card-left {
    flex: 1;
    min-width: 0;
    padding-right: 14px;
}

.mdos-card-title {
    font-size: 17px;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mdos-card-title a {
    color: #141414;
    text-decoration: none;
}

.mdos-card-title a:hover {
    color: #EC5629;
}

.mdos-card-artist {
    font-size: 13px;
    color: #666666;
    margin: 0 0 10px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mdos-card-badge-wrap {
    margin-bottom: 8px;
}

.mdos-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: capitalize;
    line-height: 1;
}

.mdos-badge.status-finished {
    background-color: #EBEBEB;
    color: #1C1C1E;
}

.mdos-badge.status-upcoming,
.mdos-badge.status-tickets {
    background-color: #EC5629;
    color: #FFFFFF;
}

.mdos-badge.status-soldout {
    background-color: #1C1C1E;
    color: #FFFFFF;
}

.mdos-card-producer {
    font-size: 11px;
    color: #888888;
    margin: 0;
}

.mdos-card-producer span {
    font-weight: 700;
    color: #333333;
}

/* Columna Derecha de la Tarjeta */
.mdos-card-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    flex-shrink: 0;
}

.mdos-card-date-badge {
    text-align: right;
    margin-bottom: 12px;
}

.mdos-date-day {
    display: block;
    font-size: 38px;
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.04em;
    color: #141414;
}

.mdos-date-my {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #777777;
    margin-top: 3px;
}

.mdos-card-btn {
    padding: 9px 18px;
    font-size: 13px;
    border-radius: 8px;
}

.mdos-events-actions {
    text-align: center;
}

.mdos-btn-load-more {
    padding: 16px 36px;
    letter-spacing: 0.04em;
}

/* ==========================================================================
   6. SECCIÓN SOBRE NOSOTROS (ABANICO INTERACTIVO DE TARJETAS AMPLIADO)
   ========================================================================== */
.mdos-about-section {
    background-color: #0A0A0A;
    overflow: hidden;
}

.mdos-cards-fan-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 420px;
    margin: 48px auto 60px auto;
    max-width: 740px;
    perspective: 1200px;
    cursor: pointer;
}

.mdos-fan-card {
    position: absolute;
    width: 290px;
    height: 380px;
    background: #1C1C1E;
    border-radius: 28px;
    border: 2px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
    transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
                border-color 0.3s ease,
                z-index 0.2s ease;
    will-change: transform;
    outline: none;
    user-select: none;
}

.mdos-fan-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 26px;
    overflow: hidden;
    background-color: #141414;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mdos-fan-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mdos-fan-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 24px;
    text-align: center;
}

.mdos-fan-icon {
    font-size: 48px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

.mdos-fan-logo-center {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #FFFFFF;
}

.mdos-fan-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #EDEDED;
}

.mdos-badge-highlight {
    background: rgba(236, 86, 41, 0.2);
    border-color: #EC5629;
    color: #FFFFFF;
}

/* Efecto brillo / resplandor */
.mdos-fan-card-glare {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 60%);
    pointer-events: none;
    border-radius: 26px;
}

/* POSICIONES INICIALES DEL ABANICO (Reposo) */
.mdos-fan-card-1 {
    transform: translate3d(-100px, 14px, 0) rotate(-11deg);
    z-index: 1;
}

.mdos-fan-card-2 {
    transform: translate3d(0, 0, 10px) rotate(0deg);
    z-index: 3;
    border-color: #EC5629;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.8), 0 0 25px rgba(236, 86, 41, 0.2);
}

.mdos-fan-card-3 {
    transform: translate3d(100px, 14px, 0) rotate(11deg);
    z-index: 1;
}

/* INTERACCIÓN 1: HOVER SOBRE EL CONTENEDOR (Las tarjetas se abren en abanico amplio) */
.mdos-cards-fan-container:hover .mdos-fan-card-1 {
    transform: translate3d(-180px, -6px, 0) rotate(-16deg);
}

.mdos-cards-fan-container:hover .mdos-fan-card-2 {
    transform: translate3d(0, -22px, 15px) rotate(0deg) scale(1.03);
}

.mdos-cards-fan-container:hover .mdos-fan-card-3 {
    transform: translate3d(180px, -6px, 0) rotate(16deg);
}

/* INTERACCIÓN 2: HOVER DIRECTO SOBRE CUALQUIERA DE LAS TARJETAS (Pasa al frente con resplandor) */
.mdos-fan-card:hover {
    z-index: 10 !important;
    border-color: #EC5629 !important;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.9), 0 0 35px rgba(236, 86, 41, 0.45) !important;
}

.mdos-cards-fan-container .mdos-fan-card-1:hover {
    transform: translate3d(-180px, -35px, 30px) rotate(0deg) scale(1.07) !important;
}

.mdos-cards-fan-container .mdos-fan-card-2:hover {
    transform: translate3d(0, -35px, 30px) rotate(0deg) scale(1.07) !important;
}

.mdos-cards-fan-container .mdos-fan-card-3:hover {
    transform: translate3d(180px, -35px, 30px) rotate(0deg) scale(1.07) !important;
}

.mdos-fan-card:hover .mdos-fan-img {
    transform: scale(1.05);
}

/* ESTADO ACTIVO (CUANDO SE HACE CLIC PARA SELECCIONAR) */
.mdos-fan-card.is-active {
    z-index: 5;
    border-color: #EC5629;
}

.mdos-about-copy-wrap {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.mdos-about-lead {
    font-size: clamp(20px, 2.5vw, 26px);
    font-weight: 700;
    line-height: 1.35;
    color: #FFFFFF;
    margin-bottom: 24px;
}

.mdos-about-secondary-copy p {
    font-size: 16px;
    color: #A1A1A6;
    line-height: 1.7;
    margin: 0;
}

/* ==========================================================================
   7. SECCIÓN DE SERVICIOS
   ========================================================================== */
.mdos-services-section {
    background-color: #000000;
}

.mdos-tag-orange {
    display: inline-block;
    color: #EC5629;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.mdos-services-title {
    margin-bottom: 48px;
}

.mdos-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.mdos-service-card {
    background-color: #FFFFFF;
    border-radius: 24px;
    overflow: hidden;
    color: #141414;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
}

.mdos-service-card-top {
    background-color: #F0F0F2;
    padding: 32px 28px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.mdos-service-pretitle {
    font-size: 14px;
    font-weight: 800;
    color: #EC5629;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.mdos-service-body {
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.mdos-service-tag {
    font-size: 12px;
    font-weight: 700;
    color: #888888;
    margin-bottom: 8px;
}

.mdos-service-heading {
    font-size: 24px;
    font-weight: 800;
    color: #141414;
    margin: 0 0 14px 0;
}

.mdos-service-text {
    font-size: 15px;
    color: #555555;
    line-height: 1.6;
    margin: 0 0 28px 0;
    flex: 1;
}

.mdos-service-link {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
    color: #141414;
    text-decoration: none;
    gap: 6px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.mdos-service-link:hover {
    color: #EC5629;
    transform: translateX(4px);
}

/* ==========================================================================
   8. BANNER CTA DE CONVERSIÓN
   ========================================================================== */
.mdos-cta-section {
    padding-top: 40px;
    padding-bottom: 80px;
}

.mdos-cta-box {
    background-color: #141414;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 48px;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.2fr;
    gap: 32px;
    align-items: center;
}

.mdos-cta-heading {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 800;
    line-height: 1.15;
    color: #FFFFFF;
    margin: 0;
}

.mdos-cta-text-col p {
    font-size: 15px;
    color: #A1A1A6;
    line-height: 1.6;
    margin: 0;
}

.mdos-cta-actions-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ==========================================================================
   9. FOOTER PERSONALIZADO CON CÓDIGO DE BARRAS
   ========================================================================== */
.mdos-site-footer {
    background-color: #000000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 60px;
    padding-bottom: 50px;
}

.mdos-footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
}

.mdos-footer-brand .mdos-footer-logo {
    font-size: 32px;
    display: block;
    margin-bottom: 12px;
}

.mdos-footer-disclaimer {
    font-size: 13px;
    color: #777777;
    line-height: 1.6;
    max-width: 320px;
    margin-bottom: 20px;
}

.mdos-barcode {
    color: #FFFFFF;
    opacity: 0.85;
}

.mdos-footer-heading {
    font-size: 16px;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 0 16px 0;
}

.mdos-footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mdos-footer-list li {
    font-size: 14px;
    color: #A1A1A6;
    margin-bottom: 10px;
}

.mdos-footer-list a {
    color: #A1A1A6;
    text-decoration: none;
    transition: color 0.2s ease;
}

.mdos-footer-list a:hover {
    color: #EC5629;
}

.mdos-social-links {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.mdos-social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #1C1C1E;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mdos-social-btn:hover {
    background-color: #EC5629;
    border-color: #EC5629;
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* ==========================================================================
   10. MODAL POP-UP NATIVO (<dialog>)
   ========================================================================== */
.mdos-modal {
    border: none;
    background: transparent;
    padding: 0;
    max-width: 580px;
    width: 90%;
    margin: auto;
}

.mdos-modal::backdrop {
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.mdos-modal-box {
    background-color: #141414;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 36px 32px;
    position: relative;
    color: #FFFFFF;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8);
}

.mdos-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #A1A1A6;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
    transition: color 0.2s ease;
}

.mdos-modal-close:hover {
    color: #EC5629;
}

.mdos-modal-heading {
    font-size: 24px;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 0 6px 0;
}

.mdos-modal-sub {
    font-size: 14px;
    color: #A1A1A6;
    margin: 0 0 24px 0;
}

.mdos-form-group {
    margin-bottom: 16px;
}

.mdos-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.mdos-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #EDEDED;
    margin-bottom: 6px;
}

.mdos-input, .mdos-select, .mdos-textarea {
    width: 100%;
    background-color: #1F1F21;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 12px 16px;
    color: #FFFFFF;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease;
}

.mdos-input:focus, .mdos-select:focus, .mdos-textarea:focus {
    border-color: #EC5629;
    box-shadow: 0 0 0 2px rgba(236, 86, 41, 0.2);
}

/* ==========================================================================
   11. PLANTILLA SINGLE EVENTO (single-evento.php)
   ========================================================================== */
.mdos-single-event-main {
    padding-top: 110px;
    padding-bottom: 80px;
}

.mdos-breadcrumbs-wrap {
    margin-bottom: 28px;
}

.mdos-back-link {
    color: #A1A1A6;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.mdos-back-link:hover {
    color: #EC5629;
}

.mdos-single-event-header {
    display: grid;
    grid-template-columns: 440px 1fr;
    gap: 48px;
    margin-bottom: 70px;
}

.mdos-single-poster-col {
    border-radius: 24px;
    overflow: hidden;
    background-color: #141414;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mdos-single-poster-img {
    width: 100%;
    height: auto;
    display: block;
}

.mdos-single-placeholder {
    height: 480px;
}

.mdos-single-title {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin: 12px 0 6px 0;
}

.mdos-single-artist {
    font-size: 22px;
    font-weight: 600;
    color: #EC5629;
    margin: 0 0 24px 0;
}

.mdos-tag-producer {
    font-size: 13px;
    color: #888888;
    margin-left: 12px;
    font-weight: 600;
}

.mdos-event-meta-card {
    background-color: #141414;
    border-radius: 18px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mdos-meta-item {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 8px;
}

.mdos-meta-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.mdos-meta-label {
    color: #888888;
    font-weight: 600;
}

.mdos-meta-val {
    color: #FFFFFF;
    font-weight: 700;
}

.mdos-single-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.mdos-single-highlights-section {
    background-color: #0E0E0E;
    border-radius: 28px;
    padding: 48px;
    margin-bottom: 80px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.mdos-single-content {
    color: #CCCCCC;
    font-size: 16px;
    line-height: 1.8;
}

/* ==========================================================================
   12. RESPONSIVE DESIGN (TABLETS & SMARTPHONES)
   ========================================================================== */
@media (max-width: 1024px) {
    .mdos-events-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mdos-cta-box {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .mdos-single-event-header {
        grid-template-columns: 1fr;
    }

    .mdos-cards-fan-container {
        transform: scale(0.92);
        height: 390px;
    }
}

@media (max-width: 768px) {
    .mdos-mobile-toggle {
        display: inline-flex;
    }

    .mdos-nav-desktop {
        display: none; /* Menú móvil */
    }

    /* Cabecera en móvil: Hamburguesa y Logo juntos a la izquierda, Botón al extremo derecho */
    .mdos-header-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
    }

    .mdos-mobile-toggle {
        display: inline-flex;
        margin-right: 0;
        margin-left: -4px;
        flex-shrink: 0;
    }

    .mdos-logo-link {
        display: inline-flex;
        align-items: center;
        margin-right: auto; /* Empuja el botón al extremo derecho */
        margin-left: 2px;
    }

    .mdos-header-actions {
        flex-shrink: 0;
    }

    /* PADDINGS EN RESPONSIVE: Exactamente 75px superior e inferior */
    .mdos-section {
        padding-top: 75px !important;
        padding-bottom: 75px !important;
    }

    .mdos-hero-section {
        /* 80px altura cabecera fija + 75px padding superior solicitado */
        padding-top: 155px !important;
        padding-bottom: 75px !important;
    }

    /* Subtítulo en responsive: Exactamente en dos líneas limpias */
    .mdos-hero-subtitle {
        font-size: 15px;
        line-height: 1.5;
        max-width: 320px;
        margin: 0 auto 28px auto;
    }

    .mdos-sub-line {
        display: block;
    }

    .mdos-sub-sep {
        display: none;
    }

    .mdos-events-section {
        /* Para que la separación entre el botón del Hero y 'Eventos destacados' sea de 75px exactos */
        padding-top: 0 !important;
        padding-bottom: 75px !important;
    }

    .mdos-about-section {
        padding-top: 75px !important;
        padding-bottom: 75px !important;
    }

    .mdos-services-section {
        padding-top: 75px !important;
        padding-bottom: 75px !important;
    }

    .mdos-cta-section {
        padding-top: 75px !important;
        padding-bottom: 75px !important;
    }

    /* Caja CTA y Título Prominente en Responsive */
    .mdos-cta-box {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 42px 24px;
        gap: 24px;
    }

    .mdos-cta-heading {
        font-size: clamp(32px, 8vw, 42px) !important;
        font-weight: 900 !important;
        line-height: 1.1 !important;
        letter-spacing: -0.03em !important;
        color: #FFFFFF !important;
        margin: 0 auto;
    }

    .mdos-cta-text-col p {
        font-size: 15px;
        line-height: 1.6;
        max-width: 440px;
        margin: 0 auto;
    }

    .mdos-cta-actions-col {
        width: 100%;
        max-width: 380px;
        margin: 0 auto;
    }

    .mdos-events-grid {
        grid-template-columns: 1fr;
    }

    .mdos-services-grid {
        grid-template-columns: 1fr;
    }

    .mdos-footer-inner {
        grid-template-columns: 1fr;
    }

    .mdos-form-row {
        grid-template-columns: 1fr;
    }

    .mdos-cards-fan-container {
        transform: scale(0.74);
        height: 330px;
        margin: 16px auto 32px auto;
    }
}

@media (max-width: 480px) {
    .mdos-cards-fan-container {
        transform: scale(0.62);
        height: 290px;
    }
}
