/* ==========================================
   NOVOWEB - Landing Page Estática
   ========================================== */

:root {
  --primary: #2B6CB0;
  --primary-dark: #215387;
  --dark: #1A202C;
  --gray-dark: #2D3748;
  --gray: #4A5568;
  --gray-light: #718096;
  --bg-light: #EDF2F7;
  --bg-white: #ffffff;
  --bg-soft: #F7FAFC;
  --accent: #2B6CB0;
  --text: #2D3748;
  --text-light: #4A5568;
  --white: #ffffff;
  --shadow: 0 10px 40px rgba(0,0,0,0.08);
  --shadow-hover: 0 20px 60px rgba(0,0,0,0.12);
  --radius: 12px;
  --font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg-soft);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================
   HEADER
   ========================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 42px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--gray);
  transition: color 0.3s ease;
  position: relative;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

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

/* Mobile menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  margin: 5px 0;
  transition: all 0.3s ease;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  z-index: 999;
}

.mobile-nav a {
  display: block;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 500;
  color: var(--gray-dark);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  background: var(--bg-light);
  color: var(--primary);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--dark);
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26,32,44,0.85) 0%, rgba(33,83,135,0.7) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 120px 24px 80px;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 24px;
  border: 1px solid rgba(255,255,255,0.2);
}

.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.hero h1 span {
  color: #63B3ED;
}

.hero-divider {
  width: 60px;
  height: 3px;
  background: #63B3ED;
  margin: 24px auto;
  border-radius: 2px;
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 40px;
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-family: var(--font);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(43,108,176,0.4);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(43,108,176,0.5);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.8);
  transform: translateY(-2px);
}

/* ==========================================
   FEATURES / BULLET POINTS
   ========================================== */
.features {
  padding: 80px 0;
  background: var(--white);
  margin-top: -40px;
  position: relative;
  z-index: 4;
  border-radius: 40px 40px 0 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(43,108,176,0.1);
  background: var(--white);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary), #63B3ED);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 24px;
  color: var(--white);
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ==========================================
   PACKS / PRICING
   ========================================== */
.packs {
  padding: 100px 0;
  background: var(--bg-soft);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.section-header p {
  font-size: 17px;
  color: var(--text-light);
  max-width: 500px;
  margin: 0 auto;
}

.packs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pack-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
}

.pack-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.pack-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(43,108,176,0.1);
}

.pack-card.featured::before {
  content: 'Más popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 16px;
  border-radius: 20px;
}

.pack-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.pack-desc {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 20px;
}

.pack-price {
  font-size: 42px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 24px;
  line-height: 1;
}

.pack-price span {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-light);
}

.pack-features {
  list-style: none;
  margin-bottom: 28px;
  flex-grow: 1;
}

.pack-features li {
  font-size: 14px;
  color: var(--text-light);
  padding: 8px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-bottom: 1px solid var(--bg-light);
}

.pack-features li:last-child {
  border-bottom: none;
}

.pack-features li i {
  color: var(--primary);
  font-size: 12px;
  margin-top: 4px;
  flex-shrink: 0;
}

.pack-card .btn {
  width: 100%;
  font-size: 14px;
  padding: 12px 24px;
}

.pack-card .btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.pack-card .btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

/* ==========================================
   TESTIMONIALS / CLIENTS
   ========================================== */
.clients {
  padding: 100px 0;
  background: var(--white);
  overflow: hidden;
}

.clients .section-header {
  margin-bottom: 50px;
}

.clients-slider {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
}

.clients-track {
  display: flex;
  gap: 32px;
  animation: scroll 20s linear infinite;
  width: max-content;
}

.clients-track:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.client-slide {
  flex-shrink: 0;
  width: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
  background: var(--bg-soft);
}

.client-slide:hover {
  transform: scale(1.02);
}

.client-slide img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.client-slide-info {
  padding: 16px 20px;
  text-align: center;
}

.client-slide-info h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
}

/* ==========================================
   CTA SECTION
   ========================================== */
.cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--dark) 0%, var(--gray-dark) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(43,108,176,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.cta h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  position: relative;
}

.cta p {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
  position: relative;
}

.cta .btn-primary {
  background: #63B3ED;
  box-shadow: 0 4px 20px rgba(99,179,237,0.4);
}

.cta .btn-primary:hover {
  background: var(--primary);
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact {
  padding: 100px 0;
  background: var(--bg-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
}

.contact-info p {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 32px;
  line-height: 1.7;
}

.contact-details {
  list-style: none;
}

.contact-details li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  font-size: 15px;
  color: var(--text);
}

.contact-details li i {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

/* Contact Form */
.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--bg-light);
  border-radius: 8px;
  font-size: 15px;
  font-family: var(--font);
  color: var(--text);
  transition: border-color 0.3s ease;
  background: var(--bg-soft);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form .btn {
  width: 100%;
  padding: 16px;
  font-size: 16px;
}

/* ==========================================
   FOOTER
   ========================================== */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.6);
  padding: 32px 0;
  text-align: center;
  font-size: 14px;
}

.site-footer a {
  color: rgba(255,255,255,0.8);
  transition: color 0.3s ease;
}

.site-footer a:hover {
  color: #63B3ED;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
  .packs-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 600px;
    margin: 0 auto;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-nav.show {
    display: block;
  }

  .features-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .packs-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }

  .hero-content {
    padding: 100px 24px 60px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 28px;
  }

  .client-slide {
    width: 260px;
  }
}

/* ==========================================
   ANIMATIONS
   ========================================== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation for cards */
.feature-card:nth-child(1) { transition-delay: 0s; }
.feature-card:nth-child(2) { transition-delay: 0.1s; }
.feature-card:nth-child(3) { transition-delay: 0.2s; }

.pack-card:nth-child(1) { transition-delay: 0s; }
.pack-card:nth-child(2) { transition-delay: 0.1s; }
.pack-card:nth-child(3) { transition-delay: 0.2s; }
.pack-card:nth-child(4) { transition-delay: 0.3s; }

/* Slider grab cursor */
.clients-slider.grabbing {
  cursor: grabbing;
}

.clients-slider {
  cursor: grab;
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }

  .pack-price {
    font-size: 36px;
  }
}
