         * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Arial', sans-serif;
            line-height: 1.6;
            color: #FA59F7;
            background-color: #000080;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Header */
        header {
            background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
            color: #000080;
            padding: 1rem 0;
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        nav {
            display: inline-block;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 1.8rem;
            font-weight: bold;
            color: #f8f9fa;
        }

        .nav-links {
            display: flex;
            align-items: center;
            list-style: none;
  flex-wrap: nowrap;
            gap: 1.5rem;
        }

        .nav-links a {
            color: #ff69b4;
            text-decoration: none;
            transition: color 0.3s ease;
            font-weight: 800;
        }

        .nav-links a:hover {
g            color: #74b9ff;
        }

        /* Hero Section */
        .hero {
            background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(52, 152, 219, 0.8)), url('dna-hero.jpg');
            background-size: cover;
            background-position: center;
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            color: #f8f9fa;
            background-color: #ff69b4;
            margin-top: 80px;
        }

        .hero-content h1 {
            font-size: 3.5rem;
            margin-bottom: 1rem;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
        }

        .hero-content h2 {
            font-size: 1.8rem;
  color: #fff !important;
            margin-bottom: 1rem;
            font-weight: 300;
        }

        .hero-content .tagline {
            font-size: 1.3rem;
            margin-bottom: 2rem;
            font-weight: 600;
            color: #74b9ff;
        }

        .cta-button {
            background: #000080;
            color: #f8f9fa;
            padding: 15px 30px;
            border: none;
            border-radius: 50px;
            font-size: 1.1rem;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
            font-weight: 600;
        }

        .cta-button:hover {
            background: #c0392b;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }

        /* Sections */
        .section {
            padding: 80px 0;
            display: none;
        }

        .section.active {
            display: block;
        }

        .section h2 {
            font-size: 2.5rem;
            text-align: center;
            margin-bottom: 3rem;
            color: #ff69b4;
        }

        .section-content {
            max-width: 800px;
            margin: 0 auto;
            text-align: center;
        }

        .section-content p {
            font-size: 1.1rem;
            margin-bottom: 1.5rem;
            color: #FFF;
        }

        /* Services Grid */
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .service-card {
            background: #000080;
            padding: 2rem;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
        }

        .service-card:hover {
            transform: translateY(-5px);
        }

        .service-card h3 {
            color: #ff69b4;
            margin-bottom: 1rem;
        }

        /* Login Form */
        .login-form {
            background: white;
            padding: 2rem;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            max-width: 400px;
            margin: 0 auto;
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 600;
            color: #2c3e50;
        }

        .form-group input {
            width: 100%;
            padding: 12px;
            border: 2px solid #ddd;
            border-radius: 5px;
            font-size: 1rem;
            transition: border-color 0.3s ease;
        }

        .form-group input:focus {
            outline: none;
            border-color: #3498db;
        }

        .login-button {
            width: 100%;
            background: #3498db;
            color: white;
            padding: 12px;
            border: none;
            border-radius: 5px;
            font-size: 1.1rem;
            cursor: pointer;
            transition: background 0.3s ease;
        }

        .login-button:hover {
            background: #2980b9;
        }

        /* Price Table */
        .price-table {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .price-card {
            background: white;
            padding: 2rem;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            text-align: center;
            transition: transform 0.3s ease;
        }

        .price-card:hover {
            transform: translateY(-5px);
        }

        .price-card h3 {
            color: #2c3e50;
            margin-bottom: 1rem;
        }

        .price {
            font-size: 2rem;
            color: #ff69b4;
            font-weight: bold;
            margin-bottom: 1rem;
        }

       #precios p {
background-color: #000080;
        }

        /* Footer */
        footer {
            background: #2c3e50;
            color: #FF69b4;
            padding: 3rem 0 1rem;
            text-align: center;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }

        .footer-section h3 {
            margin-bottom: 1rem;
            color: #74b9ff;
        }

        .footer-section p {
            margin-bottom: 0.5rem;
        }

        .footer-bottom {
            border-top: 1px solid #34495e;
            padding-top: 1rem;
            margin-top: 2rem;
        }

        /* Mobile Menu */
        .mobile-menu {
            display: none;
            flex-direction: column;
            cursor: pointer;
        }

        .mobile-menu span {
            width: 25px;
            height: 3px;
            background: white;
            margin: 3px 0;
            transition: 0.3s;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .nav-links {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background: #2c3e50;
                flex-direction: column;
                padding: 1rem 0;
            }

            .nav-links.active {
                display: flex;
            }

            .mobile-menu {
                display: flex;
            }

            .hero-content h1 {
                font-size: 2.5rem;
            }

            .hero-content h2 {
                font-size: 1.3rem;
            }

            .hero-content .tagline {
                font-size: 1.1rem;
            }
        }

        /* Alert Messages */
        .alert {
            padding: 1rem;
            margin: 1rem 0;
            border-radius: 5px;
            display: none;
        }

        .alert.success {
            background: #d4edda;
            color: #155724;
            border: 1px solid #c3e6cb;
        }

        .alert.error {
            background: #f8d7da;
            color: #721c24;
            border: 1px solid #f5c6cb;
        }

}
  .faq-div {
    max-width: 800px;
    margin: 2rem auto;
    font-family: Arial, sans-serif;
  }

  #PreguntasFrecuentes {
            background-color: #87CEEB;
  }

  .faq-section h2 {
    text-align: center;
    margin-bottom: 1.5rem;
  }

  .faq-item {
  color: #87cefa;
    border-bottom: 1px solid #ddd;
    margin-bottom: 0.5rem;
  }

  .faq-question {
    width: 100%;
    text-align: left;
    padding: 1rem;
    font-size: 1rem;
    font-weight: bold;
    color: #87ceeb;
    background: #ff69b4;
    border: none;
    cursor: pointer;
    outline: none;
    transition: background 0.3s;
  }

  .faq-question:hover {
color: #f8f9fa;
    background: #3b5998;
  }

  .faq-answer {
   color: #ff69b4;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 1rem;
    font-weight: 700;
  }

  .faq-answer p {
    margin: 0.5rem 0 1rem;
  }

  .faq-item.active .faq-answer {
    max-height: 500px; /* suficiente para el contenido */
    font-weight: 700;

    padding: 0 1rem 1rem;
  }
.faq-answer {
  display: none; /* Oculta todas las respuestas por defecto */
}

.faq-item.active .faq-answer {
  display: block; /* Muestra la respuesta solo si el item tiene la clase active */
}

/* Móviles respaldado */
.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}
/* Móviles */
.mobile-menu span {
  display: block;
  width: 25px;
  height: 3px;
  background: #333;
  border-radius: 2px;
}

/* Ocultar menú en móvil */
.nav-links {
  display: none;
  flex-direction: column;
  gap: 1rem;
  background: ##f8f9fa;
  padding: 1rem;
  position: absolute;
  top: 60px; /* ajusta según tu header */
  right: 10px;
  border-radius: 8px;
}

/* Mostrar cuando está activo */
.nav-links.show {
  display: flex;
}

/* Escritorio */
@media (min-width: 768px) {
  .mobile-menu {
    display: none;
  }
  .nav-links {
    display: flex !important;
    position: static;
    flex-direction: row;
  flex-wrap: nowrap;
            align-items: center;
    background: none;
    padding: 0;
  }

/* ---- Solo para móviles ---- */
@media (max-width: 768px) {
  .nav-links {
    display: flex;
    flex-direction: column;
  flex-wrap: nowrap;
    gap: 15px;
g    background: white;
    padding: 0 1rem;           /* padding lateral */
    position: absolute;
    top: 60px;
    right: 0;
    left: 0;
    max-height: 0;              /* cerrado */
    overflow: hidden;
    transition: max-height 0.3s ease; /* animación */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }

  /* Abierto */
  .nav-links.show {
    max-height: 500px; /* suficiente para mostrar todos los enlaces */
  }

  .mobile-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
  }

  .mobile-menu span {
    width: 25px;
    height: 3px;
    background: #333;
  }
}

/* ---- Solo para escritorio ---- */
@media (min-width: 769px) {
  .mobile-menu {
    display: none;
  }

  .nav-links {
    display: flex !important;
    flex-direction: row;
    gap: 20px;
    position: static;
    max-height: none;
    box-shadow: none;
  flex-wrap: nowrap;
  }

}
