/* =====================================================
   VARIABLES
====================================================== */
:root {
    --black: #000000;
    --black-soft: #050505;
    --black-button: #080808;
    --border: #2c2c2c;
    --border-hover: #555555;
    --white: #ffffff;
    --gray: #a0a0a0;
    --gray-light: #d0d0d0;
    --gray-dark: #666666;
}

/* =====================================================
   RESET
====================================================== */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background: var(--black);
    color: var(--white);
    font-family: "DM Sans", sans-serif;
}

a {
    text-decoration: none;
}

/* =====================================================
   DESKTOP
====================================================== */
#desktop-page {
    display: flex;
    width: 100%;
    min-height: 100vh;
    background: var(--black);
}

/* =====================================================
   IMAGEN IZQUIERDA
====================================================== */
.desktop-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 50%;
    height: 100vh;
    overflow: hidden;
    background: #111;
}

.desktop-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* =====================================================
   CONTENIDO DERECHO
====================================================== */
.desktop-content {
    width: 50%;
    margin-left: 50%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--black);
    padding: 70px 8vw;
}

.desktop-inner {
    width: 100%;
    max-width: 560px;
}

/* =====================================================
   MARCA
====================================================== */
.brand {
    font-family: "Playfair Display", serif;
    font-size: 2.2rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--white);
    margin-bottom: 35px;
}

.brand span {
    color: var(--gray);
}

/* =====================================================
   PRESENTACIÓN
====================================================== */
.desktop-title {
    font-family: "Playfair Display", serif;
    font-size: clamp(2.5rem, 4vw, 4.5rem);
    line-height: 1.05;
    font-weight: 400;
    margin: 0 0 25px 0;
    color: var(--white);
}


.desktop-description {

    max-width: 500px;

    font-size: 1rem;

    line-height: 1.8;

    color: var(--gray);

    margin-bottom: 40px;

}


/* =====================================================
   SEPARADOR
====================================================== */

.separator {

    width: 100%;

    height: 1px;

    background: #242424;

    margin: 35px 0;

}


/* =====================================================
   MENU DESKTOP
====================================================== */

.desktop-menu {

    display: flex;

    flex-direction: column;

    gap: 10px;

}


.menu-button {

    width: 100%;

    min-height: 58px;

    display: flex;

    align-items: center;

    padding: 0 18px;

    background: var(--black-button);

    border: 1px solid var(--border);

    color: var(--white);

    transition:

        background-color .25s ease,

        border-color .25s ease,

        transform .25s ease;

}


.menu-button:hover {

    background: #101010;

    border-color: var(--border-hover);

    color: var(--white);

    transform: translateX(4px);

}


.menu-icon {
    width: 38px;
    min-width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    color: var(--white);
}

.menu-text {
    flex-grow: 1;
    font-size: .95rem;
    font-weight: 500;
    text-align: left;
    padding-left: 12px;
}

.menu-arrow {
    color: var(--gray-dark);
    font-size: .9rem;
}

/* =====================================================
   REDES DESKTOP
====================================================== */
.social-links {
    display: flex;
    gap: 10px;
    margin-top: 35px;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--black-button);
    border: 1px solid var(--border);
    color: var(--white);
    font-size: 1rem;
    transition: .25s ease;
}

.social-link:hover {
    background: #111;
    border-color: var(--border-hover);
    color: white;
    transform: translateY(-2px);
}

/* =====================================================
   COPYRIGHT DESKTOP
====================================================== */
.desktop-copyright {
    margin-top: 40px;
    font-size: .75rem;
    color: var(--gray-dark);
}

/* =====================================================
   MOBILE
====================================================== */
#mobile-page {
    display: none;
}

/* =====================================================
   RESPONSIVE
====================================================== */
@media (max-width: 767.98px) {
    /* -------------------------------------------------
       OCULTAR DESKTOP
    -------------------------------------------------- */
    #desktop-page {
        display: none;
    }

    /* -------------------------------------------------
       MOSTRAR MOBILE
    -------------------------------------------------- */
    #mobile-page {
        display: block;
        width: 100%;
        min-height: 100vh;
        background: var(--black);
    }

    /* -------------------------------------------------
       CONTAINER
    -------------------------------------------------- */
    .mobile-container {
        width: 100%;
        max-width: 560px;
        min-height: 100vh;
        margin: 0 auto;
        padding:
            42px
            20px
            30px;
        background: var(--black);
    }

    /* -------------------------------------------------
       PERFIL
    -------------------------------------------------- */
    .mobile-profile {
        text-align: center;
    }

    /* -------------------------------------------------
       FOTO
    -------------------------------------------------- */
    .mobile-photo {
        width: 108px;
        height: 108px;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid #333;
        display: block;
        margin:
            0 auto 20px auto;
    }

    /* -------------------------------------------------
       NOMBRE
    -------------------------------------------------- */
    .mobile-name {
        font-size: 1.45rem;
        font-weight: 600;
        letter-spacing: .2px;
        color: var(--white);
        margin-bottom: 4px;
    }

    .mobile-username {
        font-size: .85rem;
        color: var(--gray);
        margin-bottom: 17px;
    }


    /* -------------------------------------------------
       DESCRIPCIÓN
    -------------------------------------------------- */

    .mobile-description {

        max-width: 430px;

        margin:

            0 auto;

        font-size: .9rem;

        line-height: 1.65;

        color: var(--gray-light);

    }


    /* -------------------------------------------------
       REDES
    -------------------------------------------------- */

    .mobile-social {

        display: flex;

        justify-content: center;

        align-items: center;

        gap: 12px;

        margin:

            25px 0 30px 0;

    }


    .mobile-social a {

        width: 40px;

        height: 40px;

        display: flex;

        align-items: center;

        justify-content: center;

        border-radius: 50%;

        background: var(--black-button);

        border: 1px solid var(--border);

        color: var(--white);

        font-size: 1rem;

        transition: .25s ease;

    }


    .mobile-social a:hover {

        background: #111;

        border-color: var(--border-hover);

        color: white;

    }


    /* -------------------------------------------------
       ENLACES
    -------------------------------------------------- */

    .mobile-links {

        display: flex;

        flex-direction: column;

        gap: 12px;

    }


    /* -------------------------------------------------
       BOTONES
    -------------------------------------------------- */

    .mobile-button {

        position: relative;

        width: 100%;

        min-height: 58px;

        display: flex;

        align-items: center;

        justify-content: center;

        padding:

            10px

            48px

            10px

            48px;

        background: var(--black-button);

        border: 1px solid var(--border);

        border-radius: 0;

        color: var(--white);

        font-size: .92rem;

        font-weight: 500;

        transition:

            background-color .25s ease,

            border-color .25s ease,

            transform .25s ease;

    }


    .mobile-button:hover {

        background: #101010;

        border-color: var(--border-hover);

        color: white;

        transform: translateY(-2px);

    }


    /* -------------------------------------------------
       ICONO
    -------------------------------------------------- */

    .mobile-button-icon {

        position: absolute;

        left: 18px;

        width: 28px;

        height: 28px;

        display: flex;

        align-items: center;

        justify-content: center;

        color: var(--white);

        font-size: 1rem;

    }

    /* -------------------------------------------------
       TEXTO
    -------------------------------------------------- */
    .mobile-button-text {
        text-align: center;
        width: 100%;
    }

    /* -------------------------------------------------
       TRES PUNTOS
    -------------------------------------------------- */
    .mobile-button-more {
        position: absolute;
        right: 18px;
        color: var(--gray-dark);
        font-size: .9rem;
    }

    /* -------------------------------------------------
       FOOTER
    -------------------------------------------------- */
    .mobile-footer {
        text-align: center;
        margin-top: 35px;
        color: var(--gray-dark);
        font-size: .72rem;
        line-height: 1.7;
    }

    .mobile-footer strong {
        color: var(--gray);
        font-weight: 500;
    }
}

/* =====================================================
   TABLET / PANTALLAS MEDIANAS
====================================================== */
@media (min-width: 768px)
and (max-width: 1100px) {
    .desktop-content {
        padding:
            60px
            5vw;
    }

    .desktop-title {
        font-size: 3rem;
    }

}

/* =====================================================
   MODAL CONTACTO
====================================================== */

.modal-contacto {

    background: #000000;

    color: #ffffff;

    border: 1px solid #2c2c2c;

    border-radius: 0;

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);

}


.modal-contacto .modal-header {

    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    width: 100%;

    border-bottom: 1px solid #242424;

    padding: 25px 30px;

}


.modal-contacto .modal-body {

    padding: 35px 30px;

}


.modal-contacto .modal-footer {

    border-top: 1px solid #242424;

    padding: 15px 30px;

    color: #666666;

    font-size: .75rem;

}


.modal-kicker {

    font-size: .7rem;

    letter-spacing: 3px;

    color: #777777;

    margin-bottom: 7px;

}


.modal-contacto .modal-title {

    font-family: "Playfair Display", serif;

    font-size: 2rem;

    font-weight: 400;

    color: #ffffff;

}


/* =====================================================
   INFORMACIÓN CONTACTO
====================================================== */

.contact-info h3 {

    font-family: "Playfair Display", serif;

    font-size: 2rem;

    font-weight: 400;

    line-height: 1.2;

    margin-bottom: 18px;

}


.contact-info > p {

    color: #999999;

    line-height: 1.7;

    font-size: .9rem;

    margin-bottom: 30px;

}


.contact-item {

    display: flex;

    align-items: center;

    gap: 14px;

    padding: 15px 0;

    border-top: 1px solid #222222;

    color: #dddddd;

    font-size: .85rem;

}


.contact-item:last-child {

    border-bottom: 1px solid #222222;

}


.contact-item-icon {

    width: 38px;

    height: 38px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid #303030;

    color: #ffffff;

}


.contact-item small {

    display: block;

    color: #666666;

    font-size: .65rem;

    letter-spacing: 1.5px;

    margin-bottom: 3px;

}


/* =====================================================
   FORMULARIO
====================================================== */

.contacto-input {

    background: #080808 !important;

    border: 1px solid #2c2c2c !important;

    border-radius: 0 !important;

    color: #ffffff !important;

    min-height: 48px;

}


.contacto-input:focus {

    background: #0c0c0c !important;

    border-color: #555555 !important;

    box-shadow: none !important;

    color: #ffffff !important;

}


.contacto-input::placeholder {

    color: #555555;

}


.modal-contacto .form-label {

    color: #b0b0b0;

    font-size: .78rem;

    margin-bottom: 7px;

}


/* =====================================================
   BOTÓN ENVIAR
====================================================== */

.btn-contacto {

    width: 100%;

    min-height: 52px;

    background: #050505;

    border: 1px solid #444444;

    color: #ffffff;

    font-size: .9rem;

    font-weight: 500;

    transition: .25s ease;

}


.btn-contacto:hover {

    background: #151515;

    border-color: #666666;

    color: #ffffff;

}


/* =====================================================
   BOTÓN X
====================================================== */

.modal-contacto .btn-close {

    opacity: 1;

    filter: none;

}


.modal-contacto .btn-close:focus {

    box-shadow: none;

}


/* =====================================================
   MOBILE MODAL
====================================================== */

@media (max-width: 767.98px) {

    .modal-contacto {

        margin: 10px;

    }


    .modal-contacto .modal-header {

        padding: 20px;

    }


    .modal-contacto .modal-body {

        padding: 25px 20px;

    }


    .modal-contacto .modal-footer {

        padding: 12px 20px;

    }


    .contact-info h3 {

        font-size: 1.7rem;

    }


    .contact-info > p {

        margin-bottom: 20px;

    }

}

/* =====================================================
   BOTÓN CERRAR MODAL
====================================================== */

.modal-close {

    width: 38px;

    height: 38px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 0;

    margin: 0;

    background: transparent;

    border: 1px solid transparent;

    color: #ffffff;

    font-family: Arial, sans-serif;

    font-size: 2rem;

    font-weight: 300;

    line-height: 1;

    cursor: pointer;

    opacity: 0.9;

    transition: 0.25s ease;
}


.modal-close:hover {

    color: #ffffff;

    background: #111111;

    border-color: #333333;

    opacity: 1;

}


.modal-close:focus {

    outline: none;

    box-shadow: none;

}


/* =====================================================
   BOTONES DEL FORMULARIO
====================================================== */

.btn-contacto {

    flex: 1;

    min-height: 50px;

    background: #050505;

    border: 1px solid #444444;

    color: #ffffff;

    font-size: .9rem;

    font-weight: 500;

    transition: .25s ease;

}


.btn-contacto:hover {

    background: #151515;

    border-color: #666666;

    color: #ffffff;

}


/* =====================================================
   BOTÓN CANCELAR
====================================================== */

.btn-cancelar {

    background: #000000;

    border-color: #2c2c2c;

    color: #888888;

}


.btn-cancelar:hover {

    background: #0d0d0d;

    border-color: #444444;

    color: #ffffff;

}



/* =====================================================
   CONTENEDOR Galeria
====================================================== */

.gallery-page {

    min-height: 100vh;

    padding:

        60px

        5vw

        70px;

}


/* =====================================================
   HEADER
====================================================== */

.gallery-header {

    max-width: 1200px;

    margin:

        0 auto 50px;

    text-align: center;

}


.gallery-kicker {

    font-size: .7rem;

    letter-spacing: 4px;

    color: var(--gray-dark);

    margin-bottom: 12px;

}


.gallery-title {

    font-family: "Playfair Display", serif;

    font-size: clamp(2.5rem, 5vw, 4.5rem);

    font-weight: 400;

    margin: 0;

}


.gallery-description {

    max-width: 650px;

    margin:

        20px auto 0;

    color: var(--gray);

    font-size: .95rem;

    line-height: 1.7;

}


/* =====================================================
   GALERÍA
====================================================== */

.gallery-grid {

    max-width: 1400px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;

}


/* =====================================================
   TARJETA
====================================================== */

.gallery-item {

    background: var(--black-card);

    border: 1px solid var(--border);

    overflow: hidden;

    cursor: pointer;

    transition:

        transform .3s ease,

        border-color .3s ease;

}


.gallery-item:hover {

    transform: translateY(-4px);

    border-color: #444444;

}


/* =====================================================
   CONTENEDOR UNIFORME DE IMAGEN
====================================================== */

.gallery-image-container {

    width: 100%;

    height: 420px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #050505;

    overflow: hidden;

}


/* =====================================================
   IMAGEN
====================================================== */

.gallery-image {

    width: 100%;

    height: 100%;

    object-fit: contain;

    display: block;

}


/* =====================================================
   NOMBRE
====================================================== */

.gallery-caption {

    padding: 16px 18px;

    border-top: 1px solid var(--border);

    color: var(--gray);

    font-size: .8rem;

    text-align: center;

}


/* =====================================================
   SIN IMÁGENES
====================================================== */

.gallery-empty {

    max-width: 500px;

    margin: 100px auto;

    text-align: center;

    color: var(--gray);

}


.gallery-empty i {

    font-size: 3rem;

    color: var(--gray-dark);

}


/* =====================================================
   MODAL
====================================================== */

.modal-content {

    background: #000000;

    border: 1px solid #292929;

    border-radius: 0;

}


.modal-header {

    border-bottom: 1px solid #242424;

}


.modal-footer {

    border-top: 1px solid #242424;

}


.modal-title {

    font-family: "Playfair Display", serif;

    font-weight: 400;

}


.gallery-modal-image {

    width: 100%;

    max-height: 80vh;

    object-fit: contain;

}


/* =====================================================
   TABLET
====================================================== */

@media (max-width: 991.98px) {

    .gallery-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

    }


    .gallery-image-container {

        height: 380px;

    }

}


/* =====================================================
   MOBILE
====================================================== */

@media (max-width: 575.98px) {

    .gallery-page {

        padding:

            40px

            15px

            50px;

    }


    .gallery-header {

        margin-bottom: 30px;

    }


    .gallery-grid {

        grid-template-columns: 1fr;

        gap: 15px;

    }


    .gallery-image-container {

        height: 420px;

    }

}
