/**
 * Scorpio Towers — Estilos del Portafolio y Trabajos Realizados (Proyectos)
 * Paleta: Dark Luxury Tech (#070a13, #0f172a, #00f2fe, #9d4edd)
 */

/* ==========================================================================
   Contenedor Principal y Layout Base
   ========================================================================== */
.proy-main-wrap {
    position: relative;
    width: 100%;
    min-height: 80vh;
    padding-top: clamp(170px, 18vw, 225px);
    padding-bottom: clamp(60px, 10vw, 120px);
    color: #e2e8f0;
    overflow-x: hidden;
}

.proy-container {
    width: 100%;
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(1rem, 4vw, 2.5rem);
    padding-right: clamp(1rem, 4vw, 2.5rem);
}

/* ==========================================================================
   Hero del Portafolio (Catálogo)
   ========================================================================== */
.proy-hero {
    text-align: center;
    max-width: 860px;
    margin: 0 auto clamp(2rem, 5vw, 3.5rem) auto;
}

.proy-hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin: 0 0 1.25rem 0;
}

.proy-gradient-text {
    background: linear-gradient(135deg, #00f2fe 0%, #38bdf8 50%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.proy-hero-desc {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.65;
    color: #94a3b8;
    margin: 0 auto;
    max-width: 720px;
}

/* ==========================================================================
   Selector de Categorías (Dropdown)
   ========================================================================== */
.proy-filter-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: clamp(2rem, 5vw, 3.5rem);
    position: relative;
    z-index: 5;
}

.proy-select-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: 100%;
    max-width: 480px;
}

.proy-select-icon {
    position: absolute;
    left: 1.25rem;
    color: #00f2fe;
    pointer-events: none;
    z-index: 2;
    display: flex;
    align-items: center;
}

.proy-select-arrow {
    position: absolute;
    right: 1.25rem;
    color: #94a3b8;
    pointer-events: none;
    z-index: 2;
    display: flex;
    align-items: center;
    transition: transform 0.2s ease, color 0.2s ease;
}

.proy-category-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
    height: 52px;
    min-height: 48px;
    padding: 0 3rem 0 3rem;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9999px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    text-align: center;
    text-align-last: center;
    backdrop-filter: blur(12px);
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.25s ease;
}

.proy-category-select:hover {
    background: rgba(30, 41, 59, 0.85);
    border-color: rgba(0, 242, 254, 0.4);
    box-shadow: 0 0 25px rgba(0, 242, 254, 0.2);
}

.proy-category-select:focus {
    border-color: #00f2fe;
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.3);
    outline: none;
}

.proy-select-wrapper:hover .proy-select-arrow {
    color: #00f2fe;
}

.proy-category-select option {
    background-color: #0b1120;
    color: #f1f5f9;
    padding: 10px;
}

.proy-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   Grilla de Proyectos (12 items por página)
   ========================================================================== */
.proy-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.25rem, 2vw, 1.75rem);
    margin-bottom: 3.5rem;
}

@media (min-width: 640px) {
    .proy-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .proy-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

.proy-card {
    display: flex;
    flex-direction: column;
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.4);
    position: relative;
}

.proy-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 242, 254, 0.35);
    box-shadow: 0 20px 40px -15px rgba(0, 242, 254, 0.2), 0 0 25px rgba(157, 78, 221, 0.15);
}

.proy-card-link-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: 20px;
}

.proy-card-thumb-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #070d1e;
}

.proy-card-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.proy-card:hover .proy-card-thumb {
    transform: scale(1.06);
}

.proy-card-thumb-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #091227 0%, #151d3b 100%);
    color: #38bdf8;
    opacity: 0.85;
}

.proy-card-thumb-fallback svg {
    opacity: 0.6;
}

.proy-badge-destacado {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.75rem;
    border-radius: 9999px;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(245, 158, 11, 0.5);
    color: #fbbf24;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.3);
}

.proy-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.5rem;
    position: relative;
    z-index: 1;
}

.proy-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    margin-bottom: 0.875rem;
    font-size: 0.8125rem;
}

.proy-card-cat-badge {
    display: inline-block;
    color: #00f2fe;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.75rem;
}

.proy-card-client {
    color: #64748b;
    position: relative;
}

.proy-card-client::before {
    content: "•";
    margin-right: 0.5rem;
}

.proy-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.35;
    color: #ffffff;
    margin: 0 0 0.75rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.25s ease;
}

.proy-card:hover .proy-card-title {
    color: #00f2fe;
}

.proy-card-excerpt {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #94a3b8;
    margin: 0 0 1.25rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.proy-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-top: auto;
    margin-bottom: 1.25rem;
}

.proy-tag-pill {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
    font-size: 0.75rem;
    font-weight: 500;
}

.proy-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.proy-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #38bdf8;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    transition: gap 0.25s ease, color 0.25s ease;
}

.proy-card:hover .proy-card-cta {
    color: #00f2fe;
    gap: 0.65rem;
}

.proy-card-date {
    font-size: 0.75rem;
    color: #64748b;
}

/* ==========================================================================
   Paginación
   ========================================================================== */
.proy-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.proy-page-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    min-height: 44px;
    border-radius: 9999px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: all 0.25s ease;
}

.proy-page-btn:hover:not(.is-disabled):not(:disabled) {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(0, 242, 254, 0.4);
    color: #00f2fe;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
}

.proy-page-btn.is-disabled,
.proy-page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: rgba(15, 23, 42, 0.4);
    border-color: rgba(255, 255, 255, 0.05);
    color: #64748b;
    pointer-events: none;
}

.proy-page-numbers {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.proy-page-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.proy-page-num:hover:not(.is-active) {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(0, 242, 254, 0.4);
    color: #00f2fe;
}

.proy-page-num.is-active {
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.2) 0%, rgba(157, 78, 221, 0.2) 100%);
    border-color: #00f2fe;
    color: #00f2fe;
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.25);
    cursor: default;
}

.proy-page-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 44px;
    color: #64748b;
    font-size: 1.15rem;
    font-weight: 700;
    user-select: none;
    letter-spacing: 0.1em;
}

/* ==========================================================================
   Estado Vacío Premium (Showcase de Capacidades)
   ========================================================================== */
.proy-empty-showcase {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 3.5rem);
    text-align: center;
    backdrop-filter: blur(16px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), inset 0 0 40px rgba(0, 242, 254, 0.03);
    margin: 0 auto 3rem auto;
    max-width: 1040px;
}

.proy-empty-icon-wrap {
    width: 80px;
    height: 80px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.15) 0%, rgba(157, 78, 221, 0.15) 100%);
    border: 1px solid rgba(0, 242, 254, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #00f2fe;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.2);
}

.proy-empty-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 1rem 0;
}

.proy-empty-desc {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    line-height: 1.65;
    color: #94a3b8;
    max-width: 680px;
    margin: 0 auto 2.5rem auto;
}

.proy-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 1.25rem;
    margin-bottom: 3rem;
    text-align: left;
}

.proy-feature-box {
    background: rgba(30, 41, 59, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.proy-feature-box:hover {
    background: rgba(30, 41, 59, 0.7);
    border-color: rgba(0, 242, 254, 0.3);
    transform: translateY(-3px);
}

.proy-feature-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(0, 242, 254, 0.1);
    color: #00f2fe;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.proy-feature-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: #f1f5f9;
    margin: 0 0 0.4rem 0;
}

.proy-feature-desc {
    font-size: 0.8125rem;
    line-height: 1.55;
    color: #94a3b8;
    margin: 0;
}

.proy-empty-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.proy-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 1.85rem;
    min-height: 48px;
    border-radius: 9999px;
    background: linear-gradient(135deg, #00f2fe 0%, #38bdf8 100%);
    color: #070a13;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 0 25px rgba(0, 242, 254, 0.4);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.proy-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 35px rgba(0, 242, 254, 0.6);
    filter: brightness(1.05);
}

.proy-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 1.75rem;
    min-height: 48px;
    border-radius: 9999px;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f8fafc;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.proy-btn-secondary:hover {
    background: rgba(51, 65, 85, 0.7);
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    transform: translateY(-2px);
}

/* ==========================================================================
   Vista de Detalle de Proyecto Individual
   ========================================================================== */
.proy-detail-wrap {
    max-width: 1140px;
    margin: 0 auto;
}

/* Breadcrumbs */
.proy-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.875rem;
    color: #64748b;
}

.proy-breadcrumbs a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.proy-breadcrumbs a:hover {
    color: #00f2fe;
}

.proy-breadcrumbs-sep {
    color: #475569;
}

.proy-breadcrumbs-current {
    color: #cbd5e1;
    font-weight: 500;
    max-width: 300px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Encabezado del Detalle */
.proy-detail-header {
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.proy-detail-top-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.proy-detail-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin: 0 0 1.25rem 0;
}

.proy-detail-meta-strip {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1rem 1.5rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    font-size: 0.875rem;
    color: #94a3b8;
}

.proy-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.proy-meta-item strong {
    color: #e2e8f0;
}

/* Portada Destacada */
.proy-detail-media {
    position: relative;
    width: 100%;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    aspect-ratio: 1 / 1;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
    background: #070d1e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 35px rgba(0, 242, 254, 0.12);
}

.proy-detail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Grilla de Contenido y Ficha Lateral */
.proy-detail-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (min-width: 992px) {
    .proy-detail-layout {
        grid-template-columns: 2fr 1fr;
        gap: 3.5rem;
    }
}

/* Contenido Principal (Texto Enriquecido) */
.proy-article-content {
    font-family: 'Inter', sans-serif;
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #cbd5e1;
}

.proy-article-content p {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.proy-article-content h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: #ffffff;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.proy-article-content h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: #38bdf8;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.proy-article-content ul,
.proy-article-content ol {
    margin-top: 0;
    margin-bottom: 1.75rem;
    padding-left: 1.5rem;
}

.proy-article-content li {
    margin-bottom: 0.6rem;
}

.proy-article-content blockquote {
    margin: 2rem 0;
    padding: 1.25rem 1.75rem;
    border-left: 4px solid #00f2fe;
    background: rgba(0, 242, 254, 0.05);
    border-radius: 0 16px 16px 0;
    font-style: italic;
    color: #e2e8f0;
}

.proy-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 2rem 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Ficha Lateral de Especificaciones */
.proy-sidebar-card {
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 1.75rem;
    backdrop-filter: blur(12px);
    position: sticky;
    top: 100px;
}

.proy-sidebar-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 1.25rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.proy-spec-row {
    margin-bottom: 1.25rem;
}

.proy-spec-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    margin-bottom: 0.25rem;
}

.proy-spec-value {
    font-size: 0.9375rem;
    color: #f1f5f9;
    font-weight: 500;
}

.proy-sidebar-cta {
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.proy-sidebar-cta-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.25rem;
    min-height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, #00f2fe 0%, #38bdf8 100%);
    color: #070a13;
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

.proy-sidebar-cta-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

/* Bloque CTA al final de Detalle */
.proy-detail-cta {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.8) 100%);
    border: 1px solid rgba(0, 242, 254, 0.3);
    border-radius: 24px;
    padding: clamp(2rem, 5vw, 3.5rem);
    text-align: center;
    box-shadow: 0 0 35px rgba(0, 242, 254, 0.15);
    margin-bottom: 4rem;
}

.proy-detail-cta-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.75rem 0;
}

.proy-detail-cta-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

/* Proyectos Relacionados */
.proy-related-section {
    margin-top: 4rem;
    padding-top: 3.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.proy-related-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 2rem 0;
    text-align: center;
}

.proy-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #94a3b8;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 2rem;
    transition: color 0.2s ease, gap 0.2s ease;
}

.proy-back-link:hover {
    color: #00f2fe;
    gap: 0.75rem;
}

/* ==========================================================================
   Ajustes Responsive (Mobile-First a Ultrawide)
   ========================================================================== */
@media (max-width: 768px) {
    .proy-categories-nav {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.75rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .proy-categories-nav::-webkit-scrollbar {
        display: none;
    }

    .proy-detail-meta-strip {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .proy-empty-actions {
        flex-direction: column;
        width: 100%;
    }

    .proy-empty-actions a {
        width: 100%;
    }
}

@media (min-width: 1440px) {
    .proy-container {
        max-width: 1400px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .proy-badge-dot,
    .proy-card,
    .proy-card-thumb,
    .proy-btn-primary,
    .proy-cat-pill {
        animation: none !important;
        transition: none !important;
    }
}
