/* Next Inmobiliaria — Proyectos Inmobiliarios / Desarrollos */
.next-proy-shell {
    max-width: 1220px;
    margin: 0 auto;
    padding: 36px 20px 72px;
    color: #1D1D1F;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
}
.next-proy-archive-hero {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 28px;
}
.next-proy-archive-hero h1 {
    margin: 0 0 10px;
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.next-proy-archive-hero p {
    margin: 0;
    color: #6E6E73;
    font-size: 16px;
}
.next-proy-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 24px 0 32px;
}
.next-proy-filters select {
    height: 42px;
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid #E5E5EA;
    background: #F5F5F7;
    font-size: 14px;
    color: #1D1D1F;
}
.next-proy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 42px;
    padding: 0 20px;
    border-radius: 10px;
    border: none;
    background: #1D1D1F;
    color: #FFFFFF !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    cursor: pointer;
    transition: opacity .15s ease;
}
.next-proy-btn:hover { opacity: 0.88; }
.next-proy-btn.is-secondary {
    background: #F5F5F7;
    color: #1D1D1F !important;
    border: 1px solid #E5E5EA;
}
.next-proy-btn.is-whatsapp {
    background: #16A34A;
    color: #FFFFFF !important;
}
.next-proy-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.next-proy-card {
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}
.next-proy-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
}
.next-proy-card-media {
    position: relative;
    aspect-ratio: 16 / 10;
    background: #F5F5F7;
}
.next-proy-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.next-proy-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: rgba(29, 29, 31, 0.86);
    color: #FFFFFF;
}
.next-proy-card-media .next-proy-badge {
    position: absolute;
    top: 12px;
    left: 12px;
}
.next-proy-card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    flex: 1;
}
.next-proy-meta-top {
    font-size: 12px;
    font-weight: 600;
    color: #6E6E73;
    text-transform: uppercase;
}
.next-proy-card-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #1D1D1F;
}
.next-proy-card-footer {
    margin-top: auto;
    padding-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.next-proy-price-from {
    font-size: 15px;
    font-weight: 700;
}
/* Single Landing */
.next-proy-hero {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    background: #1D1D1F;
    margin-bottom: 24px;
}
.next-proy-hero img.next-proy-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.62;
}
.next-proy-hero-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 36px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.78), transparent);
    color: #FFFFFF;
}
.next-proy-hero-overlay h1 {
    margin: 10px 0 6px;
    font-size: 36px;
    font-weight: 700;
    color: #FFFFFF;
}
.next-proy-hero-sub {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
}
.next-proy-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 36px;
}
.next-proy-metric {
    background: #F5F5F7;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 18px;
}
.next-proy-metric-lbl {
    font-size: 12px;
    font-weight: 600;
    color: #6E6E73;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.next-proy-metric-val {
    font-size: 18px;
    font-weight: 700;
}
.next-proy-progress {
    height: 8px;
    background: #E5E5EA;
    border-radius: 999px;
    overflow: hidden;
    margin-top: 8px;
}
.next-proy-progress > span {
    display: block;
    height: 100%;
    background: #1D1D1F;
    border-radius: 999px;
}
.next-proy-section { margin-bottom: 40px; }
.next-proy-section h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 16px;
}
.next-proy-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
.next-proy-gallery img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
}
.next-proy-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.next-proy-amenity {
    padding: 8px 14px;
    border-radius: 999px;
    background: #F5F5F7;
    border: 1px solid #E5E5EA;
    font-size: 13px;
    font-weight: 500;
}
.next-proy-cta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 24px;
    background: #F5F5F7;
    border-radius: 18px;
    align-items: center;
    justify-content: space-between;
}
.next-proy-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 24px;
}
.next-proy-lightbox.is-open { display: flex; }
.next-proy-lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 12px; }
@media (max-width: 991px) {
    .next-proy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .next-proy-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .next-proy-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .next-proy-grid, .next-proy-metrics { grid-template-columns: 1fr; }
    .next-proy-hero-overlay h1 { font-size: 26px; }
}
