/* ========================================
   Contacto Page Styles
   ======================================== */

/* Contact Hero */
.contact-hero {
    position: relative;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.contact-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.contact-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
}

.contact-hero__title {
    position: relative;
    z-index: 1;
    font-size: 48px;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

/* Contact Section */
.contact {
    padding: 60px 10%;
    background: #f5f5f5;
}

.contact__grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* Cards */
.contact__card {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

/* Profile Card */
.contact__card--profile {
    text-align: center;
}

.contact__avatar {
    margin-bottom: 20px;
}

.contact__avatar-placeholder {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #57b6de, #04b800);
    color: #fff;
    font-size: 28px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.contact__name {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 4px;
}

.contact__role {
    font-size: 16px;
    font-weight: 400;
    color: #888;
    margin-bottom: 20px;
}

.contact__divider {
    border: none;
    border-top: 1px solid #eee;
    margin: 20px 0;
}

.contact__info {
    list-style: none;
    padding: 0;
    text-align: left;
}

.contact__info li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}

.contact__info li:last-child {
    border-bottom: none;
}

.contact__icon {
    font-size: 20px;
    flex-shrink: 0;
}

.contact__info a {
    font-size: 15px;
    color: #333;
    transition: color 0.3s;
}

.contact__info a:hover {
    color: #04b800;
}

/* Social Card */
.contact__card-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 24px;
}

.contact__social-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact__social-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 10px;
    background: #f9f9f9;
    transition: background 0.3s, transform 0.2s;
}

.contact__social-item:hover {
    transform: translateX(4px);
}

.contact__social-item--whatsapp:hover {
    background: #e8f5e9;
}

.contact__social-item--instagram:hover {
    background: #fce4ec;
}

.contact__social-item--github:hover {
    background: #e8eaf6;
}

.contact__social-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.contact__social-item div {
    display: flex;
    flex-direction: column;
}

.contact__social-item strong {
    font-size: 15px;
    font-weight: 700;
    color: #333;
}

.contact__social-item span {
    font-size: 13px;
    color: #888;
}

/* CTA Card */
.contact__card--cta {
    grid-column: 1 / -1;
    text-align: center;
    background: linear-gradient(135deg, #404040, #555);
    color: #fff;
    padding: 50px 40px;
}

.contact__card--cta .contact__card-title {
    color: #fff;
    font-size: 26px;
    margin-bottom: 12px;
}

.contact__card--cta p {
    font-size: 16px;
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 28px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.contact__card--cta .btn-cta {
    font-size: 18px;
}

/* Responsive */
@media (max-width: 768px) {
    .contact {
        padding: 40px 5%;
    }

    .contact__grid {
        grid-template-columns: 1fr;
    }

    .contact__card {
        padding: 28px;
    }

    .contact-hero__title {
        font-size: 36px;
    }

    .contact__card--cta {
        grid-column: 1;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        height: 160px;
    }

    .contact-hero__title {
        font-size: 28px;
    }

    .contact__name {
        font-size: 18px;
    }
}
