/* =====================================================
   PROYECTO DETALLE - ESTILOS PREMIUM ZAMWORG
   ===================================================== */

/* Variables adicionales */
:root {
    --primary-gradient: linear-gradient(135deg, #de5305 0%, #FF7425 100%);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-glow: 0 0 40px rgba(222, 83, 5, 0.3);
}

/* =====================================================
   HERO SECTION PREMIUM
   ===================================================== */
.proyecto-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--black) 100%);
}

.proyecto-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    transform: scale(1.1);
    animation: heroZoom 25s ease-in-out infinite alternate;
    filter: blur(2px);
}

@keyframes heroZoom {
    from { transform: scale(1.1); }
    to { transform: scale(1.25); }
}

.proyecto-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, 
        rgba(0,0,0,0.4) 0%, 
        rgba(0,0,0,0.7) 50%,
        rgba(0,0,0,0.95) 100%);
}

.proyecto-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.proyecto-hero__meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.proyecto-hero__categoria {
    background: var(--primary-gradient);
    color: var(--white);
    padding: 0.75rem 2rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(222, 83, 5, 0.4);
}

.proyecto-hero__categoria:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(222, 83, 5, 0.5);
}

.proyecto-hero__año {
    color: var(--gray-400);
    font-weight: 600;
    font-size: 1.1rem;
    background: var(--glass-bg);
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    border: 1px solid var(--glass-border);
}

.proyecto-hero__title {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-300) 50%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.proyecto-hero__cliente {
    font-size: 1.35rem;
    color: var(--gray-400);
    margin-bottom: 2.5rem;
    font-weight: 500;
}

.proyecto-hero__actions {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

.proyecto-hero__actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.1rem 2.5rem;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 999px;
}

.proyecto-hero__actions .btn-primary {
    background: var(--primary-gradient);
    border: none;
    box-shadow: 0 4px 20px rgba(222, 83, 5, 0.4);
}

.proyecto-hero__actions .btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 35px rgba(222, 83, 5, 0.5);
}

.proyecto-hero__actions .btn-outline {
    background: transparent;
    border: 2px solid var(--gray-600);
    color: var(--white);
}

.proyecto-hero__actions .btn-outline:hover {
    border-color: var(--primary);
    background: rgba(222, 83, 5, 0.1);
    transform: translateY(-4px);
}

.proyecto-hero__actions .btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.proyecto-hero__actions .btn:hover svg {
    transform: translateX(3px);
}

/* =====================================================
   INFO SECTION PREMIUM
   ===================================================== */
.proyecto-info {
    padding: 6rem 0;
    background: var(--black);
    position: relative;
}

.proyecto-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.proyecto-info__grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 4rem;
}

.info-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    position: sticky;
    top: 100px;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.info-card:hover {
    border-color: rgba(222, 83, 5, 0.3);
    box-shadow: var(--shadow-glow);
}

.info-card h3 {
    font-size: 1.35rem;
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 2px solid var(--primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
}

.info-card h3::before {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--primary-gradient);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(222, 83, 5, 0.5);
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s ease;
}

.info-item:hover {
    padding-left: 0.5rem;
    border-bottom-color: rgba(222, 83, 5, 0.3);
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    color: var(--gray-500);
    font-size: 0.9rem;
    font-weight: 500;
}

.info-value {
    color: var(--white);
    font-weight: 700;
    font-size: 0.95rem;
}

/* =====================================================
   CONTENT SECTION PREMIUM
   ===================================================== */
.proyecto-content h2 {
    font-size: 2.25rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 800;
}

.proyecto-content h2::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, var(--primary), transparent);
}

.proyecto-description {
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--gray-300);
    margin-bottom: 3.5rem;
}

/* =====================================================
   CONTENT BLOCKS STYLES
   ===================================================== */
.content-block {
    margin-bottom: 3rem;
}

.content-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.content-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-300);
}

.content-text.lead-text {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--gray-200);
    font-style: italic;
    border-left: 4px solid var(--primary);
    padding-left: 1.5rem;
}

.content-text.highlight-text {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(255, 107, 0, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    display: inline-block;
}

/* =====================================================
   DEVELOPER CARD STYLES
   ===================================================== */
.developer-card {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.15) 0%, rgba(255, 107, 0, 0.05) 100%);
    border: 2px solid var(--primary);
    border-radius: 50px;
    padding: 0.75rem 1.5rem 0.75rem 0.75rem;
    margin-top: 0.5rem;
}

.developer-avatar {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    max-width: 48px;
    max-height: 48px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.developer-avatar svg {
    width: 24px;
    height: 24px;
    color: white;
    flex-shrink: 0;
}

.developer-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
}

.developer-name-simple {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    padding: 0.75rem 0;
}

/* =====================================================
   TECNOLOGÍAS GRID PREMIUM
   ===================================================== */
.tecnologias-section {
    margin: 3rem 0;
}

.tecnologias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1.25rem;
    margin: 2.5rem 0;
}

.tecnologia-item {
    background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.tecnologia-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.tecnologia-item:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(222, 83, 5, 0.2);
}

.tecnologia-item:hover::before {
    transform: scaleX(1);
}

.tecnologia-item .tech-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.tecnologia-item .tech-icon svg {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.tecnologia-item:hover .tech-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.tecnologia-item span {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--white);
}

/* =====================================================
   GALERÍA PREMIUM CON LIGHTBOX
   ===================================================== */
.proyecto-galeria {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--gray-900) 0%, var(--black) 100%);
    position: relative;
}

.proyecto-galeria::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--gray-400);
    font-size: 1.1rem;
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.galeria-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: var(--gray-800);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.galeria-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
}

.galeria-item__image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.galeria-item__image img,
.galeria-item__image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.galeria-item:hover .galeria-item__image img,
.galeria-item:hover .galeria-item__image video {
    transform: scale(1.1);
}

.galeria-item__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
    opacity: 0;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
}

.galeria-item:hover .galeria-item__overlay {
    opacity: 1;
}

.galeria-item__zoom {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.galeria-item:hover .galeria-item__zoom {
    transform: translate(-50%, -50%) scale(1);
}

.galeria-item__zoom svg {
    width: 24px;
    height: 24px;
    color: white;
}

.galeria-item__type {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    background: var(--primary-gradient);
    color: var(--white);
    padding: 0.6rem 1.25rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.galeria-item__info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.galeria-item__info p {
    font-size: 0.9rem;
    color: var(--gray-400);
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox__content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox__content img,
.lightbox__content video {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
}

.lightbox__close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lightbox__close:hover {
    color: var(--primary);
}

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox__nav:hover {
    background: var(--primary);
}

.lightbox__nav.prev { left: -80px; }
.lightbox__nav.next { right: -80px; }

.lightbox__counter {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--gray-400);
    font-size: 0.9rem;
}

/* =====================================================
   PALETA DE COLORES PREMIUM
   ===================================================== */
.proyecto-colores {
    padding: 6rem 0;
    background: var(--black);
    position: relative;
}

.proyecto-colores::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.colores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.color-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.color-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.color-card__preview {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.color-card__preview::after {
    content: attr(data-hex);
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-family: monospace;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.color-card:hover .color-card__preview::after {
    opacity: 1;
}

.color-card__info {
    padding: 1.5rem;
}

.color-card__info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.color-card__info p {
    color: var(--gray-500);
    font-size: 0.9rem;
    line-height: 1.5;
}

.color-card__hex {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
}

.color-card__hex span {
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--gray-400);
}

.color-card__hex button {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--gray-400);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.color-card__hex button:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* =====================================================
   TIPOGRAFÍAS PREMIUM
   ===================================================== */
.proyecto-tipografias {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--gray-900) 0%, var(--black) 100%);
    position: relative;
}

.proyecto-tipografias::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.tipografias-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.tipografia-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.tipografia-card:hover {
    border-color: rgba(222, 83, 5, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.tipografia-card__top {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.tipografia-card__sample {
    width: 70px;
    height: 70px;
    min-width: 70px;
    background: linear-gradient(135deg, var(--gray-800), var(--gray-900));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: bold;
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.tipografia-card__info h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.35rem 0;
}

.tipografia-card__info .font-weight {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 500;
}

.tipografia-card__preview-text {
    padding: 1.25rem 1.5rem;
    background: rgba(0,0,0,0.2);
    border-left: 3px solid var(--primary);
    border-radius: 0 12px 12px 0;
    font-size: 1.1rem;
    line-height: 1.7;
}

.tipografia-card__actions {
    margin-top: 0.5rem;
}

.btn-download-font {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary), #ff8533);
    border: none;
    color: var(--white);
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(222, 83, 5, 0.3);
}

.btn-download-font:hover {
    background: linear-gradient(135deg, #ff8533, var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(222, 83, 5, 0.4);
}

.tipografia-card__preview {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tipografia-card__preview-row {
    display: flex;
    align-items: baseline;
    gap: 1.5rem;
}

.tipografia-card__preview-row .weight-label {
    font-size: 0.8rem;
    color: var(--gray-500);
    min-width: 80px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tipografia-card__preview-row .weight-sample {
    font-size: 1.5rem;
    color: var(--gray-300);
}

/* =====================================================
   LOGOS SECTION PREMIUM
   ===================================================== */
.proyecto-logos {
    padding: 6rem 0;
    background: var(--black);
    position: relative;
}

.proyecto-logos::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.logo-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
}

.logo-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(222, 83, 5, 0.15);
}

.logo-card h4 {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    order: 2;
    margin-top: 1rem;
}

.logo-preview {
    background: 
        linear-gradient(45deg, #f0f0f0 25%, transparent 25%),
        linear-gradient(-45deg, #f0f0f0 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #f0f0f0 75%),
        linear-gradient(-45deg, transparent 75%, #f0f0f0 75%),
        #ffffff;
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    border-radius: 16px;
    padding: 2.5rem;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid rgba(222, 83, 5, 0.1);
    position: relative;
    overflow: hidden;
}

.logo-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(240,240,240,0.9) 100%);
    z-index: 0;
}

.logo-preview.dark {
    background: 
        linear-gradient(45deg, #2a2a2a 25%, transparent 25%),
        linear-gradient(-45deg, #2a2a2a 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #2a2a2a 75%),
        linear-gradient(-45deg, transparent 75%, #2a2a2a 75%),
        #1a1a1a;
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    border-color: rgba(255, 255, 255, 0.1);
}

.logo-preview.dark::before {
    background: linear-gradient(135deg, rgba(30,30,30,0.9) 0%, rgba(20,20,20,0.9) 100%);
}

.logo-preview img {
    max-width: 100%;
    max-height: 140px;
    object-fit: contain;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
    transition: transform 0.3s ease;
}

.logo-card:hover .logo-preview img {
    transform: scale(1.08);
}

/* Guía de Uso */
.logo-uso-section {
    margin-top: 4rem;
}

.logo-uso-section h3 {
    font-size: 1.75rem;
    margin-bottom: 2.5rem;
    text-align: center;
    font-weight: 800;
}

.logo-uso-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.logo-uso-card {
    position: relative;
    background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.4s ease;
}

.logo-uso-card.correcto {
    border-color: #22c55e;
}

.logo-uso-card.incorrecto {
    border-color: #ef4444;
}

.logo-uso-card:hover {
    transform: translateY(-5px);
}

.uso-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.75rem 2rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.uso-badge.correcto {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
}

.uso-badge.incorrecto {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.logo-uso-card img {
    max-width: 100%;
    max-height: 220px;
    object-fit: contain;
    margin-top: 1rem;
}

/* =====================================================
   TESTIMONIO PREMIUM
   ===================================================== */
.proyecto-testimonio {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--gray-900) 0%, var(--black) 100%);
    position: relative;
}

.proyecto-testimonio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.testimonio-card {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    position: relative;
}

.testimonio-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 2rem;
    font-size: 8rem;
    color: var(--primary);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonio-card__avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 3px solid var(--primary);
    box-shadow: 0 0 30px rgba(222, 83, 5, 0.3);
}

.testimonio-card__text {
    font-size: 1.35rem;
    line-height: 1.8;
    color: var(--gray-300);
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonio-card__author {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.testimonio-card__cargo {
    color: var(--gray-500);
    font-size: 0.95rem;
}

.testimonio-card__rating {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin-top: 1.5rem;
}

.testimonio-card__rating svg {
    width: 24px;
    height: 24px;
    color: #fbbf24;
    fill: #fbbf24;
}

/* =====================================================
   CTA FINAL PREMIUM
   ===================================================== */
.proyecto-cta {
    padding: 6rem 0;
    background: var(--black);
    text-align: center;
    position: relative;
}

.proyecto-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.proyecto-cta h2 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.proyecto-cta p {
    font-size: 1.25rem;
    color: var(--gray-400);
    margin-bottom: 2.5rem;
}

.proyecto-cta .btn {
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
}

/* =====================================================
   PROYECTOS RELACIONADOS
   ===================================================== */
.proyectos-relacionados {
    padding: 6rem 0;
    background: var(--gray-900);
    position: relative;
}

.proyectos-relacionados::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
    .proyecto-info__grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .info-card {
        position: static;
    }
    
    .tipografia-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .tipografia-card__sample {
        min-width: auto;
    }
}

@media (max-width: 768px) {
    .proyecto-hero {
        min-height: 70vh;
    }
    
    .proyecto-hero__actions {
        flex-direction: column;
    }
    
    .proyecto-hero__actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .tecnologias-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .galeria-grid {
        grid-template-columns: 1fr;
    }
    
    .colores-grid {
        grid-template-columns: 1fr;
    }
    
    .logos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .logo-uso-grid {
        grid-template-columns: 1fr;
    }
    
    .lightbox__nav.prev { left: 10px; }
    .lightbox__nav.next { right: 10px; }
}

/* =====================================================
   ANIMACIONES ADICIONALES
   ===================================================== */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

.animate-shimmer {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

/* =====================================================
   MODO BEHANCE - PRESENTACIÓN VERTICAL
   ===================================================== */
.proyecto-behance {
    background: var(--black);
    padding: 0;
    position: relative;
}

.behance-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.behance-slide {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.behance-slide img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Barra de progreso fija */
.behance-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255,255,255,0.1);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.proyecto-behance:hover .behance-progress,
.behance-progress.active {
    opacity: 1;
}

.behance-progress__bar {
    height: 100%;
    background: var(--primary);
    width: 0%;
    transition: width 0.1s linear;
}

/* Contador de slides */
.behance-counter {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: rgba(0,0,0,0.8);
    color: var(--white);
    padding: 0.75rem 1.25rem;
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.proyecto-behance:hover .behance-counter,
.behance-counter.active {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .behance-container {
        max-width: 100%;
    }
    
    .behance-counter {
        bottom: 1rem;
        right: 1rem;
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
}
