/* =========================================================
   ARON SAMUEL PARRA R.
   PORTAFOLIO WEB
   DARK / COLORFUL / CLEAN / PROFESSIONAL
   ========================================================= */


/* =========================================================
   VARIABLES
   ========================================================= */

:root {
    --bg: #1d1f23;
    --bg-secondary: #24272c;
    --surface: #292c31;
    --surface-light: #30333a;
    --surface-hover: #35383f;

    --white: #ffffff;
    --text: #e7e8ea;
    --text-soft: #c1c3c8;
    --text-muted: #92959c;
    --text-dark: #666970;

    --border: rgba(255, 255, 255, 0.10);
    --border-hover: rgba(255, 255, 255, 0.25);

    --shadow-small:
        0 8px 24px rgba(0, 0, 0, 0.22);

    --shadow:
        0 15px 38px rgba(0, 0, 0, 0.29);

    --shadow-hover:
        0 25px 58px rgba(0, 0, 0, 0.40);

    --container: 1180px;

    --radius-small: 10px;
    --radius-medium: 16px;
    --radius-large: 20px;

    --ease:
        cubic-bezier(.16, 1, .3, 1);
}


/* =========================================================
   HTML
   ========================================================= */

html {
    box-sizing: border-box;

    max-width: 100%;

    overflow-x: hidden;

    scrollbar-color: #727272 #151515;

    scrollbar-width: thin;

    scroll-behavior: smooth;

    scroll-padding-top: 90px;
}


/* =========================================================
   SCROLLBAR
   ========================================================= */

::-webkit-scrollbar {
    width: 11px;
}

::-webkit-scrollbar-track {
    background: #151515;
}

::-webkit-scrollbar-thumb {
    border: 3px solid #151515;

    border-radius: 10px;

    background-color: #727272;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #a8a8a8;
}


/* =========================================================
   RESET
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: inherit;

    margin: 0;
    padding: 0;
}

img {
    display: block;

    max-width: 100%;
}

button,
input,
textarea {
    font: inherit;
}

ul {
    list-style: none;
}

a {
    font-family: Arial, sans-serif;

    color: inherit;

    text-decoration: none;
}

::selection {
    color: #111111;

    background: #ffffff;
}


/* =========================================================
   BODY
   Fondo original solicitado
   ========================================================= */

body {
    background:
        linear-gradient(
            135deg,
            rgba(30,30,30,1) 0%,
            rgba(24,24,24,1) 50%,
            rgba(18,18,18,1) 50%,
            rgba(18,18,18,1) 50%,
            rgba(45,45,45,1) 100%
        )
        center / cover no-repeat;

    min-height: 100vh;

    margin: 0;

    color: #e0e0e0;

    font-family: "Poppins", sans-serif;

    max-width: 100%;

    overflow-x: hidden;
}


/* =========================================================
   TIPOGRAFÍA
   ========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Poppins", sans-serif;
}

p {
    font-family: "Inter", sans-serif;
}


/* =========================================================
   BLANCO BRILLANTE
   ========================================================= */

main h1,
section > h2,
.languageCard h3,
.projectsCard h3,
.footer-brand h2,
.footer-column h3 {
    color: #ffffff;

    text-shadow:
        0 3px 18px rgba(0, 0, 0, 0.28),
        0 0 18px rgba(255, 255, 255, 0.035);
}


/* =========================================================
   FOCUS
   ========================================================= */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline:
        2px solid #ffffff;

    outline-offset:
        4px;
}


/* =========================================================
   PAGE LOADER
   ========================================================= */

.page-loader {
    position: fixed;

    inset: 0;

    z-index: 9999;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 20px;

    background:
        linear-gradient(
            135deg,
            #25282d,
            #17191d
        );

    box-shadow:
        inset 0 0 100px rgba(0, 0, 0, 0.4);
}

.loader-mark {
    width: 78px;

    height: 78px;

    display: grid;

    place-items: center;

    border:
        1px solid rgba(255, 255, 255, 0.18);

    border-radius:
        22px;

    background:
        rgba(255, 255, 255, 0.05);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.35),
        0 0 25px rgba(255, 255, 255, 0.04);

    animation:
        loaderPulse 2s ease-in-out infinite;
}

.loader-mark span {
    color:
        #ffffff;

    font-family:
        monospace;

    font-size:
        23px;

    font-weight:
        800;

    text-shadow:
        0 0 20px rgba(255, 255, 255, 0.18);
}

.page-loader p {
    color:
        #c1c3c8;

    font-size:
        14px;
}

.loader-dots {
    display:
        inline-block;

    width:
        0;

    overflow:
        hidden;

    animation:
        loaderDots 1.3s steps(4, end) infinite;
}

@keyframes loaderPulse {
    0%,
    100% {
        transform:
            scale(1);
    }

    50% {
        transform:
            scale(1.06);
    }
}

@keyframes loaderDots {
    0% {
        width:
            0;
    }

    100% {
        width:
            24px;
    }
}


/* =========================================================
   HEADER
   Sin cambio de comportamiento
   ========================================================= */

.site-header {
    position: fixed;

    top: 0;
    left: 0;

    z-index: 1000;

    width: 100%;

    background:
        rgba(22, 24, 28, 0.82);

    border-bottom:
        1px solid rgba(255, 255, 255, 0.08);

    box-shadow:
        0 8px 28px rgba(0, 0, 0, 0.22);

    backdrop-filter:
        blur(12px);

    -webkit-backdrop-filter:
        blur(12px);
}

.site-nav {
    width:
        min(
            calc(100% - 40px),
            var(--container)
        );

    min-height:
        76px;

    margin:
        auto;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        30px;
}


/* =========================================================
   ASP
   Sin fondo
   ========================================================= */

.site-brand,
.footer-logo {
    width:
        auto;

    height:
        auto;

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    padding:
        0;

    border:
        0;

    border-radius:
        0;

    background:
        transparent;

    color:
        #ffffff;

    font-family:
        "Poppins",
        sans-serif;

    font-size:
        18px;

    font-weight:
        800;

    letter-spacing:
        -0.5px;

    text-shadow:
        0 2px 14px rgba(0, 0, 0, 0.45),
        0 0 17px rgba(255, 255, 255, 0.08);

    transition:
        transform .35s var(--ease),
        text-shadow .35s ease;
}

.site-brand:hover,
.footer-logo:hover {
    background:
        transparent;

    transform:
        translateY(-2px)
        scale(1.04);

    text-shadow:
        0 3px 20px rgba(0, 0, 0, 0.5),
        0 0 25px rgba(255, 255, 255, 0.17);
}


/* =========================================================
   NAVEGACIÓN
   ========================================================= */

.site-nav-list {
    display:
        flex;

    align-items:
        center;

    gap:
        30px;
}

.site-nav-list a {
    position:
        relative;

    color:
        #bfc2c8;

    font-size:
        13px;

    font-weight:
        500;

    transition:
        color .3s ease,
        text-shadow .3s ease;
}

.site-nav-list a::before {
    content:
        "";

    position:
        absolute;

    left:
        50%;

    bottom:
        -10px;

    width:
        0;

    height:
        2px;

    transform:
        translateX(-50%);

    border-radius:
        20px;

    background:
        #ffffff;

    box-shadow:
        0 0 8px rgba(255, 255, 255, 0.24);

    transition:
        width .4s var(--ease);
}

.site-nav-list a:hover {
    color:
        #ffffff;

    text-shadow:
        0 0 12px rgba(255, 255, 255, 0.10);
}

.site-nav-list a:hover::before {
    width:
        100%;
}


/* =========================================================
   REDES SOCIALES
   ========================================================= */

.site-social,
.footer-social {
    display:
        flex;

    align-items:
        center;

    gap:
        8px;
}

.site-social a,
.footer-social a {
    display:
        flex;

    align-items:
        center;

    gap:
        8px;

    padding:
        9px 12px;

    border:
        1px solid rgba(255, 255, 255, 0.10);

    border-radius:
        11px;

    background:
        rgba(255, 255, 255, 0.035);

    color:
        #b9bdc3;

    font-size:
        12px;

    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.18);

    transition:
        transform 1s var(--ease),
        color .35s ease,
        background .35s ease,
        border-color .35s ease,
        box-shadow .55s ease;
}

.site-social a:hover,
.footer-social a:hover {
    transform:
        translateY(-5px);

    color:
        #ffffff;

    background:
        rgba(255, 255, 255, 0.08);

    border-color:
        rgba(255, 255, 255, 0.25);

    box-shadow:
        0 18px 38px rgba(0, 0, 0, 0.32),
        0 0 18px rgba(255, 255, 255, 0.03);
}

.social-icon {
    width:
        17px;

    height:
        17px;

    fill:
        currentColor;
}


/* =========================================================
   HERO
   ========================================================= */

main {
    position:
        relative;

    background-image:
        url("/src/assets/images/pro.jpg");

    background-color:
        rgba(0, 0, 0, 0.58);

    background-blend-mode:
        multiply;

    background-position:
        center;

    background-size:
        cover;

    background-repeat:
        no-repeat;

    display:
        flex;

    flex-direction:
        column;

    align-items:
        center;

    justify-content:
        center;

    gap:
        0.75rem;

    padding:
        2rem;

    text-align:
        center;

    width:
        100%;

    max-width:
        100%;

    overflow:
        hidden;

    min-height:
        100vh;

    min-height:
        100svh;

    box-shadow:
        inset 0 -55px 85px rgba(0, 0, 0, 0.35);
}

main::before {
    content:
        "";

    position:
        absolute;

    inset:
        0;

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.12),
            rgba(0, 0, 0, 0.47)
        );

    pointer-events:
        none;
}

main h1,
main h2,
main > a {
    position:
        relative;

    z-index:
        2;
}

main h1 {
    max-width:
        1000px;

    color:
        #ffffff;

    font-size:
        clamp(48px, 8.5vw, 104px);

    font-weight:
        800;

    line-height:
        .95;

    letter-spacing:
        -5px;

    text-shadow:
        0 18px 60px rgba(0, 0, 0, 0.74),
        0 0 24px rgba(255, 255, 255, 0.06);

    animation:
        heroTitleIn .9s var(--ease) both;
}

#mainH2 {
    margin-top:
        12px;

    color:
        #f0f0f0;

    font-size:
        clamp(20px, 3vw, 36px);

    font-weight:
        500;

    line-height:
        1.2;

    letter-spacing:
        -1px;

    text-shadow:
        0 8px 30px rgba(0, 0, 0, 0.62),
        0 0 16px rgba(255, 255, 255, 0.05);

    animation:
        heroTextIn .9s .12s var(--ease) both;
}

#mainH2 code {
    color:
        #ffffff;

    font-family:
        monospace;

    text-shadow:
        0 0 20px rgba(255, 255, 255, 0.25);
}

main > a {
    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    margin-top:
        25px;

    padding:
        14px 25px;

    border:
        1px solid rgba(255, 255, 255, 0.20);

    border-radius:
        12px;

    background:
        rgba(25, 27, 31, 0.72);

    color:
        #ffffff;

    font-weight:
        600;

    box-shadow:
        0 14px 38px rgba(0, 0, 0, 0.40);

    backdrop-filter:
        blur(10px);

    -webkit-backdrop-filter:
        blur(10px);

    transition:
        transform 1s var(--ease),
        background .4s ease,
        border-color .4s ease,
        box-shadow .6s ease;

    animation:
        heroButtonIn .8s .25s var(--ease) both;
}

main > a::after {
    content:
        "↗";

    margin-left:
        10px;

    transition:
        transform .4s var(--ease);
}

main > a:hover {
    transform:
        translateY(-7px);

    background:
        rgba(255, 255, 255, 0.11);

    border-color:
        rgba(255, 255, 255, 0.38);

    box-shadow:
        0 24px 58px rgba(0, 0, 0, 0.46),
        0 0 22px rgba(255, 255, 255, 0.07);
}

main > a:hover::after {
    transform:
        translate(4px, -4px);
}

@keyframes heroTitleIn {
    from {
        opacity:
            0;

        transform:
            translateY(30px)
            scale(.97);
    }

    to {
        opacity:
            1;

        transform:
            translateY(0)
            scale(1);
    }
}

@keyframes heroTextIn {
    from {
        opacity:
            0;

        transform:
            translateY(22px);
    }

    to {
        opacity:
            1;

        transform:
            translateY(0);
    }
}

@keyframes heroButtonIn {
    from {
        opacity:
            0;

        transform:
            translateY(20px);
    }

    to {
        opacity:
            1;

        transform:
            translateY(0);
    }
}


/* =========================================================
   SEPARADORES
   ========================================================= */

hr {
    width:
        min(
            calc(100% - 40px),
            var(--container)
        );

    margin:
        0 auto;

    border:
        0;

    border-top:
        1px solid rgba(255, 255, 255, 0.10);

    box-shadow:
        0 1px 10px rgba(0, 0, 0, 0.10);
}


/* =========================================================
   SECCIONES
   ========================================================= */

section {
    width:
        min(
            calc(100% - 40px),
            var(--container)
        );

    margin:
        0 auto;

    padding:
        115px 0;
}

section > h2 {
    margin-bottom:
        55px;

    color:
        #ffffff;

    font-size:
        clamp(32px, 5vw, 54px);

    font-weight:
        700;

    line-height:
        1.05;

    letter-spacing:
        -2.5px;
}

section > h2::before {
    content:
        "/";

    margin-right:
        12px;

    color:
        #ffffff;

    opacity:
        .82;
}


/* =========================================================
   TECNOLOGÍAS
   ========================================================= */

#seccionTecnologyUl {
    display:
        grid;

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

    gap:
        18px;
}


/*
   Estos colores representan el color visual de
   los PNG utilizados en las tarjetas.
*/

#htmlCard {
    --png-color:
        #e34f26;
}

#cssCard {
    --png-color:
        #1572b6;
}

#jsCard {
    --png-color:
        #f7df1e;
}

#phpCard {
    --png-color:
        #777bb4;
}

#jsonCard {
    --png-color:
        #e8be23;
}

#mySQLCard {
    --png-color:
        #00758f;
}


.languageCard {
    position:
        relative;

    min-height:
        245px;

    padding:
        28px;

    display:
        flex;

    flex-direction:
        column;

    justify-content:
        space-between;

    overflow:
        hidden;

    border:
        1px solid rgba(255, 255, 255, 0.10);

    border-radius:
        18px;

    background:
        linear-gradient(
            145deg,
            #30333a,
            #25272c
        );

    box-shadow:
        var(--shadow);

    transition:
        transform 1s var(--ease),
        border-color .5s ease,
        box-shadow 1s ease,
        background .5s ease;
}


/* Línea superior */

.languageCard::before {
    content:
        "";

    position:
        absolute;

    top:
        0;

    left:
        12%;

    width:
        76%;

    height:
        1px;

    background:
        rgba(255, 255, 255, 0.13);

    transition:
        background .5s ease;
}


/* Indicador */

.languageCard::after {
    content:
        "";

    position:
        absolute;

    top:
        25px;

    right:
        24px;

    width:
        6px;

    height:
        6px;

    border-radius:
        50%;

    background:
        #75787e;

    transition:
        background .5s ease,
        box-shadow .6s ease,
        transform .6s var(--ease);
}


/*
   Hover:
   subida suave durante 1 segundo
*/

.languageCard:hover {
    transform:
        translateY(-9px);

    border-color:
        color-mix(
            in srgb,
            var(--png-color) 68%,
            white 12%
        );

    background:
        linear-gradient(
            145deg,
            #35383f,
            #292b30
        );

    box-shadow:
        var(--shadow-hover),

        0 8px 28px
        color-mix(
            in srgb,
            var(--png-color) 23%,
            transparent
        );
}

.languageCard:hover::before {
    background:
        color-mix(
            in srgb,
            var(--png-color) 50%,
            white 20%
        );
}

.languageCard:hover::after {
    background:
        var(--png-color);

    box-shadow:
        0 0 11px
        var(--png-color);

    transform:
        scale(1.22);
}


/* =========================================================
   LOGO DE TECNOLOGÍA
   ========================================================= */

.languageCard img {
    position:
        relative;

    z-index:
        2;

    width:
        60px;

    height:
        60px;

    object-fit:
        contain;

    filter:
        grayscale(1)
        saturate(0)
        brightness(.90);

    opacity:
        .80;

    transform:
        translateY(0)
        scale(1);

    transition:
        filter 1s var(--ease),
        opacity 1s ease,
        transform 1s var(--ease);
}


/*
   Recupera el color del PNG.
*/

.languageCard:hover img {
    filter:
        grayscale(0)
        saturate(1.08)
        brightness(1.06);

    opacity:
        1;

    transform:
        translateY(-7px)
        scale(1.08);
}


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

.languageCard h3 {
    position:
        relative;

    z-index:
        2;

    margin-top:
        23px;

    color:
        #ffffff;

    font-size:
        20px;

    font-weight:
        600;

    letter-spacing:
        -.4px;

    transition:
        text-shadow .6s ease;
}

.languageCard:hover h3 {
    text-shadow:
        0 0 15px
        color-mix(
            in srgb,
            var(--png-color) 24%,
            transparent
        );
}


/* =========================================================
   DESCRIPCIÓN
   ========================================================= */

.technology-summary {
    position:
        relative;

    z-index:
        2;

    max-width:
        315px;

    margin-top:
        7px;

    color:
        #989ba1;

    font-family:
        "Inter",
        sans-serif;

    font-size:
        13px;

    line-height:
        1.65;

    transition:
        color .45s ease;
}

.languageCard:hover .technology-summary {
    color:
        #c1c4c8;
}


/* Etiqueta */

.languageCard h3::after {
    content:
        "TECHNOLOGY";

    display:
        block;

    margin-top:
        11px;

    color:
        #676a70;

    font-family:
        Arial,
        sans-serif;

    font-size:
        8px;

    font-weight:
        600;

    letter-spacing:
        2px;

    transition:
        color .5s ease,
        text-shadow .55s ease;
}

.languageCard:hover h3::after {
    color:
        var(--png-color);

    text-shadow:
        0 0 10px
        color-mix(
            in srgb,
            var(--png-color) 28%,
            transparent
        );
}


/* =========================================================
   SOBRE MÍ
   ========================================================= */

#seccionAbout {
    max-width:
        920px;
}

#seccionAbout p {
    color:
        var(--text-soft);

    font-size:
        18px;

    line-height:
        1.95;

    text-shadow:
        0 2px 12px rgba(0, 0, 0, 0.18);
}


/* =========================================================
   PROYECTOS
   ========================================================= */

#seccionProjectsUl {
    display:
        grid;

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

    gap:
        25px;
}

.projectsCard {
    position:
        relative;

    height:
        100%;

    padding:
        12px;

    display:
        flex;

    flex-direction:
        column;

    overflow:
        hidden;

    border:
        1px solid rgba(255, 255, 255, 0.10);

    border-radius:
        var(--radius-large);

    background:
        linear-gradient(
            145deg,
            #30333a,
            #25272c
        );

    box-shadow:
        var(--shadow);

    transition:
        transform 1s var(--ease),
        border-color .5s ease,
        box-shadow 1s ease,
        background .5s ease;
}

.projectsCard:hover {
    transform:
        translateY(-9px);

    border-color:
        rgba(255, 255, 255, 0.27);

    background:
        linear-gradient(
            145deg,
            #363940,
            #292b30
        );

    box-shadow:
        var(--shadow-hover);
}

.projectsCard > img,
.divImageCard {
    width:
        100%;

    height:
        315px;

    overflow:
        hidden;

    border-radius:
        16px;

    background:
        #111316;

    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.28);
}

.projectsCard > img,
.divImageCard img {
    width:
        100%;

    height:
        100%;

    object-fit:
        cover;

    transition:
        transform .8s var(--ease);
}

.projectsCard:hover > img,
.projectsCard:hover .divImageCard img {
    transform:
        scale(1.05);
}

.projectsCard h4 {
    margin:
        25px 10px 5px;

    color:
        #d5d7da;

    font-size:
        11px;

    font-weight:
        600;

    letter-spacing:
        2px;

    text-transform:
        uppercase;
}

.projectsCard h3 {
    margin:
        0 10px;

    color:
        #ffffff;

    font-size:
        clamp(21px, 2vw, 27px);

    line-height:
        1.2;
}

.project-summary {
    margin:
        13px 10px 25px;

    color:
        var(--text-muted);

    font-size:
        14px;

    line-height:
        1.75;
}

.projectsCard > a {
    width:
        fit-content;

    margin:
        auto 10px 10px;

    padding:
        10px 15px;

    border:
        1px solid rgba(255, 255, 255, 0.16);

    border-radius:
        10px;

    background:
        rgba(255, 255, 255, 0.04);

    color:
        #ffffff;

    font-size:
        13px;

    font-weight:
        600;

    box-shadow:
        0 7px 20px rgba(0, 0, 0, 0.20);

    transition:
        transform 1s var(--ease),
        background .35s ease,
        border-color .35s ease,
        box-shadow .45s ease;
}

.projectsCard > a::after {
    content:
        " →";
}

.projectsCard > a:hover {
    transform:
        translateX(5px);

    background:
        rgba(255, 255, 255, 0.09);

    border-color:
        rgba(255, 255, 255, 0.30);

    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.30);
}


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

#seccionContacto {
    max-width:
        900px;
}

.contact-status {
    margin-bottom:
        25px;

    padding:
        14px 18px;

    border-radius:
        13px;

    font-size:
        14px;

    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.20);
}

.contact-status-success {
    border:
        1px solid rgba(34, 197, 94, 0.25);

    background:
        rgba(34, 197, 94, 0.08);

    color:
        #9ef0bc;
}

.contact-status-error {
    border:
        1px solid rgba(239, 68, 68, 0.26);

    background:
        rgba(239, 68, 68, 0.08);

    color:
        #ffb2b2;
}

form {
    display:
        grid;

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

    gap:
        20px;
}

.form-field {
    display:
        flex;

    flex-direction:
        column;

    gap:
        8px;
}

.form-field-full {
    grid-column:
        1 / -1;
}

.form-field label {
    color:
        #e7e8ea;

    font-size:
        13px;

    font-weight:
        500;

    text-shadow:
        0 2px 10px rgba(0, 0, 0, 0.20);
}

.form-field input,
.form-field textarea {
    width:
        100%;

    border:
        1px solid rgba(255, 255, 255, 0.10);

    outline:
        none;

    border-radius:
        13px;

    background:
        rgba(43, 46, 52, 0.88);

    color:
        #ffffff;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.22),
        inset
        0 1px 0 rgba(255, 255, 255, 0.035);

    transition:
        border-color .35s ease,
        background .35s ease,
        box-shadow .5s ease;
}

.form-field input {
    height:
        54px;

    padding:
        0 17px;
}

.form-field textarea {
    min-height:
        185px;

    padding:
        15px 17px;

    resize:
        vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color:
        #85888f;
}

.form-field input:hover,
.form-field textarea:hover {
    border-color:
        rgba(255, 255, 255, 0.20);

    box-shadow:
        0 14px 35px rgba(0, 0, 0, 0.28);
}

.form-field input:focus,
.form-field textarea:focus {
    border-color:
        rgba(255, 255, 255, 0.36);

    background:
        rgba(49, 52, 59, 0.96);

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.32),
        0 0 22px rgba(255, 255, 255, 0.045);
}

.honeypot-field {
    position:
        absolute;

    left:
        -9999px;

    opacity:
        0;
}


/* =========================================================
   BOTÓN CONTACTO
   ========================================================= */

.contact-submit {
    grid-column:
        1 / -1;

    justify-self:
        flex-start;

    padding:
        14px 25px;

    border:
        1px solid rgba(255, 255, 255, 0.30);

    border-radius:
        12px;

    background:
        #ffffff;

    color:
        #111111;

    font-size:
        14px;

    font-weight:
        700;

    cursor:
        pointer;

    box-shadow:
        0 14px 38px rgba(0, 0, 0, 0.30),
        0 0 18px rgba(255, 255, 255, 0.04);

    transition:
        transform 1s var(--ease),
        background .4s ease,
        box-shadow .65s ease;
}

.contact-submit::after {
    content:
        " ↗";
}

.contact-submit:hover {
    transform:
        translateY(-7px);

    background:
        #ffffff;

    box-shadow:
        0 24px 58px rgba(0, 0, 0, 0.43),
        0 0 25px rgba(255, 255, 255, 0.11);
}

.contact-submit:active {
    transform:
        translateY(-2px)
        scale(.98);
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
    position:
        relative;

    overflow:
        hidden;

    border-top:
        1px solid rgba(255, 255, 255, 0.10);

    background:
        linear-gradient(
            180deg,
            #2a2d33,
            #202226
        );

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

.footer-inner {
    position:
        relative;

    z-index:
        1;

    width:
        min(
            calc(100% - 40px),
            var(--container)
        );

    margin:
        auto;

    padding:
        85px 0 60px;

    display:
        grid;

    grid-template-columns:
        1.6fr 1fr 1fr 1.2fr;

    gap:
        45px;
}

.footer-brand h2 {
    margin-top:
        20px;

    color:
        #ffffff;

    font-size:
        20px;
}

.footer-brand p {
    max-width:
        370px;

    margin:
        12px 0 18px;

    color:
        #b1b4ba;

    font-size:
        14px;

    line-height:
        1.8;
}

.footer-phone {
    color:
        #eeeeee;

    font-size:
        14px;

    transition:
        color .3s ease,
        text-shadow .3s ease;
}

.footer-phone:hover {
    color:
        #ffffff;

    text-shadow:
        0 0 16px rgba(255, 255, 255, 0.12);
}

.footer-column h3 {
    margin-bottom:
        20px;

    color:
        #ffffff;

    font-size:
        14px;
}

.footer-column ul {
    display:
        flex;

    flex-direction:
        column;

    gap:
        11px;
}

.footer-column li a {
    color:
        #9b9ea5;

    font-size:
        13px;

    transition:
        transform 1s var(--ease),
        color .3s ease,
        text-shadow .3s ease;
}

.footer-column li a:hover {
    color:
        #ffffff;

    transform:
        translateX(5px);

    text-shadow:
        0 0 12px rgba(255,255,255,.08);
}

.footer-connect p {
    margin-bottom:
        20px;

    color:
        #9b9ea5;

    font-size:
        13px;

    line-height:
        1.8;
}

.footer-social {
    flex-wrap:
        wrap;
}

.footer-bottom {
    position:
        relative;

    z-index:
        1;

    width:
        min(
            calc(100% - 40px),
            var(--container)
        );

    margin:
        auto;

    padding:
        22px 0;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        20px;

    border-top:
        1px solid rgba(255, 255, 255, 0.09);

    color:
        #777a81;

    font-size:
        11px;
}


/* =========================================================
   BOTONES FLOTANTES
   ========================================================= */

/*
   WhatsApp -> derecha
   Volver arriba -> izquierda
*/

.whatsapp-float,
.backtop {
    position:
        fixed;

    bottom:
        24px;

    width:
        54px;

    height:
        54px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border:
        1px solid rgba(255, 255, 255, 0.16);

    border-radius:
        50%;

    z-index:
        1500;

    cursor:
        pointer;

    box-shadow:
        0 15px 38px rgba(0, 0, 0, 0.40);

    backdrop-filter:
        blur(13px);

    -webkit-backdrop-filter:
        blur(13px);

    transition:
        transform 1s var(--ease),
        background .35s ease,
        border-color .35s ease,
        box-shadow .65s ease,
        opacity .3s ease;
}

.floating-icon {
    width:
        24px;

    height:
        24px;

    fill:
        currentColor;

    transition:
        transform .5s var(--ease);
}


/* =========================================================
   WHATSAPP
   ========================================================= */

.whatsapp-float {
    right:
        24px;

    color:
        #ffffff;

    background:
        linear-gradient(
            145deg,
            #25d366,
            #128c7e
        );

    border-color:
        rgba(37, 211, 102, 0.46);

    animation:
        whatsappEnter .7s var(--ease) both;
}

.whatsapp-float:hover {
    transform:
        translateY(-8px)
        scale(1.07);

    border-color:
        rgba(37, 211, 102, 0.78);

    box-shadow:
        0 24px 58px rgba(0, 0, 0, 0.46),
        0 0 28px rgba(37, 211, 102, 0.20);
}

.whatsapp-float:hover .floating-icon {
    transform:
        rotate(-8deg)
        scale(1.12);
}

.whatsapp-float:active {
    transform:
        translateY(-2px)
        scale(.95);
}

@keyframes whatsappEnter {
    from {
        opacity:
            0;

        transform:
            translateY(40px)
            scale(.7);
    }

    to {
        opacity:
            1;

        transform:
            translateY(0)
            scale(1);
    }
}


/* =========================================================
   VOLVER ARRIBA
   ========================================================= */

.backtop {
    left:
        24px;

    right:
        auto;

    color:
        #ffffff;

    background:
        rgba(45, 47, 53, 0.92);

    opacity:
        0;

    visibility:
        hidden;

    pointer-events:
        none;

    transform:
        translateY(25px)
        scale(.82);
}

.backtop.is-visible {
    opacity:
        1;

    visibility:
        visible;

    pointer-events:
        auto;

    animation:
        backtopEnter .45s var(--ease) both;
}

.backtop:hover {
    transform:
        translateY(-8px)
        scale(1.07);

    background:
        rgba(255, 255, 255, 0.13);

    border-color:
        rgba(255, 255, 255, 0.35);

    box-shadow:
        0 24px 58px rgba(0, 0, 0, 0.44),
        0 0 22px rgba(255, 255, 255, 0.07);
}

.backtop:hover .floating-icon {
    transform:
        translateY(-4px);
}

.backtop:active {
    transform:
        translateY(-2px)
        scale(.95);
}

@keyframes backtopEnter {
    from {
        opacity:
            0;

        transform:
            translateY(25px)
            scale(.78);
    }

    to {
        opacity:
            1;

        transform:
            translateY(0)
            scale(1);
    }
}


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

@media (max-width: 1000px) {

    .site-nav {
        gap:
            18px;
    }

    .site-nav-list {
        gap:
            18px;
    }

    .site-social span {
        display:
            none;
    }

    #seccionTecnologyUl {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .footer-inner {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}


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

@media (max-width: 720px) {

    .site-nav {
        width:
            calc(100% - 24px);

        min-height:
            68px;
    }

    .site-nav-list {
        display:
            none;
    }

    .site-social {
        margin-left:
            auto;
    }

    main {
        padding:
            1.5rem;
    }

    main h1 {
        font-size:
            clamp(42px, 13vw, 68px);

        letter-spacing:
            -3px;
    }

    #mainH2 {
        font-size:
            21px;

        line-height:
            1.35;
    }

    section {
        width:
            calc(100% - 28px);

        padding:
            80px 0;
    }

    section > h2 {
        margin-bottom:
            38px;

        font-size:
            32px;

        letter-spacing:
            -1.5px;
    }


    /* TECNOLOGÍAS */

    #seccionTecnologyUl {
        grid-template-columns:
            1fr;

        gap:
            14px;
    }

    .languageCard {
        min-height:
            225px;

        padding:
            25px;
    }

    .languageCard img {
        width:
            53px;

        height:
            53px;
    }


    /* SOBRE MÍ */

    #seccionAbout p {
        font-size:
            16px;

        line-height:
            1.85;
    }


    /* PROYECTOS */

    #seccionProjectsUl {
        grid-template-columns:
            1fr;
    }

    .projectsCard > img,
    .divImageCard {
        height:
            235px;
    }


    /* FORMULARIO */

    form {
        grid-template-columns:
            1fr;
    }

    .form-field-full,
    .contact-submit {
        grid-column:
            auto;
    }

    .contact-submit {
        width:
            100%;
    }


    /* FOOTER */

    .footer-inner {
        grid-template-columns:
            1fr;

        padding:
            65px 0 45px;

        gap:
            42px;
    }

    .footer-bottom {
        flex-direction:
            column;

        align-items:
            flex-start;
    }


    /* BOTONES FLOTANTES */

    .whatsapp-float,
    .backtop {
        width:
            50px;

        height:
            50px;

        bottom:
            16px;
    }

    .whatsapp-float {
        right:
            16px;
    }

    .backtop {
        left:
            16px;
    }

    .floating-icon {
        width:
            22px;

        height:
            22px;
    }
}


/* =========================================================
   MOBILE PEQUEÑO
   ========================================================= */

@media (max-width: 430px) {

    .site-brand {
        font-size:
            17px;
    }

    .site-social a {
        padding:
            8px;
    }

    main h1 {
        font-size:
            44px;

        letter-spacing:
            -2px;
    }

    #mainH2 {
        font-size:
            19px;
    }

    main > a {
        width:
            100%;

        max-width:
            240px;
    }

    .languageCard {
        padding:
            24px;
    }

    .projectsCard {
        padding:
            10px;
    }

    .projectsCard > img,
    .divImageCard {
        height:
            205px;
    }
}


/* =========================================================
   REDUCE MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior:
            auto;
    }

    *,
    *::before,
    *::after {
        animation-duration:
            .01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            .01ms !important;
    }
}

.site-header {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 10;
    border-bottom: 1px solid transparent;
    background-color: transparent;
    transition: border-color 850ms ease, box-shadow 850ms ease, backdrop-filter 850ms ease;
}

.site-header::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-color: rgba(20, 20, 20, 0.62);
    content: "";
    opacity: 0;
    transition: opacity 850ms ease;
}

.site-header.is-scrolled {
    position: fixed;
    border-bottom-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
    -webkit-backdrop-filter: blur(16px) saturate(125%);
    backdrop-filter: blur(16px) saturate(125%);
}

.site-header.is-scrolled::before {
    opacity: 1;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    width: min(100% - 2rem, 1200px);
    min-height: 4.5rem;
    margin: 0 auto;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 2.6rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.85);
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 1rem;
    font-weight: 800;
    text-decoration: none;
    transition: border-color 220ms ease, color 220ms ease, transform 220ms ease;
}

.site-brand:hover {
    border-color: #ffffff;
    color: #d4d4d4;
    transform: translateY(-2px);
}

.site-nav-list {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.5rem;
    list-style: none;
}

.site-nav-list a {
    position: relative;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 160ms ease, opacity 160ms ease;
}

.site-nav-list a::after {
    position: absolute;
    right: 0;
    bottom: -0.4rem;
    left: 0;
    height: 2px;
    background-color: currentColor;
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 220ms ease;
}

.site-nav-list a:hover,
.site-nav-list a:focus-visible {
    color: #d4d4d4;
}

.site-nav-list a:hover::after,
.site-nav-list a:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left;
}

.site-brand:focus-visible,
.site-nav-list a:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 4px;
}

.site-social {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex: 0 0 auto;
}

.site-social a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 160ms ease, transform 160ms ease;
}

.social-icon {
    width: 1rem;
    height: 1rem;
    fill: currentColor;
}

.site-social a:hover,
.site-social a:focus-visible {
    color: #ffffff;
    transform: translateY(-2px) scale(1.04);
}