
:root {
    --fondo-oscuro: #0b0033;
    --rosa: #ff3ba7;
    --azul-boton: #004272;
    --celeste-icono: #1e9fff;
    --violeta-titulo: #a68bf0;
    --blanco: #ffffff;

  }

  body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    background: var(--blanco);

    
  }

  .como-funciona {
    background: linear-gradient(135deg, var(--fondo-oscuro), var(--azul-boton));
    padding: 3rem 1rem;
    text-align: center;
    color: var(--blanco);
    border-radius: 20px;
    margin: 2rem auto;
    width: 95%;
    max-width: 1100px;
  }

  .como-funciona h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--violeta-titulo);
  }

  .contenedor {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
  }

  .pasos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.5rem;
  }

  .paso-card {
    background: linear-gradient(135deg, var(--violeta-titulo), var(--fondo-oscuro));
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s forwards;
  }

  .paso-card:nth-child(1) {
    animation-delay: 0.1s;
  }

  .paso-card:nth-child(2) {
    animation-delay: 0.2s;
  }

  .paso-card:nth-child(3) {
    animation-delay: 0.3s;
  }

  .paso-card:nth-child(4) {
    animation-delay: 0.4s;
  }

  .paso-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
  }

  .icono {
    font-size: 2.5rem;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--celeste-icono), var(--rosa));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    transition: transform 0.5s ease;
  }

  .paso-card:hover .icono {
    transform: rotate(10deg) scale(1.2);
  }

  .paso-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #fff;
  }

  .paso-card p {
    font-size: 0.9rem;
    color: #f1f1f1;
    margin: 0;
    padding: 8px 0 0;
  }

  @keyframes fadeUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* RESPONSIVE extra cuidado */
  @media (max-width: 768px) {
    .como-funciona h2 {
      font-size: 1.6rem;
    }

    .paso-card {
      padding: 16px;
    }

    .paso-card h3 {
      font-size: 1rem;
    }

    .paso-card p {
      font-size: 0.85rem;
    }
  }

  @media (max-width: 480px) {
    .pasos {
      grid-template-columns: 1fr;
    }
  }



    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }


    body {
      font-family: 'Poppins', sans-serif;
      color: #222222;
      background-color: #fff;

    }

    h1, h2, h3 {
      color: #4B0082;
      text-align: center;
    }

    p {
      color: #1A1A1A;
      max-width: 600px;
      margin: 1.5rem auto;
      line-height: 1.6;
    }



    a {
      color: #4B0082;
    }

    a:hover {
      color: #3A006E;
    }

    /* ---------- HEADER ---------- */
    header {
      background-color: #000;
      color: white;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px 30px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
      z-index: 1000;
    }

    .logo {
      display: flex;
      align-items: center;
    }

    .logo img {
      height: 50px;
      width: 50px;
      border-radius: 50%;
      margin-right: 12px;
      object-fit: cover;
      transition: transform 0.3s ease;
    }

    .logo img:hover {
      transform: rotate(10deg) scale(1.1);
    }

    .logo span {
      font-weight: bold;
      font-size: 1.4rem;
      color: #fff;
    }

    nav {
      display: flex;
      gap: 20px;
    }

    nav a {
      text-decoration: none;
      color: #fff;
      font-weight: 500;
      transition: color 0.3s ease;
      position: relative;
    }

    nav a::after {
      content: "";
      position: absolute;
      bottom: -4px;
      left: 0;
      width: 0%;
      height: 2px;
      background-color: #fff;
      transition: 0.3s ease;
    }

    nav a:hover::after {
      width: 100%;
    }

    nav a:hover {
      color: #aaa;
    }

    /* ---------- MENÚ HAMBURGUESA ---------- */
    .hamburger {
      display: none;
      flex-direction: column;
      cursor: pointer;
      gap: 5px;
      transition: transform 0.3s ease;
    }

    .hamburger span {
      width: 25px;
      height: 3px;
      background: #fff;
      border-radius: 3px;
      transition: all 0.3s ease;
    }

    .hamburger.active span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
      opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
      transform: rotate(-45deg) translate(5px, -5px);
    }

    .mobile-menu {
      display: none;
      flex-direction: column;
      background-color: #000;
      position: absolute;
      top: 80px;
      right: 20px;
      padding: 10px 15px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
      border-radius: 6px;
      animation: fadeIn 0.3s ease forwards;
    }

    .mobile-menu a {
      padding: 8px 0;
      color: #fff;
      text-decoration: none;
      font-weight: 500;
      transition: color 0.3s ease;
    }

    .mobile-menu a:hover {
      color: #aaa;
    }

    .mobile-menu.show {
      display: flex;
    }

    @keyframes fadeIn {
      from {
        opacity: 0;
        transform: translateY(-10px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* ---------- BOTONES DEBAJO DEL HEADER ---------- */

    .action-buttons {
      margin-top: 50px;
      padding: 25px 0;
      text-align: center;
      background: #f8f8ff;
    }

    .btn1 {
      padding: 1rem 2rem;
      font-weight: 700;
      background: rgb(255, 255, 255);
      color: blueviolet;
      cursor: pointer;
      border-radius: 0.5rem;
      border-bottom: 2px solid blueviolet;
      border-right: 2px solid blueviolet;
      border-top: 2px solid white;
      border-left: 2px solid white;
      transition-duration: 1s;
      transition-property: border-top, border-left, border-bottom, border-right,
        box-shadow;
      font-size: 1rem;
      margin: 10px;
      box-shadow: none;
    }

    .btn1:hover {
      border-top: 2px solid blueviolet;
      border-left: 2px solid blueviolet;
      border-bottom: 2px solid rgb(238, 103, 238);
      border-right: 2px solid rgb(238, 103, 238);
      box-shadow: rgba(240, 46, 170, 0.4) 5px 5px, rgba(240, 46, 170, 0.3) 10px 10px,
        rgba(240, 46, 170, 0.2) 15px 15px;
    }

    /* ---------- MAIN ---------- */
    main {
      padding: 20px;
    }



    /* ---------- FOOTER ---------- */
    footer {
      background-color: #000;
      color: #fff;
      box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
      padding: 30px 20px;
      text-align: center;
      margin-top: 60px;
    }

    .footer-content {
      max-width: 1000px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 20px;
      align-items: center;
    }

    .footer-logo {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .footer-logo img {
      height: 40px;
      width: 40px;
      border-radius: 50%;
      object-fit: cover;
      transition: transform 0.3s ease;
    }

    .footer-logo img:hover {
      transform: rotate(10deg) scale(1.1);
    }

    .footer-logo span {
      font-weight: bold;
      font-size: 1.2rem;
      color: #fff;
    }

    .footer-links {
      display: flex;
      gap: 20px;
      flex-wrap: wrap;
      justify-content: center;
    }

    .footer-links a {
      color: #fff;
      text-decoration: none;
      font-size: 0.95rem;
      transition: color 0.3s ease;
    }

    .footer-links a:hover {
      color: #aaa;
    }

    /* ---------- RESPONSIVE ---------- */
    @media (max-width: 600px) {
      nav {
        display: none;
      }

      .hamburger {
        display: flex;
      }

      .footer-links {
        flex-direction: column;
        align-items: center;
      }
    }









    /* BOTÓN DE WHATSAPP FIJO */
    .whatsapp-btn {
      position: fixed;
      bottom: 20px;
      right: 20px;
      width: 60px;
      height: 60px;
      background-color: #25D366;
      border-radius: 50%;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 9999;
      transition: transform 0.3s ease;
    }

    .whatsapp-btn:hover {
      transform: scale(1.1);
    }

    .whatsapp-btn img {
      width: 30px;
      height: 30px;
    }

    /* Icono animado FAQ */
    .faq-icon-animated {
      width: 70px;
      height: 70px;
      background-color: #6a0dad;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 36px;
      color: white;
      font-weight: bold;
      animation: pulse 2s infinite;
      box-shadow: 0 0 0 0 rgba(106, 13, 173, 0.7);
      margin: 20px auto;
    }

    @keyframes pulse {
      0% {
        box-shadow: 0 0 0 0 rgba(106, 13, 173, 0.7);
      }
      70% {
        box-shadow: 0 0 0 15px rgba(106, 13, 173, 0);
      }
      100% {
        box-shadow: 0 0 0 0 rgba(106, 13, 173, 0);
      }
    }

    /* Párrafos genéricos */
  
/*
  p {
    font-family: 'Poppins', sans-serif !important;
    font-size: 18px !important;
    line-height: 1.7 !important;
    color: #333 !important;
    margin-bottom: 18px;
    text-align: justify;
  }

  @media (max-width: 768px) {
    p {
      font-size: 16px !important;
    }
  }

  @media (max-width: 480px) {
    p {
      font-size: 15px !important;
    }
  }
*/


    /* Párrafos genéricos */
    p {
      max-width: 600px;
      margin: 1.5rem auto;
      line-height: 1.6;
      color: #000000;
    }




    /* PREGUNTAS FRECUENTES */
    #faq {
      text-align: center;
      width: 80%;
      margin: 1px auto 40px auto;
    }

    .faq-container {
      margin: 20px 0;
    }

    .faq-item {
      margin-bottom: 10px;
    }

    .faq-question {
      font-size: 16px;
      font-family: "Denk One", sans-serif;
      background-color: #555;
      color: white;
      padding: 10px;
      width: 40%;
      text-align: center;
      transition: background-color 0.3s ease;
      cursor: pointer;
      border: none;
      border-radius: 5px;
      display: block;
      margin: 0 auto;
    }

    .faq-question.active {
      background-color: #d3d3d3;
      color: #333;
    }

    .faq-question:hover {
      background-color: #444;
    }

    .faq-answer {
      font-size: 16px;
      font-family: "Denk One", sans-serif;
      padding: 20px;
      background-color: #f0ededd0;
      display: none;
      overflow: hidden;
      transition: max-height 0.3s ease-in-out;
      max-height: 0;
      margin: 0 auto 20px auto;
      width: 40%;
      border-radius: 0 0 5px 5px;
    }

    .faq-answer.visible {
      display: block;
      max-height: 500px;
    }

    @media (max-width: 768px) {
      #faq {
        width: 90%;
      }

      .faq-question,
      .faq-answer {
        width: 90%;
      }
    }



.titulo-seccion {
  font-family: 'Poppins', sans-serif;
  font-size: 32px;
  color: #4B0082;
  text-align: center;
  margin-bottom: 20px;
}

@media (max-width: 480px) {
  .titulo-seccion {
    font-size: 22px;
  }
}







.button2 {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgb(20, 20, 20);
  border: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 0px 0px 4px rgba(180, 160, 255, 0.253);
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
}

.svgIcon {
  width: 16px;
  height: 16px;
  transition: all 0.3s ease;
}

.svgIcon path {
  fill: white;
}

.button2:hover {
  width: 140px;
  border-radius: 50px;
  background-color: rgb(181, 160, 255);
}

.button2:hover .svgIcon {
  transform: translateY(-150%);
}

.button2::before {
  content: "Ir al inicio";
  position: absolute;
  color: white;
  font-size: 0;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
}

.button2:hover::before {
  font-size: 13px;
  opacity: 1;
  transform: translateY(0);
}






