/* ==========================================
   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;
  scroll-padding-top: 72px;
}

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);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.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-link {
  display: block;
  flex-shrink: 0;
  width: 320px;
  color: inherit;
  text-decoration: none;
}

.client-slide {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: var(--bg-soft);
}

.client-slide-link:hover .client-slide,
.client-slide-link:focus-visible .client-slide {
  transform: scale(1.02);
  box-shadow: var(--shadow-hover);
}

.client-slide-link:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 6px;
  border-radius: var(--radius);
}

.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: linear-gradient(180deg, var(--bg-soft) 0%, #E2E8F0 100%);
}

.contact-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 48px;
  max-width: 900px;
  margin: 0 auto;
  padding: 52px 60px;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--gray-dark) 100%);
  box-shadow: var(--shadow-hover);
}

.contact-card::before,
.contact-card::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.contact-card::before {
  top: -180px;
  right: -100px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(99,179,237,0.3) 0%, transparent 70%);
}

.contact-card::after {
  bottom: -220px;
  left: -140px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(43,108,176,0.3) 0%, transparent 70%);
}

.contact-icon {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 84px;
  width: 84px;
  height: 84px;
  border-radius: 22px;
  background: linear-gradient(135deg, #63B3ED, var(--primary));
  color: var(--white);
  font-size: 34px;
  box-shadow: 0 12px 30px rgba(99,179,237,0.3);
}

.contact-info {
  position: relative;
  z-index: 1;
  flex: 1;
}

.contact-eyebrow {
  display: block;
  margin-bottom: 8px;
  color: #90CDF4;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.contact-info h3 {
  font-size: 34px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.contact-info > p {
  max-width: 620px;
  margin-bottom: 28px;
  color: rgba(255,255,255,0.76);
  font-size: 16px;
  line-height: 1.7;
}

.contact-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-option {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  color: var(--white);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.contact-option:hover,
.contact-option:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(144,205,244,0.65);
  background: rgba(255,255,255,0.15);
}

.contact-option:focus-visible {
  outline: 3px solid rgba(144,205,244,0.7);
  outline-offset: 3px;
}

.contact-option > i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(99,179,237,0.24);
  color: #90CDF4;
  flex-shrink: 0;
}

.contact-option span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-option small {
  color: rgba(255,255,255,0.58);
  font-size: 11px;
}

.contact-option strong {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
}

.contact-location {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 24px 0 0 !important;
  color: rgba(255,255,255,0.58) !important;
  font-size: 13px !important;
}

.contact-location i {
  color: #90CDF4;
}

/* ==========================================
   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);
  }
}

@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;
  }

  .contact-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    padding: 40px 32px;
  }

  .contact-options {
    flex-direction: column;
  }

  .contact-option {
    width: 100%;
    min-width: 0;
  }

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

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

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

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

.feature-card,
.pack-card,
.contact-card {
  animation-name: reveal-card;
  animation-duration: 0.6s;
  animation-timing-function: ease;
  animation-fill-mode: both;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .feature-card,
  .pack-card,
  .contact-card {
    animation: none;
  }
}

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

.clients-slider {
  cursor: grab;
}

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

  .contact-info h3 {
    font-size: 30px;
  }

  .contact-card {
    padding: 36px 24px;
  }

  .contact-icon {
    flex-basis: 72px;
    width: 72px;
    height: 72px;
    font-size: 28px;
  }

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

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