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

/* GENERAL */
html {
    scroll-behavior: smooth;
}
body {
    font-family: "tt-autonomous", sans-serif;
    background-color: #101316;
}

/* PORTADA */
.hero {
    min-height: 100vh;
    min-height: 100svh;
    width: 100%;
    position: relative;
    overflow: hidden;
    background-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.25),
            rgba(0, 0, 0, 0.15),
            rgba(0, 0, 0, 0.5)
        ),
        url("../images/fondodisolabweb.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
}

/* NAVEGACIÓN */
.navbar {
    width: 100%;
    padding: 30px 5%;
    position: relative;
    z-index: 2;
}
.navbar ul {
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style: none;
    gap: 20px;
}
.navbar li {
    flex: 1;
    text-align: center;
}
.navbar a {
    display: inline-block;
    color: #9CB1C3;
    text-decoration: none;
    font-size: 18px;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}
.navbar a:hover,
.navbar a:focus-visible {
    color: white;
}

/* CONTENIDO CENTRAL: logo permanece centrado */
.hero-content {
    flex: 1;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.hero-logo {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-logo img {
    display: block;
    width: clamp(200px, 40vw, 450px);
    max-width: 85%;
    height: auto;
    object-fit: contain;
}
/* ESLOGAN */
.hero-title {
    max-width: 100%;
    color: white;
    font-size: clamp(1.25rem, 3.5vw, 3rem);
    font-weight: 300;
    letter-spacing: 2px;
    line-height: 1.25;
    margin-top: 30px;
    text-align: center;
}

/* PIE DE PORTADA */
.hero-footer {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 20px 5%;
    color: #D0D8DD;
    font-size: 12px;
    letter-spacing: 1px;
}

/* SECCIONES FUTURAS */
.placeholder-section {
    min-height: 50vh;
    padding: 80px 10%;
    color: white;
    background-color: #101316;
}

/* TABLET */
@media (max-width: 900px) {
    .hero {
        background-position: center center;
    }
    .navbar {
        padding: 26px 4%;
    }
    .navbar a {
        font-size: 16px;
    }
    .hero-content {
        padding: 24px 5%;
    }
    .hero-logo img {
        width: min(400px, 75vw);
    }
    .hero-title {
        font-size: clamp(1.4rem, 4vw, 2.4rem);
    }
}

/* CELULARES */
@media (max-width: 600px) {
    .hero-logo img {
        width: 75vw;
        max-width: 320px;
    }
}