:root {
  --primary: #6c63ff;
  --dark: #0f172a;
  --gray: #64748b;
  --light-bg: #f4f6fb;
  --radius: 14px;
  --shadow: 0 20px 40px rgba(0,0,0,.08);
}

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

body {
  font-family: Inter, system-ui, sans-serif;
  color: var(--dark);
  line-height: 1.6;
 font-size: 16px;
    line-height: 1.5;
}

/* LAYOUT */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 2rem;
}

.container.narrow {
  max-width: 800px;
}

/* NAV */
.header {
  position: fixed;
  width: 100%;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  z-index: 1000;
}

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

.logo {
  font-weight: 700;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
}

.btn-nav {
  border: 2px solid var(--primary);
  padding: .4rem .9rem;
  border-radius: var(--radius);
}

/* HERO */
.hero {
  min-height: 100vh;
  background: url("hero.jpg") center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  color: white;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
}

.hero-content {
  position: relative;
  max-width: 700px;
  padding-top: 5rem;
}

/* SECTIONS */
.section {
  padding: 5rem 0;
}

.light-bg {
  background: var(--light-bg);
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 2.5rem;
}

p {
  color: var(--gray);
}

/* GRID */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 2rem;
}

/* CARDS */
.card, .plan, .value {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.plan ul {
  list-style: none;
  margin: 1.5rem 0;
}

.price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.featured {
  border: 2px solid var(--primary);
}

/* STEPS */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 2rem;
}

.step span {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

/* CTA */
.cta {
  background: url("cta.jpg") center/cover no-repeat;
  position: relative;
  padding: 6rem 0;
  color: white;
}

.cta-content {
  position: relative;
  max-width: 700px;
}

/* BUTTONS */
.btn, .btn-primary {
  display: inline-block;
  padding: .7rem 1.4rem;
  border-radius: var(--radius);
  text-decoration: none;
  margin-top: 1rem;

}

.btn {
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-primary {
  background: var(--primary);
  color: white;
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 2rem;
  background: var(--dark);
  color: white;
}

/* MOBILE */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    right: 2rem;
    top: 70px;
    background: white;
    flex-direction: column;
    padding: 1rem;
  }

  .nav-links.open {
    display: flex;
  }
}
/* =====================
   MICRO ANIMACIONES
===================== */

/* Transiciones generales */
a,
button,
.card,
.plan,
.value {
  transition: all .3s ease;
}

/* Hover cards / planes */
.card:hover,
.plan:hover,
.value:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(0,0,0,.12);
}

/* Hover botones */
.btn:hover,
.btn-primary:hover,
.btn-nav:hover {
  transform: translateY(-2px);
  opacity: .95;
}

/* Links menú */
.nav-links a:hover {
  color: var(--primary);
}

/* Animación scroll */
.reveal {
  opacity: 0;
  transform: translateY(30px);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
  transition: .7s ease;
}


./* =====================
   FOOTER
===================== */

/* Footer links en blanco */
.footer a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity .3s ease, transform .3s ease;
  }
  
  .footer a:hover {
    opacity: .8;
    transform: translateX(3px);
  }
  
  /* FOOTER BASE */
.footer {
    background: var(--dark);
    color: #ffffff;
    padding: 4rem 0 2rem;
  }
  
  .footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    align-items: flex-start;
  }
  
  .footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }
  
  .footer-menu,
  .footer-info,
  .footer-social {
    list-style: none;
  }
  
  .footer-menu li,
  .footer-info li,
  .footer-social li {
    margin-bottom: .6rem;
  }
  
  .footer a {
    color: #cbd5f5;
    text-decoration: none;
    transition: color .3s ease;
  }
  
  .footer a:hover {
    color: var(--primary);
  }
  
  .footer-bottom {
    width: 100%;
    margin-top: 1rem;
    border-top: 1px solid rgba(255,255,255,.15);
    text-align: center;
    font-size: .9rem;
    color: #ffffff;
  }
  
  
  /* Responsive footer */
  @media (max-width: 768px) {
    .footer {
      text-align: center;
    }
  
    .footer-menu,
    .footer-info,
    .footer-social {
      align-items: center;
    }
  }
  
  
    /* Iconos redes */
    .footer-social-icons {
        list-style: none;
        display: flex;
        gap: 1rem;
        padding: 0;
        margin: 0;
        justify-content: flex-start; /* desktop alineado */
      }
      
      .footer-col {
        text-align: left;
      }
  
  .footer-social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  .footer-social-icons svg {
    width: 26px;
    height: 26px;
    fill: #ffffff;
    transition: transform .3s ease, opacity .3s ease;
  }
  
  .footer-social-icons a:hover svg {
    transform: scale(1.15);
    opacity: .8;
  }
  @media (max-width: 768px) {
    .footer-grid {
      grid-template-columns: 1fr;
      text-align: center;
    }
  
    .footer-col {
      text-align: center;
    }
  
    .footer-social-icons {
      justify-content: center;
    }
  }
  /*Boton flotante WhatsApp*/
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    z-index: 100;
}

.whatsapp-float img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.whatsapp-float img:hover {
    transform: scale(1.1);
}
/* Mejor contraste en botones */
.btn-primary {
    background-color: #6a0dad;
}
/* Foco visible para teclado */
a:focus, button:focus {
    outline: 3px solid #C8A2C8;
    outline-offset: 3px;
}
/* Enlace de salto */
.skip-link {
    position: absolute;
    top: -40px;
    left: 10px;
    background: #000;
    color: #fff;
    padding: 8px;
    z-index: 1000;
}

.skip-link:focus {
    top: 10px;
}