/* ==========================================================================
   ESTILOS PRINCIPALES - JEAN CARLOS ANCHAPURI | PORTAFOLIO & ASESORÍA
   Design System: Dark Luxury Tech, Glassmorphism & High Contrast
   ========================================================================== */

:root {
  --bg-dark: #070b14;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --bg-glass-strong: rgba(15, 23, 42, 0.92);
  
  --primary: #06b6d4;
  --primary-hover: #0891b2;
  --primary-light: #67e8f9;
  --primary-glow: rgba(6, 182, 212, 0.25);
  
  --accent: #8b5cf6;
  --accent-light: #c084fc;
  --accent-glow: rgba(139, 92, 246, 0.25);

  --emerald: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.2);
  --amber: #f59e0b;
  --rose: #f43f5e;
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --border: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(6, 182, 212, 0.6);
  --border-hover: rgba(255, 255, 255, 0.18);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 10px 30px -10px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 35px var(--primary-glow);
  --shadow-accent-glow: 0 0 35px var(--accent-glow);
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  background-image: 
    radial-gradient(at 15% 15%, rgba(6, 182, 212, 0.08) 0px, transparent 45%),
    radial-gradient(at 85% 25%, rgba(139, 92, 246, 0.07) 0px, transparent 50%),
    radial-gradient(at 50% 80%, rgba(16, 185, 129, 0.05) 0px, transparent 55%);
  background-attachment: fixed;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography Utilities */
.gradient-text {
  background: linear-gradient(135deg, #ffffff 10%, #67e8f9 55%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-alt {
  background: linear-gradient(135deg, #38bdf8, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: var(--radius-full);
  color: var(--primary-light);
  font-size: 0.825rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin-bottom: 3.5rem;
}

.text-center {
  text-align: center;
}

.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(7, 11, 20, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition-normal);
}

.header.scrolled {
  background: rgba(7, 11, 20, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(6, 182, 212, 0.2);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.logo-badge {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.4);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  color: var(--text-primary);
  line-height: 1.1;
}

.logo-title {
  font-size: 0.72rem;
  color: var(--primary-light);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 1.8vw, 1.75rem);
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.35rem 0;
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.65rem;
  border-radius: var(--radius-full);
  font-size: 0.925rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #0284c7 100%);
  color: #fff;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(6, 182, 212, 0.45);
  background: linear-gradient(135deg, #0891b2 0%, #0369a1 100%);
}

.btn-header-cta {
  padding: 0.65rem 1.35rem;
  font-size: 0.88rem;
  white-space: nowrap;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
}

.btn-icon-admin {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  transition: all var(--transition-fast);
}

.btn-icon-admin:hover {
  background: rgba(6, 182, 212, 0.15);
  border-color: var(--primary-light);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.btn-outline {
  background: var(--bg-glass);
  color: var(--text-primary);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary-light);
  transform: translateY(-2px);
}

.btn-admin {
  padding: 0.5rem 1rem;
  font-size: 0.825rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.btn-admin:hover {
  background: rgba(139, 92, 246, 0.15);
  border-color: var(--accent-light);
  color: #fff;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  padding: 160px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.hero-pill.glow {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.35);
  color: #34d399;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.stat-item h3 {
  font-size: 2.1rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-item h3 span {
  color: var(--primary-light);
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img-wrapper {
  position: relative;
  width: 360px;
  max-width: 100%;
  border-radius: var(--radius-xl);
  padding: 8px;
  background: linear-gradient(145deg, rgba(6, 182, 212, 0.45), rgba(139, 92, 246, 0.2), rgba(255, 255, 255, 0.05));
  box-shadow: var(--shadow-glow);
}

.hero-img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center top;
  border-radius: calc(var(--radius-xl) - 6px);
  background: #0f172a;
  filter: contrast(1.05);
}

/* Floating Badges */
.floating-card {
  position: absolute;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  animation: float 4s ease-in-out infinite alternate;
}

.floating-card-1 {
  top: 8%;
  left: -35px;
}

.floating-card-2 {
  bottom: 8%;
  right: -30px;
  animation-delay: -2s;
}

@keyframes float {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

.floating-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.floating-icon.cyan {
  background: rgba(6, 182, 212, 0.15);
  color: var(--primary-light);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.floating-icon.purple {
  background: rgba(139, 92, 246, 0.15);
  color: var(--accent-light);
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.floating-text h5 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.floating-text p {
  font-size: 0.72rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   SECTIONS GENERAL
   ========================================================================== */
.section {
  padding: 100px 0;
  position: relative;
}

.section.alt-bg {
  background: rgba(15, 23, 42, 0.35);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ==========================================================================
   BONDARES & PROPUESTA DE VALOR
   ========================================================================== */
.bonds-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.75rem;
}

.bond-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
  backdrop-filter: blur(10px);
}

.bond-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.bond-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-md);
}

.bond-card:hover::before {
  opacity: 1;
}

.bond-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.25);
  color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  transition: transform var(--transition-fast);
}

.bond-card:hover .bond-icon {
  transform: scale(1.1) rotate(5deg);
  background: rgba(6, 182, 212, 0.2);
}

.bond-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  color: #fff;
}

.bond-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.bond-bullets {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1rem;
}

.bond-bullets li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}

.bond-bullets li i {
  color: var(--primary);
  font-size: 0.75rem;
}

/* ==========================================================================
   EXPERIENCIA LABORAL
   ========================================================================== */
.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 30px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--accent), transparent);
}

.timeline-item {
  position: relative;
  padding-left: 80px;
  margin-bottom: 2.75rem;
}

.timeline-dot {
  position: absolute;
  left: 20px;
  top: 8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 3px solid var(--primary);
  box-shadow: 0 0 12px var(--primary-glow);
  z-index: 2;
}

.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.85rem 2.25rem;
  backdrop-filter: blur(10px);
  transition: all var(--transition-fast);
}

.timeline-content:hover {
  border-color: rgba(6, 182, 212, 0.3);
  transform: translateX(4px);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.timeline-role {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.timeline-company {
  font-size: 1rem;
  color: var(--primary-light);
  font-weight: 600;
}

.timeline-date {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.825rem;
  color: var(--text-muted);
  font-weight: 600;
}

.timeline-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.timeline-tasks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.timeline-tasks li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.timeline-tasks li i {
  color: var(--primary);
  margin-top: 0.25rem;
  font-size: 0.8rem;
}

/* ==========================================================================
   FORMACIÓN Y CERTIFICACIONES
   ========================================================================== */
.education-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.edu-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
}

.edu-card:hover {
  border-color: rgba(139, 92, 246, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.edu-badge {
  align-self: flex-start;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.edu-badge.master {
  background: rgba(139, 92, 246, 0.15);
  color: var(--accent-light);
  border: 1px solid rgba(139, 92, 246, 0.35);
}

.edu-badge.cert {
  background: rgba(6, 182, 212, 0.15);
  color: var(--primary-light);
  border: 1px solid rgba(6, 182, 212, 0.35);
}

.edu-badge.lang {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.edu-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.4rem;
}

.edu-institution {
  font-size: 0.9rem;
  color: var(--primary-light);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.edu-meta {
  font-size: 0.825rem;
  color: var(--text-muted);
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   SERVICIOS DE ASESORÍA
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
}

.service-card.featured {
  border-color: rgba(6, 182, 212, 0.45);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.95), rgba(6, 182, 212, 0.06));
  box-shadow: 0 10px 40px -10px rgba(6, 182, 212, 0.2);
}

.featured-pill {
  position: absolute;
  top: -12px;
  right: 25px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-glow);
}

.service-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

.service-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.85rem;
}

.service-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
  margin-bottom: 2rem;
  margin-top: auto;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 0.65rem;
}

.service-features li i {
  color: var(--emerald);
  font-size: 0.85rem;
}

.btn-service {
  width: 100%;
  padding: 0.85rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
}

/* ==========================================================================
   WORKSHOPS & TALLERES
   ========================================================================== */
.workshops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.workshop-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.workshop-card:hover {
  transform: translateY(-5px);
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.workshop-thumb {
  position: relative;
  width: 100%;
  height: 190px;
  overflow: hidden;
  background: #0b1120;
}

.workshop-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.workshop-card:hover .workshop-thumb img {
  transform: scale(1.08);
}

.workshop-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(7, 11, 20, 0.8);
  backdrop-filter: blur(8px);
  color: var(--primary-light);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.workshop-info {
  padding: 1.25rem;
}

.workshop-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.35rem;
  line-height: 1.35;
}

.workshop-org {
  font-size: 0.825rem;
  color: var(--text-muted);
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 900px;
  width: 100%;
  background: var(--bg-card-hover);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.lightbox-img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  background: #000;
}

.lightbox-caption {
  padding: 1.25rem 1.5rem;
}

.lightbox-caption h4 {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 0.25rem;
}

.lightbox-caption p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.lightbox-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  z-index: 10;
}

/* ==========================================================================
   FORMULARIO DE CONTACTO Y ASESORÍA
   ========================================================================== */
.contact-section {
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: flex-start;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.75rem 2.25rem;
  backdrop-filter: blur(14px);
}

.contact-info-card h3 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.contact-intro {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 2.25rem;
}

.direct-contacts {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.direct-item {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.direct-item:hover {
  background: rgba(6, 182, 212, 0.08);
  border-color: rgba(6, 182, 212, 0.3);
  transform: translateX(4px);
}

.direct-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(6, 182, 212, 0.15);
  color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.direct-text span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.direct-text strong {
  font-size: 0.95rem;
  color: #fff;
}

.signature-block {
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.signature-img {
  height: 65px;
  width: auto;
  filter: invert(1) brightness(1.8) opacity(0.85);
}

.signature-block p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Form Styling */
.form-container {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.75rem 2.5rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(14px);
  position: relative;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group.full {
  grid-column: span 2;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-group label span {
  color: var(--rose);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: rgba(11, 17, 32, 0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  color: #fff;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.18);
  background: rgba(15, 23, 42, 0.95);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  width: 100%;
  padding: 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  margin-top: 1rem;
}

.btn-submit .spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 0.8s linear infinite;
}

.btn-submit.loading .spinner {
  display: block;
}

.btn-submit.loading .btn-text {
  display: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Success Card Modal */
.modal-alert {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 3000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-alert.active {
  display: flex;
}

.alert-card {
  background: #0f172a;
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-xl);
  max-width: 520px;
  width: 100%;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.alert-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
}

.alert-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: #fff;
}

.alert-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.alert-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: #05080f;
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.75rem;
  max-width: 320px;
}

.footer-col h5 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--primary-light);
  transform: translateX(3px);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #25d366;
  color: #fff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 900;
  transition: all var(--transition-fast);
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.6);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-badge-container {
    justify-content: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-stats {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(7, 11, 20, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2.5rem;
    gap: 1.5rem;
    transition: left var(--transition-normal);
    overflow-y: auto;
    border-top: 1px solid var(--border);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .nav-actions .btn-primary {
    display: none;
  }
  
  .timeline::before {
    left: 15px;
  }
  
  .timeline-item {
    padding-left: 45px;
  }
  
  .timeline-dot {
    left: 6px;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-group.full {
    grid-column: span 1;
  }
  
  .floating-card-1 {
    left: 5px;
  }
  
  .floating-card-2 {
    right: 5px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   BOTÓN DE CAMBIO DE TEMA (CLARO / OSCURO)
   ========================================================================== */
.btn-theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: #fbbf24;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-theme-toggle:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: #fbbf24;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

/* ==========================================================================
   SISTEMA DE TEMA CLARO (VERSIÓN WHITE)
   Optimizado para máxima legibilidad y estética profesional
   ========================================================================== */
[data-theme="light"] {
  --bg-dark: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-glass: rgba(0, 0, 0, 0.02);
  --bg-glass-strong: rgba(255, 255, 255, 0.98);
  
  --primary: #0284c7;
  --primary-hover: #0369a1;
  --primary-light: #0284c7;
  --primary-glow: rgba(2, 132, 199, 0.2);
  
  --accent: #7c3aed;
  --accent-light: #8b5cf6;
  --accent-glow: rgba(124, 58, 237, 0.2);

  --emerald: #059669;
  --emerald-glow: rgba(5, 150, 105, 0.15);
  --amber: #d97706;
  --rose: #e11d48;
  
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  
  --border: rgba(0, 0, 0, 0.09);
  --border-focus: rgba(2, 132, 199, 0.5);
  --border-hover: rgba(0, 0, 0, 0.18);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 0 35px rgba(2, 132, 199, 0.12);
}

[data-theme="light"] body {
  background-color: #f8fafc;
  background-image: 
    radial-gradient(at 15% 15%, rgba(2, 132, 199, 0.07) 0px, transparent 50%),
    radial-gradient(at 85% 25%, rgba(124, 58, 237, 0.06) 0px, transparent 50%),
    radial-gradient(at 50% 80%, rgba(5, 150, 105, 0.04) 0px, transparent 55%);
}

[data-theme="light"] .header {
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(2, 132, 199, 0.2);
}

[data-theme="light"] .logo-name {
  color: #0f172a;
}

[data-theme="light"] .nav-link {
  color: #475569;
}

[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active {
  color: #0284c7;
}

[data-theme="light"] .btn-theme-toggle {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.1);
  color: #6366f1;
}

[data-theme="light"] .btn-theme-toggle:hover {
  background: rgba(99, 102, 241, 0.12);
  border-color: #6366f1;
}

[data-theme="light"] .btn-icon-admin {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.1);
  color: #475569;
}

[data-theme="light"] .btn-icon-admin:hover {
  background: rgba(2, 132, 199, 0.1);
  border-color: #0284c7;
  color: #0284c7;
}

[data-theme="light"] .gradient-text {
  background: linear-gradient(135deg, #0f172a 10%, #0284c7 60%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="light"] .section.alt-bg {
  background: #f1f5f9;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .hero-pill {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #334155;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .hero-pill.glow {
  background: rgba(5, 150, 105, 0.1);
  border-color: rgba(5, 150, 105, 0.3);
  color: #065f46;
}

[data-theme="light"] .stat-item h3 {
  color: #0f172a;
}

[data-theme="light"] .hero-img-wrapper {
  background: linear-gradient(145deg, rgba(2, 132, 199, 0.25), rgba(124, 58, 237, 0.15), rgba(0, 0, 0, 0.05));
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .floating-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .floating-text h5 {
  color: #0f172a;
}

[data-theme="light"] .floating-text p {
  color: #475569;
}

[data-theme="light"] .bond-card,
[data-theme="light"] .timeline-content,
[data-theme="light"] .edu-card,
[data-theme="light"] .service-card,
[data-theme="light"] .workshop-card,
[data-theme="light"] .contact-info-card,
[data-theme="light"] .form-container {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .service-card.featured {
  background: linear-gradient(180deg, #ffffff 0%, rgba(2, 132, 199, 0.04) 100%);
  border-color: rgba(2, 132, 199, 0.35);
  box-shadow: 0 10px 35px rgba(2, 132, 199, 0.1);
}

[data-theme="light"] .bond-title,
[data-theme="light"] .timeline-role,
[data-theme="light"] .edu-title,
[data-theme="light"] .service-name,
[data-theme="light"] .workshop-title,
[data-theme="light"] .contact-info-card h3,
[data-theme="light"] .direct-text strong {
  color: #0f172a;
}

[data-theme="light"] .timeline-dot {
  background: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 0 10px rgba(2, 132, 199, 0.3);
}

[data-theme="light"] .timeline-date {
  background: #f1f5f9;
  color: #475569;
}

[data-theme="light"] .direct-item {
  background: #f8fafc;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .direct-item:hover {
  background: #f0fdf4;
  border-color: rgba(16, 185, 129, 0.3);
}

[data-theme="light"] .form-input,
[data-theme="light"] .form-select,
[data-theme="light"] .form-textarea {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #0f172a;
}

[data-theme="light"] .form-input:focus,
[data-theme="light"] .form-select:focus,
[data-theme="light"] .form-textarea:focus {
  background: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

[data-theme="light"] .btn-outline {
  background: #ffffff;
  color: #0f172a;
  border-color: #cbd5e1;
}

[data-theme="light"] .btn-outline:hover {
  background: #f8fafc;
  border-color: #0284c7;
  color: #0284c7;
}

[data-theme="light"] .signature-img {
  filter: none;
  opacity: 0.88;
}

[data-theme="light"] .nav-menu {
  background: rgba(255, 255, 255, 0.98);
}

[data-theme="light"] .footer {
  background: #090d16;
}

