/* ==========================================================================
   1. Variables y Estilos Base
   ========================================================================== */
   :root {
    --color-primary: #122E5D;
    --color-secondary: #FD5902;
    --color-text: #333;
    --color-light: #fff;
    --color-background: #f5f5f5;
    --color-border: #ccc;
    --font-main: "Quicksand", sans-serif;
  }
  
  *, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: var(--font-main);
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.6;
  }
  
  img {
    max-width: 100%;
    display: block;
  }
  
  /* ==========================================================================
     2. Header y Navegación
     ========================================================================== */
  header {
    background-color: var(--color-primary);
    color: var(--color-light);
    padding: 1.25rem 1.5rem;
    text-align: center;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
  }
  
  header .logo {
    width: 6.25rem;
    height: auto;
    margin: 0 auto 0.625rem;
  }
  
  header h1 {
    font-size: clamp(1.75rem, 5vw, 2.25rem);
    letter-spacing: 0.125rem;
  }
  
  nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
  }
  
  nav ul li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    background: var(--color-primary);
    color: var(--color-light);
    border-radius: 0.3125rem;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 0.3s ease, color 0.3s ease;
  }
  
  nav ul li a:hover {
    background: var(--color-secondary);
    color: var(--color-light);
  }
  
  nav ul li a img {
    width: 1.5rem;
    height: 1.5rem;
  }
  
  /* ==========================================================================
     3. Contenedor, Secciones y Títulos
     ========================================================================== */
  .container {
    max-width: 62.5rem;
    margin: 2.5rem auto;
    padding: 2.5rem 1.5rem;
    background-color: var(--color-light);
    border-radius: 0.625rem;
    box-shadow: 0 0 0.625rem rgba(0, 0, 0, 0.1);
    animation: fadeIn 1s ease-out;
  }
  
  .section {
    margin-bottom: 3.75rem;
  }
  .section:last-child {
    margin-bottom: 0;
  }
  
  .section p {
      font-size: 1.125rem;
  }
  
  /* Títulos de sección (h2 y h3) centrados y con línea */
  .section h2,
  .section h3 {
    font-size: clamp(1.5rem, 4vw, 1.8rem);
    color: var(--color-primary);
    font-weight: bold;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--color-secondary);
    
    /* Centrado robusto */
    display: table;
    margin-left: auto;
    margin-right: auto;
  }
  
  /* ==========================================================================
     4. Componentes: Beneficios y Precios
     ========================================================================== */
  /* Benefits */
  .benefit-list ul {
    list-style: none; /* Quita los puntos de la lista */
    padding-left: 0;  /* Quita el espaciado de los puntos */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15.625rem, 1fr));
    gap: 1.25rem;
  }
  
  .benefit-list li {
    font-size: 1.125rem;
    padding: 1rem 1.5rem;
    border: 2px solid var(--color-border);
    border-radius: 0.5rem;
    background-color: var(--color-light);
    cursor: pointer;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  }
  
  .benefit-list li:hover {
    transform: translateY(-8px);
    border-color: var(--color-secondary);
    color: var(--color-primary);
    box-shadow: 0 8px 20px rgba(18, 46, 93, 0.15); 
  }
  
  /* Pricing */
  .pricing-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
  }
  
  .pricing-card {
    background-color: var(--color-light);
    border: 2px solid var(--color-border);
    border-radius: 0.625rem;
    padding: 1.5rem;
    box-shadow: 0 0.25rem 0.625rem rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    text-align: center;
    flex: 1 1 15.625rem;
    max-width: 21.875rem;
  }
  
  .pricing-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-secondary);
    box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.15);
  }
  
  .pricing-card h4 {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 0.625rem;
  }
  
  .pricing-card p {
    font-size: 1rem;
    color: var(--color-text);
    margin-bottom: 1rem;
  }
  
  .pricing-card.highlighted {
    background-color: var(--color-primary);
    color: var(--color-light);
    border-color: var(--color-secondary);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  }
  .pricing-card.highlighted:hover {
    transform: translateY(-5px);
    border-color: var(--color-secondary);
    box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.15);
  }
  
  .pricing-card.highlighted h4,
  .pricing-card.highlighted p {
    color: var(--color-light);
  }
  
  /* ==========================================================================
     5. Footer y Animaciones
     ========================================================================== */
  footer {
    text-align: center;
    padding: 1.25rem 1.5rem;
    background: var(--color-primary);
    color: var(--color-light);
    font-size: 1rem;
    margin-top: 2.5rem;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }