/* =========================================================
   GRUPO LAS LETRAS
   CONTACTO
   Diseño editorial — CSS puro
   ========================================================= */


/* =========================================================
   HERO / CONTACTO
   ========================================================= */

.page-hero {
    position: relative;

    min-height: 68vh;

    display: flex;
    align-items: center;

    padding: 130px 0;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 82% 28%,
            rgba(168, 138, 82, 0.14),
            transparent 30%
        ),
        var(--color-fondo);
}


/* Gran círculo decorativo */

.page-hero::before {
    content: "";

    position: absolute;

    right: -180px;
    bottom: -220px;

    width: 520px;
    height: 520px;

    border: 1px solid rgba(168, 138, 82, 0.22);

    border-radius: 50%;
}


/* Línea vertical */

.page-hero::after {
    content: "";

    position: absolute;

    right: 12%;

    top: 18%;
    height: 64%;

    width: 1px;

    background: linear-gradient(
        to bottom,
        transparent,
        var(--color-dorado),
        transparent
    );

    opacity: 0.35;
}


.page-hero .container {
    position: relative;

    z-index: 2;

    max-width: 1100px;
}


.page-hero .small-title {
    display: block;

    margin-bottom: 28px;

    color: var(--color-dorado);

    font-size: 12px;

    font-weight: 600;

    letter-spacing: 4px;

    text-transform: uppercase;
}


.page-hero h1 {
    max-width: 900px;

    margin-bottom: 35px;

    font-size: clamp(3.5rem, 7vw, 6.8rem);

    line-height: 0.91;

    letter-spacing: -1.5px;
}


.page-hero p {
    max-width: 680px;

    font-size: 16px;

    line-height: 1.9;
}


/* =========================================================
   FORMAS DE CONTACTO
   ========================================================= */

.contact-grid {
    display: grid;

    grid-template-columns:
        1.15fr
        1fr
        1fr;

    gap: 2px;

    background: var(--color-borde);

    border: 1px solid var(--color-borde);
}


/* =========================================================
   TARJETAS DE CONTACTO
   ========================================================= */

.contact-card {
    position: relative;

    min-height: 440px;

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    padding: 50px 42px;

    overflow: hidden;

    background: var(--color-fondo);

    transition:
        transform 0.4s ease,
        background-color 0.4s ease;
}


/* Línea superior */

.contact-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 0;
    height: 3px;

    background: var(--color-dorado);

    transition: width 0.45s ease;
}


.contact-card:hover {
    z-index: 2;

    transform: translateY(-8px);

    background: var(--color-blanco);
}


.contact-card:hover::before {
    width: 100%;
}


/* Círculo decorativo */

.contact-card::after {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    right: -80px;
    bottom: -90px;

    border: 1px solid rgba(168, 138, 82, 0.16);

    border-radius: 50%;

    transition:
        transform 0.5s ease,
        opacity 0.5s ease;
}


.contact-card:hover::after {
    transform: scale(1.25);

    opacity: 0.8;
}


/* =========================================================
   TARJETA DESTACADA
   ========================================================= */

.contact-card-featured {
    background:
        linear-gradient(
            145deg,
            rgba(168, 138, 82, 0.10),
            transparent 65%
        ),
        var(--color-principal);

    color: var(--color-blanco);
}


.contact-card-featured:hover {
    background:
        linear-gradient(
            145deg,
            rgba(168, 138, 82, 0.15),
            transparent 65%
        ),
        var(--color-principal);
}


.contact-card-featured > span {
    color: var(--color-dorado);
}


.contact-card-featured h3 {
    color: var(--color-blanco);
}


.contact-card-featured p {
    color: rgba(255, 255, 255, 0.68);
}


/* =========================================================
   ICONOS
   ========================================================= */

.contact-icon {
    position: relative;

    z-index: 2;

    width: 58px;
    height: 58px;

    margin-bottom: 35px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid var(--color-dorado);

    color: var(--color-dorado);

    font-size: 22px;

    transition:
        transform 0.35s ease,
        background-color 0.35s ease;
}


.contact-card:hover .contact-icon {
    transform: rotate(4deg) scale(1.05);

    background: rgba(168, 138, 82, 0.08);
}


/* =========================================================
   ETIQUETAS
   ========================================================= */

.contact-card > span {
    position: relative;

    z-index: 2;

    margin-bottom: 14px;

    color: var(--color-dorado);

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 3px;

    text-transform: uppercase;
}


/* =========================================================
   TÍTULOS
   ========================================================= */

.contact-card h3 {
    position: relative;

    z-index: 2;

    margin-bottom: 22px;

    font-size: clamp(2rem, 3vw, 2.8rem);

    line-height: 0.95;
}


/* =========================================================
   TEXTOS
   ========================================================= */

.contact-card p {
    position: relative;

    z-index: 2;

    margin-bottom: 30px;

    font-size: 13px;

    line-height: 1.85;
}


/* =========================================================
   ENLACES
   ========================================================= */

.contact-link {
    position: relative;

    z-index: 2;

    margin-top: auto;

    padding-bottom: 5px;

    border-bottom: 1px solid var(--color-dorado);

    color: var(--color-principal);

    font-size: 12px;

    font-weight: 600;

    letter-spacing: 0.5px;

    transition:
        color 0.3s ease,
        padding-left 0.3s ease;
}


.contact-card-featured .contact-link {
    color: var(--color-blanco);
}


.contact-link:hover {
    padding-left: 8px;

    color: var(--color-dorado);
}


/* =========================================================
   REDES DENTRO DE TARJETA
   ========================================================= */

.social-links {
    position: relative;

    z-index: 2;

    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: auto;
}


.social-links a {
    padding: 10px 18px;

    border: 1px solid var(--color-borde);

    color: var(--color-principal);

    font-size: 12px;

    transition:
        background-color 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease;
}


.social-links a:hover {
    border-color: var(--color-dorado);

    background: var(--color-dorado);

    color: var(--color-blanco);
}


/* =========================================================
   ¿QUÉ NECESITÁS?
   ========================================================= */

.contact-options {
    max-width: 1000px;

    margin: 0 auto;

    border-top: 1px solid var(--color-borde);
}


/* =========================================================
   OPCIONES
   ========================================================= */

.contact-option {
    position: relative;

    display: grid;

    grid-template-columns: 90px 1fr;

    gap: 35px;

    padding: 42px 25px;

    border-bottom: 1px solid var(--color-borde);

    transition:
        background-color 0.35s ease,
        padding-left 0.35s ease;
}


.contact-option:hover {
    padding-left: 40px;

    background: var(--color-fondo);
}


/* =========================================================
   NÚMERO
   ========================================================= */

.contact-option-number {
    color: var(--color-dorado);

    font-family: var(--fuente-titulos);

    font-size: 3rem;

    line-height: 1;
}


/* =========================================================
   TÍTULO OPCIÓN
   ========================================================= */

.contact-option h3 {
    margin-bottom: 13px;

    color: var(--color-principal);

    font-size: clamp(1.8rem, 3vw, 2.5rem);

    line-height: 1;
}


/* =========================================================
   TEXTO OPCIÓN
   ========================================================= */

.contact-option p {
    max-width: 650px;

    margin-bottom: 18px;

    font-size: 13px;

    line-height: 1.85;
}


/* =========================================================
   ENLACE OPCIÓN
   ========================================================= */

.contact-option .text-link {
    font-size: 12px;

    font-weight: 600;

    letter-spacing: 0.4px;
}


/* =========================================================
   REDES SOCIALES
   ========================================================= */

.social-contact {
    display: grid;

    grid-template-columns:
        1.2fr
        0.8fr;

    gap: 100px;

    align-items: center;
}


.social-contact-text > span {
    display: block;

    margin-bottom: 18px;

    color: var(--color-dorado);

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 3px;

    text-transform: uppercase;
}


.social-contact-text h2 {
    max-width: 700px;

    margin-bottom: 25px;

    font-size: clamp(2.7rem, 5vw, 4.7rem);

    line-height: 0.95;
}


.social-contact-text p {
    max-width: 650px;

    font-size: 14px;

    line-height: 1.9;
}


/* =========================================================
   BOTONES SOCIALES
   ========================================================= */

.social-contact-buttons {
    display: flex;

    flex-direction: column;

    gap: 12px;
}


.social-contact-button {
    position: relative;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 25px 28px;

    border: 1px solid var(--color-borde);

    background: var(--color-fondo);

    overflow: hidden;

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        background-color 0.35s ease;
}


.social-contact-button::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 3px;
    height: 100%;

    background: var(--color-dorado);

    transform: scaleY(0);

    transform-origin: bottom;

    transition: transform 0.35s ease;
}


.social-contact-button:hover {
    transform: translateX(8px);

    border-color: var(--color-dorado);

    background: var(--color-blanco);
}


.social-contact-button:hover::before {
    transform: scaleY(1);
}


.social-contact-button strong {
    position: relative;

    z-index: 2;

    color: var(--color-principal);

    font-family: var(--fuente-titulos);

    font-size: 1.7rem;

    font-weight: 600;
}


.social-contact-button span {
    position: relative;

    z-index: 2;

    color: var(--color-dorado);

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 1px;
}


/* =========================================================
   CAFECITO / KO-FI
   ========================================================= */

.support-section {
    position: relative;

    padding: 130px 0;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(168, 138, 82, 0.15),
            transparent 38%
        ),
        var(--color-fondo-secundario);

    text-align: center;
}


.support-section::before {
    content: "";

    position: absolute;

    top: 45px;
    left: 50%;

    width: 160px;
    height: 160px;

    transform: translateX(-50%);

    border: 1px solid rgba(168, 138, 82, 0.18);

    border-radius: 50%;
}


.support-content {
    position: relative;

    z-index: 2;

    max-width: 800px;
}


.support-symbol {
    width: 65px;
    height: 65px;

    margin: 0 auto 30px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid var(--color-dorado);

    color: var(--color-dorado);

    font-size: 25px;

    background: var(--color-fondo-secundario);
}


.support-content > span {
    display: block;

    margin-bottom: 20px;

    color: var(--color-dorado);

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 4px;

    text-transform: uppercase;
}


.support-content h2 {
    max-width: 760px;

    margin: 0 auto 30px;

    font-size: clamp(2.8rem, 5vw, 4.8rem);

    line-height: 0.95;
}


.support-content p {
    max-width: 680px;

    margin: 0 auto 18px;

    font-size: 14px;

    line-height: 1.9;
}


/* =========================================================
   BOTÓN APOYO
   ========================================================= */

.support-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    margin-top: 25px;

    padding: 15px 30px;

    border: 1px solid var(--color-principal);

    background: var(--color-principal);

    color: var(--color-blanco);

    font-size: 12px;

    font-weight: 600;

    letter-spacing: 1px;

    text-transform: uppercase;

    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}


.support-button:hover {
    transform: translateY(-3px);

    background: var(--color-dorado);

    border-color: var(--color-dorado);
}


.support-content small {
    display: block;

    margin-top: 15px;

    color: var(--color-texto-suave);

    font-size: 11px;
}


/* =========================================================
   CTA FINAL
   ========================================================= */

.about-cta {
    position: relative;

    padding: 130px 0;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            var(--color-principal),
            #1d1c19
        );

    color: var(--color-blanco);

    text-align: center;
}


.about-cta::before {
    content: "";

    position: absolute;

    left: 50%;
    top: -220px;

    width: 600px;
    height: 600px;

    transform: translateX(-50%);

    border: 1px solid rgba(168, 138, 82, 0.16);

    border-radius: 50%;
}


.about-cta .container {
    position: relative;

    z-index: 2;

    max-width: 900px;
}


.about-cta .container > span {
    display: block;

    margin-bottom: 20px;

    color: var(--color-dorado);

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 4px;

    text-transform: uppercase;
}


.about-cta h2 {
    margin-bottom: 25px;

    color: var(--color-blanco);

    font-size: clamp(3.2rem, 6vw, 5.8rem);

    line-height: 0.9;
}


.about-cta p {
    margin-bottom: 38px;

    color: rgba(255, 255, 255, 0.7);

    font-size: 15px;
}


/* =========================================================
   BOTONES CTA
   ========================================================= */

.cta-buttons {
    display: flex;

    justify-content: center;

    align-items: center;

    gap: 12px;

    flex-wrap: wrap;
}


.cta-buttons .btn {
    min-width: 210px;
}


/* =========================================================
   MODO OSCURO
   ========================================================= */

body.dark-theme .page-hero {
    background:
        radial-gradient(
            circle at 82% 28%,
            rgba(194, 165, 107, 0.08),
            transparent 30%
        ),
        var(--color-fondo);
}


body.dark-theme .contact-card {
    background: var(--color-fondo);
}


body.dark-theme .contact-card:hover {
    background: var(--color-fondo-secundario);
}


body.dark-theme .contact-card-featured {
    background:
        linear-gradient(
            145deg,
            rgba(168, 138, 82, 0.10),
            transparent 65%
        ),
        var(--color-principal);
}


body.dark-theme .contact-option:hover {
    background: var(--color-fondo-secundario);
}


body.dark-theme .social-contact-button:hover {
    background: var(--color-fondo-secundario);
}


body.dark-theme .support-section {
    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(168, 138, 82, 0.08),
            transparent 38%
        ),
        var(--color-fondo-secundario);
}


/* =========================================================
   AJUSTES RESPONSIVE
   PÁGINA CONTACTO
   ========================================================= */


/* =========================================================
   NOTEBOOKS / TABLETS
   Hasta 1100px
   ========================================================= */

@media (max-width: 1100px) {

    /* =====================================================
       TARJETAS DE CONTACTO
    ===================================================== */

    .contact-grid {
        grid-template-columns:
            1fr
            1fr;
    }

    .contact-card {
        min-height: 400px;
    }

    .contact-card-featured {
        grid-column: 1 / -1;

        min-height: 360px;
    }


    /* =====================================================
       SEGUINOS DE CERCA
    ===================================================== */

    .social-contact {
        grid-template-columns:
            1fr
            0.8fr;

        gap: 60px;
    }

    .social-contact-text {
        max-width: 700px;
    }

    .social-contact-buttons {
        width: 100%;
    }

    .social-contact-button {
        min-height: 76px;
    }
}


/* =========================================================
   TABLETS
   Hasta 900px
   ========================================================= */

@media (max-width: 900px) {

    /* =====================================================
       HERO CONTACTO
    ===================================================== */

    .page-hero {
        min-height: auto;

        padding: 100px 0;
    }

    .page-hero h1 {
        max-width: 750px;

        font-size: clamp(
            3.2rem,
            8vw,
            5.5rem
        );
    }


    /* =====================================================
       TARJETAS DE CONTACTO
    ===================================================== */

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-card,
    .contact-card-featured {
        grid-column: auto;

        min-height: auto;

        padding: 45px 40px;
    }

    .contact-card p {
        max-width: 650px;
    }


    /* =====================================================
       SEGUINOS DE CERCA
    ===================================================== */

    .social-contact {
        grid-template-columns: 1fr;

        gap: 45px;

        align-items: start;
    }

    .social-contact-text {
        max-width: 750px;
    }

    .social-contact-text h2 {
        max-width: 750px;
    }

    .social-contact-buttons {
        width: 100%;

        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 15px;
    }

    .social-contact-button {
        min-height: 80px;
    }
}


/* =========================================================
   CELULARES
   Hasta 760px
   ========================================================= */

@media (max-width: 760px) {

    /* =====================================================
       HERO
    ===================================================== */

    .page-hero {
        padding: 75px 0 85px;
    }

    .page-hero .small-title {
        margin-bottom: 22px;

        font-size: 10px;

        letter-spacing: 3px;
    }

    .page-hero h1 {
        margin-bottom: 28px;

        font-size: clamp(
            3rem,
            13vw,
            4.5rem
        );

        line-height: 0.94;
    }

    .page-hero p {
        font-size: 14px;

        line-height: 1.85;
    }


    /* =====================================================
       FORMAS DE CONTACTO
    ===================================================== */

    .contact-grid {
        display: flex;

        flex-direction: column;

        gap: 1px;
    }

    .contact-card,
    .contact-card-featured {
        width: 100%;

        min-height: 0;

        padding: 38px 28px;
    }

    .contact-icon {
        width: 52px;
        height: 52px;

        margin-bottom: 28px;

        font-size: 20px;
    }

    .contact-card > span {
        margin-bottom: 12px;

        font-size: 9px;

        letter-spacing: 2.5px;
    }

    .contact-card h3 {
        margin-bottom: 18px;

        font-size: clamp(
            2rem,
            8vw,
            2.7rem
        );

        line-height: 1;
    }

    .contact-card p {
        margin-bottom: 25px;

        font-size: 13px;

        line-height: 1.8;
    }

    .contact-link {
        margin-top: 10px;
    }


    /* =====================================================
       REDES DENTRO DE TARJETA
    ===================================================== */

    .social-links {
        width: 100%;

        margin-top: 5px;

        gap: 8px;
    }

    .social-links a {
        flex: 1;

        min-width: 120px;

        padding: 11px 14px;

        text-align: center;
    }


    /* =====================================================
       ¿QUÉ NECESITÁS?
    ===================================================== */

    .contact-option {
        grid-template-columns: 55px 1fr;

        gap: 20px;

        padding: 32px 10px;
    }

    .contact-option:hover {
        padding-left: 20px;
    }

    .contact-option-number {
        font-size: 2.3rem;
    }

    .contact-option h3 {
        font-size: 1.8rem;

        line-height: 1.05;
    }

    .contact-option p {
        font-size: 13px;

        line-height: 1.8;
    }


    /* =====================================================
       SEGUINOS DE CERCA
    ===================================================== */

    .social-contact {
        display: flex;

        flex-direction: column;

        gap: 38px;

        align-items: stretch;
    }

    .social-contact-text {
        width: 100%;
    }

    .social-contact-text > span {
        margin-bottom: 16px;

        font-size: 10px;

        letter-spacing: 2.5px;
    }

    .social-contact-text h2 {
        margin-bottom: 22px;

        font-size: clamp(
            2.6rem,
            10vw,
            4rem
        );

        line-height: 0.95;
    }

    .social-contact-text p {
        font-size: 13px;

        line-height: 1.85;
    }


    /* =====================================================
       BOTONES SOCIALES
    ===================================================== */

    .social-contact-buttons {
        width: 100%;

        display: flex;

        flex-direction: column;

        gap: 12px;
    }

    .social-contact-button {
        width: 100%;

        min-height: 70px;

        padding: 21px 22px;
    }

    .social-contact-button strong {
        font-size: 1.5rem;
    }

    .social-contact-button span {
        font-size: 10px;
    }


    /* =====================================================
       CAFECITO
    ===================================================== */

    .support-section {
        padding: 90px 0;
    }

    .support-content h2 {
        font-size: clamp(
            2.7rem,
            9vw,
            4rem
        );
    }

    .support-content p {
        font-size: 13px;

        line-height: 1.85;
    }


    /* =====================================================
       CTA FINAL
    ===================================================== */

    .about-cta {
        padding: 90px 0;
    }

    .about-cta h2 {
        font-size: clamp(
            3rem,
            11vw,
            4.8rem
        );
    }

    .about-cta p {
        font-size: 14px;

        line-height: 1.8;
    }

    .cta-buttons {
        width: 100%;

        flex-direction: column;

        gap: 10px;
    }

    .cta-buttons .btn {
        width: 100%;

        min-width: 0;
    }
}


/* =========================================================
   CELULARES PEQUEÑOS
   Hasta 420px
   ========================================================= */

@media (max-width: 420px) {

    /* =====================================================
       HERO
    ===================================================== */

    .page-hero {
        padding: 65px 0 75px;
    }

    .page-hero h1 {
        font-size: 3.15rem;

        letter-spacing: -0.8px;
    }

    .page-hero p {
        font-size: 13px;
    }


    /* =====================================================
       TARJETAS DE CONTACTO
    ===================================================== */

    .contact-card,
    .contact-card-featured {
        padding: 34px 23px;
    }

    .contact-card h3 {
        font-size: 2.15rem;
    }

    .contact-card p {
        font-size: 12px;

        line-height: 1.8;
    }


    /* =====================================================
       REDES
    ===================================================== */

    .social-links {
        flex-direction: column;

        width: 100%;
    }

    .social-links a {
        width: 100%;

        min-width: 0;
    }


    /* =====================================================
       OPCIONES
    ===================================================== */

    .contact-option {
        grid-template-columns: 45px 1fr;

        gap: 15px;

        padding: 28px 5px;
    }

    .contact-option-number {
        font-size: 2rem;
    }

    .contact-option h3 {
        font-size: 1.6rem;
    }

    .contact-option p {
        font-size: 12px;
    }


    /* =====================================================
       SEGUINOS
    ===================================================== */

    .social-contact {
        gap: 32px;
    }

    .social-contact-text h2 {
        font-size: 2.7rem;
    }

    .social-contact-text p {
        font-size: 12px;
    }

    .social-contact-buttons {
        gap: 10px;
    }

    .social-contact-button {
        min-height: 66px;

        padding: 18px 18px;
    }

    .social-contact-button strong {
        font-size: 1.4rem;
    }

    .social-contact-button span {
        font-size: 9px;
    }


    /* =====================================================
       APOYO
    ===================================================== */

    .support-section {
        padding: 80px 0;
    }

    .support-content h2 {
        font-size: 2.8rem;
    }

    .support-content p {
        font-size: 12px;
    }
}


/* =========================================================
   PANTALLAS MUY PEQUEÑAS
   Hasta 360px
   ========================================================= */

@media (max-width: 360px) {

    .page-hero h1 {
        font-size: 2.8rem;
    }

    .contact-card,
    .contact-card-featured {
        padding: 30px 20px;
    }

    .contact-card h3 {
        font-size: 2rem;
    }

    .contact-option {
        grid-template-columns: 38px 1fr;

        gap: 12px;
    }

    .contact-option-number {
        font-size: 1.8rem;
    }

    .contact-option h3 {
        font-size: 1.45rem;
    }

    .social-contact-text h2 {
        font-size: 2.45rem;
    }

    .social-contact-button {
        padding: 16px;
    }

    .social-contact-button strong {
        font-size: 1.25rem;
    }
}