/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    min-height: 100%;

    font-family: Arial, Helvetica, sans-serif;

    background: #111;

    color: #fff;

    overflow-x: hidden;
}


/* =========================================
   HEADER
========================================= */

.header {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 90px;

    padding: 0 50px;

    display: flex;
    align-items: center;

    z-index: 100;

    color: #fff;
}


/* =========================================
   LOGO
========================================= */

.logo {
    flex-shrink: 0;
}

.logo a {
    color: #fff;

    text-decoration: none;

    font-size: 23px;

    font-weight: 600;

    letter-spacing: 5px;

    transition: opacity 0.3s ease;
}

.logo a:hover {
    opacity: 0.65;
}


/* =========================================
   NAVIGATION
========================================= */

.nav {
    position: absolute;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    display: flex;

    align-items: center;

    gap: clamp(22px, 3vw, 42px);

    white-space: nowrap;
}


.nav a {
    position: relative;

    color: #fff;

    text-decoration: none;

    font-size: 10px;

    font-weight: 400;

    letter-spacing: 1.8px;

    opacity: 0.78;

    transition:
        opacity 0.3s ease,
        color 0.3s ease;
}


/* LÍNEA DEL MENÚ */

.nav a::after {
    content: "";

    position: absolute;

    left: 0;

    bottom: -7px;

    width: 0;

    height: 1px;

    background: #fff;

    transition:
        width 0.3s ease;
}


/* HOVER */

.nav a:hover {
    opacity: 1;
}

.nav a:hover::after {
    width: 100%;
}


/* =========================================
   MENU ACTIVO
========================================= */

.nav a.active {
    opacity: 1;
}

.nav a.active::after {
    width: 100%;
}


/* =========================================
   HERO
========================================= */

.hero {
    position: relative;

    width: 100%;

    height: 100vh;

    overflow: hidden;
}


/* =========================================
   SLIDES
========================================= */

.slides {
    width: 100%;
    height: 100%;
}


.slide {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    opacity: 0;

    visibility: hidden;

    transition:
        opacity 1.1s ease,
        visibility 1.1s ease;
}


.slide.active {
    opacity: 1;

    visibility: visible;
}


/* =========================================
   IMAGE
========================================= */

.slide img {
    width: 100%;

    height: 100%;

    object-fit: cover;

    transform: scale(1.04);

    transition:
        transform 6s ease;
}


.slide.active img {
    transform: scale(1);
}


/* =========================================
   IMAGE OVERLAY
========================================= */

.slide-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,0.30) 0%,
            rgba(0,0,0,0.05) 40%,
            rgba(0,0,0,0.42) 100%
        );
}


/* =========================================
   SLIDE INFORMATION
========================================= */

.slide-info {
    position: absolute;

    left: 50px;

    bottom: 80px;

    z-index: 5;

    max-width: 650px;
}


.slide-number {
    display: block;

    margin-bottom: 20px;

    font-size: 11px;

    letter-spacing: 2px;

    opacity: 0.85;
}


.slide-info h1 {
    font-size: clamp(40px, 5.3vw, 84px);

    font-weight: 400;

    line-height: 0.96;

    letter-spacing: -2px;

    margin-bottom: 24px;
}


.slide-info p {
    font-size: 12px;

    letter-spacing: 2px;

    text-transform: uppercase;

    opacity: 0.85;
}


/* =========================================
   SLIDER CONTROLS
========================================= */

.slider-controls {
    position: absolute;

    right: 50px;

    bottom: 75px;

    display: flex;

    gap: 10px;

    z-index: 10;
}


.slider-arrow {
    width: 50px;

    height: 50px;

    border: 1px solid rgba(255,255,255,0.5);

    background: rgba(0,0,0,0.08);

    color: #fff;

    font-size: 18px;

    cursor: pointer;

    transition:
        background 0.3s ease,
        border-color 0.3s ease;
}


.slider-arrow:hover {
    background: rgba(255,255,255,0.15);

    border-color: #fff;
}


/* =========================================
   PROGRESS
========================================= */

.slider-progress {
    position: absolute;

    left: 50px;

    bottom: 35px;

    display: flex;

    gap: 7px;

    z-index: 10;
}


.progress-line {
    width: 35px;

    height: 1px;

    background: rgba(255,255,255,0.45);

    transition:
        width 0.4s ease,
        background 0.4s ease;
}


.progress-line.active {
    width: 65px;

    background: #fff;
}


/* =========================================
   NOSOTROS
========================================= */

.home-about {
    position: relative;

    min-height: 100vh;

    padding: 12vw 8vw;

    display: grid;

    grid-template-columns: 1.05fr 0.95fr;

    gap: 9vw;

    align-items: center;

    background: #f4f3f0;

    color: #171717;
}


/* IMAGE */

.about-image {
    width: 100%;

    height: 68vh;

    overflow: hidden;
}


.about-image img {
    width: 100%;

    height: 100%;

    object-fit: cover;

    transition:
        transform 1.2s ease;
}


.about-image:hover img {
    transform: scale(1.03);
}


/* CONTENT */

.about-content {
    max-width: 570px;
}


.section-label {
    display: block;

    margin-bottom: 35px;

    font-size: 10px;

    letter-spacing: 3px;

    color: #777;
}


.about-content h2 {
    margin-bottom: 35px;

    font-size: clamp(38px, 4.2vw, 68px);

    font-weight: 400;

    line-height: 1.02;

    letter-spacing: -2px;
}


.about-content p {
    max-width: 500px;

    margin-bottom: 18px;

    font-size: 14px;

    line-height: 1.8;

    color: #555;
}


/* LINK */

.text-link {
    display: inline-flex;

    align-items: center;

    gap: 18px;

    margin-top: 25px;

    color: #171717;

    text-decoration: none;

    font-size: 10px;

    letter-spacing: 2px;

    border-bottom: 1px solid #171717;

    padding-bottom: 8px;

    transition:
        gap 0.3s ease,
        opacity 0.3s ease;
}


.text-link span {
    font-size: 15px;
}


.text-link:hover {
    gap: 25px;

    opacity: 0.6;
}


/* =========================================
   CONTACTO
========================================= */

.home-contact {
    position: relative;

    min-height: 78vh;

    padding: 11vw 8vw;

    display: flex;

    align-items: center;

    justify-content: space-between;

    background: #171717;

    color: #fff;

    overflow: hidden;
}


/* DECORACIÓN */

.home-contact::before {
    content: "";

    position: absolute;

    width: 42vw;

    height: 42vw;

    border: 1px solid rgba(255,255,255,0.08);

    border-radius: 50%;

    right: -16vw;

    bottom: -20vw;
}


/* CONTENT */

.contact-content {
    position: relative;

    max-width: 700px;

    z-index: 2;
}


.home-contact .section-label {
    color: #999;
}


.contact-content h2 {
    margin-bottom: 30px;

    font-size: clamp(42px, 5vw, 78px);

    font-weight: 400;

    line-height: 0.98;

    letter-spacing: -2px;
}


.contact-content p {
    max-width: 520px;

    margin-bottom: 38px;

    font-size: 14px;

    line-height: 1.8;

    color: #aaa;
}


/* =========================================
   CONTACT ACTIONS
========================================= */

.contact-actions {
    display: flex;

    align-items: center;

    gap: 30px;
}


.contact-button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 180px;

    height: 52px;

    padding: 0 28px;

    background: #fff;

    color: #171717;

    text-decoration: none;

    font-size: 10px;

    letter-spacing: 2px;

    transition:
        background 0.3s ease,
        color 0.3s ease;
}


.contact-button:hover {
    background: #ccc;
}


/* SECONDARY */

.contact-secondary {
    display: inline-flex;

    align-items: center;

    gap: 14px;

    color: #fff;

    text-decoration: none;

    font-size: 10px;

    letter-spacing: 2px;

    opacity: 0.8;

    transition:
        opacity 0.3s ease,
        gap 0.3s ease;
}


.contact-secondary span {
    font-size: 15px;
}


.contact-secondary:hover {
    opacity: 1;

    gap: 20px;
}


/* =========================================
   CONTACT BRAND
========================================= */

.contact-mark {
    position: relative;

    z-index: 2;

    display: flex;

    flex-direction: column;

    align-items: flex-end;

    opacity: 0.9;
}


.contact-mark span {
    font-size: clamp(42px, 6vw, 90px);

    font-weight: 600;

    letter-spacing: 8px;
}


.contact-mark small {
    margin-top: 8px;

    font-size: 8px;

    letter-spacing: 4px;

    color: #777;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

    .header {
        height: 75px;

        padding: 0 25px;
    }


    .nav {
        gap: 18px;
    }


    .nav a {
        font-size: 9px;

        letter-spacing: 1.3px;
    }


    .slide-info {
        left: 25px;

        bottom: 90px;

        max-width: calc(100% - 50px);
    }


    .slide-info h1 {
        font-size: clamp(38px, 11vw, 65px);
    }


    .slider-controls {
        right: 25px;

        bottom: 75px;
    }


    .slider-progress {
        left: 25px;

        bottom: 30px;
    }


    /* NOSOTROS */

    .home-about {
        padding: 12vw 7vw;

        gap: 6vw;
    }


    .about-image {
        height: 55vh;
    }


    /* CONTACTO */

    .home-contact {
        padding: 12vw 7vw;
    }


    .contact-mark {
        display: none;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 650px) {

    .header {
        height: 70px;

        padding: 0 6vw;
    }


    .logo a {
        font-size: 20px;

        letter-spacing: 4px;
    }


    .nav {
        position: static;

        transform: none;

        margin-left: auto;
    }


    .nav a {
        display: none;
    }


    .nav::after {
        content: "MENU";

        color: #fff;

        font-size: 9px;

        letter-spacing: 2px;
    }


    /* HERO */

    .slide-info {
        left: 6vw;

        bottom: 100px;
    }


    .slide-info p {
        font-size: 10px;
    }


    .slider-arrow {
        width: 44px;

        height: 44px;
    }


    .slider-controls {
        right: 6vw;

        bottom: 75px;
    }


    .slider-progress {
        left: 6vw;

        bottom: 30px;
    }


    /* NOSOTROS */

    .home-about {
        min-height: auto;

        padding: 90px 6vw;

        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 55px;
    }


    .about-image {
        width: 100%;

        height: 55vh;
    }


    .about-content h2 {
        font-size: clamp(38px, 12vw, 58px);
    }


    .about-content p {
        font-size: 13px;
    }


    /* CONTACTO */

    .home-contact {
        min-height: 75vh;

        padding: 90px 6vw;

        align-items: flex-start;
    }


    .contact-content h2 {
        font-size: clamp(42px, 13vw, 65px);
    }


    .contact-content p {
        font-size: 13px;
    }


    .contact-actions {
        flex-direction: column;

        align-items: flex-start;

        gap: 25px;
    }

}