/* KP Fase 7 - Lote 17: CSS del footer (antes incrustado en footer.php en cada página). Mismo contenido, sin cambios. */
/* =========================================================
   FOOTER NEON PREMIUM - Kinesiologas.pe
   Solo estilos: mantiene la estructura, PHP y JS del footer.
========================================================= */
:root {
    --kp-bg: #090111;
    --kp-bg-2: #12051F;
    --kp-card: #180923;
    --kp-card-2: #210b32;
    --kp-primary: #CF155A;
    --kp-primary-hover: #FF1493;
    --kp-violet: #6E28F3;
    --kp-green: #0FFF50;
    --kp-yellow: #FFC107;
    --kp-white: #ffffff;
    --kp-text: rgba(255,255,255,.92);
    --kp-muted: rgba(255,255,255,.68);
    --kp-line: rgba(255,255,255,.12);
    --kp-shadow-pink: 0 0 22px rgba(255,20,147,.36);
    --kp-shadow-violet: 0 0 24px rgba(110,40,243,.28);
    --kp-radius: 22px;
    --kp-radius-sm: 14px;
}

/* Espaciadores y bloques base del theme */
.clear10 {
    background: var(--kp-bg);
}

.footer {
    position: relative;
    margin: 0 !important;
    padding: 24px 16px !important;
    background:
        radial-gradient(circle at 10% 0%, rgba(207,21,90,.20), transparent 28%),
        radial-gradient(circle at 90% 0%, rgba(110,40,243,.18), transparent 30%),
        linear-gradient(180deg, var(--kp-bg-2), var(--kp-bg));
    color: var(--kp-text);
    border-top: 1px solid rgba(255,255,255,.08);
}

.footer .widgetbox,
.footer .widget,
.footer .placeholder-widgettext {
    max-width: 1120px;
    margin: 0 auto;
    background: rgba(24,9,35,.82);
    border: 1px solid var(--kp-line);
    border-radius: var(--kp-radius);
    box-shadow: 0 18px 42px rgba(0,0,0,.38);
    color: var(--kp-text);
}

.footer a,
.underfooter a,
.kp-footer-main a {
    color: var(--kp-primary-hover);
    text-decoration: none;
    transition: color .2s ease, opacity .2s ease, transform .2s ease;
}

.footer a:hover,
.underfooter a:hover,
.kp-footer-main a:hover {
    color: var(--kp-yellow);
}

.underfooter {
    margin: 0 !important;
    padding: 14px 16px 18px;
    background: #07000e;
    color: var(--kp-muted);
    border-top: 1px solid rgba(255,255,255,.06);
    text-align: center;
    font-size: 13px;
}

/* =========================================================
   CINTILLO FIJO INFERIOR
========================================================= */
#cintillo-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    background:
        radial-gradient(circle at 50% 0%, rgba(255,20,147,.26), transparent 45%),
        linear-gradient(90deg, #090111 0%, #180923 48%, #090111 100%);
    color: var(--kp-white);
    text-align: center;
    padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
    z-index: 9999;
    border-top: 1px solid rgba(255,193,7,.75);
    box-shadow: 0 -10px 34px rgba(0,0,0,.65), 0 0 22px rgba(255,20,147,.22);
    display: block;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

#cintillo-footer.cintillo-inactivo {
    opacity: .96;
}

#cintillo-footer p {
    margin: 0 0 8px 0;
    font-size: 15px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: .2px;
    color: var(--kp-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

#cintillo-footer p strong {
    color: var(--kp-white);
}

#cintillo-footer .icono-mujer,
#cintillo-footer p i {
    color: var(--kp-primary-hover);
    text-shadow: 0 0 12px rgba(255,20,147,.7);
}

#cintillo-footer .buttons-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 8px;
    position: relative;
    max-width: 980px;
    margin: 0 auto;
}

#cintillo-footer a {
    flex: 1 1 0;
    min-width: 0;
    color: var(--kp-white);
    padding: 8px 12px;
    text-decoration: none;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 46px;
    height: auto;
    position: relative;
    overflow: hidden;
    gap: 7px;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.15;
    border: 1px solid rgba(255,255,255,.18);
    box-shadow: 0 12px 26px rgba(0,0,0,.32);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease, border-color .2s ease;
}

#cintillo-footer a::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.16), transparent);
    transform: translateX(-120%);
    transition: transform .55s ease;
    pointer-events: none;
}

#cintillo-footer a:hover::before {
    transform: translateX(120%);
}

#cintillo-footer a:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0,0,0,.42), var(--kp-shadow-pink);
    border-color: rgba(255,20,147,.65);
    filter: brightness(1.08);
}

#cintillo-footer a i {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: inherit;
    font-size: 15px;
    line-height: 1;
    margin: 0;
}

.boton-video {
    background: linear-gradient(135deg, rgba(24,9,35,.96), rgba(9,1,17,.96));
    border-color: rgba(255,255,255,.18) !important;
}

.boton-registro {
    background: linear-gradient(to left, #d41459, #911a6c) !important;
    color: var(--kp-white) !important;
    border-color: rgba(255,20,147,.82) !important;
    animation: kpFooterCtaPulse 2.2s infinite;
    z-index: 2;
    margin: 0;
    box-shadow: var(--kp-shadow-pink), 0 14px 32px rgba(0,0,0,.38) !important;
}

.boton-filtro {
    background: linear-gradient(135deg, #6E2BF3, #3D0CB8) !important;
    color: var(--kp-white) !important;
    border-color: rgba(110,40,243,.72) !important;
}

.boton-filtro span,
.boton-registro span,
.boton-video span {
    display: inline-block;
}

.boton-filtro span {
    font-weight: 800;
    margin: 0;
}

@keyframes kpFooterCtaPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.025);
    }
}


/* =========================================================
   CINTILLO INFERIOR - ACCIONES PARA USUARIOS LOGUEADOS
========================================================= */
.kp-profile-action-cintillo {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10001;
    box-sizing: border-box;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background:
        radial-gradient(circle at 18% 0%, rgba(255,20,147,.24), transparent 36%),
        radial-gradient(circle at 82% 0%, rgba(110,40,243,.20), transparent 38%),
        linear-gradient(90deg, rgba(9,1,17,.98), rgba(24,9,35,.98) 50%, rgba(9,1,17,.98));
    border-top: 1px solid rgba(255,20,147,.58);
    box-shadow: 0 -14px 42px rgba(0,0,0,.70), 0 0 26px rgba(255,20,147,.24);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.kp-profile-action-title {
    margin: 0 0 8px;
    color: var(--kp-white);
    font-size: 13px;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: .2px;
    text-align: center;
    text-shadow: 0 0 16px rgba(255,20,147,.36);
}

.kp-profile-action-buttons {
    display: grid;
    grid-template-columns: 1.15fr 1.15fr 1fr 1fr;
    justify-content: center;
    align-items: stretch;
    gap: 8px;
    max-width: 1180px;
    margin: 0 auto;
}

.kp-logged-action-cintillo .kp-profile-action-buttons {
    grid-template-columns: repeat(3, minmax(0, 320px));
    max-width: 1040px;
}

 .kp-logged-action-cintillo .kp-profile-action-btn {
    min-height: 52px;
}

.kp-profile-owner-cintillo .kp-profile-action-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 8px;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

.kp-profile-owner-cintillo .kp-profile-action-btn {
    flex: 1 1 200px;
    max-width: 260px;
}

.kp-profile-owner-cintillo .kp-owner-action-view {
    background: linear-gradient(135deg, rgba(24,9,35,.96), rgba(9,1,17,.96)) !important;
    border-color: rgba(255,255,255,.20) !important;
    box-shadow: 0 12px 28px rgba(0,0,0,.38), 0 0 18px rgba(255,20,147,.14) !important;
}

.kp-profile-owner-cintillo .kp-owner-action-whatsapp {
    background: linear-gradient(135deg, rgba(15,255,80,.24), rgba(4,111,37,.88)) !important;
    border-color: rgba(15,255,80,.54) !important;
    box-shadow: 0 0 22px rgba(15,255,80,.20), 0 14px 32px rgba(0,0,0,.34) !important;
}

.kp-profile-owner-cintillo .kp-owner-action-whatsapp .kp-profile-action-icon {
    color: var(--kp-green);
    border-color: rgba(15,255,80,.45);
    background: rgba(15,255,80,.13);
    box-shadow: 0 0 18px rgba(15,255,80,.18);
}

.kp-profile-action-btn {
    appearance: none;
    -webkit-appearance: none;
    min-width: 0;
    min-height: 54px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 9px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(9,1,17,.76);
    color: var(--kp-white) !important;
    text-decoration: none !important;
    font: inherit;
    cursor: pointer;
    line-height: 1.1;
    box-shadow: 0 12px 28px rgba(0,0,0,.35);
    transition: transform .2s ease, filter .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.kp-profile-action-btn:hover,
.kp-profile-action-btn:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(255,20,147,.64);
    background: rgba(255,20,147,.14);
    box-shadow: 0 16px 34px rgba(0,0,0,.45), var(--kp-shadow-pink);
    outline: none;
}

.kp-profile-action-main {
    background: linear-gradient(to left, #d41459, #911a6c) !important;
    border-color: rgba(255,20,147,.82) !important;
    box-shadow: var(--kp-shadow-pink), 0 14px 32px rgba(0,0,0,.38) !important;
}

.kp-profile-action-secondary {
    background: linear-gradient(135deg, rgba(110,40,243,.92), rgba(61,12,184,.92)) !important;
    border-color: rgba(110,40,243,.76) !important;
    box-shadow: var(--kp-shadow-violet), 0 14px 32px rgba(0,0,0,.34) !important;
}

.kp-logged-action-cintillo .kp-profile-action-view {
    background: linear-gradient(135deg, rgba(24,9,35,.96), rgba(9,1,17,.96)) !important;
    border-color: rgba(255,255,255,.20) !important;
    box-shadow: 0 12px 28px rgba(0,0,0,.38), 0 0 18px rgba(255,20,147,.14) !important;
}

.kp-logged-action-cintillo .kp-profile-action-whatsapp {
    background: linear-gradient(135deg, rgba(15,255,80,.24), rgba(4,111,37,.88)) !important;
    border-color: rgba(15,255,80,.54) !important;
    box-shadow: 0 0 22px rgba(15,255,80,.20), 0 14px 32px rgba(0,0,0,.34) !important;
}

.kp-logged-action-cintillo .kp-profile-action-whatsapp .kp-profile-action-icon {
    color: var(--kp-green);
    border-color: rgba(15,255,80,.45);
    background: rgba(15,255,80,.13);
    box-shadow: 0 0 18px rgba(15,255,80,.18);
}

.kp-profile-action-whatsapp .kp-profile-action-icon {
    background: rgba(15,255,80,.13);
    border-color: rgba(15,255,80,.45);
    color: var(--kp-green);
    box-shadow: 0 0 18px rgba(15,255,80,.18);
}

.kp-profile-action-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--kp-primary-hover);
    background: rgba(255,20,147,.12);
    border: 1px solid rgba(255,20,147,.32);
    box-shadow: 0 0 14px rgba(255,20,147,.18);
}

.kp-profile-action-icon svg {
    width: 19px;
    height: 19px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.kp-profile-action-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-width: 0;
    text-align: left;
}

.kp-profile-action-copy strong {
    display: block;
    color: var(--kp-white);
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}

.kp-profile-action-copy small {
    display: block;
    color: rgba(255,255,255,.66);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.kp-mobile-label {
    display: none;
}

.kp-profile-action-highlight {
    animation: kpProfileActionHighlight 1.45s ease;
}

@keyframes kpProfileActionHighlight {
    0%, 100% {
        box-shadow: none;
    }
    35%, 70% {
        box-shadow: 0 0 0 4px rgba(255,20,147,.26), 0 0 28px rgba(255,20,147,.54);
    }
}

body.kp-profile-action-cintillo-active {
    padding-bottom: 76px;
}

body.kp-profile-owner-cintillo-active {
    padding-bottom: 86px;
}

body.kp-logged-action-cintillo-active {
    padding-bottom: 76px;
}

/* =========================================================
   POPUP / FORMULARIO DE BÚSQUEDA DEL CINTILLO
========================================================= */
.custom-search-form {
    display: none;
    padding: 22px 16px 24px;
    background:
        radial-gradient(circle at 10% 0%, rgba(255,20,147,.24), transparent 32%),
        radial-gradient(circle at 90% 0%, rgba(110,40,243,.22), transparent 35%),
        linear-gradient(180deg, #180923, #090111);
    position: fixed;
    bottom: 74px;
    left: 50%;
    transform: translateX(-50%);
    width: min(94vw, 560px);
    z-index: 10000;
    text-align: center;
    color: var(--kp-white);
    border-radius: 24px 24px 18px 18px;
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 22px 70px rgba(0,0,0,.66), var(--kp-shadow-pink);
    box-sizing: border-box;
}

.custom-search-form .close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    background: linear-gradient(to left, #d41459, #911a6c);
    color: var(--kp-white);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50%;
    font-size: 15px;
    cursor: pointer;
    padding: 0;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 16px rgba(255,20,147,.45);
}

.custom-search-form p.title {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 850;
    margin: 6px 42px 18px;
    color: var(--kp-white);
}

.custom-search-form p.title i {
    margin-right: 10px;
    color: var(--kp-yellow);
    text-shadow: 0 0 12px rgba(255,193,7,.45);
}

.form-styling-footer {
    display: flex;
    flex-direction: column;
    width: min(100%, 420px);
    max-width: 420px;
    margin: 0 auto;
    gap: 12px;
}

.form-styling-footer input[type="text"],
.form-styling-footer select {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(255,20,147,.58);
    padding: 12px 14px;
    min-height: 46px;
    font-size: 15px;
    border-radius: 14px;
    background: rgba(9,1,17,.82);
    color: var(--kp-white) !important;
    outline: none;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
}

.form-styling-footer input[type="text"]::placeholder {
    color: rgba(255,255,255,.66);
}

.form-styling-footer input[type="text"]:focus,
.form-styling-footer select:focus {
    border-color: var(--kp-primary-hover);
    box-shadow: 0 0 0 3px rgba(255,20,147,.18), inset 0 0 0 1px rgba(255,255,255,.08);
}

.form-styling-footer select option {
    background: #12051F;
    color: var(--kp-white);
}

.form-styling-footer input[type=submit],
.form-styling-footer .submit-button {
    width: 100%;
    min-height: 46px;
    font-size: 15px;
    line-height: 1.2;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 850;
    border: 1px solid rgba(255,193,7,.75);
    background: linear-gradient(135deg, #FFC107, #ff8f00) !important;
    color: #140411 !important;
    cursor: pointer;
    box-shadow: 0 0 18px rgba(255,193,7,.25), 0 12px 26px rgba(0,0,0,.32);
    transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}

.form-styling-footer input[type=submit]:hover,
.form-styling-footer .submit-button:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
    box-shadow: 0 0 24px rgba(255,193,7,.46), 0 16px 30px rgba(0,0,0,.4);
}

.form-styling-footer .adv {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: var(--kp-muted);
    font-size: 13px;
    margin-top: 4px;
}

.form-styling-footer .adv:hover {
    color: var(--kp-primary-hover);
}

/* =========================================================
   FOOTER PRINCIPAL
========================================================= */
.kp-footer-main {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 10%, rgba(207,21,90,.20), transparent 30%),
        radial-gradient(circle at 88% 12%, rgba(110,40,243,.19), transparent 32%),
        linear-gradient(180deg, var(--kp-bg-2), var(--kp-bg) 58%, #05000a);
    color: var(--kp-text);
    padding: 52px 20px 130px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,.08);
}

.kp-footer-main::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 42px 42px;
    opacity: .16;
    pointer-events: none;
}

.kp-footer-main > * {
    position: relative;
    z-index: 1;
}

.kp-footer-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin: 0 auto 22px;
}

.kp-footer-logos a,
.kp-footer-logos img {
    display: inline-flex;
}

.kp-footer-logos img {
    max-width: 150px;
    height: auto;
    border-radius: 24px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 14px 34px rgba(0,0,0,.35), 0 0 22px rgba(207,21,90,.14);
    padding: 6px;
}

.kp-footer-description {
    max-width: 880px;
    margin: 0 auto 18px;
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.62;
    font-weight: 720;
    color: var(--kp-text);
}

.kp-footer-description a,
.kp-footer-contact a {
    color: var(--kp-primary-hover);
    font-weight: 850;
    text-shadow: 0 0 14px rgba(255,20,147,.28);
}

.kp-footer-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
    margin: 0 auto 26px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(24,9,35,.72);
    border: 1px solid rgba(255,255,255,.10);
    color: var(--kp-text);
}

.kp-footer-main h3,
.recommended-posts h3,
.kp-footer-locations-title,
.kp-footer-main h3 strong,
.kp-footer-locations-title strong {
    color: var(--kp-white);
    font-weight: 900;
    letter-spacing: .2px;
    text-shadow: 0 0 18px rgba(255,20,147,.22);
}

.kp-footer-main h3,
.kp-footer-locations-title {
    margin: 34px 0 18px !important;
    font-size: clamp(20px, 2.4vw, 28px);
}

/* Posts recomendados */
.recommended-posts {
    max-width: 1180px;
    margin: 34px auto 30px;
}

.recommended-posts-container {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.recommended-post {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(24,9,35,.86);
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: 0 18px 38px rgba(0,0,0,.34);
    color: var(--kp-white) !important;
    text-align: left;
    transform: translateZ(0);
}

.recommended-post:hover {
    transform: translateY(-4px);
    border-color: rgba(255,20,147,.46);
    box-shadow: 0 22px 46px rgba(0,0,0,.45), var(--kp-shadow-pink);
}

.recommended-post .post-image {
    margin: 0;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #12051F;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.recommended-post .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .32s ease, filter .32s ease;
}

.recommended-post:hover .post-image img {
    transform: scale(1.06);
    filter: brightness(1.08) saturate(1.04);
}

.recommended-post .post-title {
    padding: 12px 12px 14px;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 800;
    color: var(--kp-white);
}

/* Redes sociales */
.redes-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 980px;
    margin: 28px auto 28px;
}

.redes-footer .social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 15px;
    min-height: 42px;
    border-radius: 999px;
    background: rgba(24,9,35,.82);
    border: 1px solid rgba(255,255,255,.12);
    color: var(--kp-white);
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 12px 24px rgba(0,0,0,.26);
}

.redes-footer .social-btn i {
    display: inline-flex !important;
    width: 18px;
    height: 18px;
    align-items: center;
    justify-content: center;
    color: var(--kp-primary-hover);
}

.redes-footer .social-btn:hover {
    color: var(--kp-white);
    transform: translateY(-2px);
    border-color: rgba(255,20,147,.48);
    box-shadow: 0 16px 32px rgba(0,0,0,.36), var(--kp-shadow-pink);
}

.redes-footer .fb:hover { background: linear-gradient(135deg, #1877f2, #0f4daa); }
.redes-footer .tk:hover { background: linear-gradient(135deg, #111, #CF155A); }
.redes-footer .tw:hover { background: linear-gradient(135deg, #111, #333); }
.redes-footer .tg:hover { background: linear-gradient(135deg, #229ED9, #136f9a); }
.redes-footer .ln:hover { background: linear-gradient(135deg, #0A66C2, #064579); }
.redes-footer .social-btn:hover i { color: var(--kp-white); }

/* Links por ubicación */
.kp-footer-location-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 1140px;
    margin: 0 auto;
}

.kp-footer-location-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(24,9,35,.78);
    color: var(--kp-white) !important;
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 13px;
    line-height: 1.2;
    text-decoration: none;
    border: 1px solid rgba(255,20,147,.34);
    box-shadow: 0 12px 24px rgba(0,0,0,.24);
}

.kp-footer-location-link:hover {
    background: linear-gradient(to left, #d41459, #911a6c);
    border-color: rgba(255,20,147,.7);
    transform: translateY(-2px);
    box-shadow: var(--kp-shadow-pink), 0 14px 28px rgba(0,0,0,.34);
}

/* =========================================================
   VIDEO POPUP
========================================================= */
.video-popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.88);
    z-index: 100000;
    align-items: center;
    justify-content: center;
    padding: 18px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.video-popup.is-active {
    display: flex !important;
}

.video-popup-content {
    width: min(92vw, 760px);
    position: relative;
    background: linear-gradient(180deg, #180923, #05000a);
    padding: 12px;
    border-radius: 22px;
    border: 1px solid rgba(255,20,147,.32);
    box-shadow: 0 24px 80px rgba(0,0,0,.72), var(--kp-shadow-pink);
}

.video-popup-close {
    position: absolute;
    right: -12px;
    top: -12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.18);
    background: linear-gradient(to left, #d41459, #911a6c);
    color: var(--kp-white);
    font-size: 24px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 18px rgba(255,20,147,.5);
}

.video-iframe-holder iframe {
    width: 100%;
    aspect-ratio: 16/9;
    height: auto;
    display: block;
    border: 0;
    border-radius: 14px;
    overflow: hidden;
}

/* =========================================================
   POPUP DE AVISO DE ACCESO
   Modo UX/SEO: visible, claro y no bloqueante.
   - No bloquea scroll ni clics fuera de la tarjeta.
   - No oculta el contenido a motores de búsqueda.
   - El overlay es visual y no captura eventos.
========================================================= */
.tosdisclaimer-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    pointer-events: none !important;
    background:
        radial-gradient(circle at 50% 42%, rgba(255,20,147,.14), transparent 34%),
        linear-gradient(180deg, rgba(0,0,0,.24), rgba(0,0,0,.12));
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.tosdisclaimer-wrapper {
    position: fixed;
    inset: 0;
    z-index: 100001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: max(16px, env(safe-area-inset-top)) 18px max(16px, env(safe-area-inset-bottom));
    box-sizing: border-box;
    pointer-events: none !important;
    overflow: visible;
}

/* Si algún JS externo lo muestra con display:block, lo forzamos a flex sin bloquear la página. */
.tosdisclaimer-wrapper[style*="display: block"],
.tosdisclaimer-wrapper[style*="display:block"] {
    display: flex !important;
}

.tosdisclaimer {
    width: min(88vw, 460px);
    max-height: min(62vh, 500px);
    overflow-y: auto;
    background:
        radial-gradient(circle at 12% 0%, rgba(255,20,147,.28), transparent 36%),
        radial-gradient(circle at 90% 0%, rgba(110,40,243,.24), transparent 36%),
        linear-gradient(180deg, rgba(24,9,35,.985), rgba(9,1,17,.985)) !important;
    border: 1px solid rgba(255,20,147,.52);
    border-radius: 26px !important;
    box-shadow: 0 22px 70px rgba(0,0,0,.62), 0 0 28px rgba(255,20,147,.32);
    color: var(--kp-white);
    padding: 24px 24px !important;
    text-align: center;
    box-sizing: border-box;
    pointer-events: auto !important;
    scrollbar-width: thin;
}

.tosdisclaimer p {
    color: var(--kp-white) !important;
    line-height: 1.42;
    margin: 0 0 8px;
}

#kp-age-title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 15px;
    letter-spacing: .45px;
    margin-bottom: 8px !important;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255,20,147,.16);
    border: 1px solid rgba(255,255,255,.10);
}

.tosdisclaimer .clear20 {
    height: 10px;
    clear: both;
}

.disclaimer-logo img {
    width: 138px;
    max-width: 138px;
    height: auto;
    aspect-ratio: 227 / 68;
    border-radius: 14px;
    margin: 4px auto 10px;
    box-shadow: 0 0 18px rgba(255,20,147,.22);
}

.tosdisclaimerbuttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.tosdisclaimerbuttons .greenbutton,
.tosdisclaimerbuttons .redbutton {
    min-width: 126px;
    padding: 11px 16px;
    border-radius: 999px !important;
    font-weight: 900;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,.15);
    color: var(--kp-white);
    transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
    font-family: inherit;
    font-size: 13.5px;
    line-height: 1.15;
}

.tosdisclaimerbuttons .greenbutton {
    background: linear-gradient(135deg, #0FFF50, #0aa737) !important;
    color: #07110a !important;
    box-shadow: 0 0 18px rgba(15,255,80,.22);
}

.tosdisclaimerbuttons .redbutton {
    background: linear-gradient(to left, #d41459, #911a6c) !important;
    box-shadow: 0 0 18px rgba(255,20,147,.22);
}

.tosdisclaimerbuttons .greenbutton:hover,
.tosdisclaimerbuttons .redbutton:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}

@media (min-width: 769px) {
    .tosdisclaimer::before {
        content: "Acceso solo para mayores de edad";
        display: block;
        margin: 0 auto 10px;
        color: rgba(255,255,255,.78);
        font-size: 13px;
        font-weight: 800;
    }
}

@media (max-width: 600px) {
    .tosdisclaimer-overlay {
        background: linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.06));
    }

    .tosdisclaimer-wrapper {
        align-items: center !important;
        justify-content: center !important;
        padding: calc(10px + env(safe-area-inset-top)) 12px calc(10px + env(safe-area-inset-bottom)) !important;
        transform: translateY(-2vh);
    }

    .tosdisclaimer {
        width: min(84vw, 330px);
        max-width: 330px;
        max-height: 45vh;
        max-height: 45svh;
        padding: 14px 13px !important;
        border-radius: 20px !important;
        box-shadow: 0 16px 46px rgba(0,0,0,.52), 0 0 16px rgba(255,20,147,.22);
    }

    .disclaimer-logo img {
        width: 98px;
        max-width: 98px;
        border-radius: 12px;
        margin: 0 auto 6px;
    }

    .tosdisclaimer p {
        font-size: 11.8px;
        line-height: 1.30;
        margin-bottom: 5px !important;
    }

    #kp-age-title {
        font-size: 11.8px;
        margin-bottom: 5px !important;
        padding: 4px 9px;
    }

    .tosdisclaimer .clear20 {
        height: 6px;
    }

    .tosdisclaimerbuttons {
        gap: 7px;
    }

    .tosdisclaimerbuttons .greenbutton,
    .tosdisclaimerbuttons .redbutton {
        min-width: 98px;
        padding: 9px 11px;
        font-size: 11.8px;
    }

    .tosdisclaimer p:last-child {
        font-size: 9.8px !important;
        line-height: 1.24 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
}

@media (max-width: 360px) {
    .tosdisclaimer {
        width: 86vw;
        max-height: 42vh;
        max-height: 42svh;
        padding: 13px 12px !important;
    }

    .tosdisclaimerbuttons .greenbutton,
    .tosdisclaimerbuttons .redbutton {
        min-width: 92px;
        padding-left: 9px;
        padding-right: 9px;
    }
}

/* =========================================================
   BOT ASISTENTE FLOTANTE
========================================================= */
.wrapper-intd {
    width: auto;
    height: auto;
    border-radius: 999px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 6rem;
    position: fixed;
    bottom: 180px;
    left: 30px;
    z-index: 9998;
}

.wrapper-intd .btn-gato {
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid rgba(255,20,147,.58);
    border-radius: 999px;
    min-width: 124px;
    height: 54px;
    padding: 7px 14px 7px 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    position: relative;
    cursor: pointer;
    color: var(--kp-white);
    background:
        radial-gradient(circle at 18% 20%, rgba(255,20,147,.38), transparent 34%),
        linear-gradient(135deg, rgba(24,9,35,.98), rgba(36,10,58,.96));
    box-shadow: 0 12px 30px rgba(0,0,0,.44), 0 0 18px rgba(255,20,147,.30);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, filter .22s ease;
    font-family: inherit;
}

.wrapper-intd .btn-gato::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255,20,147,.72), rgba(110,40,243,.38), rgba(255,20,147,.52));
    opacity: .28;
    filter: blur(9px);
    z-index: -1;
    animation: kpSupportGlow 4s ease-in-out infinite;
}

.wrapper-intd .btn-gato:hover,
.wrapper-intd .btn-gato:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(255,20,147,.86);
    box-shadow: 0 16px 34px rgba(0,0,0,.52), 0 0 26px rgba(255,20,147,.42);
    filter: brightness(1.06);
    outline: none;
}

.kp-support-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: var(--kp-white);
    background: linear-gradient(135deg, #CF155A, #FF1493);
    border: 1px solid rgba(255,255,255,.20);
    box-shadow: 0 0 18px rgba(255,20,147,.48);
    font-size: 17px;
}

.kp-support-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    line-height: 1.05;
    white-space: nowrap;
}

.kp-support-text strong {
    color: var(--kp-white);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .1px;
}

.kp-support-text small {
    color: rgba(255,255,255,.68);
    font-size: 10.5px;
    font-weight: 700;
    margin-top: 3px;
}

.kp-support-status {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--kp-green);
    box-shadow: 0 0 10px rgba(15,255,80,.82);
    flex: 0 0 auto;
    margin-left: 1px;
}


.kp-support-icon svg,
.kp-support-header-icon svg,
.kp-support-link-icon svg,
.kp-support-safe svg {
    display: block;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.kp-support-icon svg,
.kp-support-header-icon svg {
    width: 21px;
    height: 21px;
}

.kp-support-safe svg {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
}

.wrapper-intd .fac-items {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    width: 336px;
    background:
        radial-gradient(circle at 12% 0%, rgba(255,20,147,.24), transparent 34%),
        radial-gradient(circle at 94% 2%, rgba(110,40,243,.20), transparent 36%),
        linear-gradient(180deg, rgba(24,9,35,.98), rgba(9,1,17,.98));
    z-index: 1000;
    padding: 14px;
    border-radius: 24px;
    bottom: 72px;
    max-width: calc(100vw - 22px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    transition: opacity .24s ease, visibility .24s ease, transform .24s ease;
    border: 1px solid rgba(255,20,147,.24);
    box-shadow: 0 22px 64px rgba(0,0,0,.62), 0 0 24px rgba(255,20,147,.24);
    transform: translateY(8px) scale(.98);
    overflow: visible;
}

.wrapper-intd.right-position .fac-items {
    right: 0;
    left: auto;
}

.wrapper-intd.left-position .fac-items {
    left: 0;
    right: auto;
}

.wrapper-intd .fac-items.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.wrapper-intd .fac-items::after {
    content: "";
    position: absolute;
    bottom: -10px;
    border-width: 10px;
    border-style: solid;
    border-color: #090111 transparent transparent transparent;
}

.wrapper-intd.right-position .fac-items::after {
    right: 28px;
    left: auto;
}

.wrapper-intd.left-position .fac-items::after {
    left: 28px;
    right: auto;
}

.chatbot-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 30px;
    height: 30px;
    background: rgba(255,255,255,.06);
    color: var(--kp-white);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 50%;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 14px rgba(255,20,147,.22);
    transition: background .2s ease, transform .2s ease, border-color .2s ease;
}

.chatbot-close:hover,
.chatbot-close:focus-visible {
    background: linear-gradient(to left, #d41459, #911a6c);
    border-color: rgba(255,255,255,.28);
    transform: rotate(90deg);
    outline: none;
}

.chatbot-header {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 42px 14px 12px;
    background: linear-gradient(135deg, rgba(207,21,90,.26), rgba(110,40,243,.18));
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 18px;
    color: var(--kp-white);
    margin-bottom: 10px;
    text-align: left;
}

.kp-support-header-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: var(--kp-white);
    background: linear-gradient(135deg, #CF155A, #FF1493);
    box-shadow: 0 0 18px rgba(255,20,147,.42);
    border: 1px solid rgba(255,255,255,.16);
    font-size: 18px;
}

.kp-support-header-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.kp-support-header-copy strong {
    color: var(--kp-white);
    font-size: 16px;
    line-height: 1.15;
    font-weight: 900;
}

.kp-support-header-copy small {
    color: rgba(255,255,255,.72);
    font-size: 12px;
    line-height: 1.25;
    margin-top: 4px;
    font-weight: 650;
}

.wrapper-intd .fac-items a,
.wrapper-intd .fac-items a.kp-support-link {
    color: var(--kp-text);
    opacity: 1;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 14px;
    padding: 10px 12px;
    gap: 11px;
    width: 100%;
    min-height: 58px;
    box-sizing: border-box;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(9,1,17,.56);
    transition: background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease, box-shadow .2s ease;
    margin-top: 7px;
    text-decoration: none;
}

.wrapper-intd .fac-items a:hover,
.wrapper-intd .fac-items a:focus-visible {
    background: rgba(255,20,147,.13);
    color: var(--kp-white);
    border-color: rgba(255,20,147,.42);
    transform: translateX(3px);
    box-shadow: 0 0 18px rgba(255,20,147,.18);
    outline: none;
}

.wrapper-intd .fac-items a.kp-support-link-main {
    background: linear-gradient(135deg, rgba(207,21,90,.95), rgba(255,20,147,.78));
    border-color: rgba(255,255,255,.18);
    box-shadow: 0 12px 24px rgba(207,21,90,.22), 0 0 18px rgba(255,20,147,.24);
}

.wrapper-intd .fac-items a.kp-support-link-main:hover,
.wrapper-intd .fac-items a.kp-support-link-main:focus-visible {
    background: linear-gradient(135deg, #CF155A, #FF1493);
}

.kp-support-link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 12px;
    background: rgba(255,20,147,.13);
    color: var(--kp-primary-hover);
    border: 1px solid rgba(255,20,147,.20);
    font-size: 16px;
}

.wrapper-intd .fac-items a.kp-support-link-main .kp-support-link-icon {
    color: var(--kp-white);
    background: rgba(255,255,255,.14);
    border-color: rgba(255,255,255,.20);
}

.wrapper-intd .fac-items a.kp-support-link-whatsapp .kp-support-link-icon {
    color: var(--kp-green);
    background: rgba(15,255,80,.10);
    border-color: rgba(15,255,80,.20);
}

.kp-support-link-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.12;
    flex: 1 1 auto;
}

.kp-support-link-copy strong {
    color: var(--kp-white);
    font-size: 13.5px;
    font-weight: 900;
}

.kp-support-link-copy small {
    color: rgba(255,255,255,.64);
    font-size: 11px;
    line-height: 1.28;
    margin-top: 4px;
    font-weight: 600;
}

.wrapper-intd .fac-items a.kp-support-link-main .kp-support-link-copy small {
    color: rgba(255,255,255,.82);
}

.kp-support-link-arrow {
    color: rgba(255,255,255,.62);
    font-size: 24px;
    line-height: 1;
    flex: 0 0 auto;
}

.kp-support-online {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--kp-green);
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
    padding: 5px 8px;
    border-radius: 999px;
    border: 1px solid rgba(15,255,80,.28);
    background: rgba(15,255,80,.08);
    box-shadow: 0 0 12px rgba(15,255,80,.12);
    flex: 0 0 auto;
}

.kp-support-safe {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: rgba(255,255,255,.62);
    font-size: 11.5px;
    line-height: 1.25;
    padding: 12px 8px 2px;
    text-align: center;
}

.kp-support-safe svg {
    color: var(--kp-primary-hover);
}

@keyframes kpSupportGlow {
    0%, 100% { opacity: .20; transform: scale(1); }
    50% { opacity: .42; transform: scale(1.035); }
}

@media (max-width: 600px) {
    .wrapper-intd {
        bottom: 150px;
        left: 18px !important;
        right: auto !important;
    }

    .wrapper-intd .btn-gato {
        min-width: 0;
        width: 54px;
        height: 54px;
        border-radius: 50%;
        padding: 0;
        gap: 0;
    }

    .kp-support-icon {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }

    .kp-support-text {
        display: none;
    }

    .kp-support-status {
        width: 10px;
        height: 10px;
        position: absolute;
        top: 4px;
        right: 5px;
        margin: 0;
        border: 1px solid rgba(9,1,17,.86);
    }

    .wrapper-intd .btn-gato::after {
        content: "Ayuda";
        position: absolute;
        left: 50%;
        bottom: -22px;
        transform: translateX(-50%);
        padding: 3px 8px;
        border-radius: 999px;
        color: var(--kp-white);
        background: rgba(9,1,17,.88);
        border: 1px solid rgba(255,20,147,.24);
        box-shadow: 0 0 12px rgba(255,20,147,.18);
        font-size: 10.5px;
        line-height: 1;
        font-weight: 850;
        white-space: nowrap;
    }

    .wrapper-intd.left-position .fac-items,
    .wrapper-intd.right-position .fac-items,
    .wrapper-intd .fac-items {
        position: fixed;
        left: 12px !important;
        right: 12px !important;
        bottom: calc(118px + env(safe-area-inset-bottom));
        width: auto;
        max-width: none;
        max-height: calc(100vh - 170px);
        overflow-y: auto;
        border-radius: 24px 24px 20px 20px;
        padding: 14px;
    }

    .wrapper-intd.left-position .fac-items::after,
    .wrapper-intd.right-position .fac-items::after,
    .wrapper-intd .fac-items::after {
        display: none;
    }

    .chatbot-header {
        padding: 12px 42px 12px 12px;
        border-radius: 18px;
    }

    .kp-support-header-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .kp-support-header-copy strong {
        font-size: 15px;
    }

    .kp-support-header-copy small {
        font-size: 11.5px;
    }

    .wrapper-intd .fac-items a,
    .wrapper-intd .fac-items a.kp-support-link {
        min-height: 56px;
        padding: 10px 11px;
        border-radius: 15px;
        gap: 10px;
    }

    .kp-support-link-icon {
        width: 32px;
        height: 32px;
        min-width: 32px;
    }

    .kp-support-link-copy strong {
        font-size: 13px;
    }

    .kp-support-link-copy small {
        font-size: 10.5px;
    }
}

/* =========================================================
   AVISO DE PAGO / EXPIRACIÓN MOVIDO AL HEADER
========================================================= */
.sidebar-expire-notice.center.intd_pago {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    background:
        radial-gradient(circle at 50% 0%, rgba(255,20,147,.24), transparent 42%),
        linear-gradient(to left, #b30753, #440124);
    margin-top: -10px;
    padding: 24px 16px 28px;
    font-size: 19px;
    font-weight: 850;
    flex-direction: column;
    margin: 0;
    color: var(--kp-white);
    border-top: 1px solid rgba(255,255,255,.10);
    border-bottom: 1px solid rgba(255,20,147,.28);
    box-sizing: border-box;
}

.sidebar-expire-notice.center.intd_pago form {
    margin: 10px 20px;
}

.sidebar-expire-notice.center.intd_pago small {
    font-size: 18px;
    color: var(--kp-white);
}

.sidebar-expire-notice.center.intd_pago small br {
    display: none;
}

/* =========================================================
   ADSTERRA FOOTER HOLDER
========================================================= */
#cintillo-adsterra-unico {
    background: var(--kp-bg);
    border-top: 1px solid rgba(255,255,255,.08);
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1100px) {
    .recommended-posts-container {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .kp-footer-main {
        padding: 42px 14px 150px;
    }

    .kp-footer-logos img {
        max-width: 132px;
        border-radius: 20px;
    }

    .recommended-posts-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .recommended-post .post-title {
        font-size: 12.5px;
        padding: 10px;
    }

    .redes-footer .social-btn {
        flex: 1 1 calc(50% - 10px);
        max-width: 180px;
    }

    .sidebar-expire-notice.center.intd_pago {
        padding-top: 15px;
        padding-bottom: 25px;
        flex-direction: column;
        font-size: 16px;
        font-weight: 800;
    }
}

@media (max-width: 600px) {
    #cintillo-footer {
        padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    }

    #cintillo-footer p {
        font-size: 13px;
        margin-bottom: 7px;
    }

    #cintillo-footer .buttons-container {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 5px;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    #cintillo-footer a {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 7px 4px;
        min-height: 45px;
        font-size: 10.5px;
        border-radius: 16px;
        gap: 4px;
        flex-direction: column;
        overflow: hidden;
    }

    #cintillo-footer a span {
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    #cintillo-footer a i {
        font-size: 13px;
    }

    .kp-profile-action-cintillo {
        padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
        overflow: hidden;
        max-width: 100vw;
    }

    .kp-profile-action-title {
        display: none;
    }

    .kp-profile-action-buttons,
    .kp-logged-action-cintillo .kp-profile-action-buttons {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 6px;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow: hidden;
    }

    .kp-profile-action-btn,
    .kp-logged-action-cintillo .kp-profile-action-btn {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        min-height: 48px;
        padding: 8px 5px;
        gap: 5px;
        border-radius: 16px;
        flex-direction: row;
        overflow: hidden;
    }

    .kp-profile-action-icon {
        width: 24px;
        height: 24px;
        min-width: 24px;
    }

    .kp-profile-action-icon svg {
        width: 15px;
        height: 15px;
    }

    .kp-profile-action-copy {
        align-items: flex-start;
        text-align: left;
        min-width: 0;
    }

    .kp-profile-action-copy strong {
        max-width: 100%;
        font-size: 11.4px;
        line-height: 1.08;
        letter-spacing: -.18px;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .kp-profile-action-copy small,
    .kp-desktop-label {
        display: none;
    }

    .kp-mobile-label {
        display: inline;
    }

    body.kp-profile-action-cintillo-active,
    body.kp-logged-action-cintillo-active {
        padding-bottom: 68px;
    }

    body.kp-profile-owner-cintillo-active {
        padding-bottom: 128px;
    }

    body.kp-profile-owner-cintillo-active .wrapper-intd {
        bottom: 165px !important;
    }

    .boton-registro {
        animation: kpFooterCtaPulseMobile 2.2s infinite;
    }

    @keyframes kpFooterCtaPulseMobile {
        0%, 100% { transform: scale(1); }
        50% { transform: scale(1.025); }
    }

    .custom-search-form {
        top: 10px;
        bottom: unset;
        width: calc(100vw - 18px);
        border-radius: 22px;
        padding: 22px 14px;
    }

    .custom-search-form .close-button {
        top: 9px;
        right: 9px;
    }

    .custom-search-form p.title {
        font-size: 16px;
        margin-left: 36px;
        margin-right: 36px;
    }

    .wrapper-intd {
        bottom: 150px;
        left: 18px !important;
        right: auto !important;
    }

    .wrapper-intd.left-position .fac-items,
    .wrapper-intd.right-position .fac-items {
        left: 0;
        right: auto;
        width: min(280px, calc(100vw - 32px));
    }

    .wrapper-intd.left-position .fac-items::after,
    .wrapper-intd.right-position .fac-items::after {
        left: 24px;
        right: auto;
    }

    .kp-footer-contact {
        flex-direction: column;
        border-radius: 18px;
        padding: 12px 14px;
    }

    .kp-footer-location-link {
        width: 100%;
        max-width: 330px;
        font-size: 13px;
    }
}

@media (max-width: 420px) {
    .recommended-posts-container {
        grid-template-columns: 1fr;
    }

    .redes-footer .social-btn {
        flex: 1 1 100%;
        max-width: 300px;
    }

    #cintillo-footer a span {
        max-width: 100%;
    }
}

/* =========================================================
   PERFORMANCE EXTRA FOOTER
========================================================= */

.recommended-post,
.kp-footer-location-link,
.redes-footer .social-btn,
.wrapper-intd .fac-items,
.custom-search-form,
.video-popup-content {
    contain: layout paint;
}

@media (prefers-reduced-motion: reduce) {
    #cintillo-footer a,
    .kp-profile-action-btn,
    .boton-registro,
    .recommended-post,
    .recommended-post .post-image img,
    .kp-footer-location-link,
    .redes-footer .social-btn {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
}
