@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

/*General Styles*/
/* styles.css */


/* General Variables */
/* General Styles */
:root {
   --herbosalud-primary: #0ead63;
   --herbosalud-secondary: #464646;
   --herbosalud-light: #f8faf7;
   --herbosalud-white: #ffffff;
   --herbosalud-text: #333;
   --herbosalud-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
   --herbosalud-transition: all 0.3s ease;
}

* {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
   font-family: 'Lato', sans-serif;
}

body {
   background-color: var(--herbosalud-light);
   color: var(--herbosalud-text);
   line-height: 1.6;
}

.herbosalud-faq-container {
   max-width: 1200px;
   margin: 0 auto;
   padding: 2rem;
}

/* Banner Principal */
.herbosalud-faq-banner {
   background: linear-gradient(rgba(14, 173, 99, 0.85), rgba(14, 173, 99, 0.9)), url('../img_sp/faq/banner_faq.jpg');
   background-size: cover;
   background-position: center;
   height: 50vh;
   display: flex;
   align-items: center;
   justify-content: center;
   text-align: center;
   color: var(--herbosalud-white);
   border-radius: 15px;
   margin-bottom: 3rem;
   position: relative;
   overflow: hidden;
}

.herbosalud-faq-banner::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' width='100' height='100'%3E%3Cpath fill='%23ffffff' opacity='0.2' d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z'%3E%3C/path%3E%3C/svg%3E");
   opacity: 0.3;
}

.herbosalud-faq-banner-content {
   max-width: 800px;
   padding: 2rem;
   z-index: 2;
}

.herbosalud-faq-banner h1 {
   font-size: 3.5rem;
   margin-bottom: 1.5rem;
   text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.herbosalud-faq-banner p {
   font-size: 1.5rem;
   margin-bottom: 2rem;
}

.herbosalud-contact-link {
   display: inline-block;
   background: var(--herbosalud-white);
   color: var(--herbosalud-primary);
   padding: 1rem 2rem;
   border-radius: 50px;
   text-decoration: none;
   font-weight: 600;
   transition: var(--herbosalud-transition);
   margin-top: 1rem;
   box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.herbosalud-contact-link:hover {
   background: var(--herbosalud-secondary);
   color: var(--herbosalud-white);
   transform: translateY(-3px);
}

/* Categorías de FAQs */
.herbosalud-faq-categories {
   display: flex;
   justify-content: center;
   gap: 1.5rem;
   margin-bottom: 3rem;
   flex-wrap: wrap;
}

.herbosalud-faq-category {
   background: var(--herbosalud-white);
   padding: 1.5rem;
   border-radius: 15px;
   text-align: center;
   box-shadow: var(--herbosalud-shadow);
   transition: var(--herbosalud-transition);
   cursor: pointer;
   flex: 1;
   min-width: 200px;
   max-width: 250px;
   border: 2px solid transparent;
}

.herbosalud-faq-category:hover {
   transform: translateY(-5px);
   box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
   border-color: var(--herbosalud-primary);
}

.herbosalud-faq-category.active {
   background: var(--herbosalud-primary);
   color: var(--herbosalud-white);
}

.herbosalud-faq-category i {
   font-size: 2.5rem;
   color: var(--herbosalud-primary);
   margin-bottom: 1rem;
}

.herbosalud-faq-category.active i {
   color: var(--herbosalud-white);
}

.herbosalud-faq-category h3 {
   font-size: 1.3rem;
   margin-bottom: 0.5rem;
}

/* Acordeón de FAQs */
.herbosalud-faq-accordion {
   margin-bottom: 3rem;
}

.herbosalud-faq-item {
   background: var(--herbosalud-white);
   border-radius: 10px;
   margin-bottom: 1rem;
   box-shadow: var(--herbosalud-shadow);
   overflow: hidden;
   border-left: 4px solid var(--herbosalud-primary);
}

.herbosalud-faq-question {
   padding: 1.5rem;
   display: flex;
   justify-content: space-between;
   align-items: center;
   cursor: pointer;
   background: var(--herbosalud-white);
   color: var(--herbosalud-primary);
   font-weight: 700;
   transition: var(--herbosalud-transition);
}

.herbosalud-faq-question:hover {
   background: #f0f7f2;
}

.herbosalud-faq-question i {
   transition: var(--herbosalud-transition);
   color: var(--herbosalud-primary);
}

.herbosalud-faq-answer {
   padding: 0;
   max-height: 0;
   overflow: hidden;
   transition: max-height 0.3s ease, padding 0.3s ease;
   background: #f9fdfa;
}

.herbosalud-faq-item.active .herbosalud-faq-answer {
   padding: 1.5rem;
   max-height: 1000px;
}

.herbosalud-faq-item.active .herbosalud-faq-question i {
   transform: rotate(180deg);
}

/* Sección de contacto */
.herbosalud-faq-contact {
   background: var(--herbosalud-primary);
   color: var(--herbosalud-white);
   padding: 3rem;
   border-radius: 15px;
   text-align: center;
   margin-top: 3rem;
}

.herbosalud-faq-contact h2 {
   font-size: 2.2rem;
   margin-bottom: 1.5rem;
}

.herbosalud-faq-contact p {
   margin-bottom: 2rem;
   max-width: 700px;
   margin-left: auto;
   margin-right: auto;
}

.herbosalud-contact-btn {
   display: inline-block;
   background: var(--herbosalud-white);
   color: var(--herbosalud-primary);
   padding: 1rem 2rem;
   border-radius: 50px;
   text-decoration: none;
   font-weight: 600;
   transition: var(--herbosalud-transition);
}

.herbosalud-contact-btn:hover {
   background: var(--herbosalud-secondary);
   color: var(--herbosalud-white);
   transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 992px) {
   .herbosalud-faq-banner h1 {
      font-size: 2.8rem;
   }

   .herbosalud-faq-banner p {
      font-size: 1.3rem;
   }
}

@media (max-width: 768px) {
   .herbosalud-faq-banner {
      height: 45vh;
   }

   .herbosalud-faq-banner h1 {
      font-size: 2.3rem;
   }

   .herbosalud-faq-banner p {
      font-size: 1.1rem;
   }

   .herbosalud-faq-categories {
      flex-direction: column;
      align-items: center;
   }

   .herbosalud-faq-category {
      width: 100%;
      max-width: 100%;
   }
}

@media (max-width: 480px) {
   .herbosalud-faq-container {
      padding: 1rem;
   }

   .herbosalud-faq-banner {
      height: 40vh;
   }

   .herbosalud-faq-banner h1 {
      font-size: 2rem;
   }

   .herbosalud-faq-contact {
      padding: 2rem 1.5rem;
   }

   .herbosalud-faq-contact h2 {
      font-size: 1.8rem;
   }
}