
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #ffffff;
    color: #222;
}

main {
    padding: 2rem;
}

.servicio {
    margin-bottom: 4rem;
}

h1 {
    color: #00796B;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

h2 {
    color: #00796B;
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1.2rem;
}

h3 {
    font-weight: bold;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    color: #333;
}

em {
    display: block;
    font-style: italic;
    color: #00796B;
    margin-bottom: 1rem;
}

ul {
    list-style-type: disc;
    padding-left: 2rem;
    margin-bottom: 1rem;
}

.doble-columna {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
}

.doble-columna ul {
    flex: 1 1 300px;
}

blockquote {
    font-weight: bold;
    margin-top: 2rem;
    color: #444;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
}

ol {
    padding-left: 2rem;
}


/* Títulos principales */
h2 {
    color: #1B9885;
    font-size: 2rem;
    margin-top: 2rem;
}

/* Títulos secundarios */
h3 {
    color: #1B9885;
    font-weight: bold;
    margin-top: 1.5rem;
}


#volver-inicio {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #3CA091;
    color: white;
    padding: 0.6rem 1.2rem;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    z-index: 1000;
}

#volver-inicio:hover {
    background-color: #328676;
}


/* === MENÚ MÓVIL EN FOOTER (agrupa y despliega submenús al pulsar) === */
@media (max-width: 768px) {
  footer .footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .ep-mobile-menu-btn {
    display: inline-block;
    padding: 10px 14px;
    border: 1px solid #2c7a52;
    background: #2c7a52;
    color: #fff;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
  }

  /* Ocultar menú por defecto en móvil */
  footer .footer-left .footer-menu {
    display: none;
    width: 100%;
    list-style: none;
    padding-left: 0;
  }
  /* Mostrar cuando está abierto */
  footer.ep-open .footer-left .footer-menu {
    display: block;
  }

  /* Estilo vertical */
  footer .footer-left .footer-menu > li {
    margin: 6px 0;
  }
  footer .footer-left .footer-menu a {
    display: block;
    padding: 8px 0;
    text-decoration: none;
  }

  /* Submenús colapsados por defecto */
  footer .footer-left .submenu {
    display: none;
    padding-left: 14px;
  }
  footer .footer-left li.ep-submenu-open > .submenu {
    display: block;
  }

  /* Indicador visual simple para elementos con submenú */
  footer .footer-left li.has-submenu > a::after {
    content: " ▾";
    font-size: 0.85em;
  }
  footer .footer-left li.ep-submenu-open > a::after {
    content: " ▴";
  }
}



/* === MENÚ MÓVIL EN PAUSA (botón "MENÚ") === */
@media (max-width: 768px) {
  header {
    align-items: flex-start;
  }
  .hamburger {
    display: inline-block;
    background-color: #5BB8B4;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 14px;
    font-weight: 600;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    margin-right: auto;
  }
  nav .menu {
    display: none;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-top: 10px;
  }
  nav.open .menu {
    display: flex;
  }
  nav .menu > li > a {
    display: block;
    padding: 10px 6px;
    font-size: 16px;
  }
  nav .menu .submenu {
    display: none;
    position: static;
    box-shadow: none;
    background: transparent;
    margin-left: 14px;
    padding-left: 8px;
    border-left: 2px solid #E6F5F4;
  }
  nav .menu li.ep-submenu-open > .submenu {
    display: block;
  }
  nav .menu li.has-submenu > a::after {
    content: " ▾";
    font-size: 0.9em;
  }
  nav .menu li.ep-submenu-open > a::after {
    content: " ▴";
  }
  header .cta .whatsapp-button + .whatsapp-button {
    display: none;
  }
}
