* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    color: #ddd;
    font-family: Georgia, "Times New Roman", serif;
    background: #080808;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    width: 750px;
    height: 750px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-image: url("arkhe.png");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.35;
    z-index: -2;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: -1;
}
nav {
    min-height: 75px;
    padding: 0 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(5, 5, 5, 0.75);
    border-bottom: 1px solid rgba(185, 154, 91, 0.2);
    backdrop-filter: blur(4px);
    position: relative;
    z-index: 10;
}

.logo {
    color: #b99a5b;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 5px;
    text-decoration: none;
}

.menu {
    display: flex;
    gap: 30px;
}

.menu-boton {
    display: none;
    align-items: center;
    gap: 0.65rem;
    min-height: 44px;
    padding: 0.6rem 0.8rem;
    color: #e6d8b5;
    background: rgba(185, 154, 91, 0.08);
    border: 1px solid rgba(185, 154, 91, 0.45);
    border-radius: 3px;
    font: 600 0.9rem/1 Arial, sans-serif;
    cursor: pointer;
}

.menu-icono,
.menu-icono::before,
.menu-icono::after {
    display: block;
    width: 17px;
    height: 2px;
    background: currentColor;
}

.menu-icono { position: relative; }
.menu-icono::before,
.menu-icono::after { content: ""; position: absolute; left: 0; }
.menu-icono::before { top: -6px; }
.menu-icono::after { top: 6px; }

.menu a {
    color: #999;
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: 0.3s;
}

.menu a:hover {
    color: #d7c28e;
}

.hero {
    min-height: calc(100vh - 75px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 8% 5%;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.64) 68%, transparent 100%);
    pointer-events: none;
}

.pre-titulo {
    color: #b99a5b;
    font-size: 0.8rem;
    letter-spacing: 5px;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 0 2px 12px #000;
}

.hero h1 {
    color: #d7c28e;
    font-size: clamp(4rem, 13vw, 9rem);
    letter-spacing: clamp(0.18em, 1.3vw, 0.3em);
    line-height: 1;
    text-shadow: 0 3px 24px #000, 0 0 35px rgba(190, 155, 80, 0.28);
}

.descripcion {
    max-width: 600px;
    margin-top: 25px;
    color: #aaa;
    font-size: 1rem;
    letter-spacing: 1px;
    line-height: 1.7;
    text-shadow: 0 2px 10px #000;
}

.boton {
    display: inline-block;
    margin-top: 35px;
    padding: 13px 32px;
    color: #b99a5b;
    border: 1px solid rgba(185, 154, 91, 0.5);
    background: rgba(185, 154, 91, 0.12);
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 3px;
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.boton:hover {
    color: #e0c98f;
    border-color: #b99a5b;
    background: rgba(185, 154, 91, 0.1);
    transform: translateY(-3px);
}

.boton:focus-visible,
.menu-boton:focus-visible,
.menu a:focus-visible {
    outline: 3px solid #f3e5b0;
    outline-offset: 4px;
}

@media (max-width: 650px) {

    nav {
        min-height: 68px;
        padding: 0.7rem 1rem;
        justify-content: space-between;
        gap: 0.75rem;
        flex-wrap: wrap;
        background: rgba(5, 5, 5, 0.94);
    }

    .logo { font-size: 1.2rem; letter-spacing: 4px; }

    .menu-boton { display: inline-flex; }

    .menu {
        display: flex;
        flex: 0 0 100%;
        order: 3;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.45rem 0.8rem;
    }

    .nav-ready .menu {
        display: none;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.45rem;
        padding: 0.75rem 0 0.25rem;
        border-top: 1px solid rgba(185, 154, 91, 0.2);
    }

    .nav-ready .menu.is-open { display: grid; }

    .menu a {
        display: flex;
        align-items: center;
        min-height: 44px;
        padding: 0.55rem 0.65rem;
        border: 1px solid rgba(185, 154, 91, 0.16);
        font-size: 0.82rem;
    }

    .hero {
        min-height: min(76vh, 680px);
        min-height: min(76svh, 680px);
        padding: 4rem 1.25rem;
    }

    .hero h1 {
        font-size: clamp(3.5rem, 17vw, 5.5rem);
        letter-spacing: 0.16em;
    }

    .pre-titulo {
        font-size: 0.7rem;
        letter-spacing: 3px;
    }

    .descripcion {
        font-size: 0.9rem;
        max-width: 28rem;
    }

    .boton { min-width: 170px; min-height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: 0.01ms !important; }
}
