
  
  body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
    text-decoration: none;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

  a {
    text-decoration: none;
    color: black;
    transition: all 0.3s ease;
}


/* Navbar moderno */
#navbar {
    position: fixed;
    width: 100%;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 0.5rem 0;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: black;
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: #ffc700;
    border-radius: 50%;
    bottom: 5px;
    right: -8px;
}

.navbar-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.navbar-links li a {
    color: #212529;
    font-weight: 600;
    position: relative;
    padding: 0.5rem 0;
}

.navbar-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #ffc700;
    left: 0;
    bottom: 0;
    transition: all 0.3s ease;
}

.navbar-links li a:hover::after,
.navbar-links li a.active::after {
    width: 100%;
}

.navbar-links li a.active {
    color: black;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: #212529;
}

/* Header */
.header-bg {
    background: linear-gradient(135deg, #fc5252 0%, #b8a500 100%);
    color: white;
    padding: 8rem 0 5rem;
    margin-bottom: 2rem;
}

.header-content {
    text-align: center;
    padding: 0 1rem;
}

.header-content h1 {
    font-size: 2.5rem;
    margin: 0;
    letter-spacing: 1px;
    font-weight: 700;
}
  
  .header-content p {
    font-size: 1.2rem;
    font-weight: 400;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
  }
  
  /* Sección de blog modernizada */
  #blog, #filter-by-tags, #faq {
    max-width: 1200px;
    margin: 0 auto 4rem;
    padding: 0 2rem;
    
  }
  
  section h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2.5rem;
    color: black;
    position: relative;
  }
  
  section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #ffc700;
  }
  
  .blog-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .blog-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 300px;
    max-width: 380px;
    transition: all 0.3s ease;
}

.blog-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.blog-card-content p {
    margin-bottom: 20px;
    color: #666;
}

.center-icon {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn {
    padding: 0.6rem 1.2rem;
    background-color: #ffc700;
    color: black;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #bc8817;
    color: white;
}

.social-share {
    display: flex;
    gap: 0.5rem;
}

.social-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #f5f7fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.social-icon:hover {
    background-color: black;
    color: white;
}
  
  /* Tags y filtros modernizados */
  .tags-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 2.5rem;
  }
  
  .tag-button {
    padding: 0.5rem 1.2rem;
    border: 1px solid #ffc700;
    background-color: transparent;
    color: black;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
  }
  
  .tag-button:hover, .tag-button.active {
    background-color: #ffc700;
    color: black;
  }
  
  
  /* FAQ modernizado */
  .faq-container {
    max-width: 800px;
    margin: 20px auto 20px;
  }
  
  .faq-item {
    padding: 1.5rem;
    background-color: white;
    border-radius: 10px;
    margin-bottom: 1.2rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }
  
  .faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  .faq-item h3 {
    font-size: 1.1rem;
    margin-top: 0;
    margin-bottom: 0.8rem;
    color: black;
    font-weight: 600;
  }
  
  .faq-item p {
    margin: 0;
    font-size: 0.95rem;
    color: #6c757d;
  }
  
  /* Suscripción modernizada */
  #subscribe {
    text-align: center;
    background: linear-gradient(135deg, #ffc700 0%, #855c04 100%);
    padding: 3rem 2rem;
    
  }

  #subscribe h2{
    color: white;
  }
  
  #subscribe form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 0.5rem;
    
  }
  
  #subscribe input[type="email"] {
    flex-grow: 1;
    padding: 0.8rem 1.2rem;
    border: 1px solid #e9ecef;
    border-radius: 30px;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
  }
  
  #subscribe input[type="email"]:focus {
    box-shadow: 0 0 0 2px rgba(58, 110, 165, 0.2);
  }
  
  #subscribe button {
    padding: 0.8rem 1.5rem;
    background-color: #ffc700;
    color: black;
    border: none;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  #subscribe button:hover {
    background-color: #9a7900;
    color: white;
  }
  
  /* Footer modernizado */
  .footer {
    background-color: #222;
    padding: 4rem 0 2rem;
    color: #f5f5f5;
  }
  
  .container-footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
  }
  
  .row-footer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
  }
  
  .footer-col h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
  }
  
  .footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #ffc700;
  }
  
  .footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer-col ul li {
    margin-bottom: 0.8rem;
  }
  
  .footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
  }
  
  .footer-col ul li a:hover {
    color: #f5f5f5;
    padding-left: 5px;
  }
  
  .social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
  }
  
  .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #f5f5f5;
    transition: all 0.3s ease;
  }
  
  .social-links a:hover {
    background-color: #ffc700;
    transform: translateY(-3px);
  }
  
  @media (max-width: 992px) {
    .footer-col {
    width: calc(50% - 30px);
    }
}

/* Responsive Design */
@media (max-width: 900px) {
    .navbar-container {
        padding: 5px;
    }
    
    .hamburger {
        display: block;
    }
    
    .navbar-links {
        position: fixed;
        top: 70px;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 300px;
        background-color: white;
        flex-direction: column;
        gap: 0;
        padding: 5rem 2rem 2rem;
        z-index: 1000;
        transition: 0.3s ease;
    }
    
    .navbar-links.active {
        right: 0;
    }
    
    .navbar-links li {
        width: 100%;
    }
    
    .navbar-links li a {
        display: block;
        padding: 1rem 0;
        border-bottom: 1px solid #eee;
    }
  
    .overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
      visibility: hidden;
      opacity: 0;
      transition: 0.5s;
      z-index: 998;
    }
  
    .overlay.active {
      visibility: visible;
      opacity: 1;
    }
  
    .header-content h1 {
      font-size: 2rem;
    }
  
    .header-content p {
      font-size: 1rem;
    }
  
    #subscribe form {
      flex-direction: column;
    }
  
    .blog-container {
      grid-template-columns: 1fr;
    }
  }