:root {
  --pk-primary: #0ea5e9;       
  --pk-primary-dark: #0284c7;
  --pk-whatsapp: #25D366;
  --pk-whatsapp-dark: #128C7E;
  --pk-dark: #0f172a;     
  --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);
}

*, *::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); }
.btn-outline { border: 2px solid var(--pk-primary); color: var(--pk-primary); background: transparent; }
.btn-outline:hover { background: var(--pk-primary); color: var(--pk-white); }
.btn-outline-light { border: 1px solid rgba(255,255,255,0.3); color: var(--pk-white); background: rgba(255,255,255,0.1); backdrop-filter: blur(8px); }
.btn-outline-light:hover { background: var(--pk-white); color: var(--pk-dark); border-color: var(--pk-white); }

/* Hero Premium con Animación */
.hero-inner { 
  padding: 10rem 0 6rem; 
  background: linear-gradient(-45deg, var(--pk-dark), #1e293b, #0f172a, #020617);
  background-size: 400% 400%; animation: gradientBG 15s ease infinite;
  color: var(--pk-white); text-align: center; position: relative; overflow: hidden;
}
@keyframes gradientBG { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.hero-inner::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at 30% 20%, rgba(14,165,233,0.15) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(56,189,248,0.1) 0%, transparent 50%);
  pointer-events: none;
}
.hero-inner h1 { color: var(--pk-white); font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 1.5rem; position: relative; font-weight: 800; }
.hero-inner h1 span { background: linear-gradient(135deg, var(--pk-accent), #818cf8); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-inner p { color: #cbd5e1; font-size: clamp(1.1rem, 2vw, 1.25rem); max-width: 700px; margin: 0 auto; position: relative; }

/* 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; }

/* Pricing Grid Premium */
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem;
  align-items: start; max-width: 1100px; margin: 0 auto;
}

.pricing-card {
  background: var(--pk-white); border-radius: var(--radius-lg); padding: 3rem 2rem;
  border: 1px solid rgba(0,0,0,0.06); transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.03); position: relative;
  display: flex; flex-direction: column; height: 100%;
}

.pricing-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-float); border-color: rgba(14, 165, 233, 0.2); }

.pricing-card.popular {
  border: 2px solid var(--pk-primary); box-shadow: var(--shadow-float);
  transform: scale(1.05); z-index: 2;
}
.pricing-card.popular:hover { transform: scale(1.05) translateY(-8px); }

.badge-popular {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--pk-primary), var(--pk-accent));
  color: var(--pk-white); font-weight: 700; font-size: 0.8rem;
  padding: 0.4rem 1.2rem; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.pricing-header { text-align: center; margin-bottom: 2rem; border-bottom: 1px solid rgba(0,0,0,0.05); padding-bottom: 2rem; }
.pricing-header h3 { font-size: 1.5rem; color: var(--pk-dark); margin-bottom: 0.5rem; }
.pricing-header .price { font-size: 3rem; font-weight: 800; color: var(--pk-dark); font-family: var(--font-heading); line-height: 1; }
.pricing-header .price span { font-size: 1rem; color: var(--pk-text-light); font-weight: 500; }
.pricing-header p { color: var(--pk-text-light); margin-top: 1rem; font-size: 0.95rem; }

.pricing-features { list-style: none; margin-bottom: 2.5rem; flex-grow: 1; }
.pricing-features li { display: flex; gap: 0.75rem; align-items: flex-start; margin-bottom: 1rem; color: var(--pk-text); font-size: 0.95rem; }
.pricing-features li::before { content: '✓'; color: var(--pk-primary); font-weight: 800; }
.pricing-features li.disabled { color: #94a3b8; }
.pricing-features li.disabled::before { content: '×'; color: #cbd5e1; font-weight: 400; }

.pricing-card .btn { width: 100%; }

/* Servicios A Medida Bento */
.custom-bento {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem;
  margin-top: 4rem;
}
.custom-card {
  background: var(--pk-dark); color: var(--pk-white); border-radius: var(--radius-lg);
  padding: 3rem; box-shadow: var(--shadow-premium); position: relative; overflow: hidden;
}
.custom-card::before {
  content: ''; position: absolute; top: 0; right: 0; width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(56,189,248,0.1) 0%, transparent 70%);
}
.custom-card h3 { color: var(--pk-white); font-size: 1.8rem; margin-bottom: 1rem; }
.custom-card p { color: #cbd5e1; margin-bottom: 2rem; font-size: 1.05rem; }

/* FAQ Section */
.faq-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem;
}
.faq-item {
  background: var(--pk-white); border-radius: var(--radius-md); border: 1px solid rgba(0,0,0,0.06);
  padding: 2rem; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.03);
}
.faq-item h3 { font-size: 1.2rem; margin-bottom: 1rem; }
.faq-item p { color: var(--pk-text-light); font-size: 0.95rem; }

/* Legal Note */
.legal-note { text-align: center; color: var(--pk-text-light); font-size: 0.9rem; margin-top: 2rem; }

/* 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 { 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); }

.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; }

@media (max-width: 992px) {
  .pricing-card.popular { transform: none; }
  .pricing-card.popular:hover { transform: translateY(-8px); }
}
@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-inner { padding: 8rem 0 4rem; }
  .custom-bento { grid-template-columns: 1fr; }
}
