/* ==========================================================================
   1. ESTILOS GENERALES, HEADER Y HERO
   ========================================================================== */
@font-face {
    font-family: "Avenirnextltpro";
    src: url("https://assets.cdn.filesafe.space/dFzj1owLHhJx1HFBSp5Z/media/6a1f1659027d0d5be15a38f9.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Avenirnextltpro";
    src: url("https://assets.cdn.filesafe.space/dFzj1owLHhJx1HFBSp5Z/media/6a1f16596103bdfedd8f3010.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Avenirnextltpro";
    src: url("https://assets.cdn.filesafe.space/dFzj1owLHhJx1HFBSp5Z/media/6a1f165a1b531ff70a884cca.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Tiemposheadline";
    src: url("https://assets.cdn.filesafe.space/dFzj1owLHhJx1HFBSp5Z/media/6a1f16542e08098a07df3002.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #f3f1e8;
    --nav-bg: #e8e9df;
    --black: #11110e;
    --green: #c4dd16;
    --text: #171713;
    --muted: #85877d;
    --line: #bfc1b5;
    --hero-line: #d6d3c5;
}

* {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Avenirnextltpro", "Avenir Next", Arial, sans-serif;
}

.pv-header {
    width: 100%;
    padding: 14px 48px 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    background: transparent;
}

.pv-nav {
    width: 100%;
    max-width: 1700px;
    min-height: 66px;
    margin: 0 auto;
    background: rgba(232, 233, 223, .94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    gap: 22px;
}

.pv-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.pv-logo img {
    width: 132px;
    height: auto;
    display: block;
}

.pv-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex: 1;
}

.pv-menu a {
    color: var(--black);
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
    white-space: nowrap;
}

.pv-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.pv-btn {
    min-height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    color: var(--black);
    background: var(--green);
    line-height: 1;
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .08);
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    transition: transform .28s ease;
}

.pv-btn:hover {
    transform: scale(.97);
}

.pv-btn.dark {
    background: var(--black);
    color: #fff;
    box-shadow: none;
}

.pv-btn-text-mask {
    height: 1em;
    overflow: hidden;
    display: block;
    position: relative;
}

.pv-btn-text-inner {
    display: flex;
    flex-direction: column;
    transition: transform .32s cubic-bezier(.22, .61, .36, 1);
}

.pv-btn-text-inner span {
    display: block;
    line-height: 1;
}

.pv-btn:hover .pv-btn-text-inner {
    transform: translateY(-1em);
}

.pv-btn svg {
    width: 18px;
    height: 18px;
    margin-left: 8px;
    flex-shrink: 0;
}

.pv-lang-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.pv-lang-wrap::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    width: 160px;
    height: 18px;
    transform: translateX(-50%);
    background: transparent;
    pointer-events: auto;
}

.pv-lang-trigger {
    border: none;
    background: transparent;
    padding: 0;
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--black);
    font-family: "Avenirnextltpro", "Avenir Next", Arial, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
    outline: none;
    box-shadow: none;
    white-space: nowrap;
}

.pv-lang-trigger svg {
    width: 12px;
    height: 8px;
    display: block;
    flex-shrink: 0;
    margin-top: 1px;
    transition: transform .2s ease;
}

.pv-lang-wrap:hover .pv-lang-trigger svg,
.pv-lang-wrap.is-open .pv-lang-trigger svg {
    transform: rotate(180deg);
}

.pv-lang-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    min-width: 138px;
    background: #d9d9dd;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    z-index: 1000;
}

.pv-lang-option {
    display: block;
    text-decoration: none;
    color: #1d1d1b;
    font-family: "Avenirnextltpro", "Avenir Next", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    padding: 16px 20px;
    white-space: nowrap;
    cursor: pointer;
}

.pv-lang-option:hover {
    background: rgba(0, 0, 0, .04);
}

@media (min-width:992px) {

    .pv-lang-wrap:hover .pv-lang-menu,
    .pv-lang-wrap.is-open .pv-lang-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0);
    }
}

@media (max-width:991px) {
    .pv-lang-wrap.is-open .pv-lang-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0);
    }
}

.pv-menu-toggle {
    display: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, .25);
    background: transparent;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}

.pv-menu-toggle span {
    width: 26px;
    height: 2px;
    background: var(--black);
    display: block;
    position: relative;
}

.pv-menu-toggle span::before,
.pv-menu-toggle span::after {
    content: "";
    position: absolute;
    left: 0;
    width: 26px;
    height: 2px;
    background: var(--black);
}

.pv-menu-toggle span::before {
    top: -9px;
}

.pv-menu-toggle span::after {
    top: 9px;
}

.pv-mobile-panel {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, .24);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}

.pv-mobile-panel.is-open {
    opacity: 1;
    pointer-events: auto;
}

.pv-mobile-box {
    width: calc(100% - 36px);
    max-width: 680px;
    margin: 18px auto 0;
    background: rgba(217, 219, 208, .94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 18px;
    padding: 16px 28px 48px;
    transform: translateY(-12px);
    transition: transform .25s ease;
}

.pv-mobile-panel.is-open .pv-mobile-box {
    transform: translateY(0);
}

.pv-mobile-top {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.pv-mobile-top .pv-logo img {
    width: 150px;
}

.pv-mobile-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.pv-mobile-actions .pv-lang-trigger {
    font-size: 17px;
}

.pv-mobile-actions .pv-btn {
    min-height: 54px;
    padding: 0 20px;
    font-size: 17px;
}

.pv-close {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, .25);
    background: transparent;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
}

.pv-close::before,
.pv-close::after {
    content: "";
    position: absolute;
    width: 26px;
    height: 2px;
    background: var(--black);
    left: 50%;
    top: 50%;
    transform-origin: center;
}

.pv-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.pv-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.pv-mobile-links {
    margin-top: 38px;
}

.pv-mobile-item {
    display: block;
    padding: 18px 0;
    border-top: 1px solid var(--line);
    text-decoration: none;
    color: var(--black);
}

.pv-mobile-item:last-child {
    border-bottom: 1px solid var(--line);
}

.pv-mobile-title {
    font-size: 16px;
    line-height: 1.1;
    letter-spacing: -.03em;
    margin-bottom: 8px;
    font-weight: 400;
}

.pv-mobile-desc {
    font-size: 12px;
    line-height: 1.25;
    color: var(--muted);
    letter-spacing: -.02em;
    font-weight: 400;
}

.pv-hero {
    position: relative;
    min-height: 390px;
    padding: 104px 48px 0;
    background: var(--bg);
    overflow: hidden;
}

.pv-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(0, 0, 0, .13) 1px, transparent 1px);
    background-size: 18px 18px;
    opacity: .38;
    pointer-events: none;
}

.pv-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1700px;
    margin: 0 auto;
    text-align: center;
    border-bottom: 1px solid var(--hero-line);
    padding-bottom: 104px;
}

.pv-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 20px;
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .18em;
    color: var(--black);
}

.pv-eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
}

.pv-hero h1 {
    margin: 0;
    font-family: "Tiemposheadline", Georgia, "Times New Roman", serif;
    font-size: 58px;
    line-height: 1;
    font-weight: 400;
    letter-spacing: -.055em;
    color: var(--black);
}

.pv-hero p {
    margin: 36px 0 0;
    font-size: 15px;
    font-weight: 400;
    color: var(--text);
    letter-spacing: .01em;
}

@media (max-width:991px) {
    .pv-header {
        padding: 18px 18px 0;
    }

    .pv-nav {
        min-height: 68px;
        padding: 0 8px 0 12px;
        gap: 6px;
        border-radius: 16px;
    }

    .pv-logo img {
        width: 126px;
    }

    .pv-menu {
        display: none;
    }

    .pv-actions {
        gap: 6px;
        margin-left: auto;
        min-width: 0;
    }

    .pv-actions .pv-btn.dark {
        display: none;
    }

    .pv-actions .pv-btn {
        min-height: 48px;
        padding: 0 14px;
        font-size: 15px;
    }

    .pv-actions .pv-btn svg {
        width: 18px;
        height: 18px;
        margin-left: 6px;
    }

    .pv-lang-trigger {
        font-size: 15px;
        gap: 5px;
    }

    .pv-lang-trigger svg {
        width: 10px;
        height: 7px;
    }

    .pv-menu-toggle {
        display: flex;
        width: 50px;
        height: 50px;
    }

    .pv-menu-toggle span,
    .pv-menu-toggle span::before,
    .pv-menu-toggle span::after {
        width: 23px;
    }

    .pv-menu-toggle span::before {
        top: -8px;
    }

    .pv-menu-toggle span::after {
        top: 8px;
    }

    .pv-hero {
        padding: 88px 20px 0;
        min-height: 450px;
    }

    .pv-hero h1 {
        font-size: 66px;
    }

    .pv-hero p {
        font-size: 24px;
        line-height: 1.25;
        margin-top: 44px;
    }

    .pv-eyebrow {
        font-size: 21px;
        margin-bottom: 28px;
        gap: 22px;
    }

    .pv-eyebrow-dot {
        width: 16px;
        height: 16px;
    }

    .pv-hero-inner {
        padding-bottom: 145px;
    }
}

@media (max-width:430px) {
    .pv-header {
        padding: 14px 14px 0;
    }

    .pv-nav {
        min-height: 62px;
        padding: 0 7px 0 10px;
        gap: 5px;
        border-radius: 14px;
    }

    .pv-logo img {
        width: 108px;
    }

    .pv-actions {
        gap: 5px;
    }

    .pv-actions .pv-btn {
        min-height: 42px;
        padding: 0 11px;
        font-size: 13px;
    }

    .pv-actions .pv-btn svg {
        width: 15px;
        height: 15px;
        margin-left: 5px;
    }

    .pv-menu-toggle {
        width: 44px;
        height: 44px;
    }

    .pv-menu-toggle span,
    .pv-menu-toggle span::before,
    .pv-menu-toggle span::after {
        width: 20px;
    }

    .pv-menu-toggle span::before {
        top: -7px;
    }

    .pv-menu-toggle span::after {
        top: 7px;
    }

    .pv-mobile-box {
        width: calc(100% - 28px);
        margin: 14px auto 0;
        padding: 14px 22px 42px;
    }

    .pv-mobile-top {
        min-height: 62px;
        gap: 6px;
    }

    .pv-mobile-top .pv-logo img {
        width: 108px;
    }

    .pv-mobile-actions {
        gap: 5px;
    }

    .pv-mobile-actions .pv-btn {
        min-height: 42px;
        padding: 0 11px;
        font-size: 13px;
    }

    .pv-close {
        width: 44px;
        height: 44px;
    }

    .pv-close::before,
    .pv-close::after {
        width: 20px;
    }

    .pv-hero h1 {
        font-size: 58px;
    }
}

/* ==========================================================================
   2. ESTILOS DE RANKING, FILTROS Y CONTADOR
   ========================================================================== */
/* --- ESTILOS DEL CONTADOR --- */
.pv-countdown-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    background: #f3f1e8;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.8s ease;
    pointer-events: auto;
}

.pv-countdown-overlay.pv-countdown-fadeout {
    opacity: 0;
    pointer-events: none;
}

.pv-countdown-inner {
    text-align: center;
    max-width: 800px;
    padding: 0 24px;
}

.pv-countdown-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 28px;
}

.pv-countdown-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #c4dd16;
    flex-shrink: 0;
}

.pv-countdown-eyebrow p {
    margin: 0;
    font-family: "Avenirnextltpro", "Avenir Next", Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #3f403b;
}

.pv-countdown-title {
    margin: 0 0 54px;
    font-family: "Tiemposheadline", Georgia, "Times New Roman", serif;
    font-size: 52px;
    line-height: 1;
    font-weight: 400;
    letter-spacing: -0.04em;
    color: #1d1d1b;
}

.pv-countdown-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.pv-countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 90px;
}

.pv-countdown-number {
    font-family: "Tiemposheadline", Georgia, "Times New Roman", serif;
    font-size: 72px;
    line-height: 1;
    font-weight: 400;
    letter-spacing: -0.03em;
    color: #1d1d1b;
    display: block;
    margin-bottom: 8px;
}

.pv-countdown-label {
    font-family: "Avenirnextltpro", "Avenir Next", Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8a8b83;
}

.pv-countdown-separator {
    font-family: "Tiemposheadline", Georgia, "Times New Roman", serif;
    font-size: 56px;
    line-height: 1;
    font-weight: 400;
    color: #c4dd16;
    margin-bottom: 24px;
}

/* --- FUENTES Y ESTILOS DE LA SECCIÓN --- */
@font-face {
    font-family: "Avenirnextltpro";
    src: url("https://assets.cdn.filesafe.space/dFzj1owLHhJx1HFBSp5Z/media/6a1f1659027d0d5be15a38f9.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Avenirnextltpro";
    src: url("https://assets.cdn.filesafe.space/dFzj1owLHhJx1HFBSp5Z/media/6a1f16596103bdfedd8f3010.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Avenirnextltpro";
    src: url("https://assets.cdn.filesafe.space/dFzj1owLHhJx1HFBSp5Z/media/6a1f165a1b531ff70a884cca.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

.pv-ranking-section {
    background: #f3f1e8;
    padding: 120px 48px 90px;
    font-family: "Avenirnextltpro", "Avenir Next", Arial, sans-serif;
}

.pv-ranking-container {
    width: 100%;
    max-width: 1700px;
    margin: 0 auto;
}

.pv-ranking-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
}

.pv-ranking-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.pv-ranking-eyebrow span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #c4dd16;
    display: block;
}

.pv-ranking-eyebrow p {
    margin: 0;
    font-size: 13px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: .24em;
    color: #6c6c64;
}

.pv-ranking-filters {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) 260px 240px;
    gap: 14px;
    width: 100%;
    max-width: 1040px;
}

.pv-ranking-filters input,
.pv-ranking-filters select {
    width: 100%;
    min-height: 48px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, .08);
    background: #fff;
    color: #1d1d1b;
    padding: 0 18px;
    font-family: "Avenirnextltpro", "Avenir Next", Arial, sans-serif;
    font-size: 15px;
    font-weight: 400;
    outline: none;
}

/* --- GRID DE 4 COLUMNAS --- */
.pv-project-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.pv-project-card {
    background: #e8e9df;
    border-radius: 16px;
    padding: 14px 14px 22px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(0, 0, 0, .04);
    transition: transform .28s cubic-bezier(.22, .61, .36, 1), box-shadow .28s ease;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.pv-project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, .08);
}

.pv-project-image {
    width: 100%;
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    background: #d8d8d0;
    position: relative;
    margin-bottom: 18px;
}

.pv-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .45s cubic-bezier(.22, .61, .36, 1);
}

.pv-project-card:hover .pv-project-image img {
    transform: scale(1.04);
}

/* --- BADGE FINALISTA (PILL OSCURO EN ESQUINA SUPERIOR IZQUIERDA) --- */
.pv-card-finalista-pill {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(28, 29, 24, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-family: "Avenirnextltpro", "Avenir Next", Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: 999px;
    line-height: 1;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
    pointer-events: none;
}

/* --- CUERPO DE LA TARJETA --- */
.pv-project-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0 6px 4px;
}

.pv-project-category-wrap {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.pv-project-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #c4dd16;
    flex-shrink: 0;
}

.pv-project-category {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #1d1d1b;
    line-height: 1.2;
}

.pv-project-location {
    font-size: 14px;
    font-weight: 400;
    color: #8a8b83;
    line-height: 1.3;
    margin: 0 0 12px;
}

.pv-project-title {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 500;
    letter-spacing: -.025em;
    color: #1d1d1b;
}

.pv-project-author {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 400;
    color: #8a8b83;
}

.pv-empty-state {
    display: none;
    text-align: center;
    padding: 60px 20px;
    font-size: 18px;
    color: #777;
}

.pv-loading-text {
    grid-column: 1 / -1;
    font-size: 18px;
    color: #777;
}

.pv-skeleton-box {
    background: linear-gradient(90deg, #d2d2c8 25%, #e0e1d6 50%, #d2d2c8 75%);
    background-size: 200% 100%;
    animation: loadingSkeleton 1.5s infinite;
    border-radius: 4px;
}

@keyframes loadingSkeleton {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media(max-width:1380px) {
    .pv-project-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(max-width:1024px) {
    .pv-project-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pv-ranking-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .pv-ranking-filters {
        max-width: 100%;
        grid-template-columns: 1fr 1fr;
    }

    .pv-ranking-filters input {
        grid-column: 1 / -1;
    }
}

@media(max-width:768px) {
    .pv-ranking-section {
        padding: 110px 24px 70px;
    }

    .pv-ranking-filters {
        grid-template-columns: 1fr;
    }

    .pv-ranking-filters input {
        grid-column: auto;
    }

    .pv-project-grid {
        grid-template-columns: 1fr;
    }

    .pv-project-card {
        min-height: auto;
    }

    .pv-project-image {
        height: 280px;
    }

    .pv-project-title {
        font-size: 22px;
    }
}

@media(max-width:640px) {
    .pv-countdown-title {
        font-size: 34px;
        margin-bottom: 40px;
    }

    .pv-countdown-number {
        font-size: 44px;
    }

    .pv-countdown-separator {
        font-size: 36px;
        margin-bottom: 18px;
    }

    .pv-countdown-unit {
        min-width: 60px;
    }

    .pv-countdown-label {
        font-size: 11px;
    }

    .pv-countdown-timer {
        gap: 6px;
    }

    .pv-ranking-section {
        padding: 100px 18px 60px;
    }

    .pv-project-grid {
        gap: 18px;
    }

    .pv-project-image {
        height: 260px;
    }

    .pv-project-body {
        padding: 18px 18px 20px;
    }

    .pv-project-location {
        margin-bottom: 18px;
    }

    .pv-project-title {
        font-size: 20px;
    }

    .pv-project-footer {
        margin-top: 24px;
    }

    .pv-card-button {
        font-size: 0;
        gap: 0;
    }

    .pv-card-button span:first-child {
        display: none;
    }
}

/* ==========================================================================
   3. ESTILOS DEL FOOTER
   ========================================================================== */
.pv-master-footer {
    position: relative;
    width: 100%;
    min-height: 760px;
    overflow: hidden;
    padding: 0 16px 28px;
    font-family: "Avenirnextltpro", Arial, sans-serif;
    color: #121712;
    background: #111;
}

.pv-footer-video {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.pv-footer-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pv-footer-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.32) 0%,
            rgba(0, 0, 0, 0.04) 45%,
            rgba(0, 0, 0, 0.18) 100%);
}

.pv-footer-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    margin: 0 auto;
    padding-top: 92px;
}

.pv-footer-hero {
    min-height: 355px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    color: #ffffff;
    padding-left: 12px;
}

.pv-footer-label {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 32px;
    font-family: "Avenirnextltpro", Arial, sans-serif;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.78);
}

.pv-footer-label::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #bed51f;
    display: inline-block;
}

.pv-footer-title {
    max-width: 560px;
    margin: 0 0 30px;
    font-family: "Tiemposheadline", Georgia, "Times New Roman", serif;
    font-size: clamp(48px, 5.6vw, 72px);
    line-height: 0.95;
    font-weight: 400;
    letter-spacing: -0.035em;
    color: rgba(255, 255, 255, 0.96);
}

.pv-footer-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.pv-footer-btn {
    min-height: 46px;
    padding: 0 20px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: "Avenirnextltpro", Arial, sans-serif;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.pv-footer-btn svg {
    width: 16px;
    height: 16px;
    stroke-width: 1.8;
}

.pv-footer-btn.primary {
    background: #c9df1d;
    color: #151915;
}

.pv-footer-btn.secondary {
    background: rgba(27, 27, 27, 0.50);
    color: #ffffff;
    backdrop-filter: blur(8px);
}

.pv-footer-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.pv-footer-card {
    background: rgba(246, 245, 236, 0.96);
    border-radius: 18px;
    padding: 44px 28px 30px;
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.10);
    backdrop-filter: blur(10px);
}

.pv-footer-main {
    display: grid;
    grid-template-columns: 1.65fr 0.55fr 0.65fr 0.75fr;
    gap: 68px;
    padding-bottom: 70px;
}

.pv-footer-logo {
    width: 122px;
    height: auto;
    display: block;
    margin-bottom: 36px;
}

.pv-footer-description {
    max-width: 455px;
    margin: 0;
    font-family: "Avenirnextltpro", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.46;
    color: rgba(18, 23, 18, 0.74);
    font-weight: 400;
}

.pv-footer-column-title {
    margin: 2px 0 22px;
    font-family: "Avenirnextltpro", Arial, sans-serif;
    font-size: 11px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(18, 23, 18, 0.58);
    font-weight: 600;
}

.pv-footer-list,
.pv-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.pv-footer-list a,
.pv-footer-contact a {
    color: rgba(18, 23, 18, 0.78);
    text-decoration: none;
    font-family: "Avenirnextltpro", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 400;
    transition: color 0.25s ease;
}

.pv-footer-list a:hover,
.pv-footer-contact a:hover {
    color: #000000;
}

.pv-footer-divider {
    width: 100%;
    height: 1px;
    background: rgba(18, 23, 18, 0.16);
}

.pv-footer-bottom {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr 0.6fr;
    align-items: center;
    gap: 24px;
    padding: 24px 0 0;
}

.pv-footer-copy {
    margin: 0;
    color: rgba(18, 23, 18, 0.60);
    font-family: "Avenirnextltpro", Arial, sans-serif;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 400;
}

.pv-footer-copy a,
.pv-footer-terms {
    color: rgba(18, 23, 18, 0.78);
    text-decoration: none;
    font-family: "Avenirnextltpro", Arial, sans-serif;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 400;
}

.pv-footer-terms {
    justify-self: center;
}

.pv-footer-social {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pv-footer-social a {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(18, 23, 18, 0.42);
    color: #f6f5ec;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.25s ease;
}

.pv-footer-social a:hover {
    background: #121712;
    transform: translateY(-2px);
}

.pv-footer-social svg {
    width: 10px;
    height: 10px;
    fill: currentColor;
}

.pv-footer-bottom-divider {
    margin-top: 24px;
}

@media (max-width: 991px) {
    .pv-master-footer {
        min-height: auto;
    }

    .pv-footer-inner {
        padding-top: 74px;
    }

    .pv-footer-hero {
        min-height: 330px;
    }

    .pv-footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 42px;
        padding-bottom: 52px;
    }

    .pv-footer-bottom {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .pv-footer-terms,
    .pv-footer-social {
        justify-self: start;
    }
}

@media (max-width: 767px) {
    .pv-master-footer {
        padding: 0 12px 20px;
    }

    .pv-footer-inner {
        padding-top: 58px;
    }

    .pv-footer-hero {
        min-height: 300px;
        padding-left: 0;
    }

    .pv-footer-label {
        margin-bottom: 24px;
        font-size: 10px;
    }

    .pv-footer-title {
        max-width: 340px;
        font-size: 44px;
        line-height: 0.98;
    }

    .pv-footer-btn {
        min-height: 42px;
        padding: 0 18px;
        font-size: 13px;
    }

    .pv-footer-card {
        border-radius: 16px;
        padding: 32px 26px 24px;
    }

    .pv-footer-main {
        grid-template-columns: 1fr;
        gap: 34px;
        padding-bottom: 42px;
    }

    .pv-footer-logo {
        width: 118px;
        margin-bottom: 28px;
    }

    .pv-footer-description {
        font-size: 14px;
        line-height: 1.5;
    }

    .pv-footer-list a,
    .pv-footer-contact a {
        font-size: 15px;
    }

    .pv-footer-copy,
    .pv-footer-copy a,
    .pv-footer-terms {
        font-size: 12px;
    }
}
