@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;700&display=swap');

:root {
    --feh-bg: #321216;
    --feh-deep: #210c0f;
    --feh-orange: #d35d19;
    --feh-yellow: #fffca0;
    --feh-white: #ffffff;
    --feh-layout: 70%;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--feh-bg);
    color: var(--feh-white);
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

.feh-site {
    width: 100%;
    overflow: hidden;
    background: var(--feh-bg);
}

/* =========================================================
   CABECERA
   ========================================================= */

.feh-top {
    position: relative;
    overflow: hidden;
    background:
        url('../img/banner-festival-de-las-humanidades.jpg')
        center / cover no-repeat;
}

.feh-header {
    position: relative;
    z-index: 20;
    width: 100%;
    min-height: 112px;
    overflow: hidden;
    border: 0;
    outline: 0;
    border-radius: 22px 22px 0 0;
    box-shadow: none;
}


.feh-header__inner {
    position: relative;
    z-index: 2;
    width: var(--feh-layout);
    min-height: 112px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.feh-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.feh-brand__logo {
    display: block;
    width: auto;
    height: 68px;
    object-fit: contain;
}

.feh-brand__divider {
    width: 2px;
    height: 56px;
    background: #321216;
    flex: 0 0 auto;
}

.feh-brand__name {
    min-height: 68px;
    display: flex;
    align-items: center;
    padding-top: 1px;
    color: #321216;
    font-family: "Roboto Condensed", Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: .01em;
    text-transform: uppercase;
}

.feh-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 26px;
    margin-left: auto;
}

.feh-nav__link,
.feh-nav__portal {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--feh-white);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    transition:
        color .2s ease,
        background .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.feh-nav__link {
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}

.feh-nav__link:hover,
.feh-nav__link:focus-visible {
    color: var(--feh-yellow);
    border-bottom-color: var(--feh-yellow);
}

.feh-nav__portal {
    padding: 9px 15px;
    border: 1px solid rgba(255, 252, 160, .95);
}

.feh-nav__portal:hover,
.feh-nav__portal:focus-visible {
    background: var(--feh-yellow);
    border-color: var(--feh-yellow);
    color: #321216;
    transform: translateY(-2px);
}

/* =========================================================
   PORTADA
   ========================================================= */


.feh-hero {
    position: relative;
    z-index: 21;
    margin-top: -9px;
    min-height: 560px;
    display: flex;
    align-items: center;
    padding: 68px 0;
    overflow: hidden;
    border-top: 0;
    background:
   
}

.feh-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        repeating-linear-gradient(
            140deg,
            transparent 0 76px,
            rgba(255, 255, 255, .025) 76px 79px,
            transparent 79px 155px
        );
}

.feh-hero__content {
    position: relative;
    z-index: 2;
    width: var(--feh-layout);
    margin: 0 auto;
}

.feh-eyebrow {
    margin: 0 0 15px;
    color: var(--feh-orange);
    font-family: "Roboto Condensed", Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: .16em;
    text-align: left;
    text-transform: uppercase;
    .feh-hero .feh-eyebrow {
    color: #321216;
}
}

.feh-hero h1 {
    max-width: 760px;
    margin: 0;
    color: var(--feh-yellow);
    font-size: clamp(48px, 5.2vw, 76px);
    font-weight: 700;
    line-height: .96;
    letter-spacing: -.04em;
}

.feh-hero__lead {
    max-width: 700px;
    margin: 28px 0 0;
    color: var(--feh-white);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.55;
}

.feh-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 33px;
}

.feh-button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 21px;
    border: 1px solid var(--feh-orange);
    background: transparent;
    color: var(--feh-orange);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease,
        border-color .2s ease;
}

.
.feh-button--primary {
    background: transparent;
    border-color: #321216;
    color: #321216;
}
.feh-share-button {
    background: transparent;
    border-color: #321216;
    color: #321216;
}

.feh-button:hover,
.feh-button:focus-visible {
    background: #fffca0;
    border-color: #fffca0;
    color: #321216;
    transform: translateY(-2px);
}

/* =========================================================
   PRESENTACIÓN
   ========================================================= */

.feh-laboratorio {
    position: relative;
overflow: hidden;
    padding: 68px 0 78px;
    background:
        linear-gradient(
            180deg,
            var(--feh-deep),
            var(--feh-bg)
        );
}

.feh-zorro-conceptual {
    position: absolute;
    z-index: 0;
    width: clamp(620px, 52vw, 980px);
    height: auto;
    top: 40px;
    left: 100%;
    opacity: .14;
    pointer-events: none;
    user-select: none;
    transform-origin: center;
    animation: feh-zorro-recorrido 18s linear infinite;
    will-change: transform, opacity;
    transition:
    --zorro-cursor-x .4s ease,
    --zorro-cursor-y .4s ease;
}



.feh-section-heading,
.feh-constellations {
    position: relative;
    z-index: 2;
}

@keyframes feh-zorro-recorrido {
    0% {
        transform:
            translateX(calc(15vw + var(--zorro-cursor-x, 0px)))
            translateY(var(--zorro-cursor-y, 0px));
        opacity: 0;
    }

    5% {
        opacity: .14;
    }

    90% {
        opacity: .14;
    }

    100% {
        transform:
            translateX(calc(-185vw + var(--zorro-cursor-x, 0px)))
            translateY(calc(-8px + var(--zorro-cursor-y, 0px)));
        opacity: 0;
    }
}



.feh-section-heading {
    width: var(--feh-layout);
    max-width: none;
    margin: 0 auto 42px;
}

.feh-section-heading h2 {
    max-width: 900px;
    margin: 0 0 20px;
    color: var(--feh-yellow);
    font-size: clamp(32px, 3.4vw, 48px);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -.03em;
}

.feh-section-heading p:not(.feh-eyebrow) {
    max-width: 880px;
    margin: 0 0 14px;
    color: rgba(255, 255, 255, .88);
    font-size: 17px;
    line-height: 1.55;
}

/* =========================================================
   CONSTELACIONES
   ========================================================= */

.feh-constellations {
    width: var(--feh-layout);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
}

.feh-constellation {
    position: relative;
    min-height: 210px;
    padding: 28px 24px;
    overflow: hidden;
    border: 1px solid rgba(211, 93, 25, .58);
    background: rgba(255, 255, 255, .025);
    transition:
        transform .25s ease,
        background .25s ease,
        border-color .25s ease;
}

.feh-constellation::before,
.feh-constellation::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(211, 93, 25, .25);
    border-radius: 50%;
    transition: transform .35s ease;
}

.feh-constellation::before {
    width: 115px;
    height: 115px;
    right: -34px;
    top: -35px;
}

.feh-constellation::after {
    width: 52px;
    height: 52px;
    right: 37px;
    top: 38px;
}

.feh-constellation:hover {
    background: rgba(211, 93, 25, .14);
    border-color: var(--feh-orange);
    transform: translateY(-7px);
}

.feh-constellation:hover::before {
    transform: scale(1.35) rotate(20deg);
}

.feh-constellation:hover::after {
    transform: translate(-18px, 22px) scale(.75);
}

.feh-constellation__number {
    position: relative;
    z-index: 2;
    display: block;
    margin-bottom: 42px;
    color: var(--feh-orange);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
}

.feh-constellation h3 {
    position: relative;
    z-index: 2;
    margin: 0 0 10px;
    color: var(--feh-yellow);
    font-size: 25px;
    font-weight: 700;
    line-height: 1.2;
}

.feh-constellation p {
    position: relative;
    z-index: 2;
    margin: 0;
    color: rgba(255, 255, 255, .79);
    font-size: 15px;
    line-height: 1.5;
}

/* =========================================================
   PIE DE PÁGINA
   ========================================================= */

.feh-footer {
    color: #321216;
    background:
        url('../img/footer.jpg')
        center / cover no-repeat;
}

.feh-footer__inner {
    width: var(--feh-layout);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 85px;
    padding: 48px 0 32px;
}

.feh-footer h2 {
    margin: 0 0 22px;
    color: #321216;
    font-size: 24px;
    font-weight: 700;
}

.feh-footer__links {
    display: grid;
    gap: 12px;
    max-width: 350px;
}

.feh-footer__links a {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border: 1px solid rgba(50, 18, 22, .75);
    border-radius: 7px;
    color: #321216;
    font-size: 15px;
    font-weight: 700;
    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}

.feh-footer__links a:hover {
    background: #321216;
    color: var(--feh-yellow);
    transform: translateY(-2px);
}

.feh-footer__contact p {
    margin: 0 0 12px;
    color: #321216;
    font-size: 16px;
    line-height: 1.55;
}

.feh-footer__contact a {
    color: #321216;
    font-weight: 700;
}

.feh-footer__copyright {
    width: var(--feh-layout);
    margin: 0 auto;
    padding: 10px 0 20px;
    border-top: 1px solid rgba(50, 18, 22, .25);
    color: #321216;
    font-size: 13px;
}

/* =========================================================
   TABLETA
   ========================================================= */

@media (max-width: 1100px) {
    :root {
        --feh-layout: 90%;
    }

    .feh-header__inner {
        min-height: 104px;
        flex-wrap: wrap;
        padding: 12px 0;
    }

    .feh-nav {
        flex-wrap: wrap;
        gap: 18px;
    }

    .feh-constellations {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 650px) {
    .feh-header {
        min-height: 0;
        border-radius: 14px 14px 0 0;
        background-position: 62% center;
    }

    .feh-header__inner {
        min-height: 0;
        align-items: flex-start;
        flex-direction: column;
        gap: 13px;
        padding: 15px 0;
    }

    .feh-brand__logo {
        max-width: 185px;
        height: auto;
        max-height: 54px;
    }

    .feh-brand__divider {
        height: 47px;
    }

    .feh-brand__name {
        min-height: 54px;
        padding-top: 0;
        font-size: 10px;
    }

    .feh-nav {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4px 16px;
    }

    .feh-nav__link {
        justify-content: flex-start;
    }

    .feh-nav__portal {
        grid-column: 1 / -1;
        margin-top: 4px;
    }

    .feh-hero {
        min-height: 540px;
        padding-top: 56px;
        padding-bottom: 56px;
        background-position: 62% center;
    }

    .feh-hero__lead,
    .feh-section-heading p:not(.feh-eyebrow) {
        font-size: 16px;
    }

    .feh-actions {
        flex-direction: column;
    }

    .feh-button {
        width: 100%;
    }

    .feh-constellations {
        grid-template-columns: 1fr;
    }

    .feh-footer__inner {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .feh-footer__links {
        max-width: none;
    }
}
.feh-hero .feh-eyebrow {
    color: #321216 !important;
}

.feh-hero .feh-button,
.feh-hero .feh-button--primary,
.feh-hero .feh-share-button {
    background: transparent !important;
    border-color: #321216 !important;
    color: #321216 !important;
}

.feh-hero .feh-button:hover,
.feh-hero .feh-button:focus-visible {
    background: #fffca0 !important;
    border-color: #fffca0 !important;
    color: #321216 !important;
}

.feh-zorro-conceptual {
    width: 390px;
    top: 180px;
    right: -190px;
    opacity: .09;
}
.feh-zorro-conceptual {
    width: 520px;
    top: 130px;
    right: -210px;
    opacity: .09;
}
.feh-constellation {
    position: relative;
    overflow: hidden;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.feh-constellation::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(50, 18, 22, .66),
        rgba(50, 18, 22, .90)
    );
    z-index: 0;
    transition: background .4s ease;
}

.feh-constellation > * {
    position: relative;
    z-index: 1;
}

.feh-constellation--calle {
    background-image: url('../img/2014-16.jpg');
}

.feh-constellation--contacto {
    background-image: url('../img/2014-17.jpg');
}

.feh-constellation--creando {
    background-image: url('../img/2014-11.jpg');
}

.feh-constellation--urgencia {
    background-image: url('../img/2014-15.jpg');
}

.feh-constellation:hover::before {
    background: linear-gradient(
        rgba(50, 18, 22, .52),
        rgba(50, 18, 22, .82)
    );
}

.feh-constellation h3 {
    position: absolute;
    left: 30px;
    bottom: 26px;
    margin: 0;
    z-index: 2;
    transition: transform .35s ease;
}

.feh-constellation p {
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: 24px;
    margin: 0;
    z-index: 2;
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity .35s ease,
        transform .35s ease;
}

.feh-constellation:hover h3 {
    transform: translateY(-76px);
}

.feh-constellation:hover p {
    opacity: 1;
    transform: translateY(0);
}

.feh-constellation::before {
    background: linear-gradient(
        rgba(50, 18, 22, .12),
        rgba(50, 18, 22, .54)
    );
}

.feh-constellation:hover::before {
    background: linear-gradient(
        rgba(50, 18, 22, .56),
        rgba(50, 18, 22, .92)
    );
}
.feh-constellation h3 {
    display: inline-block;
    width: fit-content;
    padding: 5px 9px;
background: rgba(50, 18, 22, .68);
border: 1px solid rgba(211, 93, 25, .38);
    backdrop-filter: blur(2px);
    transition:
        transform .35s ease,
        background .35s ease,
        border-color .35s ease,
        padding .35s ease;
}

.feh-constellation:hover h3 {
    transform: translateY(-76px);
    background: transparent;
    border-color: transparent;
    padding-left: 0;
    padding-right: 0;
}
.feh-constellation h3 {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 34px;
    padding: 5px 12px;
    margin: 0;

    background: rgba(50, 18, 22, .68);
    border: 1px solid rgba(211, 93, 25, .42);
    border-radius: 0;

    color: #fffca0;
    font-size: clamp(1rem, 1.2vw, 1.2rem);
    font-weight: 700;
    line-height: 1;

    backdrop-filter: blur(2px);
}

/* =========================================================
   MENÚ RESPONSIVE DEFINITIVO — FEHLIMA
   ========================================================= */

.feh-mobile-menu {
    display: none;
}

@media (max-width: 768px) {

    .feh-site,
    .feh-top,
    .feh-header,
    .feh-header__inner {
        overflow: visible !important;
    }

    .feh-header__inner {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 16px !important;
        position: relative !important;
        padding: 15px 0 !important;
    }

    .feh-brand {
        flex: 1 1 auto !important;
        width: auto !important;
        max-width: calc(100% - 64px) !important;
        margin: 0 !important;
    }

    .feh-nav--desktop {
        display: none !important;
    }

    .feh-mobile-menu {
        display: block !important;
        position: relative !important;
        flex: 0 0 46px !important;
        margin: 0 !important;
        z-index: 9999 !important;
    }

    .feh-mobile-menu > summary {
        list-style: none !important;
    }

    .feh-mobile-menu > summary::-webkit-details-marker {
        display: none !important;
    }

    .feh-menu-toggle {
        display: flex !important;
        width: 46px !important;
        height: 46px !important;
        margin: 0 !important;
        padding: 0 !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 5px !important;
        background: rgba(50, 18, 22, .78) !important;
        border: 1px solid rgba(255, 252, 160, .75) !important;
        cursor: pointer !important;
    }

    .feh-menu-toggle span {
        display: block !important;
        width: 22px !important;
        height: 2px !important;
        background: #fffca0 !important;
        transition: transform .25s ease, opacity .25s ease !important;
    }

    .feh-mobile-menu[open] .feh-menu-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg) !important;
    }

    .feh-mobile-menu[open] .feh-menu-toggle span:nth-child(2) {
        opacity: 0 !important;
    }

    .feh-mobile-menu[open] .feh-menu-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg) !important;
    }

    .feh-mobile-menu:not([open]) .feh-mobile-menu__panel {
        display: none !important;
    }

    .feh-mobile-menu[open] .feh-mobile-menu__panel {
        display: flex !important;
    }

    .feh-mobile-menu__panel {
        position: absolute !important;
        top: calc(100% + 10px) !important;
        right: 0 !important;
        left: auto !important;
        z-index: 99999 !important;
        width: min(82vw, 330px) !important;
        padding: 16px !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 4px !important;
        background: #321216 !important;
        border: 1px solid rgba(255, 252, 160, .65) !important;
        box-shadow: 0 16px 35px rgba(0, 0, 0, .35) !important;
    }

    .feh-mobile-menu__panel a {
        display: flex !important;
        width: 100% !important;
        min-height: 46px !important;
        padding: 10px 14px !important;
        align-items: center !important;
        justify-content: center !important;
        color: #fffca0 !important;
        text-align: center !important;
        text-decoration: none !important;
    }

    .feh-mobile-menu__portal {
        margin-top: 7px !important;
        border: 1px solid #d35d19 !important;
    }
}
/* MENÚ MÓVIL FEHLIMA — DESPLIEGUE SIN TAPAR LA PORTADA */

@media (max-width: 768px) {

    .feh-header__inner {
        flex-wrap: wrap !important;
    }

    .feh-mobile-menu {
        position: static !important;
    }

    .feh-mobile-menu[open] {
        flex: 0 0 100% !important;
        width: 100% !important;
    }

    .feh-mobile-menu > summary {
        position: absolute !important;
        top: 15px !important;
        right: 0 !important;
    }

    .feh-mobile-menu__panel {
        position: static !important;
        width: 100% !important;
        margin: 12px 0 0 !important;
        padding: 10px !important;

        display: none !important;
        flex-direction: column !important;
        gap: 2px !important;

        background: rgba(50, 18, 22, .96) !important;
        border: 1px solid rgba(255, 252, 160, .55) !important;
        box-shadow: none !important;
    }

    .feh-mobile-menu[open] .feh-mobile-menu__panel {
        display: flex !important;
    }

    .feh-mobile-menu__panel a {
        min-height: 40px !important;
        padding: 7px 12px !important;
        font-size: 15px !important;
    }

    .feh-mobile-menu__portal {
        margin-top: 5px !important;
    }
}
