.contacto-section {
    display: flex;
    justify-content: center;
}

.contacto-container {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.contacto-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 500px;
    min-width: 0;
}

.contacto-info h2 {
    font-weight: 700;
    color: var(--midNight-900);
    line-height: 1.1;
}

.contacto-subtext {
    font-size: var(--subtitle-size);
    color: var(--midNight-400);
    line-height: 1.5;

}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.info-item-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 0;
    /* Permite que el texto se recorte en lugar de desbordar */
}

.clickable-item {
    cursor: pointer;
    transition: transform 0.3s ease;
    width: 100%;
    /* Ensure it spans the container to push arrow */
}

.clickable-item:hover {
    transform: translateX(4px);
}

.info-item-arrow {
    font-size: 24px;
    color: var(--midNight-900);
    margin-left: auto;
    /* Pushes the arrow to the far right */
}

.info-icon-box {
    width: 64px;
    height: 64px;
    background-color: var(--midNight-50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon-box i {
    font-size: 32px;
    color: var(--midNight-700);
}

.info-text {
    display: flex;
    flex-direction: column;
}

.info-text span {
    font-size: 13px;
    font-weight: 700;
    color: var(--midNight-300);
    letter-spacing: 0.5px;
}

.info-text a {
    font-size: 18px;
    font-weight: 600;
    color: var(--midNight-500);
    transition: color 0.3s ease;
    overflow-wrap: break-word;
    word-break: break-all;
    white-space: normal;
}

/* Social Footer Styling */
.social-footer {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.social-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--midNight-400);
}

.social-label .line {
    width: 24px;
    height: 1.5px;
    background-color: var(--midNight-400);
}

.social-icons-footer {
    display: flex;
    gap: 16px;
}

.social-icons-footer a {
    font-size: 24px;
    color: var(--midNight-700);
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons-footer a:hover {
    transform: translateY(-4px);
    color: var(--deepSaffron-500);
}

@media (max-width: 1100px) {
    .contacto-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contacto-info {
        max-width: 100%;
        gap: 24px;
    }

    .info-items {
        flex-direction: column;
        gap: 24px;
    }

    .info-item,
    .clickable-item {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .info-item {
        width: auto;
    }

    .clickable-item {
        width: auto;
    }

    .info-item-arrow {
        display: block;
        font-size: 20px;
    }

    .contacto-form-wrapper {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }
}

@media (max-width: 768px) {
    .contacto-container {
        gap: 48px;
    }


    .info-icon-box {
        width: 50px;
        height: 50px;
    }

    .info-icon-box i {
        font-size: 24px;
    }

    .contacto-subtext {
        font-size: 16px;
    }

    .info-text a {
        font-size: 16px;
    }

    .info-text span {
        font-size: 12px;
    }
}