/* ── Reset básico ───────────────────────────────────── */
:root {
  font-size : 100%;
  font-family : system-ui, sans-serif;
  scroll-behavior : smooth;

    --color-main      : #03A60E;
    --color-secondary : #D9A404;
    --color-tertiary  : white;
}
[hidden] { display: none !important; }
* , *::before , *::after {
  margin : 0;
  padding : 0;
  border : 0;
  box-sizing : border-box;
  vertical-align : baseline;
}
*::before , *::after {
  display : block;
}
img , picture , video , iframe , figure , canvas {
  max-width : 100%;
  display : block;
  width : 100%;
  height : initial;
  object-fit : cover;
  object-position : center center;
}
a {
  display : block;
  text-decoration : none;
  color : inherit;
  font :  inherit;
}
p a {
  display : inline;
  color : var(--color-main);
  font-weight : 600;
  text-decoration : underline;
}
li , menu, summary {
  list-style-type : none;
}
ol {
  counter-reset : revert;
}
h1 , h2 , h3 , h4 , h5 , h6 , p , span , a , strong , blockquote , i , b , u , em , pre , code , mark , del {
  font :  inherit;
  line-height :  1em;
  text-decoration :  none;
  color : inherit;
  overflow-wrap : break-word;
  text-wrap : pretty;
}
mark {
  background-color : transparent;
}
blockquote::before , blockquote::after , q::before , q::after {
  content : none;
}
form , input , textarea , select , button , label {
  font :  inherit;
  hyphens : auto;
  background-color : transparent;
  color : inherit;
  display : block;
  appearance : none;
}
fieldset {
  border : none;
}
::placeholder {
  color : unset;
}
button , label {
  cursor : pointer;
}
table , tr , td , th , tbody , thead , tfoot {
  border-collapse : collapse;
  border-spacing : 0;
  font : inherit;
}
svg {
  width : 100%;
  height : initial;
  display : block;
  fill : currentColor;
}

/* ── Scrollbar siempre reservada ────────────────────── */
html {
  overflow-y: scroll;
}

/* ── Footer siempre al fondo ────────────────────────── */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  color : var(--color-tertiary);
  hyphens : auto;
  font-smooth : always;
  -webkit-font-smoothing : antialiased;
  -moz-osx-font-smoothing : grayscale;
  font-family: "Outfit", sans-serif;
  background-color: #ececec;
}

.Preguntasfrecuentes-main {
  flex: 1;
}

/* ── Header ─────────────────────────────────────────── */
.Header-container {
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  padding: 1rem;
  background-color: white;
  color: var(--color-main);
}

.Header-logo img {
  width: 200px;
  height: auto;
}

.Header-nav {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
}

.Header-menu-toggle {
  display: none;
}

.Header-social-ul {
  display: flex;
  align-items: center;
}

.Header-social-li a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0 0.5rem;
  color:var(--color-main);
  transition: color 0.2s ease;
}

.Header-social-li a:hover {
  color: var(--color-secondary);
}

.Header-social-icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.Header-nav-ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3.5rem;
}

.Header-nav-li {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  color: var(--color-main);
}

.Header-nav-li a {
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  font-size: 1.4rem;
}

.Header-nav-li a:hover,
.Header-nav-li a.active {
  color: var(--color-secondary);
}

/* ── Hero ───────────────────────────────────────────── */
.Preguntasfrecuentes-hero {
  width: 100%;
  padding: 5rem 2rem;
  background-color: var(--color-main);
  display: flex;
  justify-content: center;
  align-items: center;
}

.Preguntasfrecuentes-hero-div {
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}

.Preguntasfrecuentes-hero-h1 {
  font-size: 3rem;
  font-weight: 800;
  color: white;
}

.Preguntasfrecuentes-hero-p {
  font-size: 1.1rem;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
}

/* ── Sección ────────────────────────────────────────── */
.Preguntasfrecuentes-section {
  width: 100%;
  padding: 5rem 2rem;
  display: flex;
  justify-content: center;
}

.Preguntasfrecuentes-section-div {
  max-width: 780px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ── Acordeón ───────────────────────────────────────── */
.Preguntasfrecuentes-item {
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s ease;
}

.Preguntasfrecuentes-item:has(.Preguntasfrecuentes-question[aria-expanded="true"]) {
  box-shadow: 0 4px 16px rgba(3,166,14,0.15);
}

.Preguntasfrecuentes-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem 1.6rem;
  background-color: transparent;
  color: #111;
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

.Preguntasfrecuentes-question:hover {
  color: var(--color-main);
}

.Preguntasfrecuentes-question[aria-expanded="true"] {
  color: var(--color-main);
}

.Preguntasfrecuentes-icon {
  width: 22px;
  height: 22px;
  min-width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s ease;
}

.Preguntasfrecuentes-question[aria-expanded="true"] .Preguntasfrecuentes-icon {
  transform: rotate(180deg);
}

.Preguntasfrecuentes-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.Preguntasfrecuentes-answer.open {
  max-height: 300px;
  padding-bottom: 1.4rem;
}

.Preguntasfrecuentes-answer-p {
  padding: 0 1.6rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: #555;
}

/* ── Footer ─────────────────────────────────────────── */
.footer-container {
  width: 100%;
  padding: 2rem 2rem 1.5rem;
  background-color: var(--color-main);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-container-div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.footer-container-div-p {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  text-align: center;
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-legal-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  text-decoration: underline;
  transition: color 0.2s ease;
}
.footer-legal-links a:hover { color: white; }


/* Dropdown Menú */
.has-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.dropdown-arrow {
    font-size: 0.7em;
    transition: transform 0.3s ease;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    transform-origin: top center;
    margin-top: 10px;
    z-index: 100;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu li a {
    padding: 0.8rem 1.5rem;
    display: block;
    color: #444;
    font-size: 1.05rem;
    transition: background 0.2s, color 0.2s;
    font-weight: 500;
}



.has-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(5px);
}

.has-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

/* Hover en desktop para el dropdown */
@media (min-width: 1401px) {
    .has-dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(5px);
    }
    .has-dropdown:hover .dropdown-arrow {
        transform: rotate(180deg);
    }
}

/* Colores de marca en el dropdown */
.dropdown-menu a[href="frushfresh.html"]:hover { background: rgba(15,153,217,0.08) !important; color: #0f99d9 !important; }
.dropdown-menu a[href="frushsoda.html"]:hover { background: rgba(143,0,0,0.08) !important; color: #8f0000 !important; }
.dropdown-menu a[href="frushsyrup.html"]:hover { background: rgba(78,35,20,0.08) !important; color: #4E2314 !important; }
.dropdown-menu a[href="frushpulp.html"]:hover { background: rgba(206,77,13,0.08) !important; color: #CE4D0D !important; }
.dropdown-menu a[href="frushtea.html"]:hover { background: rgba(59,114,2,0.08) !important; color: #3B7202 !important; }
.dropdown-menu a[href="frushicecream.html"]:hover { background: rgba(28,120,239,0.08) !important; color: #1C78EF !important; }


/* ── Responsive Tablet ───────────────────────────────── */
@media (max-width: 1400px) {
  

  /* Header */
  .Header-container {
    height: auto;
    padding: 0.75rem 1rem;
  }

  .Header-nav {
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: auto auto auto;
  }

  .Header-logo {
    grid-column: 2;
    justify-self: center;
    display: flex;
  }

  .Header-logo img {
    width: 140px;
  }

  .Header-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
    justify-self: end;
    background: none;
    border: none;
  }

  .Header-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-main);
    border-radius: 2px;
  }

  .Header-nav-ul {
    grid-column: 1 / -1;
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    width: 100%;
    align-items: flex-start;
  }

  .Header-nav-ul.open {
    max-height: 1000px;
    padding: 0.75rem 0;
  }

  .Header-nav-li {
    width: 100%;
    justify-content: flex-start;
  }

  .Header-nav-li a {
    font-size: 1.1rem;
    padding: 0.65rem 0;
    width: 100%;
  }

  .Header-social-ul {
    grid-column: 1 / -1;
    justify-content: center;
    gap: 1.5rem;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.35s ease, padding 0.35s ease;
  }

  .Header-social-ul.open {
    max-height: 100px;
    opacity: 1;
    padding: 1.5rem 0 0.5rem;
  }

  /* Mobile Dropdown Override */
  .has-dropdown {
    width: 100%;
  }
  .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    padding: 0;
    margin-top: 0;
    max-height: 0;
    overflow: hidden;
    visibility: visible;
    opacity: 1;
    background: transparent;
    border-radius: 0;
    transition: max-height 0.4s ease;
  }
  
  .dropdown-menu li a {
    padding: 0.6rem 0 0.6rem 1.5rem;
    color: inherit;
    font-size: 1rem;
  }

  .has-dropdown.open .dropdown-menu {
    max-height: 350px;
    transform: none;
  }



  .Preguntasfrecuentes-hero-h1 { font-size: 2.5rem; }
}

/* ── Responsive móvil ────────────────────────────────── */
@media (max-width: 768px) {
  /* Hero */
  .Preguntasfrecuentes-hero {
    padding: 3.5rem 1.25rem;
  }

  .Preguntasfrecuentes-hero-h1 {
    font-size: 2rem;
  }

  /* Sección */
  .Preguntasfrecuentes-section {
    padding: 3rem 1.25rem;
  }

  .Preguntasfrecuentes-question {
    font-size: 0.95rem;
    padding: 1.2rem 1.2rem;
  }

  .Preguntasfrecuentes-answer-p {
    padding: 0 1.2rem;
  }
}

.dropdown-toggle:focus, .dropdown-toggle:active { outline: none !important; border: none !important; }
.has-dropdown:focus, .has-dropdown:active { outline: none !important; border: none !important; }