* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #0f172a 100%);
    color: #fff;
    min-height: 100vh;
}

/* Navegación */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Espacio para Logo - Reemplaza tu-logo.png con la ruta de tu logo */
.logo-image {
    height: 45px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
}

/* Fallback: Si no hay logo, mostrar ícono temporal */
.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #22d3ee, #3b82f6);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(45deg);
    font-size: 1.2rem;
}

.logo-icon::after {
    content: '💎';
    transform: rotate(-45deg);
}

.logo span {
    font-weight: 700;
    font-size: 1.25rem;
}
.nav-links {
    display: flex;
    gap: 0.5rem;
}

.nav-btn {
    padding: 0.75rem;
    border-radius: 10px;
    background: rgba(30, 41, 59, 0.5);
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background: rgba(51, 65, 85, 0.5);
    color: #fff;
}

.nav-btn.active {
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    color: #fff;
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.3);
}

/* Contenido Principal */
.main-content {
    padding-top: 100px;
    padding-bottom: 3rem;
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.page-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
}

.gradient-text {
    background: linear-gradient(135deg, #22d3ee, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    text-align: center;
    color: #cbd5e1;
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

/* Grid de Trabajos */
.trabajos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 5rem;
}

.trabajo-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.8));
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.1);
    transition: all 0.3s ease;
}

.trabajo-card:hover {
    border-color: rgba(6, 182, 212, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(6, 182, 212, 0.2);
}

.trabajo-imagen {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.trabajo-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.trabajo-card:hover .trabajo-imagen img {
    transform: scale(1.05);
}

.imagen-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
}

.trabajo-content {
    padding: 1.5rem;
}

.trabajo-titulo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fff;
}

.trabajo-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn-caracteristicas,
.btn-imagenes {
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-caracteristicas {
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    color: #fff;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.btn-caracteristicas:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.5);
}

.btn-imagenes {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-imagenes:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Sección de Precios */
/*
.precios-section {
    margin-top: 5rem;
    padding: 3rem 0;
}

.section-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: #cbd5e1;
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

.precios-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.precio-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.8));
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(148, 163, 184, 0.1);
    transition: all 0.3s ease;
}

.precio-card:hover {
    border-color: rgba(6, 182, 212, 0.5);
    box-shadow: 0 15px 35px rgba(6, 182, 212, 0.15);
}

.precio-categoria {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #22d3ee, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.precio-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 12px;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(148, 163, 184, 0.1);
    transition: all 0.3s ease;
}

.precio-item:last-child {
    margin-bottom: 0;
}

.precio-item:hover {
    border-color: rgba(6, 182, 212, 0.5);
}

.precio-nombre {
    color: #cbd5e1;
    font-weight: 500;
}

.precio-valor {
    color: #22d3ee;
    font-weight: 700;
    font-size: 1.125rem;
}
*/
.btn-descargar-pdf {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    border: none;
    border-radius: 15px;
    color: #fff;
    font-weight: 700;
    font-size: 1.125rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.4);
}

.btn-descargar-pdf:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(6, 182, 212, 0.6);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    z-index: 2000;
    padding: 1rem;
    overflow-y: auto;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.95));
    border-radius: 20px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.modal-header {
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.btn-close {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.btn-close svg {
    color: #fff;
}

.modal-body {
    padding: 2rem;
    overflow-y: auto;
    max-height: calc(90vh - 100px);
}

/* Info Text */
.info-text {
    color: #cbd5e1;
    line-height: 1.8;
    font-size: 1.125rem;
    text-align: justify;
}

/* Galería de Imágenes */
.galeria-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.galeria-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.galeria-item:hover {
    border-color: rgba(6, 182, 212, 0.5);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.2);
}

.galeria-item img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.galeria-item:hover img {
    transform: scale(1.05);
}

.galeria-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.galeria-item:hover .galeria-overlay {
    opacity: 1;
}

.galeria-overlay svg {
    color: #fff;
}

/* Modal Imagen Grande */
.modal-imagen-grande {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 3000;
    padding: 2rem;
    align-items: center;
    justify-content: center;
}

.modal-imagen-grande.active {
    display: flex;
}

.btn-close-imagen {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 3001;
}

.btn-close-imagen:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.btn-close-imagen svg {
    color: #fff;
}

#imagenGrande {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

/* Responsive */
@media (min-width: 640px) {
    .trabajos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .galeria-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .precios-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .trabajos-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .precios-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Scrollbar personalizada */
.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: rgba(30, 41, 59, 0.5);
    border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #22d3ee, #3b82f6);
}