/* Variables */
:root {
  --ws-blue:       #1565ff;
  --ws-blue-mid:   #0d47d9;
  --ws-blue-dark:  #0a35a8;
  --ws-navy:       #06091a;
  --ws-navy-2:     #0a0f22;
  --ws-navy-3:     #0d1530;
  --ws-card:       rgba(255,255,255,0.04);
  --ws-card-hover: rgba(21,101,255,0.08);
  --ws-border:     rgba(21,101,255,0.12);
  --ws-text:       #dce8ff;
  --ws-text-muted: #7d99cc;
  --ws-gradient:   linear-gradient(135deg, #1565ff 0%, #0d90ff 100%);
  --ws-gradient-h: linear-gradient(135deg, #0d90ff 0%, #1565ff 100%);
  --radius:        16px;
  --radius-lg:     24px;
  --shadow:        0 8px 32px rgba(0,0,0,0.5);
  --shadow-blue:   0 0 40px rgba(21,101,255,0.25);
  --transition:    0.3s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Poppins', system-ui, sans-serif;
  background-color: var(--ws-navy);
  color: var(--ws-text);
  overflow-x: hidden;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }

img { max-width: 100%; }

.py-6 { padding-top: 5rem; padding-bottom: 5rem; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--ws-navy); }
::-webkit-scrollbar-thumb { background: var(--ws-blue); border-radius: 3px; }

/* Utilidades */
.gradient-text {
  background: var(--ws-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  min-height: 1.15em;
}

.brand-accent { color: var(--ws-blue); }

.section-dark  { background: var(--ws-navy-2); }
.section-light { background: var(--ws-navy-3); }

/* Botones */
.btn-ws-primary {
  background: var(--ws-gradient);
  border: none;
  color: #fff;
  font-weight: 600;
  border-radius: 50px;
  padding: 0.6rem 1.6rem;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(26,109,255,0.35);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn-ws-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ws-gradient-h);
  opacity: 0;
  transition: var(--transition);
  z-index: -1;
}
.btn-ws-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(26,109,255,0.5); }
.btn-ws-primary:hover::after { opacity: 1; }
.btn-ws-primary span, .btn-ws-primary i { position: relative; }

.btn-ws-outline {
  border: 2px solid rgba(26,109,255,0.5);
  color: var(--ws-blue);
  background: transparent;
  border-radius: 50px;
  padding: 0.6rem 1.6rem;
  font-weight: 600;
  transition: var(--transition);
}
.btn-ws-outline:hover {
  background: rgba(26,109,255,0.12);
  border-color: var(--ws-blue);
  color: var(--ws-blue);
  transform: translateY(-2px);
}

/* Navbar */
#mainNav {
  background: rgba(8,13,26,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--ws-border);
  transition: var(--transition);
  padding: 0.75rem 0;
}

#mainNav.scrolled {
  background: rgba(8,13,26,0.97);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.nav-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.brand-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
}

.navbar-nav .nav-link {
  color: var(--ws-text-muted) !important;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 0.75rem !important;
  border-radius: 8px;
  transition: var(--transition);
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: #fff !important; background: rgba(26,109,255,0.15); }

/* Hero */
.hero-section {
  min-height: 100vh;
  background: var(--ws-navy);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: 72px;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(21,101,255,0.10) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 20% 70%, rgba(13,144,255,0.07) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--ws-blue);
  opacity: 0;
  animation: float-particle linear infinite;
}

@keyframes float-particle {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.2; }
  100% { transform: translateY(-100px) scale(1); opacity: 0; }
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.orb-1 {
  width: 600px; height: 600px;
  background: rgba(21,101,255,0.14);
  top: -200px; right: -100px;
  animation: orb-pulse 8s ease-in-out infinite;
}
.orb-2 {
  width: 400px; height: 400px;
  background: rgba(13,144,255,0.09);
  bottom: -100px; left: -100px;
  animation: orb-pulse 10s ease-in-out infinite reverse;
}
.orb-3 {
  width: 300px; height: 300px;
  background: rgba(21,101,255,0.06);
  top: 50%; left: 40%;
  animation: orb-pulse 12s ease-in-out infinite;
}

@keyframes orb-pulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50%       { transform: scale(1.2); opacity: 1; }
}

.hero-content { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(26,109,255,0.12);
  border: 1px solid rgba(26,109,255,0.3);
  color: var(--ws-blue);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  letter-spacing: 0.5px;
  animation: fadeInDown 0.6s ease both;
}

.hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  animation: fadeInUp 0.7s ease 0.1s both;
  min-height: calc(clamp(2.5rem, 5vw, 4rem) * 1.15 * 2.4);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--ws-text-muted);
  max-width: 520px;
  animation: fadeInUp 0.7s ease 0.2s both;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  animation: fadeInUp 0.7s ease 0.3s both;
}

.chip {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--ws-border);
  color: var(--ws-text-muted);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  transition: var(--transition);
}
.chip:hover { background: rgba(26,109,255,0.12); border-color: rgba(26,109,255,0.4); color: var(--ws-blue); }

.hero-logo-wrapper {
  position: relative;
  width: 260px;
  height: 260px;
  margin: 0 auto;
  animation: fadeInScale 1s ease 0.3s both;
}

.hero-logo {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 2;
  display: block;
  filter: drop-shadow(0 0 30px rgba(21,101,255,0.5));
  animation: logo-float 6s ease-in-out infinite;
}

.logo-placeholder {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: var(--ws-gradient);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  animation: logo-float 6s ease-in-out infinite;
}
.logo-placeholder span { font-size: 4rem; font-weight: 900; color: #fff; line-height: 1; }
.logo-placeholder small { font-size: 1.2rem; color: rgba(255,255,255,0.7); font-weight: 700; }

@keyframes logo-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}

.logo-glow {
  position: absolute;
  inset: -15px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21,101,255,0.4) 0%, transparent 70%);
  filter: blur(20px);
  z-index: 1;
  animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.5; transform: scale(0.95); }
  50%       { opacity: 1; transform: scale(1.05); }
}

.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(21,101,255,0.2);
  pointer-events: none;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.orbit-1 {
  width: 310px; height: 310px;
  animation: orbit-spin 20s linear infinite;
}
.orbit-2 {
  width: 370px; height: 370px;
  animation: orbit-spin 30s linear infinite reverse;
  border-color: rgba(13,144,255,0.12);
}

@keyframes orbit-spin { to { transform: translate(-50%,-50%) rotate(360deg); } }

.orbit-dot {
  position: absolute;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ws-blue);
  top: -3px; left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 8px var(--ws-blue);
}
.orbit-2 .orbit-dot { background: #0d90ff; box-shadow: 0 0 8px #0d90ff; }

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--ws-text-muted);
  font-size: 0.75rem;
  animation: fadeInUp 1s ease 1s both;
  white-space: nowrap;
}
.scroll-arrow {
  margin-top: 0.25rem;
  font-size: 1.2rem;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}

/* Banner */
.banner-section {
  width: 100%;
  overflow: hidden;
  background: var(--ws-navy-2);
  border-top: 1px solid rgba(21,101,255,0.15);
  border-bottom: 1px solid rgba(21,101,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}
.banner-img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  object-position: center;
  display: block;
}
.banner-hidden { display: none !important; }

/* Estadísticas */
.stats-section { background: var(--ws-navy); }

.stat-card {
  background: var(--ws-card);
  border: 1px solid var(--ws-border);
  border-radius: var(--radius);
  padding: 2rem 1rem;
  transition: var(--transition);
}
.stat-card:hover {
  background: var(--ws-card-hover);
  border-color: rgba(26,109,255,0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-blue);
}
.stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  background: var(--ws-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-number::after { content: '+'; }
.stat-label { color: var(--ws-text-muted); font-size: 0.85rem; font-weight: 500; }

/* Sección: cabeceras */
.section-badge {
  display: inline-block;
  background: rgba(26,109,255,0.12);
  border: 1px solid rgba(26,109,255,0.25);
  color: var(--ws-blue);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
}
.section-subtitle {
  color: var(--ws-text-muted);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1rem;
}

/* Servicios */
.service-card {
  background: var(--ws-card);
  border: 1px solid var(--ws-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  cursor: default;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ws-gradient);
  opacity: 0;
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(26,109,255,0.4);
  box-shadow: var(--shadow-blue);
}
.service-card:hover::before { opacity: 0.05; }

.service-card-featured {
  border-color: rgba(21,101,255,0.35);
  background: linear-gradient(135deg,
    rgba(21,101,255,0.09) 0%,
    rgba(13,144,255,0.06) 100%);
}

.service-icon-wrap {
  width: 60px; height: 60px;
  border-radius: 16px;
  background: var(--ws-gradient);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  position: relative; z-index: 1;
}
.service-icon { font-size: 1.6rem; color: #fff; }

.service-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
  position: relative; z-index: 1;
}
.service-desc {
  font-size: 0.88rem;
  color: var(--ws-text-muted);
  margin-bottom: 1rem;
  position: relative; z-index: 1;
}
.service-list {
  list-style: none;
  padding: 0;
  position: relative; z-index: 1;
}
.service-list li {
  font-size: 0.85rem;
  color: var(--ws-text-muted);
  padding: 0.25rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.service-list .bi-check-circle-fill { color: var(--ws-blue); font-size: 0.75rem; }

.featured-badge {
  position: absolute;
  top: 1rem; right: 1rem;
  background: var(--ws-gradient);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.7rem;
  border-radius: 50px;
  z-index: 2;
}

/* Portafolio */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}
.filter-btn {
  background: var(--ws-card);
  border: 1px solid var(--ws-border);
  color: var(--ws-text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 1.1rem;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--ws-gradient);
  border-color: transparent;
  color: #fff;
}

.portfolio-card {
  background: var(--ws-card);
  border: 1px solid var(--ws-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  transition: var(--transition);
}
.portfolio-card:hover {
  transform: translateY(-6px);
  border-color: rgba(26,109,255,0.35);
  box-shadow: var(--shadow-blue);
}

.portfolio-thumb {
  position: relative;
  height: 200px;
  background: var(--ws-navy-3);
  overflow: hidden;
}
.portfolio-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.portfolio-card:hover .portfolio-img { transform: scale(1.05); }

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8,13,26,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.portfolio-card:hover .portfolio-overlay { opacity: 1; }

.thumb-placeholder {
  background: linear-gradient(135deg, var(--ws-navy-2), var(--ws-navy-3));
  display: flex;
  align-items: center;
  justify-content: center;
}
.thumb-placeholder::after {
  content: '\F3A5';
  font-family: 'Bootstrap Icons';
  font-size: 3rem;
  color: rgba(255,255,255,0.1);
}

.portfolio-info { padding: 1.25rem; }
.portfolio-title { font-size: 0.95rem; font-weight: 700; color: #fff; margin-bottom: 0.4rem; }
.portfolio-desc  { font-size: 0.82rem; color: var(--ws-text-muted); margin-bottom: 0.75rem; }

.portfolio-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.tech-tag {
  background: rgba(26,109,255,0.12);
  border: 1px solid rgba(26,109,255,0.2);
  color: var(--ws-blue);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.15rem 0.6rem;
  border-radius: 50px;
}
.tech-tag-db {
  background: rgba(13,144,255,0.12);
  border-color: rgba(13,144,255,0.2);
  color: #5bbfff;
}

/* Bases de datos */
.privacy-notice {
  background: rgba(26,109,255,0.07);
  border: 1px solid rgba(26,109,255,0.2);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}
.privacy-icon { font-size: 2.5rem; color: var(--ws-blue); flex-shrink: 0; }

.db-card {
  background: var(--ws-card);
  border: 1px solid var(--ws-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  transition: var(--transition);
}
.db-card:hover {
  transform: translateY(-6px);
  border-color: rgba(21,101,255,0.35);
  box-shadow: 0 0 40px rgba(21,101,255,0.18);
}

.db-thumb {
  position: relative;
  height: 200px;
  background: var(--ws-navy-3);
  overflow: hidden;
}
.db-img { width: 100%; height: 100%; object-fit: cover; filter: blur(3px) brightness(0.6); transition: var(--transition); }
.db-card:hover .db-img { filter: blur(1px) brightness(0.7); }

.db-privacy-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.db-privacy-overlay i { font-size: 2rem; color: rgba(255,255,255,0.5); }

.db-placeholder {
  background: linear-gradient(135deg, #0a0f22, #0d1530);
}
.db-placeholder::after {
  content: '\F36A';
  font-family: 'Bootstrap Icons';
  font-size: 3rem;
  color: rgba(21,101,255,0.3);
  position: absolute;
}

.db-info { padding: 1.25rem; }
.db-title { font-size: 0.95rem; font-weight: 700; color: #fff; margin-bottom: 0.4rem; }
.db-desc  { font-size: 0.82rem; color: var(--ws-text-muted); margin-bottom: 0.75rem; }

.tech-stack-section { border-top: 1px solid var(--ws-border); padding-top: 3rem; }
.tech-stack-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.tech-item {
  background: var(--ws-card);
  border: 1px solid var(--ws-border);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: var(--transition);
  cursor: default;
  flex: 0 0 130px;
  min-width: 110px;
}
.tech-item:hover {
  background: rgba(21,101,255,0.1);
  border-color: rgba(21,101,255,0.3);
  transform: translateY(-3px);
}
.tech-item i { font-size: 1.5rem; color: var(--ws-blue); display: block; margin-bottom: 0.4rem; }
.tech-item span { font-size: 0.78rem; font-weight: 600; color: var(--ws-text-muted); }

/* Empty state */
.empty-state {
  background: var(--ws-card);
  border: 1px dashed var(--ws-border);
  border-radius: var(--radius-lg);
  padding: 3rem;
}
.empty-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  background: var(--ws-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.empty-state h4 { color: #fff; font-weight: 700; margin-bottom: 0.5rem; }
.empty-state p { color: var(--ws-text-muted); }
.empty-state code {
  background: rgba(26,109,255,0.12);
  color: var(--ws-blue);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-size: 0.85rem;
}

/* Por qué elegirnos */
.value-list { display: flex; flex-direction: column; gap: 1.5rem; }
.value-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.25rem;
  background: var(--ws-card);
  border: 1px solid var(--ws-border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.value-item:hover {
  border-color: rgba(26,109,255,0.3);
  background: var(--ws-card-hover);
  transform: translateX(6px);
}
.value-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--ws-gradient);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  flex-shrink: 0;
}
.value-item h5 { font-size: 0.95rem; font-weight: 700; color: #fff; margin-bottom: 0.25rem; }
.value-item p  { font-size: 0.83rem; color: var(--ws-text-muted); margin: 0; }

.code-window {
  background: #0d1117;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.code-header {
  background: #161b22;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.dot-red    { background: #ff5f56; }
.dot-yellow { background: #febc2e; }
.dot-green  { background: #28c840; }
.code-title {
  margin-left: auto;
  font-size: 0.78rem;
  color: var(--ws-text-muted);
  font-family: 'Courier New', monospace;
}
.code-body { padding: 1.5rem; }
.code-text {
  font-family: 'Courier New', monospace;
  font-size: 0.82rem;
  line-height: 1.7;
  color: #e6edf3;
  margin: 0;
  white-space: pre;
  overflow-x: auto;
}
.code-keyword { color: #ff7b72; }
.code-class   { color: #ffa657; }
.code-string  { color: #a5d6ff; }
.code-func    { color: #d2a8ff; }

/* Contacto */
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--ws-card);
  border: 1px solid var(--ws-border);
  border-radius: var(--radius-lg);
  height: 100%;
  transition: var(--transition);
  color: var(--ws-text);
}
.contact-card:hover { transform: translateY(-8px); color: var(--ws-text); }

.contact-wa:hover  { border-color: #25D366; box-shadow: 0 0 40px rgba(37,211,102,0.2); }
.contact-ig:hover  { border-color: #E1306C; box-shadow: 0 0 40px rgba(225,48,108,0.2); }
.contact-email:hover { border-color: var(--ws-blue); box-shadow: var(--shadow-blue); }

.contact-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.25rem;
}
.contact-wa .contact-icon  { background: rgba(37,211,102,0.12); color: #25D366; }
.contact-ig .contact-icon  { background: rgba(225,48,108,0.12);  color: #E1306C; }
.contact-email .contact-icon { background: rgba(26,109,255,0.12); color: var(--ws-blue); }

.contact-card h4 { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 0.3rem; }
.contact-card p  { font-size: 0.9rem; color: var(--ws-text-muted); margin-bottom: auto; }
.contact-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ws-blue);
  transition: var(--transition);
}
.contact-card:hover .contact-cta { gap: 0.7rem; }

.quote-form-wrapper {
  background: var(--ws-card);
  border: 1px solid var(--ws-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 700px;
  margin: 0 auto;
}

.ws-input {
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid var(--ws-border) !important;
  color: #fff !important;
  border-radius: 10px !important;
  padding: 0.75rem 1rem !important;
  transition: var(--transition) !important;
}
.ws-input::placeholder { color: var(--ws-text-muted) !important; }
.ws-input:focus {
  background: rgba(26,109,255,0.07) !important;
  border-color: rgba(26,109,255,0.5) !important;
  box-shadow: 0 0 0 3px rgba(26,109,255,0.1) !important;
  outline: none;
}
.ws-input option { background: var(--ws-navy-2); color: #fff; }

.form-success-msg {
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  color: #4ade80;
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  margin-top: 1rem;
  font-weight: 600;
}

/* Footer */
.footer {
  background: var(--ws-navy);
  border-top: 1px solid var(--ws-border);
  padding: 3rem 0 1.5rem;
}
.footer-logo {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.footer-brand {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}
.footer-tagline { color: var(--ws-text-muted); font-size: 0.82rem; margin-top: 0.25rem; margin-left: 52px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.footer-links a { color: var(--ws-text-muted); font-size: 0.85rem; transition: var(--transition); }
.footer-links a:hover { color: var(--ws-blue); }
.footer-social { display: flex; gap: 0.75rem; justify-content: center; justify-content: flex-end; }
.social-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--ws-border);
  background: var(--ws-card);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--ws-text-muted);
  transition: var(--transition);
}
.social-wa:hover  { background: #25D366; border-color: #25D366; color: #fff; transform: translateY(-3px); }
.social-ig:hover  { background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); border-color: transparent; color: #fff; transform: translateY(-3px); }
.footer-divider { border-color: var(--ws-border); margin: 1.5rem 0; }
.footer-copy { color: var(--ws-text-muted); font-size: 0.82rem; }
.footer-flag { margin-left: 0.35rem; }

/* WhatsApp flotante */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  font-size: 1.75rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 25px rgba(37,211,102,0.4);
  z-index: 9999;
  transition: var(--transition);
  animation: wa-bounce 3s ease-in-out infinite;
}
.wa-float:hover {
  color: #fff;
  transform: scale(1.15);
  box-shadow: 0 12px 35px rgba(37,211,102,0.6);
  animation: none;
}
.wa-tooltip {
  position: absolute;
  right: 70px;
  background: rgba(8,13,26,0.95);
  border: 1px solid var(--ws-border);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
  pointer-events: none;
}
.wa-float:hover .wa-tooltip { opacity: 1; transform: translateX(0); }

@keyframes wa-bounce {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.08); }
}

/* Animaciones */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.85); }
  to   { opacity: 1; transform: scale(1); }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stat sin símbolo + */
.stat-number.stat-no-plus::after { content: ''; }

/* Experiencia */
.exp-card {
  display: flex;
  gap: 1rem;
  background: var(--ws-card);
  border: 1px solid var(--ws-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  height: 100%;
  transition: var(--transition);
}
.exp-card:hover {
  border-color: rgba(26,109,255,0.35);
  background: var(--ws-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-blue);
}
.exp-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--ws-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  flex-shrink: 0;
}
.exp-body { flex: 1; min-width: 0; }
.exp-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: 50px;
  margin-bottom: 0.4rem;
  letter-spacing: 0.3px;
}
.exp-badge-habilidad   { background: rgba(21,101,255,0.15);  color: #5b9fff; }
.exp-badge-herramienta { background: rgba(13,144,255,0.15);  color: #5bbfff; }
.exp-badge-certificado { background: rgba(34,197,94,0.12);   color: #4ade80; }
.exp-badge-logro       { background: rgba(251,191,36,0.12);  color: #fbbf24; }
.exp-title { font-size: 0.92rem; font-weight: 700; color: #fff; margin-bottom: 0.3rem; }
.exp-desc  { font-size: 0.8rem;  color: var(--ws-text-muted); margin-bottom: 0.5rem; }
.exp-level { display: flex; align-items: center; gap: 0.6rem; }
.level-bar {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}
.level-fill {
  height: 100%;
  background: var(--ws-gradient);
  border-radius: 2px;
}
.level-label { font-size: 0.7rem; color: var(--ws-text-muted); white-space: nowrap; }

/* Admin nav */
.admin-nav-link {
  background: rgba(251,191,36,0.08) !important;
  border: 1px solid rgba(251,191,36,0.2) !important;
  color: #fbbf24 !important;
  border-radius: 8px !important;
}
.admin-nav-link:hover {
  background: rgba(251,191,36,0.18) !important;
  border-color: rgba(251,191,36,0.4) !important;
  color: #fbbf24 !important;
}

/* Banner cookies */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(6,9,26,0.97);
  border-top: 1px solid var(--ws-border);
  padding: 1rem 1.5rem;
  z-index: 10000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-text {
  flex: 1;
  min-width: 220px;
  font-size: 0.83rem;
  color: var(--ws-text-muted);
}
.cookie-text a { color: var(--ws-blue); text-decoration: underline; }
.cookie-actions { display: flex; gap: 0.5rem; flex-shrink: 0; }
.cookie-accept {
  background: var(--ws-gradient);
  border: none;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.45rem 1.2rem;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}
.cookie-accept:hover { opacity: 0.9; transform: translateY(-1px); }
.cookie-decline {
  background: transparent;
  border: 1px solid var(--ws-border);
  color: var(--ws-text-muted);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.45rem 1.2rem;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}
.cookie-decline:hover { border-color: rgba(255,255,255,0.25); color: #fff; }

/* Footer legal */
.footer-legal-link {
  color: var(--ws-text-muted);
  font-size: 0.82rem;
  transition: var(--transition);
}
.footer-legal-link:hover { color: var(--ws-blue); }

/* Responsive */
@media (max-width: 991px) {
  .hero-logo-wrapper { width: 200px; height: 200px; }
  .hero-logo { width: 200px; height: 200px; }
  .logo-placeholder { width: 200px; height: 200px; }
  .orbit-1 { width: 240px; height: 240px; animation: orbit-spin 7s linear infinite; }
  .orbit-2 { width: 290px; height: 290px; animation: orbit-spin 10s linear infinite reverse; }
  .orbit, .orbit-dot { will-change: transform; }
}

@media (max-width: 768px) {
  .footer-social { justify-content: center; }
  .wa-float { bottom: 1.5rem; right: 1.5rem; width: 54px; height: 54px; font-size: 1.5rem; }
  .quote-form-wrapper { padding: 1.5rem; }
}

/* Modal proyecto */
.modal-backdrop { backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

.ws-modal-content { background: var(--ws-navy-3) !important; border: 1px solid var(--ws-border) !important; border-radius: var(--radius-lg) !important; overflow: hidden; }

.ws-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 10;
  background: rgba(0,0,0,0.55);
  border: 1px solid var(--ws-border);
  color: #fff;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition);
  line-height: 1;
}
.ws-modal-close:hover { background: rgba(21,101,255,0.35); border-color: var(--ws-blue); }

.ws-modal-img { width: 100%; max-height: 320px; object-fit: cover; display: block; }

.ws-modal-body { padding: 1.75rem; }

.ws-modal-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.ws-modal-desc {
  font-size: 0.9rem;
  color: var(--ws-text-muted);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.stat-text {
  font-family: 'Poppins', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  background: var(--ws-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
}

/* Navbar brand fix */
.brand-text { white-space: nowrap; }

/* Cookie cards */
.cookie-cards { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 0.75rem; }
.cookie-card-item {
  background: rgba(21,101,255,0.04);
  border: 1px solid rgba(21,101,255,0.12);
  border-radius: 12px;
  padding: 1rem 1.25rem;
}
.cookie-card-item code {
  font-size: 0.82rem;
  color: #7bbfff;
  background: rgba(21,101,255,0.1);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
}
.cookie-card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}
.cookie-card-desc {
  font-size: 0.82rem;
  color: var(--ws-text-muted);
  line-height: 1.6;
  margin: 0;
}
.cookie-card-duration {
  font-size: 0.75rem;
  color: var(--ws-text-muted);
  margin-top: 0.4rem;
  display: block;
}

@media (max-width: 480px) {
  .scroll-indicator { display: none; }
  .hero-section { padding-top: 76px; }
}
