/*
Theme Name: PATIKODE - Soluciones Digitales de Alto Impacto
Theme URI: https://patikode.com
Author: PATIKODE
Author URI: https://patikode.com
Description: Tema corporativo moderno con Tech-Edge para PATIKODE. Startup Tecnológica Moderna especializada en democratizar el acceso a herramientas digitales avanzadas para PYMES. Totalmente compatible con Elementor.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: patikode
Tags: one-column, dark, custom-colors, custom-logo, translation-ready, elementor, full-site-editing
*/

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --surface: #121319;
  --surface-dim: #121319;
  --surface-bright: #38393f;
  --surface-container-lowest: #0c0e13;
  --surface-container-low: #1a1b21;
  --surface-container: #1e1f25;
  --surface-container-high: #282a30;
  --surface-container-highest: #33343a;
  --on-surface: #e2e2e9;
  --on-surface-variant: #c4c6d3;
  --inverse-surface: #e2e2e9;
  --inverse-on-surface: #2f3036;
  --outline: #8e909d;
  --outline-variant: #434652;
  --surface-tint: #b1c5ff;
  --primary: #b1c5ff;
  --on-primary: #002c71;
  --primary-container: #0a3d91;
  --on-primary-container: #8dadff;
  --inverse-primary: #345baf;
  --secondary: #40e56c;
  --on-secondary: #003912;
  --secondary-container: #02c953;
  --on-secondary-container: #004d1b;
  --tertiary: #ffb597;
  --on-tertiary: #591d00;
  --tertiary-container: #762900;
  --on-tertiary-container: #ff9162;
  --error: #ffb4ab;
  --on-error: #690005;
  --error-container: #93000a;
  --on-error-container: #ffdad6;
  --background: #121319;
  --on-background: #e2e2e9;
  --surface-variant: #33343a;
  --brand-blue: #0a3d91;
  --brand-green: #02c953;
  --brand-gradient: linear-gradient(135deg, #0a3d91, #02c953);
  --brand-gradient-soft: linear-gradient(135deg, rgba(10,61,145,0.15), rgba(2,201,83,0.15));
  --brand-gradient-glow: linear-gradient(135deg, rgba(10,61,145,0.3), rgba(2,201,83,0.3));
  --radius-sm: 0.25rem;
  --radius: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;
  --container-max: 1280px;
  --gutter: 24px;
  --spacing-xs: 4px;
  --spacing-sm: 12px;
  --spacing-base: 8px;
  --spacing-md: 24px;
  --spacing-lg: 48px;
  --spacing-xl: 80px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--on-surface);
  background-color: var(--background);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--on-surface);
}

h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; line-height: 1.1; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); }
h3 { font-size: clamp(1.125rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { color: var(--on-surface-variant); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ============================================
   CONTAINER
   ============================================ */
.pk-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ============================================
   GRADIENTS & TEXT UTILITIES
   ============================================ */
.pk-gradient {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.pk-hero-gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   NAVBAR
   ============================================ */
.pk-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: transparent;
}

.pk-navbar.scrolled {
  background: rgba(18, 19, 25, 0.88);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--outline-variant);
  padding: 10px 0;
  box-shadow: 0 4px 32px rgba(0,0,0,0.4);
}

.pk-navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.pk-navbar-logo img {
  height: 42px;
  width: auto;
  transition: transform 0.3s ease;
}

.pk-navbar-logo:hover img {
  transform: scale(1.03);
}

.pk-navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.pk-navbar-links a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--on-surface-variant);
  transition: color 0.2s ease;
  position: relative;
}

.pk-navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-gradient);
  border-radius: 1px;
  transition: width 0.3s ease;
}

.pk-navbar-links a:hover { color: var(--on-surface); }
.pk-navbar-links a:hover::after { width: 100%; }

/* ============================================
   BUTTONS
   ============================================ */
.pk-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 12px 24px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  text-decoration: none;
}

.pk-btn-primary {
  background: var(--primary-container);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(10, 61, 145, 0.3), inset 0 1px 0 rgba(255,255,255,0.1);
}

.pk-btn-primary:hover {
  background: #0c4aaf;
  box-shadow: 0 0 30px rgba(10, 61, 145, 0.5), inset 0 1px 0 rgba(255,255,255,0.15);
  transform: translateY(-2px);
  color: #fff;
}

.pk-btn-secondary {
  background: transparent;
  color: var(--on-surface);
  border: 1px solid transparent;
  background-image: linear-gradient(var(--surface-container), var(--surface-container)), var(--brand-gradient);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.pk-btn-secondary:hover {
  box-shadow: 0 0 20px rgba(10, 61, 145, 0.15), 0 0 20px rgba(2, 201, 83, 0.1);
  transform: translateY(-2px);
}

.pk-btn-success {
  background: var(--secondary-container);
  color: var(--on-secondary);
  box-shadow: 0 0 20px rgba(2, 201, 83, 0.25), inset 0 1px 0 rgba(255,255,255,0.15);
}

.pk-btn-success:hover {
  background: #03e05d;
  box-shadow: 0 0 35px rgba(2, 201, 83, 0.4);
  transform: translateY(-2px);
  color: #003912;
}

.pk-btn-ghost {
  background: transparent;
  color: var(--on-surface-variant);
  padding: 12px 16px;
}

.pk-btn-ghost:hover {
  color: var(--on-surface);
  background: rgba(255,255,255,0.05);
}

/* Mobile menu toggle */
.pk-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.pk-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--on-surface);
  border-radius: 1px;
  transition: all 0.3s ease;
}

.pk-menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.pk-menu-toggle.active span:nth-child(2) { opacity: 0; }
.pk-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================
   HERO SECTION
   ============================================ */
.pk-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.pk-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.pk-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
}

.pk-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.pk-hero-orb--blue {
  width: 600px; height: 600px;
  background: rgba(10, 61, 145, 0.25);
  top: -10%; left: -10%;
  animation: orbFloat 12s ease-in-out infinite;
}

.pk-hero-orb--green {
  width: 500px; height: 500px;
  background: rgba(2, 201, 83, 0.12);
  bottom: -15%; right: -10%;
  animation: orbFloat 15s ease-in-out infinite reverse;
}

.pk-hero-orb--accent {
  width: 300px; height: 300px;
  background: rgba(177, 197, 255, 0.08);
  top: 40%; right: 20%;
  animation: orbFloat 10s ease-in-out infinite 3s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

.pk-hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.pk-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(10, 61, 145, 0.12);
  border: 1px solid rgba(10, 61, 145, 0.3);
  border-radius: var(--radius-full);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 24px;
}

.pk-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--secondary);
  box-shadow: 0 0 8px var(--secondary);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--secondary); }
  50% { opacity: 0.6; box-shadow: 0 0 14px var(--secondary); }
}

.pk-hero-content h1 {
  margin-bottom: 24px;
  font-size: clamp(2.2rem, 5.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.pk-hero-desc {
  font-size: 18px;
  line-height: 1.75;
  color: var(--on-surface-variant);
  max-width: 620px;
  margin-bottom: 40px;
}

.pk-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.pk-hero-actions .pk-btn {
  padding: 14px 28px;
  font-size: 15px;
  border-radius: var(--radius-md);
}

.pk-hero-stats {
  display: flex;
  gap: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--outline-variant);
}

.pk-hero-stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px;
  font-weight: 700;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}

.pk-hero-stat-label {
  font-size: 13px;
  color: var(--outline);
  letter-spacing: 0.02em;
}

/* ============================================
   SECTIONS (shared)
   ============================================ */
.pk-section {
  padding: 96px 0;
}

.pk-section-header {
  text-align: center;
  margin-bottom: 56px;
}

.pk-section-label {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 12px;
}

.pk-section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 16px;
}

.pk-section-desc {
  font-size: 16px;
  color: var(--on-surface-variant);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.75;
}

/* Alternate backgrounds */
.pk-section--alt {
  background: var(--surface-container-lowest);
}

/* ============================================
   PHASES
   ============================================ */
.pk-phases {
  background: var(--surface-container-lowest);
  position: relative;
}

.pk-phases::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(10,61,145,0.15), transparent);
}

.pk-phases-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
}

.pk-phases-track::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--outline-variant) 20%, var(--outline-variant) 80%, transparent);
  z-index: 0;
}

.pk-phase-card {
  position: relative;
  z-index: 1;
  background: var(--surface-container);
  border: 1px solid var(--outline-variant);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.pk-phase-card:hover {
  border-color: rgba(10, 61, 145, 0.4);
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.3), 0 0 0 1px rgba(10, 61, 145, 0.15);
}

.pk-phase-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--secondary);
  margin-bottom: 16px;
}

.pk-phase-icon {
  width: 48px; height: 48px;
  background: var(--brand-gradient-soft);
  border: 1px solid rgba(10, 61, 145, 0.25);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 22px;
  color: var(--primary);
  transition: all 0.3s ease;
}

.pk-phase-card:hover .pk-phase-icon {
  background: var(--brand-gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 0 20px rgba(10, 61, 145, 0.4);
}

.pk-phase-card h4 {
  font-size: 14px;
  margin-bottom: 8px;
  line-height: 1.3;
}

.pk-phase-card p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--outline);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.pk-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pk-service-card {
  background: var(--surface-container);
  border: 1px solid var(--outline-variant);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.pk-service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--brand-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pk-service-card:hover {
  border-color: rgba(10, 61, 145, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.3);
}

.pk-service-card:hover::before { opacity: 1; }

.pk-service-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  background: var(--brand-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 26px;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(10, 61, 145, 0.3);
}

.pk-service-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.pk-service-card p {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.pk-service-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pk-service-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--on-surface-variant);
}

.pk-service-feature::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--secondary);
  flex-shrink: 0;
}

/* ============================================
   COURSES
   ============================================ */
.pk-courses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.pk-course-card {
  background: var(--surface-container);
  border: 1px solid var(--outline-variant);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.pk-course-card:hover {
  border-color: rgba(10, 61, 145, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.3);
}

.pk-course-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.pk-course-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.pk-course-card:hover .pk-course-image img { transform: scale(1.05); }

.pk-course-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, var(--surface-container));
}

.pk-course-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--brand-gradient);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-full);
}

.pk-course-body { padding: 24px; }

.pk-course-body h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.pk-course-body p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.pk-course-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--outline-variant);
}

.pk-course-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--on-surface-variant);
}

.pk-course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pk-course-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 700;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pk-course-price span {
  font-size: 14px;
  font-weight: 400;
  -webkit-text-fill-color: var(--outline);
}

/* ============================================
   SUCCESS STORIES
   ============================================ */
.pk-stories {
  background: var(--surface-container-lowest);
}

.pk-stories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.pk-story-card {
  background: var(--surface-container);
  border: 1px solid var(--outline-variant);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.pk-story-card::before {
  content: '"';
  position: absolute;
  top: -20px; right: 20px;
  font-size: 160px;
  line-height: 1;
  font-family: Georgia, serif;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.08;
  pointer-events: none;
}

.pk-story-card:hover {
  border-color: rgba(10, 61, 145, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.25);
}

.pk-story-quote {
  font-size: 16px;
  font-style: italic;
  line-height: 1.8;
  color: var(--on-surface);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.pk-story-author {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.pk-story-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--brand-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.pk-story-author-info h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
}

.pk-story-author-info p {
  font-size: 13px;
  color: var(--outline);
}

.pk-story-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--outline-variant);
}

.pk-story-metric { text-align: center; }

.pk-story-metric-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--secondary);
}

.pk-story-metric-label {
  font-size: 11px;
  color: var(--outline);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

/* ============================================
   CTA SECTION
   ============================================ */
.pk-cta {
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

.pk-cta-inner {
  position: relative;
  background: var(--surface-container);
  border: 1px solid var(--outline-variant);
  border-radius: var(--radius-xl);
  padding: 72px 64px;
  text-align: center;
  overflow: hidden;
}

.pk-cta-inner::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 30% 40%, rgba(10, 61, 145, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 70% 60%, rgba(2, 201, 83, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.pk-cta-inner h2 {
  position: relative;
  margin-bottom: 16px;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.pk-cta-inner p {
  position: relative;
  font-size: 16px;
  max-width: 520px;
  margin: 0 auto 40px;
  color: var(--on-surface-variant);
}

.pk-cta-actions {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================
   CONTACT FORM (Elementor compatible)
   ============================================ */
.pk-contact-section {
  padding: 96px 0;
  background: var(--surface-container-lowest);
}

.pk-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.pk-contact-info h3 {
  font-size: 28px;
  margin-bottom: 16px;
}

.pk-contact-info p {
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 32px;
}

.pk-contact-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pk-contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.pk-contact-item-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius);
  background: var(--brand-gradient-soft);
  border: 1px solid rgba(10,61,145,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 20px;
  flex-shrink: 0;
}

.pk-contact-item-text strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
  margin-bottom: 3px;
}

.pk-contact-item-text a,
.pk-contact-item-text span {
  font-size: 15px;
  color: var(--on-surface);
  transition: color 0.2s ease;
}

.pk-contact-item-text a:hover { color: var(--secondary); }

/* Native form styles (fallback) */
.pk-form {
  background: var(--surface-container);
  border: 1px solid var(--outline-variant);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.pk-form-group {
  margin-bottom: 20px;
}

.pk-form-group label {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--on-surface-variant);
  margin-bottom: 8px;
}

.pk-form-group input,
.pk-form-group textarea,
.pk-form-group select {
  width: 100%;
  background: var(--surface-container-high);
  border: 1px solid var(--outline-variant);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: var(--on-surface);
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  transition: all 0.2s ease;
  outline: none;
}

.pk-form-group input:focus,
.pk-form-group textarea:focus,
.pk-form-group select:focus {
  border-color: var(--primary-container);
  box-shadow: 0 0 0 3px rgba(10, 61, 145, 0.15);
}

.pk-form-group textarea {
  min-height: 130px;
  resize: vertical;
}

/* ============================================
   FOOTER
   ============================================ */
.pk-footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--outline-variant);
  background: var(--surface-container-lowest);
}

.pk-footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.pk-footer-brand img {
  height: 38px;
  width: auto;
  margin-bottom: 16px;
}

.pk-footer-brand p {
  font-size: 14px;
  color: var(--outline);
  line-height: 1.7;
  max-width: 260px;
  margin-bottom: 24px;
}

.pk-footer-social {
  display: flex;
  gap: 10px;
}

.pk-footer-social a {
  width: 38px; height: 38px;
  border-radius: var(--radius);
  background: var(--surface-container);
  border: 1px solid var(--outline-variant);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--outline);
  font-size: 18px;
  transition: all 0.2s ease;
}

.pk-footer-social a:hover {
  background: rgba(10,61,145,0.15);
  border-color: var(--primary-container);
  color: var(--primary);
}

.pk-footer-col-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-surface);
  margin-bottom: 20px;
}

.pk-footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pk-footer-links a {
  font-size: 14px;
  color: var(--outline);
  transition: color 0.2s ease;
}

.pk-footer-links a:hover { color: var(--on-surface); }

.pk-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--outline-variant);
}

.pk-footer-copy {
  font-size: 13px;
  color: var(--outline);
}

.pk-footer-legal {
  display: flex;
  gap: 24px;
}

.pk-footer-legal a {
  font-size: 13px;
  color: var(--outline);
  transition: color 0.2s ease;
}

.pk-footer-legal a:hover { color: var(--primary); }

/* ============================================
   SCROLL REVEAL
   ============================================ */
.pk-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.pk-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.pk-reveal-delay-1 { transition-delay: 0.1s; }
.pk-reveal-delay-2 { transition-delay: 0.2s; }
.pk-reveal-delay-3 { transition-delay: 0.3s; }
.pk-reveal-delay-4 { transition-delay: 0.4s; }
.pk-reveal-delay-5 { transition-delay: 0.5s; }

/* ============================================
   MOBILE NAV OVERLAY
   ============================================ */
.pk-mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(12, 14, 19, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.pk-mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}

.pk-mobile-nav a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--on-surface);
  transition: color 0.2s ease;
}

.pk-mobile-nav a:hover { color: var(--primary); }

/* ============================================
   ELEMENTOR OVERRIDES
   ============================================ */
.elementor-section .elementor-container {
  max-width: var(--container-max);
}

.elementor-widget-wrap { background: transparent !important; }

/* Make Elementor background match our dark theme */
.elementor-section,
.elementor-top-section,
.e-con {
  background-color: var(--background) !important;
}

/* Override Elementor heading colors */
.elementor-widget-heading .elementor-heading-title {
  font-family: 'Space Grotesk', sans-serif !important;
  letter-spacing: -0.02em;
}

/* Override Elementor button */
.elementor-widget-button .elementor-button {
  font-family: 'Space Grotesk', sans-serif !important;
  font-weight: 500 !important;
}

/* Elementor form fields */
.elementor-field-group .elementor-field {
  background: var(--surface-container-high) !important;
  border: 1px solid var(--outline-variant) !important;
  color: var(--on-surface) !important;
  border-radius: var(--radius) !important;
}

.elementor-field-group .elementor-field:focus {
  border-color: var(--primary-container) !important;
  box-shadow: 0 0 0 3px rgba(10, 61, 145, 0.15) !important;
}

.elementor-field-label {
  color: var(--on-surface-variant) !important;
  font-family: 'Space Grotesk', sans-serif !important;
}

/* Elementor submit button */
.elementor-button.elementor-size-sm,
.elementor-button.elementor-size-md,
.elementor-button.elementor-size-lg {
  background: var(--primary-container) !important;
  border-radius: var(--radius) !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .pk-phases-track {
    grid-template-columns: repeat(3, 1fr);
  }
  .pk-phases-track::before { display: none; }
  .pk-services-grid { grid-template-columns: repeat(2, 1fr); }
  .pk-footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .pk-navbar-links { display: none; }
  .pk-menu-toggle { display: flex; }
  .pk-mobile-nav { display: flex; }

  .pk-hero { min-height: auto; padding: 120px 0 60px; }
  .pk-hero-stats { gap: 24px; flex-wrap: wrap; }
  .pk-hero-stat-value { font-size: 24px; }
  .pk-section { padding: 64px 0; }
  .pk-section-header { margin-bottom: 40px; }
  .pk-phases-track { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pk-services-grid { grid-template-columns: 1fr; }
  .pk-courses-grid { grid-template-columns: 1fr; }
  .pk-stories-grid { grid-template-columns: 1fr; }
  .pk-contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .pk-cta-inner { padding: 48px 24px; }
  .pk-footer-top { grid-template-columns: 1fr; gap: 32px; }
  .pk-footer-bottom { flex-direction: column; text-align: center; }
  .pk-footer-legal { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 480px) {
  .pk-phases-track { grid-template-columns: 1fr; }
  .pk-hero-actions { flex-direction: column; }
  .pk-hero-actions .pk-btn { width: 100%; justify-content: center; }
  .pk-cta-actions { flex-direction: column; align-items: center; }
  .pk-cta-actions .pk-btn { width: 100%; max-width: 320px; justify-content: center; }
}

/* ============================================
   CUSTOM SCROLLBAR
   ============================================ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--surface-container-lowest); }
::-webkit-scrollbar-thumb { background: var(--surface-container-high); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--outline-variant); }

/* ============================================
   SELECTION
   ============================================ */
::selection { background: rgba(10, 61, 145, 0.4); color: #ffffff; }

/* ============================================
   WORDPRESS BLOCK OVERRIDES
   ============================================ */
.wp-block-cover, .wp-block-group, .wp-block-columns {
  max-width: 100% !important;
}

.alignfull {
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  max-width: 100vw;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}
