* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: #080808;
    color: #e8e3d9;
    font-family: Georgia, "Times New Roman", serif;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url("arkhe.png");
    background-position: center;
    background-size: 600px;
    background-repeat: no-repeat;
    opacity: 0.06;
    z-index: -2;
    pointer-events: none;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    background: radial-gradient(
        circle at center,
        rgba(35, 31, 25, 0.3),
        rgba(8, 8, 8, 0.97) 75%
    );
    z-index: -1;
    pointer-events: none;
}

nav {
    width: 100%;
    min-height: 75px;
    padding: 0 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(9, 9, 9, 0.96);
    border-bottom: 1px solid #292722;
    position: relative;
    z-index: 10;
}

.logo {
    color: #d6b56e;
    text-decoration: none;
    font-size: 25px;
    font-weight: bold;
    letter-spacing: 5px;
}

.menu {
    display: flex;
    gap: 35px;
}

.menu a {
    color: #aaa59c;
    text-decoration: none;
    font-family: Arial, sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
    transition: 0.3s;
}

.menu a:hover,
.menu a.activo {
    color: #d6b56e;
}

.encabezado {
    width: 100%;
    min-height: 420px;
    padding: 110px 20px 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background:
        radial-gradient(
            ellipse at center,
            #30291f 0%,
            #151310 35%,
            #080808 78%
        );
    border-bottom: 1px solid #292722;
}

.pre-titulo {
    width: 100%;
    margin-bottom: 20px;
    color: #8f7950;
    font-family: Arial, sans-serif;
    font-size: 14px;
    letter-spacing: 6px;
    text-align: center;
}

.encabezado h1 {
    width: 100%;
    margin: 0;
    color: #d6b56e;
    font-size: clamp(60px, 10vw, 120px);
    font-weight: normal;
    line-height: 1;
    letter-spacing: 15px;
    text-align: center;
}

.descripcion {
    width: 100%;
    max-width: 650px;
    margin: 30px auto 0;
    color: #aaa59c;
    font-size: 17px;
    line-height: 1.8;
    text-align: center;
}

main {
    width: 100%;
    padding: 70px 0 110px;
}

.categorias {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto 100px;
    display: flex;
    align-items: stretch;
    border-top: 1px solid #292722;
    border-bottom: 1px solid #292722;
}

.categorias a {
    position: relative;
    flex: 1;
    min-width: 0;
    padding: 25px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    color: #aaa59c;
    text-decoration: none;
    border-right: 1px solid #292722;
    background: transparent;
    transition: 0.3s;
}

.categorias a:last-child {
    border-right: none;
}

.categorias a:hover {
    background: #11100e;
}

.categorias a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -1px;
    width: 0;
    height: 1px;
    background: #d6b56e;
    transform: translateX(-50%);
    transition: 0.3s;
}

.categorias a:hover::after {
    width: 65%;
}

.categorias > a > span {
    color: #8f7950;
    font-family: Arial, sans-serif;
    font-size: 11px;
    letter-spacing: 3px;
}

.categorias h2 {
    color: #aaa59c;
    font-size: 17px;
    font-weight: normal;
    letter-spacing: 1px;
    transition: 0.3s;
}

.categorias a:hover h2 {
    color: #d6b56e;
}

.categorias p {
    margin-top: 7px;
    color: #77736c;
    font-family: Arial, sans-serif;
    font-size: 11px;
    line-height: 1.5;
}

.categoria {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto 120px;
}

.titulo-categoria {
    display: flex;
    align-items: center;
    gap: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #292722;
}

.titulo-categoria > span {
    color: #8f7950;
    font-family: Arial, sans-serif;
    font-size: 12px;
    letter-spacing: 3px;
}

.titulo-categoria p {
    margin-bottom: 8px;
    color: #8f7950;
    font-family: Arial, sans-serif;
    font-size: 10px;
    letter-spacing: 4px;
}

.titulo-categoria h2 {
    color: #d6b56e;
    font-size: 32px;
    font-weight: normal;
    letter-spacing: 4px;
}

.texto-categoria {
    max-width: 800px;
    margin: 30px 0 45px;
    color: #8f8a81;
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.9;
}

.seres {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.ser {
    position: relative;
    min-height: 180px;
    padding: 30px;
    display: flex;
    gap: 25px;
    background: #10100f;
    border: 1px solid #292722;
    overflow: hidden;
    transition:
        transform 0.35s,
        border-color 0.35s,
        box-shadow 0.35s;
}

.ser:hover {
    transform: translateY(-6px);
    border-color: #8f7950;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.numero {
    flex-shrink: 0;
    color: #8f7950;
    font-family: Arial, sans-serif;
    font-size: 11px;
    letter-spacing: 3px;
}

.ser-contenido {
    position: relative;
    z-index: 2;
}

.ser h3 {
    color: #d6b56e;
    font-size: 19px;
    font-weight: normal;
    letter-spacing: 2px;
}

.ser p {
    margin-top: 15px;
    color: #77736c;
    font-family: Arial, sans-serif;
    font-size: 13px;
    line-height: 1.8;
}

.ser::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    right: -60px;
    bottom: -60px;
    border: 1px solid rgba(214, 181, 110, 0.08);
    border-radius: 50%;
    transition: 0.4s;
}

.ser:hover::after {
    width: 180px;
    height: 180px;
    right: -90px;
    bottom: -90px;
}

@media (max-width: 950px) {
    .categorias {
        flex-direction: column;
    }

    .categorias a {
        border-right: none;
        border-bottom: 1px solid #292722;
    }

    .categorias a:last-child {
        border-bottom: none;
    }

    .seres {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    nav {
        padding: 20px;
        flex-direction: column;
        gap: 20px;
    }

    .menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .encabezado {
        min-height: 360px;
        padding: 80px 20px 65px;
    }

    .encabezado h1 {
        font-size: 55px;
        letter-spacing: 8px;
    }

    .descripcion {
        font-size: 15px;
    }

    main {
        padding: 55px 0 80px;
    }

    .categorias {
        width: 88%;
        margin-bottom: 70px;
    }

    .categorias a {
        padding: 20px;
    }

    .categoria {
        width: 88%;
        margin-bottom: 90px;
    }

    .titulo-categoria {
        gap: 15px;
    }

    .titulo-categoria h2 {
        font-size: 23px;
        letter-spacing: 2px;
    }

    .texto-categoria {
        font-size: 13px;
        margin: 25px 0 35px;
    }

    .seres {
        grid-template-columns: 1fr;
    }

    .ser {
        min-height: 160px;
        padding: 25px;
    }
}