/* ==========================================================================
   Tema Promedios — base propia (escrita desde cero; no copia código de Inspiro)
   Medidas tomadas del sitio actual para conservar el aspecto.
   ========================================================================== */

/* ---------- Reinicio mínimo ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
img, video { max-width: 100%; height: auto; }
iframe { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0 0 1.5em; padding-left: 1.5em; }
figure { margin: 0 0 1.5em; }
table { border-collapse: collapse; width: 100%; }
.clear, .clearfix::after { clear: both; display: block; content: ""; }
.sr-only, .screen-reader-text {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Tipografía y colores ---------- */
:root {
    --pr-texto: #444;
    --pr-titulo: #222;
    --pr-acento: #0bb4aa;
    --pr-oscuro: #101010;
    --pr-fuente: Inter, sans-serif;
    --pr-fuente-2: Montserrat, sans-serif;
    --pr-ancho: 1200px;
    --pr-ancho-texto: 950px;
}

body {
    font-family: var(--pr-fuente);
    font-size: 14px;
    line-height: 1.8;
    color: var(--pr-texto);
    background: #fff;
    overflow-x: hidden;
}

@media (min-width: 769px) {
    body { font-size: 16px; line-height: 1.7; }
}

a { color: var(--pr-acento); text-decoration: none; transition: color .2s; }
a:hover { color: #078e86; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--pr-fuente);
    font-weight: 600;
    line-height: 1.3;
    color: #000;
    margin: 20px 0;
}
h1 { font-size: 36px; }
h2 { font-size: 30px; }
h3 { font-size: 24px; }
h4 { font-size: 18px; margin: 10px 0 20px; }
h5 { font-size: 16px; }
h6 { font-size: 14px; }

p { margin: 0 0 28px; }

/* ---------- Estructura ---------- */
.site { position: relative; transition: transform .18s; }

.inner-wrap {
    max-width: var(--pr-ancho);
    margin: 0 auto;
    padding: 0 4%;
}
@media (min-width: 1280px) {
    .inner-wrap { padding: 0; }
}

/* ---------- Cabecera ---------- */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    transition: transform .3s ease-in-out, box-shadow .3s;
}
.site-header.headroom--not-top { box-shadow: 0 0 18px 1px rgba(0, 0, 0, .1); }
.site-header.headroom--unpinned { transform: translateY(-100%); }

.navbar {
    position: relative;
    padding: 18px 0;
    color: #fff;
    z-index: 200;
    transition: padding .5s ease-in-out, background-color .5s ease-in-out;
}
.headroom--not-top .navbar { padding: 12px 0; }

.navbar .inner-wrap::after { content: ""; display: block; clear: both; }

.navbar-header { float: left; }
.navbar-brand-wpz {
    max-width: 190px;
    padding-right: 15px;
    line-height: 54px;
    transition: .2s ease-in-out;
}
.navbar-brand-wpz a {
    font-family: var(--pr-fuente-2);
    font-weight: 700;
    font-size: 26px;
    text-transform: uppercase;
    color: #fff;
}
.navbar-brand-wpz .custom-logo {
    display: inline;
    vertical-align: middle;
    max-width: 170px;
    height: auto;
    transition: opacity .3s;
}
.navbar-brand-wpz a:hover .custom-logo { opacity: .8; }
@media (max-width: 480px) { .navbar-brand-wpz a { font-size: 20px; } }
@media (max-width: 768px) {
    .navbar-brand-wpz { max-width: 135px; }
    .navbar > .inner-wrap > .navbar-toggle { margin-left: 15px; }
    .wpz_cart { margin-left: 4px; }
}

/* Botón de menú (hamburguesa) */
.navbar-toggle {
    position: relative;
    float: right;
    width: 40px;
    margin-left: 12px;
    padding: 12px 0;
    background: none;
    border: 2px solid transparent;
    color: #fff;
    cursor: pointer;
}
.navbar-toggle .icon-bar {
    display: block;
    width: 24px;
    height: 1.5px;
    margin: 0 auto;
    background: #fff;
    border-radius: 1px;
    transition: width .13s ease-out, transform .13s ease-out, opacity .13s ease-out;
}
.navbar-toggle .icon-bar + .icon-bar { margin-top: 6px; }
.navbar-toggle:hover .icon-bar:nth-child(3) { width: 18px; }

/* Carrito */
.wpz_cart { float: right; margin-left: 5px; }
.site-header-cart { list-style: none; margin: 0; padding: 0; }
.cart-contents {
    position: relative;
    display: inline-block;
    padding: 6px 10px;
    color: #fff;
    line-height: 27.2px;
}
.cart-contents svg { display: inline-block; vertical-align: middle; margin: 4px 6px 0 0; }
/* Cantidad de productos: solo aparece si hay algo en el carrito */
.cart-contents .items-count {
    position: absolute;
    top: 0; left: 24px;
    min-width: 18px; height: 18px;
    padding: 0 4px;
    box-sizing: border-box;
    font-size: 11px; font-weight: 700; line-height: 18px;
    text-align: center;
    color: #000;
    background: #fff;
    border-radius: 9px;
    box-shadow: 0 0 0 2px rgba(0,0,0,.55);
}
.cart-contents .items-count--vacio { display: none; }

/* Buscador */
.sb-search {
    position: relative;
    float: right;
    width: 35px;
    height: 40px;
    margin-left: 5px;
    z-index: 200;
    text-align: right;
}
.sb-icon-search {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    padding: 0;
    background: none;
    border: 0;
    color: #fff;
    cursor: pointer;
    transition: opacity .3s;
}
.sb-icon-search:hover { opacity: .7; }
.sb-search .sb-search-input, .sb-search .sb-search-submit { display: none; }
.sb-search.sb-search-open .sb-search-input {
    display: block;
    position: fixed;
    top: 0; left: 0; right: 0;
    width: 100%;
    padding: 2% 4%;
    font-size: 42px;
    font-weight: 200;
    color: #fff;
    background: rgba(0, 0, 0, .9);
    border: 0;
    outline: 0;
    z-index: -1;
}
@media (max-width: 768px) {
    .sb-search.sb-search-open .sb-search-input { font-size: 24px; padding: 22px 4%; }
}

.header_social { float: right; margin-left: 10px; text-align: right; }

/* Menú principal (compu) */
.navbar-collapse { display: none; }
.navbar-nav { list-style: none; margin: 0; padding: 0; }

@media (min-width: 1025px) {
    .navbar-collapse { display: block; clear: both; text-align: center; }
    .navbar-collapse .navbar-nav {
        display: inline-block;
        padding-top: 5px;
        white-space: nowrap;
    }
    .navbar-collapse .navbar-nav::after { content: ""; display: block; clear: both; }
    .navbar-collapse .navbar-nav > li {
        position: relative;
        float: left;
        margin: 0 11px;
    }
    .navbar-collapse .navbar-nav > li > a {
        position: relative;
        display: block;
        padding: 5px 0 3px;
        font-family: var(--pr-fuente-2);
        font-size: 16px;
        font-weight: 500;
        color: #fff;
        border-bottom: 1px solid transparent;
        transition: border-color .2s, color .2s;
    }
    .navbar-collapse .navbar-nav > li.current-menu-item > a { border-bottom-color: rgba(255, 255, 255, .3); }
    .navbar-collapse .navbar-nav > li.menu-item-has-children > a::after {
        content: "";
        display: inline-block;
        width: 6px; height: 6px;
        margin: 0 0 3px 9px;
        border-right: 1.5px solid currentColor;
        border-bottom: 1.5px solid currentColor;
        transform: rotate(45deg);
    }

    /* Submenú */
    .navbar-collapse .sub-menu {
        position: absolute;
        top: 100%;
        left: 50%;
        min-width: 220px;
        margin: 15px 0 0;
        padding: 0;
        list-style: none;
        text-align: left;
        background: var(--pr-oscuro);
        border-top: 2px solid var(--pr-acento);
        transform: translateX(-50%);
        opacity: 0;
        visibility: hidden;
        transition: opacity .2s, visibility .2s;
        z-index: 99;
    }
    .navbar-collapse .sub-menu::before {
        content: "";
        position: absolute;
        top: -17px; left: 0; right: 0;
        height: 17px;
    }
    .navbar-collapse .navbar-nav > li:hover > .sub-menu,
    .navbar-collapse .navbar-nav > li:focus-within > .sub-menu {
        opacity: 1;
        visibility: visible;
    }
    .navbar-collapse .sub-menu li { position: relative; border-top: 1px solid rgba(255, 255, 255, .07); }
    .navbar-collapse .sub-menu li:first-child { border-top: 0; }
    .navbar-collapse .sub-menu a {
        display: block;
        padding: 8px 20px 8px 15px;
        font-family: var(--pr-fuente-2);
        font-size: 16px;
        font-weight: 500;
        color: #b0b0b0;
        white-space: nowrap;
    }
    .navbar-collapse .sub-menu a:hover { color: #fff; }
}

/* ---------- Menú lateral ---------- */
.side-nav {
    position: fixed;
    top: 0; right: 0; bottom: -70px;
    width: 380px;
    max-width: 86%;
    overflow: hidden;
    visibility: hidden;
    z-index: -1;
    outline: 0;
}
.side-nav__scrollable-container {
    position: relative;
    height: 100%;
    padding-bottom: 70px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    color: #78787f;
    background: var(--pr-oscuro);
    transform: translateX(100%);
    transition: transform .18s;
}
.side-nav__wrap { position: relative; padding: 20px 30px 30px; }
.side-nav__close-button { overflow: hidden; margin-bottom: 15px; }
.side-nav__close-button .navbar-toggle { margin: 5px 0 0; }
.side-nav__close-button .icon-bar:nth-child(2) { transform: translateY(7.5px) rotate(45deg); }
.side-nav__close-button .icon-bar:nth-child(3) { opacity: 0; }
.side-nav__close-button .icon-bar:nth-child(4) { transform: translateY(-7.5px) rotate(-45deg); }

.side-nav-overlay {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    right: 380px;
    display: none;
    cursor: e-resize;
    z-index: 900;
}

body.side-nav-open { overflow: hidden; }
body.side-nav-open .side-nav { visibility: visible; z-index: 600; }
body.side-nav-open .side-nav__scrollable-container { transform: translateX(0); }
body.side-nav-open .site { transform: translateX(-380px); z-index: 300; }
body.side-nav-open .side-nav-overlay { display: block; }
@media (max-width: 441px) {
    body.side-nav-open .site { transform: translateX(-86vw); }
    .side-nav-overlay { right: 86%; }
}

.side-nav .navbar-nav { position: relative; margin: 0 0 60px; }
.side-nav .navbar-nav > li {
    position: relative;
    margin: 4px 0;
    padding-bottom: 3px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.side-nav .navbar-nav a {
    display: block;
    margin: 4px 0;
    padding: 3px 0;
    line-height: 1.4;
    font-family: var(--pr-fuente-2);
    font-weight: 500;
    color: #fff;
    transition: color .2s;
}
.side-nav .navbar-nav a:hover { color: var(--pr-acento); }
.side-nav .sub-menu { display: none; list-style: none; margin: 0 0 0 20px; padding: 0; }
.side-nav li.open > .sub-menu { display: block; }
.side-nav .sub-menu li { margin: 7px 0; }
.side-nav .sub-menu a { font-weight: 400; color: #ccc; }
.side-nav .child-arrow {
    position: absolute;
    right: 0; top: -3px;
    width: 30px; height: 30px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: transform .2s;
}
.side-nav li.open > a > .child-arrow { transform: rotate(180deg); }

/* En compu el menú lateral solo muestra los widgets (el menú ya está arriba). */
@media (min-width: 1025px) {
    .side-nav .navbar-nav { display: none; }
    .side-nav__wrap { padding: 60px 30px; }
    .side-nav__close-button { display: none; }
}

.side-nav .widget { margin: 0 0 40px; }
@media (max-width: 1024px) { .side-nav .widget { margin-bottom: 30px; } }
.side-nav .widget .title {
    margin: 0 0 20px;
    font-family: var(--pr-fuente-2);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
    color: #fff;
}
.side-nav .search-form { position: relative; display: flex; }
.side-nav .search-form label { flex: 1; }
.side-nav .search-field {
    width: 100%;
    height: 40px;
    padding: 0 10px;
    color: #eee;
    background: transparent;
    border: 0;
    border-top: 2px solid #565555;
    border-bottom: 2px solid #565555;
    outline: 0;
}
.side-nav .search-submit {
    height: 40px;
    padding: 7px 19px;
    font-family: var(--pr-fuente-2);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--pr-acento);
    background: transparent;
    border: 0;
    border-top: 2px solid var(--pr-acento);
    border-bottom: 2px solid var(--pr-acento);
    cursor: pointer;
}
.side-nav .search-submit:hover { color: #fff; background: var(--pr-acento); }

/* ---------- Portada de páginas ---------- */
.entry-cover { position: relative; }
.has-post-cover .entry-cover {
    min-height: 450px;
    overflow: hidden;
    background: #000;
}
.entry-cover-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: 50% 50%;
    opacity: .8;
    transition: .2s ease-in-out;
}
.has-post-cover .entry-header {
    position: absolute;
    left: 0; right: 0; bottom: 30px;
    z-index: 99;
}
.entry-info {
    max-width: var(--pr-ancho-texto);
    margin: 0 auto;
    padding: 0 4%;
}
@media (min-width: 1030px) { .entry-info { padding: 0; } }

.entry-title {
    margin: 32px 0 6px;
    font-family: var(--pr-fuente-2);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
    text-align: center;
    color: var(--pr-titulo);
}
.entry-title::after {
    content: " ";
    display: block;
    width: 130px;
    height: 1px;
    margin: 10px auto 0;
    background: #e6e6e6;
}
.has-post-cover .entry-title {
    font-family: var(--pr-fuente);
    font-size: 45px;
    font-weight: 600;
    text-transform: none;
    text-align: left;
    color: #fff;
}
.has-post-cover .entry-title::after { display: none; }

@media (max-width: 768px) {
    .has-post-cover .entry-cover { min-height: 350px; }
    .has-post-cover .entry-title { font-size: 32px; line-height: 1.5; }
}
@media (max-width: 480px) {
    .entry-title, .has-post-cover .entry-title { font-size: 24px; line-height: 1.5; }
}

/* ---------- Contenido ---------- */
.entry-content {
    max-width: calc(var(--pr-ancho-texto) + 8%);
    margin: 24px auto;
    padding: 0 4%;
}
@media (min-width: 1030px) {
    .entry-content { max-width: var(--pr-ancho-texto); padding: 0; }
}
body.woocommerce-page:not(.woocommerce-shop) article.page .entry-content {
    max-width: 1260px;
    padding: 0 30px;
}
@media (max-width: 768px) {
    body.woocommerce-page:not(.woocommerce-shop) article.page .entry-content { padding: 0 4%; }
}
.entry-content > :first-child { margin-top: 0; }
.entry-content img { height: auto; }
.entry-content .alignwide { max-width: 1200px; margin-left: auto; margin-right: auto; }
.entry-content .alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.entry-content .aligncenter { display: block; margin: 0 auto 1.5em; }
.entry-content .alignleft { float: left; margin: 0 1.5em 1em 0; }
.entry-content .alignright { float: right; margin: 0 0 1em 1.5em; }
.page-links { clear: both; margin: 1.5em 0; }

/* ---------- Formularios ---------- */
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"],
input[type="number"], input[type="tel"], input[type="date"], select, textarea {
    max-width: 100%;
    padding: 11px 10px;
    font-size: 16px;
    line-height: normal;
    background: #fff;
    border: 1px solid rgba(68, 68, 68, .19);
    border-radius: 0;
    outline: 0;
    transition: border-color .2s;
}
input:focus, select:focus, textarea:focus { border-color: #999; }
button, input[type="submit"], input[type="button"], .button {
    display: inline-block;
    padding: 12px 25px;
    font-family: var(--pr-fuente-2);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.7;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--pr-texto);
    background: transparent;
    border: 2px solid transparent;
    cursor: pointer;
    transition: color .2s, border-color .2s, background-color .2s;
}
input[type="submit"], input[type="button"], .button { border-left: 0; border-right: 0; border-top-color: rgba(68, 68, 68, .19); border-bottom-color: rgba(68, 68, 68, .19); }
form button[type="submit"] {
    padding: 10px 25px;
    font-weight: 700;
    background: #f0f0f0;
    border: 2px solid rgba(68, 68, 68, .19);
}
body div.wpforms-container-full .wpforms-form button[type="submit"],
body .wpforms-container .wpforms-form button.wpforms-submit {
    padding: 12px 25px;
    font-family: var(--pr-fuente-2);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.7;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--pr-texto);
    background: transparent;
    border: 2px solid rgba(68, 68, 68, .19);
    border-radius: 0;
}
body div.wpforms-container-full .wpforms-form button[type="submit"]:hover { color: #000; border-color: #000; background: transparent; }
button:hover, input[type="submit"]:hover, input[type="button"]:hover, .button:hover { color: #000; border-color: #000; }

/* ---------- Pie (estructura; el aspecto está en promedios.css) ---------- */
.site-footer {
    background: #101010;
    color: #a2a2a2;
    border-top: 1px solid #222;
}
.site-footer .inner-wrap { padding-top: 0; }
/* 2.4.25: el pie usa el mismo ancho útil que Ticketera/Novedades (1200 con 30px de margen) */
.site-footer .inner-wrap { padding-left: 30px; padding-right: 30px; }
@media (max-width: 768px) { .site-footer .inner-wrap { padding-left: 20px; padding-right: 20px; } }
.footer-widgets { padding-top: 48px; }
.site-footer-separator { height: 1px; background: #232323; }
.site-info { padding: 30px 0; text-align: center; color: #78787f; }
.footer-menu { margin: 0 0 15px; text-align: center; }
.footer-menu ul { display: inline-block; list-style: none; margin: 0; padding: 0; }
.footer-menu li { display: inline-block; margin: 0 25px 0 0; }
.footer-menu li:last-child { margin-right: 0; }
.footer-menu a { font-weight: 600; color: #fff; transition: color .1s; }
.footer-menu a:hover { color: var(--pr-acento); }

/* ---------- Portada del Inicio (diapositivas con video) ---------- */
.promedios-portada {
    position: relative;
    height: 100vh;
    min-height: 420px;
    overflow: hidden;
    background: var(--pr-oscuro);
    z-index: 98;
}
.promedios-portada .slides { list-style: none; margin: 0; padding: 0; height: 100%; }
.promedios-portada .slide {
    position: absolute;
    inset: 0;
    background-color: #000;
    background-size: cover;
    background-position: 50% 50%;
    opacity: 0;
    transition: opacity .8s ease;
}
.promedios-portada .slide.is-active { opacity: 1; z-index: 1; }
.promedios-portada__video {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1s ease;
}
.promedios-portada__video.is-listo, video.promedios-portada__video { opacity: 1; }
video.promedios-portada__video { width: 100%; height: 100%; object-fit: cover; }
.promedios-portada__externo iframe {
    position: absolute;
    top: 50%; left: 50%;
    width: 100vw; height: 56.25vw;
    min-width: 177.78vh; min-height: 100vh;
    transform: translate(-50%, -50%);
    border: 0;
}
.promedios-portada .slide-background-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, .3) 0%, rgba(0, 0, 0, .5) 100%);
    z-index: 20;
}
.promedios-portada .li-wrap {
    position: absolute;
    left: 6%; right: 6%; top: 50%;
    transform: translateY(-50%);
    text-align: center;
    color: #fff;
    z-index: 30;
}
.promedios-portada .li-wrap h3 { margin: 0 0 20px; font-size: 72px; font-weight: 600; line-height: 1.1; color: #fff; }
.promedios-portada .li-wrap h3 a { color: #fff; }
.promedios-portada .li-wrap .excerpt { font-size: 20px; }
.promedios-portada .li-wrap .excerpt p:empty { display: none; }
.promedios-portada .slide_button a {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 30px;
    font-family: var(--pr-fuente-2);
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    color: #fff;
    border: 2px solid #fff;
}
@media (max-width: 768px) {
    .promedios-portada .li-wrap h3 { font-size: 38px; }
    .promedios-portada .li-wrap .excerpt { font-size: 18px; }
}
#scroll-to-content {
    position: absolute;
    left: 50%; bottom: 20px;
    width: 69px; height: 24px;
    margin-left: -34px;
    padding: 0;
    background: none;
    border: 0;
    opacity: .5;
    cursor: pointer;
    z-index: 150;
    transition: opacity .2s;
}
#scroll-to-content::before {
    content: "";
    position: absolute;
    top: -16px; left: 50%;
    width: 30px; height: 30px;
    margin-left: -15px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
}
#scroll-to-content:hover { opacity: 1; }
.builder-wrap { position: relative; }

/* ---------- Títulos de sección (búsqueda, 404, portfolio) ---------- */
.section-title {
    margin: 70px 0 10px;
    font-family: var(--pr-fuente-2);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
    text-align: center;
    color: var(--pr-titulo);
}
.section-title::after {
    content: " ";
    display: block;
    width: 130px;
    height: 1px;
    margin: 40px auto 0;
    background: #e6e6e6;
}
@media (max-width: 768px) { .section-title { margin-top: 40px; font-size: 20px; } .section-title::after { margin-top: 25px; } }

/* ---------- Portfolio ---------- */
.portfolio-header-cover { position: relative; min-height: 250px; background: #000; }
.portfolio-header-cover .entry-cover { position: relative; min-height: 250px; }
.portfolio-header-cover-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: 50% 50%;
    opacity: .8;
}
.portfolio-header-info { position: relative; z-index: 2; padding: calc(var(--pr-cabecera-alto, 112px) + 30px) 4% 50px; } /* 2.4.31: el título no queda debajo de la barra */
.portfolio-header-info .entry-info { max-width: var(--pr-ancho-texto); margin: 0 auto; padding: 0; }
.portfolio-header-info .section-title { color: #fff; }
.portfolio-header-info .section-title::after { background: rgba(255, 255, 255, .3); }
.portfolio-header-info .entry-header-excerpt { margin-top: 40px; text-align: center; color: #fff; opacity: .9; }
.portfolio-header-info .entry-header-excerpt p { margin-bottom: 15px; }
.portfolio-header-info .heateor_sss_sharing_title { color: #fff; }
.portfolio-archive { background: var(--pr-oscuro); }
.portfolio-archive-taxonomies { padding: 45px 4%; text-align: center; }
.portfolio-taxonomies { list-style: none; margin: 0; padding: 0; }
.portfolio-taxonomies li { display: inline-block; margin: 0 6px 10px; }
.portfolio-taxonomies a {
    display: block;
    padding: 10px 20px;
    font-family: var(--pr-fuente-2);
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    border: 2px solid transparent;
    transition: border-color .2s;
}
.portfolio-taxonomies .current-cat a, .portfolio-taxonomies a:hover { color: #fff; border-color: rgba(255, 255, 255, .59); }
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 0;
    padding: 0 0 60px;
}
.portfolio-grid .portfolio_item { position: relative; overflow: hidden; background: #000; }
.portfolio_item.is-oculto { display: none; }
.portfolio_item__enlace { display: block; position: relative; aspect-ratio: 3 / 2; color: #fff; }
.portfolio_item__enlace img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s, opacity .4s; }
.portfolio_item__titulo {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 30px 20px 30px;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(transparent, rgba(0, 0, 0, .75));
}
.portfolio_item__enlace:hover img { transform: scale(1.04); opacity: .85; }
.portfolio-archive > .entry-header { padding: 40px 4% 30px; background: #fff; }
.portfolio-archive .no-results { padding: 20px 4% 60px; color: #ccc; }
.portfolio-archive .no-results .page-title { color: #fff; }

/* Trabajo del portfolio */
.single-portfolio_item .entry-cover.cover-fullheight { min-height: 100vh; overflow: hidden; background: #000; }
.single-portfolio_item .entry-cover-image { opacity: .8; }
.single-portfolio_item .has-post-cover .entry-header { bottom: 30px; }
.single-portfolio_item .entry-info { text-align: center; color: #fff; }
.single-portfolio_item .entry-meta { font-size: 16px; color: rgba(255, 255, 255, .7); opacity: .9; }
.single-portfolio_item .entry-meta a { font-weight: 600; color: #fff; }
.single-portfolio_item .entry-meta a + a::before { content: "/"; margin: 0 6px; font-weight: 400; color: rgba(255, 255, 255, .7); }
.single-portfolio_item .has-post-cover .entry-title { margin: 10px 0; text-align: center; }
.entry_wrapper { max-width: var(--pr-ancho); margin: 60px auto; padding: 0 4%; }
@media (min-width: 1280px) { .entry_wrapper { padding: 0; } }
.entry_wrapper .entry-content { max-width: var(--pr-ancho-texto); margin: 0 0 45px; padding: 0; }

/* ---------- Búsqueda y 404 ---------- */
.recent-posts { max-width: var(--pr-ancho-texto); margin: 0 auto; padding: 0 4% 60px; }
@media (min-width: 1030px) { .recent-posts { padding: 0 0 60px; } }
.recent-posts > .section-title { margin-bottom: 48px; }
.recent-posts article { margin: 0 0 60px; text-align: center; }
.recent-posts .post-thumb { margin: 0 0 30px; }
.recent-posts .post-thumb img { width: 100%; height: auto; }
.recent-posts .entry-body { padding: 0 7.5%; }
.recent-posts .entry-title { margin: 0 0 20px; font-family: var(--pr-fuente); font-size: 42px; font-weight: 700; line-height: 1.3; text-transform: none; text-align: center; color: #000; }
.recent-posts .entry-title::after { display: none; }
.recent-posts .entry-title a { color: #000; }
.recent-posts .entry-meta { margin: 0 0 20px; color: #999; }
.recent-posts .entry-meta span + span::before { content: "/"; margin: 0 8px; color: #ccc; }
.recent-posts .entry-meta a { color: var(--pr-texto); }
.recent-posts .entry-content { max-width: none; margin: 0; padding: 0; text-align: left; }
.recent-posts .more_link {
    display: table;
    margin: 10px auto 0;
    padding: 10px 25px;
    font-family: var(--pr-fuente-2);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--pr-texto);
    border: 2px solid rgba(68, 68, 68, .19);
}
.recent-posts .more_link:hover { color: #000; border-color: #000; }
@media (max-width: 768px) { .recent-posts .entry-title { font-size: 28px; } }

.no-results .page-title { margin: 20px 0 10px; font-family: var(--pr-fuente); font-size: 36px; font-weight: 500; line-height: 1.1; color: #000; }
.no-results .search-form { position: relative; display: block; }
.no-results .search-form label { display: block; }
.no-results .search-field {
    width: 100%;
    height: 40px;
    padding: 0 100px 0 10px;
    border: 2px solid #565555;
}
.no-results .search-submit {
    position: absolute;
    top: 0; right: 0;
    height: 40px;
    padding: 0 12px;
    font-size: 12px;
    font-weight: 600;
    border: 2px solid #565555;
}

/* ---------- Página no encontrada (404) ---------- */
.promedios-404 {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 140px 20px 90px;
    background-color: var(--pr-oscuro);
    background-image: radial-gradient(ellipse at 50% 35%, #2a2a2a 0%, var(--pr-oscuro) 70%);
    background-size: cover;
    background-position: 50% 50%;
    color: #fff;
    text-align: center;
    overflow: hidden;
}
.promedios-404__velo { position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, .55), rgba(0, 0, 0, .75)); }
.promedios-404:not([style]) .promedios-404__velo { display: none; }
.promedios-404__caja { position: relative; z-index: 2; max-width: 680px; }
.promedios-404__numero {
    margin: 0;
    font-family: var(--pr-fuente-2);
    font-size: clamp(110px, 22vw, 220px);
    font-weight: 700;
    line-height: .9;
    letter-spacing: -.02em;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, .85);
}
.promedios-404__titulo {
    margin: 26px 0 14px;
    font-family: var(--pr-fuente-2);
    font-size: 30px;
    font-weight: 600;
    text-transform: uppercase;
    color: #fff;
}
.promedios-404__titulo::after { content: ""; display: block; width: 90px; height: 2px; margin: 22px auto 0; background: var(--pr-acento); }
.promedios-404__texto { margin: 0 auto 30px; font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, .8); }
.promedios-404__buscar { position: relative; max-width: 460px; margin: 0 auto 30px; }
.promedios-404__buscar input[type=search] {
    width: 100%;
    height: 50px;
    padding: 0 54px 0 20px;
    font-size: 16px;
    color: #fff;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 0;
}
.promedios-404__buscar input[type=search]::placeholder { color: rgba(255, 255, 255, .6); }
.promedios-404__buscar input[type=search]:focus { outline: none; border-color: #fff; background: rgba(255, 255, 255, .12); }
.promedios-404__buscar button {
    position: absolute;
    top: 0; right: 0;
    width: 50px; height: 50px;
    padding: 0;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    background: none;
    border: 0;
    cursor: pointer;
}
.promedios-404__buscar button:hover { color: var(--pr-acento); }
.promedios-404__botones { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.promedios-404__boton {
    display: inline-block;
    padding: 12px 26px;
    font-family: var(--pr-fuente-2);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: #fff;
    border: 2px solid #fff;
    transition: background-color .2s, color .2s, border-color .2s;
}
.promedios-404__boton:hover, .promedios-404__boton.es-principal { color: #000; background: #fff; }
.promedios-404__boton.es-principal:hover { color: #fff; background: var(--pr-acento); border-color: var(--pr-acento); }
@media (max-width: 600px) {
    .promedios-404 { padding-top: 110px; }
    .promedios-404__titulo { font-size: 22px; }
    .promedios-404__boton { width: 100%; }
}

/* Redes en el menú lateral (reemplazan al widget de WPZOOM) */
.promedios-side-redes { margin-top: 30px; }
.promedios-side-redes .promedios-social-links { justify-content: flex-start; }
.promedios-video-drive { max-width: 960px; margin: 0 auto 30px; }
.promedios-video-drive iframe { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; border: 0; }

/* ---------- Servicios: grilla de tarjetas (como la página Servicios de hoy) ---------- */
.promedios-servicios-grilla {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    padding: 28px 30px;
}
.promedios-servicios-grilla.es-chica { gap: 16px; padding: 0; }
.promedios-servicio-tarjeta {
    position: relative;
    display: flex;
    align-items: flex-end;
    height: 258px;
    padding: 0 48px 24px;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    background-color: #222;
    background-size: cover;
    background-position: 50% 50%;
}
.promedios-servicios-grilla.es-chica .promedios-servicio-tarjeta { height: 170px; padding: 0 20px 16px; }
.promedios-servicio-tarjeta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .4);
    transition: background-color .3s;
}
.promedios-servicio-tarjeta:hover::before { background: rgba(0, 0, 0, .55); }
.promedios-servicio-tarjeta__info { position: relative; display: flex; flex-direction: column; }
.promedios-servicio-tarjeta__titulo { font-family: var(--pr-fuente-2); font-size: 26px; font-weight: 600; line-height: 1.2; color: #fff; }
.promedios-servicios-grilla.es-chica .promedios-servicio-tarjeta__titulo { font-size: 18px; }
.promedios-servicio-tarjeta__mas { margin-top: 4px; font-family: var(--pr-fuente-2); font-size: 13px; font-weight: 700; color: #6ec1e4; }
.promedios-servicio-tarjeta:hover .promedios-servicio-tarjeta__mas { color: #fff; }
@media (max-width: 1024px) { .promedios-servicios-grilla { grid-template-columns: repeat(2, 1fr); gap: 18px; padding: 18px; } }
@media (max-width: 600px) {
    .promedios-servicios-grilla { grid-template-columns: 1fr; }
    .promedios-servicio-tarjeta { height: 250px; padding: 0 24px 20px; }
    .promedios-servicio-tarjeta__titulo { font-size: 21px; }
    .promedios-servicios-grilla.es-chica { grid-template-columns: repeat(2, 1fr); }
    .promedios-servicios-grilla.es-chica .promedios-servicio-tarjeta { height: 140px; padding: 0 12px 12px; }
    .promedios-servicios-grilla.es-chica .promedios-servicio-tarjeta__titulo { font-size: 15px; }
}
.promedios-servicios-pagina__contenido > *:not(.alignfull) { max-width: var(--pr-ancho-texto); margin-left: auto; margin-right: auto; }
.promedios-servicios-pagina__contenido .alignfull { width: 100%; margin: 0; }
.promedios-servicios-otros { max-width: 1260px; margin: 0 auto 70px; padding: 0 30px; }
.promedios-servicios-otros .section-title { margin-top: 30px; }

/* «¿Por qué nosotros?» (bloques en la página Servicios) */
.promedios-porque { padding: 130px 30px !important; min-height: 0 !important; }
.promedios-porque .wp-block-cover__background { opacity: .6 !important; }
.promedios-servicios-pagina .heateor_sss_sharing_container, .promedios-servicios-pagina .heateor_sss_horizontal_sharing { display: none; }
.promedios-porque h2 { margin: 0 0 45px; font-family: var(--pr-fuente-2); font-size: 30px; font-weight: 700; text-transform: uppercase; text-align: center; color: #fff; }
.promedios-porque .wp-block-columns { max-width: 1200px; margin: 0 auto; gap: 40px; }
.promedios-porque .wp-block-column { text-align: center; }
.promedios-porque .promedios-icono { display: inline-block; width: 52px; height: 52px; margin-bottom: 22px; color: #fff; }
.promedios-porque .promedios-icono svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.promedios-porque h3 { margin: 0 0 18px; font-family: var(--pr-fuente-2); font-size: 22px; font-weight: 600; color: #fff; }
.promedios-porque p { font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .7); }

/* ---------- Video y galería (Servicios y Trabajos) ---------- */
.promedios-video { position: relative; margin: 30px 0; aspect-ratio: 16 / 9; background: #000; }
.promedios-video iframe, .promedios-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.promedios-galeria { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 30px 0; }
.promedios-galeria__item { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #eee; }
.promedios-galeria__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.promedios-galeria__item:hover img { transform: scale(1.04); }
@media (max-width: 600px) { .promedios-galeria { grid-template-columns: repeat(2, 1fr); } }
.promedios-visor {
    position: fixed; inset: 0; z-index: 100000;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0, 0, 0, .92);
}
.promedios-visor[hidden] { display: none; }
.promedios-visor img { max-width: 92vw; max-height: 86vh; object-fit: contain; }
.promedios-visor__texto { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; color: #ddd; font-size: 14px; }
.promedios-visor button {
    position: absolute; padding: 10px 16px;
    font-size: 34px; line-height: 1; color: #fff;
    background: none; border: 0; cursor: pointer; opacity: .8;
}
.promedios-visor button:hover { opacity: 1; }
.promedios-visor__cerrar { top: 10px; right: 10px; }
.promedios-visor__ant { left: 10px; top: 50%; transform: translateY(-50%); }
.promedios-visor__sig { right: 10px; top: 50%; transform: translateY(-50%); }
/* 2.4.47: una sola foto: sin flechas. Fotos del contenido con cursor de ampliar. */
.promedios-visor--una .promedios-visor__ant, .promedios-visor--una .promedios-visor__sig { display: none; }
.entry-content a[href$=".jpg"] img, .entry-content a[href$=".jpeg"] img, .entry-content a[href$=".png"] img, .entry-content a[href$=".webp"] img { cursor: zoom-in; }

/* ---------- Recuadro «Pedir presupuesto» ---------- */
.promedios-presupuesto { margin: 40px 0 10px; padding: 34px 30px; text-align: center; background: #f2f4f6; }
.promedios-presupuesto__titulo { margin: 0 0 8px; font-family: var(--pr-fuente-2); font-size: 24px; font-weight: 700; color: var(--pr-titulo); }
.promedios-presupuesto__texto { margin: 0 0 20px; }
.promedios-presupuesto__botones { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.promedios-presupuesto__boton {
    display: inline-block; padding: 12px 28px;
    font-family: var(--pr-fuente-2); font-size: 14px; font-weight: 600; text-transform: uppercase;
    color: #fff !important; text-decoration: none !important;
    background: #000; border: 2px solid #000;
    transition: background-color .2s, border-color .2s, color .2s;
}
.promedios-presupuesto__boton:hover { background: var(--pr-acento); border-color: var(--pr-acento); }
.promedios-presupuesto__boton.es-whatsapp { background: #25d366; border-color: #25d366; }
.promedios-presupuesto__boton.es-whatsapp:hover { background: #1da851; border-color: #1da851; }
.promedios-presupuesto__boton.es-secundario { color: #000 !important; background: transparent; }
.promedios-presupuesto__boton.es-secundario:hover { color: #fff !important; background: #000; }

.portfolio_item__cliente { position: absolute; left: 20px; bottom: 12px; font-size: 13px; color: rgba(255, 255, 255, .75); }

/* Trabajo: texto y medios a la izquierda, datos al costado */
.promedios-trabajo__cuerpo { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 50px; max-width: 1200px; margin: 50px auto; padding: 0 30px; }
.promedios-trabajo__principal.entry-content { max-width: none; margin: 0; padding: 0; }
.promedios-trabajo__datos { align-self: start; position: sticky; top: 110px; padding: 22px 24px; background: rgba(128, 128, 128, .12); }
.promedios-trabajo__datos p { margin: 0 0 16px; font-weight: 600; color: inherit; }
.promedios-trabajo__datos p:last-child { margin-bottom: 0; }
.promedios-trabajo__datos span { display: block; margin-bottom: 2px; font-size: 12px; font-weight: 400; text-transform: uppercase; letter-spacing: .05em; opacity: .6; }
.promedios-trabajo__enlace { display: inline-block; padding: 9px 20px; font-size: 13px; text-transform: uppercase; color: #fff !important; background: var(--pr-acento); }
.promedios-trabajo__enlace:hover { opacity: .85; }
.promedios-trabajo__nav { display: flex; justify-content: space-between; gap: 20px; max-width: 1200px; margin: 0 auto 60px; padding: 20px 30px 0; border-top: 1px solid rgba(128, 128, 128, .25); }
.promedios-trabajo__nav a { font-weight: 600; color: inherit; }
.promedios-trabajo__nav .es-siguiente { margin-left: auto; }
@media (max-width: 860px) {
    .promedios-trabajo__cuerpo { grid-template-columns: 1fr; gap: 24px; }
    .promedios-trabajo__datos { position: static; }
}

/* ---------- Inicio: «Nuestros clientes» (bloques; antes Elementor) ---------- */
.promedios-clientes { margin: 0 !important; padding: 28px 20px 80px; color: #fff; background: #000; }
.promedios-clientes > * { max-width: 1120px; margin-left: auto !important; margin-right: auto !important; }
.promedios-clientes h2 {
    margin-top: 28px !important; margin-bottom: 19px;
    font-family: var(--pr-fuente-2); font-size: 28px; font-weight: 600; text-transform: uppercase;
    color: #7a7a7a;
}
.promedios-clientes__texto { margin-bottom: 40px; font-family: var(--pr-fuente-2); font-size: 19px; line-height: 1.35; color: #fff; text-shadow: 0 0 10px rgba(0, 0, 0, .3); }
.promedios-clientes .wp-block-gallery.promedios-clientes__logos {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 0 !important;
    margin-bottom: 40px;
}
.promedios-clientes__logos figure.wp-block-image {
    display: flex !important; align-items: center; justify-content: center;
    width: auto !important; height: 175px; margin: 0 !important;
}
.promedios-clientes__logos figure.wp-block-image img { width: 150px !important; height: auto !important; max-width: 100%; object-fit: contain !important; transition: opacity .2s; }
.promedios-clientes__logos a:hover img { opacity: .75; }
.promedios-clientes .promedios-clientes__listas { max-width: 1000px; gap: 30px; }
.promedios-clientes__listas ul { margin: 0; padding: 0; list-style: none; }
.promedios-clientes__listas li { position: relative; padding-left: 23px; font-family: var(--pr-fuente-2); font-size: 15px; line-height: 23px; color: #ccc; }
.promedios-clientes__listas li::before {
    content: ""; position: absolute; left: 0; top: 5px;
    width: 13px; height: 13px; box-sizing: border-box;
    border: 2px solid #999; border-radius: 50%;
    background: radial-gradient(circle, #999 0 2.5px, transparent 3px);
}
.promedios-clientes__listas a { color: inherit; }
@media (max-width: 781px) {
    .promedios-clientes__texto { font-size: 13px; }
    .promedios-clientes .wp-block-gallery.promedios-clientes__logos { grid-template-columns: repeat(2, 1fr); }
    .promedios-clientes__logos figure.wp-block-image { height: 130px; }
    .promedios-clientes .promedios-clientes__listas { gap: 0; padding-left: 28px; }
}
/* El video de portada se agranda por encima del ancho de pantalla para cubrir sin bordes (no limitarlo). */
.promedios-portada__externo iframe { max-width: none !important; max-height: none !important; }

/* ==========================================================================
   Ticketera en el Inicio (franja de eventos a la venta)
   ========================================================================== */
.promedios-tk { background: #0b0b0b; color: #fff; padding: 56px 0 60px; overflow: hidden; }
.promedios-tk__inner { max-width: 1200px; margin: 0 auto; padding: 0 30px; }
.promedios-tk__cabeza { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.promedios-tk__etiqueta { margin: 0 0 8px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.7); display: flex; align-items: center; gap: 8px; }
.promedios-tk__punto { width: 8px; height: 8px; border-radius: 50%; background: #e53935; box-shadow: 0 0 0 0 rgba(229,57,53,.6); animation: promedios-tk-pulso 1.8s infinite; }
.promedios-tk--pasados .promedios-tk__punto { background: rgba(255,255,255,.5); animation: none; }
@keyframes promedios-tk-pulso { 70% { box-shadow: 0 0 0 8px rgba(229,57,53,0); } 100% { box-shadow: 0 0 0 0 rgba(229,57,53,0); } }
.promedios-tk__titulo { margin: 0; font-size: 40px; line-height: 1.1; font-weight: 700; color: #fff; }
.promedios-tk__texto { margin: 10px 0 0; max-width: 560px; font-size: 16px; color: rgba(255,255,255,.75); }
.promedios-tk__acciones { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.promedios-tk__flecha { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: transparent; color: #fff; font-size: 26px; line-height: 38px; cursor: pointer; transition: background .2s, border-color .2s; }
.promedios-tk__flecha:hover { background: #fff; color: #000; border-color: #fff; }
.promedios-tk__boton, .promedios-tk__comprar { display: inline-block; padding: 12px 22px; border-radius: 3px; background: var(--pr-acento); color: #fff !important; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; transition: filter .2s; }
.promedios-tk__boton:hover, .promedios-tk__comprar:hover { filter: brightness(1.12); }
.promedios-tk__pista { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 6px; scrollbar-width: none; }
.promedios-tk__pista::-webkit-scrollbar { display: none; }
.promedios-tk__tarjeta { flex: 0 0 calc((100% - 44px) / 3); scroll-snap-align: start; background: #161616; border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; transition: transform .25s; }
.promedios-tk__tarjeta:hover { transform: translateY(-4px); }
.promedios-tk__imagen { position: relative; display: block; aspect-ratio: 1 / 1; background: #222; overflow: hidden; }
.promedios-tk__imagen img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.promedios-tk__tarjeta:hover .promedios-tk__imagen img { transform: scale(1.04); }
.promedios-tk__estado { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 3px; background: #e53935; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.promedios-tk--pasados .promedios-tk__estado { background: rgba(0,0,0,.7); }
.promedios-tk__estado--fin { background: rgba(0,0,0,.72); } /* 2.4.54 */
.promedios-tk__comprar--ver { background: transparent; border: 1px solid rgba(255,255,255,.35); } /* 2.4.54: últimas transmisiones */
.promedios-tk__comprar--ver:hover { border-color: var(--pr-acento); }
.promedios-tk--pasados .promedios-tk__imagen img { filter: grayscale(.4) brightness(.8); }
.promedios-tk__cuerpo { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.promedios-tk__cat { margin: 0; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.promedios-tk__nombre { margin: 0; font-size: 17px; line-height: 1.3; font-weight: 600; }
.promedios-tk__nombre a { color: #fff; text-decoration: none; }
.promedios-tk__precio { margin: 0; font-size: 16px; font-weight: 700; color: #fff; }
.promedios-tk__precio del { opacity: .5; font-weight: 400; margin-right: 6px; }
.promedios-tk__comprar { margin-top: auto; text-align: center; }
@media (max-width: 1024px) { .promedios-tk__tarjeta { flex-basis: calc((100% - 22px) / 2); } }
.promedios-tk__imagen { aspect-ratio: 16 / 10; }
.promedios-tk__destacado { display: grid; grid-template-columns: 1.4fr 1fr; background: #161616; border-radius: 6px; overflow: hidden; margin-bottom: 26px; }
.promedios-tk__destacado-imagen { display: block; min-height: 320px; background: #222; }
.promedios-tk__destacado-imagen img { width: 100%; height: 100%; object-fit: cover; display: block; }
.promedios-tk__destacado-cuerpo { position: relative; padding: 36px 36px 34px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.promedios-tk__destacado-cuerpo .promedios-tk__estado { position: static; align-self: flex-start; }
.promedios-tk__destacado-nombre { margin: 0; font-size: 30px; line-height: 1.15; font-weight: 700; }
.promedios-tk__destacado-nombre a { color: #fff; text-decoration: none; }
.promedios-tk__destacado-texto { margin: 0; color: rgba(255,255,255,.75); font-size: 15px; }
.promedios-tk__destacado .promedios-tk__precio { font-size: 22px; }
.promedios-tk__destacado .promedios-tk__comprar { margin-top: 6px; align-self: flex-start; padding: 14px 28px; }
@media (max-width: 768px) {
    .promedios-tk { padding: 40px 0 44px; }
    .promedios-tk__inner { padding: 0 20px; }
    .promedios-tk__cabeza { flex-direction: column; align-items: flex-start; }
    .promedios-tk__titulo { font-size: 30px; }
    .promedios-tk__flecha { display: none; }
    .promedios-tk__tarjeta { flex-basis: 78%; }
    .promedios-tk__destacado { grid-template-columns: 1fr; }
    .promedios-tk__destacado-imagen { min-height: 0; aspect-ratio: 16 / 10; }
    .promedios-tk__destacado-cuerpo { padding: 22px 20px 24px; }
    .promedios-tk__destacado-nombre { font-size: 24px; }
}

/* Noticias en el Inicio */
.promedios-not { border-top: 1px solid rgba(255,255,255,.08); }
.promedios-not__grilla { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.promedios-not__resumen { margin: 0; font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.7); }
.promedios-not__leer { margin-top: auto; font-size: 13px; font-weight: 600; color: var(--pr-acento) !important; text-decoration: none; }
.promedios-tk__boton--borde { background: transparent; border: 1px solid rgba(255,255,255,.5); }
.promedios-tk__boton--borde:hover { background: #fff; color: #000 !important; filter: none; }
.promedios-not .promedios-tk__imagen { background: #1d1d1d; }
@media (max-width: 1024px) { .promedios-not__grilla { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .promedios-not__grilla { grid-template-columns: 1fr; } }

.promedios-tk__imagen.is-vacia { background: #1d1d1d var(--pr-logo, none) center / 45% no-repeat; opacity: .9; }

/* 2.4.2: páginas con imagen y cabecera negra (como el sitio original): la imagen empieza debajo de la barra. */
body.promedios-cabecera-solida .site { padding-top: var(--pr-cabecera-alto, 112px); }
body.promedios-cabecera-solida .portfolio-header-info { padding-top: 50px; }

/* 2.4.4 Ayuda: temas como pestañas con ícono, en una línea (la página trae su propio estilo; estas reglas lo mejoran). */
body .promedios-ayuda.pa-con-pestanas .pa-nav { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); /* 2.4.39: 8 temas con Cursos */ gap: 10px; margin: 24px 0 30px; }
body .promedios-ayuda.pa-con-pestanas .pa-nav a { overflow-wrap: anywhere; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 8px; min-height: 104px; padding: 16px 8px 14px; border: 1px solid #cfe9e8; border-radius: 10px; background: #eef8f8; color: #0b5f62; font-size: 13.5px; font-weight: 600; line-height: 1.25; text-align: center; transition: background .15s, border-color .15s, transform .15s, box-shadow .15s; }
body .promedios-ayuda.pa-con-pestanas .pa-nav a:hover, body .promedios-ayuda.pa-con-pestanas .pa-nav a:focus-visible { background: #dcf1f0; border-color: #08aaa6; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(8,127,131,.12); }
body .promedios-ayuda.pa-con-pestanas .pa-nav a.is-activo { background: #087f83; border-color: #087f83; color: #fff; box-shadow: 0 8px 20px rgba(8,127,131,.25); }
body .promedios-ayuda .pa-icono { flex-shrink: 0; }
body .promedios-ayuda.pa-con-pestanas section[role="tabpanel"] { margin-top: 0; }
body .promedios-ayuda.pa-con-pestanas section[hidden] { display: none; }
@media (max-width: 1000px) { body .promedios-ayuda.pa-con-pestanas .pa-nav { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 600px) {
    body .promedios-ayuda.pa-con-pestanas .pa-nav { display: flex; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; margin-left: -4%; margin-right: -4%; padding: 2px 4% 6px; }
    body .promedios-ayuda.pa-con-pestanas .pa-nav::-webkit-scrollbar { display: none; }
    body .promedios-ayuda.pa-con-pestanas .pa-nav a { flex: 0 0 112px; scroll-snap-align: start; min-height: 96px; }
}
/* 2.4.49: en el celular, 3 temas por fila y botones más chicos (pedido del usuario, 08/11). */
@media (max-width: 600px) {
    body .promedios-ayuda.pa-con-pestanas .pa-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; overflow: visible; margin: 18px 0 24px; padding: 0; }
    body .promedios-ayuda.pa-con-pestanas .pa-nav a { flex: none; min-height: 78px; padding: 10px 4px 9px; gap: 5px; font-size: 12px; line-height: 1.2; border-radius: 9px; }
    body .promedios-ayuda.pa-con-pestanas .pa-nav .pa-icono { width: 21px; height: 21px; }
}

/* 2.4.20 Eventos gratuitos: precio «Gratis», sellos y aviso */
.promedios-gratis-precio { font-weight: 700; color: #15803d; text-transform: uppercase; letter-spacing: .04em; }
.promedios-tk .promedios-gratis-precio { color: #4ade80; }
.promedios-tk__estado--gratis { background: #16a34a !important; margin-left: 6px; }
.promedios-tk__tarjeta .promedios-tk__estado--gratis { position: absolute; top: 44px; left: 12px; margin: 0; } /* 2.4.22: debajo de «A la venta» */

/* ---------- 2.4.34: Novedades (entrada individual), opción A ---------- */
.pr-nota-cabecera { background: #0b0b0d; padding-top: var(--pr-cabecera-alto, 112px); }
body.promedios-cabecera-solida .pr-nota-cabecera { padding-top: 0; }
.pr-nota-imagen { position: relative; overflow: hidden; display: flex; justify-content: center; background: #000; }
.pr-nota-imagen__fondo { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(30px) brightness(.45); }
.pr-nota-imagen__foto { position: relative; display: block; width: auto !important; max-width: 100%; height: auto; max-height: 520px; object-fit: contain; }
.pr-nota-titulos { max-width: 880px; margin: 0 auto; padding: 40px 24px 44px; text-align: center; }
.pr-nota-fecha { margin: 0 0 12px; font-family: var(--pr-fuente), sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: #2fd3c7; }
.pr-nota-titulo { margin: 0; font-family: var(--pr-fuente-2), sans-serif; font-size: 40px; font-weight: 700; line-height: 1.2; color: #fff; text-transform: none; }
.pr-nota-titulo::after { content: ""; display: block; width: 64px; height: 3px; margin: 24px auto 0; background: #2fd3c7; }
@media (max-width: 768px) {
    .pr-nota-imagen__foto { max-height: 340px; }
    .pr-nota-titulos { padding: 28px 20px 32px; }
    .pr-nota-titulo { font-size: 26px; }
}

/* ==========================================================================
   2.4.36 — Lista de Novedades: tarjeta con foto, fecha, título y bajada
   ========================================================================== */
.pr-notas-lista { max-width: 980px; margin: 0 auto; }
.pr-nota-item { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; margin: 0 0 28px; padding: 0 0 28px; border-bottom: 1px solid #e6e8eb; }
.pr-nota-item:last-of-type { border-bottom: 0; }
.pr-nota-item__foto { display: block; position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 6px; background: #0b0b0d; }
.pr-nota-item__foto img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.pr-nota-item:hover .pr-nota-item__foto img { transform: scale(1.04); }
.pr-nota-item__sinfoto { position: absolute; inset: 0; background: linear-gradient(135deg, #0b0b0d 0%, #12302e 100%); }
.pr-nota-item__fecha { margin: 2px 0 8px; font-family: var(--pr-fuente), sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: #0b9a91; }
.pr-notas-lista .pr-nota-item__titulo { margin: 0 0 10px; font-family: var(--pr-fuente-2), sans-serif; font-size: 22px; font-weight: 700; line-height: 1.3; text-transform: none; text-align: left; }
.pr-notas-lista .pr-nota-item__titulo::after { display: none; }
.pr-notas-lista .pr-nota-item__titulo a { color: #111; text-decoration: none; }
.pr-notas-lista .pr-nota-item__titulo a:hover { color: #0b9a91; }
.pr-nota-item__bajada { margin: 0 0 12px; font-size: 14px; line-height: 1.6; color: #555; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pr-nota-item__mas { font-size: 13px; font-weight: 600; color: #0b9a91; text-decoration: none; }
.pr-nota-item__mas:hover { text-decoration: underline; }
@media (max-width: 700px) {
    .pr-nota-item { grid-template-columns: 1fr; gap: 14px; }
    .pr-notas-lista .pr-nota-item__titulo { font-size: 19px; }
}

/* 2.4.41: tarifa de la entrada (Promedios Live 0.29.0+): preventa y repetición */
.pl-tarifa { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 10px; background: #e3f6f4; color: #0b6f6a; font-size: 11px; font-weight: 700; letter-spacing: .03em; line-height: 18px; vertical-align: middle; white-space: nowrap; }
.pl-tarifa--repe { background: #eceff1; color: #4b555c; }
.tkp .pl-tarifa { background: rgba(20, 184, 166, .16); color: #5eead4; }
.tkp .pl-tarifa--repe { background: rgba(255, 255, 255, .1); color: #d4d4d8; }

/* 2.4.50: botones para compartir (Portfolio y cada trabajo). Toman el color del texto que los rodea. */
.pr-compartir { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; position: relative; margin-top: 18px; }
.pr-compartir__txt { width: 100%; font-size: 12px; font-weight: 400; text-transform: uppercase; letter-spacing: .05em; opacity: .6; }
.pr-compartir--portada { justify-content: center; }
.pr-compartir--portada .pr-compartir__txt { width: auto; margin-right: 4px; opacity: .85; }
.pr-compartir__btn { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 0; border-radius: 50%; background: rgba(128,128,128,.14); border: 1px solid rgba(128,128,128,.35); color: inherit !important; cursor: pointer; text-decoration: none !important; transition: background .15s, border-color .15s, color .15s; }
.pr-compartir__btn[hidden] { display: none; }
.pr-compartir__btn:hover, .pr-compartir__btn:focus-visible { border-color: var(--pr-acento); color: var(--pr-acento) !important; }
.pr-compartir__wa:hover { background: #128c4b; border-color: #25d366; color: #fff !important; }
.pr-compartir__fb:hover { background: #1877f2; border-color: #1877f2; color: #fff !important; }
.pr-compartir__ok { position: absolute; top: 100%; left: 0; right: 0; margin-top: 4px; font-size: 12px; font-style: normal; color: var(--pr-acento); text-align: inherit; }
.pr-compartir--portada .pr-compartir__ok { text-align: center; }
/* 2.4.51: sobre la portada del Portfolio, botones blancos bien visibles (antes tomaban el gris del texto y no se veían). */
.pr-compartir__txt { background: none !important; padding: 0 !important; border: 0 !important; font-weight: 600; }
.pr-compartir--portada { color: #fff; margin-top: 26px; }
.pr-compartir--portada .pr-compartir__txt { color: #fff !important; opacity: .95; letter-spacing: .12em; }
.pr-compartir--portada .pr-compartir__btn { width: 42px; height: 42px; background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.7); color: #fff !important; box-shadow: 0 2px 10px rgba(0,0,0,.35); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.pr-compartir--portada .pr-compartir__btn:hover, .pr-compartir--portada .pr-compartir__btn:focus-visible { background: var(--pr-acento); border-color: var(--pr-acento); color: #fff !important; }
.pr-compartir--portada .pr-compartir__ok { color: #fff; }
/* 2.4.52: Ayuda en el celular con 2 o 4 temas por fila (Promedios Theme → FOTOS Y AYUDA); 3 es el valor normal. */
@media (max-width: 600px) {
    body.pr-ayuda-cols-2 .promedios-ayuda.pa-con-pestanas .pa-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.pr-ayuda-cols-4 .promedios-ayuda.pa-con-pestanas .pa-nav { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    body.pr-ayuda-cols-4 .promedios-ayuda.pa-con-pestanas .pa-nav a { font-size: 11px; min-height: 72px; }
}
/* 2.4.52: botones al final de una nota de Novedades */
.pr-compartir--nota { margin: 34px 0 10px; padding-top: 18px; border-top: 1px solid rgba(128,128,128,.25); }
.pr-compartir--nota .pr-compartir__txt { width: auto; margin-right: 4px; }
/* 2.4.64 botones centrados (Promedios Theme → COMPARTIR → Alineación) */
.pr-compartir-centro .pr-compartir--nota, .pr-compartir-centro .pr-compartir--producto { justify-content: center; }
.pr-compartir-centro .pr-compartir--nota .pr-compartir__ok, .pr-compartir-centro .pr-compartir--producto .pr-compartir__ok { text-align: center; }
/* 2.4.63 ficha de producto */
.pr-compartir--producto { margin: 16px 0 4px; }
.pr-compartir--producto .pr-compartir__txt { width: auto; margin-right: 4px; }

/* ==========================================================================
   2.4.53 — Final de cada nota: «Volver a Novedades» y «Más novedades»
   ========================================================================== */
.pr-nota-pie { max-width: calc(var(--pr-ancho-texto, 760px) + 8%); margin: 36px auto 56px; padding: 28px 4% 0; border-top: 1px solid #e6e8eb; }
@media (min-width: 1030px) { .pr-nota-pie { max-width: 980px; padding-left: 0; padding-right: 0; } }
.pr-nota-pie__volver { margin: 0 0 26px; }
.pr-nota-pie__volver a { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #0b9a91; text-decoration: none; }
.pr-nota-pie__volver a:hover { text-decoration: underline; }
.pr-nota-pie__titulo { margin: 0 0 18px; font-family: var(--pr-fuente-2), sans-serif; font-size: 22px; font-weight: 700; text-transform: none; text-align: left; color: #111; }
.pr-nota-pie__titulo::after { display: none; }
.pr-nota-pie__grilla { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 22px; }
.pr-nota-pie__foto { display: block; position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 6px; background: linear-gradient(135deg, #0b0b0d 0%, #12302e 100%); }
.pr-nota-pie__foto img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.pr-nota-pie__item:hover .pr-nota-pie__foto img { transform: scale(1.04); }
.pr-nota-pie__fecha { margin: 10px 0 6px; font-family: var(--pr-fuente), sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; color: #0b9a91; }
.pr-nota-pie__nombre { margin: 0; font-family: var(--pr-fuente-2), sans-serif; font-size: 17px; font-weight: 700; line-height: 1.3; text-transform: none; text-align: left; }
.pr-nota-pie__nombre::after { display: none; }
.pr-nota-pie__nombre a { color: #111; text-decoration: none; }
.pr-nota-pie__nombre a:hover { color: #0b9a91; }
.pr-nota-pie__todas { margin: 26px 0 0; text-align: center; }
.pr-nota-pie__boton { display: inline-block; padding: 11px 22px; border: 1px solid #0b9a91; border-radius: 6px; font-size: 14px; font-weight: 600; color: #0b9a91; text-decoration: none; }
.pr-nota-pie__boton:hover { background: #0b9a91; color: #fff; }
@media (max-width: 700px) { .pr-nota-pie__grilla { grid-template-columns: 1fr 1fr; gap: 16px; } .pr-nota-pie__nombre { font-size: 15px; } }
@media (max-width: 340px) { .pr-nota-pie__grilla { grid-template-columns: 1fr; } }

/* 2.4.82 Ayuda (Andrés, 17/11 20:55: «al haber menos botones… algo más adaptativo»): las columnas según la cantidad de temas
   (las pone js/tema.js): en la computadora todos en una fila a lo ancho; en pantallas medianas, dos filas parejas; en el
   celular siguen 3 por fila (o 2/4 según FOTOS Y AYUDA). El texto del botón va en un bloque centrado. */
body .promedios-ayuda.pa-con-pestanas .pa-nav .pa-tab-txt { display: block; text-align: center; line-height: 1.25; }
@media (min-width: 901px) {
    body .promedios-ayuda.pa-con-pestanas .pa-nav { grid-template-columns: repeat(var(--pa-temas, 6), minmax(0, 1fr)); }
}
@media (min-width: 601px) and (max-width: 900px) {
    body .promedios-ayuda.pa-con-pestanas .pa-nav { grid-template-columns: repeat(var(--pa-temas-medio, 3), minmax(0, 1fr)); }
}
