:root {
  --pk-primary: #0ea5e9;       
  --pk-primary-dark: #0284c7;
  --pk-whatsapp: #25D366;
  --pk-whatsapp-dark: #128C7E;
  --pk-dark: #0f172a;     
  --pk-dark-card: #1e293b;
  --pk-accent: #38bdf8;        
  --pk-text: #334155;          
  --pk-text-light: #64748b;    
  --pk-bg: #f8fafc;            
  --pk-white: #ffffff;
  
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow-float: 0 20px 40px -15px rgba(0,0,0,0.08);
  --shadow-premium: 0 25px 50px -12px rgba(0,0,0,0.25);
  --shadow-neon: 0 0 30px rgba(56, 189, 248, 0.3);
}

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

body {
  font-family: var(--font-sans);
  color: var(--pk-text);
  background-color: var(--pk-bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--pk-dark);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 700;
}

a { text-decoration: none; color: inherit; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-md); }
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }

/* Header Premium con Glassmorphism */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding: 1rem 0;
  transition: all 0.3s ease;
}
.nav { display: flex; justify-content: space-between; align-items: center; }
.logo { 
  font-family: var(--font-heading); font-weight: 800; font-size: 1.5rem; 
  color: var(--pk-dark); display: flex; align-items: center; gap: 0.5rem;
  letter-spacing: -0.02em;
}
.logo span { color: var(--pk-primary); }
.logo::before {
  content: ''; width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(135deg, var(--pk-primary), var(--pk-accent));
  box-shadow: 0 4px 8px rgba(14, 165, 233, 0.3);
}
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-link {
  font-weight: 500; font-size: 0.95rem; color: var(--pk-text);
  position: relative; padding: 0.5rem 0;
}
.nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
  background: var(--pk-primary); transition: width 0.3s ease; border-radius: 2px;
}
.nav-link:hover { color: var(--pk-primary); }
.nav-link:hover::after { width: 100%; }

/* Botones Premium */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.75rem; border-radius: 50px; font-weight: 600; font-size: 0.95rem;
  cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); border: none;
  white-space: nowrap;
}
.btn-primary { 
  background: var(--pk-primary); color: var(--pk-white); 
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3); 
}
.btn-primary:hover { background: var(--pk-primary-dark); transform: translateY(-2px); }
.btn-whatsapp { 
  background: var(--pk-whatsapp); color: var(--pk-white); 
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3); 
}
.btn-whatsapp:hover { 
  background: var(--pk-whatsapp-dark); transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4); 
}

/* Hero gráfico (fondo oscuro para que exploten los neones) */
.hero-graphic {
  padding: 11rem 0 7rem;
  background: var(--pk-dark);
  color: var(--pk-white);
  text-align: center;
  position: relative;
  overflow: hidden;
  background-image:
    radial-gradient(circle at 15% 50%, rgba(14, 165, 233, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 85% 30%, rgba(56, 189, 248, 0.1) 0%, transparent 50%);
}
.hero-graphic h1 {
  color: var(--pk-white);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 1.5rem;
  font-weight: 800;
}
.hero-graphic h1 span {
  background: linear-gradient(135deg, #38bdf8, #818cf8, #e879f9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-graphic p {
  color: #cbd5e1;
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  max-width: 700px;
  margin: 0 auto;
}

/* Secciones */
.section { padding: 6rem 0; }
.section-alt { background: var(--pk-white); }
.section-title {
  text-align: center;
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 1rem;
  font-weight: 800;
}
.section-subtitle {
  text-align: center;
  color: var(--pk-text-light);
  max-width: 700px;
  margin: 0 auto 4rem;
  font-size: 1.15rem;
}

/* Portfolio Showcase Premium (Spring Festival) */
.portfolio-showcase {
  background: #020617; /* Ultra oscuro para que brillen los neones */
  padding: 6rem 0;
  border-radius: var(--radius-lg);
  margin: 2rem 0;
  box-shadow: var(--shadow-premium);
  border: 1px solid rgba(255,255,255,0.05);
}
.showcase-header {
  text-align: center;
  margin-bottom: 4rem;
  padding: 0 2rem;
}
.showcase-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(56,189,248,0.1);
  color: var(--pk-accent);
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid rgba(56,189,248,0.2);
}
.showcase-header h2 {
  color: var(--pk-white);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.showcase-header p {
  color: #94a3b8;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Bento gallery asimétrica para las 6 piezas */
.bento-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
  padding: 0 2rem;
}
.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  background: #0f172a;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}
.gallery-item:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-neon);
  z-index: 10;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Posicionamiento específico de las 6 piezas del Spring Festival */
.item-story  { grid-column: span 3; grid-row: span 2; } /* Story vertical alto */
.item-fbad   { grid-column: span 9; grid-row: span 1; } /* FB Ad horizontal ancho */
.item-ticket { grid-column: span 5; grid-row: span 1; } /* Ticket horizontal medio */
.item-post   { grid-column: span 4; grid-row: span 1; } /* Post cuadrado */
.item-flyer  { grid-column: span 6; grid-row: span 1; } /* Flyer mitad ancho */
.item-poster { grid-column: span 6; grid-row: span 1; } /* Poster mitad ancho */

/* Grid de Servicios Gráficos */
.graphic-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.g-service-card {
  background: var(--pk-white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.03);
}
.g-service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-float);
  border-color: var(--pk-primary);
}
.g-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  display: block;
}
.g-service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.g-service-card p {
  color: var(--pk-text-light);
  line-height: 1.6;
}

/* Footer */
.footer {
  background: var(--pk-dark);
  color: var(--pk-white);
  padding: 5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 4rem;
  margin-bottom: 4rem;
}
.footer h3 {
  color: var(--pk-white);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}
.footer ul { list-style: none; }
.footer li {
  margin-bottom: 0.85rem;
  color: #cbd5e1;
  font-size: 0.95rem;
}
.footer a { color: #cbd5e1; }
.footer a:hover { color: var(--pk-white); }
.footer-desc {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.copyright {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  text-align: center;
  color: #94a3b8;
  font-size: 0.875rem;
}

/* WhatsApp FAB */
.whatsapp-fab {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 50;
}
.whatsapp-fab a {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--pk-whatsapp);
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pk-white);
  font-size: 1.4rem;
  transition: all 0.3s ease;
}
.whatsapp-fab a:hover {
  transform: translateY(-3px) scale(1.05);
}

/* Navegación móvil */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(0,0,0,0.1);
  background: var(--pk-white);
  border-radius: 12px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--pk-dark);
  border-radius: 2px;
  transition: 0.3s;
}

/* Responsive design */
@media (max-width: 992px) {
  .item-story  { grid-column: span 4; }
  .item-fbad   { grid-column: span 8; }
  .item-ticket { grid-column: span 6; }
  .item-post   { grid-column: span 6; }
  .item-flyer  { grid-column: span 6; }
  .item-poster { grid-column: span 6; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    gap: 1rem;
    border-radius: 0 0 16px 16px;
  }
  .nav-links.is-open { display: flex; }
  .hero-graphic { padding: 8rem 0 4rem; }

  /* Reset grid en móvil para stack vertical */
  .item-story,
  .item-fbad,
  .item-ticket,
  .item-post,
  .item-flyer,
  .item-poster {
    grid-column: span 12;
    grid-row: auto;
  }
  .bento-gallery { padding: 0 1rem; }
}
