:root {
    --cien: 100%;
    --negro: black;
    --blanco: white;
    --corporativoPrincipal: #134c7e;
    --corporativoComplementario: #2180bb;
}

body {
    scrollbar-width: none;
    overflow-y: hidden;
    background: linear-gradient(135deg, #134c7e 0%, #2180bb 100%);
}



section.content {
    width: var(--cien);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

section.content .salir {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 35px;
    cursor: pointer;
    transition: transform 0.25s ease, opacity 0.25s ease;
    z-index: 100;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

section.content .salir:hover {
    transform: rotate(90deg) scale(1.1);
    opacity: 0.8;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}

section.content .salir:active {
    transform: rotate(90deg) scale(0.95);
}

section.content .tarjeta-formulario {
    width: 55%;
    height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    animation: slideUp 0.7s ease-out;
    border-radius: 40px;
    background: rgba(19, 76, 126, 0.3);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 22px -8px 52px -30px rgba(0, 0, 0, 0.29) inset;
    -webkit-box-shadow: 22px -8px 52px -30px rgba(0, 0, 0, 0.29) inset;
    -moz-box-shadow: 22px -8px 52px -30px rgba(0, 0, 0, 0.29) inset;
    transition: box-shadow 0.3s ease;
}

section.content .tarjeta-formulario:hover {
    box-shadow: 22px -8px 52px -30px rgba(0, 0, 0, 0.29) inset,
        0 10px 40px rgba(19, 76, 126, 0.2);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.title {
    width: var(--cien);
    height: 20%;
    display: flex;
    justify-content: end;
    align-items: center;
    flex-direction: column;
}

.title h1,
.title h2 {
    text-align: center;
    color: var(--blanco);
    animation: fadeInText 0.8s ease-out 0.3s backwards;
}

@keyframes fadeInText {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.title h1 {
    font-weight: 800;
    font-size: 43px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.title h2 {
    font-size: 10px;
    width: 44%;
    margin-top: -10px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.interactions {
    width: var(--cien);
    height: 80%;
    display: flex;
    justify-content: center;
    align-items: start;
}

.formulario,
.contacto {
    width: 40%;
    height: 90%;
    display: flex;
    justify-content: end;
    align-items: center;
    flex-direction: column;
    gap: 20px;
}

.formulario {
    justify-content: center;
    animation: slideInLeft 0.7s ease-out 0.4s backwards;
}

.contacto {
    animation: slideInRight 0.7s ease-out 0.4s backwards;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.form-group {
    display: flex;
    justify-content: center;
    align-items: start;
    flex-direction: column;
    width: 90%;
    position: relative;
}

.form-group label {
    color: var(--blanco);
    margin-right: 20px;
    text-align: left;
    font-size: 15px;
    margin-bottom: 5px;
    margin-left: 20px;
    transition: transform 0.2s ease, color 0.2s ease;
    text-decoration: underline;
}

.form-group:hover label {
    transform: translateX(3px);
    color: rgba(255, 255, 255, 0.9);
}

.form-group input,
.form-group textarea {
    border: none;
    outline: none;
    background-color: hsla(208, 74%, 28%, 0.4);
    width: var(--cien);
    height: 40px;
    border-radius: 10px;
    padding: 0px 20px;
    color: var(--blanco);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}



.form-group input:hover,
.form-group textarea:hover {
    background-color: hsla(208, 74%, 28%, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(19, 76, 126, 0.3);
}

.form-group input:focus,
.form-group textarea:focus {
    background-color: hsla(208, 74%, 28%, 0.6);
    border-color: rgba(33, 128, 187, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(33, 128, 187, 0.4);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.397);
    font-size: 10px;
}

.form-group textarea {
    height: 70px;
    padding-top: 10px;
    max-height: 70px;
    max-width: var(--cien);
    resize: none;
}

.interactions button {
    background-color: hsla(208, 74%, 28%);
    width: 90%;
    height: 45px;
    border-radius: 10px;
    color: var(--blanco);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.interactions button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.interactions button:hover {
    background-color: hsla(208, 74%, 35%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(19, 76, 126, 0.4);
    border-color: rgba(33, 128, 187, 0.5);
}

.interactions button:hover::before {
    width: 300px;
    height: 300px;
}

.interactions button:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(19, 76, 126, 0.3);
}

/* Animación de envío */
.interactions button.sending {
    animation: pulseButton 0.6s ease-in-out;
    pointer-events: none;
}

@keyframes pulseButton {

    0%,
    100% {
        transform: scale(1);
    }

    25% {
        transform: scale(0.95);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 30px rgba(33, 128, 187, 0.6);
    }

    75% {
        transform: scale(0.98);
    }
}



.contacto {
    padding-top: 10px;
    justify-content: space-between;
}

.links,
.info,
.logo {
    width: var(--cien);
    height: 28%;
    display: flex;
    justify-content: center;
    align-items: center;
}


.info {
    width: 90%;
}


.logo {
    width: 65%;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: filter 0.3s ease;
}

.logo:hover img {
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
}

.info {
    flex-direction: column;
    margin-bottom: 10px;
}

.info .text {
    width: 75%;
    height: 33%;
    padding-left: 10px;
    display: flex;
    justify-content: start;
    align-items: center;
    transition: all 0.3s ease;
    border-radius: 10px;
}

.info .text:hover {
    transform: translateX(5px);
    padding-left: 15px;
}

.info {
    justify-content: space-between;
}

.info .text .img {
    width: 10%;
    height: var(--cien);
    display: flex;
    justify-content: center;
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.info .text:hover .img {
    transform: scale(1.1) rotate(5deg);
}

.info .text .img img {
    min-width: 25px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.info h1 {
    width: var(--cien);
    color: var(--blanco);
    font-size: 15px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    text-align: start !important;
    padding-left: 10px;
    line-height: 1;
}

.links {
    gap: 30px;
}

a.redes {
    width: 18%;
    height: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, filter 0.3s ease;
    border-radius: 50%;
    position: relative;
}

a.redes::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(33, 128, 187, 0.3);
    transform: scale(0);
    transition: transform 0.3s ease;
}

a.redes:hover::before {
    transform: scale(1.2);
}

a.redes:hover {
    transform: scale(1.15) translateY(-5px);
    filter: drop-shadow(0 8px 16px rgba(33, 128, 187, 0.5));
}

a.redes:active {
    transform: scale(1.05) translateY(-2px);
}

a.redes img {
    min-width: 70%;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

a.redes:hover img {
    transform: rotate(10deg);
}


@media screen and (max-width: 1024px) {
    section.content .tarjeta-formulario {
        width: 70%;
        height: 92%;
        margin-top: 60px;
        flex-direction: column;
    }

    .title h1 {
        font-size: 36px;
    }

    .title h2 {
        width: 60%;
    }

    .text {
        img {
            width: 18px;
        }
    }

    .formulario,
    .contacto {
        width: 45%;
    }

    a.redes {
        width: 13%;
    }

    .info {
        width: 60%;
    }
}


@media screen and (max-width: 768px) {
    body {
        overflow-y: auto;
    }

    section.content {
        height: auto;
        min-height: 100vh;
        padding: 20px 0;
    }

    section.content .salir {
        top: 20px;
        right: 20px;
        width: 30px;
    }

    section.content .tarjeta-formulario {
        width: 90%;
        height: auto;
        min-height: auto;
        padding: 30px 0;
        border-radius: 30px;
    }

    .title {
        height: auto;
        padding: 30px 0 20px;
        justify-content: center;
    }

    .title h1 {
        font-size: 28px;
        margin-top: 0;
    }

    .title h2 {
        width: 80%;
        font-size: 12px;
        margin-top: 10px;
    }

    .interactions {
        flex-direction: column;
        height: auto;
        align-items: center;
    }

    .formulario,
    .contacto {
        width: 100%;
        height: auto;
        justify-content: center;
        padding: 20px 0;
    }

    .formulario {
        margin-bottom: 30px;
    }

    .contacto {
        height: auto;
        gap: 30px;
    }

    .links,
    .info,
    .logo {
        height: auto;
        padding: 15px 0;
    }

    .info .text {
        width: 85%;
        height: auto;
        padding: 10px;
    }

    .info h1 {
        font-size: 14px;
        white-space: normal;
        text-align: center;
    }

    .logo {
        img {
            width: 80%;
        }
    }
}


/* Asegura que el canvas de Vanta cubra todo */
body canvas {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: -1;
}

h1#address {
    white-space: nowrap;
}