/* Hero del home · fondo negro plano, titular en forma de pregunta, retrato dentro de la
   silueta del logo (tres esquinas redondeadas, la superior derecha recta).
   Clases con prefijo fh- para no chocar con las reglas .tr-* de face-master.css, que
   siguen en foco.html e innova-desde-adentro.html. Sin degradados ni sombras. */

.fh-hero {
    --fh-header: 56px;
    background: #000;
    color: #fff;
    min-height: calc(100svh - var(--fh-header));
    display: flex;
    font-family: 'Inter', sans-serif;
}

.fh-main {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 32px 20px 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: stretch;
}

.fh-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.fh-titulo {
    margin: 0;
    font-size: clamp(2rem, 8.6vw, 2.7rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #fff;
    text-wrap: balance;
}

.fh-sub {
    margin: 16px 0 24px;
    max-width: 30em;
    font-size: 1rem;
    line-height: 1.55;
    color: #c8c9ca;
}

.fh-acciones {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px 24px;
}

.fh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color .2s, border-color .2s;
}

.fh-btn-primario {
    flex: 1 1 100%;
    padding: 0 36px;
    background: #fff;
    color: #000;
    border-radius: 100px;
}

.fh-btn-primario:hover { background: #e6e6e6; }

.fh-btn-texto {
    min-height: 0;
    padding: 0 0 2px;
    color: #fff;
    border-bottom: 1px solid #8d8e8f;
}

.fh-btn-texto:hover { border-color: #fff; }

.fh-btn:focus-visible { outline: 2px solid #0051ff; outline-offset: 4px; }

/* Retrato en la silueta del logo */
.fh-foto {
    position: relative;
    min-height: 360px;
    border-radius: 40px 0 40px 40px;
    overflow: hidden;
    background: #111;
}

.fh-foto img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 12%;
    display: block;
}

.fh-nombre {
    display: none;
    position: absolute;
    left: 24px;
    bottom: 24px;
    padding: 10px 14px;
    border-radius: 10px;
    background: #000;
    font-size: .8rem;
    font-weight: 600;
}

.fh-nombre small {
    display: block;
    margin-top: 2px;
    font-size: .7rem;
    font-weight: 400;
    color: #8d8e8f;
}

.fh-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 45%;
    opacity: 0;
    transition: opacity .4s;
    background: #000;
}

.fh-video-listo .fh-video { opacity: 1; }

.fh-visual {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.fh-visual .fh-foto { flex: 1; }

.fh-controles {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fh-controles[hidden] { display: none; }

.fh-bienvenida {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 8px 20px 8px 8px;
    border: 1px solid #8d8e8f;
    border-radius: 100px;
    background: transparent;
    color: #fff;
    font: 700 .8rem 'Inter', sans-serif;
    letter-spacing: .1em;
    cursor: pointer;
}

.fh-pantalla {
    display: none;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 0;
    border-radius: 50%;
    background: #000;
    color: #fff;
    cursor: pointer;
}

.fh-pantalla svg { width: 20px; height: 20px; fill: currentColor; }

.fh-play {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fff;
    color: #000;
}

.fh-play svg { width: 16px; height: 16px; fill: currentColor; }

.fh-cerrar {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: #000;
    color: #fff;
    cursor: pointer;
}

.fh-cerrar[hidden] { display: none; }
.fh-cerrar svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.fh-bienvenida:focus-visible,
.fh-pantalla:focus-visible,
.fh-cerrar:focus-visible { outline: 2px solid #0051ff; outline-offset: 3px; }

/* Con el video en reproducción completa se ocultan los rótulos para no tapar los controles */
.fh-activo .fh-nombre,
.fh-foto.fh-activo ~ .fh-controles { display: none; }

@media (min-width: 992px) {
    .fh-hero { --fh-header: 70px; }
    .fh-main {
        grid-template-columns: 1.1fr .9fr;
        gap: 56px;
        padding: 44px 48px;
    }
    .fh-titulo { font-size: clamp(2.8rem, 4.2vw, 4.4rem); }
    .fh-sub { margin: 22px 0 34px; font-size: 1.1rem; }
    .fh-acciones { justify-content: flex-start; gap: 14px 30px; }
    .fh-btn-primario { flex: 0 0 auto; }
    .fh-foto { min-height: 480px; border-radius: 56px 0 56px 56px; }
    .fh-foto img { object-position: center 18%; }
    .fh-nombre { display: block; }
    .fh-video { object-position: center 20%; }
    .fh-visual { position: relative; display: block; }
    .fh-visual .fh-foto { height: 100%; }
    .fh-controles { position: absolute; right: 24px; bottom: 24px; }
    .fh-bienvenida { flex: none; border: 0; background: #000; }
    .fh-pantalla { display: flex; }
}
