/* ==========================================
   SECCIÓN HERO Y LOGO INTERACTIVO
   ========================================== */
.hero {
    min-height: 60vh;
    padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 5%, 10%);
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.hero-content {
    display: flex;
    flex-direction: column !important;
    text-align: center !important;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}
 

     


/* Contenedor adaptativo para el logo interactivo */
.hero-logo-container {
    position: relative;
    display: flex;
    width: 100%;
    justify-content: center !important;
    align-items: center !important;
    height: clamp(200px, 40vw, 300px); /* Altura fluida según la pantalla */
    margin-bottom: 0.9%;
    cursor: pointer;
}

.hero-logo-container a[data-title]:hover::after {
    content: attr(data-title);
    position: absolute;
    left: var(--x, 50%);
    top: var(--y, 100%);
    display: inline-block;
    background: #0f1419;
    color: #e6e6e6;
    font-family: serif;
    font-style: italic;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    padding: 5px 12px;
    border: 1px solid #2a343d;
    border-radius: 2px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    pointer-events: none;
    z-index: 101;
}

.logo-fijo, 
.logo-animado {
    height: clamp(200px, 35vw, 300px); /* Escala de forma fluida y proporcional */
    width: auto;
    display: block;
    margin: 0 auto;
    max-width: 100%;
}

.logo-animado {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.2s ease; /* Simplificado para mejor rendimiento */
}

.hero-logo-container:hover .logo-animado {
    opacity: 1;
}

.cursor-tooltip {
    position: fixed;
    background: #0f1419;
    color: #e6e6e6;
    font-family: serif;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    padding: 5px 12px;
    border: 1px solid #2a343d;
    border-radius: 2px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    pointer-events: none;
    z-index: 1000;
}

.subtitulo {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--color-suave);
   
}

.hero h1 {
    font-family: var(--fuente-titulo);
    font-size: clamp(2rem, 5vw, 3rem); /* Tipografía fluida que evita desbordes en móviles */
    font-weight: 300;
    line-height: 0.8; /* Corregido para evitar superposición de líneas en textos largos */
    margin-bottom: 0.2rem;
    color: var(--color-texto);
}

.descripcion {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--color-suave);
    margin-bottom: 2.5rem;
    font-weight: 300;
    padding: 0 10px;
}

.hero-botones {
    display: flex;
    flex-wrap: wrap; /* CRUCIAL: Evita que los botones colisionen en pantallas angostas */
    margin-bottom: 0.2rem;
    gap: 1rem;
    justify-content: center;
    width: 100%;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    font-size: 0.9rem;
    text-decoration: none;
    border-radius: 1px;
    transition: all 0.3s ease;
    flex: 1 1 140px; /* Permite que los botones se adapten al espacio disponible */
    text-align: center;
}

.btn-principal {
    background-color: var(--color-texto);
    color: var(--color-fondo);
}

.btn-principal:hover {
    background-color: var(--color-acento);
}

.btn-secundario {
    border: 1px solid var(--color-texto);
    color: var(--color-texto);
}

.btn-secundario:hover {
    background-color: rgba(0, 0, 0, 0.03);
}

.hero-logo-container a[title] {
    position: relative;
}

/* ==========================================
   ESTILO PARA LA PORTADA REAL
   ========================================== */
.imagen-portada-real {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto; /* Centrado en todas las pantallas por defecto para evitar problemas visuales */
    border-radius: 4px;
    box-shadow: 10px 15px 30px rgba(0, 0, 0, 0.15);
}

.destacado-texto { 
    text-align: left;
}

/* Ajuste sutil extra para celulares muy pequeños */
@media (max-width: 480px) {
    .hero {
        min-height: auto;
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
}

