/* 
  NETSOL - Soluciones en Energía Solar (TEMA BLANCO CON TEXTO HERO LEGIBLE AL 100% CON TARJETA DE CRISTAL)
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Brand Palette */
  --ns-navy: #162050;
  --ns-navy-light: #233175;
  --ns-cyan: #00a8e8;
  --ns-cyan-dark: #0082c8;
  --ns-cyan-light: #e0f2fe;
  --ns-sun-gold: #f5a623;
  --ns-sun-orange: #f39c12;
  
  /* Background System */
  --ns-bg-main: #ffffff;
  --ns-bg-alt: #f8fafc;
  --ns-bg-subtle-blue: #f0f9ff;
  --ns-bg-card: #ffffff;
  --ns-border: #e2e8f0;
  --ns-border-glow: rgba(0, 168, 232, 0.35);

  /* Text System */
  --ns-text-dark: #0f172a;
  --ns-text-main: #1e293b;
  --ns-text-muted: #475569;

  /* Typography & Radius */
  --ns-font-heading: 'Outfit', sans-serif;
  --ns-font-body: 'Plus Jakarta Sans', sans-serif;
  --ns-radius-sm: 10px;
  --ns-radius-md: 18px;
  --ns-radius-lg: 28px;

  /* Shadows */
  --ns-shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.04);
  --ns-shadow-md: 0 12px 30px rgba(0, 168, 232, 0.1);
  --ns-shadow-lg: 0 20px 45px rgba(22, 32, 80, 0.09);
  --ns-shadow-sun: 0 10px 30px rgba(245, 166, 35, 0.25);
  
  --ns-transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--ns-font-body);
  background-color: #ffffff;
  color: var(--ns-text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Canvas background */
#sun-particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* PATRONES DE FONDO */
.ns-bg-pattern-grid {
  background-color: #ffffff;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(0, 168, 232, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(245, 166, 35, 0.06) 0%, transparent 40%),
    linear-gradient(to right, rgba(226, 232, 240, 0.5) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(226, 232, 240, 0.5) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
}

.ns-bg-pattern-hex {
  background-color: #f8fafc;
  background-image: 
    radial-gradient(circle at 50% 50%, rgba(0, 168, 232, 0.06) 0%, transparent 60%),
    radial-gradient(rgba(0, 168, 232, 0.12) 1px, transparent 0);
  background-size: 100% 100%, 28px 28px;
}

/* HEADER & NAVBAR */
.ns-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  transition: var(--ns-transition);
  padding: 14px 0;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.03);
}

.ns-navbar.scrolled {
  padding: 10px 0;
  box-shadow: 0 10px 30px rgba(22, 32, 80, 0.08);
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: var(--ns-cyan);
}

.ns-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.ns-nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ns-logo-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  position: relative;
}

.ns-logo-svg-wrap {
  height: 52px;
  display: flex;
  align-items: center;
  filter: drop-shadow(0 4px 10px rgba(0, 168, 232, 0.15));
  transition: transform 0.3s ease;
}

.ns-logo-brand:hover .ns-logo-svg-wrap {
  transform: scale(1.03);
}

.ns-logo-svg-wrap svg {
  height: 48px;
  width: auto;
}

.ns-nav-tabs-wrapper {
  position: relative;
  background: #f1f5f9;
  padding: 5px;
  border-radius: 50px;
  border: 1px solid #e2e8f0;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.03);
}

.ns-nav-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
  z-index: 2;
}

.ns-nav-tab {
  background: transparent;
  border: none;
  outline: none;
  color: var(--ns-text-muted);
  font-family: var(--ns-font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--ns-transition);
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ns-nav-tab svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.ns-nav-tab:hover {
  color: var(--ns-navy);
}

.ns-nav-tab.active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--ns-navy) 0%, var(--ns-cyan) 100%);
  box-shadow: 0 4px 15px rgba(0, 168, 232, 0.35);
}

.ns-nav-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ns-sun-gold) 0%, var(--ns-sun-orange) 100%);
  color: #ffffff;
  font-family: var(--ns-font-heading);
  font-weight: 800;
  font-size: 0.9rem;
  padding: 12px 28px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(245, 166, 35, 0.4);
  transition: var(--ns-transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ns-nav-cta:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 8px 30px rgba(245, 166, 35, 0.6);
}

.ns-mobile-toggle {
  display: none;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: var(--ns-navy);
  padding: 8px;
  border-radius: 10px;
  cursor: pointer;
}

/* MAIN TABS */
.ns-tab-panel {
  display: none;
  min-height: calc(100vh - 80px);
  padding-top: 105px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.ns-tab-panel.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
  animation: panelFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes panelFadeIn {
  from { opacity: 0; transform: translateY(25px) scale(0.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

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

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

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

/* SECTION HEADINGS */
.ns-section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 55px;
  position: relative;
}

.ns-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 168, 232, 0.08);
  color: var(--ns-cyan);
  border: 1px solid rgba(0, 168, 232, 0.25);
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 16px;
  box-shadow: 0 4px 15px rgba(0, 168, 232, 0.08);
}

.ns-section-title {
  font-family: var(--ns-font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--ns-navy);
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.ns-section-title span {
  color: var(--ns-cyan);
  position: relative;
  display: inline-block;
}

.ns-section-desc {
  font-size: 1.12rem;
  color: var(--ns-text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   TAB 1: INICIO (HERO SECTION CON TEXTO 100% LEGIBLE Y ALTO CONTRASTE)
   ========================================================================== */
.ns-hero-section {
  position: relative;
  padding: 90px 0 110px;
  overflow: hidden;
  border-bottom: 1px solid var(--ns-border);
}

/* SLIDER DE FONDO COMPLETO DE IMÁGENES */
.ns-hero-bg-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.ns-hero-bg-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 6s linear;
}

.ns-hero-bg-slide.active {
  opacity: 1;
  transform: scale(1);
}

/* OVERLAY TRANSPARENCIA DE OPACIDAD AL 60% */
.ns-hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.65) 0%, rgba(240, 249, 255, 0.60) 50%, rgba(255, 255, 255, 0.65) 100%);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  z-index: 1;
}

.ns-hero-orb-1 {
  position: absolute;
  top: -10%;
  right: 5%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(0, 168, 232, 0.15) 0%, rgba(245, 166, 35, 0.06) 50%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: orbFloat 10s ease-in-out infinite alternate;
  z-index: 1;
}

.ns-hero-orb-2 {
  position: absolute;
  bottom: -15%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.15) 0%, rgba(0, 168, 232, 0.06) 50%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: orbFloat 12s ease-in-out infinite alternate-reverse;
  z-index: 1;
}

@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -30px) scale(1.1); }
}

.ns-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.ns-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid var(--ns-cyan-light);
  box-shadow: 0 8px 25px rgba(0, 168, 232, 0.15);
  padding: 8px 22px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--ns-navy);
  margin-bottom: 24px;
}

.ns-hero-badge .pulse-dot {
  width: 10px;
  height: 10px;
  background: var(--ns-sun-gold);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--ns-sun-gold);
  animation: pulseDot 1.5s infinite;
}

.ns-hero-title {
  font-family: var(--ns-font-heading);
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.12;
  color: var(--ns-navy);
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.ns-hero-title .highlight-cyan {
  color: var(--ns-cyan);
}

/* SUBTÍTULO CON TARJETA DE CRISTAL LEGIBLE AL 100% */
.ns-hero-subtitle {
  font-size: 1.2rem;
  color: var(--ns-navy);
  margin-bottom: 38px;
  line-height: 1.75;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(0, 168, 232, 0.25);
  padding: 20px 28px;
  border-radius: 22px;
  box-shadow: 0 12px 35px rgba(22, 32, 80, 0.12);
  display: block;
}

.ns-hero-subtitle strong {
  color: var(--ns-cyan-dark);
  font-weight: 800;
}

.ns-hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.ns-btn-primary {
  background: linear-gradient(135deg, var(--ns-navy) 0%, var(--ns-cyan) 100%);
  color: #ffffff;
  font-family: var(--ns-font-heading);
  font-weight: 800;
  font-size: 1rem;
  padding: 16px 38px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0, 168, 232, 0.35);
  transition: var(--ns-transition);
  text-decoration: none;
}

.ns-btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 168, 232, 0.5);
}

.ns-btn-secondary {
  background: #ffffff;
  color: var(--ns-navy);
  border: 2px solid var(--ns-navy);
  font-family: var(--ns-font-heading);
  font-weight: 800;
  font-size: 1rem;
  padding: 16px 34px;
  border-radius: 50px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--ns-transition);
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.ns-btn-secondary:hover {
  background: var(--ns-navy);
  color: #ffffff;
  transform: translateY(-3px);
}

/* SLIDER TARJETA FRONTAL */
.ns-hero-slider-wrap {
  position: relative;
  width: 100%;
}

.ns-hero-slider {
  position: relative;
  width: 100%;
  min-height: 380px;
}

.ns-hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(0.96);
}

.ns-hero-slide.active {
  position: relative;
  opacity: 1;
  pointer-events: all;
  transform: scale(1);
}

.ns-hero-card-glow {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--ns-border);
  border-radius: var(--ns-radius-lg);
  padding: 24px;
  box-shadow: 0 25px 60px rgba(22, 32, 80, 0.15), 0 0 30px rgba(0, 168, 232, 0.2);
}

.ns-visual-img {
  width: 100%;
  height: 300px;
  border-radius: var(--ns-radius-md);
  object-fit: cover;
  display: block;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.ns-floating-badge {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: #ffffff;
  border: 2px solid var(--ns-sun-gold);
  padding: 16px 24px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.ns-floating-icon {
  width: 44px;
  height: 44px;
  background: rgba(245, 166, 35, 0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ns-sun-gold);
}

.ns-floating-text h5 {
  font-family: var(--ns-font-heading);
  font-size: 1.1rem;
  color: var(--ns-navy);
  margin-bottom: 2px;
}

.ns-floating-text p {
  font-size: 0.82rem;
  color: var(--ns-text-muted);
}

.ns-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: #ffffff;
  border: 1.5px solid var(--ns-border);
  color: var(--ns-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: var(--ns-transition);
}

.ns-slider-btn:hover {
  background: var(--ns-navy);
  color: #ffffff;
  border-color: var(--ns-navy);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 168, 232, 0.3);
}

.ns-prev-btn { left: -18px; }
.ns-next-btn { right: -18px; }

.ns-slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
}

.ns-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: var(--ns-transition);
}

.ns-dot:hover {
  background: var(--ns-cyan-dark);
}

.ns-dot.active {
  width: 32px;
  border-radius: 20px;
  background: var(--ns-cyan);
  box-shadow: 0 0 12px rgba(0, 168, 232, 0.5);
}

/* STATS */
.ns-stats-section {
  padding: 30px 0;
  margin-top: -40px;
  position: relative;
  z-index: 10;
}

.ns-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  background: linear-gradient(135deg, #162050 0%, #1e2d6d 100%);
  border: 1.5px solid rgba(0, 168, 232, 0.4);
  padding: 38px 36px;
  border-radius: var(--ns-radius-lg);
  box-shadow: 0 25px 60px rgba(22, 32, 80, 0.35);
}

.ns-stat-card {
  text-align: center;
  padding: 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.ns-stat-card:last-child {
  border-right: none;
}

.ns-stat-num {
  font-family: var(--ns-font-heading);
  font-size: 3.2rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 6px;
  line-height: 1;
  text-shadow: 0 4px 15px rgba(0, 168, 232, 0.35);
}

.ns-stat-lbl {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
}

/* BENEFICIOS */
.ns-benefits-section {
  padding: 100px 0;
}

.ns-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.ns-benefit-card {
  background: #ffffff;
  border: 1px solid var(--ns-border);
  border-radius: var(--ns-radius-lg);
  padding: 38px 30px;
  transition: var(--ns-transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.ns-benefit-card:hover {
  transform: translateY(-8px);
  border-color: var(--ns-cyan);
  box-shadow: 0 25px 50px rgba(0, 168, 232, 0.15);
}

.ns-benefit-icon {
  width: 64px;
  height: 64px;
  background: rgba(0, 168, 232, 0.08);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ns-cyan);
  margin-bottom: 24px;
  border: 1px solid rgba(0, 168, 232, 0.25);
}

.ns-benefit-icon svg {
  width: 32px;
  height: 32px;
}

.ns-benefit-card h3 {
  font-family: var(--ns-font-heading);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--ns-navy);
  margin-bottom: 12px;
}

.ns-benefit-card p {
  color: var(--ns-text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

/* SECCIÓN CTA CON IMAGEN DE FONDO SOLAR Y SUPERPOSICIÓN ELEGANTE */
.ns-cta-section {
  position: relative;
  width: 100%;
  padding: 110px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('imagenes wp/netsol_bg_rooftop_solar.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-top: 1px solid var(--ns-border);
  border-bottom: 1px solid var(--ns-border);
  overflow: hidden;
}

.ns-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.30) 0%, rgba(240, 249, 255, 0.30) 50%, rgba(255, 255, 255, 0.30) 100%);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  pointer-events: none;
  z-index: 1;
}

.ns-cta-box {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 36px;
  padding: 70px 60px;
  box-shadow: 0 25px 65px rgba(22, 32, 80, 0.15), 0 0 30px rgba(0, 168, 232, 0.2);
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(0, 168, 232, 0.35);
  text-align: left;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 2;
}

.ns-cta-split-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.ns-cta-title {
  font-family: var(--ns-font-heading);
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--ns-navy);
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
  text-align: left;
}

.ns-cta-title span {
  color: var(--ns-cyan);
  text-shadow: none;
}

.ns-cta-desc {
  font-size: 1.18rem;
  color: var(--ns-text-muted);
  line-height: 1.7;
  margin-bottom: 0;
  text-align: left;
}

.ns-cta-right-action {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.ns-btn-cta-wa {
  background: #25d366;
  color: #ffffff;
  font-family: var(--ns-font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  padding: 20px 36px;
  border-radius: 50px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  transition: var(--ns-transition);
  width: 100%;
  white-space: nowrap;
}

.ns-btn-cta-wa svg {
  width: 24px;
  height: 24px;
}

.ns-btn-cta-wa:hover {
  background: #1eb956;
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 15px 40px rgba(37, 211, 102, 0.6);
}



/* PROCESO */
.ns-how-section {
  padding: 100px 0;
}

.ns-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.ns-step-card {
  background: #ffffff;
  border: 1px solid var(--ns-border);
  border-radius: var(--ns-radius-md);
  padding: 34px 24px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
  transition: var(--ns-transition);
}

.ns-step-card:hover {
  transform: translateY(-6px);
  border-color: var(--ns-cyan);
}

.ns-step-num {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--ns-navy) 0%, var(--ns-cyan) 100%);
  color: #ffffff;
  font-family: var(--ns-font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 20px rgba(0, 168, 232, 0.3);
}

.ns-step-card h4 {
  font-family: var(--ns-font-heading);
  font-size: 1.35rem;
  color: var(--ns-navy);
  margin-bottom: 10px;
}

.ns-step-card p {
  color: var(--ns-text-muted);
  font-size: 0.92rem;
}

/* SHOWCASE */
.ns-showcase-section {
  padding: 90px 0;
  background: #ffffff;
  border-top: 1px solid var(--ns-border);
}

.ns-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.ns-showcase-card {
  position: relative;
  border-radius: var(--ns-radius-md);
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--ns-border);
  height: 260px;
}

.ns-showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ns-showcase-card:hover img {
  transform: scale(1.08);
}

.ns-showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(22, 32, 80, 0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: white;
}

.ns-showcase-overlay h4 {
  font-family: var(--ns-font-heading);
  font-size: 1.25rem;
  margin-bottom: 4px;
  color: #ffffff;
}

.ns-showcase-overlay p {
  font-size: 0.85rem;
  color: var(--ns-cyan-light);
}

/* ==========================================================================
   TAB 2: PRODUCTOS
   ========================================================================== */

.ns-shop-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 20px;
}

.ns-shop-sidebar {
  background: #ffffff;
  border: 1px solid var(--ns-border);
  border-radius: 24px;
  padding: 28px 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 115px;
}

.ns-sidebar-title-box {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #f1f5f9;
}

.ns-sidebar-title-box h3 {
  font-family: var(--ns-font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ns-navy);
}

.ns-sidebar-title-icon {
  width: 32px;
  height: 32px;
  background: var(--ns-cyan-light);
  color: var(--ns-cyan);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ns-sidebar-search {
  position: relative;
  margin-bottom: 26px;
}

.ns-sidebar-search .ns-search-input {
  width: 100%;
  background: #f8fafc;
  border: 1.5px solid var(--ns-border);
  padding: 12px 18px 12px 44px;
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--ns-text-main);
  outline: none;
  transition: var(--ns-transition);
}

.ns-sidebar-search .ns-search-input:focus {
  border-color: var(--ns-cyan);
  background: #ffffff;
  box-shadow: 0 0 15px rgba(0, 168, 232, 0.2);
}

.ns-sidebar-search .ns-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
}

.ns-vertical-categories {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 30px;
}

.ns-cat-item-vertical {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: var(--ns-text-main);
  padding: 14px 18px;
  border-radius: 16px;
  font-family: var(--ns-font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--ns-transition);
  text-align: left;
  width: 100%;
}

.ns-cat-item-vertical .ns-cat-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ns-cat-item-vertical .ns-cat-info svg {
  width: 20px;
  height: 20px;
  color: var(--ns-cyan);
  transition: color 0.3s ease;
}

.ns-cat-count-badge {
  background: #e2e8f0;
  color: var(--ns-text-muted);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 30px;
  transition: var(--ns-transition);
}

.ns-cat-item-vertical:hover {
  background: #ffffff;
  border-color: var(--ns-cyan);
  color: var(--ns-navy);
  transform: translateX(4px);
  box-shadow: 0 4px 15px rgba(0, 168, 232, 0.1);
}

.ns-cat-item-vertical.active {
  background: linear-gradient(135deg, var(--ns-navy) 0%, var(--ns-cyan) 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 8px 22px rgba(0, 168, 232, 0.3);
}

.ns-cat-item-vertical.active .ns-cat-info svg {
  color: #ffffff;
}

.ns-cat-item-vertical.active .ns-cat-count-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.ns-sidebar-pdf-card {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1.5px solid var(--ns-sun-gold);
  border-radius: 20px;
  padding: 20px;
  text-align: center;
}

.ns-sidebar-pdf-card h4 {
  font-family: var(--ns-font-heading);
  font-size: 1.05rem;
  color: var(--ns-navy);
  margin-bottom: 6px;
}

.ns-sidebar-pdf-card p {
  font-size: 0.82rem;
  color: #78350f;
  margin-bottom: 14px;
}

.ns-sidebar-pdf-btn {
  background: var(--ns-sun-gold);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 50px;
  font-family: var(--ns-font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  transition: var(--ns-transition);
  box-shadow: 0 4px 15px rgba(245, 166, 35, 0.3);
}

.ns-sidebar-pdf-btn:hover {
  background: var(--ns-sun-orange);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245, 166, 35, 0.5);
}

.ns-shop-main {
  display: flex;
  flex-direction: column;
}

.ns-shop-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 26px;
  background: #ffffff;
  padding: 16px 24px;
  border-radius: 18px;
  border: 1px solid var(--ns-border);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.ns-shop-active-cat {
  font-family: var(--ns-font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--ns-navy);
}

.ns-shop-active-cat span {
  color: var(--ns-cyan);
}

.ns-shop-results-count {
  font-size: 0.9rem;
  color: var(--ns-text-muted);
  font-weight: 600;
}

/* Products Grid */
.ns-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.ns-product-card {
  background: #ffffff;
  border: 1px solid var(--ns-border);
  border-radius: var(--ns-radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: var(--ns-transition);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.ns-product-card:hover {
  transform: translateY(-8px);
  border-color: var(--ns-cyan);
  box-shadow: 0 20px 45px rgba(0, 168, 232, 0.15);
}

.ns-product-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--ns-cyan-light);
  color: var(--ns-cyan-dark);
  border: 1px solid rgba(0, 168, 232, 0.3);
  padding: 4px 14px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.ns-product-img-box {
  width: 100%;
  height: 200px;
  background: #f8fafc;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  padding: 16px;
  overflow: hidden;
  border: 1px solid var(--ns-border);
}

.ns-product-img-box img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.ns-product-card:hover .ns-product-img-box img {
  transform: scale(1.1);
}

.ns-product-title {
  font-family: var(--ns-font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ns-navy);
  margin-bottom: 10px;
}

.ns-product-desc {
  font-size: 0.9rem;
  color: var(--ns-text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

.ns-specs-table {
  background: #f8fafc;
  border-radius: 14px;
  padding: 12px 16px;
  margin-bottom: 20px;
  border: 1px solid var(--ns-border);
}

.ns-spec-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 5px 0;
  border-bottom: 1px dashed var(--ns-border);
}

.ns-spec-item:last-child {
  border-bottom: none;
}

.ns-spec-key {
  color: var(--ns-text-muted);
}

.ns-spec-val {
  color: var(--ns-navy);
  font-weight: 700;
}

.ns-card-actions {
  display: flex;
  gap: 10px;
}

.ns-btn-quote {
  flex-grow: 1;
  background: linear-gradient(135deg, var(--ns-navy) 0%, var(--ns-cyan) 100%);
  color: white;
  border: none;
  padding: 14px;
  border-radius: 14px;
  font-family: var(--ns-font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--ns-transition);
  box-shadow: 0 6px 20px rgba(0, 168, 232, 0.25);
}

.ns-btn-quote:hover {
  background: linear-gradient(135deg, var(--ns-sun-gold) 0%, var(--ns-sun-orange) 100%);
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(245, 166, 35, 0.45);
}

/* TAB 3: EMPRESA */
.ns-about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 90px;
}

.ns-about-text h2 {
  font-family: var(--ns-font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--ns-navy);
  margin-bottom: 20px;
  line-height: 1.2;
}

.ns-about-text p {
  color: var(--ns-text-muted);
  font-size: 1.08rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.ns-about-image-wrapper {
  position: relative;
  border-radius: var(--ns-radius-lg);
  overflow: hidden;
  border: 3px solid #ffffff;
  box-shadow: 0 25px 50px rgba(22, 32, 80, 0.18), 0 0 35px rgba(0, 168, 232, 0.15);
}

.ns-about-image-wrapper img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
}

.ns-values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  margin-bottom: 90px;
}

.ns-value-card {
  background: #ffffff;
  border: 1px solid var(--ns-border);
  border-radius: var(--ns-radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: var(--ns-transition);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.ns-value-card:hover {
  transform: translateY(-8px);
  border-color: var(--ns-cyan);
  box-shadow: 0 20px 45px rgba(0, 168, 232, 0.15);
}

.ns-value-icon {
  width: 64px;
  height: 64px;
  background: var(--ns-cyan-light);
  border: 1px solid rgba(0, 168, 232, 0.3);
  color: var(--ns-cyan);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.ns-value-card h3 {
  font-family: var(--ns-font-heading);
  font-size: 1.45rem;
  color: var(--ns-navy);
  margin-bottom: 12px;
}

.ns-value-card p {
  color: var(--ns-text-muted);
  font-size: 0.95rem;
}

.ns-guarantee-box {
  background: linear-gradient(135deg, var(--ns-navy) 0%, #1e295d 100%);
  color: #ffffff;
  border-radius: var(--ns-radius-lg);
  padding: 55px;
  text-align: center;
  box-shadow: 0 25px 60px rgba(22, 32, 80, 0.25);
}

.ns-guarantee-box h3 {
  font-family: var(--ns-font-heading);
  font-size: 2.4rem;
  color: #ffffff;
  margin-bottom: 16px;
}

.ns-guarantee-chips {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.ns-guarantee-chip {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--ns-cyan);
  color: var(--ns-cyan-light);
  padding: 12px 26px;
  border-radius: 50px;
  font-family: var(--ns-font-heading);
  font-weight: 800;
  font-size: 0.92rem;
}

/* TAB 4: CONTACTOS */
.ns-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  margin-bottom: 90px;
}

.ns-contact-cards {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.ns-contact-card {
  background: #ffffff;
  border: 1px solid var(--ns-border);
  border-radius: 20px;
  padding: 26px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: var(--ns-transition);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
}

.ns-contact-card:hover {
  transform: translateX(8px);
  border-color: var(--ns-cyan);
  box-shadow: 0 12px 30px rgba(0, 168, 232, 0.15);
}

.ns-contact-icon {
  width: 54px;
  height: 54px;
  background: var(--ns-cyan-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ns-cyan);
  border: 1px solid rgba(0, 168, 232, 0.3);
}

.ns-contact-info h4 {
  font-family: var(--ns-font-heading);
  font-size: 1.15rem;
  color: var(--ns-navy);
  margin-bottom: 4px;
}

.ns-contact-info p {
  color: var(--ns-text-muted);
  font-size: 0.95rem;
}

.ns-contact-form-box {
  background: #ffffff;
  border: 1px solid var(--ns-border);
  border-radius: var(--ns-radius-lg);
  padding: 45px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.05);
}

.ns-form-group {
  margin-bottom: 22px;
}

.ns-form-label {
  display: block;
  font-family: var(--ns-font-heading);
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--ns-navy);
  margin-bottom: 8px;
}

.ns-form-input, .ns-form-select, .ns-form-textarea {
  width: 100%;
  background: #f8fafc;
  border: 1.5px solid var(--ns-border);
  padding: 14px 18px;
  border-radius: 14px;
  color: var(--ns-text-main);
  font-family: var(--ns-font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--ns-transition);
}

.ns-form-input:focus, .ns-form-select:focus, .ns-form-textarea:focus {
  border-color: var(--ns-cyan);
  box-shadow: 0 0 20px rgba(0, 168, 232, 0.2);
  background: #ffffff;
}

.ns-form-textarea {
  height: 125px;
  resize: vertical;
}

.ns-form-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--ns-navy) 0%, var(--ns-cyan) 100%);
  color: #ffffff;
  font-family: var(--ns-font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  padding: 16px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  transition: var(--ns-transition);
  box-shadow: 0 8px 25px rgba(0, 168, 232, 0.35);
}

.ns-form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(0, 168, 232, 0.5);
}

/* FAQ */
.ns-faq-section {
  padding: 60px 0;
}

.ns-faq-grid {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ns-faq-item {
  background: #ffffff;
  border: 1px solid var(--ns-border);
  border-radius: 18px;
  overflow: hidden;
  transition: var(--ns-transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.ns-faq-item.active {
  border-color: var(--ns-cyan);
  box-shadow: 0 10px 30px rgba(0, 168, 232, 0.12);
}

.ns-faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 22px 26px;
  text-align: left;
  font-family: var(--ns-font-heading);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--ns-navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ns-faq-icon {
  width: 24px;
  height: 24px;
  color: var(--ns-cyan);
  transition: transform 0.3s ease;
}

.ns-faq-item.active .ns-faq-icon {
  transform: rotate(180deg);
}

.ns-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: #f8fafc;
}

.ns-faq-answer-inner {
  padding: 0 26px 22px;
  color: var(--ns-text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

/* MODAL & WHATSAPP */
.ns-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.ns-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.ns-modal-container {
  background: #ffffff;
  border: 2px solid var(--ns-cyan);
  border-radius: var(--ns-radius-lg);
  width: 90%;
  max-width: 560px;
  padding: 40px;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 25px 65px rgba(15, 23, 42, 0.25);
}

.ns-modal-overlay.active .ns-modal-container {
  transform: scale(1);
}

.ns-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #f1f5f9;
  border: none;
  color: var(--ns-navy);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--ns-transition);
}

.ns-modal-close:hover {
  background: var(--ns-navy);
  color: white;
}

.ns-float-wa {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 62px;
  height: 62px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  z-index: 999;
  text-decoration: none;
  transition: var(--ns-transition);
  animation: waPulse 2s infinite;
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  50% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
}

.ns-float-wa:hover {
  transform: scale(1.1);
}

/* FOOTER */
.ns-footer {
  background: #0f172a;
  border-top: 1px solid var(--ns-border);
  padding: 65px 0 35px;
  color: #94a3b8;
  font-size: 0.92rem;
  position: relative;
  z-index: 10;
}

.ns-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.ns-footer-brand p {
  margin-top: 16px;
  line-height: 1.7;
}

.ns-footer-links h5 {
  font-family: var(--ns-font-heading);
  font-size: 1.1rem;
  color: white;
  margin-bottom: 20px;
}

.ns-footer-links ul {
  list-style: none;
}

.ns-footer-links li {
  margin-bottom: 10px;
}

.ns-footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s ease;
  cursor: pointer;
}

.ns-footer-links a:hover {
  color: var(--ns-cyan);
}

.ns-footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 992px) {
  .ns-shop-layout {
    grid-template-columns: 1fr;
  }

  .ns-shop-sidebar {
    position: relative;
    top: 0;
    margin-bottom: 20px;
  }

  .ns-hero-grid, .ns-about-hero, .ns-contact-grid {
    grid-template-columns: 1fr;
  }

  .ns-nav-tabs {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 20px;
    border-radius: 0 0 20px 20px;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

  .ns-nav-tabs.open {
    display: flex;
  }

  .ns-mobile-toggle {
    display: block;
  }

  .ns-hero-title {
    font-size: 2.8rem;
  }

  .ns-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ns-prev-btn { left: 5px; }
  .ns-next-btn { right: 5px; }
}

@media (max-width: 600px) {
  .ns-hero-title {
    font-size: 2.2rem;
  }

  .ns-footer-grid {
    grid-template-columns: 1fr;
  }

  .ns-stat-card {
    border-right: none;
    border-bottom: 1px solid var(--ns-border);
    padding-bottom: 16px;
  }
}
