* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #080d16;
    color: #d9e4f2;
    font-family: "Segoe UI", Arial, sans-serif;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(90, 145, 210, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(90, 145, 210, 0.025) 1px, transparent 1px);
    background-size: 80px 80px;
    z-index: -1;
}


/* ============================= */
/* NAVEGACIÓN */
/* ============================= */

nav {
    width: 100%;
    height: 75px;
    padding: 0 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(120, 170, 220, 0.15);
    background: rgba(8, 13, 22, 0.92);
    position: relative;
    z-index: 10;
}

.logo {
    color: #dcecff;
    text-decoration: none;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 5px;
}

.menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.menu a {
    color: #8291a5;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: 0.3s ease;
}

.menu a:hover {
    color: #9bc7f5;
}


/* ============================= */
/* HERO */
/* ============================= */

.hero {
    min-height: 600px;
    padding: 110px 8% 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    width: 650px;
    height: 650px;
    border: 1px solid rgba(100, 160, 220, 0.08);
    border-radius: 50%;
}

.hero::after {
    content: "";
    position: absolute;
    width: 430px;
    height: 430px;
    border: 1px solid rgba(100, 160, 220, 0.07);
    border-radius: 50%;
}

.reloj {
    width: 190px;
    height: 190px;
    border: 1px solid rgba(150, 200, 250, 0.35);
    border-radius: 50%;
    position: relative;
    margin-bottom: 55px;
    box-shadow:
        0 0 60px rgba(70, 130, 200, 0.08),
        inset 0 0 40px rgba(70, 130, 200, 0.05);
}

.reloj::before {
    content: "";
    position: absolute;
    width: 1px;
    height: 65px;
    background: #9bc7f5;
    left: 50%;
    top: 30px;
    transform-origin: bottom;
    transform: rotate(25deg);
}

.reloj::after {
    content: "";
    position: absolute;
    width: 7px;
    height: 7px;
    background: #9bc7f5;
    border-radius: 50%;
    left: calc(50% - 3px);
    top: calc(50% - 3px);
    box-shadow: 0 0 15px rgba(130, 190, 245, 0.7);
}

.pre-titulo {
    color: #7196bc;
    font-size: 11px;
    letter-spacing: 5px;
    margin-bottom: 20px;
}

.hero h1 {
    color: #edf5ff;
    font-size: clamp(42px, 7vw, 88px);
    font-weight: 300;
    letter-spacing: 8px;
    line-height: 1.1;
}

.subtitulo {
    margin-top: 25px;
    color: #7d8da1;
    font-size: 15px;
    letter-spacing: 3px;
}


/* ============================= */
/* CONTENIDO GENERAL */
/* ============================= */

main {
    width: min(1100px, 84%);
    margin: 0 auto;
}

.volver,
.volver-final {
    display: inline-block;
    color: #7fa6ce;
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 2px;
    transition: 0.3s ease;
}

.volver {
    margin-bottom: 100px;
}

.volver:hover,
.volver-final:hover {
    color: #dcecff;
    transform: translateX(-5px);
}


/* ============================= */
/* INTRODUCCIÓN */
/* ============================= */

.introduccion {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 160px;
}

.imagen {
    position: relative;
}

.imagen::before {
    content: "";
    position: absolute;
    inset: -15px;
    border: 1px solid rgba(100, 160, 220, 0.12);
    z-index: -1;
}

.imagen img {
    display: block;
    width: 100%;
    height: 520px;
    object-fit: cover;
    filter: saturate(0.65) brightness(0.75);
}

.etiqueta {
    color: #7098c0;
    font-size: 10px;
    letter-spacing: 4px;
}

.texto h2 {
    color: #edf5ff;
    font-size: 38px;
    font-weight: 300;
    margin: 20px 0 30px;
    line-height: 1.15;
}

.texto p,
.contenido p,
.estado p {
    color: #8796a9;
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 22px;
}


/* ============================= */
/* SECCIONES */
/* ============================= */

.historia,
.soledad,
.pacto,
.dominios {
    margin-bottom: 150px;
}

.titulo-seccion {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 55px;
}

.titulo-seccion span {
    color: #537da8;
    font-size: 13px;
    letter-spacing: 2px;
}

.titulo-seccion h2 {
    color: #e5eef9;
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 3px;
}

.contenido {
    max-width: 760px;
    margin-left: 70px;
}

.contenido p:last-child {
    margin-bottom: 0;
}


/* ============================= */
/* PACTO */
/* ============================= */

.pacto-contenido {
    display: grid;
    grid-template-columns: 1fr 90px 1fr;
    align-items: center;
    gap: 30px;
}

.pacto-card {
    min-height: 270px;
    padding: 45px;
    border: 1px solid rgba(100, 160, 220, 0.15);
    background: rgba(20, 32, 48, 0.25);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pacto-card span {
    color: #608ab3;
    font-size: 10px;
    letter-spacing: 3px;
    margin-bottom: 18px;
}

.pacto-card h3 {
    color: #dcecff;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 22px;
}

.pacto-card p {
    color: #7f8fa3;
    font-size: 14px;
    line-height: 1.8;
}

.simbolo-pacto {
    color: #86b4e3;
    font-size: 45px;
    text-align: center;
    font-weight: 200;
}

.frase-pacto {
    margin-top: 40px;
    text-align: center;
}

.frase-pacto p {
    color: #657589;
    font-size: 13px;
    font-style: italic;
    letter-spacing: 1px;
}


/* ============================= */
/* DOMINIOS */
/* ============================= */

.aspectos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(100, 160, 220, 0.12);
    border-bottom: 1px solid rgba(100, 160, 220, 0.12);
}

.aspecto {
    padding: 40px 25px;
    border-right: 1px solid rgba(100, 160, 220, 0.12);
}

.aspecto:last-child {
    border-right: none;
}

.aspecto > span {
    color: #527da8;
    font-size: 11px;
    letter-spacing: 2px;
}

.aspecto h3 {
    color: #dce8f5;
    font-size: 19px;
    font-weight: 400;
    margin: 20px 0 15px;
}

.aspecto p {
    color: #77879a;
    font-size: 13px;
    line-height: 1.7;
}


/* ============================= */
/* ESTADO */
/* ============================= */

.estado {
    margin: 80px 0 140px;
    padding: 90px 15%;
    text-align: center;
    border-top: 1px solid rgba(100, 160, 220, 0.12);
    border-bottom: 1px solid rgba(100, 160, 220, 0.12);
}

.estado h2 {
    color: #e6f0fa;
    font-size: 40px;
    font-weight: 300;
    letter-spacing: 5px;
    margin: 25px 0;
}

.estado p {
    max-width: 650px;
    margin: 0 auto;
}


/* ============================= */
/* FINAL */
/* ============================= */

.volver-final {
    display: block;
    width: fit-content;
    margin: 0 auto 100px;
}


/* ============================= */
/* TABLET */
/* ============================= */

@media (max-width: 1024px) {

    nav {
        padding: 0 5%;
    }

    .menu {
        gap: 20px;
    }

    main {
        width: 88%;
    }

    .introduccion {
        gap: 50px;
    }

    .imagen img {
        height: 450px;
    }

    .pacto-contenido {
        grid-template-columns: 1fr;
    }

    .simbolo-pacto {
        transform: rotate(90deg);
    }

    .aspectos {
        grid-template-columns: repeat(2, 1fr);
    }

    .aspecto:nth-child(2) {
        border-right: none;
    }

    .aspecto:nth-child(1),
    .aspecto:nth-child(2) {
        border-bottom: 1px solid rgba(100, 160, 220, 0.12);
    }

}


/* ============================= */
/* CELULAR */
/* ============================= */

@media (max-width: 600px) {

    nav {
        height: auto;
        min-height: 70px;
        padding: 18px 20px;
        flex-direction: column;
        gap: 18px;
    }

    .logo {
        font-size: 19px;
    }

    .menu {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px 18px;
    }

    .menu a {
        font-size: 9px;
        letter-spacing: 1px;
    }

    .hero {
        min-height: 500px;
        padding: 80px 20px;
    }

    .hero::before {
        width: 450px;
        height: 450px;
    }

    .hero::after {
        width: 300px;
        height: 300px;
    }

    .reloj {
        width: 135px;
        height: 135px;
        margin-bottom: 40px;
    }

    .reloj::before {
        height: 45px;
        top: 22px;
    }

    .pre-titulo {
        font-size: 9px;
        letter-spacing: 3px;
    }

    .hero h1 {
        font-size: 34px;
        letter-spacing: 4px;
    }

    .subtitulo {
        font-size: 12px;
        letter-spacing: 2px;
    }

    main {
        width: 88%;
    }

    .volver {
        margin-bottom: 70px;
    }

    .introduccion {
        display: flex;
        flex-direction: column;
        gap: 55px;
        margin-bottom: 110px;
    }

    .imagen {
        width: 100%;
    }

    .imagen img {
        height: 380px;
    }

    .texto h2 {
        font-size: 30px;
    }

    .texto p,
    .contenido p,
    .estado p {
        font-size: 14px;
        line-height: 1.8;
    }

    .historia,
    .soledad,
    .pacto,
    .dominios {
        margin-bottom: 110px;
    }

    .titulo-seccion {
        gap: 15px;
        margin-bottom: 35px;
    }

    .titulo-seccion h2 {
        font-size: 20px;
        letter-spacing: 2px;
    }

    .contenido {
        margin-left: 0;
    }

    .pacto-card {
        padding: 30px;
        min-height: auto;
    }

    .pacto-card h3 {
        font-size: 16px;
    }

    .aspectos {
        grid-template-columns: 1fr;
    }

    .aspecto {
        border-right: none;
        border-bottom: 1px solid rgba(100, 160, 220, 0.12);
    }

    .aspecto:last-child {
        border-bottom: none;
    }

    .estado {
        margin: 50px 0 100px;
        padding: 65px 20px;
    }

    .estado h2 {
        font-size: 28px;
        letter-spacing: 3px;
    }

    .volver-final {
        margin-bottom: 70px;
        text-align: center;
    }

}