.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.contact-section {
    background-color: #0B1120;
    padding: 4rem 5% 2rem;
    border-top: 1px solid rgba(56, 189, 248, 0.1);
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    margin-bottom: 3rem;
}

.contact-header {
    max-width: 720px;
    margin: 0 auto 3rem;
    text-align: center;
}

.contact-header h2 {
    margin-bottom: 1rem;
}

.contact-header p {
    color: var(--text-muted);
}

.contact-area {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr);
    gap: 2rem;
    align-items: stretch;
    text-align: left;
}

.contact-form,
.contact-info {
    position: relative;
    overflow: hidden;
    background-color: var(--card-bg);
    border-radius: 12px;
    border: 2px solid rgba(148, 163, 184, 0.16);
    padding: 2rem;
}

.contact-form::before,
.contact-info::before {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: conic-gradient(
        transparent,
        #6D5DFC,
        #3B82F6,
        #22C55E,
        #6D5DFC,
        transparent
    );
    animation: rotateBorder 4s linear infinite;
}

.contact-form::after,
.contact-info::after {
    content:"";
    position: absolute;
    inset:2px;
    background:#111827;
    border-radius:12px;
}

.contact-form > *,
.contact-info > * {
    position: relative;
    z-index: 2;
}

@keyframes rotateBorder {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }

}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.contact-form label {
    font-weight: 600;
    color: var(--text-main);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 8px;
    background-color: #0F172A;
    color: var(--text-main);
    font: inherit;
    padding: 0.9rem 1rem;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 18px;
    padding-right: 2.75rem;
}

.contact-form select:invalid {
    color: rgba(248, 250, 252, 0.55);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(148, 163, 184, 0.75);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--tertiary-blue);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.14);
}

.contact-form .btn-cta {
    cursor: pointer;
    margin-top: 0.75rem;
    align-self: flex-start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.profile-photo {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    padding: 4px;
    margin-bottom: 1.25rem;
    border: 1px solid var(--tertiary-blue);
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.08);
    overflow: hidden;
}

.profile-photo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.profile-photo:hover img {
    transform: scale(1.08);
}

.profile-name {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.profile-bio {
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    max-width: 32ch;
}

.profile-contact {
    margin-bottom: 1.75rem;
}

.profile-contact a {
    color: var(--tertiary-blue);
    font-weight: 500;
}

.profile-contact a:hover {
    color: var(--primary-purple);
}

.social-container {
    display: flex;
    gap: 1rem;
}

.social-card {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background-color: rgba(148, 163, 184, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: var(--text-main);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
                background-color 0.3s ease,
                border-color 0.3s ease,
                box-shadow 0.3s ease,
                color 0.3s ease;
}

.social-card svg {
    width: 24px;
    height: 24px;
}

.social-card:hover {
    transform: translateY(-8px) rotate(12deg) scale(1.08);
}

.social-card:active {
    transform: translateY(-4px) rotate(6deg) scale(1.02);
}

.social-card.whatsapp:hover {
    background-color: rgba(16, 185, 129, 0.16);
    border-color: var(--secondary-green);
    color: var(--secondary-green);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.25);
}

.social-card.instagram:hover {
    background-color: rgba(139, 92, 246, 0.16);
    border-color: var(--primary-purple);
    color: var(--primary-purple);
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.25);
}

.social-card.linkedin:hover {
    background-color: rgba(56, 189, 248, 0.16);
    border-color: var(--tertiary-blue);
    color: var(--tertiary-blue);
    box-shadow: 0 10px 20px rgba(56, 189, 248, 0.25);
}

.site-footer {
    background-color: #0B1120;
    padding: 4rem 5% 2rem;
    border-top: 1px solid rgba(56, 189, 248, 0.1);
}

.site-footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    margin-bottom: 1.5rem;
}

.site-footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 320px;
}

.site-footer-logo {
    width: 160px;
    height: auto;
}

.site-footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.site-footer-col h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    margin-bottom: 1.1rem;
}

.site-footer-col nav,
.site-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.site-footer-col a,
.site-footer-contact a,
.site-footer-contact span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.site-footer-col a:hover,
.site-footer-contact a:hover {
    color: var(--tertiary-blue);
}

.site-footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem 1.5rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.site-footer-bottom p {
    margin: 0;
}

@media (max-width: 768px) {
    .contact-area {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .site-footer-content {
        flex-direction: column;
        text-align: center;
    }
    .site-footer-brand {
        max-width: 100%;
        align-items: center;
    }
    .site-footer-bottom {
        justify-content: center;
        text-align: center;
    }
}
