* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    min-height: 100%;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #111;
}

.hero,
.pagina-interior {
    position: relative;
    min-height: 100vh;
    background-image: linear-gradient(rgba(0,0,0,0.52), rgba(0,0,0,0.52)), url("img/fondo.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero {
    height: 100vh;
    overflow: hidden;
    background-image: url("img/fondo.png");
}

.pagina-interior {
    padding: 120px 24px 86px;
}

.menu {
    position: absolute;
    top: 23%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-wrap: nowrap;
    gap: 14px;
    z-index: 10;
    white-space: nowrap;
}

.menu a,
.menu-interior a,
.botones-portada a {
    display: inline-block;
    color: white;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,.95);
    border-radius: 999px;
    background-color: rgba(0,0,0,.55);
    text-shadow: 0 2px 8px rgba(0,0,0,.85);
}

.menu a {
    font-family: Garamond, Georgia, serif;
    font-size: 19px;
    font-weight: 600;
    font-style: normal;
    letter-spacing: 0.2px;
    padding: 10px 36px;
    margin-left: 20px;
    margin-right: 20px;
    min-width: 145px;
}

.menu a:hover,
.menu-interior a:hover,
.botones-portada a:hover {
    background-color: rgba(255,255,255,.92);
    color: #111;
    text-shadow: none;
}

.menu-interior {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    z-index: 20;
    white-space: nowrap;
}

.menu-interior a {
    font-size: 15px;
    font-weight: 500;
    padding: 11px 19px;
}

.titulo-obra {
    position: absolute;
    left: 11%;
    bottom: 12%;
    z-index: 10;
    color: white;
    font-size: 95px;
    font-weight: 700;
    font-style: italic;
    font-family: Garamond, Georgia, serif;
    letter-spacing: 2px;
    text-shadow: 0 4px 18px rgba(0,0,0,.95);
}

.frase-obra {
    position: absolute;
    right: 5%;
    bottom: 10%;
    z-index: 10;
    width: 420px;
    color: white;
    font-size: 22px;
    font-style: italic;
    line-height: 1.45;
    text-align: right;
    text-shadow: 0 4px 18px rgba(0,0,0,.95);
}

.botones-portada {
    position: absolute;
    right: 8%;
    top: 48%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.botones-portada a {
    min-width: 250px;
    text-align: center;
    font-family: Garamond, Georgia, serif;
    font-size: 19px;
    font-weight: 600;
    font-style: normal;
    letter-spacing: 0.2px;
    padding: 10px 36px;
    background-color: rgba(0,0,0,.58);
}

.contenido {
    max-width: 1050px;
    width: 100%;
    margin: 0 auto;
    padding: 56px;
    background-color: rgba(255,255,255,.94);
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(0,0,0,.35);
    color: #222;
}

.contenido h1 {
    font-size: 34px;
    margin-bottom: 28px;
    font-weight: 600;
}

.contenido p {
    font-size: 18px;
    line-height: 1.75;
    margin-bottom: 18px;
}

.contenido a {
    color: #111;
    font-weight: 700;
}

.boton-instagram,
.boton-facebook {
    display: inline-block;
    margin-top: 10px;
    margin-right: 8px;
    padding: 13px 24px;
    border-radius: 999px;
    background-color: #111;
    color: white !important;
    text-decoration: none;
}

.boton-instagram:hover,
.boton-facebook:hover {
    background-color: #333;
}

.formulario-contacto {
    margin-top: 20px;
}

.formulario-contacto label {
    display: block;
    margin-top: 18px;
    margin-bottom: 7px;
    font-size: 15px;
    font-weight: 700;
}

.formulario-contacto input,
.formulario-contacto textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #c8c8c8;
    border-radius: 4px;
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
    background: #fff;
}

.formulario-contacto input:focus,
.formulario-contacto textarea:focus {
    outline: none;
    border-color: #111;
}

.formulario-contacto button {
    margin-top: 24px;
    padding: 13px 30px;
    border: none;
    border-radius: 999px;
    background: #111;
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.formulario-contacto button:hover {
    background: #333;
}

.pie-web {
    position: absolute;
    left: 0;
    bottom: 14px;
    width: 100%;
    z-index: 30;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    flex-wrap: nowrap;
    color: rgba(255,255,255,.82);
    font-size: 13px;
    text-shadow: 0 2px 8px rgba(0,0,0,.85);
    white-space: nowrap;
}

.pie-web p {
    margin: 0;
}

.pie-web a {
    color: rgba(255,255,255,.9);
    text-decoration: none;
    margin: 0 6px;
}

.pie-web a:hover {
    text-decoration: underline;
}

.redes-pie {
    display: flex;
    gap: 10px;
}

.redes-pie a {
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.6);
    background-color: rgba(0,0,0,.35);
}

@media (max-width: 900px) {
    .hero {
        min-height: 100vh;
        height: auto;
        overflow: visible;
        padding-bottom: 120px;
    }

    .menu {
        top: 20px;
        left: 50%;
        width: 94%;
        transform: translateX(-50%);
        flex-wrap: wrap;
        justify-content: center;
    }

    .menu a {
        font-size: 14px;
        padding: 10px 15px;
        margin-left: 0;
        margin-right: 0;
    }

    .menu-interior {
        position: static;
        transform: none;
        justify-content: center;
        flex-wrap: wrap;
        margin-bottom: 32px;
    }

    .pagina-interior {
        padding: 24px 16px 120px;
    }

    .titulo-obra {
        left: 6%;
        bottom: 23%;
        font-size: 38px;
    }

    .frase-obra {
        left: 6%;
        right: 6%;
        bottom: 12%;
        width: auto;
        text-align: left;
        font-size: 17px;
    }

    .botones-portada {
        right: auto;
        left: 6%;
        top: 52%;
    }

    .botones-portada a {
        min-width: 190px;
        font-size: 16px;
        padding: 12px 22px;
    }

    .contenido {
        padding: 32px 24px;
    }

    .contenido h1 {
        font-size: 29px;
    }

    .contenido p {
        font-size: 17px;
    }

    .pie-web {
        flex-wrap: wrap;
        padding: 0 14px;
        bottom: 18px;
        gap: 10px;
        font-size: 12px;
        white-space: normal;
        text-align: center;
    }
}