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

.contact-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 160px 40px 120px;
}


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

.contact-hero {
    max-width: 850px;
    margin-bottom: 120px;
}

.contact-label {
    display: inline-block;
    margin-bottom: 30px;

    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;

    color: #2a9d8f;
}

.contact-hero h1 {
    margin: 0 0 35px;

    font-size: clamp(3.5rem, 8vw, 7rem);
    line-height: 0.95;
    letter-spacing: -0.05em;
}

.contact-intro {
    max-width: 700px;
    margin: 0;

    font-size: 1.3rem;
    line-height: 1.7;

    opacity: 0.72;
}


/* =========================
   CONTENIDO
   ========================= */

.contact-content {
    max-width: 900px;
}


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

.contact-section {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 60px;

    padding: 70px 0;

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

.contact-section h2 {
    margin: 0;

    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;

    color: #2a9d8f;
}


/* =========================
   EMAIL
   ========================= */

.contact-email {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;

    padding: 22px 0;

    color: inherit;
    text-decoration: none;

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

    transition:
        border-color 0.25s ease,
        color 0.25s ease,
        padding 0.25s ease;
}

.contact-email-text {
    font-size: clamp(1.2rem, 2.5vw, 1.7rem);
    letter-spacing: -0.02em;
}

.contact-arrow {
    font-size: 1.4rem;
    opacity: 0.5;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

.contact-email:hover {
    color: #2a9d8f;
    border-color: #2a9d8f;
    padding-left: 10px;
}

.contact-email:hover .contact-arrow {
    opacity: 1;
    transform: translate(4px, -4px);
}


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

.contact-socials {
    display: flex;
    flex-direction: column;
    gap: 14px;
}


/* =========================
   TARJETAS
   ========================= */

.social-card {
    display: flex;
    align-items: center;

    min-height: 88px;

    padding: 18px 22px;

    text-decoration: none;
    color: inherit;

    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;

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

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}

.social-card:hover {
    transform: translateX(8px);

    border-color: rgba(42, 157, 143, 0.65);

    background: rgba(42, 157, 143, 0.05);
}


/* =========================
   ICONOS
   ========================= */

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 50px;
    height: 50px;

    margin-right: 20px;

    color: rgba(255, 255, 255, 0.8);

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 7px;

    transition:
        color 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}

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

.social-card:hover .social-icon {
    color: #2a9d8f;
    border-color: rgba(42, 157, 143, 0.5);
    background: rgba(42, 157, 143, 0.08);
}


/* =========================
   INFORMACIÓN SOCIAL
   ========================= */

.social-info {
    display: flex;
    flex-direction: column;
    gap: 5px;

    flex: 1;
}

.social-info strong {
    font-size: 1.05rem;
    font-weight: 600;
}

.social-info span {
    font-size: 0.85rem;
    opacity: 0.5;
}


/* =========================
   FLECHA
   ========================= */

.social-arrow {
    font-size: 1.25rem;

    opacity: 0.35;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease,
        color 0.25s ease;
}

.social-card:hover .social-arrow {
    color: #2a9d8f;
    opacity: 1;
    transform: translate(4px, -4px);
}


/* =========================
   CIERRE
   ========================= */

.contact-final {
    margin-top: 70px;
    padding: 60px 0;

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

.contact-final p {
    max-width: 800px;
    margin: 0;

    font-size: 1.6rem;
    line-height: 1.6;

    opacity: 0.85;
}


/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 768px) {

    .contact-page {
        padding: 120px 25px 80px;
    }

    .contact-hero {
        margin-bottom: 80px;
    }

    .contact-hero h1 {
        font-size: 4rem;
    }

    .contact-intro {
        font-size: 1.1rem;
    }

    .contact-section {
        grid-template-columns: 1fr;
        gap: 25px;

        padding: 50px 0;
    }

    .contact-email-text {
        font-size: 1.15rem;
    }

    .social-card {
        min-height: 80px;
        padding: 15px;
    }

    .social-icon {
        width: 44px;
        height: 44px;

        margin-right: 15px;
    }

    .social-icon svg {
        width: 21px;
        height: 21px;
    }

    .contact-final {
        margin-top: 40px;
        padding: 45px 0;
    }

    .contact-final p {
        font-size: 1.3rem;
    }
}