/* NovaWorks — Paleta y estilos base mejorados */
:root{
  --nw-bg: #0B1220;        /* fondo oscuro */
  --nw-surface: #0E1628;   /* superficie/cards */
  --nw-indigo: #6366F1;    /* acento índigo */
  --nw-purple: #7C3AED;    /* acento púrpura */
  --nw-gold: #F59E0B;      /* acento dorado */
  --nw-gold-2: #FACC15;    /* dorado claro */
  --nw-text: #E5E7EB;      /* texto claro */
  --nw-muted: #94A3B8;     /* texto secundario */
  --nw-border: rgba(255,255,255,0.08);
}

*{ box-sizing: border-box; margin: 0; padding: 0; }
html, body{
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--nw-text);
  background: var(--nw-bg);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* Utilidades */
.nw-container{ width:100%; max-width:1200px; margin:0 auto; padding:0 1.25rem; }
.nw-section{ padding:5rem 0; position: relative; }
.nw-muted{ color: var(--nw-muted); }
.nw-list{ margin:1rem 0; padding-left:1.25rem; }
.nw-list li{ margin: .35rem 0; }

/* Botones mejorados */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:.5rem; padding:.8rem 1.25rem;
  border-radius:14px; border:1px solid transparent;
  cursor:pointer; text-decoration:none; font-weight:600;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}
.btn:active{ transform: translateY(1px); }
.btn-primary{
  background: var(--nw-gold); color:#0B1220;
  box-shadow: 0 4px 14px 0 rgba(245, 158, 11, 0.3);
}
.btn-primary:hover{ 
  background: var(--nw-gold-2); 
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(245, 158, 11, 0.4);
}
.btn-ghost{
  background: rgba(255,255,255,.06); color: var(--nw-text);
  border-color: var(--nw-border);
}
.btn-ghost:hover{ 
  background: rgba(255,255,255,.1); 
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255,255,255,0.1);
}

/* Header / Nav mejorado */
.nw-header{
  position:sticky; top:0; z-index:100;
  background: rgba(11,18,32, .85);
  backdrop-filter: blur(12px);
  border-bottom:1px solid var(--nw-border);
  transition: all 0.3s ease;
}
.nw-nav{ 
  display:flex; align-items:center; justify-content:space-between; 
  padding:1rem 0; 
}
.nw-brand{ 
  display:flex; align-items:center; gap:.8rem; 
  transition: transform 0.3s ease;
}
.nw-brand:hover { transform: scale(1.02); }
.nw-brand-name{ 
  font-weight:600; letter-spacing:.2px; 
  font-size: 1.25rem;
  background: linear-gradient(90deg, var(--nw-gold), var(--nw-gold-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nw-logo{ 
  width:42px; height:42px; border-radius:10px; 
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.nw-logo:hover {
  transform: rotate(5deg) scale(1.05);
}
.nw-burger{
  display:none; position:relative; width:38px; height:38px;
  background: transparent; border:1px solid var(--nw-border); border-radius:10px;
  transition: all 0.3s ease;
}
.nw-burger:hover {
  background: rgba(255,255,255,.05);
  border-color: var(--nw-gold);
}
.nw-burger span{
  position:absolute; left:8px; right:8px; height:2px; background: var(--nw-text);
  transition: all 0.3s ease;
}
.nw-burger span:nth-child(1){ top:11px; }
.nw-burger span:nth-child(2){ top:18px; }
.nw-burger span:nth-child(3){ top:25px; }

.nw-menu{ display:flex; gap:1rem; }
.nw-menu a{
  color:var(--nw-muted); text-decoration:none; padding:.6rem .8rem; border-radius:10px;
  transition: all 0.3s ease;
  position: relative;
}
.nw-menu a:hover{ 
  color:var(--nw-text); 
  background: rgba(255,255,255,.06);
  transform: translateY(-2px);
}
.nw-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--nw-gold);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}
.nw-menu a:hover::after {
  width: 70%;
}

/* Hero mejorado con animaciones */
.nw-hero{
  position:relative; overflow:hidden;
  padding: 7rem 0 5rem;
  background:
    radial-gradient(60% 60% at 70% -10%, rgba(124,58,237,.20), transparent 60%),
    radial-gradient(50% 50% at -10% 10%, rgba(99,102,241,.14), transparent 60%);
  min-height: 85vh;
  display: flex;
  align-items: center;
}
.nw-hero-content {
  position: relative;
  z-index: 2;
}
.nw-hero h1{
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1; margin: .2rem 0 .6rem;
  background: linear-gradient(90deg, #fff, var(--nw-gold-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeInUp 1s ease-out;
}
.nw-hero p{
  color:var(--nw-muted);
  max-width: 720px;
  font-size: 1.1rem;
  line-height: 1.6;
  animation: fadeInUp 1s ease-out 0.2s both;
}
.nw-hero .nw-cta{ 
  margin-top:2rem; 
  display:flex; gap:.75rem; flex-wrap:wrap;
  animation: fadeInUp 1s ease-out 0.4s both;
}

/* Elementos visuales del hero */
.nw-hero-visual {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.nw-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.6;
  animation: float 6s ease-in-out infinite;
}

.nw-orb-1 {
  width: 300px;
  height: 300px;
  background: var(--nw-purple);
  top: 10%;
  right: 10%;
  animation-delay: 0s;
}

.nw-orb-2 {
  width: 200px;
  height: 200px;
  background: var(--nw-indigo);
  bottom: 20%;
  left: 5%;
  animation-delay: 2s;
}

.nw-orb-3 {
  width: 150px;
  height: 150px;
  background: var(--nw-gold);
  top: 50%;
  right: 20%;
  animation-delay: 4s;
}

/* Cards & grid mejorados */
.nw-card{
  background: rgba(255,255,255,.04);
  border:1px solid var(--nw-border);
  border-radius: 18px;
  padding: 1.5rem;
  display:flex; flex-direction:column; gap:1rem;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}
.nw-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.nw-card:hover::before {
  opacity: 1;
}

.nw-card-glow {
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.1);
}

.nw-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--nw-gold);
  margin-bottom: 0.5rem;
}

.nw-grid{
  display:grid; gap:1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 2rem;
}

.nw-project{ grid-column: span 1; }

.nw-project .nw-project-badge{
  display:inline-block; font-size:.7rem; letter-spacing:.4px;
  padding:.25rem .75rem; border-radius:999px;
  background: rgba(245,158,11,.15); color: var(--nw-gold);
  border: 1px solid rgba(245,158,11,.35);
  margin-bottom:.5rem;
  font-weight: 600;
}

/* Hover flotante mejorado para cards */
.hover-float{ transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.hover-float:hover{ 
  transform: translateY(-8px); 
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  border-color: rgba(245, 158, 11, 0.3);
}

/* Animaciones */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-20px) scale(1.05);
  }
}

.fade-item {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.fade-item.appear {
  opacity: 1;
  transform: translateY(0);
}

/* Contacto mejorado */
.nw-contact{
  display:grid; gap:1rem; grid-template-columns: 1fr;
}

.nw-form {
  max-width: 600px;
  margin: 0 auto;
}

.nw-form .nw-field{ margin-bottom:1.25rem; position: relative; }
.nw-form label{ 
  display:block; font-size:.9rem; margin-bottom:.5rem; 
  color: var(--nw-text); 
  font-weight: 500;
}
.nw-form input, .nw-form textarea{
  width:100%; padding:1rem 1rem; border-radius:12px;
  border:1px solid var(--nw-border); background: rgba(255,255,255,.06);
  color: var(--nw-text);
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
}
.nw-form input:focus, .nw-form textarea:focus {
  outline: none;
  border-color: var(--nw-gold);
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2);
  background: rgba(255,255,255,.08);
}
.nw-form input::placeholder, .nw-form textarea::placeholder{ color: #9aa5b1; }
.nw-form .nw-error{ display:block; color:#ff6b6b; font-size:.8rem; min-height:1rem; margin-top: 0.25rem; }

/* Footer mejorado */
.nw-footer{
  border-top:1px solid var(--nw-border);
  padding:2rem 0; 
  background: rgba(11,18,32, 0.8);
}
.nw-footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nw-footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Responsive mejorado */
@media (max-width: 880px){
  .nw-burger{ display:inline-flex; align-items:center; justify-content:center; }
  .nw-menu{
    position:absolute; top:100%; left:0; right:0;
    flex-direction:column; gap:0;
    background: rgba(11,18,32, .95); backdrop-filter: blur(12px);
    border-top:1px solid var(--nw-border); border-radius:0 0 14px 14px;
    padding:1rem; display:none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  }
  .nw-menu.open{ display:flex; }
  .nw-menu a {
    padding: 0.8rem 1rem;
    border-radius: 8px;
    margin-bottom: 0.25rem;
  }
  
  .nw-hero {
    padding: 5rem 0 3rem;
    min-height: auto;
  }
  
  .nw-footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .nw-hero .nw-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .nw-section {
    padding: 3rem 0;
  }
  
  .nw-card {
    padding: 1.25rem;
  }
  
  .nw-hero h1 {
    font-size: 2rem;
  }
}

/* Extras: botones internos servicios/productos */
.nw-card a.btn{ 
  align-self:flex-start; 
  margin-top:auto; 
  transition: all 0.3s ease; 
}
.nw-card a.btn:hover{ 
  transform: translateY(-2px) scale(1.02); 
}

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

/* Iconos redes en header */
.nw-social-header {
  display: flex;
  gap: 14px;
}

.nw-social-header a {
  font-size: 1.4rem;
  color: white;
  transition: 0.3s;
}

.nw-social-header a:hover {
  color: #8ab4ff;
  transform: scale(1.15);
}

@media (max-width: 768px) {
  .nw-social-header {
    position: absolute;
    right: 60px;
    top: 20px;
  }
}

/* HEADER COMPLETO FIJO */
.nw-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(11, 18, 32, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--nw-border);
  transition: all 0.3s ease;
}

.nw-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

/* Ajuste para que el contenido no quede detrás del header fijo */
body {
  padding-top: 90px;
}

/* ESTILOS PARA LA SECCIÓN "PRÓXIMAMENTE" */
.nw-coming-soon {
  position: relative;
  border: 2px dashed rgba(245, 158, 11, 0.3);
  background: rgba(245, 158, 11, 0.05);
}

.nw-coming-badge {
  background: rgba(245, 158, 11, 0.2) !important;
  color: var(--nw-gold) !important;
  border: 1px dashed var(--nw-gold) !important;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 0.6; }
  50% { opacity: 1; }
  100% { opacity: 0.6; }
}

/* BOTÓN PRÓXIMAMENTE */
.nw-notify-btn {
  width: 100%;
  justify-content: center;
  background: rgba(245, 158, 11, 0.3) !important;
  cursor: not-allowed;
}

.nw-notify-btn:hover {
  transform: none !important;
  background: rgba(245, 158, 11, 0.3) !important;
}

/* MEJORA LA LISTA DE CARACTERÍSTICAS */
.nw-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin: 1rem 0;
}

.nw-features-list span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--nw-muted);
}

.nw-features-list i {
  color: var(--nw-gold);
  font-size: 0.8rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .nw-features-list {
    grid-template-columns: 1fr;
  }
  
  body {
    padding-top: 80px;
  }
  
  .nw-header {
    padding: 0.5rem 0;
  }
}

/* ESTILOS MEJORADOS PARA LA SECCIÓN DE CONTACTO */
.nw-contact-header {
  text-align: center;
  margin-bottom: 3rem;
}

.nw-contact-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, var(--nw-gold), var(--nw-gold-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nw-contact-info {
  margin-top: 1.5rem;
}

.nw-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--nw-gold);
  text-decoration: none;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  transition: all 0.3s ease;
}

.nw-contact-link:hover {
  background: rgba(245, 158, 11, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

.nw-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2.5rem;
  align-items: start;
}

.nw-contact-info-card {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--nw-border);
  border-radius: 18px;
  padding: 2rem;
  height: fit-content;
  position: relative;
  overflow: hidden;
}

.nw-contact-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--nw-gold), var(--nw-purple));
}

.nw-contact-info-card h3 {
  margin-bottom: 1.5rem;
  color: var(--nw-text);
  font-size: 1.5rem;
}

.nw-contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.nw-contact-method {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.nw-contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--nw-gold);
  flex-shrink: 0;
}

.nw-contact-method h4 {
  color: var(--nw-text);
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.nw-contact-method p {
  color: var(--nw-muted);
  font-size: 0.9rem;
}

.nw-social-contact {
  border-top: 1px solid var(--nw-border);
  padding-top: 1.5rem;
}

.nw-social-contact p {
  margin-bottom: 1rem;
  color: var(--nw-muted);
  font-size: 0.9rem;
}

.nw-social-links {
  display: flex;
  gap: 0.75rem;
}

.nw-social-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nw-text);
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid var(--nw-border);
}

.nw-social-btn:hover {
  background: rgba(245, 158, 11, 0.1);
  color: var(--nw-gold);
  transform: translateY(-2px);
  border-color: rgba(245, 158, 11, 0.3);
}

/* Mejoras al formulario */
.nw-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.nw-form h3 {
  margin-bottom: 1.5rem;
  color: var(--nw-text);
  font-size: 1.5rem;
}

.nw-form input, .nw-form textarea, .nw-form select {
  width: 100%;
  padding: 1rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--nw-border);
  background: rgba(255,255,255,.06);
  color: var(--nw-text);
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.nw-form input:focus, .nw-form textarea:focus, .nw-form select:focus {
  outline: none;
  border-color: var(--nw-gold);
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2);
  background: rgba(255,255,255,.08);
}

.nw-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23E5E7EB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  padding-right: 2.5rem;
  background-color: #0B1220 !important;
  color: #E5E7EB !important;
  cursor: pointer;
}

/* Estilos para las opciones del select */
.nw-form select option {
  background-color: #0B1220 !important;
  color: #E5E7EB !important;
  padding: 12px;
  border: none;
}

/* Para navegadores WebKit (Chrome, Safari, Edge) */
.nw-form select::-webkit-listbox,
.nw-form select::-webkit-select-listbox {
  background-color: #0B1220 !important;
  color: #E5E7EB !important;
  border: 1px solid var(--nw-border);
  border-radius: 8px;
}

.nw-form select::-webkit-listbox-option {
  background-color: #0B1220 !important;
  color: #E5E7EB !important;
  padding: 12px;
}

.nw-form select::-webkit-listbox-option:hover {
  background-color: rgba(245, 158, 11, 0.1) !important;
}

/* Para Firefox */
.nw-form select option:checked,
.nw-form select option:hover {
  background-color: rgba(245, 158, 11, 0.2) !important;
  color: #E5E7EB !important;
}

.nw-submit-btn {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
  padding: 1rem 1.5rem;
  font-size: 1rem;
}

.nw-form-note {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--nw-muted);
}

/* Animaciones específicas para contacto */
@keyframes formGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.1);
  }
  50% {
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.2);
  }
}

.nw-form {
  animation: formGlow 3s ease-in-out infinite;
}

/* Responsive para contacto */
@media (max-width: 968px) {
  .nw-contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .nw-contact-info-card {
    order: 2;
  }
  
  .nw-form {
    order: 1;
  }
}

@media (max-width: 768px) {
  .nw-form-row {
    grid-template-columns: 1fr;
  }
  
  .nw-contact-header h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .nw-contact-info-card,
  .nw-form {
    padding: 1.5rem;
  }
  
  .nw-contact-method {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
  
  .nw-contact-icon {
    align-self: center;
  }
}

/* Nuevas animaciones y efectos visuales */
@keyframes float {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-20px) scale(1.05);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% { opacity: 0.6; }
  50% { opacity: 1; }
  100% { opacity: 0.6; }
}

@keyframes formGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.1);
  }
  50% {
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.2);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

/* Efectos hover mejorados para cards */
.nw-card {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--nw-border);
  border-radius: 18px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.nw-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.nw-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.nw-card:hover::after {
  left: 100%;
}

/* Efecto de brillo en hover */
.nw-card-glow {
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.1);
  transition: box-shadow 0.3s ease;
}

.nw-card-glow:hover {
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.2), 0 0 60px rgba(245, 158, 11, 0.1);
}

/* Iconos animados */
.nw-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--nw-gold);
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nw-card-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.nw-card:hover .nw-card-icon::before {
  transform: translateX(100%);
}

.nw-card:hover .nw-card-icon {
  transform: scale(1.1) rotate(5deg);
  background: rgba(245, 158, 11, 0.2);
}

/* Hover flotante mejorado */
.hover-float {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hover-float:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
  border-color: rgba(245, 158, 11, 0.4);
}

/* Hero con más elementos visuales */
.nw-hero-visual {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.nw-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.6;
  animation: float 6s ease-in-out infinite;
}

.nw-orb-1 {
  width: 300px;
  height: 300px;
  background: var(--nw-purple);
  top: 10%;
  right: 10%;
  animation-delay: 0s;
}

.nw-orb-2 {
  width: 200px;
  height: 200px;
  background: var(--nw-indigo);
  bottom: 20%;
  left: 5%;
  animation-delay: 2s;
}

.nw-orb-3 {
  width: 150px;
  height: 150px;
  background: var(--nw-gold);
  top: 50%;
  right: 20%;
  animation-delay: 4s;
}

/* Nuevas formas geométricas en el hero */
.nw-hero-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
}

.nw-shape {
  position: absolute;
  opacity: 0.1;
  animation: float 8s ease-in-out infinite;
}

.nw-shape-1 {
  width: 80px;
  height: 80px;
  background: var(--nw-gold);
  top: 20%;
  left: 10%;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  animation-delay: 1s;
}

.nw-shape-2 {
  width: 60px;
  height: 60px;
  background: var(--nw-purple);
  bottom: 30%;
  right: 15%;
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
  animation-delay: 3s;
}

.nw-shape-3 {
  width: 100px;
  height: 100px;
  background: var(--nw-indigo);
  top: 60%;
  left: 5%;
  clip-path: circle(50% at 50% 50%);
  animation-delay: 5s;
}

/* Animaciones de entrada para elementos */
.fade-item {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.fade-item.appear {
  opacity: 1;
  transform: translateY(0);
}

/* Efectos especiales para botones */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

/* Efecto de carga para botones de envío */
.nw-submit-btn.loading {
  pointer-events: none;
  opacity: 0.7;
}

.nw-submit-btn.loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: rotate 1s linear infinite;
}

/* Mejoras para la sección de contacto */
.nw-form {
  animation: formGlow 3s ease-in-out infinite;
}

.nw-contact-info-card {
  position: relative;
  overflow: hidden;
}

.nw-contact-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--nw-gold), var(--nw-purple));
  animation: slideInLeft 0.8s ease-out;
}

/* Efectos para los badges de productos */
.nw-project-badge {
  animation: pulse 2s infinite;
}

.nw-coming-badge {
  background: rgba(245, 158, 11, 0.2) !important;
  color: var(--nw-gold) !important;
  border: 1px dashed var(--nw-gold) !important;
}

/* Efectos de texto mejorados */
.nw-hero h1 {
  background: linear-gradient(90deg, #fff, var(--nw-gold-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: shimmer 3s linear infinite;
}

/* Transiciones suaves para inputs */
.nw-form input, .nw-form textarea, .nw-form select {
  transition: all 0.3s ease;
}

.nw-form input:focus, .nw-form textarea:focus, .nw-form select:focus {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.15);
}

/* Efectos para el header al hacer scroll */
.nw-header.scrolled {
  background: rgba(11, 18, 32, 0.98);
  backdrop-filter: blur(20px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  padding: 0.5rem 0;
}

/* Animaciones para elementos de lista */
.nw-features-list span {
  transition: all 0.3s ease;
}

.nw-features-list span:hover {
  transform: translateX(5px);
  color: var(--nw-gold);
}

/* Efectos de parallax suave para secciones */
.nw-section {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Mejoras responsive con transiciones */
@media (max-width: 768px) {
  .nw-hero-orb {
    display: none;
  }
  
  .nw-shape {
    opacity: 0.05;
  }
  
  .hover-float:hover {
    transform: translateY(-4px) scale(1.01);
  }
}

/* Efectos de carga para imágenes */
.nw-logo {
  transition: all 0.5s ease;
}

.nw-logo.loading {
  opacity: 0.5;
  animation: pulse 1.5s infinite;
}

/* Transiciones para el menú móvil */
.nw-menu {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nw-menu.open {
  animation: slideInRight 0.4s ease-out;
}

/* Efectos para elementos interactivos */
.nw-social-btn {
  transition: all 0.3s ease;
}

.nw-social-btn:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 5px 15px rgba(245, 158, 11, 0.3);
}

/* ============================================
   SECCIÓN OFERTA WEB EN 24H
   ============================================ */

.nw-special-offer {
  background: linear-gradient(135deg, #0a0e17 0%, #13182a 100%);
  position: relative;
  overflow: hidden;
}

.nw-special-offer::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 150, 255, 0.05) 0%, transparent 70%);
  z-index: 0;
}

.nw-offer-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.nw-offer-badge {
  display: inline-block;
  background: linear-gradient(90deg, #ff6b00, #ffa500);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}

.nw-offer-badge i {
  margin-right: 0.5rem;
}

.nw-offer-title {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.nw-highlight {
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}

.nw-offer-card-wrapper {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto 4rem;
}

.nw-offer-card {
  text-align: center;
  padding: 2.5rem;
  border: 2px solid rgba(0, 150, 255, 0.3);
  background: rgba(10, 20, 40, 0.8);
  backdrop-filter: blur(10px);
}

.nw-price-tag {
  background: linear-gradient(90deg, #0072ff, #00c6ff);
  color: white;
  padding: 1.2rem;
  border-radius: 12px;
  margin: -3.5rem auto 1.5rem;
  width: 80%;
  box-shadow: 0 10px 25px rgba(0, 114, 255, 0.4);
  position: relative;
  z-index: 2;
}

.nw-price-amount {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
}

.nw-price-note {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-top: 0.3rem;
}

.nw-offer-icon {
  font-size: 3rem;
  margin: 1rem auto 1.5rem;
  color: #00c6ff;
}

.nw-offer-subtitle {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #ccc;
}

.nw-main-features {
  background: rgba(0, 50, 100, 0.2);
  padding: 1.5rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  text-align: left;
}

.nw-main-features span {
  display: block;
  margin-bottom: 0.8rem;
  font-size: 1.05rem;
}

.nw-main-features i {
  color: #00ff88;
  margin-right: 0.7rem;
}

.nw-offer-details {
  display: flex;
  gap: 2rem;
  margin: 2.5rem 0;
  text-align: left;
  flex-wrap: wrap;
  justify-content: center;
}

.nw-detail-column {
  flex: 1;
  min-width: 250px;
}

.nw-detail-column h4 {
  color: #00c6ff;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.nw-detail-list {
  list-style: none;
  padding: 0;
}

.nw-detail-list li {
  margin-bottom: 0.7rem;
  padding-left: 0;
}

.nw-detail-list i {
  color: #00ff88;
  margin-right: 0.7rem;
}

.nw-offer-cta {
  margin-top: 2rem;
}

.nw-offer-btn {
  font-size: 1.2rem;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  background: linear-gradient(90deg, #ff6b00, #ffa500);
  border: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.nw-offer-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 107, 0, 0.4);
}

.nw-offer-note {
  font-size: 0.85rem;
  color: #aaa;
  line-height: 1.5;
  max-width: 700px;
  margin: 0 auto;
}

/* Comparativa */
.nw-comparison {
  text-align: center;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nw-comparison h4 {
  font-size: 1.8rem;
  margin-bottom: 2.5rem;
}

.nw-comparison-grid {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.nw-comparison-item {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.nw-comparison-item:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.08);
}

.nw-comparison-item i {
  font-size: 2.5rem;
  color: #00c6ff;
  margin-bottom: 1.2rem;
}

.nw-comparison-item h5 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .nw-offer-title {
    font-size: 2.2rem;
  }
  
  .nw-price-amount {
    font-size: 2.5rem;
  }
  
  .nw-offer-details {
    flex-direction: column;
    align-items: center;
  }
  
  .nw-detail-column {
    width: 100%;
  }
  
  .nw-offer-btn {
    font-size: 1.1rem;
    padding: 0.9rem 1.8rem;
  }
}

/* =========================================
   NUEVO CSS PARA AGENDA NOVA Y TOP BAR
   ========================================= */

/* 1. TOP BAR (Barra de aviso superior) */
.nw-top-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 40px; /* Altura fija */
  background: linear-gradient(90deg, #4f46e5, #7c3aed); /* Gradiente Indigo/Purple */
  color: white;
  z-index: 2000; /* Por encima de todo */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.nw-top-bar p {
  margin: 0;
  padding: 0;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 1rem;
}

.nw-highlight-text {
  font-weight: 800;
  color: #fbbf24; /* Dorado brillante */
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.nw-top-link {
  color: white;
  font-weight: 600;
  margin-left: 5px;
  text-decoration: underline;
}

.nw-top-link:hover {
  color: #fbbf24;
}

/* 2. AJUSTES DEL BODY Y HEADER POR LA BARRA */
body {
  /* Aumentamos el padding top para compensar header + topbar */
  padding-top: 130px; 
}

.nw-header {
  /* Bajamos el header para que no tape la barra */
  top: 40px; 
}

/* 3. ESTILOS DESTACADOS PARA AGENDA NOVA */
.nw-highlight-card {
  border: 2px solid rgba(245, 158, 11, 0.5); /* Borde dorado más visible */
  background: linear-gradient(145deg, rgba(255,255,255,0.08) 0%, rgba(245, 158, 11, 0.05) 100%);
}

.new-badge {
  background: #10B981 !important; /* Verde esmeralda para "Nuevo" */
  color: #ffffff !important;
  border: none !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
  animation: popIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* 4. MEJORAS DE RESPONSIVIDAD (MÓVIL) */
@media (max-width: 880px) {
  /* Ajuste barra y header en móvil */
  .nw-top-bar {
    height: auto;
    min-height: 40px;
    padding: 5px 0;
  }
  
  .nw-top-bar p {
    white-space: normal; /* Permitir salto de línea en pantallas pequeñas */
    font-size: 0.8rem;
    line-height: 1.3;
  }
  
  /* Recalcular posición del header basado en altura aprox */
  .nw-header {
    top: 40px; /* Asumiendo altura promedio, JS podría ajustarlo mejor pero CSS puro funciona */
  }

  body {
    padding-top: 120px;
  }

  /* Menú hamburguesa fix */
  .nw-menu {
    top: 100%; /* Se despliega justo debajo del header */
    max-height: 80vh; /* Evita que el menú sea más alto que la pantalla */
    overflow-y: auto; /* Scroll si el menú es muy alto */
  }
}

@media (max-width: 480px) {
  /* Títulos más pequeños en celular */
  .nw-hero h1 {
    font-size: 2.2rem;
  }
  
  /* Cards ocupan ancho completo y texto legible */
  .nw-grid {
    grid-template-columns: 1fr; /* Una columna forzada */
  }
  
  /* Ajustes en padding lateral */
  .nw-container {
    padding: 0 1.5rem;
  }
  
  /* Top bar más espacio */
  .nw-top-bar {
    position: relative; /* En móvil muy pequeño, a veces es mejor relative para no comer pantalla */
  }
  
  .nw-header {
    position: sticky; /* Cambia a sticky si la barra es relative */
    top: 0;
  }
  
  body {
    padding-top: 0; /* Reset padding si cambiamos a relative/sticky stack */
  }
}
