/* ==========================================================================
   TELECLIM Premium v3.0 — Componentes UI
   ========================================================================== */

/* ==========================================================================
   1. NAVBAR
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
  padding: 0.8rem 0;
  background: rgba(5, 13, 26, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 174, 239, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-logo {
  text-decoration: none;
  z-index: 1001;
}

.logo-text {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 900;
  color: var(--color-text-primary);
  letter-spacing: 4px;
}

.logo-accent {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: var(--space-xl);
  margin: 0;
  padding: 0;
}

.nav-link {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  transition: color 0.3s ease;
  text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-accent-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  transition: width 0.3s ease;
  border-radius: 1px;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px;
  font-size: var(--text-sm);
  border-radius: var(--radius-full);
}

/* --- Hamburger --- */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 4px;
}

.hamburger .bar {
  width: 28px;
  height: 2px;
  background: var(--color-text-primary);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.hamburger.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* --- Menú Móvil Overlay --- */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 13, 26, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-overlay .nav-links {
  flex-direction: column;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.mobile-link {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
  letter-spacing: 2px;
}

.mobile-link:hover {
  color: var(--color-accent-primary);
}

/* ==========================================================================
   2. BOTONES
   ========================================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
  z-index: 1;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--gradient-accent);
  color: #050D1A;
  box-shadow: 0 4px 20px rgba(0, 174, 239, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 174, 239, 0.5);
  color: #050D1A;
}

.btn-secondary {
  background: transparent;
  color: var(--color-accent-primary);
  border: 2px solid var(--color-accent-primary);
}

.btn-secondary:hover {
  background: rgba(0, 174, 239, 0.1);
  transform: translateY(-3px);
  color: var(--color-accent-primary);
}

.btn-lg {
  padding: 16px 40px;
  font-size: var(--text-lg);
}

.btn-icon {
  transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

/* ==========================================================================
   3. GLASSMORPHISM CARD
   ========================================================================== */
.glass-card {
  position: relative;
  background: var(--color-bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--border-glow);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 174, 239, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.glass-card:hover {
  border-color: var(--color-accent-primary);
  box-shadow: var(--shadow-glow);
  transform: translateY(-8px);
}

.glass-card:hover::before {
  opacity: 1;
}

/* ==========================================================================
   4. BADGE TÉCNICO
   ========================================================================== */
.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: rgba(0, 174, 239, 0.1);
  border: 1px solid rgba(0, 174, 239, 0.3);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--color-accent-primary);
  white-space: nowrap;
}

/* ==========================================================================
   5. STAT COUNTER
   ========================================================================== */
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: var(--space-sm);
}

/* ==========================================================================
   6. HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 100px;
  overflow: hidden;
  background: var(--color-bg-primary);
}

/* Fondo de rejilla animada */
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0, 174, 239, 0.15) 1px, transparent 1px);
  background-size: 30px 30px;
  animation: gridMove 20s linear infinite;
  pointer-events: none;
}

/* Glow central decorativo */
.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: var(--gradient-glow);
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.5;
}

.hero-container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: rgba(0, 174, 239, 0.1);
  border: 1px solid rgba(0, 174, 239, 0.3);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--color-accent-primary);
  margin-bottom: var(--space-xl);
}

.hero-title {
  font-size: var(--text-hero);
  font-weight: 900;
  margin-bottom: var(--space-lg);
  letter-spacing: 2px;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  max-width: 700px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
  margin-top: var(--space-4xl);
  text-align: center;
}

.stat-item {
  padding: var(--space-lg);
}

/* Indicador de scroll */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.scroll-indicator span {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.mouse {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(0, 174, 239, 0.4);
  border-radius: 12px;
  position: relative;
}

.mouse .wheel {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  background: var(--color-accent-primary);
  border-radius: 2px;
  animation: scrollWheel 1.5s ease-in-out infinite;
}

/* ==========================================================================
   7. ABOUT / NOSOTROS
   ========================================================================== */
.about-section {
  padding: var(--space-5xl) 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.about-text p {
  font-size: var(--text-base);
  margin-bottom: var(--space-lg);
}

.about-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.feature-item {
  text-align: center;
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.feature-item:hover {
  border-color: rgba(0, 174, 239, 0.3);
  background: rgba(0, 174, 239, 0.05);
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(0, 174, 239, 0.1);
  font-size: 1.5rem;
  color: var(--color-accent-primary);
}

.feature-item h4 {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0;
}

/* Visual tech animado */
.about-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.tech-illustration {
  position: relative;
  width: 350px;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 174, 239, 0.15);
}

.tech-circle:nth-child(1) {
  width: 100%;
  height: 100%;
  animation: rotateSlow 25s linear infinite;
}

.tech-circle:nth-child(2) {
  width: 75%;
  height: 75%;
  animation: rotateSlow 18s linear infinite reverse;
  border-color: rgba(0, 229, 160, 0.15);
}

.tech-circle:nth-child(3) {
  width: 50%;
  height: 50%;
  animation: rotateSlow 12s linear infinite;
  border-color: rgba(0, 174, 239, 0.25);
}

.center-icon {
  position: relative;
  z-index: 2;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 174, 239, 0.1);
  border: 1px solid rgba(0, 174, 239, 0.3);
  border-radius: var(--radius-lg);
  font-size: 2rem;
  color: var(--color-accent-primary);
  animation: floatAnimation 3s ease-in-out infinite;
}

/* ==========================================================================
   8. SERVICIOS — Tabs + Grid
   ========================================================================== */
.services-section {
  padding: var(--space-5xl) 0;
  background: var(--color-bg-secondary);
}

.services-tabs {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-3xl);
  flex-wrap: wrap;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-text-secondary);
  padding: 14px 28px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
}

.tab-btn:hover {
  border-color: var(--color-accent-primary);
  color: var(--color-accent-primary);
}

.tab-btn.active {
  background: var(--gradient-accent);
  color: #050D1A;
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(0, 174, 239, 0.3);
}

.tab-btn i {
  font-size: 1.1rem;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: fadeIn 0.5s ease-out;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-xl);
}

/* --- Tarjeta de servicio --- */
.service-card {
  padding: var(--space-2xl);
  text-align: left;
}

.card-icon-wrapper {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(0, 174, 239, 0.1);
  margin-bottom: var(--space-lg);
  font-size: 1.5rem;
  color: var(--color-accent-primary);
  transition: all 0.3s ease;
}

.service-card:hover .card-icon-wrapper {
  background: var(--gradient-accent);
  color: #050D1A;
  transform: scale(1.1);
}

.card-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(0, 229, 160, 0.1);
  border: 1px solid rgba(0, 229, 160, 0.3);
  color: var(--color-accent-secondary);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-lg);
}

.service-card h3 {
  font-family: var(--font-body);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.service-card p {
  font-size: var(--text-sm);
  margin-bottom: var(--space-lg);
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-features li {
  position: relative;
  padding-left: 24px;
  margin-bottom: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.service-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient-accent);
}

/* ==========================================================================
   9. BLUEPRINT / CUARTOS DE COMUNICACIONES
   ========================================================================== */
.blueprint-section {
  padding: var(--space-5xl) 0;
  background: var(--color-bg-primary);
}

.blueprint-header {
  margin-bottom: var(--space-4xl);
}

.blueprint-timeline {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  position: relative;
  margin-bottom: var(--space-4xl);
}

.timeline-step {
  flex: 1;
  max-width: 280px;
  text-align: center;
  padding: var(--space-xl);
  position: relative;
}

.step-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  display: block;
}

.timeline-step h4 {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--color-text-primary);
}

.timeline-step ul {
  list-style: none;
  padding: 0;
}

.timeline-step li {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xs);
}

.timeline-connector {
  width: 60px;
  height: 2px;
  background: var(--gradient-accent);
  margin-top: 3.5rem;
  flex-shrink: 0;
  position: relative;
}

.timeline-connector::after {
  content: '';
  position: absolute;
  right: -4px;
  top: -4px;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--color-accent-primary);
  border-top: 2px solid var(--color-accent-primary);
  transform: rotate(45deg);
}

/* Specs con badges técnicos */
.blueprint-specs {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
  margin-bottom: var(--space-3xl);
}

.spec-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: var(--space-lg) var(--space-xl);
  background: rgba(0, 174, 239, 0.05);
  border: 1px solid rgba(0, 174, 239, 0.2);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.spec-badge:hover {
  border-color: var(--color-accent-primary);
  box-shadow: var(--shadow-glow);
}

.spec-value {
  font-family: var(--font-mono);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-accent-primary);
}

.spec-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Cita central */
.blueprint-quote {
  text-align: center;
  padding: var(--space-3xl) 0;
  position: relative;
}

.blueprint-quote blockquote {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--color-text-primary);
  font-style: italic;
  position: relative;
  display: inline-block;
}

.blueprint-quote blockquote::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--color-accent-primary);
  position: absolute;
  top: -20px;
  left: -30px;
  opacity: 0.5;
}

/* ==========================================================================
   10. EQUIPO — Swiper Carrusel
   ========================================================================== */
.team-section {
  padding: var(--space-5xl) 0;
  background: var(--color-bg-secondary);
}

.section-header {
  margin-bottom: var(--space-4xl);
}

.team-swiper {
  padding-bottom: var(--space-3xl);
}

.team-card {
  text-align: center;
  padding: var(--space-2xl) var(--space-xl);
}

.team-avatar {
  width: 100px;
  height: 100px;
  margin: 0 auto var(--space-lg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  background: rgba(0, 174, 239, 0.1);
  border: 2px solid rgba(0, 174, 239, 0.3);
}

.team-card h3 {
  font-family: var(--font-body);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.skill-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  background: rgba(0, 229, 160, 0.1);
  border: 1px solid rgba(0, 229, 160, 0.3);
  color: var(--color-accent-secondary);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  margin-bottom: var(--space-lg);
}

.team-desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-md);
}

.team-vendors {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-family: var(--font-mono);
}

/* Swiper personalización */
.team-swiper .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.3);
  opacity: 1;
}

.team-swiper .swiper-pagination-bullet-active {
  background: var(--color-accent-primary);
  width: 24px;
  border-radius: var(--radius-full);
}

.team-swiper .swiper-button-prev,
.team-swiper .swiper-button-next {
  color: var(--color-accent-primary);
  width: 44px;
  height: 44px;
  background: rgba(0, 174, 239, 0.1);
  border-radius: 50%;
  border: 1px solid rgba(0, 174, 239, 0.3);
  transition: all 0.3s ease;
}

.team-swiper .swiper-button-prev:hover,
.team-swiper .swiper-button-next:hover {
  background: var(--color-accent-primary);
  color: #050D1A;
}

.team-swiper .swiper-button-prev::after,
.team-swiper .swiper-button-next::after {
  font-size: 1rem;
}

/* ==========================================================================
   11. METODOLOGÍA — Timeline Vertical
   ========================================================================== */
.methodology-section {
  padding: var(--space-5xl) 0;
  background: var(--color-bg-primary);
}

.methodology-timeline {
  position: relative;
  padding: var(--space-xl) 0;
}

/* Línea vertical central */
.methodology-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-accent-primary), var(--color-accent-secondary));
  transform: translateX(-50%);
  opacity: 0.3;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--space-3xl);
  position: relative;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

/* Alternar lados */
.timeline-item:nth-child(odd) {
  flex-direction: row;
  padding-right: calc(50% + 40px);
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
  padding-left: calc(50% + 40px);
}

.step-marker {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}

.step-number {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-bg-primary);
  border: 2px solid var(--color-accent-primary);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--color-accent-primary);
}

.step-content {
  flex: 1;
  padding: var(--space-xl);
}

.step-content .step-icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
  display: block;
}

.step-content h4 {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.step-content p {
  font-size: var(--text-sm);
  margin: 0;
}

/* ==========================================================================
   12. CONTACTO + CTA FINAL
   ========================================================================== */
.contact-section {
  padding: var(--space-5xl) 0;
  background: var(--gradient-main);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: start;
  margin-bottom: var(--space-4xl);
}

.contact-info h2 {
  margin-bottom: var(--space-lg);
}

.contact-info > p {
  margin-bottom: var(--space-2xl);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.contact-list .h-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(0, 174, 239, 0.1);
  color: var(--color-accent-primary);
  font-size: 1.2rem;
}

.contact-list h5 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-text-primary);
  margin-bottom: 2px;
}

.contact-list p {
  font-size: var(--text-sm);
  margin: 0;
}

/* Horarios */
.contact-schedule {
  margin-top: var(--space-2xl);
  padding: var(--space-lg);
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.schedule-title {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-md);
}

.schedule-row {
  display: flex;
  justify-content: space-between;
  padding: var(--space-xs) 0;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.schedule-row:last-child {
  border-bottom: none;
}

.schedule-row .day {
  font-weight: 500;
}

/* --- Formulario de Contacto --- */
.contact-form-wrapper form {
  padding: var(--space-2xl);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--space-sm);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 174, 239, 0.2);
  border-radius: var(--radius-md);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent-primary);
  box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-muted);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2300AEEF' d='M6 8.825L0.35 3.175l.7-.7L6 7.425l4.95-4.95.7.7z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-group select option {
  background: var(--color-bg-secondary);
  color: var(--color-text-primary);
}

.btn-submit {
  width: 100%;
  padding: 16px;
  font-size: var(--text-lg);
}

/* Estado del formulario */
.form-status {
  margin-top: var(--space-lg);
  padding: 0;
  font-size: var(--text-sm);
  text-align: center;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.form-status.success {
  padding: var(--space-md);
  background: rgba(0, 229, 160, 0.1);
  border: 1px solid rgba(0, 229, 160, 0.3);
  color: var(--color-accent-secondary);
}

.form-status.error {
  padding: var(--space-md);
  background: rgba(255, 71, 87, 0.1);
  border: 1px solid rgba(255, 71, 87, 0.3);
  color: var(--color-accent-danger);
}

/* --- CTA Final --- */
.final-cta {
  background: var(--gradient-accent);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl) var(--space-4xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.final-cta h3 {
  font-size: var(--text-2xl);
  color: #050D1A;
  margin-bottom: var(--space-sm);
}

.final-cta p {
  color: rgba(5, 13, 26, 0.7);
  font-size: var(--text-lg);
  margin-bottom: var(--space-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: #050D1A;
  color: var(--color-accent-primary);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: var(--text-base);
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.cta-btn-dark:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  color: var(--color-accent-primary);
}

/* ==========================================================================
   13. FOOTER
   ========================================================================== */
.site-footer {
  background: var(--color-bg-secondary);
  padding: var(--space-4xl) 0 0;
  border-top: 1px solid rgba(0, 174, 239, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer-brand .logo-text {
  display: inline-block;
  margin-bottom: var(--space-md);
}

.footer-tagline {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-accent-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--space-md);
}

.footer-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-text-secondary);
  transition: all 0.3s ease;
  font-size: 1rem;
}

.footer-social a:hover {
  background: var(--color-accent-primary);
  border-color: var(--color-accent-primary);
  color: #050D1A;
  transform: translateY(-3px);
}

.footer-grid h4 {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-xl);
  position: relative;
  padding-bottom: var(--space-md);
}

.footer-grid h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gradient-accent);
}

.footer-links ul,
.footer-services ul,
.footer-contact ul {
  list-style: none;
  padding: 0;
}

.footer-links li,
.footer-services li {
  margin-bottom: var(--space-sm);
}

.footer-links a,
.footer-services a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links a:hover,
.footer-services a:hover {
  color: var(--color-accent-primary);
  padding-left: 6px;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.footer-contact li i {
  color: var(--color-accent-primary);
  width: 18px;
  text-align: center;
}

.footer-contact a {
  color: var(--color-text-muted);
}

.footer-contact a:hover {
  color: var(--color-accent-primary);
}

/* --- Barra inferior --- */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-xl) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.footer-legal {
  display: flex;
  gap: var(--space-xl);
}

.footer-legal a {
  color: var(--color-text-muted);
  font-size: var(--text-xs);
}

.footer-legal a:hover {
  color: var(--color-accent-primary);
}

/* ==========================================================================
   14. RESPONSIVE — TABLET (max-width: 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
  }

  .about-visual {
    order: -1;
  }

  .tech-illustration {
    width: 250px;
    height: 250px;
  }

  .blueprint-timeline {
    flex-direction: column;
    align-items: center;
  }

  .timeline-connector {
    width: 2px;
    height: 40px;
    margin: 0;
  }

  .timeline-connector::after {
    right: -4px;
    top: auto;
    bottom: -4px;
    transform: rotate(135deg);
  }

  .timeline-step {
    max-width: 100%;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }

  /* Timeline metodología — convertir a una sola columna */
  .methodology-timeline::before {
    left: 24px;
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    flex-direction: row;
    padding-right: 0;
    padding-left: 80px;
  }

  .step-marker {
    left: 24px;
  }
}

/* ==========================================================================
   15. RESPONSIVE — MÓVIL (max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {
  section {
    padding: var(--space-4xl) 0;
  }

  .navbar-menu {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-title {
    font-size: var(--text-3xl);
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .about-features {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-tabs {
    flex-direction: column;
    align-items: center;
  }

  .tab-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: var(--space-md);
  }

  .blueprint-specs {
    flex-direction: column;
    align-items: center;
  }

  .spec-badge {
    width: 100%;
    max-width: 280px;
  }

  .methodology-timeline::before {
    left: 20px;
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    padding-left: 64px;
  }

  .step-marker {
    left: 20px;
  }

  .step-number {
    width: 40px;
    height: 40px;
    font-size: var(--text-sm);
  }
}

/* ==========================================================================
   16. RESPONSIVE — MÓVIL PEQUEÑO (max-width: 480px)
   ========================================================================== */
@media (max-width: 480px) {
  .hero-title {
    font-size: var(--text-2xl);
  }

  .section-title {
    font-size: var(--text-2xl);
  }

  .btn-lg {
    padding: 14px 28px;
    font-size: var(--text-base);
  }

  .final-cta {
    padding: var(--space-2xl) var(--space-lg);
  }
}

/* ==========================================================================
   17. HERO — Imagen de fondo real
   ========================================================================== */
.hero-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(5, 13, 26, 0.92) 0%,
    rgba(5, 13, 26, 0.80) 50%,
    rgba(5, 13, 26, 0.88) 100%
  );
  z-index: 1;
}

/* Ajustar z-index de elementos hijos del hero */
.hero-bg-grid { z-index: 2; }
.hero-glow    { z-index: 2; }
.hero-container { z-index: 3; }
.scroll-indicator { z-index: 3; }

/* ==========================================================================
   18. ABOUT — Imagen real con glow y badge
   ========================================================================== */
.about-img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 0 60px rgba(0, 174, 239, 0.15), 0 30px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(0, 174, 239, 0.2);
}

.about-img-wrapper img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.about-img-wrapper:hover img {
  transform: scale(1.03);
}

.about-img-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 60%,
    rgba(5, 13, 26, 0.7) 100%
  );
  pointer-events: none;
}

.about-img-badge {
  position: absolute;
  bottom: var(--space-lg);
  left: var(--space-lg);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(5, 13, 26, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 229, 160, 0.4);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  color: var(--color-accent-secondary);
  font-weight: 600;
}

.about-img-badge i {
  color: var(--color-accent-secondary);
}

/* ==========================================================================
   19. PROFILE BADGES — Datos clave de empresa
   ========================================================================== */
.profile-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin: var(--space-2xl) 0;
}

.profile-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-sm);
  padding: var(--space-lg) var(--space-md);
  background: rgba(0, 174, 239, 0.05);
  border: 1px solid rgba(0, 174, 239, 0.2);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.profile-badge:hover {
  background: rgba(0, 174, 239, 0.1);
  border-color: var(--color-accent-primary);
  transform: translateY(-4px);
}

.pb-value {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 900;
  color: var(--color-accent-primary);
  line-height: 1;
}

.pb-value i {
  font-size: 1.6rem;
}

.pb-label {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  line-height: 1.3;
}

/* ==========================================================================
   20. SERVICE SUBCATEGORY — Agrupación dentro de tarjetas
   ========================================================================== */
.service-subcategory {
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.service-subcategory:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.service-subcategory h5 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-accent-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: 6px;
}

.service-subcategory h5 i {
  font-size: 0.85rem;
}

/* Card destacada (LAN Analysis) */
.service-card--highlight {
  border-color: rgba(0, 174, 239, 0.4);
  background: linear-gradient(135deg, rgba(0, 174, 239, 0.06) 0%, rgba(5, 13, 26, 0.95) 100%);
}

.service-card--highlight::after {
  content: 'NUEVO';
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  padding: 3px 10px;
  background: var(--gradient-accent);
  color: #050D1A;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  border-radius: var(--radius-full);
}

.card-badge--new {
  background: rgba(0, 174, 239, 0.1);
  border-color: rgba(0, 174, 239, 0.3);
  color: var(--color-accent-primary);
}

.vendors-tag {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  margin-top: var(--space-lg);
  margin-bottom: 0;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.vendors-tag i {
  color: var(--color-accent-secondary);
  margin-right: 4px;
}

/* ==========================================================================
   21. IMAGE STRIP — Franja de imagen con overlay
   ========================================================================== */
.image-strip {
  position: relative;
  height: 360px;
  overflow: hidden;
}

.image-strip-inner {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  transition: transform 0.6s ease;
}

.image-strip:hover .image-strip-inner {
  transform: scale(1.02);
}

.image-strip-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(5, 13, 26, 0.92) 0%,
    rgba(5, 13, 26, 0.65) 100%
  );
  display: flex;
  align-items: center;
}

.strip-content {
  max-width: 640px;
}

.strip-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0, 174, 239, 0.15);
  border: 1px solid rgba(0, 174, 239, 0.3);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-accent-primary);
  margin-bottom: var(--space-lg);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.strip-content h3 {
  font-family: var(--font-body);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-xl);
  line-height: 1.3;
}

/* ==========================================================================
   22. CUARTOS — Foto real y timeline v2 vertical
   ========================================================================== */
.cuarto-photo-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-4xl);
  box-shadow: 0 0 80px rgba(0, 174, 239, 0.1), 0 40px 80px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(0, 174, 239, 0.15);
  max-height: 450px;
}

.cuarto-photo-wrapper img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  display: block;
}

.cuarto-photo-label {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(5, 13, 26, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 229, 160, 0.4);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  color: var(--color-accent-secondary);
  font-weight: 600;
}

.cuarto-photo-label i {
  color: var(--color-accent-secondary);
}

/* Timeline vertical v2 (5 pasos para cuartos) */
.blueprint-timeline-v2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-4xl);
}

.bpv2-step {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(0, 174, 239, 0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.bpv2-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--gradient-accent);
  border-radius: 0 2px 2px 0;
}

.bpv2-step:hover {
  border-color: rgba(0, 174, 239, 0.4);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.bpv2-icon {
  font-size: 2.2rem;
  margin-bottom: var(--space-md);
  display: block;
}

.bpv2-body h4 {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-md);
}

.bpv2-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bpv2-body li {
  position: relative;
  padding-left: 18px;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xs);
  line-height: 1.5;
}

.bpv2-body li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--color-accent-primary);
  font-weight: 700;
}

/* ==========================================================================
   23. CONTACT — Divisiones de servicio
   ========================================================================== */
.contact-divisions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
}

.division-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(0, 174, 239, 0.08);
  border: 1px solid rgba(0, 174, 239, 0.25);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  color: var(--color-accent-primary);
  font-family: var(--font-mono);
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.division-tag:hover {
  background: rgba(0, 174, 239, 0.15);
  border-color: var(--color-accent-primary);
}

.division-tag i {
  font-size: 0.8rem;
}

/* ==========================================================================
   24. RESPONSIVE — Nuevos elementos (≤ 768px)
   ========================================================================== */
@media (max-width: 768px) {
  .profile-badges {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-img-wrapper img {
    height: 280px;
  }

  .image-strip {
    height: 280px;
    background-attachment: scroll;
  }

  .image-strip-inner {
    background-attachment: scroll;
  }

  .strip-content h3 {
    font-size: var(--text-xl);
  }

  .cuarto-photo-wrapper img {
    height: 240px;
  }

  .blueprint-timeline-v2 {
    grid-template-columns: 1fr;
  }

  .contact-divisions {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .profile-badges {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }

  .pb-value {
    font-size: var(--text-xl);
  }

  .image-strip {
    height: 220px;
  }

}

/* ==========================================================================
   25. TYPEWRITER — Cursor parpadeante en el hero
   ========================================================================== */
.typewriter { display: inline; }

.typewriter::after {
  content: '|';
  display: inline-block;
  color: var(--color-accent-secondary);
  animation: blinkCursor 0.75s step-start infinite;
  margin-left: 2px;
  font-weight: 400;
}

@keyframes blinkCursor {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ==========================================================================
   26. BLOG — Hero
   ========================================================================== */
.blog-page { padding-top: 0; }

.blog-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #050D1A 0%, #0A1F3D 60%, #050D1A 100%);
  padding: 120px 0 60px;
  overflow: hidden;
}

.blog-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0,174,239,0.12) 1px, transparent 1px);
  background-size: 28px 28px;
}

.blog-hero-content { position: relative; z-index: 2; }

.blog-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0,174,239,0.1);
  border: 1px solid rgba(0,174,239,0.3);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-accent-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-lg);
}

.blog-hero-title { font-size: var(--text-4xl); font-weight: 900; margin-bottom: var(--space-md); line-height: 1.1; }
.blog-hero-sub { font-size: var(--text-lg); color: var(--color-text-secondary); max-width: 600px; margin: 0; }

.blog-container { padding-top: var(--space-3xl); padding-bottom: var(--space-4xl); }

.breadcrumbs {
  display: block; font-size: var(--text-xs); color: var(--color-text-muted);
  margin-bottom: var(--space-xl); font-family: var(--font-mono);
}
.breadcrumbs a { color: var(--color-accent-primary); }
.breadcrumbs a:hover { color: var(--color-accent-secondary); }

.blog-filters {
  display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-bottom: var(--space-3xl);
}

.filter-btn {
  padding: 8px 20px; border-radius: var(--radius-full);
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  color: var(--color-text-secondary); font-size: var(--text-sm); cursor: pointer;
  transition: all 0.3s ease; text-decoration: none;
}
.filter-btn:hover, .filter-btn.active { background: var(--gradient-accent); border-color: transparent; color: #050D1A; }

.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: var(--space-xl); margin-bottom: var(--space-3xl); }

.blog-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.blog-card-img-link { display: block; text-decoration: none; }

.blog-card-img { position: relative; height: 220px; overflow: hidden; background: var(--color-bg-tertiary); }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; display: block; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-img-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 60%, rgba(5,13,26,0.6)); }
.blog-card-img--placeholder { display: flex; align-items: center; justify-content: center; font-size: 3rem; color: rgba(0,174,239,0.3); }

.blog-card-body { padding: var(--space-xl); flex: 1; display: flex; flex-direction: column; }
.blog-card-meta { display: flex; align-items: center; gap: var(--space-md); flex-wrap: wrap; font-size: var(--text-xs); color: var(--color-text-muted); margin-bottom: var(--space-md); font-family: var(--font-mono); }
.blog-card-meta i { color: var(--color-accent-primary); margin-right: 4px; }
.blog-cat-pill { padding: 2px 10px; background: rgba(0,174,239,0.1); border: 1px solid rgba(0,174,239,0.2); border-radius: var(--radius-full); color: var(--color-accent-primary); font-size: 0.7rem; font-weight: 600; text-transform: uppercase; }
.blog-card-title { font-family: var(--font-body); font-size: var(--text-xl); font-weight: 700; margin-bottom: var(--space-md); line-height: 1.3; }
.blog-card-title a { color: var(--color-text-primary); text-decoration: none; transition: color 0.3s ease; }
.blog-card-title a:hover { color: var(--color-accent-primary); }
.blog-card-excerpt { font-size: var(--text-sm); color: var(--color-text-secondary); flex: 1; margin-bottom: var(--space-xl); }
.blog-read-more { align-self: flex-start; gap: 8px; }

.blog-empty { grid-column: 1 / -1; text-align: center; padding: var(--space-5xl) var(--space-xl); }
.blog-empty-icon { font-size: 4rem; color: rgba(0,174,239,0.2); margin-bottom: var(--space-xl); }

.blog-pagination { display: flex; justify-content: center; margin-top: var(--space-3xl); }
.blog-pagination .page-numbers { display: flex; list-style: none; gap: var(--space-sm); flex-wrap: wrap; justify-content: center; }
.blog-pagination .page-numbers li a,
.blog-pagination .page-numbers li span { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--radius-md); background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); color: var(--color-text-secondary); font-family: var(--font-mono); font-size: var(--text-sm); transition: all 0.3s ease; text-decoration: none; }
.blog-pagination .page-numbers li .current,
.blog-pagination .page-numbers li a:hover { background: var(--gradient-accent); border-color: transparent; color: #050D1A; }

.blog-cta-strip { background: linear-gradient(135deg, #050D1A, #0A1F3D); border-top: 1px solid rgba(0,174,239,0.1); border-bottom: 1px solid rgba(0,174,239,0.1); padding: var(--space-3xl) 0; }
.blog-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2xl); flex-wrap: wrap; }
.blog-cta-inner h3 { font-family: var(--font-body); font-size: var(--text-xl); margin-bottom: var(--space-xs); font-weight: 700; }
.blog-cta-inner p { color: var(--color-text-secondary); margin: 0; font-size: var(--text-sm); }
.blog-cta-actions { display: flex; gap: var(--space-md); flex-wrap: wrap; flex-shrink: 0; }

/* ==========================================================================
   27. ENTRADA INDIVIDUAL
   ========================================================================== */
.single-post-page { padding-top: 0; }
.single-hero { 
  position: relative; 
  min-height: 360px; 
  background: linear-gradient(135deg, #050D1A 0%, #0A1F3D 60%, #050D1A 100%); 
  display: flex; 
  align-items: flex-end; 
  padding-bottom: var(--space-3xl); 
  overflow: hidden; 
}

.single-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0,174,239,0.12) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.single-hero-img { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 1; }
.single-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(5,13,26,0.5) 0%, rgba(5,13,26,0.95) 100%); z-index: 1; }
.single-hero-content { position: relative; z-index: 2; padding-top: 120px; }
.single-title { font-size: var(--text-3xl); line-height: 1.2; max-width: 800px; }
.single-container { padding-top: var(--space-3xl); padding-bottom: var(--space-4xl); }
.single-grid { display: grid; grid-template-columns: 1fr 340px; gap: var(--space-3xl); align-items: start; }
.single-content { padding: var(--space-2xl); }
.single-featured-img { margin: 0 0 var(--space-2xl); border-radius: var(--radius-md); overflow: hidden; }
.single-featured-img img { width: 100%; display: block; }

.post-body { font-size: var(--text-base); line-height: 1.9; color: var(--color-text-secondary); }
.post-body h2, .post-body h3, .post-body h4 { color: var(--color-text-primary); margin-top: var(--space-2xl); font-family: var(--font-body); }
.post-body a { color: var(--color-accent-primary); }
.post-body a:hover { color: var(--color-accent-secondary); }
.post-body ul { list-style: disc; padding-left: var(--space-xl); }
.post-body ol { list-style: decimal; padding-left: var(--space-xl); }
.post-body blockquote { border-left: 3px solid var(--color-accent-primary); padding-left: var(--space-lg); font-style: italic; margin: var(--space-xl) 0; }

.post-tags { display: flex; flex-wrap: wrap; gap: var(--space-sm); align-items: center; margin-top: var(--space-2xl); padding-top: var(--space-xl); border-top: 1px solid rgba(255,255,255,0.06); color: var(--color-text-muted); font-size: var(--text-sm); }
.post-tag { padding: 4px 14px; background: rgba(0,174,239,0.08); border: 1px solid rgba(0,174,239,0.2); border-radius: var(--radius-full); color: var(--color-accent-primary); font-size: var(--text-xs); transition: all 0.3s ease; }
.post-tag:hover { background: rgba(0,174,239,0.15); }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); margin-top: var(--space-2xl); padding-top: var(--space-xl); border-top: 1px solid rgba(255,255,255,0.06); }
.post-nav-prev a, .post-nav-next a { display: flex; flex-direction: column; gap: 4px; padding: var(--space-lg); background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06); border-radius: var(--radius-md); transition: all 0.3s ease; text-decoration: none; }
.post-nav-prev a:hover, .post-nav-next a:hover { border-color: rgba(0,174,239,0.3); background: rgba(0,174,239,0.05); }
.post-nav-next a { text-align: right; }
.post-nav span { font-size: var(--text-xs); color: var(--color-accent-primary); font-family: var(--font-mono); }
.post-nav strong { font-size: var(--text-sm); color: var(--color-text-primary); font-weight: 600; }

.single-sidebar { display: flex; flex-direction: column; gap: var(--space-xl); }
.sidebar-widget { padding: var(--space-xl); }
.widget-title { font-family: var(--font-body); font-size: var(--text-sm); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--color-accent-primary); margin-bottom: var(--space-lg); display: flex; align-items: center; gap: 8px; }
.sidebar-services { list-style: none; padding: 0; display: flex; flex-direction: column; gap: var(--space-sm); }
.sidebar-services a { display: flex; align-items: center; gap: 8px; font-size: var(--text-sm); color: var(--color-text-secondary); padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.04); transition: color 0.3s ease; text-decoration: none; }
.sidebar-services a:hover { color: var(--color-accent-primary); }
.sidebar-services a i { width: 16px; color: var(--color-accent-primary); }
.sidebar-contact { text-align: center; }
.sidebar-phone { display: block; font-family: var(--font-display); font-size: var(--text-xl); font-weight: 700; color: var(--color-accent-primary); margin-bottom: var(--space-sm); text-decoration: none; }
.sidebar-email { display: block; font-size: var(--text-sm); color: var(--color-text-secondary); margin-bottom: var(--space-md); text-decoration: none; }
.sidebar-email:hover { color: var(--color-accent-primary); }

/* ==========================================================================
   28. PÁGINAS LEGALES
   ========================================================================== */
.legal-page { padding-top: 0; }
.legal-hero { background: linear-gradient(135deg, #050D1A 0%, #0A1F3D 100%); padding: 120px 0 var(--space-3xl); border-bottom: 1px solid rgba(0,174,239,0.1); }
.legal-title { font-size: var(--text-3xl); font-weight: 800; display: flex; align-items: center; gap: var(--space-lg); margin: var(--space-lg) 0 var(--space-md); }
.legal-title i { font-size: var(--text-2xl); color: var(--color-accent-primary); }
.legal-updated { font-size: var(--text-sm); color: var(--color-text-muted); font-family: var(--font-mono); display: flex; align-items: center; gap: 8px; }
.legal-updated i { color: var(--color-accent-secondary); }
.legal-container { padding-top: var(--space-4xl); padding-bottom: var(--space-4xl); max-width: 860px; }
.legal-section { margin-bottom: var(--space-3xl); }
.legal-section h2 { font-family: var(--font-body); font-size: var(--text-xl); font-weight: 700; color: var(--color-accent-primary); margin-bottom: var(--space-md); padding-bottom: var(--space-sm); border-bottom: 1px solid rgba(0,174,239,0.15); }
.legal-section p { color: var(--color-text-secondary); margin-bottom: var(--space-md); line-height: 1.9; }
.legal-list { list-style: none; padding: 0; }
.legal-list li { position: relative; padding-left: 20px; margin-bottom: var(--space-sm); color: var(--color-text-secondary); line-height: 1.8; }
.legal-list li::before { content: '›'; position: absolute; left: 0; color: var(--color-accent-primary); font-weight: 700; }
.legal-contact { background: rgba(0,174,239,0.04); border: 1px solid rgba(0,174,239,0.15); border-radius: var(--radius-md); padding: var(--space-xl); }
.legal-contact p { display: flex; align-items: center; gap: 10px; margin-bottom: var(--space-sm); font-size: var(--text-sm); }
.legal-contact p:last-child { margin-bottom: 0; }
.legal-contact i { color: var(--color-accent-primary); width: 16px; }

/* ==========================================================================
   29. RESPONSIVE — Blog y Legal
   ========================================================================== */
@media (max-width: 1024px) { .single-grid { grid-template-columns: 1fr; } }

@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-hero-title { font-size: var(--text-2xl); }
  .blog-cta-inner { flex-direction: column; text-align: center; }
  .blog-cta-actions { justify-content: center; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav-next a { text-align: left; }
  .legal-title { font-size: var(--text-2xl); flex-direction: column; align-items: flex-start; gap: var(--space-sm); }
}

/* ==========================================================================
   MEJORAS INTERACTIVAS v4.1 — TELECLIM Premium
   Agregado: Abril 2026
   Incluye: Gráficos · Galería Lightbox · Tooltips Popover · Micro-interacciones
   ========================================================================== */

/* --------------------------------------------------------
   MEJORA 2: SECCIÓN ESTADÍSTICAS CON GRÁFICOS (Chart.js 4)
   -------------------------------------------------------- */
.stats-charts-section {
  padding: var(--space-5xl) 0;
  background: var(--color-bg-secondary);
}

.charts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-2xl);
  margin-top: var(--space-3xl);
}

.chart-card {
  background: var(--color-bg-card);
  border: var(--border-glow);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  position: relative;
}

.chart-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}

.chart-card:hover {
  border-color: var(--color-accent-primary);
  box-shadow: var(--shadow-glow);
  transform: translateY(-6px);
}

.chart-card:hover::before {
  transform: scaleX(1);
}

.chart-wrapper {
  position: relative;
  height: 260px;
  margin-bottom: var(--space-lg);
}

.chart-card-title {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text-primary);
  text-align: center;
  margin: 0 0 var(--space-xs);
}

.chart-card-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-align: center;
  margin: 0;
}

/* --------------------------------------------------------
   MEJORA 3: GALERÍA DE PROYECTOS (Dialog API + View Transitions)
   -------------------------------------------------------- */
.projects-gallery-section {
  padding: var(--space-5xl) 0;
  background: var(--color-bg-primary);
}

/* Grid de miniaturas */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-3xl);
}

.gallery-item {
  position: relative;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  display: block;
  width: 100%;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

/* Overlay con título al hacer hover */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,13,26,0.95) 0%, rgba(5,13,26,0.3) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: var(--space-lg);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay,
.gallery-item:focus .gallery-overlay {
  opacity: 1;
}

/* Icono de zoom centrado */
.zoom-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 48px;
  height: 48px;
  background: rgba(0, 174, 239, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  line-height: 1;
  color: #050D1A;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}

.gallery-item:hover .zoom-icon {
  transform: translate(-50%, -50%) scale(1);
}

.item-title {
  color: var(--color-text-primary);
  font-weight: 600;
  font-size: var(--text-sm);
  text-align: center;
}

/* LIGHTBOX: Dialog nativo */
.lightbox-modal {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: rgba(5, 13, 26, 0.97);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  z-index: 9999;
  overflow: hidden;
}

/* Backdrop del dialog */
.lightbox-modal::backdrop {
  background: rgba(5, 13, 26, 0.95);
}

/* Animación de apertura del lightbox */
@keyframes lightboxIn {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}

.lightbox-modal[open] {
  animation: lightboxIn 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lightbox-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* Botón cerrar */
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}

.lightbox-close:hover {
  background: var(--color-accent-primary);
  border-color: transparent;
  color: #050D1A;
  transform: rotate(90deg);
}

/* Botones navegación prev/next */
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}

.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(0,174,239,0.2);
  border-color: var(--color-accent-primary);
}

/* Figura central con imagen */
.lightbox-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: min(90vw, 1100px);
  max-height: 90vh;
  margin: 0;
}

.lightbox-image {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 80px rgba(0,0,0,0.6);
  transition: transform 0.3s ease;
}

.lightbox-caption {
  padding: var(--space-lg);
  text-align: center;
}

.caption-title {
  font-family: var(--font-body);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 0 0 var(--space-sm);
}

.caption-desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin: 0 0 var(--space-sm);
}

.caption-counter {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* View Transitions para el lightbox */
::view-transition-old(lightbox-image),
::view-transition-new(lightbox-image) {
  animation-duration: 0.3s;
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------
   MEJORA 4: TOOLTIPS CON POPOVER API (HTML nativo)
   Sin Tooltipster, sin jQuery
   -------------------------------------------------------- */
.tech-badges-container {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}

/* Badge trigger */
.tech-badge.tooltip-trigger {
  cursor: help;
  position: relative;
  transition: all 0.2s ease;
}

.tech-badge.tooltip-trigger:hover {
  background: rgba(0, 174, 239, 0.2);
  border-color: var(--color-accent-primary);
  transform: translateY(-2px);
}

.badge-info-icon {
  font-size: 0.7rem;
  opacity: 0.6;
  margin-left: 2px;
  vertical-align: super;
}

/* Popover (tooltip contenido) */
.tech-tooltip {
  background: var(--color-bg-card);
  border: var(--border-glow);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  max-width: 300px;
  width: max-content;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.6;
  position: absolute; /* El browser lo posiciona con Anchor Positioning */
}

/* Animación de entrada */
@keyframes popoverFadeIn {
  from { opacity: 0; transform: translateY(-6px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.tech-tooltip:popover-open {
  animation: popoverFadeIn 0.2s ease-out;
}

/* Encabezado del tooltip */
.tooltip-standard {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--color-accent-secondary);
  margin-top: var(--space-xs);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Fallback: en navegadores sin Popover API, ocultar */
@supports not (anchor-name: --a) {
  .tech-tooltip { display: none; }
}

/* --------------------------------------------------------
   MEJORA 5: MICRO-INTERACCIONES SERVICE CARDS
   Animaciones CSS puras (sin AniJS). Activa .animate-visible
   vía IntersectionObserver en main.js
   -------------------------------------------------------- */

/* Estado inicial antes de entrar en viewport */
.service-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Cuando el IntersectionObserver añade la clase */
.service-card.animate-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Animación del ícono al hover — rebote sutil */
@keyframes iconBounce {
  0%   { transform: scale(1) translateY(0); }
  30%  { transform: scale(1.18) translateY(-6px); }
  60%  { transform: scale(0.95) translateY(0); }
  80%  { transform: scale(1.05) translateY(-2px); }
  100% { transform: scale(1) translateY(0); }
}

/* Ícono rebota al hacer hover sobre la tarjeta */
.service-card:hover .card-icon-wrapper {
  animation: iconBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Respeta preferencias de accesibilidad */
@media (prefers-reduced-motion: reduce) {
  .service-card {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .service-card:hover .card-icon-wrapper {
    animation: none;
  }
}

/* --------------------------------------------------------
   RESPONSIVE GENERAL — Nuevas secciones v4.1
   -------------------------------------------------------- */
@media (max-width: 1024px) {
  .charts-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }

  .lightbox-prev { left: 0.75rem; }
  .lightbox-next { right: 0.75rem; }

  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
  }

  .chart-wrapper { height: 220px; }

  .tech-badges-container { gap: var(--space-sm); }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .lightbox-figure { max-width: 95vw; }
  .lightbox-image { max-height: 55vh; }
}

/* ========================================================================== */

/* ==========================================================================
   MOBILE-FIRST OPTIMIZATION v4.1 — TELECLIM Premium
   Cobertura: 375px · 480px · 640px · 768px · 1024px
   Soluciona: overflow horizontal, stats grid, hero title, grids, forms
   ========================================================================== */

/* --- Base universal: evitar overflow horizontal --- */
html, body {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%; /* iOS Safari */
  text-size-adjust: 100%;         /* Chrome, Edge, otros (ID: 9f86f39e) */
}

*, *::before, *::after {
  box-sizing: border-box;
}

img, video, svg {
  max-width: 100%;
  height: auto;
}

/* Canvas: NO usar height:auto — Chart.js gestiona la altura por JavaScript.
   height:auto colapsa el canvas a 0px en móvil y los gráficos aparecen negros. */
canvas {
  max-width: 100%;
  display: block;
}

/* Garantizar que el canvas de Chart.js siempre ocupe el contenedor */
.chart-wrapper canvas {
  width: 100% !important;
  height: 100% !important;
}

/* --- Container base --- */
.container {
  width: 100%;
  padding-left: clamp(1rem, 4vw, 2rem);
  padding-right: clamp(1rem, 4vw, 2rem);
}

/* ==========================================================================
   BREAKPOINT: ≤ 1024px — Tablet horizontal y laptop pequeño
   ========================================================================== */
@media (max-width: 1024px) {

  /* Hero */
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
  }

  /* About grid → columna única */
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .about-visual {
    order: -1; /* Imagen primero en tablet */
  }

  .tech-illustration {
    width: 280px;
    height: 280px;
  }

  /* Contact grid → columna única */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
  }

  /* Charts → máximo 2 columnas */
  .charts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Methodology timeline */
  .methodology-timeline {
    padding: 0 var(--space-lg);
  }
}


/* ==========================================================================
   BREAKPOINT: ≤ 768px — Tablet vertical y móvil grande
   ========================================================================== */
@media (max-width: 768px) {

  /* ── HERO ── */
  .hero-section {
    padding-top: 80px;
    min-height: 100svh; /* svh = Small Viewport Height, evita el problema del URL bar de iOS */
  }

  .hero-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    letter-spacing: 0;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: var(--text-base);
    padding: 0 var(--space-sm);
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 8px 16px;
    text-align: center;
    white-space: normal;
    line-height: 1.4;
  }

  /* Stats hero → columna única centrada */
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-2xl);
  }

  .stat-number {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }

  .stat-label {
    font-size: 0.7rem;
  }

  /* ── NAVBAR MÓVIL ── */
  .hamburger {
    display: flex;
  }

  .navbar-menu {
    display: none; /* Se muestra con el overlay móvil */
  }

  /* ── ABOUT ── */
  .about-features {
    grid-template-columns: repeat(2, 1fr);
  }

  /* ── SERVICES TABS ── */
  .services-tabs {
    gap: var(--space-sm);
  }

  .tab-btn {
    padding: 10px 16px;
    font-size: 0.8rem;
    gap: 6px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  /* ── METHODOLOGY TIMELINE ── */
  .methodology-timeline {
    padding: 0;
  }

  .timeline-item {
    flex-direction: column !important; /* Asegura columna en cualquier variante */
  }

  .step-marker {
    margin-bottom: var(--space-sm);
  }

  .step-content {
    padding: var(--space-lg);
  }

  /* ── SECTION TITLE ── */
  .section-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }

  .section-subtitle {
    font-size: var(--text-sm);
    padding: 0 var(--space-sm);
  }

  /* ── CHARTS ── */
  .charts-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .chart-wrapper {
    height: 220px;
  }

  /* ── GALLERY ── */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  /* ── LIGHTBOX ── */
  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }

  .lightbox-prev,
  .lightbox-next {
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
  }

  .lightbox-image {
    max-height: 50vh;
  }

  .caption-title {
    font-size: var(--text-base);
  }

  /* ── TEAM SWIPER ── */
  .team-card {
    padding: var(--space-lg);
  }

  /* ── CONTACT FORM ── */
  .contact-form .form-row {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  /* ── CONTACT LIST ── */
  .contact-list {
    gap: var(--space-md);
  }

  /* ── SPEC BADGES ── */
  .blueprint-specs {
    gap: var(--space-md);
  }

  .spec-badge {
    flex-direction: column;
    gap: 4px;
    min-width: 100px;
    text-align: center;
  }

  /* ── FOOTER ── */
  .footer-top {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
}


/* ==========================================================================
   BREAKPOINT: ≤ 480px — Móvil estándar (375px–480px)
   ========================================================================== */
@media (max-width: 480px) {

  /* ── HERO ── */
  .hero-title {
    font-size: clamp(1.5rem, 7.5vw, 1.9rem);
  }

  /* Stats en línea horizontal compactos */
  .hero-stats {
    display: flex;
    justify-content: space-between;
    gap: var(--space-sm);
    padding: 0 var(--space-sm);
  }

  .stat-item {
    padding: var(--space-md) var(--space-sm);
    flex: 1;
  }

  .stat-number {
    font-size: 1.6rem;
  }

  /* ── ABOUT features → 1 columna ── */
  .about-features {
    grid-template-columns: 1fr;
  }

  /* ── GALLERY → 1 columna ── */
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item {
    aspect-ratio: 16/9;
  }

  /* ── TABS → scroll horizontal ── */
  .services-tabs {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: var(--space-sm);
    justify-content: flex-start;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }

  .services-tabs::-webkit-scrollbar {
    display: none;
  }

  .tab-btn {
    flex-shrink: 0;
    scroll-snap-align: start;
  }

  /* ── CHARTS wrapper ── */
  .chart-wrapper {
    height: 200px;
  }

  /* ── BLUEPRINT SPECS → 2 columnas ── */
  .blueprint-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }

  /* ── HERO BUTTONS ── */
  .btn-lg {
    padding: 14px 28px;
    font-size: 0.95rem;
  }

  /* ── SECTION PADDING ── */
  .hero-section,
  .about-section,
  .services-section,
  .blueprint-section,
  .team-section,
  .methodology-section,
  .contact-section,
  .stats-charts-section,
  .projects-gallery-section {
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-3xl);
  }

  /* ── LIGHTBOX ── */
  .lightbox-figure {
    max-width: 100vw;
    padding: 0 var(--space-sm);
  }

  .lightbox-image {
    max-height: 45vh;
    border-radius: var(--radius-sm);
  }

  .lightbox-close {
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
  }

  /* ── CARDS ── */
  .glass-card {
    padding: var(--space-lg);
  }

  /* ── CTA STRIP ── */
  .strip-content {
    text-align: center;
    padding: var(--space-lg);
  }

  .strip-content h3 {
    font-size: var(--text-lg);
  }
}


/* ==========================================================================
   BREAKPOINT: ≤ 375px — iPhone SE, móviles pequeños
   ========================================================================== */
@media (max-width: 375px) {

  .hero-title {
    font-size: 1.45rem;
    letter-spacing: -0.5px;
  }

  .hero-badge span {
    display: none; /* Solo icono en pantallas muy pequeñas */
  }

  .section-title {
    font-size: 1.4rem;
  }

  .stat-number {
    font-size: 1.4rem;
  }

  .stat-label {
    font-size: 0.65rem;
  }

  .nav-cta {
    padding: 8px 16px;
    font-size: 0.8rem;
  }
}


/* ==========================================================================
   UTILIDADES: Accesibilidad y touch en móvil
   ========================================================================== */

/* Área de toque mínima para elementos interactivos (WCAG 2.5.5) */
@media (max-width: 768px) {
  .tab-btn,
  .btn,
  .hamburger,
  .gallery-item,
  .lightbox-close,
  .lightbox-prev,
  .lightbox-next {
    min-height: 44px;
    min-width: 44px;
  }
}

/* Preferencia: movimiento reducido — desactivar parallax y animaciones pesadas */
@media (prefers-reduced-motion: reduce) {
  .hero-bg-grid         { animation: none; }
  .hero-glow            { animation: none; }
  .tech-circle          { animation: none; }
  .center-icon          { animation: none; }
  .mouse .wheel         { animation: none; }
  .animate-pulse-glow   { animation: none; }
  .swiper-autoplay      { display: none; }
}

/* Touch: quitar el highlight azul en Chrome Android */
* {
  -webkit-tap-highlight-color: transparent;
}

/* Focus visible para navegación por teclado */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-accent-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}


/* ==========================================================================
   v4.3 — MEJORA 1: FALLBACK NO-JS
   ========================================================================== */
.no-js .hero-content,
.no-js .about-text,
.no-js .services-tabs,
.no-js .services-content,
.no-js .gallery-grid,
.no-js .methodology-timeline,
.no-js .contact-grid {
  opacity: 1 !important;
  transform: none !important;
}
.no-js [data-aos] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}


/* ==========================================================================
   v4.3 — MEJORA 4: ACORDEÓN DE SERVICIOS (Móvil)
   ========================================================================== */
.acordeon-servicios {
  display: none;
}

@media (max-width: 768px) {
  .services-tabs,
  .services-content {
    display: none !important;
  }
  .acordeon-servicios {
    display: block !important;
    margin-top: var(--space-2xl);
  }
  .acordeon-item {
    margin-bottom: var(--space-sm);
    border-radius: var(--radius-md);
    background: var(--color-bg-card);
    border: var(--border-glow);
    overflow: hidden;
    transition: border-color 0.3s ease;
  }
  .acordeon-item.active {
    border-color: var(--color-accent-primary);
  }
  .acordeon-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    color: var(--color-text-primary);
    font-weight: 600;
    font-size: 1rem;
  }
  .acordeon-header i:first-child {
    color: var(--color-accent-primary);
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
  }
  .acordeon-header span {
    flex: 1;
  }
  .acordeon-arrow {
    transition: transform 0.3s ease;
    color: var(--color-text-muted);
    font-size: 0.85rem;
  }
  .acordeon-item.active .acordeon-arrow {
    transform: rotate(180deg);
    color: var(--color-accent-primary);
  }
  .acordeon-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .acordeon-body {
    padding: 0 var(--space-lg) var(--space-lg);
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
    line-height: 1.7;
  }
  .acordeon-body p {
    margin-bottom: var(--space-sm);
  }
  .acordeon-body p:last-child {
    margin-bottom: 0;
  }
}


/* ==========================================================================
   v4.3 — MEJORA 5: BARRAS DE SKILLS ANIMADAS
   ========================================================================== */
.skills-container {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.skill-item {
  margin-bottom: var(--space-sm);
}
.skill-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  margin-bottom: 4px;
}
.skill-pct {
  color: var(--color-accent-primary);
  font-weight: 700;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}
.skill-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.skill-bar-fill {
  height: 100%;
  width: 0;
  background: var(--gradient-accent);
  border-radius: var(--radius-full);
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}


/* ==========================================================================
   v4.3 — MEJORA 8: INPUTS FLOTANTES (Material Design)
   ========================================================================== */
.input-flotante {
  position: relative;
}
.input-flotante input,
.input-flotante textarea,
.input-flotante select {
  width: 100%;
  padding: 18px 16px 6px;
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--color-text-primary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.input-flotante textarea {
  min-height: 120px;
  resize: vertical;
}
.input-flotante select {
  cursor: pointer;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2394a3b8'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
}
.input-flotante label {
  position: absolute;
  top: 14px;
  left: 16px;
  font-size: 1rem;
  color: var(--color-text-muted);
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: left top;
}
.input-flotante input:focus ~ label,
.input-flotante textarea:focus ~ label,
.input-flotante select:focus ~ label,
.input-flotante input:not(:placeholder-shown) ~ label,
.input-flotante textarea:not(:placeholder-shown) ~ label,
.input-flotante select:not([value=""]):valid ~ label,
.input-flotante.tiene-valor label {
  top: 4px;
  font-size: 0.72rem;
  color: var(--color-accent-primary);
  letter-spacing: 0.5px;
}
.input-flotante input:focus,
.input-flotante textarea:focus,
.input-flotante select:focus {
  border-color: var(--color-accent-primary);
  box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.15);
}
.input-flotante input:invalid:not(:placeholder-shown):not(:focus),
.input-flotante textarea:invalid:not(:placeholder-shown):not(:focus) {
  border-color: #FF4757;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}
@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}
.contact-form .form-group {
  margin-bottom: var(--space-md);
}
.btn-full {
  width: 100%;
  margin-top: var(--space-md);
}


/* ==========================================================================
   v4.3 — MEJORA 9: VENTANAS MODAL
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(5, 13, 26, 0.85);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.modal-teleclim {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.92);
  z-index: 9999;
  width: 90%;
  max-width: 560px;
  max-height: 80vh;
  overflow-y: auto;
  background: var(--color-bg-card);
  border: var(--border-glow);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.modal-teleclim.active {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
}
.modal-cerrar {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  background: transparent;
  color: var(--color-text-secondary);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.modal-cerrar:hover {
  border-color: var(--color-accent-primary);
  color: var(--color-accent-primary);
}
.modal-teleclim h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-md);
  padding-right: 40px;
}
.modal-teleclim p {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-md);
  font-size: var(--text-sm);
  line-height: 1.7;
}


/* ==========================================================================
   v4.3 — MENSAJES DE FORMULARIO
   ========================================================================== */
.form-mensaje {
  padding: var(--space-md);
  border-radius: var(--radius-md);
  margin-top: var(--space-md);
  font-size: var(--text-sm);
  font-weight: 500;
  text-align: center;
  animation: fadeInUp 0.3s ease-out;
}
.form-mensaje--exito {
  background: rgba(0, 229, 160, 0.12);
  border: 1px solid rgba(0, 229, 160, 0.4);
  color: var(--color-accent-secondary);
}
.form-mensaje--error {
  background: rgba(255, 71, 87, 0.12);
  border: 1px solid rgba(255, 71, 87, 0.4);
  color: #FF4757;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ==========================================================================
   v4.3 — UTILIDADES EXTRAS
   ========================================================================== */
.btn-sm {
  padding: 10px 20px;
  font-size: var(--text-sm);
}
.btn-outline-accent {
  background: transparent;
  color: var(--color-accent-primary);
  border: 1px solid rgba(0, 174, 239, 0.4);
}
.btn-outline-accent:hover {
  background: rgba(0, 174, 239, 0.1);
  border-color: var(--color-accent-primary);
  transform: translateY(-2px);
}

/* Hero BG Image layer */
.hero-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.08;
  pointer-events: none;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, var(--color-bg-primary) 100%);
  pointer-events: none;
}

/* About image wrapper */
.about-img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about-img-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
}
.about-img-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(5, 13, 26, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 229, 160, 0.3);
  border-radius: var(--radius-full);
  color: var(--color-accent-secondary);
  font-size: 0.8rem;
  font-weight: 600;
}
.about-img-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 70%, rgba(0, 174, 239, 0.15), transparent 60%);
  pointer-events: none;
}

/* Profile badges */
.profile-badges {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-lg);
}
.profile-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  min-width: 80px;
  text-align: center;
  transition: all 0.3s ease;
}
.profile-badge:hover {
  border-color: rgba(0, 174, 239, 0.3);
}
.pb-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent-primary);
}
.pb-label {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  line-height: 1.3;
}

/* Card highlights and badges */
.service-card--highlight {
  border-color: rgba(0, 229, 160, 0.3);
}
.card-badge--new {
  background: rgba(0, 229, 160, 0.15);
  border-color: rgba(0, 229, 160, 0.4);
  color: var(--color-accent-secondary);
}
.service-card--highlight:hover {
  box-shadow: 0 0 40px rgba(0, 229, 160, 0.15);
}

/* Vendors tag */
.vendors-tag {
  margin-top: var(--space-md);
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}
.vendors-tag i {
  margin-right: 4px;
}

/* Service subcategory */
.service-subcategory {
  margin-bottom: var(--space-lg);
}
.service-subcategory h5 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-accent-primary);
  margin-bottom: var(--space-sm);
}
.service-subcategory h5 i {
  margin-right: 6px;
}

/* Image strip / CTA */
.image-strip {
  position: relative;
  height: 350px;
  overflow: hidden;
}
.image-strip-inner {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.image-strip-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(5,13,26,0.92), rgba(5,13,26,0.6));
  display: flex;
  align-items: center;
}
.strip-content {
  max-width: 600px;
}
.strip-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(0, 174, 239, 0.1);
  border: 1px solid rgba(0, 174, 239, 0.3);
  border-radius: var(--radius-full);
  color: var(--color-accent-primary);
  font-size: var(--text-xs);
  margin-bottom: var(--space-md);
}
.strip-content h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-lg);
  line-height: 1.3;
}

/* Blueprint timeline v2 */
.blueprint-timeline-v2 {
  display: grid;
  gap: var(--space-lg);
  margin-bottom: var(--space-3xl);
}
.bpv2-step {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
  padding: var(--space-lg);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}
.bpv2-step:hover {
  border-color: rgba(0, 174, 239, 0.3);
  background: rgba(0, 174, 239, 0.03);
}
.bpv2-icon {
  font-size: 2rem;
  min-width: 48px;
  text-align: center;
}
.bpv2-body h4 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--color-text-primary);
}
.bpv2-body ul {
  list-style: none;
  padding: 0;
}
.bpv2-body li {
  position: relative;
  padding-left: 20px;
  margin-bottom: var(--space-xs);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}
.bpv2-body li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gradient-accent);
}

/* Cuarto photo wrapper */
.cuarto-photo-wrapper {
  position: relative;
  margin-bottom: var(--space-3xl);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.cuarto-photo-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}
.cuarto-photo-label {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(5, 13, 26, 0.85);
  border: 1px solid rgba(0, 229, 160, 0.3);
  border-radius: var(--radius-full);
  color: var(--color-accent-secondary);
  font-size: 0.8rem;
  font-weight: 600;
}

/* Blueprint quote */
.blueprint-quote {
  text-align: center;
  margin-top: var(--space-xl);
}
.blueprint-quote blockquote {
  font-size: var(--text-2xl);
  font-weight: 700;
  font-style: italic;
  color: var(--color-accent-primary);
  border: none;
  padding: 0;
  margin: 0;
}

/* Gallery */
.projects-gallery-section {
  padding: var(--space-5xl) 0;
  background: var(--color-bg-secondary);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  border: none;
  padding: 0;
  background: none;
  aspect-ratio: 4 / 3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-item:hover img {
  transform: scale(1.08);
}
.zoom-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 13, 26, 0.7);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
  font-size: 1rem;
}
.gallery-item:hover .zoom-icon {
  opacity: 1;
}
.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-lg);
  background: linear-gradient(transparent, rgba(5, 13, 26, 0.9));
}
.item-title {
  color: var(--color-text-primary);
  font-weight: 600;
  font-size: var(--text-sm);
}

/* Lightbox modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100vw;
  max-height: 100vh;
  border: none;
  background: rgba(5, 13, 26, 0.96);
  z-index: 10000;
  padding: 0;
}
.lightbox-modal::backdrop {
  background: transparent;
}
.lightbox-content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: relative;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  color: white;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(0, 174, 239, 0.2);
  border-color: var(--color-accent-primary);
}
.lightbox-figure {
  max-width: 85vw;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
}
.lightbox-image {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}
.lightbox-caption {
  text-align: center;
  margin-top: var(--space-lg);
  max-width: 600px;
}
.caption-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-xs);
}
.caption-desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xs);
}
.caption-counter {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-family: var(--font-mono);
}

/* Team section */
.team-section {
  padding: var(--space-5xl) 0;
  background: var(--color-bg-secondary);
}
.team-card {
  text-align: center;
}
.team-avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 174, 239, 0.1);
  border: 2px solid rgba(0, 174, 239, 0.3);
  font-size: 2rem;
  color: var(--color-accent-primary);
}
.team-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}
.skill-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(0, 229, 160, 0.1);
  border: 1px solid rgba(0, 229, 160, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  color: var(--color-accent-secondary);
  font-family: var(--font-mono);
  margin-bottom: var(--space-md);
}
.team-desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}
.team-vendors {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin: 0;
}

/* Methodology */
.methodology-section {
  padding: var(--space-5xl) 0;
  background: var(--color-bg-secondary);
}
.methodology-timeline {
  position: relative;
  padding-left: 40px;
  margin-top: var(--space-3xl);
}
.methodology-timeline::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-accent-primary), var(--color-accent-secondary));
}
.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
  position: relative;
}
.step-marker {
  position: absolute;
  left: -40px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.step-number {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-primary);
  border: 2px solid var(--color-accent-primary);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-accent-primary);
}
.step-content {
  flex: 1;
  padding: var(--space-lg) !important;
}
.step-content .step-icon {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}
.step-content h4 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}
.step-content p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin: 0;
  line-height: 1.7;
}

/* Contact section */
.contact-section {
  padding: var(--space-5xl) 0;
  background: var(--color-bg-primary);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: flex-start;
}
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
.contact-info h2 {
  margin-bottom: var(--space-lg);
}
.contact-info > p {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-2xl);
  line-height: 1.7;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-2xl);
}
.contact-list li {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}
.h-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(0, 174, 239, 0.1);
  color: var(--color-accent-primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-list h5 {
  font-size: var(--text-sm);
  font-weight: 700;
  margin-bottom: 2px;
}
.contact-list p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin: 0;
}
.contact-list a {
  color: var(--color-accent-primary);
  text-decoration: none;
}
.contact-list a:hover {
  text-decoration: underline;
}

/* Schedule */
.contact-schedule {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-bottom: var(--space-xl);
}
.schedule-title {
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--color-text-primary);
}
.schedule-title i {
  color: var(--color-accent-primary);
  margin-right: 8px;
}
.schedule-row {
  display: flex;
  justify-content: space-between;
  padding: var(--space-xs) 0;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}
.schedule-row .day {
  font-weight: 600;
  color: var(--color-text-primary);
}

/* Division tags */
.contact-divisions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}
.division-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(0, 174, 239, 0.08);
  border: 1px solid rgba(0, 174, 239, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: var(--color-accent-primary);
}

/* Final CTA */
.final-cta {
  text-align: center;
  margin-top: var(--space-4xl);
  padding: var(--space-3xl);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
}
.final-cta h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-md);
  color: var(--color-text-primary) !important;
}
.final-cta p {
  color: var(--color-text-secondary) !important;
  margin-bottom: var(--space-xl);
}
.cta-btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--color-accent-primary);
  color: #050D1A;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all 0.3s ease;
}
.cta-btn-dark:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 174, 239, 0.4);
}

/* Stats Charts */
.stats-charts-section {
  padding: var(--space-5xl) 0;
  background: var(--color-bg-primary);
}
.charts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
}
.chart-card {
  background: var(--color-bg-card);
  border: var(--border-glow);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  transition: all 0.3s ease;
}
.chart-card:hover {
  border-color: rgba(0, 174, 239, 0.4);
}
.chart-wrapper {
  position: relative;
  height: 220px;
  margin-bottom: var(--space-md);
}
.chart-wrapper canvas {
  height: 100% !important;
}
.chart-card-title {
  font-weight: 700;
  margin-bottom: var(--space-xs);
}
.chart-card-desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* Container narrow */
.container-narrow {
  max-width: 800px;
  margin: 0 auto;
}

/* No scroll utility */
.no-scroll {
  overflow: hidden;
}

/* Service card animation */
.service-card {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.service-card.animate-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Swiper customization */
.swiper-button-next,
.swiper-button-prev {
  color: var(--color-accent-primary) !important;
}
.swiper-pagination-bullet {
  background: var(--color-text-muted) !important;
}
.swiper-pagination-bullet-active {
  background: var(--color-accent-primary) !important;
}
