/* ==========================================================
   RENKÁVIA — Footer
   ========================================================== */

.rk-site-footer {
    --footer-paper: #f7f4ef;
    --footer-beige: #dad0c6;
    --footer-sage: #aec3ba;
    --footer-navy: #4c5564;
    --footer-gold: #b59668;
    --footer-background: #363c45;
    --footer-display: var(--rk-font-primary);
    --footer-body: var(--rk-font-primary);

    position: relative;
    overflow: hidden;
    color: rgba(247, 244, 239, 0.76);
    background: var(--footer-background);
    font-family: var(--footer-body);
    font-weight: 400;
}

.rk-footer-container {
    position: relative;
    z-index: 2;
    padding-top: clamp(60px, 7vw, 92px);
    padding-bottom: 30px;
}

.rk-footer-main {
    padding-bottom: clamp(40px, 5vw, 65px);
}

/* Decoración */

.rk-footer-decoration {
    position: absolute;
    right: -170px;
    bottom: -210px;
    width: 500px;
    height: 500px;
    pointer-events: none;
    opacity: 0.55;
}

.rk-footer-decoration span {
    position: absolute;
    border: 1px solid rgba(218, 208, 198, 0.13);
    border-radius: 50%;
}

.rk-footer-decoration span:nth-child(1) {
    inset: 0;
}

.rk-footer-decoration span:nth-child(2) {
    inset: 80px;
}

.rk-footer-decoration span:nth-child(3) {
    inset: 160px;
}

/* Marca */

.rk-footer-brand {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--footer-paper);
    font-family: var(--footer-display);
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    font-weight: 400;
    letter-spacing: 0.11em;
    line-height: 1;
    text-decoration: none;
}

.rk-footer-brand:hover {
    color: var(--footer-beige);
}

.rk-footer-description {
    max-width: 470px;
    margin: 0 0 10px;
    color: rgba(247, 244, 239, 0.68);
    font-size: 1.05rem;
    line-height: 1.65;
}

.rk-footer-cofepris {
    margin: 22px 0 0;
    color: rgba(247, 244, 239, 0.64);
    font-size: var(--rk-text-sm);
    letter-spacing: 0.025em;
    line-height: 1.55;
}

/* Títulos */

.rk-footer-heading {
    margin: 0 0 20px;
    color: var(--footer-beige);
    font-family: var(--footer-body);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

/* Navegación */

.rk-footer-nav {
    display: grid;
    gap: 11px;
}

.rk-footer-nav a,
.rk-footer-contact a {
    width: fit-content;
    color: rgba(247, 244, 239, 0.68);
    font-size: 1.03rem;
    font-weight: 500;
    line-height: 1.55;
    text-decoration: none;
    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.rk-footer-nav a:hover,
.rk-footer-contact a:hover {
    color: var(--footer-paper);
    transform: translateX(3px);
}

/* Contacto */

.rk-footer-contact {
    display: grid;
    gap: 9px;
}

.rk-footer-contact p {
    margin: 0;
    color: rgba(247, 244, 239, 0.68);
    font-size: 1.03rem;
    line-height: 1.55;
}

/* Redes sociales */

.rk-footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.rk-footer-social a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 40px;
    padding: 0.65rem 0.95rem;
    color: rgba(247, 244, 239, 0.78);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(247, 244, 239, 0.13);
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.025em;
    line-height: 1.2;
    text-decoration: none;
    text-transform: uppercase;
    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.rk-footer-social a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(247, 244, 239, 0.28);
    transform: translateY(-2px);
}

.rk-footer-social i {
    color: var(--footer-beige);
    font-size: 0.95rem;
}

/* Parte inferior */

.rk-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding-top: 27px;
    border-top: 1px solid rgba(247, 244, 239, 0.12);
    color: rgba(247, 244, 239, 0.65);
    font-size: var(--rk-text-sm);
    letter-spacing: 0.01em;
    line-height: 1.55;
}

.rk-footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 20px;
}

.rk-footer-legal a {
    color: rgba(247, 244, 239, 0.68);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.25s ease;
}

.rk-footer-legal a:hover {
    color: var(--footer-paper);
}

/* Responsive */

@media (max-width: 991.98px) {
    .rk-footer-decoration {
        right: -270px;
    }
}

@media (max-width: 767.98px) {
    .rk-footer-main {
        text-align: left;
    }

    .rk-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .rk-footer-legal {
        justify-content: flex-start;
    }
}

@media (max-width: 575.98px) {
    .rk-footer-container {
        padding-right: 22px;
        padding-left: 22px;
    }

    .rk-footer-brand {
        font-size: 1.85rem;
    }

    .rk-footer-social {
        flex-direction: column;
        align-items: stretch;
    }

    .rk-footer-social a {
        justify-content: center;
        width: 100%;
    }

    .rk-footer-bottom {
        font-size: var(--rk-text-xs);
        line-height: 1.55;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rk-site-footer *,
    .rk-site-footer *::before,
    .rk-site-footer *::after {
        transition-duration: 0.01ms !important;
    }
}
