/* =========================================
   ESTILOS GENERALES Y NAVEGACIÓN
   ========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

body {
    background-color: #121212;
    color: #ffffff;
    line-height: 1.6;
}

/* Navegación y Header */
header {
    padding: 20px 50px;
    background-color: rgba(0, 0, 0, 0.9);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: bold;
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: #fff;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

nav a:hover {
    color: #d4af37;
}

/* Menú Hamburguesa (Responsive) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        width: 100%;
        position: absolute;
        top: 70px;
        left: 0;
        background: #000;
        text-align: center;
        border-bottom: 2px solid #d4af37;
    }

    .nav-menu.active {
        display: block;
    }

    .nav-menu ul {
        flex-direction: column;
        padding: 20px 0;
        gap: 15px;
    }
}

/* =========================================
   PÁGINA DE INICIO (HOME)
   ========================================= */

/* Hero Limpio - Pantalla completa */
.hero-limpio {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('Imagenes/parque-lezama-hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-content h1 {
    font-size: 4.5rem;
    letter-spacing: 5px;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.8rem;
    color: #d4af37;
    letter-spacing: 3px;
    margin-top: 10px;
}

/* =========================================
   PÁGINAS INTERNAS (ACTOR, ESCRITOR, ETC)
   ========================================= */

/* Título superior oscuro y elegante */
.page-title {
    text-align: center;
    /* Redujimos el 120px a 40px para que sea mucho más compacto */
    padding: 20px 20px 30px;
    background-color: #0a0a0a;
    border-bottom: 1px solid #333;
}

.page-title h1 {
    font-size: 3rem;
    letter-spacing: 4px;
    color: #fff;
}

.page-title p {
    color: #d4af37;
    letter-spacing: 2px;
    font-size: 1.2rem;
    margin-top: 5px;
    text-transform: uppercase;
}

/* Contenedor general */
.actor-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
}

.actor-content h2 {
    color: #d4af37;
    margin-bottom: 25px;
    text-transform: uppercase;
    border-left: 4px solid #d4af37;
    padding-left: 15px;
    font-size: 1.6rem;
}

.reel-section,
.works-section,
.photos-section,
.cv-section {
    margin-bottom: 70px;
}

/* Magia para que el video de YouTube sea 100% responsive */
.video-responsive {
    position: relative;
    padding-bottom: 56.25%;
    /* Proporción 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    border: 1px solid #333;
    border-radius: 8px;
    background: #000;
}

.video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Botón de CV Gigante */
.cv-section {
    text-align: center;
}

.btn-cv {
    display: inline-block;
    padding: 18px 40px;
    font-size: 1.2rem;
    background-color: #d4af37;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.btn-cv:hover {
    background-color: #fff;
    transform: scale(1.05);
}

/* =========================================
   GRILLA DE FOTOS (BOOK)
   ========================================= */

.grid-fotos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.foto-card {
    background: #1a1a1a;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #333;
    text-align: center;
    transition: transform 0.3s ease;
}

.foto-card:hover {
    transform: translateY(-5px);
    border-color: #d4af37;
}

.foto-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 15px;
}

/* =========================================
   TARJETAS DE TRAYECTORIA (FICHA PREMIUM)
   ========================================= */

.grid-trayectoria {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* El Contenedor Principal (La Tarjeta) */
.tarjeta-lista {
    background-color: #1a1a1a;
    border-radius: 10px;
    border: 1px solid #333;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    overflow: hidden;
    transition: all 0.3s ease;
}

.tarjeta-lista:hover {
    transform: translateY(-5px);
    border-color: #d4af37;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
}

/* La foto como "Banner" elegante */
.tarjeta-lista img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-bottom: 3px solid #d4af37;
}

.tarjeta-lista h3 {
    color: #d4af37;
    font-size: 1.3rem;
    text-align: center;
    margin: 20px 0 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Contenedor general de la lista */
.tarjeta-lista ul {
    list-style: none;
    padding: 10px 20px 25px;
}

/* Cada ítem de la lista encapsulado */
.tarjeta-lista ul li {
    background-color: #121212;
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 10px;
    padding: 12px 15px;
    border-radius: 6px;
    border-left: 2px solid #333;
    transition: all 0.2s ease;
}

.tarjeta-lista ul li:last-child {
    margin-bottom: 0;
}

/* Efecto al pasar el mouse por cada trabajo */
.tarjeta-lista ul li:hover {
    border-left-color: #d4af37;
    background-color: #000;
}

.tarjeta-lista ul li strong {
    color: #fff;
    display: block;
    font-size: 1.05rem;
    margin-bottom: 2px;
}

/* =========================================
   LIGHTBOX (MODAL DE FOTOS)
   ========================================= */

/* Indicamos que las fotos de la grilla se pueden clickear */
.foto-card img {
    cursor: pointer;
}

/* El fondo oscuro del Modal */
.modal {
    display: none;
    /* Oculto por defecto */
    position: fixed;
    z-index: 2000;
    /* Por encima de todo, incluido el menú */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.92);
    /* Casi negro puro */
    align-items: center;
    justify-content: center;
}

/* Clase que agregamos con JS para mostrarlo */
.modal.show {
    display: flex;
}

/* La imagen ampliada */
.modal-contenido {
    max-width: 90%;
    max-height: 90vh;
    border: 2px solid #d4af37;
    border-radius: 4px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.8);
    animation: zoomIn 0.3s ease;
    /* Efecto de aparición */
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* La cruz para cerrar */
.cerrar-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.cerrar-modal:hover {
    color: #d4af37;
}

/* =========================================
   PÁGINA ESCRITOR (DISEÑO PRESTIGIO 60/40)
   ========================================= */

.escritor-content {
    max-width: 1100px;
    /* Lo agrandamos un poco para que la línea rinda mejor */
    margin: 0 auto;
    padding: 50px 20px;
}

/* El contenedor flex que pone Bio y Premios a la par */
.autor-top-block {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    align-items: flex-start;
}

/* Bio Literaria (60%) */
.bio-literaria {
    flex: 6;
    /* Toma el 60% del espacio */
    text-align: justify;
    font-size: 1.15rem;
    color: #ccc;
    line-height: 1.8;
}

.bio-literaria em {
    color: #d4af37;
    font-style: italic;
}

/* Reconocimientos (40%) */
.premios-autor {
    flex: 4;
    /* Toma el 40% del espacio */
    background-color: #0a0a0a;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid #d4af37;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.premios-autor h2 {
    color: #d4af37;
    margin-bottom: 15px;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.premios-autor ul {
    list-style: none;
    padding: 0;
}

.premios-autor ul li {
    font-size: 0.9rem;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #262626;
    color: #bbb;
    line-height: 1.5;
}

.premios-autor ul li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.premios-autor ul li strong {
    color: #fff;
    display: block;
    margin-bottom: 2px;
}

/* Grilla de los 4 Pilares (Abajo, ocupando el 100%) */
.grid-pilares {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
    /* ¡ESTA LÍNEA SEPARA LOS BOTONES DE LA BIO! */
}

.pilar-card {
    display: block;
    background-color: #1a1a1a;
    padding: 35px 20px;
    text-align: center;
    border-radius: 8px;
    border: 1px solid #333;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.pilar-card:hover {
    transform: translateY(-5px);
    border-color: #d4af37;
    background-color: #222;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

.pilar-card h3 {
    color: #d4af37;
    font-size: 1.3rem;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.pilar-card p {
    color: #aaa;
    font-size: 0.9rem;
}

/* RESPONSIVE: En celulares el bloque 60/40 pasa a ser una sola columna */
@media (max-width: 850px) {
    .autor-top-block {
        flex-direction: column;
        gap: 30px;
    }

    .bio-literaria,
    .premios-autor {
        width: 100%;
        flex: none;
    }
}

/* =========================================
   CATÁLOGO DRAMATURGIA (LISTA HORIZONTAL)
   ========================================= */

.catalogo-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 50px 20px;
}

/* Filtros Minimalistas Oscuros */
.seccion-filtros {
    margin-bottom: 50px;
    text-align: center;
}

.label-f {
    display: block;
    font-size: 0.85rem;
    font-weight: bold;
    text-transform: uppercase;
    color: #666;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.btn-f {
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 10px 22px;
    margin: 5px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: #ccc;
    transition: all 0.3s ease;
}

.btn-f:hover {
    border-color: #d4af37;
    color: #fff;
}

.btn-f.is-checked {
    background: #d4af37;
    color: #000;
    border-color: #d4af37;
}

.btn-count {
    font-weight: 700;
    margin-left: 5px;
    opacity: 0.7;
}

.btn-f.is-checked .btn-count {
    color: #000;
    opacity: 1;
}

/* Contenedor de la lista (Isotope requiere el 100% de ancho) */
.lista-teatro {
    width: 100%;
    min-height: 500px;
}

.element-item {
    width: 100%;
    margin-bottom: 25px;
}

/* Tarjeta Lista Premium */
.card-lista-premium {
    background: #121212;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 30px;
    gap: 40px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.card-lista-premium:hover {
    transform: translateX(5px);
    /* Se desliza sutilmente a la derecha */
    border-color: #d4af37;
    background: #161616;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.08);
}

/* Columna 1: Info (Ancho fijo) */
.col-info {
    flex: 0 0 260px;
    display: flex;
    flex-direction: column;
}

.premio-badge {
    align-self: flex-start;
    background: #d4af37;
    color: #000;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.tt-obra {
    font-size: 1.5rem;
    color: #fff;
    margin: 0 0 10px 0;
    line-height: 1.2;
    font-weight: 700;
}

.badge-meta {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.personajes-meta {
    font-size: 0.9rem;
    color: #888;
    border-top: 1px dashed #333;
    padding-top: 15px;
    margin-top: auto;
}

.personajes-meta strong {
    color: #ccc;
}

/* Columna 2: Sinopsis (Ancho fluido) */
.col-sinopsis {
    flex: 1;
    position: relative;
    padding-top: 5px;
}

.sinopsis-v2 {
    font-size: 0.95rem;
    color: #aaa;
    line-height: 1.6;
    overflow: hidden;
    position: relative;
    transition: all 0.5s ease;
    max-height: 80px;
    /* Cerrada muestra ~3 líneas */
}

.sinopsis-v2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(transparent, #121212);
    transition: opacity 0.3s;
}

.card-lista-premium:hover .sinopsis-v2 {
    max-height: 800px;
}

.card-lista-premium:hover .sinopsis-v2::after {
    opacity: 0;
}

/* Columna 3: Acción (Botón) */
.col-accion {
    flex: 0 0 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid #2a2a2a;
    padding-left: 30px;
    align-self: stretch;
    /* Ocupa toda la altura para centrar el botón */
}

.btn-download-v2 {
    width: 100%;
    background: #d4af37;
    color: #000 !important;
    text-align: center;
    padding: 15px 10px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    transition: 0.3s;
    text-transform: uppercase;
}

.btn-download-v2:hover {
    background: #fff;
    transform: scale(1.05);
}

/* Responsive: Celulares (Se apilan uno abajo del otro) */
@media (max-width: 850px) {
    .card-lista-premium {
        flex-direction: column;
        gap: 20px;
        padding: 25px 20px;
    }

    .col-info {
        flex: auto;
        width: 100%;
    }

    .col-sinopsis {
        width: 100%;
    }

    .col-accion {
        width: 100%;
        flex: auto;
        border-left: none;
        padding-left: 0;
        padding-top: 20px;
        border-top: 1px solid #2a2a2a;
    }
}

/* =========================================
   BLOG LITERARIO (MIENTRAS TANTO ESCRIBO)
   ========================================= */

.blog-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 20px 100px;
}

/* Filtros */
.filtros-escritos {
    margin-bottom: 40px;
    text-align: center;
    border-bottom: 1px solid #2a2a2a;
    padding-bottom: 20px;
}

.btn-f-esc {
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: bold;
    text-transform: uppercase;
    color: #ccc;
    transition: 0.3s;
}

.btn-f-esc:hover {
    border-color: #d4af37;
    color: #fff;
}

.btn-f-esc.is-checked {
    background: #d4af37;
    color: #000;
    border-color: #d4af37;
}

.btn-premiado {
    border-color: #d4af37;
    color: #d4af37;
}

/* El Índice (Líneas minimalistas) */
.grid-escritos {
    width: 100%;
}

.escrito-item {
    width: 100%;
    margin-bottom: 10px;
}

.linea-autor {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 15px;
    border-bottom: 1px solid #222;
    cursor: pointer;
    transition: all 0.3s;
}

.linea-autor:hover {
    background: #1a1a1a;
    padding-left: 25px;
    border-left: 3px solid #d4af37;
}

.info-izq {
    display: flex;
    flex-direction: column;
}

.tag-autor {
    font-size: 0.75rem;
    font-weight: bold;
    color: #888;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.tt-autor {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin: 0;
    color: #fff;
    font-weight: normal;
}

.badge-premio {
    font-size: 0.8rem;
    font-weight: bold;
    color: #d4af37;
    text-transform: uppercase;
    border: 1px solid #d4af37;
    padding: 3px 8px;
    border-radius: 4px;
}

.badge-premio-chico {
    color: #d4af37;
    font-size: 1.2rem;
    margin-left: 10px;
}

/* Sagas (Relatos Continuados) */
.bloque-continuado {
    background: #111;
    border: 1px solid #333;
    border-radius: 6px;
    overflow: hidden;
}

.header-cont {
    padding: 25px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #161616;
    transition: 0.3s;
}

.header-cont:hover {
    background: #1a1a1a;
}

.tt-saga {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    margin: 0;
    color: #fff;
}

.btn-expandir {
    font-size: 0.8rem;
    color: #aaa;
    border: 1px solid #444;
    padding: 5px 10px;
    border-radius: 4px;
}

.hijos-cont {
    display: none;
    background: #0a0a0a;
    padding-left: 20px;
    border-top: 1px solid #333;
}

.linea-capitulo {
    border-bottom: 1px dashed #222;
}

.linea-capitulo:last-child {
    border-bottom: none;
}

.cap-tit {
    font-size: 1.2rem;
    color: #ccc;
}

/* =========================================
   MODAL DE LECTURA (E-READER STYLE)
   ========================================= */
#modal-autor {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #0f0f0f;
    /* Negro tinta */
    overflow-y: auto;
    padding: 10vh 20px;
}

#modal-autor.show-modal {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-inner {
    max-width: 700px;
    margin: 0 auto;
    padding-bottom: 50px;
}

.btn-x {
    position: fixed;
    top: 20px;
    right: 30px;
    font-size: 50px;
    color: #666;
    cursor: pointer;
    font-family: sans-serif;
    transition: 0.3s;
    line-height: 1;
}

.btn-x:hover {
    color: #d4af37;
}

/* Estilos internos del cuento */
.lector-header {
    text-align: center;
    margin-bottom: 50px;
    border-bottom: 1px solid #222;
    padding-bottom: 30px;
}

.lector-tag {
    letter-spacing: 3px;
    color: #888;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 15px;
}

.lector-tt {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 10px;
}

.lector-saga {
    color: #aaa;
    font-style: italic;
    font-size: 1.1rem;
    margin-top: 10px;
}

.lector-premio {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid #d4af37;
    padding: 20px;
    border-radius: 4px;
    color: #d4af37;
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.lector-texto {
    font-family: 'Lora', serif;
    /* Tipografía oficial de libros */
    font-size: 1.25rem;
    line-height: 1.9;
    color: #ddd;
    text-align: justify;
}

.lector-texto p {
    margin-bottom: 25px;
}

@media (max-width: 768px) {
    .lector-tt {
        font-size: 2.2rem;
    }

    .lector-texto {
        font-size: 1.1rem;
        text-align: left;
    }

    .btn-x {
        right: 20px;
        top: 10px;
    }
}

/* =========================================
   VITRINA DE LIBROS
   ========================================= */
.grid-libros-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 400px));
    gap: 50px;
    justify-content: center;
    padding-top: 20px;
}

.libro-card {
    background: #1a1a1a;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #333;
    transition: transform 0.4s ease;
}

.libro-card:hover {
    transform: translateY(-10px);
    border-color: #d4af37;
}

.portada-container {
    background: #000;
    padding: 40px;
    text-align: center;
}

.portada-container img {
    max-width: 200px;
    height: auto;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s ease;
}

.libro-card:hover .portada-container img {
    transform: scale(1.05);
}

.info-container {
    padding: 30px;
    text-align: center;
}

.info-container h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.info-container p {
    color: #aaa;
    font-size: 1rem;
    margin-bottom: 25px;
    line-height: 1.6;
}

.btn-compra {
    display: inline-block;
    background: #d4af37;
    color: #000 !important;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    transition: 0.3s;
}

.btn-compra:hover {
    background: #fff;
    transform: scale(1.05);
}

/* --- Magia para el colapsado de sinopsis --- */
.sinopsis-v2 {
    font-size: 1rem;
    color: #aaa;
    line-height: 1.6;
    margin-bottom: 25px;
    /* Altura inicial limitada (aprox 3 líneas) */
    max-height: 80px;
    overflow: hidden;
    position: relative;
    transition: all 0.5s ease;
}

/* El degradado sutil para indicar que sigue el texto */
.sinopsis-v2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(transparent, #1a1a1a);
    transition: opacity 0.3s;
}

/* Al pasar el mouse, se expande y desaparece el degradado */
.libro-card:hover .sinopsis-v2 {
    max-height: 600px;
    /* Suficiente para cualquier sinopsis */
}

.libro-card:hover .sinopsis-v2::after {
    opacity: 0;
}

/* =========================================
   PÁGINA SERVICIOS (LOBBY)
   ========================================= */

.servicios-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
    text-align: center;
}

.servicios-container h1 {
    font-size: 3rem;
    letter-spacing: 4px;
    margin-bottom: 10px;
}

.subtitulo {
    color: #d4af37;
    margin-bottom: 50px;
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.grid-servicios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card {
    background: #1a1a1a;
    padding: 30px;
    border: 1px solid #333;
    border-radius: 8px;
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card:hover {
    transform: translateY(-10px);
    border-color: #d4af37;
}

.card h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.card p {
    color: #aaa;
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border: 1px solid #d4af37;
    color: #d4af37;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    align-self: center;
}

.btn:hover {
    background-color: #d4af37;
    color: #000;
}

/* Ajuste para móviles */
@media (max-width: 600px) {
    .grid-servicios {
        grid-template-columns: 1fr;
    }
}

/* Configuración de scroll suave para los anclajes del menú */
html {
    scroll-behavior: smooth;
}

/* Estilo general de las secciones de servicios */
.servicio-bloque {
    padding: 80px 20px;
    max-width: 900px;
    margin: 0 auto;
    border-bottom: 1px solid #333;
    /* Separador sutil */
}

/* Estilo del menú pegajoso (Sticky) */
nav {
    position: sticky;
    top: 0;
    background: #000;
    /* Fondo oscuro */
    padding: 20px;
    text-align: center;
    z-index: 1000;
}

nav a {
    color: #fff;
    margin: 0 20px;
    text-decoration: none;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Botón del Laboratorio */
.btn {
    display: inline-block;
    padding: 12px 25px;
    background: #fff;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    transition: 0.3s;
}

.btn:hover {
    background: #444;
    color: #fff;
}

/* --- Estilos para la Página de Producción --- */

.container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.hero-subpagina {
    text-align: center;
    margin-bottom: 50px;
    border-bottom: 1px solid #333;
    padding-bottom: 30px;
}

.hero-subpagina h1 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.subtitle {
    font-size: 1.2rem;
    color: #888;
    font-style: italic;
}

/* El estilo de "Tarjeta" para el contenido */
.contenido-detalle {
    background: #121212;
    /* Un gris muy oscuro casi negro */
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #222;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin-bottom: 40px;
}

.intro-texto {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #ddd;
    border-left: 3px solid #ff4500;
    /* Un toque de color de acento */
    padding-left: 20px;
}

.contenido-detalle h2,
.contenido-detalle h3 {
    color: #fff;
    margin-top: 30px;
}

.lista-servicios {
    list-style: none;
    padding: 0;
}

.lista-servicios li {
    padding: 12px 0;
    border-bottom: 1px solid #222;
    color: #ccc;
    font-size: 0.95rem;
}

.lista-servicios li::before {
    content: "—";
    color: #ff4500;
    margin-right: 10px;
}

/* Botón de acción */
.cta-section {
    text-align: center;
    margin-top: 40px;
}

.btn-principal {
    display: inline-block;
    padding: 15px 30px;
    background: #fff;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-principal:hover {
    background: #ff4500;
    color: #fff;
    transform: translateY(-3px);
}

/* Estilos para Contacto */
.contacto-container {
    max-width: 800px;
    margin: 60px auto;
}

.contacto-header {
    text-align: center;
    margin-bottom: 50px;
}

.contacto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card-contacto {
    background: #1a1a1a;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #333;
    transition: transform 0.3s ease;
}

.card-contacto h2 {
    margin-top: 0;
    color: #ff4500;
    /* Usamos tu color de acento */
    font-size: 1.5rem;
}

.link-contacto {
    display: block;
    margin: 20px 0;
    color: #fff;
    font-size: 1.2rem;
    text-decoration: none;
}

.btn-contacto {
    display: inline-block;
    padding: 10px 20px;
    background: #fff;
    color: #000;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.lista-redes {
    list-style: none;
    padding: 0;
}

.lista-redes li {
    margin: 15px 0;
}

.lista-redes a {
    color: #ccc;
    text-decoration: none;
    font-size: 1.1rem;
}

.lista-redes a:hover {
    color: #fff;
    text-decoration: underline;
}

/* =========================================
   ESTILOS PRENSA PREMIUM CON IMÁGENES
   ========================================= */
.grid-prensa {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.card-prensa {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 10px;
    overflow: hidden;
    /* Clave para que los bordes redondeados corten la imagen */
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card-prensa:hover {
    transform: translateY(-5px);
    border-color: #d4af37;
    /* El toque dorado característico */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

/* Contenedor de la foto para que queden todas parejas */
.prensa-img-container {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-bottom: 2px solid #2a2a2a;
}

.prensa-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Recorta la foto proporcionalmente sin deformarla */
    transition: transform 0.5s ease;
}

.card-prensa:hover .prensa-thumb {
    transform: scale(1.05);
    /* Efecto zoom sutil al pasar el mouse */
}

/* Bloque interno de texto para darle aire */
.prensa-info-block {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.badge-medio {
    color: #d4af37;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.card-prensa h3 {
    font-size: 1.3rem;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 10px;
}

.meta {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 15px;
}

.prensa-descripcion {
    font-size: 0.95rem;
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 20px;
    border-left: 2px solid #333;
    padding-left: 12px;
    flex-grow: 1;
    /* Empuja el botón siempre hacia abajo para que queden alineados */
}

.btn-prensa {
    display: inline-block;
    text-align: center;
    padding: 12px 20px;
    border: 1px solid #d4af37;
    color: #d4af37;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: bold;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.3s ease;
    margin-top: auto;
    /* Alineación perfecta al fondo de la tarjeta */
}

.btn-prensa:hover {
    background: #d4af37;
    color: #000;
}

/* =========================================
   ESTILOS PREMIOS - DISEÑO SOBRIO Y LISTA
   ========================================= */
.contenedor-premios-sobrio {
    max-width: 900px;
    margin: 0 auto;
}

.titulo-categoria-premio {
    font-size: 1.8rem;
    color: #fff;
    margin-top: 50px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #444;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.lista-premios {
    display: flex;
    flex-direction: column;
}

.item-premio {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    border-bottom: 1px solid #222;
    transition: background 0.3s ease;
}

.item-premio:hover {
    background: rgba(255, 255, 255, 0.02);
    /* Efecto sutil al pasar el mouse */
}

.premio-info {
    flex-grow: 1;
    padding-right: 30px;
}

.badge-galardon {
    display: inline-block;
    color: #d4af37;
    /* Dorado institucional */
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.item-premio h3 {
    font-size: 1.4rem;
    color: #fff;
    margin: 0 0 5px 0;
    line-height: 1.3;
}

.item-premio p {
    font-size: 1rem;
    color: #aaa;
    margin: 0;
}

.item-premio p strong {
    color: #ddd;
    font-style: italic;
}

.premio-accion {
    flex-shrink: 0;
    /* Evita que el botón se achique */
}

.btn-premio-lineal {
    display: inline-block;
    padding: 10px 24px;
    border: 1px solid #d4af37;
    color: #d4af37;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-premio-lineal:hover {
    background: #d4af37;
    color: #000;
}

/* Responsivo para celulares: el botón baja si no hay espacio */
@media (max-width: 600px) {
    .item-premio {
        flex-direction: column;
        align-items: flex-start;
    }

    .premio-info {
        padding-right: 0;
        margin-bottom: 15px;
    }

    .btn-premio-lineal {
        width: 100%;
        text-align: center;
    }
}

/* =========================================
   PREMIOS SUTILES EN EL HOME (INDEX)
   ========================================= */
.premios-home {
    background: #111;
    /* Un fondo apenas diferente al negro puro para despegarlo del Hero */
    padding: 60px 20px;
    text-align: center;
    border-bottom: 1px solid #222;
    /* Línea separadora sutil abajo */
}

.premios-home-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    max-width: 1000px;
    margin: 0 auto 40px auto;
}

.premio-home-item {
    flex: 1;
    padding: 0 30px;
    border-left: 1px solid #333;
    /* Línea divisoria elegante entre premios */
}

/* Le sacamos la línea izquierda al primero para que quede limpio */
.premio-home-item:first-child {
    border-left: none;
}

.premio-badge-home {
    display: block;
    color: #d4af37;
    /* Toque dorado muy sutil */
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.premio-obra-home {
    color: #fff;
    font-size: 1.1rem;
    font-style: italic;
    /* La cursiva le da un tono literario/teatral */
    margin: 0 0 5px 0;
}

.premio-ente-home {
    color: #777;
    /* Gris apagado para que no robe protagonismo */
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.link-ver-mas {
    display: inline-block;
    color: #888;
    font-size: 0.8rem;
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.link-ver-mas:hover {
    color: #d4af37;
    border-bottom: 1px solid #d4af37;
}

/* Adaptación para celulares: en vez de uno al lado del otro, se apilan con una línea abajo */
@media (max-width: 768px) {
    .premios-home-container {
        flex-direction: column;
        gap: 20px;
    }

    .premio-home-item {
        border-left: none;
        border-bottom: 1px solid #222;
        padding: 20px 0;
    }

    .premio-home-item:last-child {
        border-bottom: none;
    }
}

/* =========================================
   ESTILO PARA EL LOGO CLICKEABLE
   ========================================= */
.logo a {
    text-decoration: none;
    /* Le saca el subrayado horrible por defecto */
    color: #fff;
    /* Lo mantiene blanco y limpio */
    transition: color 0.3s ease;
    /* Transición suave para el hover */
}

/* Opcional: Un toque dorado al pasar el mouse por arriba */
.logo a:hover {
    color: #d4af37;
}

/* =========================================
   ESTILOS PARA DOSSIERS DIGITALES PRIVADOS
   ========================================= */
.bg-dossier {
    background: #0d0d0d;
    color: #e0e0e0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.dossier-container {
    max-width: 850px;
    margin: 0 auto;
    padding: 40px 20px 80px 20px;
}

.btn-volver-dossier {
    display: inline-block;
    color: #666;
    text-decoration: none;
    font-size: 0.85rem;
    margin-bottom: 40px;
    transition: color 0.3s;
}

.btn-volver-dossier:hover {
    color: #d4af37;
}

.dossier-header {
    text-align: center;
    border-bottom: 1px solid #222;
    padding-bottom: 40px;
    margin-bottom: 40px;
}

.dossier-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #666;
}

.dossier-header h1 {
    font-size: 2.8rem;
    color: #fff;
    margin: 10px 0;
    letter-spacing: 1px;
}

.dossier-subline {
    font-size: 1.1rem;
    color: #aaa;
}

.dossier-subline strong {
    color: #fff;
}

.dossier-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.dossier-badges span {
    background: #161616;
    border: 1px solid #333;
    padding: 8px 16px;
    font-size: 0.85rem;
    border-radius: 4px;
    color: #bbb;
}

.dossier-section {
    margin-bottom: 50px;
}

.sub-dossier {
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #fff;
    margin-bottom: 20px;
}

.texto-destacado-dossier {
    font-size: 1.15rem;
    font-style: italic;
    color: #d4af37;
    line-height: 1.5;
    margin-bottom: 20px;
    border-left: 3px solid #d4af37;
    padding-left: 15px;
}

.texto-comun-dossier {
    color: #b0b0b0;
    font-size: 1rem;
}

/* =========================================
   NUEVO: FICHA ARTÍSTICA HORIZONTAL
   ========================================= */
.ficha-horizontal-dossier {
    background: #141414;
    padding: 20px 25px;
    border-radius: 6px;
    border: 1px solid #222;
    display: flex;
    flex-wrap: wrap;
    gap: 15px 30px;
}

.ficha-horizontal-dossier p {
    margin: 0;
    font-size: 0.95rem;
    color: #e0e0e0;
}

.ficha-horizontal-dossier p strong {
    color: #888;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-right: 5px;
}

/* =========================================
   NUEVO: CONTENEDOR DEL FLYER LIMITADO
   ========================================= */
.flyer-dossier-container {
    text-align: center;
    margin-top: 20px;
}

.flyer-dossier-img {
    max-width: 450px;
    /* Acá está la magia para que no se vea gigante */
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    border: 1px solid #333;
    transition: transform 0.3s ease;
    display: inline-block;
}

.flyer-dossier-img:hover {
    transform: scale(1.02);
}

/* Grilla Técnica */
.grid-tecnico-dossier {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.card-tecnica-sutil {
    background: #111;
    border: 1px solid #222;
    padding: 20px;
    border-radius: 6px;
}

.card-tecnica-sutil h3 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 10px;
}

.card-tecnica-sutil p {
    font-size: 0.9rem;
    color: #999;
    margin: 0;
}

/* Footer del Dossier */
.dossier-footer {
    text-align: center;
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid #222;
}

.dossier-footer h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 10px;
}

.dossier-footer p {
    color: #aaa;
    margin-bottom: 30px;
}

.btn-dossier-cta {
    display: inline-block;
    background: #d4af37;
    color: #000;
    text-decoration: none;
    padding: 15px 35px;
    font-weight: bold;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: transform 0.2s, background 0.2s;
}

.btn-dossier-cta:hover {
    transform: translateY(-2px);
    background: #f1c40f;
}

.link-dossier-mail {
    display: inline-block;
    margin-top: 15px;
    color: #666;
    font-size: 0.85rem;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s;
}

.link-dossier-mail:hover {
    color: #bbb;
    border-bottom-color: #bbb;
}

/* Responsivo para pantallas chicas */
@media (max-width: 768px) {
    .dossier-header h1 {
        font-size: 2.2rem;
    }
}